/* Doplňky k původnímu main.css: lightbox (náhrada fancyBoxu), stavy formulářů, placeholder fotek. */

.lb-lock { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 40px 60px; background: rgba(30, 24, 18, .88); }
.lb-stage { position: relative; max-width: 100%; max-height: 100%; line-height: 0; background: #f9f9f9; border-radius: 4px; box-shadow: 0 10px 25px rgba(0, 0, 0, .5); }
.lb-stage img { display: block; max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); border-radius: 4px; }
.lb-stage iframe { display: block; width: min(960px, calc(100vw - 120px)); aspect-ratio: 16 / 9; border: 0; border-radius: 4px; }
.lb button { position: absolute; padding: 0; border: 0; background: #775e46; color: #fff; cursor: pointer; border-radius: 50%; transition: background-color .2s; }
.lb button:hover { background: #5e4a37; }
.lb button::before { display: block; font: 600 22px/1 'Open Sans', sans-serif; }
.lb-close { top: -16px; right: -16px; width: 34px; height: 34px; }
.lb-close::before { content: '×'; }
.lb-nav { top: 50%; width: 40px; height: 40px; margin-top: -20px; }
.lb-prev { left: -52px; }
.lb-prev::before { content: '‹'; }
.lb-next { right: -52px; }
.lb-next::before { content: '›'; }
@media (max-width: 640px) {
	.lb { padding: 30px 10px; }
	.lb-stage img { max-width: calc(100vw - 20px); }
	.lb-stage iframe { width: calc(100vw - 20px); }
	.lb-prev { left: 6px; }
	.lb-next { right: 6px; }
	.lb-close { top: 6px; right: 6px; }
}

/* zpráva po odeslání formuláře (původně Nette flash message) */
.form-flash { clear: both; margin: 0 0 20px; padding: 12px 18px; border-radius: 2px; background: #775e46; color: #fff; font-weight: 600; }
.form-flash.error { background: #a5402d; }
.order-form input[type="submit"][disabled], .contact-form input[type="submit"][disabled] { opacity: .6; cursor: wait; }

/* klient bez loga – v kolečku se vypíše doména */
.sub.about .logo-text { display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: 100%; padding: 0 10px; color: #775e46; font-size: 10px; font-weight: 600; line-height: 1.25; text-align: center; word-break: break-word; }
.sub.about .companies .logo-text { font-size: 13px; }
