

* {
    font-family: "proxima-nova", sans-serif;
    --font_nave: "nave",sans-serif;
    --font_novatica: "bc-novatica-cyr",sans-serif;

    --w_light: 300;
    --w_regular: 400;
    --w_medium: 500;
    --w_semibold: 600;
    --w_bold: 700;



    font-weight: var(--w_regular);

    -webkit-font-smoothing: subpixel-antialiased !important; 
    text-rendering:optimizeLegibility !important;
    box-sizing: border-box;

    --body_c: url("") top/contain repeat;
    --main_c: transparent;

    --logo: url("../img/logo_625.png") left/contain no-repeat;
    --logo_hover: url("../img/logo_hover_625.png") left/contain no-repeat;

    --logo_pata: url("../img/logo_500x122_pata.png") bottom/contain no-repeat;



    --padding: min(8vw,140px);
    --min_width: min(100%, 1364px);
    --min_width_mid: min(100%, 1494px);
    

    --web_max_w: 2000px;
    --header_logo_height: clamp(60px, 7.5vw, 110px);
    --header_logo_height-full: clamp(50px, 6vw, 80px);
    --header_mobile_height: 70px;
    --header_mobile_height_scroll: 70px;


    
    --menu_heigth: unset;
    --menu_heigth-full: unset;
    --section_telefon_heigth: 0px;


    --padd_under_header: calc(var(--header_logo_height) + 50px);
    --padd_under_header-full: calc(var(--header_logo_height-full) + 30px);
    

    --hlavni_barva: #FBD799;
    --druha_barva: #FBD799;
    --druha_hover: #144D4A;

    --nadpisy:#144D4A;
    --text: #757575;
    --a_color: #40ABA5;
    --marker: #C4C4C4;
    --light: #C9C9C9;

    --textmenu: #FFFFFF;
    --textmenu-full: #FFFFFF;
    --textmenuhover: var(--hlavni_barva);
    --textsubmenu: #FFFFFF;
    --textsubmenuhover: var(--hlavni_barva);

    --submenu_background: #ffffff;

    --menu_open_bg: var(--hlavni_barva);
    --tit_h1: #ffffff;
    --menu_dropdown_icon_hover: var(--hlavni_barva);
    --menu_dropdown_icon: var(--hlavni_barva);
    --menu_dropdown_top: calc(var(--header_logo_height) + 15px);
    --menu_dropdown_line_color: #DFDFDF;


    --textcontent: #2C2829;
    --header_bg: transparent;
    --header_bg_full: rgba(20, 77, 74, 0.8);
    --header_mobile_open: var(--nadpisy);

    



    --text_footer: #6F8EB2;
    

    --menu_open_time: .4s;
    --menu_bg: #d9ab02;
    --foot_bg: url('../img/foto_titulka_1920x1080.webp') center 39%/cover no-repeat;
    --foot_bg-mobile: url('../img/foto_titulka_1920x1080.webp') center 39%/cover no-repeat;


    --meho_c: #101010;

}

@counter-style custom-letters {
    system: fixed;
    symbols:A B C D E F G H I J K L M N O P Q R S T U V W X Y Z;
    suffix: ") ";
}
@counter-style custom-letters-small {
    system: fixed;
    symbols:a b c d e f g h i j k l m n o p q r s t u v w x y z;
    suffix: ") ";
}

img {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    
}

body{
    margin:0;
    max-width: var(--web_max_w);
    overflow-x: hidden;
    margin: 0 auto;
    overscroll-behavior-y: none;
}

body.bg {
    background: var(--body_c);
}

html {
    scroll-padding-top: var(--header_logo_height);
    scroll-behavior: smooth;
    background: white;
    /* overflow-x: hidden; */
}



a:link {
    text-decoration: unset;
}

a:visited {
    color: none;
}

a:-webkit-any-link {
    text-decoration: none;
}



header {
    z-index: 100;
    box-sizing: border-box;
    height: fit-content;
    top:0px;
    position: fixed;
    width: 100%;
    gap: 10px;
    max-width: var(--web_max_w);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-inline: var(--padding);
    padding-block: 25px;
    user-select: none;
    background: var(--header_bg);
    /* backdrop-filter: blur(8px) brightness(1.8); */
    /* -webkit-backdrop-filter: blur(8px) brightness(1.8); */


    transition: all .3s ease-in-out;

}

header.full_open {
    background: var(--header_bg_full);
    position: fixed;
    margin-top: 0px;
    backdrop-filter: blur(8px) brightness(1.8);
    -webkit-backdrop-filter: blur(8px) brightness(1.8);
    padding-block: 15px;

}


.open {
    background: var(--header_mobile_open) !important;
    opacity: 100%;
    transition-delay: 0s;
    /* transition-duration: 0s; */
}

a.logo {
    position: relative;
    width: fit-content;
    height: 100%;
    display: block;
    height: var(--header_logo_height);
    align-self: center;
    transition: all .3s ease-in-out;
}

a.logo.pata {
    align-self: flex-start;
}

a.logo .img {
    aspect-ratio: 3/1;
    height: var(--header_logo_height);
    display: block;
    transform-origin: left center;
    background: var(--logo);
    transition: all .3s ease-in-out;

}

a.logo.pata .img {
    background: var(--logo);
}

header.full_open a.logo {
    
}

a.logo:hover .img {
    background: var(--logo_hover);
}


.menu_open {
    display: none;
}


.menu{ 
    position: relative;
    height: var(--menu_heigth);
    display: flex;
    justify-content: center;
    user-select: none;
    padding-inline: 0px;
    transition: all .3s ease-in-out;
}


.menu > ul{ 
    height:auto; 
    margin:0; 
    padding:0; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(10px, 2vw, 37px);
    border-radius: .4rem 0 0 .4rem;
    width: var(--min_width);
}



.menu ul li, .menu ul li a{ 
    list-style: none; 
    margin: 0; 
    color: var(--textmenu);
    font-family: var(--font_novatica);
    font-weight: var(--w_regular);
    font-size: 1rem;
    text-transform: none;
    text-decoration: none; 

    transition: all .2s ease-in-out;
}


header.full_open .menu > ul > li > a:not(.actived) {
    color: var(--textmenu-full);
}

.menu ul li a{
    padding: 0 0.7rem; 
    
}

.menu > ul > li {
    padding: 0;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.menu > ul > li.sipka_dolu {
    display: flex;
    flex-direction: row;
    gap:20px;
    align-items: center;
}

.menu > ul > li.sipka_dolu > a {
    padding-right: 0;

}

.menu > ul > li.sipka_dolu::after,
footer li.sipka_dolu::after {
    content: '';
    width: clamp(8px, .5vw, 10px);
    height: clamp(8px, .5vw, 10px);
    border-width: 0 0 2px 2px;
    border-color: var(--textmenu);
    border-style: solid;
    background-color: transparent;
    transform: rotate(-45deg) translateY(-50%);
    transform-origin: center;
    transition: all .2s ease-in-out;
    pointer-events: none;

}

footer li.sipka_dolu::after {
    border-color: var(--text);
    position: absolute;
    top: 8px;
    left: 10rem;
    pointer-events: all;
    cursor: pointer;
    z-index: 3;
}

header.full_open .menu > ul > li.sipka_dolu::after {
    border-color: var(--textmenu-full);

}

header.full_open .menu > ul > li.sipka_dolu:hover::after,
header.full_open .menu > ul > li.sipka_dolu.actived::after {
    border-color: var(--textmenuhover);

}

@media screen and (max-width:1367px) {
    .menu > ul > li.sipka_dolu::after {
        right:0px;
    
    }
}

.menu > ul > li:hover.sipka_dolu::after {
    border-color: var(--textmenuhover);
}




.menu > ul > li > a {
    font-size: 1.1rem;
    display: block;
    width: fit-content;
    height: fit-content;
    padding: min(.6vw, .8rem) min(1vw, 1.2rem); /*bez ::beforu*/
    /* padding: min(0.8vw, 1rem) min(1.6vw, 2rem) min(0.8vw, 1rem) min(1.6vw, 2rem); */
    /* padding: min(.8vw, 1rem) .5em min(.8vw, 1rem) min(1.6vw, 2rem); */
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;


    padding: 0;
    display: flex;
    /* gap: 10px; */

    position: relative;
    align-items: center;

    text-decoration-color: transparent;

}

@media screen and (max-width: 850px) {
    .menu > ul > li > a {
        font-size: .85rem;
    }
}

.menu > ul > li::before {
    /* content: ''; */
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 0px;
    background: var(--druha_barva);
    opacity: 0;
    transition: all .3s ease-in-out;
}

.menu > ul > li:hover::before, .menu > ul > li:has(a.actived)::before  {
    opacity: 1;
    height: 5px;

    /*text-shadow: 0 0 .65px #333, 0 0 .65px #333; /* NÃƒÆ’Ã‚Â¡hrada za font-weight, aby neroztahovalo text */

    /* position: relative; */
}

.menu > ul > li:hover a,
.menu > ul > li a.actived {
    color: var(--druha_barva);
}
.menu > ul > li:hover > a, .menu > ul > li a.actived {
    color:var(--textmenuhover);
}

.menu > ul > li > a.actived::before {
    /* content: ''; */
    width: .8em;
    aspect-ratio: 1/1;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -15px;

    background: url('../img/symbol_menu_13x13.svg');
    transition: top .3s ease-in-out;
}

header.full_open .menu > ul > li:hover > a, header.full_open .menu > ul > li > a.actived  {
    /* text-decoration-color: white; */
}



.menu > ul > li:hover > a::before, .menu > ul > li > a.actived:before{
    opacity: 1;

}


.menu ul li > ul{ 
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* grid-row-gap: 15px; */

    position: absolute; 
    height: fit-content;
    top: calc(var(--menu_heigth)); 
    left: 0;
    width: auto;

    opacity: 0; 
    visibility:hidden; 
    transition:all .2s ease-in-out;
    z-index: 100;
    padding-block: .8rem;
    background-color: var(--submenu_background);
    box-sizing: border-box;
    padding: 0 ;
}

header.full_open .menu ul li > ul {
    top: calc(var(--menu_heigth-full)); 
}


.menu ul li:hover > ul {
    opacity: 1; 
    visibility:visible; 
    transition-delay: 0s;
}

.menu ul li > ul > li{
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    cursor:pointer;

    color: var(--textsubmenu);

}



.menu ul li > ul > li > a{
    font-family: var(--font-book);
    font-size: clamp(.95rem, 1.1vw, 1.25rem);
    text-align: center;
    text-transform: none;
    position: relative;
    transition-delay: 0s;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    padding:1.35rem 1.1rem;
    gap: 35px;
    justify-content: space-between;
    color:var(--textsubmenu);
    transition: all .2s ease-in-out;
    z-index: 1;
    text-decoration: underline;
    text-decoration-color: transparent;
}

.menu ul li > ul > li > a::after {
    /* content: ''; */
    position: absolute;
    width: 100%;
    height: calc(100% + 40px);
    top: -20px;
    left:0;
    z-index: -1;
    transition: all .3s ease-in-out;
}

.menu ul li > ul > li > a:hover::after,
.menu ul li > ul > li > a.actived::after {
    background: var(--druha_barva);
}

.menu ul li > ul > li:hover > a,
.menu ul li > ul > li > a.actived  {
    color:var(--textsubmenuhover);
    text-decoration-color: var(--textsubmenuhover);

}


/* MAIN */

main {
    position: relative;
    background: var(--main_c);
    padding: 100px var(--padding) 100px var(--padding);
    overflow-x: clip;
}
main.nopad {
    padding: 0px;
}

header + main,
header + main.nopad {
    padding-top: 150px;
    margin-top:calc(-150px + var(--padd_under_header) + 0.5rem);
    transition: all .3s ease-in-out;

}

header + main.nopad {
    padding-top: var(--padd_under_header);
    margin-top: 0px;
}


main.white {
    background: white;
}


/* titulka */

section.tit {
    position:relative;
    top:0;
    left:0;
    /* margin-top:calc(-162px + var(--padd_under_header)); */
    /* padding-top: 150px; */
    width:100%;
    height: fit-content;
    background: white;
    overflow: hidden;
    aspect-ratio: 16/9;    
    background: var(--main_c);
    min-height: 650px;
    max-height: 1080px;
    transition: all .3s ease-in-out;
    display: flex;
    

}


section.tit::before {
    content: '';
    width: 100%;
    aspect-ratio: 128/9;
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 1;
    background: url('../img/oblouk_1920x135.png') center/cover no-repeat;
}

section.tit.podstrana {
    aspect-ratio: 4 / 1;
    min-height: 260px;
    max-height: 550px;
}

section.tit.podstrana.kontaktni {
    aspect-ratio: 8 / 2;

    min-height: 260px;

}

@media screen and (max-width: 550px) {
    section.tit.podstrana.kontaktni {
        min-height: 200px;
    
    }

    section.tit.podstrana.kontaktni > div.obsah h1 {
        padding-top: 00px;
    }
    
}

@media screen and (max-width: 810px) {
    section.tit.podstrana {
        /*min-height: max(330px, calc(400px - (810px - 100vw)));*/
    }
}




section.tit > video,
section.tit > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;

    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
}


section.tit > img.mobile, section.tit > img.tablet {
    display: none;
    visibility: hidden;
    opacity: 0;
    object-position: bottom left;
}


section.tit.podstrana > img {
    object-position: top;
}
section.tit > div.obsah {
    position: relative;
    width: calc(100% - (2*var(--padding)));
    margin-inline: auto;
    height: 82%;
    gap: 30px;
    padding-inline: var(--padding);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 5;


    padding-top: var(--padd_under_header);


} 

section.tit.podstrana > div.obsah {
    align-items: center;
}


section.tit:not(.podstrana) > div.obsah::before {
    content: '';
    position: absolute;
    right: 5%;
    height: min(760px, 100%);
    background: url('../img/titulka_dekorace_1000v.webp') center/contain no-repeat;
    width: clamp(300px, 35vw, 650px);
}


@keyframes decor-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

section.tit > div.obsah::after {
    content: '';
    position: absolute;
    bottom:10%;
    right: 3%;
    height: clamp(110px, 11vw, 210px);
    aspect-ratio: 1/1;
    transform-origin: center;
    background: url('../img/doplnek_200.svg') center/contain no-repeat;
}

section.tit:not(.podstrana) > div.obsah::after {
    animation: decor-rotate 25s linear infinite;
}

section.tit.podstrana > div.obsah::after {
    bottom: 13%;
}



section.tit > div.obsah .btn {
    margin-top: 20px;
}

section.tit > div.obsah img {
    object-fit: contain;
    object-position: bottom right;
    margin: 0;

    position: absolute;
    bottom: 0px;
    right: 0px;
    height: 75%;
    aspect-ratio: 3/4;
    z-index: -1;
    margin-right: calc(1.5 * var(--padding));
}


section.tit hr {
    border-color: #2E2E2E;
    border-width: 1px;
    border-style: solid;
}



@media screen and (max-width:990px) {

    section.tit {
        aspect-ratio: 2/1.4;
    }
}

@media screen and (max-width: 1000px){
    section.tit > div.obsah {
        /* padding-inline: calc(var(--padding)); */
        padding-inline: 0px;
    }

    section.tit > div.obsah picture {
        padding-right: calc(.4  * var(--padding));
    }
}

@media screen and (max-width: 799px){
    section.tit > div.obsah picture {
        padding-right: 0;
        height: clamp(382px, 75vw, 480px);
    }
}


@media screen and (max-width:400px) {
    section.tit > div.obsah {
        padding-top: 181px;
    }

    section.tit div.buttons {
        /* grid-template-columns: 1fr 1fr; */
    }
}





/* ----- */







/* BTNS */

.btn{
    width: fit-content;
    min-width: min(200px, 100%);
    background: var(--druha_barva);
    height: fit-content;
    display: block;
    text-align: center;
    font-size: clamp(1rem, 1.6vw, 1.5rem);
    color: var(--nadpisy);
    font-family: var(--font_nave);
    padding: .95rem 4rem;
    transition: all .3s ease-in-out;
    box-sizing: border-box;
    align-items: center;
    border-radius: 35px;
    justify-content: space-between;
    gap:10px;
    border: 2px solid var(--druha_barva);

}
.btn.centerr {
    margin-inline: auto;
    width: fit-content;
}
.btn:hover {
    background-color: var(--druha_hover);
    color: var(--hlavni_barva);
}
.btn.inverse {
    background-color: white;
    border: 1px solid var(--druha_barva);
}

.btn.inverse:hover {
    background-color: var(--druha_hover);
    color: white;
}

.btn:hover {
    background-color: var(--druha_hover);
    color: var(--hlavni_barva);
}

a.btn:hover {
    transform-origin: center;
    transform: scale(1.02);
}



 
.btn::after {
    /* content: ''; */
    display: block;
    width: 1.2em;
    height: 1.2em;
    background-image: url('../img/ikona_sipka_button_22x22_bila.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    transition: all .3s ease-in-out;
    align-self: center;
}



/*  -----  */
/* TITULKA */

/* uni template*/




/* FORM */




/* checkbox */

/* Hide the browser's default checkbox */
label.souhlas input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
/* Create a custom checkbox */
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 25px;
width: 25px;
background-color: #eee;
}

/* On mouse-over, add a grey background color */
label.souhlas:hover input ~ .checkmark {
background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
label.souhlas input:checked ~ .checkmark {
background-color: #3F8E30;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
content: "";
position: absolute;
display: none;
}

/* Show the checkmark when checked */
label.souhlas input:checked ~ .checkmark:after {
display: block;
}

/* Style the checkmark/indicator */
label.souhlas .checkmark:after {
left: 9px;
top: 5px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 3px 3px 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}


/* ------- */



/*TEXTY */

section.tit h1 {
    color: var(--tit_h1);
    font-family: var(--font_nave);
    font-weight: var(--w_medium);
    font-size: clamp(2.5rem, 4vw, 3.85rem);
    text-align: left;
    margin-bottom: 0;
    line-height: 1.15em;
    /* text-shadow: 0px 5px 10px #0000008C; */
}



section.tit span {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-family: var(--font-book);
    color: #F8F8F8;

    
}

section.tit p {
    /* color: var(--tit_h1); */
    line-height: 1.3em;
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    padding: 0;
    margin: 0;
    color: white;
    font-weight: var(--w_regular);
}


section.tit a.btn::before {
    /* content: ''; */
    display: block;
    width: 1.5em;
    height: 1.1em;
    mask: url('../img/ikona_menu.svg') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_menu.svg') center/contain no-repeat;
    background-color: var(--text);
}



a:not([class]) {
    font-size: inherit;
    color: var(--a_color);
    text-decoration: underline;
    cursor: pointer;
    transition: 0.125s ease-in-out all;
}

p a:not([class]) {
    color: var(--a_color);
    font: inherit;
}

a:not([class]):hover {
    text-decoration-color: transparent;
}




p {
    color: var(--text);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.5em;
}
span {
    color: var(--text);
    font-size: 1.1rem;
}
b{ 
    font-weight: var(--w_bold);
    font-size: inherit;
}


h1 {
    color: var(--nadpisy);
    font-family: var(--font_nave);
    font-weight: var(--w_bold);
    font-size: clamp(1.6rem, 3vw, 2.2rem);;
    /* margin: 0 0 clamp(4rem, 7vw, 6rem) 0;   */
    margin: 0 0 10px 0;  
    position: relative;
    line-height: 1.15em;
}

h1.big {
    font-size: clamp(2.5rem, 4vw, 3.85rem);
    text-align: center;
}

h2 {
    color: var(--nadpisy);
    font-family: var(--font_nave);
    font-weight: var(--w_bold);
    font-size: clamp(1.15rem, 2vw, 1.75rem);
    margin: 55px 0 1rem 0;  
}
h3{
    font-family: var(--font-semibold);
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    color: var(--nadpisy);
    font-weight: normal;

}
h1 ~ h3 {
    line-height: 1.75rem;
    font-family: var(--font-book);
    margin-bottom: 30px;
}
h4{
    font-family: var(--font-medium);
    font-size: clamp(1rem,1.2vw, 1.4rem);
    color: var(--text);
    margin-top: 40px;
    margin-bottom: 0;
}


.decor.center {
    padding-bottom: 50px;
}

.margin-bottom {
    margin-bottom: clamp(30px, 7vw, 50px);
}

.center {
    text-align: center;
    padding-inline: var(--padding);
    width: 100%;
    display: inline-block;
}


.decor.center::after {
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
}

ul.custom  {
    list-style: none;
    padding-left: 25px;
}

ul.custom li {
    position: relative;
    margin-bottom: 1.25em;
}

ul.custom li::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 15px;
    display: block;
    width: 12px;
    height: 8px;
    border-radius: 1px;
    background-color: #40ABA5;
}


/* rest */


input, textarea, select {
    padding: 22px;
    border-radius: 3px;
    border-width: 1px;
    width: 100%;
    color: var(--text);

}
textarea {
    resize: vertical;
    min-height: 130px;
}

/* ----- */

section.sluzby_titulka {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: var(--min_width);
    margin-inline: auto;
    column-gap: clamp(40px, 5vw, 85px);
}

section.sluzby_titulka h1 {
    grid-column: span 2;
}

section.sluzby_titulka .btn {
    margin-left: auto;
}

section.sluzby_titulka hr {
    grid-column: 1/-1;
    border-color: transparent;
    background: var(--hlavni_barva);
    height: 1px;
    width: 100%;
    margin-block: clamp(45px, 3.5vw, 60px);
}

section.sluzby_titulka .sluzba {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
}
section.sluzby_titulka .sluzba img {
    width: clamp(80px, 6vw, 110px);
    aspect-ratio: 1/1;
    object-fit: contain;
}

section.sluzby_titulka .sluzba p {
    margin-block: 10px;
}


@media screen and (max-width: 1050px) {
    section.sluzby_titulka {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    section.sluzby_titulka h1 {
        grid-column: unset;
    }

    section.sluzby_titulka .sluzba {
        max-width: 500px;
    }

    section.sluzby_titulka .btn {
        grid-row: 6;
        margin: 20px 0 0 0;
    }

    section.sluzby_titulka hr {
        margin-block: 20px;
    }
}


section.onas {
    width: min(1088px, 80%);
    margin-inline: auto;
    background: transparent linear-gradient(180deg, #FBD799 0%, #FBD79900 100%) 0% 0% no-repeat padding-box;
    padding: clamp(40px, 5vw, 90px) clamp(50px, 9vw, 162px);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(120px, 10vw, 170px);
    margin-bottom: clamp(170px, 35vw, 300px);
}

section.onas h1 {
    text-align: center;
    font-size: clamp(1.1rem, 3vw, 2.2rem);
    line-height: 1.5em;
}

section.onas hr {
    width: 1px;
    height: 37px;
    background: #757575;
}

section.onas .zakladatelka {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    width: fit-content;
    margin-inline: auto;
    margin-block: 8px;
    align-items: center;
    margin-bottom: 40px;
}

section.onas .zakladatelka p {
    margin-block: 8px;
    font-weight: var(--w_bold);
    line-height: 1em;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

section.onas .zakladatelka p span {
    font-weight: var(--w_regular);
    font-size: clamp(.85em, 1.5vw, 1em);
}

section.onas .zakladatelka img {
    width: 66px;
    aspect-ratio: 1/1;
    object-fit: contain;
}


section.onas .galerie {
    position: relative;
}

section.onas .galerie img {
    object-fit: contain;
    object-position: center;
    width: min(50vw, 100%);
    position: relative;
    left: 50%;
    transform-origin: top center;
    transform: translateX(-50%) scale(1.7);

}

section.onas .galerie img.tablet,
section.onas .galerie img.mobile {
    display: none;
}

@media screen and (max-width: 800px) {
    section.onas .galerie img.desktop {
        display: none;
    }

    section.onas .galerie img.tablet {
        display: block;
    }

    section.onas .galerie {
        margin-top: 40px;
    }
}

@media screen and (max-width: 750px) {
    section.onas {
        padding-inline: 20px;
        width: 100%;
    }

    section.onas .galerie img {
        transform: translateX(-50%) scale(1.4);
    }

    section.onas h1 {
        font-size: clamp(1.1rem, 4vw, 1.7rem);
    }
}

@media screen and (max-width: 460px) {
    section.onas .galerie img.tablet {
        display: none;
    }

    section.onas .galerie img.mobile {
        display: block;
    }


}



/* služby */

section.sluzby {
    display: grid;
    position: relative;
    grid-template-columns: repeat(3, 1fr);
    width: min(1120px, 100%);
    gap: 100px clamp(30px, 7vw, 120px);
    margin-inline: auto;
    margin-top: calc(-1 * clamp(139px, 12vw, 224px));
    z-index: 10;
    margin-bottom: clamp(150px, 12px, 220px);
}

section.sluzby .sluzba {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

section.sluzby .sluzba img {
    width: 100%;
    aspect-ratio: 1/1;
}

section.sluzby .sluzba h2,
section.sluzby .sluzba ul {
    margin: 0px;
    margin-inline: 10px;
}

section.sluzby .sluzba h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

section.sluzby .sluzba ul li,
.kontaktujte span {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: var(--w_regular);
    color: var(--text);
    line-height: 1.7em;
}

section.sluzby .sluzba .btn {
    margin-inline: auto;
    margin-top: auto;
}

.kontaktujte {
    width: 100%;
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media screen and (max-width: 800px) {
    section.sluzby {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 0px;
        row-gap: 50px;
    }

    section.sluzby .sluzba img {
        max-width: 200px;
    }

    section.sluzby .sluzba {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 18px 35px;
    }

    section.sluzby .sluzba ul li {
        line-height: 1.4em;
    }

    section.sluzby .sluzba ul.custom li::before {
        top: .5em;
    }

    section.sluzby .sluzba img {
        grid-row: 1/3;
    }

    section.sluzby .kontaktujte {
        margin-top: 35px;
    }

    section.sluzby .sluzba .btn {
        grid-column: 2;
        margin-inline: 0px;
    }

}


@media screen and (max-width: 600px) {
    section.sluzby {
        max-width: 410px;
        margin-inline: auto;
    }

    section.sluzby .sluzba {
        gap: 25px 15px;
    }

    section.sluzby .sluzba img {
        max-width: 100px;
        grid-row: 1;
    }

    section.sluzby .sluzba h2 {
        height: fit-content;
        margin-block: auto;
    }

    section.sluzby .sluzba ul {
        grid-column: 1/-1;
    }

    section.sluzby .sluzba .btn {
        grid-column: 1/-1;
    }
}

/* mechove dekorace / produkty */

section.text_foto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 1088px);
    row-gap: 40px;
    margin-inline: auto;
    margin-bottom: clamp(70px, 8vw, 140px);
}

section.text_foto .img_wrap {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

section.text_foto.kontaktni .img_wrap {
    grid-row: span 2;
}

section.text_foto.mt {
     margin-top: 80px;
}

section.text_foto img {
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

section.text_foto h1 {
    grid-column: 1/-1;
    width: min(100%, 530px);
}

section.text_foto p,
section.text_foto.kontaktni .kontaktujte {
    margin: 0 0 0 clamp(40px, 8vw, 150px);
}

section.text_foto.kontaktni .kontaktujte {
    grid-column: unset;
    margin-bottom: clamp(70px, 5vw, 90px);
    align-items: flex-start;
}

main.fade_bg {
    background: transparent linear-gradient(180deg, #FBD799 0%, #FBD79900 100%) 0% 0% no-repeat padding-box;
}

@media screen and (max-width: 735px) {
    section.text_foto {
        grid-template-columns: 1fr;
    }

    section.text_foto p {
        grid-row: 2;
        margin-left: 0px;
    }

    section.text_foto.kontaktni .kontaktujte {
        margin-left: 0px;
    }

    section.text_foto .img_wrap {
        aspect-ratio: 4/3;
        max-width: 400px;
    }
}

@media screen and (max-width: 600px) {
    section.text_foto.kontaktni .kontaktujte {
        align-items: center;
    }
}


section.produkty {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: min(100%, (1088px + (2 * var(--padding))));
    gap: 35px clamp(40px, 7vw, 120px);
    margin-inline: auto;
    margin-top: 50px;
    padding-inline: var(--padding);
}


section.produkty .produkt {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

section.produkty .produkt img {
    width: 100%;
    aspect-ratio: 1/1;
    margin-top: -50%;
}

section.produkty .produkt h2,
section.produkty .produkt p {
    margin: 0px;
    margin-inline: 10px;
}

section.produkty .produkt h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

section.produkty .produkt p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: var(--w_regular);
    color: var(--text);
    line-height: 1.5em;
}

section.produkty .produkt p.symbol {
    color: #40ABA5;
    font-style: italic;
    padding-left: 30px;
    position: relative;
}

section.produkty .produkt p.symbol::before {
    content: '';
    display: block;
    width: 12px;  
    aspect-ratio: 1;
    background: #FBD799;
    clip-path: polygon(50% 0,79% 90%,2% 35%,98% 35%,21% 90%); 
    z-index: 2;
    position: absolute;
    top: 10.5px;
    left: 3.5px;
}

section.produkty .produkt p.symbol::after {
    content: '';
    display: block;
    width: 19px;
    border-radius: 20px;  
    aspect-ratio: 1;
    background: #40ABA5;
    z-index: 1;
    position: absolute;
    top: 7px;
    left: 0;
}



@media screen and (max-width: 800px) {
    section.produkty {
        grid-template-columns: repeat(1, 1fr);
        padding-top: 40px;
        row-gap: 50px;
    }

    section.produkty .produkt img {
        max-width: 200px;
        margin-top: 0px;
    }

    section.produkty .produkt {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 18px 35px;
    }

    section.produkty .produkt img {
        grid-row: 1/4;
    }

}


@media screen and (max-width: 600px) {
    section.produkty {
        max-width: 410px;
        margin-inline: auto;
    }

    section.produkty .produkt {
        gap: 25px 15px;
    }

    section.produkty .produkt img {
        max-width: 100px;
        grid-row: 1;
    }

    section.produkty .produkt h2 {
        height: fit-content;
        margin-block: auto;
    }

    section.produkty .produkt p {
        grid-column: 1/-1;
    }
}



@media screen and (max-width: 560px) {
    section.produkty {
        margin-top: 0px;
    }

    section.text_foto {
        margin-bottom: 0px;
    }
}


section.banner {
    width: min(1088px, 100%);
    margin-inline: auto;
    background: url('../img/foto_pozadi_mech_1640.webp') center/cover no-repeat;
    padding: clamp(40px, 6.5vw, 110px) clamp(30px, 6vw, 90px);
    border-radius: 20px;
    margin-block: clamp(30px, 4vw, 60px) clamp(80px, 8.5vw, 160px);
}

section.banner h1 {
    color: white;
    margin-bottom: clamp(45px, 8vw, 60px);
}

section.banner .list {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 35px;
    margin-bottom: 35px;
}

section.banner .list p {
    color: white;
    font-weight: var(--w_medium);
    font-weight: 1.25rem;
    margin-block: 0px;
    
}

section.banner .list p.popis {
    position: relative;
}

section.banner .list p.popis::before {
    content: '';
    position: absolute;
    left: -21px;
    top: .65em;
    display: block;
    width: 12px;
    height: 8px;
    border-radius: 1px;
    background-color: #40ABA5;
}

section.banner .list:last-of-type {
    margin-bottom: 0px;
}


@media screen and (max-width: 875px) {
    section.banner .list {
        grid-template-columns: 130px 1fr;
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {
    section.banner .list {
        display: flex;
        flex-direction: column;
        gap: 5px
    }

    section.banner .list p.popis {
        padding-left: 30px;
    }

    section.banner .list p.popis::before {
        left: 3px;
    }


    section.banner .list .name {
        font-size: 1.15rem;
    }
}

/* kontakt */

section.kontakt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    width: min(1080px, 100%);
    margin-inline: auto;
}

section.kontakt img.round {
    width: 140px;
    aspect-ratio: 1/1;
    border-radius: 150px;
    object-fit: cover;
}

section.kontakt section.kontakty {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

section.kontakt section.kontakty > *:not(a),
section.kontakt > h1 {
    margin-bottom: 25px;
}

section.kontakt p.provozovna {
    margin-block: 0px 30px;
}

section.kontakt section.kontakty > .fb {
    margin-top: 25px;
}

section.kontakt a.webdesign {
    margin-top: auto;
    width: fit-content;
    color: var(--text);
    font-size: 14px;
    text-decoration: underline ;
    transition: all .3s ease-in-out;
}

section.kontakt a.webdesign:hover {
    text-decoration-color: transparent;
}

section.kontakt a.webdesign span {
    font-size: inherit;
    transition: all .3s ease-in-out;
}


section.kontakt a.webdesign:hover span {
    color: var(--druha_hover);
}



section.kontakt .ico,
section.kontakt p.soc {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);;
    margin: 0px;
}

section.kontakt a.ico {
    text-decoration: underline;
    transition: all .15s ease-in-out;
}

section.kontakt a.ico:hover {
    text-decoration-color: transparent;
}

section.kontakt section.form {
    grid-row: 1/4;
    grid-column: 2;
}

section.form_wrap h2 {
    margin: 0;
    font-weight: bold;
    color: var(--druha_barva);
    grid-column: 1/-1;
    font-size: 2.5rem;
}


@media screen and (max-width:880px) {
    section.kontakt {
        grid-template-columns: 1fr;
    }

    section.kontakt section.form {
        grid-row: 3;
        grid-column: 1;

        margin-block: 40px;
    }
}



/* FORM */

section.form_wrap {
    background-color: transparent;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px 25px;
    margin-top: 0px;

    /* background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px) brightness(1.8);
    -webkit-backdrop-filter: blur(4px) brightness(1.8); */
    background-color: var(--druha_hover);
    padding: 50px 55px;
}






section.form_wrap h1 {
    font-family: var(--font-semibold);
    color: var(--druha_barva);
    margin: 0;
}
section.form_wrap p {
    text-align: center;
    margin: 0;
}

section.form_wrap section.sep {
/*     
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto; */
    grid-gap: 5px 15px;
   
    display: flex;
    flex-direction: column; 
}

section.form_wrap section.textarea_wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
    grid-column: 1/-1;

}

section.form_wrap section.sep label,
section.form_wrap label {
    grid-row: 1;
    margin-bottom: 8px;
    font-weight: var(--w_regular);
    color: var(--druha_barva);

    font-size: 1.1rem;
}


section.form_wrap input, section.form_wrap textarea {
    font-family: var(--font-regular);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: #252E3D;
}

section.form_wrap textarea {
    border: none;
    border-radius: 3px;
}

section.form_wrap .textarea_wrap label {
    margin-bottom: 8px;
}

section.form_wrap input, section.form_wrap textarea,
section.form_wrap input:focus-visible, section.form_wrap textarea:focus-visible {
    padding: 10px 15px;
    width: 100%;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000080;
    border-radius: 5px;
    border: 0px solid #9A9A9A;
}

section.form_wrap textarea {
    resize: vertical;
}

section.form_wrap > section.for_captcha {
    grid-column: 1;
    grid-row: 5;
    transform-origin: top left;
    width: 50%;
    transform: scale(.9);
    position: relative;
    min-height: 65px;
    min-width: 180px;
}

section.form_wrap > section.for_captcha > * {
    position: absolute;
}

section.form_wrap .btn {
    grid-column: 2;
    margin-left: auto;
    cursor: pointer;
    width: min(300px, 100%);
    padding-inline: 0.5rem;
}


section.form_wrap label.souhlas {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    font-family: var(--font-regular);
    font-size: .9rem;
    color:var(--text);
    margin-bottom: 0px;

    display: flex;
    flex-direction: row;
    align-items: center;
    height: 25px;
}


@media screen and (max-width: 1246px){
    section.form_wrap .btn,
    section.form_wrap > section.for_captcha {
        grid-column: 1/-1;
    }

    section.form_wrap .btn {
        margin: 0;
        max-width: 200px;
    }

}


@media screen and (max-width: 960px) {

    section.form_wrap > * {
        grid-column: span 2;
    }

    section.form_wrap > section.for_captcha {
        grid-row: 7;
    }

    section.form_wrap section.sep input:first-of-type {
        margin: 0;
    }
}




@media screen and (max-width:580px) {
    section.form_wrap > section.for_captcha,
    section.form_wrap .btn  {
        grid-column: 1/-1;
    }


    section.form_wrap section.sep {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width:400px) {
    section.form_wrap > section.for_captcha {
        transform: scale(.85);
    }

    section.form_wrap h1 {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 500px) {
    section.form_wrap {
        padding: 30px 25px;
    }
}


@media screen and (max-width:890px) {
    section.wrap_top_kontakt iframe {
        grid-column: 1;
        grid-row: 2;
        min-width: unset;
        
    }

    section.wrap_top_kontakt {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
    }
}



/* FOOTER */

footer{
    position:relative;
    width: 100%;
    background: var(--foot_bg);
    box-sizing: border-box;
    padding: 100px var(--padding) 30px var(--padding);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}


footer::before {
    content: '';
    width: 100%;
    height: clamp(35px, 13vw, 57px);
    position: absolute;

    bottom: 103%;
    left: 0px;
    background: url('../img/pasek_pata.svg') center/cover no-repeat;
}


footer section.footer_wrap {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    width: var(--min_width);
    margin-inline: auto;
    margin-block: clamp(35px, 4vw, 65px);
}


footer section.footer_wrap .kontakt {
    display: flex;
    flex-direction: column;
    gap: 29px;

}

footer section.footer_wrap .kontakt a {
    color: #FFFFFF;
    font-weight: var(--w_semibold);
    font-size: clamp(1.1rem, 2vw, 1.38rem);
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: all .15s ease-in-out;
}

footer section.footer_wrap .kontakt a:hover {
    text-underline-offset: 10px;
    text-decoration-color: transparent;

}


footer div.odkazy {
    display: flex;
    width: fit-content;
    gap: 15px;
    cursor: pointer;
    width: var(--min_width);
    margin-inline: auto;
    justify-content: flex-end;
}

footer div.odkazy a,
footer div.odkazy a span {
    font-size: .9rem;
    font-weight: var(--w_light);
    color: rgba(255, 255, 255, 0.5);
}

footer div.odkazy a span {
    font: inherit;
    transition: all .3s ease-in-out;
}

footer div.odkazy a:hover span {
    color: var(--druha_barva);
}

footer .soc,
.kontakt .soc {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    margin-top: clamp(25px, 2.5vw, 45px);
}

.kontakt .soc {
    justify-content: flex-start;
    margin: 0px;
}

footer .soc a::before,
.kontakt .soc a::before {
    width: 40px;
}

@media screen and (max-width:1370px) {
    footer section.footer_wrap .kontakt {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
        align-items: flex-end;
        margin-bottom: 15px;
    }
}

@media screen and (max-width:850px) {
    footer {
        background: var(--foot_bg-mobile);
    }


    a.logo.pata,
    a.logo.pata .img {
        height: clamp(120px, 21vw, 157px);
        aspect-ratio: 2/1;

    }

    footer section.footer_wrap {
        flex-direction: column;
        margin-top: 0px;
        gap: 40px;
        width: fit-content;
        margin-inline: auto;
        align-items: center;
    }

    footer section.footer_wrap .kontakt {
        align-items: center;
    }

    footer section.footer_wrap .kontakt a {
        font-size: 1.25rem;
    }

    footer div.odkazy {
        width: 100%;
        justify-content: center;
    }

}

/* ikony */


.ico::before {
    content: '';
    mask: center/contain no-repeat;
    -webkit-mask: center/contain no-repeat;
    width: 1em;
    aspect-ratio: 1/1;
    background: var(--text);
}

.ico {
    display: flex;
    flex-direction: row;
    gap: 8px;
    color: var(--text);
}

.ico.date::before {
    mask-image: url('../img/kalendar_25x25.svg');
    -webkit-mask-image: url('../img/kalendar_25x25.svg');

}

.ico.logo::before {
    width: 1.45em;
    mask-image: url('../img/ikona_vinar.svg');
    -webkit-mask-image: url('../img/ikona_vinar.svg');

}

.ico.shop::before {
    mask-image: url('../img/ikona_eshop.svg');
    -webkit-mask-image: url('../img/ikona_eshop.svg');

}

.ico.tel {
    white-space: nowrap;
}

.ico.tel::before {
    mask-image: url('../img/ikona_telefon.svg');
    -webkit-mask-image: url('../img/ikona_telefon.svg');
    background-color: white;
}

.ico.mail::before {
    mask-image: url('../img/ikona_email.svg');
    -webkit-mask-image: url('../img/ikona_email.svg');
    background-color: white;
}

section.kontakt .ico.tel::before, 
section.kontakt .ico.mail::before {
    background: var(--text);
}

.ico.fb::before {
    mask: unset;
    background: url('../img/socky/facebook.svg') center/contain no-repeat;
    transition: all .3s ease-in-out;
}

.ico.fb:hover:before,
.preload .ico.fb:before {
    background-image: url('../img/socky/facebook_hover.svg');
}

.ico.ig::before {
    mask: unset;
    background: url('../img/socky/insta.svg') center/contain no-repeat;
    transition: all .3s ease-in-out;

}

.ico.ig:hover:before,
.preload  .ico.ig:before {
    background-image: url('../img/socky/insta_hover.svg');
}

/* checkbox */

input.custom[type="checkbox"],
input.custom[type="radio"] {
    position: absolute;
    left: -9999px;
}

input.custom[type="checkbox"]+label.labelcheckbox,
input.custom[type="radio"]+label.labelcheckbox {
    position: relative;
    padding-top: 0;
    padding-left: 2.3rem;
    padding-right: 1.5rem;
    cursor: pointer;
    font-size: 1rem;
}

input.custom[type="checkbox"]+label.labelcheckbox.right,
input.custom[type="radio"]+label.labelcheckbox.right {
    padding-left: 0rem;
    padding-right: 2.3rem;
}

input.custom[type="checkbox"]+label.labelcheckbox:before,
input.custom[type="radio"]+label.labelcheckbox::before {
    content: '';
    background: #fff;
    border: 2px solid var(--druha_barva);
    border-radius: 2px;
    height: 1.4rem;
    width: 1.4rem;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

input.custom[type="checkbox"]+label.labelcheckbox.right:before,
input.custom[type="radio"]+label.labelcheckbox.right:before {
    left: unset;
    right: 0;
}

input.custom[type="checkbox"]+label.labelcheckbox:after,
input.custom[type="radio"]+label.labelcheckbox:after {
    content: '';
    width: 0.75rem;
    height: 0.3rem;
    position: absolute;
    border-bottom: 2px solid var(--druha_barva);
    border-left: 2px solid var(--druha_barva);
    top: 48%;
    left: 0%;
    opacity: 0;
    transform: scale(2) translateY(-3%) translateX(50%) rotate(-45deg);
    transition: transform 0.3s linear, opacity 0.3s linear;
}

input.custom[type="checkbox"]+label.labelcheckbox.right:after,
input.custom[type="radio"]+label.labelcheckbox.right:after {
    left: unset;
    right: 0.85rem;
}


input.custom[type="checkbox"]:checked+label.labelcheckbox:after,
input.custom[type="radio"]:checked+label.labelcheckbox:after {
    opacity: 1;
    transform: scale(1) translateY(-50%) translateX(50%) rotate(-45deg);
}


@media screen and (max-width:1150px) {
    *{
        --padding: 6vw;
    }

}



*{
    --dropdown_menu_trigger: 768px; /* SPAROVANE S JS -> JEN V PX!*/
}

@media (max-width: 768px) { /* MUSI BYT STEJNE JAKO  --dropdown_menu_trigger */

    header {
        -webkit-transition: all var(--menu_open_time) ease-in-out;
        -moz-transition: all var(--menu_open_time) ease-in-out;
        -o-transition: all var(--menu_open_time) ease-in-out;
        transition: all var(--menu_open_time) ease-in-out;
        transition-delay: background-color var(--menu_open_time);
        /* background: var(--header_bg_full); */
        height: var(--header_mobile_height);
        /* margin-top: 61px; */
        /* padding-block: 20px; */
        padding-bottom: 0px;
        align-items: center;
        padding-top: var(--section_telefon_heigth);;
    }
    header.full_open {
        padding-block: 0px;
        height: var(--header_mobile_height_scroll);
        
    }
    

    


    a.logo {
        padding-top: 0;
        height: fit-content;
    }

    header.full_open a.logo .img {
        /* padding-block: 12px; */
    }

    header a.logo .img {
        padding-block: 0px;
    }

    .menu {
        position: absolute;
        box-sizing: border-box;
        top: var(--header_mobile_height);
        left:0;
        width: 100%;
        overflow: hidden;
        padding: 0;
        padding-inline: 0;
        max-height: 0vw;
        background: var(--header_mobile_open);
        height: fit-content;
        -webkit-transition: all var(--menu_open_time) ease-in-out;
        -moz-transition: all var(--menu_open_time) ease-in-out;
        -o-transition: all var(--menu_open_time) ease-in-out;
        transition: all var(--menu_open_time) ease-in-out;
    }

    header.full_open .menu {
        top: var(--header_mobile_height_scroll);
    }

    
    .menu ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 2vw;
        align-items: flex-end;
        box-shadow: none;


    }

    .menu > ul li a:hover, .menu > ul li > a.actived  {
        text-decoration: none;
        color: var(--textmenuhover);
    }

    .menu > ul > li::before {
        display: none;
    }

    .menu > ul > li {
        display:grid;
        justify-items: end

    }
    .menu ul li.sipka_dolu {
        position: relative;
        display: grid;
        padding-right: calc(min(1.6vw, 2rem) + 20px);
        margin-right: 0;
    }

    .menu ul li.sipka_dolu > a {
        margin:0;
        margin-left: 0;
    }

    .menu ul li.sipka_dolu::after {
        position: absolute;
        top: 27px;
        right: 0px;
        pointer-events: all;
        cursor: pointer;
        
    }

    .menu ul li > ul {
        position: relative; 
        display: none;
        height: 0;
        top:1rem;
        left: 0;
        background-color: transparent;
        transform: none;
        opacity: 0;
        box-shadow: none;
        gap:2rem;
        width: 90%;
        padding-top: 0;
        align-items: flex-end;
    }

    .menu ul li > ul > li{
        justify-content: flex-start;
    }

    .menu ul li > ul > li {
        padding-inline: 0;
        width: 100%
    }
    .menu ul li > ul > li > a{
        font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    }

    .menu > ul > li > ul > li > a {
        margin-bottom: 0;
        color: var(--textmenu);
        text-align: left;
        font-size: .9rem;
        padding-bottom: .4rem;
        padding-left: .5rem;
        border-bottom: 1px solid white;
        width:100%;

        /* -- */
        grid-template-rows: auto;
        grid-column: 1;
        grid-row: 1;
        grid-template-columns: auto 80px;
        justify-content: space-between;
    }
    .menu > ul > li > ul > li > a::before {
        grid-column: 2;
        grid-row: 1;
        aspect-ratio: 2/1;
        opacity: 100% !important;
        /* background-color: #4d5d65 !important; */
    }

    .menu > ul > li > a {
        text-align: right;
        border-radius: .4rem 0 0 .4rem;
        box-shadow: -10px 5px 30px #0000002a; 


    }


    section.telefon p.addr {
        display: none;
    }

    section.telefon div.wrap_width {
        justify-content: flex-end;
    }

    .menu_open {
        display: block;
        position: absolute;
        top: 23px;
        right: min(5.2vw, 104px);
        height: 25px;
        width: 28.8px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 20;
        transition: all .3s ease-in-out;
    }

    header.full_open .menu_open {
        top: 23px;
    }

    .menu_open div{
        box-sizing: border-box;
        width: 100%;
        border-bottom: var(--menu_open_bg) solid clamp(1px,.8vw, 3px);
        transition: all .4s;


    }

    header.podstranka .menu_open div{
        border-bottom: white solid clamp(1px,.8vw, 3px);
        outline: 1px solid rgb(141, 141, 141);
        transition: all .4s;
        

    }

    header.full .menu_open div, header.full_open .menu_open div{
        border-bottom: var(--menu_open_bg) solid clamp(1px,.8vw, 3px);
        outline: 0px solid rgb(141, 141, 141);
        transition: all .4s;
        

    }


    
    @keyframes rot {
        from {transform: rotate(0deg)}
        to {transform: rotate(360deg)}
    }

    @keyframes caraFadeOff {
        from {width: 100%}
        to {width: 0}

    }

    @keyframes caraFadeIn {
        from {width: 0}
        to {width: 100%}

    }

    .carRot {
        animation-name: rot;
        animation-duration: 1.4s;
    }



    .menu.visible {
        max-height: calc(100vh - var(--header_mobile_height) - 45px);
        overflow-y: auto;
        padding-bottom: 3rem;
        padding-top: min(3.2rem, 3vw);
    }

    .menu ul li > ul.visible {
        display: flex !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 100 !important;
        margin-bottom: 20px;
        
    }

    /* nastaveni menu stranky*/
    .menu ul li > ul.visible {
        gap:0;
    }

    .menu > ul > li > ul > li > a {
        padding-block: 15px;
        border-bottom: 1px solid #D9D9D9;
        align-items: center;
        flex-direction: row
    }
    .menu > ul > li > ul > li:first-of-type > a {
        border-top: 1px solid #D9D9D9;
    }

    .menu > ul > li > ul > li:last-of-type > a {
        margin-bottom: 35px
    }


    .menu {
        padding-inline: var(--padding)
    }

    .menu > ul {
        gap: 0;

    }

    .menu > ul > li {
        width: 100%;
        border-bottom: 1px solid white;
        height: fit-content;    

    }

    .menu ul li.sipka_dolu a:not([href]), .menu ul li.sipka_dolu a[href=""] {
        pointer-events: none;
    
    }

    .menu > ul > li > a {
        text-align: left;
        /* width: 100%; */
        box-shadow: none;
        background: transparent;
        text-decoration: none !important;
        padding-block: 1rem;
        border-radius: 0;
        display: flex;
        /* color: white; */
        justify-content: flex-end;
    }
    /* .menu > ul > li > a::after {
        content: '';
        background-image: url('../img/ikona_cta_21x17.svg');
        background-repeat: no-repeat;
        height: 1em;
        aspect-ratio: 4/3;
        transition: all .3s ease-in-out;
    } */


    .menu > ul > li > a.actived::before {
        display: none;
    }

    header a.logo .img.full {
        display: block;
    }

    




    /* --- */

    section.tit {
        /* min-height: clamp(744px, 80vh, 804px); */
        height: fit-content;
        min-height: clamp(max(750px ,920px + (100vw - 670px)), 100vh, max(850px, 930px + (100vw - 720px)));
        aspect-ratio: 4/3;
        padding-top: var(--header_mobile_height);
    }

    section.tit > img {
        display: none;
        visibility: hidden;
        opacity: 0;
    }

    section.tit > img.tablet, section.tit > img.mobile {
        display: block;
        visibility: visible;
        opacity: 1;
        object-position: bottom center;
        object-fit: cover;
        width: 100%;
    }




    section.tit .btn {
        /* margin: auto; */
    }

    section.tit > div.obsah {
        /* justify-content: flex-start; */
        /* margin-top: 80px; */
        padding-top: 0;
        margin-block: auto;
        /* align-items: center; */

        /* padding-top: 170px; */

        /* padding-top: calc(50px + var(--padding)); */
        align-items: center;
        justify-content: flex-start;

        height: auto;
    }

    section.tit:not(.podstrana) > div.obsah {
        min-height: calc(clamp(max(750px ,920px + (100vw - 670px)), 100vh, max(850px, 930px + (100vw - 720px))) * .75);
    }

    section.tit:not(.podstrana) > div.obsah::before {
        background-position: bottom;
        right: 46%;
        transform: translateX(50%);
        z-index: -1;
        width: clamp(240px, 44vw, 320px);
    }

    section.tit:not(.podstrana) > div.obsah::after {
        bottom: 1%;
        right: calc(33% - 100px);
    }


    section.tit.podstrana > div.obsah::after {
        display: none;
    }
    section.tit h1 {
        margin-top: 25px;
        text-align: center;
    }

    section.tit p {
        text-align: center;
    }

        section.tit div.buttons {
            grid-template-columns: auto auto;
            margin-top: 10px;
        }
    
        section.tit div.buttons .btn {
            margin-top: 0px;
        }




    /* ----- */




    header a.tel {
        display: none;
    }


    section.text_pozadi:first-of-type {
        margin-top: 0px;
    }

    section.text_pozadi:not(:last-of-type) {
        margin-bottom: 50px;
    }


    main.kontakt {

        padding-top: 150px;
    }


    section.tit.podstrana {
    }

    section.tit.podstrana > div.obsah h1 {
    }



    main {
        padding: 40px var(--padding) 100px var(--padding);
    }
    
    .menu ul li > ul > li > a::after {
        display: none;
    }

    .menu ul li > ul > li > a.actived,
    .menu ul li > ul > li:hover > a {
        color: var(--textmenu);
    }



}

@media (min-width: 769px) {  /* --dropdown_menu_trigger + 1 px */

    header.full_open a.logo .img,
    header.full_open a.logo {
        height: var(--header_logo_height-full);
    }

    section.tit > a:hover{
        max-width: 450px;
        background-color: white;
    
    }

    header.full_open a.tel {
        padding-top: calc(min(0.6vw, 0.8rem) + 25px);
    }


    .menu > ul > li.sipka_dolu > a::before{
        /* content: ''; */
        width: 32px;
        height: 32px;
        position: absolute;
        top: calc(8px + var(--header_logo_height-full)); 
        transform-origin: center;
        transform: skew(10deg, 0deg) rotate(50deg);    
        left: 50%;
        -webkit-mask-size: cover;
        mask-size: cover;
        background-color: var(--submenu_background);

        visibility: hidden;
        opacity: 0;
        transition:all .2s ease-in-out;
        transition-delay: .5s;
        pointer-events: none;
        

    }

    header.full_open .menu > ul > li.sipka_dolu > a::before {
        top:calc(var(--menu_dropdown_top) - 34px);

    }


    .menu > ul > li.sipka_dolu:hover > a::before {
        opacity: 1;
        visibility: visible;
        transition-delay: .04s;

    }

    header.full_open .menu {
        height: var(--menu_heigth-full);
    }




    
    .menu ul li > ul > li:hover > a::before, .menu ul li > ul > li > a.actived::before {
        background:  var(--menu_dropdown_icon_hover);
        opacity: 100%;
        transform: translateX(4px);
    }
/*
    .menu ul li > ul > li:hover > a.actived::before {
        background:  var(--menu_dropdown_icon);
    }
*/
    .menu ul li > ul > li:hover > a.actived {
        text-decoration: none;
    }
    
    .menu ul li > ul > li:hover > a, .menu ul li > ul > li > a.actived{
        /* text-decoration: underline; */
    }

    .menu ul li > ul > li > a:hover{
        font-weight: normal;
    }
    
    .menu ul li > ul > li:nth-child(odd):not(:first-of-type){
        border-left: 1px solid var(--menu_dropdown_line_color);
        border-right: 1px solid var(--menu_dropdown_line_color);
    }
    .menu ul li > ul > li:first-of-type{
        border-right: 1px solid var(--menu_dropdown_line_color);
    }

    .menu ul li > ul > li:not(:last-of-type),
    .menu ul li > ul > li:not(:nth-last-of-type(2)){
        border-bottom: 1px solid var(--menu_dropdown_line_color);
    }


    .menu > ul > li:last-child {
        padding-right: 0;
    }
}

@media screen and (max-width: 540px) {
    section.tit.podstrana > div.obsah::after {
        bottom: 0%;
        height: 70px;
        
    }
    section.tit.podstrana > div.obsah h1 {
        /*padding-top: 70px;*/
    }

}



@media screen and (max-width: 440px) {
    section.tit h1 {
        font-size: 2rem;
    }

    section.tit p {
        font-size: .9rem;
    }

    section.tit div.buttons .btn {
        padding: 1rem 3rem;
    }
}


/* SUBMENU IKONY */


    
.menu ul li > ul > li > a::before,
section.grid > a.sluzba::before,
section.flex.nabizime > a.sluzba::before {
    content: '';
    width: 25px;
    height: 25px;
    position: relative;
    -webkit-mask-size: contain;
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;


    background-color:  var(--menu_dropdown_icon);

    transition: all .3s ease-in-out; 


}

section.grid > a.sluzba::before,
section.flex.nabizime > a.sluzba::before {
    position: absolute;
    top:0;
    right: 0;
    width: 23px;
    height: 23px;
    background-color:  white;
    z-index: 1;
    transform: translateX(-75%) translateY(70%);
}


.menu ul li > ul > li > a::before,
section.grid > a.sluzba::before,
section.flex.nabizime > a.sluzba::before{
    opacity: 100%;
    mask-image: url('');
    -webkit-mask-image: url('');
}



/* --- */





.preload, .preload * {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    z-index: -1;
}


.preload .logo .img {
    background: var(--logo_hover);
}

.captcha {
    width: 240px;
}


.mt1 {
    margin-top: 1rem;
}
.mt2 {
    margin-top: 2rem;
}


footer p.for_cookies {
    position: absolute;
    right: 0;
    width: fit-content;
    margin-right: var(--padding);
    text-align: right;
    bottom: 0;
    margin-bottom: 10px;
    z-index: 2;
    color: var(--text);
    opacity: 55%;
    font-size: 15px;
}
@media screen and (max-width:690px) {
    footer p.for_cookies {
        position: static;
        grid-column: 1/-1;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 0;
    }
}


/* cookies */




.termsfeed-com---nb .cc-nb-main-container {
    padding: 1.2rem;
    font-weight: var(--w_regular);
}

.termsfeed-com---nb-simple {
    width: 100%;
    max-width: 750px !important;
    box-shadow: 0px -2px 11px -2px rgba(0,0,0,0.64) !important;
}

.termsfeed-com---palette-light .cc-nb-text {
    font-weight: 100;
    font-size: 15px;
}

.termsfeed-com---palette-light .cc-nb-title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.termsfeed-com---palette-light .cc-nb-reject {
    color: #fff;
    background-color: #a8a6a6;
}
.termsfeed-com---palette-light .cc-nb-changep {
    border: 1px solid #c6c6c6;
}

.termsfeed-com---palette-light .cc-nb-okagree {
    background-color: var(--hlavni_barva) !important;
    color: white !important;
    min-width: 90px !important;
    border: 1px solid var(--hlavni_barva);
}

.termsfeed-com---palette-light .cc-nb-okagree:hover,
.termsfeed-com---palette-light .cc-cp-foot-save:hover {
    background-color: var(--druha_hover) !important;
}

.termsfeed-com---palette-light .cc-cp-foot-save {
    background-color: var(--hlavni_barva) !important;
    color: white !important;
    border: 1px solid var(--hlavni_barva);
}
.termsfeed-com---palette-light .cc-pc-head-title-headline {
   display: none;
}
.termsfeed-com---palette-light .cc-pc-head-close:active, .termsfeed-com---palette-light .cc-pc-head-close:focus {
    border: none !important;
}
.termsfeed-com---pc-dialog .cc-cp-body-content-entry-text {
    font-size: 15px;
    line-height: 1.4;
}
.termsfeed-com---pc-overlay {
    overflow-y: scroll;
}

.cc-custom-checkbox input {
    width: inherit;
}

.termsfeed-com---palette-light .cc-pc-head-lang select {
    font-size: 16px;
    padding-left: 2rem;
}
.termsfeed-com---palette-light .cc-pc-head-lang select option {
    font-size: 15px;
}
.termsfeed-com---palette-light .cc-pc-head-close {
    font-size: 1.2rem;
}


@media (max-width: 320px), (max-height: 480px) {
.termsfeed-com---nb-simple {
    height: auto;
}
   
}

@media (max-width: 768px){
    .termsfeed-com---nb-simple {
        width: 100%;
        max-width: unset !important;
    }
    .termsfeed-com---nb .cc-nb-main-container {
        padding: 1.5rem;
    }

}

@media (max-width: 480px) {

    .termsfeed-com---nb .cc-nb-okagree, .termsfeed-com---nb .cc-nb-reject, .termsfeed-com---nb .cc-nb-changep {
        display: block;
        width: 100%;
        max-width: 240px;
    }
    
    .termsfeed-com---nb .cc-nb-buttons-container .cc-nb-okagree {
        margin-bottom: 1rem !important;
    }
}


@media (max-width: 320px) {

.termsfeed-com---nb-simple {
    overflow: auto;
    max-width: 100%;
}

}


/*cookies*/
