/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


.menu-link span {
    display: block;
    text-transform: uppercase !important;
}

.menu-link div {
    text-transform: uppercase;
}

#header {
--cnvs-primary-menu-font-size: 0.8rem;}

.is-expanded-menu .sub-title .menu-container > .menu-item > .menu-link span {
    display: block;
    margin-top: 5px;
    line-height: 12px;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--cnvs-contrast-900);
    text-transform: capitalize;
}


.swiper_wrapper {
	--swiper-height: 80vh;
	--swiper-thumbs-height: 70px;
	--swiper-thumbs-gap: 10px;
	--swiper-navigation-size: 24px;
	min-height: var(--swiper-height);
}

.swiper_wrapper .swiper-container {
	position: relative;
	width: 100%;
	height: auto;
	margin: 0;
}

.swiper-slide-bg {
	position: relative;
	z-index: auto;
	top: auto;
	left: auto;
	height: auto;
	min-height: calc(var(--swiper-height) - var(--swiper-thumbs-height) - calc(var(--swiper-thumbs-gap) * 2));
}

.swiper-thumb {
	height: auto;
	padding: var(--swiper-thumbs-gap) 0;
	text-align: center;
	cursor: pointer;
	overflow: hidden;
}

.swiper-thumb {
	width: calc(100% - calc(var(--swiper-navigation-size) + 60px));
	margin: 0 auto;
	text-align: center;
}

.swiper-thumb .swiper-slide,
.swiper-thumb .swiper-slide img {
	width: 270px;
	height: var(--swiper-thumbs-height);
	-o-object-fit: cover;
	object-fit: cover;
}

.swiper-thumb .swiper-slide {
	filter: grayscale(1);
	opacity: 0.4;
	flex-basis: 0;
	flex-grow: 1;
}

.swiper-thumb .swiper-slide-thumb-active {
	filter: grayscale(0);
	opacity: 1;
}


@media (min-width: 768px) {
	.swiper_wrapper {
		--swiper-height: 100vh;
	}

	.swiper-slide-info {
		margin-top: var(--swiper-thumbs-height);
	}
}



/* ----------------------------------------------------------------
	Slider
-----------------------------------------------------------------*/
.slider-element .heading-block p {
	text-transform: uppercase;
	font-style: normal;
	letter-spacing: 5px;
	font-size: 12px;
	font-weight: 400;
	margin-bottom: 15px;
	color: rgba(255, 255, 255, 0.7);
}

.slider-element .slider-product-desc {
	position: absolute;
	top: auto;
	bottom: 0;
	left: auto;
	right: 0;
	width: 65%;
	z-index: 2;
}

.slider-element .slider-product-desc [class^='col-'] {
	background-color: #353535;
	padding: 30px;
}

.slider-element .vertical-middle .container { top: -60px; }

.play-icon {
	position: relative;
	display: block;
	font-size: 1.75rem;
	margin: 1.25rem 0 0 0;
	width: 60px;
	height: 60px;
	line-height: 56px;
	border-radius: 50%;
	color: #FFF !important;
	border: 2px solid #EEE;
	text-align: center;
	transform: scale(1);
	transition: transform .3s ease;
}

.play-icon i {
	position: relative;
	left: 2px;
}

.play-icon:hover {
	transform: scale(1.1);
}

.heading-block h3 {
	font-weight: 800;
	text-transform: none;
	font-size: 2.3rem;
	letter-spacing: 0;
}

.edge-underline h3,
.product:hover .product-title h3 {
	text-decoration: underline;
	text-decoration-skip: edges;
}


.gutter-4 {
    --bs-gutter-y: 4px;
    --bs-gutter-x: 4px;

}

.bold {font-weight: 500 !important}



  @media (min-width: 992px){
.section-1-bg {
  background: #F5F5F5 url('/uploads/images/home/moderni_okna.jpg');
  background-repeat:no-repeat;  
  background-position: left bottom;  
  background-size: contain;
  background-color: white;
}

.section-2-bg {
  background: #F5F5F5 url('/uploads/images/home/moderni_okna_2.jpg');
  background-repeat:no-repeat;  
  background-position: left bottom;  
  background-size: contain;
  background-color: white;
  
}
}


{
    list-style-type: none;
    margin-left: 10px;
}
.produkt ul {
    list-style-type: none;
    margin-left: 10px;
}

.produkt ul li {
    margin-bottom: 5px;
    margin-left: -10px;
    display: flex;
    align-items: center;
}


.produkt ul li::before {
    color: transparent;
    font-size: 1px;
    content: " ";
    margin-left: -1.3em;
    margin-right: 15px;
    padding: 10px;
    background-color: #EF3830;
    
    -webkit-mask-image: url("/uploads/icons/check-solid.svg");
    -webkit-mask-size: cover;
}



.popis ul {
    list-style-type: none;
    margin-left: 10px;
}

.popis ul li {
    margin-bottom: 5px;
    margin-left: -10px;
    display: flex;
    align-items: center;
}

.popis ul li::before {
    color: transparent;
    font-size: 1px;
    content: " ";
    margin-left: -1.3em;
    margin-right: 15px;
    padding: 10px;
    background-color: #EF3830;
    -webkit-mask-image: url("/uploads/icons/plus-24.png");
    -webkit-mask-size: cover;
}

.widget_links li a:hover {font-weight: bold}


.lh-sm p{
  line-height: 1.6 !important;
}



:root {
  --swiper-theme-color: #d22027;
}

.accordion {
  --bs-accordion-btn-focus-border-color: #d22027;
}



#contact-me {
  position: fixed;
  z-index: 299;
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 36px;
  text-align: center;
  color: #FFF;
  top: 25%;
  left: auto;
  right: 30px;
  bottom: auto;
  cursor: pointer;
  border-radius: 2px;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: transform .3s ease;
  -o-transition: transform .3s ease;
  transition: transform .3s ease;
}


@media (max-width: 768px) {
#contact-me {
top: auto;
bottom: 30px;
}
}


.button {text-transform: uppercase;}

.nadpis {
font-size: var(--cnvs-btn-fontsize);
font-weight: 400;
text-transform: uppercase;
color: #333;
}


ul li a {display: contents}
ul li strong {display: contents}



.fbox-content-lg p {
  font-size: calc(var(--cnvs-featured-box-font-size) * 0.8);
  margin-top: 0.75rem;
}

h3 {font-weight: 700}


.is-expanded-menu .sub-title .menu-container > .menu-item > .menu-link {
  --cnvs-header-height: 100px;
  --cnvs-primary-menu-padding-y: 32px;
  --cnvs-primary-menu-padding-x: 12px;
  position: relative;
  line-height: 14px;
}


.fbox-bg.fbox-center {
  margin-top: 2rem;
  margin-left: 0;
  margin-right: 0;
  padding: 0 0 2rem 0;
  border: 1px solid var(--cnvs-featured-box-bg-light);
  border-radius: 5px;
}


.toggle-header:hover {background-color: #EF3830; color:white}
.toggle-title:hover {color:white; }

.omezeni p {color: red; font-weight: 600}
.omezeni2 h4 {color: red;}
.omezeni {position: absolute; top:4px; right:4px }

.omezeni2 { border:3px solid red; padding: 15px ; margin: 20px 40px 20px 0; }
.omezeni2 p {font-weight: 500; font-size: 16px}

.mista .produkt ul li {
 
  padding: 12px 0;
  text-align: left;
}

.mista .pricing-box 
 
{
  text-align: left !important;
}

.kariera-form input {width: 100%; height: 40px; padding-left: 5%; background-color: #f8f9fa; border: 1px solid black;}
.kariera-form textarea {width: 100%; height: 150px; padding: 2%; background-color: #f8f9fa; border: 1px solid black;}

.kariera1 {background-color: #f8f9fa; }






@media (max-width: 991px) {
  #header-wrap .header-row {
    display: flex;
    flex-wrap: wrap;
  }
  
  #header-wrap .header-row #logo {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0;
  }
  
  #header-wrap .header-row #logo img {
    max-width: 230px; /* Upravte hodnotu podle potřeby */
    height: auto;
  }
  
  .header-misc {
    margin-left: 15px;
    display: flex;
    align-items: center;
  }
  
  .primary-menu-trigger {
    margin-left: auto;
    margin-right: 15px;
  }
  
 .header-misc .button {
    padding: 5px 15px;
    font-size: 14px;
  }
  
   #top-bar p span {
    display: block;
  }
  
  #top-bar p span:first-child {
    margin-bottom: 5px;
  }
  
  #top-bar p span + span {
    margin-top: 5px;
  }
  
  /* Oddělovač | na mobilu */
  #top-bar p {
    text-align: center;
  }
  
  #top-bar p > span + span::before {
    content: none;
  }
  
}


.cms_submit.fbsubmit {
    background-color: #FF3B30;  /* Bright red color similar to the image */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Hover state */
.cms_submit.fbsubmit:hover {
    background-color: #E0352B;  /* Slightly darker shade for hover */
}

/* Active/pressed state */
.cms_submit.fbsubmit:active {
    background-color: #CC2F26;  /* Even darker for click effect */
}

/* Focus state for accessibility */
.cms_submit.fbsubmit:focus {
    outline: 2px solid #FF3B30;
    outline-offset: 2px;
}


@media screen and (min-width: 1500px) and (max-width: 1790px) {



.is-expanded-menu .full-header #logo {
  padding-right: 5px;
}

.menu-link {font-size: 11px}


.is-expanded-menu .sub-title .menu-container > .menu-item > .menu-link span {

  font-size: 11px;

}


.is-expanded-menu .sub-title .menu-container > .menu-item > .menu-link {


  --cnvs-primary-menu-padding-x: 6px;

}

.button.button-reveal.button-small {
  padding-left: 5px;
  padding-right: 5px;
}



    }
}





  /* =================================================================
       STYLY PRO VYHLEDÁVÁNÍ
    ================================================================= */

    /* --- Společná pravidla & Desktop verze (nad 1500px) --- */

  /* ... vaše existující styly pro .top-search-form ... */

    /* === NOVÉ STYLY PRO PŘEPÍNÁNÍ IKON === */

    /* Standardně je vidět lupa */
    #moje-lupa .bi-x-lg {
        display: none;
    }
    #moje-lupa .uil-search {
        display: inline-block;
    }

    /* Když je vyhledávání aktivní (po kliku), zobrazí se křížek */
    #moje-lupa.active .bi-x-lg {
        display: inline-block;
    }
    #moje-lupa.active .uil-search {
        display: none;
    }

    #header-wrap {
        position: relative; /* Nutné pro správné pozicování formuláře */
    }

    .top-search-form {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #FFF;
        z-index: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 40px;

        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease-in-out;
    }

    body.top-search-open .top-search-form {
        opacity: 1;
        visibility: visible;
    }

    .top-search-form .form-control {
        width: 100%;
        max-width: 700px; /* Omezení šířky pole na desktopu */
        border: none;
        border-bottom: 2px solid #333;
        border-radius: 0;
        background-color: transparent;
        font-size: 1.8rem;
        height: auto;
        padding: 10px 0;
        text-align: center;
        box-shadow: none;
    }

    .top-search-form .form-control:focus {
         border-color: #e84545;
    }



#top-search a i {
  font-size: 1.8rem !important;
}

    /* --- Mobilní verze (pod 1500px) --- */

    @media (max-width: 1499.98px) {
        /* Na mobilu chceme, aby formulář překryl ÚPLNĚ CELOU obrazovku */
        .top-search-form {
            position: fixed; /* Měníme na fixed, aby se pozicoval vůči oknu prohlížeče */
            z-index: 1999;   /* Vyšší z-index, aby byl nad vším */
        }

        /* Ikona křížku (která je v #top-search) musí být nad formulářem, aby šel zavřít */
        #top-search {
            z-index: 2000;
            position: relative; /* Důležité pro funkčnost z-index */
        }
        
        .top-search-form .form-control {
             font-size: 0.8rem; /* Mírně zmenšíme písmo na mobilu */
        }
    }
    
    
    
    
    
/* Styl pro lištu s dovolenou */
.holiday-notice {
    background-color: #f8d7da; /* Jemná červená/růžová barva pozadí */
    color: #721c24; /* Tmavě červený text */
    border-bottom: 1px solid #f5c6cb;
    padding: 15px 20px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    font-family: Arial, sans-serif; /* Nebo použijte font vašeho webu */
    line-height: 1.5;
    z-index: 9999; /* Aby byla lišta nad ostatním obsahem */
}

.holiday-content {
    max-width: 1200px; /* Maximální šířka obsahu */
    margin: 0 auto;
    padding-right: 30px; /* Místo pro křížek */
    text-align: center; /* Text zarovnaný na střed */
}

.holiday-content p {
    margin: 0;
    font-size: 15px;
}

/* Styl pro zavírací tlačítko (křížek) */
#holiday-close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #721c24;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
}

#holiday-close-btn:hover {
    opacity: 0.7;
}

/* Úprava pro mobily */
@media (max-width: 600px) {
    .holiday-content {
        text-align: left;
    }
    #holiday-close-btn {
        top: 15px;
        transform: none;
    }
}  
