
@font-face {
font-family:"ligth";
src:url("../fonts/SinkinSans-300Light.otf");
}

@font-face {
font-family:"regular";
src:url("../fonts/SinkinSans-400Regular.otf");
}

@font-face {
font-family:"medium";
src:url("../fonts/SinkinSans-500Medium.otf");
}


@font-face {
font-family:"semibold";
src:url("../fonts/SinkinSans-600SemiBold.otf");
}

* {

    font-family: var(--font-regular);

    --font-ligth: "ligth", serif;
    --font-regular: "regular", serif;
    --font-medium: "medium", serif;
    --font-semibold: "semibold", serif;


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



    font-weight: var(--w_regular);
*/

    font-weight: normal;


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

    --body_c: #FFFFFF top/contain repeat;
    --main_c: transparent;

    --logo: url("../img/logo-veleslavinova.svg") left/contain no-repeat;
    --logo_hover: url("../img/logo-veleslavinova.svg") left/contain no-repeat;

    --logo_pata: url("../img/logo-veleslavinova.svg") left/contain no-repeat;
    --logo_pata_hover: url("../img/logo-veleslavinova.svg") left/contain no-repeat;



    --padding: min(8vw,140px);
    --min_width_small: min(100%, 1230px);
    --min_width: min(100%, 1390px);
    --min_width-padd: calc( min(100%, 1390px  + 2*var(--padding)));
    --min_width_mid: min(100%, 1494px);
    

    --web_max_w: 2000px;
    --header_logo_height: clamp(55px, 5vw, 89px);
    --header_logo_height-full: clamp(40px, 4vw, 72px);
    --header_mobile_height: 60px;
    --header_mobile_height_scroll: 60px;

    --header_logo_height-pata: clamp(70px, 5.5vw, 105px);


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

    --header_padding_block: 18px;
    --header_padding_block-scroll: 8px;


    --padd_under_header: calc(var(--header_logo_height) + (var(--header_padding_block) * 2));
    --padd_under_header-full: calc(var(--header_logo_height-full) + (var(--header_padding_block-scroll) * 2));
    

    --hlavni_barva: #ADE174;
    --druha_barva: #ADE174;
    --druha_hover: #1C4800;

    --nadpisy:rgba(65, 65, 64, 0.85);
    --text: rgba(65, 65, 64, 0.85);
    --subtext: #333333;
    --a_color: #58BFE3;
    --marker: #6C7F5B;
    --light: #7B7B7B;

    --c1: rgba(65, 65, 64, 0.85);
    --c2: rgba(65, 65, 64, 0.85);


    --textmenu: #161615;
    --textmenu-full: #161615;
    --textmenuhover: #ADE174;
    --textsubmenu: #161615;
    --textsubmenuhover: #161615;

    --textmenu-underline: transparent;


    --submenu_background: #6C7F5B;
    --submenu_background-hover: #97A87D;

    --sub-submenu_background: #6C7F5B;
    --sub-submenu_background-hover: #97A87D;


    --submenu_background-btn: #161615;


    --menu_font-size: clamp(.8rem, 1.5vw, 1rem);
    --menu_mobile_font-size: 1rem;

    --menu_font-family: var(--font-ligth);



    --menu_open_bg: var(--hlavni_barva);
    --tit_h1: rgba(255, 255, 255, 0.85);
    --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: rgba(255, 255, 255, 0.95);
    --header_bg_full: rgba(255, 255, 255, 0.95);
    --header_mobile_open: #ffffff;

    



    --text_footer: #6F8EB2;
    

    --menu_open_time: .4s;
    --menu_bg: #d9ab02;
    --foot_bg: white;


    --meho_c: inherit;

}

@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: clamp(120px, 16vw, 250px);
    scroll-behavior: smooth;
    background: white;
    /* overflow-x: hidden; */
}
.justify {
    text-align: justify;
}


a:link {
    text-decoration: unset;
}

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



header {
    z-index: 100;
    box-sizing: border-box;
    height: fit-content;
    top:0px;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    width: var(--min_width);
    max-width: var(--web_max_w);
    display: flex;
    flex-direction: row;
    padding-inline: clamp(25px, 2.5vw, 40px);
    padding-block: var(--header_padding_block);
    user-select: none;
    background: var(--header_bg);
    /* backdrop-filter: blur(8px) brightness(1.8); */
    /* -webkit-backdrop-filter: blur(8px) brightness(1.8); */

    justify-content: flex-end;
    transition: all .3s ease-in-out;

}

header.full_open {
    background: var(--header_bg_full);
    position: fixed;
    margin-top: 0px;
    backdrop-filter: blur(4px) brightness(1.2);
    -webkit-backdrop-filter: blur(4px) brightness(1.2);
    padding-block: var(--header_padding_block-scroll);

}


header.open {
    background: var(--header_mobile_open) !important;
    opacity: 100%;
    transition-delay: 0s;
    transition-duration: 0s;
    border-radius: 0px;
}

header a.logo {
    margin-right: auto;
}

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 {
    height: var(--header_logo_height-pata);
    margin-inline: auto;
}

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 {
    height: var(--header_logo_height-pata);
    background: var(--logo_pata);
}

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

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

header.full_open .socky a.soc {
    width: clamp(17px, 1.3vw, 20px);
    height: clamp(17px, 1.3vw, 20px);
}

/* Menu */

.menu_open {
    display: none;
}

/* menu v liště */
.menu { 
    position: relative;
    height: var(--menu_heigth);
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: clamp(5px, 1vw,15px);

    user-select: none;
    padding-inline: 0px;
    transition: all .3s ease-in-out;
}

header.full_open .menu {
    gap: 5px;
}


.menu > ul { 
    height:auto; 
    margin:0; 
    padding:0; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2.2vw, 35px);
    width: var(--min_width);
}

.menu > ul > .sipka_dolu > .show_menu {
    display: none;
}

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

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


header.full_open .menu > ul > li > a:not(.active, :hover) {
    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: 10px;
    align-items: center;
}

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

}

.menu > ul > li.sipka_dolu::after,
.menu ul li > ul li > button.show_menu::before
 {
    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-origin: center 75%;
    transform: translateY(-3px) translateX(2px) rotate(-45deg);
    transition: all .2s ease-in-out;
    pointer-events: none;
}

.menu > ul > li.sipka_dolu:hover::after,
.menu ul li > ul li > button.show_menu.open::before {
    transform: translateY(-3px) translateX(-2px) rotate(135deg);
}


@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: var(--menu_font-size);
    font-family: var(--menu_font-family);
    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;


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

    position: relative;
    align-items: center;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0px;

}


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


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

    text-decoration-color: var(--textmenu-underline);
    text-underline-offset: 15px;
}




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

}

/* první submenu */

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

    position: absolute; 
    height: fit-content;
    top: 140%; 
    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 ;

    max-height: 80vh;
    overflow-x: visible;
    overflow-y: auto;
}


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

.menu ul li > ul li{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;

    position: relative;
    cursor:pointer;

    color: var(--textsubmenu);
}


.menu ul li > ul li:not(:last-of-type){
    border-bottom: 0.5px solid #EFEFEF;
}

.menu ul li > ul li ul {
    max-height: 0px;
    overflow-y: auto;
    transition: all .3s ease-in-out;
}

.menu ul li > ul li ul.open {
    max-height: 500px;
}

.menu ul li > ul li li {
    background: var(--sub-submenu_background);
}

.menu ul li > ul li > a {
    grid-column: 1;
    grid-row: 1;
}

.menu ul li > ul li > button.show_menu {
    grid-column: 2;
    grid-row: 1;

    
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0px transparent;
    cursor: pointer;
    padding: 11px 18px;
    transition: all .3s ease-in-out;
}

.menu ul li > ul li > button.show_menu {
    margin: 13px 17px 13px 0px;
    background: transparent;
    border-radius: 5px;
    transition: all .3s ease-in-out;
}


.menu ul li > ul li > button.show_menu:hover,
.menu ul li > ul li:has(a.active) > button.show_menu  {
    background: var(--text);
}




.menu ul li > ul li > ul {
    grid-column: 1/-1;
    grid-row: 2;
    padding: 0px;
}


.menu ul li.sipka_dolu > ul > li.sipka_dolu {
    flex-direction: column;
}



.menu ul li > ul li a {
    font-size: var(--menu_font-size);
    font-family: var(--menu_font-family);

    /* text-align: center; */
    text-transform: none;
    white-space: nowrap;
    position: relative;
    transition-delay: 0s;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    flex-direction: row;
    align-items: center;
    padding: 13px 17px;
    gap: 40px;
    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:hover,
.menu ul li > ul li a.active {
    /* color:var(--textsubmenuhover); */
    /* text-decoration-color: var(--textsubmenuhover); */
    background: var(--submenu_background-hover);
}





/* MAIN */

main {
    position: relative;
    background: var(--main_c);
    padding: 100px var(--padding) 100px var(--padding);
    overflow-x: clip;
    z-index: 1;
}

/* main:last-of-type {
    padding-bottom: 140px;
    margin-bottom: -40px;
} */


main.nopad {
    padding: 0px;
}

main.nopad.pb {
    padding: 0 0 clamp(80px, 13vw, 250px) 0;
}

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

header + main.nopad.notop {
    padding-top: 0px;
}


main.white {
    background: white;
}

main.dec {
    position: relative;
}

main.dec::before,
main.dec::after {
    content: '';
    position: absolute;
    aspect-ratio: 3/4;
    height: clamp(120px, 16vw, 256px);
    background: url('../img/doplnek_prava.svg') center/contain no-repeat;
    transform-origin: center;
    z-index: 0;
}

main.dec.l1::before {
    left: 0;
    top: clamp(110px, 20vw, 310px);
    transform: rotate(90deg);
}

main.dec.r1::after {
    right: 0;
    top: calc(.5 * clamp(110px, 20vw, 310px));
    transform: rotate(-90deg);
}

@media screen and (max-width: 1450px) {
    main.dec.r1::after {
        top: -64px;
    }
}

/* BTNS */

.btn {
    width: fit-content;
    background: var(--druha_barva);
    height: fit-content;
    display: flex;
    text-align: center;
    font-size: 1rem;
    font-family: var(--font-medium);
    color: var(--druha_hover);
    padding: .9em 2.3em;
    transition: all .3s ease-in-out;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap:15px;
    border: 1px solid var(--druha_barva);
    border-radius: 28px;
}

.btn:hover,
.btn_wrap:hover .btn {
    border-color: var(--druha_hover);
    background-color: var(--druha_hover);
    color: var(--druha_barva);
}

.btn.inverse {
    border: 2px solid white;
    background-color: white;
    color: var(--druha_barva);
}

.btn.inverse:hover,
.btn_wrap:hover .btn.inverse {
    border: 2px solid white;
    background-color: var(--druha_barva);
    color: white;
}


.btn::after {
    /* content: ''; */
    width: 1em;
    height: 1em;
    display: block;
    mask: url('../img/ikona_sipka.svg') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_sipka.svg') center/contain no-repeat;
    background-color: white;
    transition: all .3s ease-in-out;
}

.btn.nav {
    padding: 1em 1.45em;
}

.btn.nav::after {
    width: 1.5em;
    height: 1.5em;
    mask-image: url('../img/ikona_kontakt_navigovat.svg');
    -webkit-mask-image: url('../img/ikona_kontakt_navigovat.svg');
}

.btn:hover::after,
.btn_wrap:hover .btn::after {
    background-color: var(--druha_barva);
}


.btn.inverse::after {
    background-color: var(--druha_barva);
}

.btn.inverse:hover::after,
.btn_wrap:hover .btn.inverse::after {
    background-color: white;
}






.btn.alone {
    padding: 1.1em;
    transform-origin: center;
    transform: rotate(90deg);
}

.btn.centerr {
    margin-inline: auto;
    width: fit-content;
}








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

}



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

/* uni template*/




/* FORM */

.byty-href {
    opacity: 0;
    transition: all .3s ease-in-out;
}


.byty-href:hover {
    opacity: 1;
}


/* checkbox */

/*

<label for="check" class="souhlas">
    <span></span>
    <input id="check" type="checkbox">
    <div class="checkmark"></div>
</label>

*/

label.souhlas {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    cursor: pointer;
}

/* 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: relative;
height: 25px;
width: 25px;
border-radius: 2px;

background-color: #eee;

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

label.souhlas.v2 .checkmark {
    background-color: transparent;
    margin-right: 10px;

    height: 30px;
    width: 30px;

}

label.souhlas.v2 .checkmark::after,
label.souhlas.v2 .checkmark::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    mask: url('../img/check_on.svg') center/contain no-repeat;
    -webkit-mask: url('../img/check_on.svg') center/contain no-repeat;
    background-color: var(--druha_barva);
    opacity: 0;
    transition: all .2s ease-in-out;

}


label.souhlas.v2 .checkmark::before {
    mask: url('../img/check_off.svg') center/contain no-repeat;
    -webkit-mask: url('../img/check_off.svg') center/contain no-repeat;
    opacity: 1;
}
label.souhlas.v2 .checkmark::after {
    /* transform: translateX(100%) translateY(-110%); */
}



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


label.souhlas.v2:hover input ~ .checkmark {
    background-color: transparent;

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

label.souhlas.v2 input:checked ~ .checkmark {
    background-color: transparent;
}

label.souhlas.v2 input:checked ~ .checkmark::after{
    opacity: 1;
    transform: translateX(0%) translateY(0%);
}

label.souhlas.v2 input:checked ~ .checkmark::before{
    opacity: 0;
}

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

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

/* Style the checkmark/indicator */
label.souhlas:not(.v2) .checkmark:after {
left: 9px;
top: 5px;
width: 5px;
height: 10px;
border: solid #f8f8f8;
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-semibold);
    font-size: clamp(1.7rem, 7vw, 3.8rem);
    text-align: left;
    margin-bottom: 0;
    line-height: 1.35em;

    position: relative;
}

section.tit .btn {
    padding: 1em 2.8em;
    font-size: 1.2rem;
    border-radius: 40px;
}

section.tit p {
    color: var(--tit_h1);

    font-size: clamp(1rem, 3vw, 1.3rem);
    padding: 0;
    margin: 0;
    font-family: var(--font-regular);
    padding-left: 12px;
    text-align: left;
    position: relative;
    margin-bottom: clamp(8px, 4vw, 20px);
        line-height: 1.4em;

}




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, li {
    color: var(--text);
    font-family: var(--font-regular);
    font-size: 1rem;
    line-height: 2em;
}

ul li::marker {
    color: var(--marker);
}

ol li::marker {
    font-family: inherit;
}

:not(.menu) ul {
    padding-left: 1.2em;
}

span {
    color: var(--text);
    font-size: 1.1rem;
}
b, strong { 
    font-family: var(--font-semibold);
    font-size: inherit;
    color: inherit;
}

sup {
    font: inherit;
    color: inherit;
    font-size: .7em;
}

h1 {
    color: var(--nadpisy);
    font-family: var(--font-regular);
    font-size: clamp(2rem, 3.3vw, 3.2rem);
    /* margin: 0 0 clamp(4rem, 7vw, 6rem) 0;   */
    margin: 0 0 10px 0;  
    position: relative;
    line-height: 1.15em;
}
h1 .smaller {
    font: inherit;
    color: inherit;
    font-size: .8em;
    line-height: 1.2em;
    padding-left: 10px;
    font-family: var(--font-ligth);

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

h2 {
    color: var(--nadpisy);
    font-family: var(--font-regular);

    font-size: clamp(1.4rem, 3vw, 2.5rem);

    margin: 0 0 1.2em 0;
}

h2.hlaskova {
    text-align: center;
    padding-block: 60px 70px;
}

h2:not(:first-child) {
    margin-top: 2.5em;
}
h3{
    font-family: var(--font-medium);
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    color: var(--nadpisy);

}
h4{
    font-size: clamp(1rem,1.2vw, 1.4rem);
    color: var(--text);
    margin-top: 40px;
    margin-bottom: 0;
}

h1 span,
h2 span,
h3 span,
h4 span {
    font: inherit;
    color: inherit;
    font-size: .75em;
}


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

.center {
    text-align: center !important;
    margin-inline: auto;
    display: block;
    width: fit-content;
}
.decor {
    position: relative;
}



hr {
    width: 100%;
    border-color: var(--hlavni_barva);
    margin-block: 10px;
    height: 1px;
}



/* rest */


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

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

/* ----- */




/* 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;

    padding-inline: var(--padding);
    aspect-ratio: 16 / 7.7;
    background: var(--main_c);
    min-height: 620px;
    max-height: 1080px;
    transition: all .3s ease-in-out;
    display: flex;

    border: 1px solid #707070;
    
}


section.tit.podstrana {
    aspect-ratio: 2/1;
    min-height: clamp(300px, 70vw, 550px);
    max-height: 775px;
}

section.tit.podstrana.kontaktni {
    z-index: 0;
}


section.tit.podstrana.kontakt h1 {
    display: none;
}

section.tit.podstrana.dekovaci .obsah h1 {
    margin-bottom: clamp(50px, 20vw, 120px);
}


section.tit > video,
section.tit > img.desktop,
section.tit > img.mobile, 
section.tit > img.tablet {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;

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


section.tit > img.mobile, section.tit > img.tablet {
    display: none;
    object-position: top center;
}



section.tit > img.decor {
    position: absolute;
    object-fit: contain;
    height: clamp(120px, 18vw, 286px);
    width: auto;
    transform-origin: center;
}





section.tit.podstrana::after {
    content: '';
    height: 100%;
    width: 54%;
    position: absolute;
    right: 0px;
    top: 0;
    z-index: 0;
    background: url(../img/hlavicka_stopa.png) left center / contain no-repeat;
    background-size: 125%;
    background-position: -5% 34%;
}

section.tit.podstrana::before {
    content: '';
    height: 100%;
    width: max(160px, 22%);
    position: absolute;
    left: 0px;
    top: 0;
    z-index: 0;
    background: url(../img/doplnek_stopy_modra_zahlavi.png) left bottom / contain no-repeat;
}



section.tit.podstrana > img {
    object-position: center 92%;
}
section.tit > div.obsah {
    position: relative;
    width: var(--min_width);
    margin-inline: auto;
    gap: 45px;
    padding-inline: 15px;

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

    padding-top: var(--padd_under_header);
    padding-bottom: 50px;
}

.zadne {
    margin-block: 80px;
}

@media screen and (max-width: 440px) {
    section.tit:not(.podstrana) {
        padding-inline: 0;
    }

    section.tit:not(.podstrana) h1 .smaller {
        padding-left: 0;
    }

    section.tit p {
        padding-left: 0px;
        font-size: .85rem;
    }

    section.tit .btn {
        padding: .75em 1.5em;
        font-size: 1rem;
    }
}

section.tit.podstrana > div.obsah {
    /* align-items: center; */
    justify-content: flex-end;
}

/* custom */

section.foto_text {
    display: grid;
    grid-template-columns: auto clamp(200px, 30vw, 540px);
    grid-template-rows: auto auto 1fr;
    gap: clamp(25px, 3vw, 48px) clamp(70px, 8vw, 120px);
    padding-inline: var(--padding);
    padding-top: clamp(40px, 7vw, 100px);


    width: var(--min_width-padd);
    margin-inline: auto;
}


section.foto_text.rev {
    grid-template-columns: clamp(200px, 30vw, 580px) auto;
    gap: clamp(25px, 3vw, 48px) clamp(70px, 6vw, 130px);
    padding-left: var(--padding);
    /* width: min(100%, calc(1500px + (2 * var(--padding)))); */
    margin-left: auto;
}

section.foto_text img.small {
    width: clamp(80px, 13vw, 230px);
    aspect-ratio: 1/1;
    object-fit: contain;
}

section.foto_text:not(.projekt) img.small {
    margin-top: auto;

}

section.foto_text img.big {
    width: 100%;
    object-fit: contain;
    grid-row: span 3;
}

section.foto_text iframe {
    grid-row: span 2;
    width: 100%;
    height: 100%;
    min-height: 400px;
    aspect-ratio: 4/3;

}

section.foto_text img.big.cover {
    object-fit: cover;
    height: 100%;
}

section.foto_text p {
    margin: 0;
}

section.foto_text p.blok_strong strong {
    display: inline-block;
    padding-bottom: 5px;
}

section.foto_text p.max {
    width: min(100%, (950px + var(--padding)));
    /* padding-left: calc(2.2 * var(--padding)); */
    grid-column: 1/-1;
}

section.foto_text p.pb {
    padding-bottom: 2rem;
}

section.foto_text.rev img.big {
    grid-row: span 3;
}

section.foto_text h2 {
    padding-left: var(--padding);

    height: fit-content;
    line-height: 1.5em;
    margin-bottom: 0px;
    color: var(--text);
}

section.foto_text .blok-uvod {
    grid-column: 1/-1;
    width: 100%;
    display: flex;
    flex-direction: column;
    width: var(--min_width);
    margin-inline: auto;
}

section.foto_text h2,
section.foto_text h3 {
    padding: 0;
}

section.foto_text h3 {
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
    font-family: var(--font-regular);
    line-height: 1.5em;
}

section.foto_text h2.np {
    padding: 0px;
    margin-left: 0;
}

section.foto_text h2.bp {
    padding-bottom: 20px;
}

section.foto_text li {
    padding-bottom: 6px;
}
section.foto_text ul {
    margin-block: 0;
}

section.foto_text .pt40 {
    padding-top: 30px;
}

section.foto_text .pb40 { 
    padding-bottom: 30px;
}

section.foto_text .size-20 {
    font-size: clamp(1.1rem, 1.4vw, 1.2rem);
}


section.foto_text.rev h2 {
    padding: 0px;
    margin: 0;
}


section.foto_text.posledni {
    margin-bottom: clamp(120px, 8vw, 140px);
}

section.foto_text.mobile-block img.big,
section.foto_text.mobile-block .video-blok {
    grid-row: 2 / 5;
    aspect-ratio: 16/9;
}

section.foto_text.mobile-block iframe  {
    grid-row: 3 / 5;
}

.vjs-afterglow-skin .vjs-big-play-button:before {
    content: url('../img/ikona_play.svg') !important;
    transform-origin: center;
    transform: scale(1.2);
}

section.foto_text.mobile-block.projekt img.small {
    grid-column: 2;
    grid-row: 1;
}

section.foto_text.mobile-block.lokalita h2.max,
section.foto_text.mobile-block.lokalita p.max {
    grid-column: 1/-1;
    width: 100%;
    /* padding-left: calc(2.2 * var(--padding)); */
}

section.foto_text.mobile-block.lokalita p.max {
    margin-bottom: 60px;
}

@media screen and (max-width: 1280px) {
    section.foto_text img.big,
    section.foto_text p,
    section.foto_text .btn {
        grid-column: 1/-1;

    }

    section.foto_text p,
    section.foto_text .btn,
    section.foto_text ul,
    section.foto_text h2.np {
        /* margin-left: var(--padding); */
    }

    section.foto_text img.big {
        grid-row: 4;
    }

    section.foto_text h1.symbol {
        gap: 15px;
    }

    section.foto_text {
        grid-template-columns: 1fr auto;
    }

    section.foto_text.rev h2,
    section.foto_text .text {
        grid-column: 1/-1;
    }

    section.foto_text.rev p, section.foto_text.rev .btn, section.foto_text.rev ul{
        margin: 0;
    }


    section.foto_text.projekt p {
        grid-row: unset;
        grid-column: unset;

    }

    section.foto_text.last-img-mobile img.big,
    section.foto_text.last-img-mobile iframe,
    section.foto_text.mobile-block img.big,
    section.foto_text.mobile-block .video-blok {
        grid-row: 4;
    }


    section.foto_text.mobile-block.lokalita h2.max, section.foto_text.mobile-block.lokalita p.max {
        padding: 0;
        /* margin-left: var(--padding); */
        width: unset;
    }
    section.foto_text.mobile-block iframe {
        grid-row: 5;
    }

}


@media screen and (max-width: 920px) {
    section.foto_text h2,
    section.foto_text.rev h2 {
        margin-top: clamp(30px, 9vw, 85px);
    }
}

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

    section.foto_text img.small {
        margin-left: var(--padding);
    }
    section.foto_text img.big,
    section.foto_text.mobile-block img.big,
    section.foto_text.mobile-block .video-blok {
        grid-row: 5;
    }

    section.foto_text.rev img.big {
        grid-row: 4;
    }

    section.foto_text.projekt img.small {
        grid-row: 1;
    }

    section.foto_text.mobile-block {
        display: block;
    }

    section.foto_text.mobile-block img.small {
        float: right;
        margin: 0 0 15px 15px;
        width: 100px;
    }

    section.foto_text.mobile-block p,
    section.foto_text.mobile-block .btn {
        margin-bottom: 20px;
    }

    
}

section.claim {
    width: 100%;
    padding: clamp(30px, 4vw, 70px) var(--padding);
    background-color: #C9BDB1;
}

section.claim h1 {
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    font-style: italic;
    color: var(--c2);
    text-align: center;
    width: 100%;
}

section.foto_bot {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;

}


section.foto_bot img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4;
}

@media screen and (max-width: 600px) {
    section.foto_bot {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin-top: 5px;

    }
}


/* seznam bytů */

section.interaktivni_wrap {
    position: relative;
}

section.interaktivni_wrap img.interaktivni_image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    display: block;
    z-index: 1;

}

section.interaktivni_wrap .zvolte_wrap {
    position: absolute;
    top: calc(clamp(15px, 3vw, 40px) + var(--padd_under_header));
    left: 0;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 4;
    gap: 15px;
}

section.interaktivni_wrap .zvolte_wrap h1 {
    margin: 0px;
    color: var(--tit_h1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

section.interaktivni_wrap .zvolte_wrap .zvolte {
    background: url('../img/zvolte_byt.png') center/contain no-repeat;
    display: block;
    width: auto;
    height: 40px;
    aspect-ratio: 4/1;

    animation: pulse .9s 2;
}



section.interaktivni_wrap .svg_wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    top:0;
    left: 0px;
    
    z-index: 2;
}

@keyframes blick {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

section.interaktivni_wrap .svg_wrap .byt_wrap {
    opacity: 0;
    transition: all .3s ease-in-out;
}

section.interaktivni_wrap .svg_wrap .byt_wrap.anim {
    animation: blick .9s 2;

}

section.interaktivni_wrap .svg_wrap a {
    display: block;
    text-decoration: none;
}

section.interaktivni_wrap .svg_wrap .byt_wrap:hover {
    opacity: 1;
}

section.interaktivni_wrap .svg_wrap .st1 {
    fill: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}



@media screen and (max-width: 1200px) {
    section.interaktivni_wrap .zvolte_wrap {
        top: calc(28px + var(--padd_under_header));
        gap: 10px;
        
    }

    section.interaktivni_wrap .zvolte_wrap .zvolte {
        height: 30px;
    }
}

@media screen and (max-width: 950px) {
    section.interaktivni_wrap {
        top: var(--padd_under_header);
    }
    section.interaktivni_wrap .zvolte_wrap {
        top: 40px;
    }

    section.interaktivni_wrap .zvolte_wrap .zvolte {
        height: 30px;
    }
}

@media screen and (max-width: 620px) {
    section.interaktivni_wrap {
        top: var(--padd_under_header);
    }
    section.interaktivni_wrap .zvolte_wrap {
        top: 20px;
    }

    section.interaktivni_wrap .zvolte_wrap .zvolte {
        height: 25px;
    }
}

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

    section.interaktivni_wrap .zvolte_wrap {
        top: 15px;
        gap: 5px;
    }

    section.interaktivni_wrap {
        overflow: hidden;
    }

    section.interaktivni_wrap .svg_wrap,
    section.interaktivni_wrap .interaktivni_image {
        transform-origin: top;
        transform: scale(1.3);
    }

    section.interaktivni_wrap .interaktivni_image {
        padding-bottom: 50px;
    }
}




section.byty_list {
    display: flex;
    flex-direction: column;
    gap: clamp(70px, 6vw, 120px);
    width: 100%;
    padding: 110px var(--padding);
    margin-inline: auto;
}


section.byty_list .table_scroll {
    max-width: 933px;
    width: 100%;
}


section.wrap_map {
    display: grid;
    grid-template-columns: 2fr 1fr;
    width: 100%;
    gap: clamp(50px, 7.5vw, 120px);
}

section.byty_list .tabulka-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;
}

section.byty_list .tabulka-wrap h1 {
    color: var(--nadpisy);
}

section.byty_list .tabulka-wrap.garaz img {
    width: min(450px, 100%);
}

section.byty_list table {
    border-collapse: collapse;
    width: 100%;
}

section.byty_list table thead {
    background: var(--c1);
}


section.byty_list table th,
section.byty_list table td {
    padding: 1.65em 1.1em;
}

section.byty_list table th,
section.byty_list table td,
section.byty_list table td span,
section.byty_list table th span {
    font-size: 1rem;
    font-family: var(--font-regular);
    color: var(--c1);
    
    text-align: center;
    white-space: nowrap;
}

section.byty_list table .mobile {
    display: none;
}

section.byty_list .garaz table .garage_no {
    display: none;
}

section.byty_list table th:first-of-type,
section.byty_list table td:first-of-type {
    text-align: left;
} 

section.byty_list table td {
    border-bottom: 1px solid #D9D9D9;
}

section.byty_list table th,
section.byty_list table th span {
    color: #C5C5C5;
}

section.byty_list .btn {
    padding: .5rem 2rem;
    width: 100%;
    text-align: center;
    justify-content: center;
}

section.byty_list .btn.grey {
    background: var(--c2);
    color: white;
    border-color: var(--c2);
}

section.byty_list .btn.grey:hover {
    background: rgb(245, 245, 245);
    color: var(--c2);

}

section.byty_list td sup {
    font: inherit;
    color: inherit;
    font-size: .7em;
}

section.byty_list .cena {
    text-align: right;
    white-space: nowrap;

}

section.byty_list td:last-of-type {
    width: 1%;
    white-space: nowrap;
}

@media screen and (max-width: 995px) {
    section.byty_list .tabulka-wrap {
        flex-direction: column;
        gap: 10px;
    }

    section.byty_list {
        gap: 120px;
    }
}

@media screen and (max-width: 870px) {
    section.byty_list table .mobile {
        display: block;
    }
    section.byty_list table th,
    section.byty_list table td {
        padding-block: 14px;
    }
    
    section.byty_list table th .mobile {
        line-height: 1.5em;
    }

    section.byty_list table .desktop,
    section.byty_list table .desktop_only {
        display: none;
    }

    section.byty_list table th:first-of-type, section.byty_list table td:first-of-type {
        text-align: center;
    }

    section.byty_list table .m-pad-b {
        padding-bottom: 11px;
        padding-top: 14px;
        display: block;
    }

    section.byty_list .garaz td:last-of-type {
        width: 50%;
    }
    
}


@media screen and (max-width: 480px) {
    section.byty_list {
        padding-inline: 8px;
    }

    section.byty_list table th,
    section.byty_list table td {
        padding-inline: 10px;
    }

    section.byty_list .btn {
        padding-inline: 1.45rem;
    }
}

@media screen and (max-width: 390px) {
    section.byty_list table th, 
    section.byty_list table td, 
    section.byty_list table td span, 
    section.byty_list table th span,
    section.byty_list .btn {
        font-size: .9rem;
    }
    section.byty_list .btn {
        padding-inline: 1rem;
    }
    section.byty_list table th, section.byty_list table td {
        padding-inline: 5px;
    }
}


/* interaktivni */

section.byty_list table tr:not(:has(th)):hover,
section.byty_list table tr:not(:has(th)).active {
    background: #F8F8F8;
}

.st10,
section.byty_list table tr:not(:has(th)) {
    transition: all .3s ease-in-out;
}

.st10 {
    fill: var(--druha_barva);
}

.byty_pudorys {
    margin-top: 100px;
}

.st10:not(.active) {
    fill: transparent;
}


@media screen and (max-width: 1280px) {
    section.wrap_map {
        gap: 20px;
    }
}

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

    .byty_pudorys {
        width: min(100%, 400px);
        margin-top: 40px;

    }
}

/* Detail byty */

.detail_bytu section.top_header {
    width: 100%;
    position: relative;
    height: clamp(500px, 50vw, 560px);
}

.detail_bytu section.top_header img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.detail_bytu section.top_header .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    gap:10px;
}

.detail_bytu section.top_header .text span {
    color: #FFFFFF;
    font-family: var(--font-semibold);
    font-size: 1rem;
}


.detail_bytu section.top_header .text h1 {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-semibold);
}


.detail_bytu section.boxy_flex {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: clamp(30px, 3vw, 57px);
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * clamp(20px, 2.5vw, 35px));

}

.detail_bytu section.boxy_flex .detail-blok {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 16px 40px #0000001A;
    width: min(100%, 420px);
    padding: clamp(20px, 2.5vw, 35px) clamp(35px, 5vw, 80px);
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}


.detail_bytu section.boxy_flex .detail-blok .flex   {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.detail_bytu section.boxy_flex .detail-blok span {
    font-family: var(--font-semibold);
    color: var(--c1);
}

.detail_bytu section.boxy_flex .detail-blok > span {
    text-align: center;
}

.detail_bytu section.boxy_flex .detail-blok .stav {
    margin-left: 10px;

}

.detail_bytu section.boxy_flex .detail-blok .stav.zamek {
    color: #C5C5C5;
    gap: 5px;
    align-items: baseline;
}

.detail_bytu section.boxy_flex .detail-blok .btn {
    width: 100%;
    justify-content: center;
}

.detail_bytu section.boxy_flex .detail-blok .btn.grey {
    background: #C5C5C5;
    color: var(--c1);
    border-color: #C5C5C5;
}


section.table_foto_wrap {
    width: min(100%, calc(1250px + (2 * var(--padding))));
    margin-inline: auto;
    padding-inline: var(--padding);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: clamp(60px, 6vw, 110px);
    gap: 30px;

}

section.table_foto_wrap .detail-tabulka {
    width: min(540px, 100%);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

section.table_foto_wrap .detail-tabulka .pud_wrap_2 {
    margin-top: auto;
    width: min(280px, 100%);
    margin-left: 30px;
}

section.table_foto_wrap .detail-tabulka .btn {
    margin-left: 30px;
}


section.table_foto_wrap .detail-tabulka span {
    padding-inline: 30px;
    display: block;
    margin-bottom: clamp(25px, 2.5vw, 42px);
    color: var(--c1);

}

section.table_foto_wrap .detail-tabulka table {
    width: 100%;
    border-collapse: collapse;
}

section.table_foto_wrap .detail-tabulka table tr:not(:last-of-type) {
    border-bottom: .8px solid #D9D9D9;
}

section.table_foto_wrap .detail-tabulka table tr:not(:last-of-type) {
    margin-inline: 20px;
}


section.table_foto_wrap .detail-tabulka table td {
    padding: 16px 7px;

    color: var(--c1);
}

section.table_foto_wrap .detail-tabulka table tr td:nth-of-type(2) {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}


section.table_foto_wrap .detail-tabulka table.table-in-table > tbody > tr > td {
    padding-inline: 37px;
}

section.table_foto_wrap .detail-tabulka table.table-in-table > tbody > tr:first-of-type > td {
    padding: 0px 30px;
}



section.table_foto_wrap .pud_wrap {
    width: fit-content;
    display: flex;
    justify-content: flex-end;
    width: min(550px, 100%);

}

section.table_foto_wrap img {
    object-fit: contain;
    width: 100%;

}



.detail_bytu .line-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: clamp(40px, 5.5vw, 100px);
}


.detail_bytu .line-gallery a {
    width: 100%;
    aspect-ratio: 4/3;
    display: block;
}

.detail_bytu .line-gallery a img {
    display: block;
    
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail_bytu .schema_wrap {
    width: min(100%, calc(1250px + (2 * var(--padding))));
    margin-inline: auto;
    padding-inline: var(--padding);

    padding-top: clamp(45px, 5vw, 90px);
}

.detail_bytu .schema_wrap img {
    width: 100%;
    object-fit: contain;
}

.detail_bytu img.kulata_garaz {
    width: min(100%, 400px);
}

section.zajem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(45px, 5vw, 100px) clamp(30px, 4.2vw, 75px);
    width: var(--min_width-padd);
    padding-inline: var(--padding);
    margin-inline: auto;

    margin-top: clamp(50px, 7vw, 120px);
}

section.zajem h2 {
    grid-column: 1/-1;
    line-height: 1.5em;
}

.linka {
    position: relative;
    padding-bottom: 25px;
    color: var(--c2);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    margin-bottom: 0px;
}

.linka::before {
    content: '';
    width: min(80%, 75px);
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: var(--hlavni_barva);
}

.linka.stred {
    text-align: center;
}

.linka.stred::before {
    left: 50%;
    transform: translateX(-50%);
}

.linka-vertikal {
    position: relative;
}

.linka-vertikal::before {
    content: '';
    width: 3px;
    height: 100%;
    background: var(--hlavni_barva);
    position: absolute;
    top: 0;
    left: 0;
}


#formik .kontaktujte_wrap {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#formik .kontaktujte {
    display: flex;
    flex-direction: column;
    position: relative;
    background: url('../img/foto_kontaktujte-nas.webp') center/cover no-repeat;
    padding: clamp(45px, 6.5vw, 110px);
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 20px;
}

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

    #formik .kontaktujte {
        padding-inline: 12px;
    }

    #formik .kontaktujte .formik-mail {
        font-size: .85rem;
    }
}




#formik .kontaktujte a,
#formik .kontaktujte p,
#formik .kontaktujte span {
    font-family: var(--font-regular);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    white-space: nowrap;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
}

#formik .kontaktujte p {
    font-size: clamp(1rem, 1.35vw, 1.35rem);
    
}

#formik .kontaktujte img.logo_kontakt {
    width: min(100%, 220px);
    object-fit: contain;
    margin-top: auto;
}

#formik h3 {
    color: var(--c2);
    text-align: center;
}





/* novinky detail */

section.novinky_detail {
    width: 100%;
    padding-inline: var(--padding);
    margin-bottom: clamp(80px, 13vw, 213px);
    margin-top: 40px;
}

section.novinky_detail .top_head.news {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
    margin-block: 0px -120px;
    z-index: 2;

    align-items: start;
}

section.novinky_detail .top_head.news .flex {
    margin-top: clamp(80px, 6.5vw, 110px);
    padding-bottom: 130px;
}

section.novinky_detail .top_head.news h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.8rem);
    text-align: left;
    line-height: 1.45em;
    width: min(100%, 450px);
}

section.novinky_detail .top_head.news span {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--text);
}

section.novinky_detail .top_head.news span.date {
    margin-bottom: 8px;
    display: block;
}

section.novinky_detail .top_head.news img {
    width: 100%;
    min-height: 90%;
    aspect-ratio: 8/7;
    object-fit: cover;
    border-radius: 15px;
    z-index: 0;
}


section.novinky_detail .obsah {
    position: relative;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 6px 25px #0000001A;
    border-radius: 15px;
    width: min(95%, 950px);
    padding: clamp(30px, 5vw, 90px) clamp(40px, 7vw, 130px);
    z-index: 3;
    margin-right: 30px;

    font-size: 1rem;

}

section.novinky_detail .obsah :first-child {
    margin-top: 0px;
}

section.novinky_detail .obsah img {
    width: 100%;
    object-fit: contain;
    border-radius: 15px;
    margin-block: clamp(30px, 4vw, 60px);
    height: auto;
}

section.novinky_detail .obsah .btn {
    font-size: 1.1em;
    margin-top: 4em;
    justify-content: center;
}

section.novinky_detail .obsah p,
section.novinky_detail .obsah li {
    color: var(--text);
    font-size: 1.1em;
    font-weight: var(--w_light);
}

section.novinky_detail .obsah li {
    margin-bottom: 6px;
}

section.novinky_detail .obsah ol,
section.novinky_detail .obsah ul {
    padding-left: 1.7em;
}

section.novinky_detail .obsah p * {
    font: inherit;
}

section.novinky_detail .obsah p b,
section.novinky_detail .obsah p strong {
    font-weight: var(--w_bold);
}

section.novinky_detail .obsah h1,
section.novinky_detail .obsah h2,
section.novinky_detail .obsah h3 {
    font-size: 1.5em;
    font-weight: var(--w_medium);
    color: var(--text);
}

section.novinky_detail .obsah h1 {
    font-size: 1.75rem;
}

section.novinky_detail .obsah h3 {
    font-size: 1.3em;
}

@media screen and (max-width: 770px) {
    section.novinky_detail {
        padding-inline: 0px;
    }
}

@media screen and (max-width: 610px) {
    section.novinky_detail .top_head.news {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    section.novinky_detail .top_head.news .flex {
        padding-bottom: 0px;
        margin-top: 0px;
    }

    section.novinky_detail .top_head.news span {
        margin-bottom: 7px;
    }
}

@media screen and (max-width: 430px) {
    section.novinky_detail .top_head.news {
        margin-bottom: -30px;
    }

    section.novinky_detail .obsah {
        width: 100%;
        padding-inline: 28px;
    }
    section.novinky_detail .obsah .btn {
        min-width: 0px;
        width: 100%;
        padding-inline: 10px;
        margin-top: 3em;
    }

}

@media screen and (max-width: 380px) {
    section.novinky_detail .obsah {
        font-size: .8rem;
    }

    section.novinky_detail .obsah h2 {
        margin-top: 1.5em;
    }
}




section.akce .akce_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px 53px;
    padding: clamp(50px, 4.5vw, 80px) clamp(80px, 6.2vw, 120px);
    background: #F9F9F9 0% 0% no-repeat padding-box;
    border-radius: 15px;
}

section.akce.ontit {
    margin-top: 60px;
}

section.akce.ontit h2 {
    margin-bottom: 0;
}

section.akce.ontit .akce_grid {
    width: var(--min_width-padd);
    margin-inline: auto;
    padding-inline: var(--padding);
    padding-top: 50px;
}

@media screen and (max-width: 730px) {
    section.akce .akce_grid {
        padding-top: 0px;
    }
}

section.akce.alone .akce_grid {
    background: transparent;
}

section.akce.alone {
    position: relative;
}


section.akce .akce_grid h1 {
    grid-column: 1/-1;
    text-align: center;
    margin-bottom: 20px;
}

section.akce.alone .akce_grid h1 {
    font-size: clamp(4rem, 7vw, 6.5rem);
}

section.akce .clanek {
    background: transparent;
    border-radius: 15px;
    display: grid;
    grid-template-rows: 240px 1fr;
    height: 100%;
    width: 100%;
    overflow: hidden;
    transition: all .3s ease-in-out;

    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 4px 25px #0000001A;
}



section.akce .clanek .img_wrap {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

section.akce .clanek img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: all .3s ease-in-out;
}

section.akce .clanek:hover img {
    transform: scale(1.05);
}

section.akce .clanek .text {
    padding: 25px 31px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

section.akce .clanek .text h2 {
    color: var(--druha_barva);
    font-weight: var(--w_medium);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin: 0;
}

section.akce .clanek .text p {
    color: var(--text);
    font-weight: var(--w_light);
    line-height: 1.5em;
    margin: 0;

}

section.akce .clanek .text .flex {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

section.akce .clanek .text .date {
    white-space: nowrap;
    font-size: 1.15rem;
    color: var(--text);
    font-weight: var(--w_medium);
}

section.akce .clanek .text .btn {
    min-width: 0px;
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 150px;
    justify-content: center;
}

section.akce .clanek:hover .text .btn {
    background-color: var(--druha_hover);
    color: var(--druha_barva);
}



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

@media screen and (max-width:1100px) {
    section.akce .clanek .text {
        padding: 20px 18px;
    }

    section.akce .clanek .text p {
        line-height: 1.5em;
        font-size: 1.05rem;
    }
}

@media screen and (max-width:950px) {
    section.akce .clanek .text .date {
        font-size: 1rem;
    }
}

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

@media screen and (max-width:700px) {
    section.akce .akce_grid h1 {
        margin-bottom: -40px;
    }
}


@media screen and (max-width:520px) {
    section.akce .akce_grid {
        padding: 50px 40px;
    }

    section.vina:first-of-type {
        margin-top: 40px;
    }



    section.akce .clanek .text .btn{
        padding: 1rem 2rem;
        padding: 0.85rem 1rem;
        font-size: .9rem;
        width: 100%; 

    }
}

@media screen and (max-width: 420px) {
    section.akce .clanek {
        grid-template-rows: 130px 1fr;
    }
    section.akce .clanek .text .date {
        font-size: .9rem;
    }

}

@media screen and (max-width: 380px) {
    section.akce .akce_grid {
        padding: 50px 20px;
    }
}



/* FORM */

section.form {
    
}

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

    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 16px 40px #0000001A;
    padding: clamp(25px, 3.5vw, 60px) clamp(20px, 3vw, 50px);
    width: 100%;
    margin-inline: auto;
}

section.form_wrap h2 {
    color: var(--nadpisy);
    margin: 0;
    grid-column: 1/-1;
    text-align: center;
}
section.form_wrap p {
    text-align: center;
    margin: 0;
}

section.form_wrap section.sep {
    grid-gap: 5px 15px;
   
    display: flex;
    flex-direction: column; 
}

section.form_wrap section.sep span {
    font-size: .85rem;
    font-family: var(--font-ligth);
    color: #4E5460;
}

section.form_wrap section.sep.w {
    grid-column: 1/-1;
}

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: 4px;
    font-family: var(--font-ligth);
    color: #4E5460;
    font-size: 1rem;
}


section.form_wrap input, section.form_wrap textarea {
    font-family: var(--font-ligth);
    font-size: 1rem;
    color: #4E5460;
}

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: #F8F8F8 0% 0% no-repeat padding-box;
    border: 1px solid #D9D9D9;
}

section.form_wrap input:focus, 
section.form_wrap textarea:focus {
    background: #E1F9EE 0% 0% no-repeat padding-box;
    border: 1px solid #34AF73;
}

section.form_wrap textarea {
    resize: none;
    line-height: 1.5em;
}

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

section.form_wrap > section.for_captcha > * {
    /* position: absolute; */
    transform: scale(1) !important;
    -webkit-transform: scale(1) !important;
}

section.form_wrap .btn {
    grid-column: 2;
    cursor: pointer;
    width: fit-content;
    margin-left: auto;
}


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: 960px) {


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

}

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

    section.form_wrap > section.for_captcha {
        margin-bottom: -30px;
        transform: translateX(29px) scale(.75);
    }
}



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


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

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

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

    
}


@media screen and (max-width: 450px) {
    section.form_wrap > * {
        grid-column: span 2;
    }

    section.form {
        width: 100%;
    }

    section.form_wrap > section.for_captcha {
        margin-bottom: -30px;
        transform: translateX(0px) scale(.75);
        transform-origin: top left;
    }

    section.form_wrap .btn,
    section.form_wrap > section.for_captcha {
        margin-inline: 0px;
    }

    section.form_wrap > section.for_captcha {
        width: 180px;
    }


}

@media screen and (max-width: 340px) {
    section.form_wrap > section.for_captcha {
        margin-bottom: -40px;
        transform: translateX(0px) scale(.65);
    }
}

.kontaktujte_nas_wrap .info {
    padding-inline: var(--padding);
}

.kontaktujte_nas_wrap .info p {
    width: 100%;
    text-align: center;
    font-size: .85rem;
    color: #C5C5C5;
    font-family: var(--font-ligth);
    line-height: 2em;
    margin-block: clamp(50px, 5.5vw, 100px) clamp(100px, 12vw, 170px);
}

.kontaktujte_nas_wrap .info p strong {
    color: var(--c2);
    font-family: var(--font-ligth);

}

.kontakt_page {
    margin-top: calc(-1 * clamp(200px, 32vw, 600px));
    position: relative;
    z-index: 3;
}

.kontakt_page #formik .kontaktujte {
    background: white;
    position: relative;
    z-index: 3;
    padding: clamp(18px, 3vw, 50px);
    padding-top: clamp(25px, 3.5vw, 60px);
    box-shadow: 0px 16px 40px #0000001A;
    align-items: flex-start;
}

.kontakt_page #formik .kontaktujte a,
.kontakt_page #formik .kontaktujte span.name {
    color: var(--c1);
    font-family: var(--font-medium);
}

.kontakt_page #formik .kontaktujte span.name {
    margin-top: 10px;
}

.kontakt_page #formik .kontaktujte iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.kontakt_page #formik p {
    color: var(--c1);
    grid-column: 1/-1;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    margin: 0 0 15px 0;
}
.kontakt_page #formik p,
.kontakt_page #formik .kontaktujte a {
    font-size: clamp(.9rem, 1.2vw, 1.2rem);
}

.kontakt_page #formik .umisteni {
    font-size: 1.2rem;
    line-height: 1.5em;
    margin-top: 20px;
    color: var(--text);
    text-align: left;
}

.kontakt_page #formik section.form_wrap p {
    text-align: left;
}

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

    #formik .kontaktujte img.logo_kontakt {
        width: min(100%, 150px);
        margin-top: 40px;
    }
}

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

    #formik .kontaktujte img.logo_kontakt {
        width: min(100%, 150px);
        margin-top: 40px;
    }

    section.table_foto_wrap {
        flex-direction: column;
        align-items: center;
    }

    section.table_foto_wrap .pud_wrap {
        width: min(400px, 100%);
        justify-content: center;
        margin-top: 30px;
    }

    .detail_bytu img.kulata_garaz {
        width: min(100%, 350px);
    }

    section.table_foto_wrap .pud_wrap:has(img.kulata_garaz) {
        width: min(480px, 100%);
        justify-content: flex-start;
    }
}

@media screen and (max-width: 650px) {
    .detail_bytu .line-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail_bytu section.boxy_flex {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 450px) {
    section.table_foto_wrap .detail-tabulka table.table-in-table > tbody > tr:first-of-type > td,
    section.table_foto_wrap .detail-tabulka span {
        padding-inline: 10px;
    }
    section.table_foto_wrap .detail-tabulka table.table-in-table > tbody > tr > td {
        padding-inline: 7px;
    }

    section.table_foto_wrap .detail-tabulka .pud_wrap_2 {
        margin-inline: 10px;
    }

    section.table_foto_wrap .detail-tabulka .btn {
        margin-inline: 10px;
    }

    .kontakt_page #formik .umisteni {
        font-size: 1rem;
    }
}


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

    .kontakt_page #formik .kontaktujte .kontakt-mail {
        font-size: .8rem;
    }
}
.grey_box {
    background: #F1F1F1;
    padding: var(--padding);
}

.mb30 {
    margin-bottom: 30px;
}

.grey_box .content_wrap {
    width: var(--min_width);
    margin-inline: auto;
    display: flex;
    gap: 30px;
    flex-direction: row;
    justify-content: space-between;

}

.grey_box .blok {
    flex-basis: 40%;

}

.grey_box h2 {
    line-height: 1.4em;
}

.grey_box h2,
.grey_box p,
.grey_box ul {
    padding-left: 30px;
}

.grey_box ul {
    padding-left: 42px;
}

@media screen and (max-width: 900px) {
    .grey_box .blok {
        flex-basis: calc(50% - 20px);
    }
}

@media screen and (max-width: 730px) {
    .grey_box {
        margin-top: 50px;
    }
    
    .grey_box .blok {
        flex-basis: unset;
    }

    .grey_box .content_wrap {
        flex-direction: column;
        gap: 60px
    }

    .grey_box h2 br {
        display: none;
    }
}

/* gallerie */

section.gallery_wrap {
    padding-top: clamp(50px, 8.5vw, 150px);
    padding-bottom: clamp(50px, 5vw, 100px);
}


section.gallery_wrap h1,
section.gallery_wrap .popisek {
    width: var(--min_width-padd);
    padding-inline: var(--padding);
    margin-inline: auto;
    margin-bottom: 20px;
}

section.gallery_wrap .popisek {
    margin-bottom: 50px;
}

section.gallery_wrap .foto {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 11px;
}

section.gallery_wrap .foto .img_wrap {
    grid-column: span 2;
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
}

section.gallery_wrap .foto .img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* 1 */
section.gallery_wrap .foto .img_wrap:nth-child(1):last-child {
    grid-column: 1/-1;
    aspect-ratio: unset;
}

/* 2 */

section.gallery_wrap .foto:has(.img_wrap:nth-child(2):last-child) .img_wrap {
    grid-column: span 4;
    aspect-ratio: 4/3;
}


/* 3 */

section.gallery_wrap .foto:has(.img_wrap:nth-child(3):last-child) {
    grid-template-columns: repeat(9, 1fr);
}

section.gallery_wrap .foto:has(.img_wrap:nth-child(3):last-child) .img_wrap {
    grid-column: span 3;
}

/* 4 */

section.gallery_wrap .foto:has(.img_wrap:nth-child(4):last-child) .img_wrap {
    grid-column: span 4;
    aspect-ratio: 16/9;
}

/* 5 */

section.gallery_wrap .foto:has(.img_wrap:nth-child(5)) {
    grid-template-columns: repeat(7, 1fr);

}

/* 6 */

section.gallery_wrap .foto:has(.img_wrap:nth-child(6)) {
    grid-template-rows: repeat(4, 1fr);
}

section.gallery_wrap .foto:has(.img_wrap:nth-child(16)) {
    grid-template-rows: repeat(8, 1fr);
}

section.gallery_wrap .foto:has(.img_wrap:nth-child(26)) {
    grid-template-rows: repeat(12, 1fr);
}

/* 5, 7 */
section.gallery_wrap .foto:has(.img_wrap:nth-child(10n + 5)) .img_wrap:nth-child(10n + 3):not(:last-child),
section.gallery_wrap .foto:has(.img_wrap:nth-child(10n + 7)) .img_wrap:nth-child(10n + 6):not(:last-child) {
    grid-column: span 3;
    grid-row: span 2;
    aspect-ratio: unset;
    height: 100%;
}

@media screen and (max-width: 880px) {
    section.gallery_wrap .foto {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    section.gallery_wrap .foto:has(.img_wrap:nth-child(3):last-child) {
        grid-template-columns: repeat(6, 1fr);
    }

    section.gallery_wrap .foto:has(.img_wrap:nth-child(5)) {
        grid-template-columns: repeat(4, 1fr);

    }

    section.gallery_wrap .foto:has(.img_wrap:nth-child(10n + 5)) .img_wrap:nth-child(10n + 3):not(:last-child), 
    section.gallery_wrap .foto:has(.img_wrap:nth-child(10n + 7)) .img_wrap:nth-child(10n + 6):not(:last-child) {
        grid-column: span 4;
    }
}





/* FOOTER */

footer{
    position:relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    padding: 100px var(--padding);
    padding-bottom: 40px;

    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1;

}


footer section.footer_wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    margin-inline: auto;
    padding: 100 var(--padding);
    background: var(--foot_bg);


}

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


footer .udaj {
    font-size: clamp(.95rem, 1.8vw, 1.5rem);
    color: rgba(49, 49, 49, 0.85);
    text-decoration: underline;
    text-decoration-color: rgba(49, 49, 49, 0.85);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: all .17s ease-in-out;
    width: fit-content;
    white-space: nowrap;
}

footer .udaj:hover {
    text-decoration-color: transparent;
}


footer span.name {
    color: #C9BDB1;
    font-size: .88rem;
    margin-bottom: 20px;
}

footer .napiste span.name {
    margin-bottom: 40px;
}

a.logo.pata {
    transition: all .3s ease-in-out;
}

a.logo.pata:hover {
    border-radius: 10px;
}

a.logo.pata img {
    height: var(--header_logo_height-pata);
    object-fit: contain;
    transform-origin: center;
    transition: all .3s ease-in-out;
}




div.odkazy {
    display: flex;
    width: fit-content;
    gap: 15px 15px;
    width: 100%;
    margin-inline: auto;
    justify-content: flex-end;
    align-items: flex-end;
    flex-wrap: wrap;

    margin-top: clamp(45px, 10vw, 130px);
}

div.odkazy.pod_kontakt {
    margin: 0 auto 40px auto;
    width: var(--min_width-padd);
    padding-inline: var(--padding);
    flex-direction: row-reverse;
}

div.odkazy a,
div.odkazy a span {
    font-size: .7rem;
    font-weight: var(--w_light);
    color: #C5C5C5;
    white-space: nowrap;
}

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

div.odkazy a span {
    color: var(--meho_c);
}

div.odkazy .wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

footer span {
    color: var(--nadpisy);
    font-size: 1.15rem;
    display: block;
}
footer .for_logo {
    grid-row: 1;
}

footer .for_logo span{
    margin-top: 36px;
}

/* footer menu */

footer .menu {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}
                    
footer .menu > ul {
    flex-direction: column;
    align-items: flex-start;
    gap:24px;
    padding: 0px;
}

footer .menu  ul a {
    color: var(--c1);
    font-family: var(--font-regular);
    font-size: 1rem;
}

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

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

footer .menu ul > li > ul a {
    color: white;
}

footer .socky {
    grid-row: 2;
    grid-column: 1;
}

.socky {
    display: flex;
    gap: 14px;
}



.socky a.soc {
    mask: center/contain no-repeat, linear-gradient(#000 0 0);
    -webkit-mask: center/contain no-repeat, linear-gradient(#000 0 0);
    background-color: var(--hlavni_barva);
    width: clamp(18px, 2.5vw, 33px);
    height: clamp(18px, 2.5vw, 33px);
    position: relative;
    transform-origin: center;
    transition: all .3s ease-in-out;
}

.socky a.soc:hover {
    transform: scale(1.1);
}


footer .socky a.soc {
    background-color: var(--druha_barva);
    width: 52px;
    height: 52px;
}


.socky a.fb.soc {
    mask-image: url('../img/facebook.svg');
    -webkit-mask-image: url('../img/facebook.svg');
}

.socky a.ig.soc {
    mask-image: url('../img/instagram.svg');
    -webkit-mask-image: url('../img/instagram.svg');
}



@media screen and (max-width: 1100px) {
    footer section.footer_wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    div.odkazy {
        justify-content: center;
    }

    footer .for_logo {
        grid-column: 1/-1;
        grid-row: 1;
        display: flex;
        justify-content: center;
    }

    footer .kontakt {
        margin-bottom: 30px;
    }

    footer .napiste span.name {
        display: none;
    }

    footer span.name {
        margin-bottom: 10px;
    }

    footer .menu {
        grid-column: 1;
        grid-row: 2/4;
    }

    a.logo.pata {
        margin: 0 0 50px 0;
    }
}

@media screen and (max-width: 580px) {
    a.logo.pata {
        margin-bottom: 25px;
    }

    footer section.footer_wrap {
        display: grid;
        grid-template-columns: 1fr;
        width: fit-content;
    }

    footer .menu {
        grid-row: 4;
        margin-top: 40px;
    }

    footer .menu > ul,
    footer .kontakt,
    footer .menu {
        align-items: center;
        
    }

    div.odkazy {
        flex-direction: column;
        align-items: center;
        width: fit-content;
    }

    a.logo.pata .img,
    a.logo.pata:hover .img {
        background-position: center;
    }

    footer .napiste {
        width: fit-content;
        margin-inline: auto;
    }
}




/* ----------- */


/* 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;
}

.ico.date::before {
    mask-image: url('../img/ikona_datum.svg');
    -webkit-mask-image: url('../img/ikona_datum.svg');
    background: #AFAFAF;

}

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

}


.ico.eshop::before {
    width: 1.5em;
    aspect-ratio: 1/1;
    mask-image: url('../img/ikona_kosik.svg');
    -webkit-mask-image: url('../img/ikona_kosik.svg');
    background-color: var(--druha_barva);
    transition: all .3s ease-in-out;
}


.ico.zamek::before {
    width: 1.1em;
    aspect-ratio: 1/1;
    mask-image: url('../img/ikona_zamek.svg');
    -webkit-mask-image: url('../img/ikona_zamek.svg');
    background-color: #C5C5C5;
    transition: all .3s ease-in-out;
}



.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: var(--hlavni_barva);
}

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

.ico.addr::before {
    mask-image: url('../img/ikona_mapa.svg');
    -webkit-mask-image: url('../img/ikona_mapa.svg');
    background-color: var(--hlavni_barva);
}

.ico.arr {
    flex-direction: row-reverse;
}

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

.btn.ico.arr::before {
    background-color: var(--druha_hover);
    transition: all .3s ease-in-out;
}



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

    section.tit > img.desktop,
    section.tit > img.mobile {
        display: none;
    }

    section.tit > img.tablet  {
        display: block;
    }

}



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

/* default 768px */

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

    * {
        --padd_under_header: var(--header_mobile_height);
    }

    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;
    }

    header .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);
    }

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


    }

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

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

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

    }
    header .menu ul li.sipka_dolu {
        position: relative;
        display: grid;
        margin-right: 0;
    }

    header .menu > ul > li.sipka_dolu {
        gap: 0px 10px;
        grid-template-columns: 1fr auto;
    }

    header .menu > ul > li.sipka_dolu > ul {
        padding-right: 0px;
        grid-column: 1/-1;

    }

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

        grid-column: 1;
        grid-row: 1;

    }

    header .menu ul li.sipka_dolu::after {
        pointer-events: all;
        cursor: pointer;
        /* border-color: var(--druha_barva);    */
        grid-column: 2;
        grid-row: 1;
    }


    header .menu ul li.sipka_dolu:hover::after {
        border-color: white;   

    }

    header .menu ul li > ul li {
        background: transparent;
    }

    header .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;
    }

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

    header .menu ul li > ul > li {
        padding-inline: 0;
        width: 100%
    }

    header .menu ul li > ul li ul {
        gap:0px;
    }

    header .menu ul li > ul li li {
        /* background: #2b2b2b; */
    }

    header .menu > ul > li > ul > li > a {
        margin-bottom: 0;
        color: var(--textmenu);
        text-align: left;
        font-size: var(--menu_mobile_font-size);
        padding-bottom: .4rem;
        padding-left: .5rem;
        border-bottom: 1px solid white;
        width:100%;
        white-space: normal;
        /* -- */
        grid-template-rows: auto;
        grid-column: 1;
        grid-row: 1;
        justify-content: space-between;
    }

    header .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;
    }

    header .menu_open {
        display: block;
        position: absolute;
        top: calc((var(--header_mobile_height) - 25px) /2);
        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: calc((var(--header_mobile_height_scroll) - 25px) /2);

    }

    header .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);
        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;
    }



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

    header .menu ul li > ul {
        max-height: 0px;
        transition: all .3s ease-in-out;
        display: flex !important;
        height: fit-content;
        visibility: visible;
        opacity: 1;
        gap: 0px;
        width: fit-content;
    }

    header .menu > ul > li > ul.visible {
        margin-bottom: 50px;
        max-height: 1000px;
        
    }

    header .menu > ul > li.sipka_dolu:hover::after {
        transform: translateY(-3px) translateX(2px) rotate(-45deg);

    }

    header .menu > ul > li.sipka_dolu:has(> .visible)::after,
    header .menu > ul > li.sipka_dolu:hover:has(> .visible)::after {
        transform: translateY(-3px) translateX(-2px) rotate(135deg);
    }

    header .menu ul li > ul li > button.show_menu {
        margin-right: 0px;
        margin-block: 5px;
        margin-left: 0px;
        right: -10px;
        position: relative;
        padding: 0px;
        background: transparent;
    }

    header .menu ul li > ul li > button.show_menu:hover {
        background: transparent;
    }

    header .menu ul li > ul li > button.show_menu:hover::before {
        border-color: white;
    }



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

    header .menu > ul > li > ul > li > a {
        padding-block: 15px;
        align-items: center;
        flex-direction: row;
        border-bottom: 0px;
    }
    
    header .menu > ul > li > ul > li {
        border-bottom: 0px solid #D9D9D9;
    }

    header .menu > ul > li > ul > li:first-of-type {
        border-top: 0px solid #D9D9D9;
    }

    header .menu ul li > ul li:not(:last-of-type) {
        border-bottom: 0px solid #EFEFEF;
    }


    header .menu {
        padding-inline: var(--padding);
        flex-direction: column;
        gap: 20px;
    }

    header .socky a.soc,
    header.full_open .socky a.soc {
        height: 30px;
        width: 30px;
    }

    header .menu > ul {
        gap: 0;

    }

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

    }

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

    header .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;
    } */


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

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

    .menu ul li > ul li > button.show_menu {
    }




    /* --- */

    section.tit {
        min-height: clamp(608px, 110vw, 760px);
        height: fit-content;
        aspect-ratio: unset;
        padding-top: var(--header_mobile_height);
    }





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

    section.tit > div.obsah {
        padding-bottom: 15px;
        justify-content: flex-start;
        gap: 15px;
        padding-top: calc(70px + var(--padd_under_header));
    }


    section.tit.podstrana > div.obsah {
        padding-top: 25px;
        padding-bottom: 15px;
    }
    header .menu ul li a,
    header .menu ul li {
        font-size: var(--menu_mobile_font-size);
    }

    header .menu ul li > ul li a {
        justify-items: end;
        grid-template-columns: 1fr;
    }

    header .menu ul li ul {
        margin-left: auto !important;
        padding-right: 15px !important;
    }

    header .menu ul li a {
        padding-block: .4rem !important;
        padding-inline: 0px !important;
    }

    header .menu ul li > ul li:hover a, 
    header .menu ul li > ul li a.active,
    header .menu ul li > ul li:hover {
        color: white;
        background: transparent;
    }


    /* ----- */




    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 {
    }


    section.tit.podstrana.small {
        min-height: 150px;
    }


    main {
        padding: 40px var(--padding) clamp(30px, 5.5vw, 100px) var(--padding);
    }

    header .menu ul li > ul li a:hover,
    header .menu ul li > ul li a.active,


    header .menu ul li > ul li li:hover {
        background: transparent;
    }


    section.tit::after {
        width: 100%;

    }

    section.tit p {
        width: 100%;
    }

    header .lang {
        margin-left: 0px;
        margin-right: clamp(60px, 10vw, 80px);
    }


    section.tit > img.tablet,
    section.tit > img.desktop {
        display: none;
    }

    section.tit > img.mobile  {
        display: block;
    }



    section.tit > img.decor.r1 {
        top:9%;
        transform: rotate(120deg);
    }

    section.tit > img.decor.r2 {
        top:2%;
        transform: rotate(255deg);
    }

    section.tit > img.decor.r3 {
        bottom:-3%;
        left: 0%;
        transform: rotate(19deg);
    }
    section.tit > img.decor.r4 {
        right: 2%;
    }


    

}

@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.active::before {
        background:  var(--menu_dropdown_icon);
    }
*/
    .menu ul li > ul > li:hover > a.active {
        text-decoration: none;
    }
    
    .menu ul li > ul > li:hover > a, .menu ul li > ul li a.active{
        /* 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;
    }


    .menu > ul > li > ul {
        box-shadow: 0px 5px 35px #00000014;
        border-radius: 3px;
    }
}




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

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

    section.tit .btn {
        padding: 1em 2em;
    }

    section.tit > img.on_img.mobile {
        width: min(335px, 100%);
    }
}



.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 !important;
    border: 1px solid #a8a6a6 !important;
    transition: all .3s ease-in-out;
}
.termsfeed-com---palette-light .cc-nb-reject:hover {
    color: #a8a6a6 !important;
    background-color: #fff !important;
}

.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);
    transition: all .3s ease-in-out;
}

.termsfeed-com---palette-light .cc-nb-okagree:hover,
.termsfeed-com---palette-light .cc-cp-foot-save:hover {
    background-color: white !important;
    color: var(--hlavni_barva) !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*/


.mb2 {
    margin-bottom: 2rem;
}