/* Web TEMPE: doplňky k CSS převzatému z tempe.cz (tempe.css se nemění).
   Galerie, skrytá past na roboty, menu na telefonu, filtr strojů a stránka Objednat online (třídy tw-).
   Barvy a písmo z proměnných webu: --red #e11019, --black, --light-grey, Tahoma. */

.tempe-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* menu na telefonu: Webflow ho otevírá v překryvu; tady stejná poloha pod lištou */
@media screen and (max-width: 991px) {
  .navbar13_menu[data-nav-menu-open] { background: transparent; text-align: left; z-index: 1000; padding: .5rem 0 0; }
  .w-dropdown-list.w--open { position: static; }
}
.w-dropdown-list.w--open { display: block; }
/* panely filtru, Služby, okno s videem a obce v patičce animují interakce IX2 ve web.js (data z tempe.cz) */
.w-form-fail { display: none; }
.w-form-fail[role="alert"] { display: block; }

/* galerie a video: lightbox Webflow 1:1 (pravidla převzatá z webflow.css na tempe.cz, ikony vložené jako data:) */
.w-lightbox-backdrop { cursor: auto; letter-spacing: normal; text-indent: 0px; text-shadow: none; text-transform: none; visibility: visible; white-space: normal; word-break: normal; word-spacing: normal; overflow-wrap: normal; color: rgb(255, 255, 255); text-align: center; z-index: 2000; opacity: 0; user-select: none; -webkit-tap-highlight-color: transparent; background: rgba(0, 0, 0, 0.9); outline: 0px; font-family: "Helvetica Neue", Helvetica, Ubuntu, "Segoe UI", Verdana, sans-serif; font-size: 17px; font-style: normal; font-weight: 300; line-height: 1.2; list-style: disc; position: fixed; inset: 0px; transform: translate(0px); }
.w-lightbox-backdrop, .w-lightbox-container { height: 100%; overflow: auto; }
.w-lightbox-content { height: 100vh; position: relative; overflow: hidden; }
.w-lightbox-view { opacity: 0; width: 100vw; height: 100vh; position: absolute; }
.w-lightbox-view::before { content: ""; height: 100vh; }
.w-lightbox-group, .w-lightbox-group .w-lightbox-view, .w-lightbox-group .w-lightbox-view::before { height: 86vh; }
.w-lightbox-frame, .w-lightbox-view::before { vertical-align: middle; display: inline-block; }
.w-lightbox-figure { margin: 0px; position: relative; }
.w-lightbox-group .w-lightbox-figure { cursor: pointer; }
.w-lightbox-img { width: auto; max-width: none; height: auto; }
.w-lightbox-image { float: none; max-width: 100vw; max-height: 100vh; display: block; }
.w-lightbox-group .w-lightbox-image { max-height: 86vh; }
.w-lightbox-caption { text-align: left; text-overflow: ellipsis; white-space: nowrap; background: rgba(0, 0, 0, 0.4); padding: 0.5em 1em; position: absolute; bottom: 0px; left: 0px; right: 0px; overflow: hidden; }
.w-lightbox-embed { width: 100%; height: 100%; position: absolute; inset: 0px; }
.w-lightbox-control { cursor: pointer; background-position: 50% center; background-repeat: no-repeat; background-size: 24px auto; width: 4em; transition: 0.3s; position: absolute; top: 0px; }
.w-lightbox-left { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0yMCAwIDI0IDQwIiB3aWR0aD0iMjQiIGhlaWdodD0iNDAiPjxnIHRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHBhdGggZD0ibTAgMGg1djIzaDIzdjVoLTI4eiIgb3BhY2l0eT0iLjQiLz48cGF0aCBkPSJtMSAxaDN2MjNoMjN2M2gtMjZ6IiBmaWxsPSIjZmZmIi8+PC9nPjwvc3ZnPg=="); display: none; bottom: 0px; left: 0px; }
.w-lightbox-right { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii00IDAgMjQgNDAiIHdpZHRoPSIyNCIgaGVpZ2h0PSI0MCI+PGcgdHJhbnNmb3JtPSJyb3RhdGUoNDUpIj48cGF0aCBkPSJtMC0waDI4djI4aC01di0yM2gtMjN6IiBvcGFjaXR5PSIuNCIvPjxwYXRoIGQ9Im0xIDFoMjZ2MjZoLTN2LTIzaC0yM3oiIGZpbGw9IiNmZmYiLz48L2c+PC9zdmc+"); display: none; bottom: 0px; right: 0px; }
.w-lightbox-close { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii00IDAgMTggMTciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxNyI+PGcgdHJhbnNmb3JtPSJyb3RhdGUoNDUpIj48cGF0aCBkPSJtMCAwaDd2LTdoNXY3aDd2NWgtN3Y3aC01di03aC03eiIgb3BhY2l0eT0iLjQiLz48cGF0aCBkPSJtMSAxaDd2LTdoM3Y3aDd2M2gtN3Y3aC0zdi03aC03eiIgZmlsbD0iI2ZmZiIvPjwvZz48L3N2Zz4="); background-size: 18px auto; height: 2.6em; right: 0px; }
.w-lightbox-strip { white-space: nowrap; padding: 0px 1vh; line-height: 0; position: absolute; bottom: 0px; left: 0px; right: 0px; overflow: auto hidden; }
.w-lightbox-item { box-sizing: content-box; cursor: pointer; width: 10vh; padding: 2vh 1vh; display: inline-block; transform: translate(0px, 0px); }
.w-lightbox-active { opacity: 0.3; }
.w-lightbox-thumbnail { background: rgb(34, 34, 34); height: 10vh; position: relative; overflow: hidden; }
.w-lightbox-thumbnail-image { position: absolute; top: 0px; left: 0px; }
.w-lightbox-thumbnail .w-lightbox-tall { width: 100%; top: 50%; transform: translateY(-50%); }
.w-lightbox-thumbnail .w-lightbox-wide { height: 100%; left: 50%; transform: translate(-50%); }
.w-lightbox-spinner { box-sizing: border-box; border: 5px solid rgba(0, 0, 0, 0.4); border-radius: 50%; width: 40px; height: 40px; margin-top: -20px; margin-left: -20px; animation: 0.8s linear 0s infinite normal none running spin; position: absolute; top: 50%; left: 50%; }
.w-lightbox-spinner::after { content: ""; border-width: 3px; border-style: solid; border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgb(255, 255, 255); border-image: none; border-radius: 50%; position: absolute; inset: -4px; }
.w-lightbox-hide { display: none; }
.w-lightbox-noscroll { overflow: hidden; }
@media (min-width: 768px) {
  .w-lightbox-content { height: 96vh; margin-top: 2vh; }
  .w-lightbox-view, .w-lightbox-view::before { height: 96vh; }
  .w-lightbox-group, .w-lightbox-group .w-lightbox-view, .w-lightbox-group .w-lightbox-view::before { height: 84vh; }
  .w-lightbox-image { max-width: 96vw; max-height: 96vh; }
  .w-lightbox-group .w-lightbox-image { max-width: 82.3vw; max-height: 84vh; }
  .w-lightbox-left, .w-lightbox-right { opacity: 0.5; display: block; }
  .w-lightbox-close { opacity: 0.8; }
  .w-lightbox-control:hover { opacity: 1; }
}
.w-lightbox-inactive, .w-lightbox-inactive:hover { opacity: 0; }
.w-lightbox-backdrop { transition: opacity 300ms; }
.w-lightbox-view { transition: opacity 300ms; }
.w-lightbox-control:focus-visible, .w-lightbox-item:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

/* okno s videem: Webflow ho skládá přes celou obrazovku */
.modal1_component { align-items: center; justify-content: center; }

/* ---------- Objednat online ---------- */
.tw-hero { padding-bottom: 2rem !important; }
.tw-hero h1 { margin-bottom: 0; }
.tw-top-0 { padding-top: 0 !important; }
.tw-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.tw-form-block { margin: 0; }
.contact5_form.padding-all.tw-form { display: block; margin: 0; padding: 48px 54px; border-radius: 20px; color: #fff; }
.tw-step { border: 0; margin: 0 0 2.25rem; padding: 0; min-width: 0; }
.tw-step[hidden] { display: none; }
.tw-legend { display: flex; align-items: center; gap: .75rem; color: #fff; font-size: 1.4rem; font-weight: 700; line-height: 1.3; margin: 0 0 1.25rem; padding: 0; }
.tw-num { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.1rem; flex: none; }
.tw-group { margin-bottom: 1rem; }
.tw-group-name { color: #fff; opacity: .7; font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .5rem; }
.tw-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .75rem; }
.tw-chip { position: relative; display: block; cursor: pointer; margin: 0; }
.tw-chip input, .tw-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tw-chip-box { display: flex; flex-direction: column; gap: .2rem; height: 100%; background: #fff; color: #000; border: 2px solid #fff; border-radius: 20px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.tw-chip-box strong { font-size: 1rem; }
.tw-chip-box small { font-size: .8rem; line-height: 1.35; color: #444; }
.tw-chip:hover .tw-chip-box { box-shadow: 0 1px 20px -5px var(--red); }
.tw-chip input:checked + .tw-chip-box { border-color: var(--red); background: #fff4f4; box-shadow: inset 0 0 0 1px var(--red); }
.tw-chip input:checked + .tw-chip-box strong::before { content: "✓ "; color: var(--red); }
.tw-chip input:focus-visible + .tw-chip-box, .tw-pill input:focus-visible + span { outline: .125rem solid #4d65ff; outline-offset: .125rem; }
.tw-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.tw-pill { margin: 0; cursor: pointer; position: relative; }
.tw-pill span { display: inline-block; border: 1px solid #fff; border-radius: 30px; padding: .5rem 1.1rem; color: #fff; font-weight: 700; font-size: .95rem; transition: background-color .2s, border-color .2s; }
.tw-pill:hover span { border-color: var(--red); }
.tw-pill input:checked + span { background: var(--red); border-color: var(--red); }
.tw-form .field-label { display: block; margin-top: 1rem; }
.tw-form .form-input { width: 100%; }
.tw-form textarea.form-input { min-height: 7rem; resize: vertical; }
.tw-sub { margin-top: .25rem !important; }
.tw-opt { opacity: .7; font-size: .875rem; }
.tw-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tw-note { color: #fff; opacity: .75; font-size: .875rem; margin: .5rem 0 0; }
.tw-file { display: block; color: #fff; margin-top: .25rem; font-size: .95rem; }
.tw-file::file-selector-button { background: #fff; color: #000; border: 0; border-radius: 30px; padding: .5rem 1.1rem; margin-right: .75rem; font: 700 .9rem Tahoma, Verdana, Segoe, sans-serif; cursor: pointer; }
.tw-photos { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.tw-photos figure { margin: 0; position: relative; }
.tw-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; display: block; }
.tw-photos button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; line-height: 24px; padding: 0; }
.tw-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; margin-top: 1rem; }
.tw-calendar:empty { display: none; }
.tw-day-cell { border-radius: 10px; padding: .4rem .2rem; text-align: center; font-size: .8rem; line-height: 1.25; background: #fff; color: #000; border: 2px solid transparent; }
.tw-day-cell b { display: block; font-size: .95rem; }
.tw-day-cell.is-busy { background: #3a3a3a; color: #aaa; text-decoration: line-through; }
.tw-day-cell.is-picked { border-color: var(--red); }
.tw-day-cell.is-busy.is-picked { border-color: #ff6b6b; }
.tw-cal-legend { grid-column: 1 / -1; color: #fff; opacity: .8; font-size: .8rem; margin: .25rem 0 0; }
.tw-consent { margin-top: 1.25rem; color: #fff; align-items: flex-start; }
.tw-consent .form-checkbox-icon { margin-top: .2rem; }
.tw-consent .w--redirected-checked { background-color: var(--red); border-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E"); background-size: 80%; background-position: center; background-repeat: no-repeat; }
.tw-consent a { color: #fff; }
.tw-error { background: #fff; color: var(--red); border-radius: 20px; padding: .75rem 1rem; font-weight: 700; margin: 0 0 1rem; }
.tw-error[hidden] { display: none; }
.tw-form [aria-invalid="true"] { border: 2px solid var(--red); box-shadow: 0 0 0 2px #fff; }
.tw-submit { color: #fff; font-size: 1.05rem; padding: .9rem 2.25rem; cursor: pointer; }
.tw-submit:hover { opacity: .85; }
.tw-submit[disabled] { opacity: .6; cursor: progress; }
.tw-done { text-align: left; }
.tw-done[tabindex] { outline: none; }
.tw-done .success-text { font-size: 1.1rem; line-height: 1.6; }
.tw-done-cislo { display: block; }
.tw-aside { display: grid; gap: 2rem; }
.tw-card { background: #fff; border-radius: 20px; padding: 2rem; }
.tw-card p { margin: 1rem 0 0; }
.tw-line { margin: .75rem 0 1rem; }
.tw-steps { margin: 0; padding-left: 1.25rem; display: grid; gap: .9rem; }
.tw-steps li::marker { color: var(--red); font-weight: 700; }
.tw-steps strong { display: block; }
.tw-note-dark { font-size: .9rem; color: #333; }
@media screen and (max-width: 991px) {
  .tw-layout { grid-template-columns: 1fr; }
}
@media screen and (max-width: 767px) {
  .contact5_form.padding-all.tw-form { padding: 32px 20px; }
  .tw-two { grid-template-columns: 1fr; }
  .tw-legend { font-size: 1.2rem; }
}

/* obce v patičce: na tempe.cz sbalené na jeden řádek (výšku nastavuje interakce Webflow), Zobrazit více rozbalí */
.faq2_answer { width: 100%; height: 25px; overflow: hidden; }
/* filtr katalogu: šablona štítku aktivního filtru je na tempe.cz skrytá (Finsweet ji jen kopíruje) */
[fs-cmsfilter-element="tag-template"] { display: none; }

/* WEB-15: vlastní lišta souhlasu s cookies (jen když web měří a nemá CookieYes). Vzhled webu: bílá karta,
   zaoblení 20 px, tlačítka jako np-button (červená, zaoblená 30 px), Tahoma. */
.tempe-souhlas { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2147483000; display: flex; justify-content: flex-start; pointer-events: none; }
.tempe-souhlas[hidden] { display: none; }
.tempe-souhlas_box { pointer-events: auto; background: #fff; color: #000; border-radius: 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, .18); padding: 1.5rem; max-width: 34rem; width: 100%; font-family: Tahoma, Verdana, Segoe, sans-serif; }
.tempe-souhlas_nadpis { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 700; }
.tempe-souhlas_text { margin: 0; font-size: .95rem; line-height: 1.5; }
.tempe-souhlas_volby { display: grid; gap: .75rem; margin-top: 1rem; }
.tempe-souhlas_volby[hidden] { display: none; }
.tempe-souhlas_volba { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; line-height: 1.45; cursor: pointer; }
.tempe-souhlas_volba input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--red); flex: none; }
.tempe-souhlas_volba strong { display: block; }
.tempe-souhlas_tlacitka { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; justify-content: flex-end; }
.tempe-souhlas_btn { border-radius: 30px; padding: .7rem 1.4rem; font: 600 .95rem Tahoma, Verdana, Segoe, sans-serif; cursor: pointer; border: 1px solid var(--red); transition: box-shadow .4s; }
.tempe-souhlas_btn[hidden] { display: none; }
.tempe-souhlas_btn.is-plny { background: var(--red); color: #fff; }
.tempe-souhlas_btn.is-obrys { background: #fff; color: var(--red); }
.tempe-souhlas_btn.is-odkaz { background: none; border-color: transparent; color: #000; text-decoration: underline; padding-left: .5rem; padding-right: .5rem; margin-right: auto; }
.tempe-souhlas_btn.is-plny:hover, .tempe-souhlas_btn.is-obrys:hover { box-shadow: 0 1px 20px -5px var(--red); }
.tempe-souhlas_btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.tempe-cookies-link { color: inherit; }
@media screen and (max-width: 479px) {
  .tempe-souhlas { left: .5rem; right: .5rem; bottom: .5rem; }
  .tempe-souhlas_box { padding: 1.25rem; }
  .tempe-souhlas_btn.is-plny, .tempe-souhlas_btn.is-obrys { flex: 1 1 auto; }
}
