@font-face {
    font-family: 'regular';
    src: url('../fonts/Barlow-Regular.ttf'); 
}

@font-face {
    font-family: 'regular-2';
    src: url('../fonts/CitrusGothic-Regular.ttf'); 
}

@font-face {
    font-family: 'medium';
    src: url('../fonts/Barlow-Medium.ttf'); 
}

@font-face {
    font-family: 'bold';
    src: url('../fonts/Barlow-Bold.ttf'); 
}

@font-face {
    font-family: 'semibold';
    src: url('../fonts/Barlow-SemiBold.ttf'); 
}

@font-face {
    font-family: 'semibold-o';
    src: url('../fonts/OpenSans-SemiBold.ttf'); 
}



* {
    --font-regular: 'regular',sans-serif;
    --font-regular-2: 'regular-2',sans-serif;
    --font-medium: 'medium',sans-serif;
    --font-bold: 'bold',sans-serif;
    --font-semibold: 'semibold',sans-serif;

    --font-semibold-o: 'semibold-o',sans-serif;

    font-family: 'regular',sans-serif;
    font-weight: normal;

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

    --body_c: url("../img/textura_pozadi/bg_1920_webp.webp") top/contain repeat;
    --main_c: transparent;

    --logo: url("../img/zahlavi_1920.webp") bottom/cover no-repeat;
    --logo_scroll: url("../img/zahlavi_scroll.jpg") bottom/cover no-repeat;

    --logo_small: url("../img/zahlavi_980.jpg") bottom/cover no-repeat;



    --padding: min(14vw,250px);
    --min_width: min(100%, 1074px);
    --min_width_mid: min(100%, 1420px);
    

    --web_max_w: 2000px;
    --header_logo_height: clamp(170px, 15vw, 270px);
    --header_logo_height-full: clamp(110px, 8vw, 160px);
    --header_mobile_height: 140px;
    --header_mobile_height_scroll: 100px;


    
    --menu_heigth: 68px;
    --menu_heigth-full: 58px;
    --section_telefon_heigth: 46px;


    --padd_under_header: calc(var(--header_logo_height) + var(--menu_heigth));
    --padd_under_header-full: calc(var(--header_logo_height-full) + var(--menu_heigth-full));
    


    --textmenu:#FFFFFF;
    --textmenu-full: #FFFFFF;
    --textmenuhover: #FFFFFF;
    --textsubmenu: #6F8EB2;
    --textsubmenuhover: #034AA6;

    --submenu_background: #ffffff;

    --menu_open_bg: white;
    --tit_h1: #F8F8F8;
    --tit_h1_in: #1B75BC;
    --menu_dropdown_icon_hover: #034AA6;
    --menu_dropdown_icon: #034AA6;
    --menu_dropdown_top: calc(var(--header_logo_height) + 15px);
    --menu_dropdown_line_color: #DFDFDF;

    --hlavni_barva: #22845D;
    --druha_barva: #E0BE50;
    --druha_hover: #E0BE50;



    --textcontent: #2C2829;
    --header_bg: #20694C;
    --header_bg_full: #20694C;
    --header_mobile_open: #20694C;

    --nadpisy:#272724;
    --text: #473E37;
    --marker: #C4C4C4;
    --light: #C9C9C9;



    --text_footer: #6F8EB2;
    

    --menu_open_time: .4s;
    --menu_bg: #d9ab02;
    --foot_bg: url('') center/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;
}

section.telefon {
    top:0;
    left:50%;
    transform: translateX(-50%);
    width: 100%;
    height: var(--section_telefon_heigth);
    position: fixed;
    z-index: 90;
    background-color: rgba(29, 29, 27, 0.7);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-inline: var(--padding);
    z-index: 200;
    max-width: var(--web_max_w);
    gap: 20px;
    transition: all .3s ease-in-out;
}

section.telefon div.wrap_width {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-inline: auto;
    width: var(--min_width);
}

section.telefon.hide {
    transform: translateX(-50%) translateY(-100%);
}

@media screen and (max-width:370px) {
    section.telefon{
        justify-content: space-between
    }
}

section.telefon p {
    display: block;
    color: #FFFFFF;
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-family: var(--font-book);
    margin: 0;
    font-size: clamp(.95rem, 1.5vw, 1.1rem);
}

section.telefon a {
    color: #FFFFFF !important; 
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all .125s ease-in-out;
    font-family: var(--font-regular);

}

section.telefon a:hover {
    text-decoration-color: #FFFFFF;
}




header {
    z-index: 100;
    box-sizing: border-box;
    height: fit-content;
    top:0px;
    position: fixed;
    width: 100%;
    max-width: var(--web_max_w);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /*padding-bottom: 16px;*/
    user-select: none;
    background: var(--header_bg);


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

}

header.full_open {
    background: var(--header_bg_full);
    position: fixed;
    margin-top: 0px;

}


header a.tel {
    font-family: var(--font-book);
    font-size: clamp(.9rem,1vw, 1.2rem);;
    color: var(--druha_barva);
    display: flex;
    gap:8px;
    height: fit-content;
    align-items: center;
    margin-block: 0px;
    padding-top: 27.4px;
    transition: all .3s ease-in-out;
    padding-top: calc(min(0.6vw, 0.8rem) + clamp(30px, 2vw,50px));

}


header a.tel::before {
    content: '';
    height: 1.1em;
    aspect-ratio: 1/1;
    mask: url('../img/pata/ikona_telefon_20x20.svg') 0% 0%;
    -webkit-mask: url('../img/pata/ikona_telefon_20x20.svg') 0% 0%;
    background-color: var(--druha_barva);

}


header div.soc{
    user-select: none;
    transition: all .3s ease-in-out;
    padding-top: clamp(30px, 2vw,50px);
    padding-bottom: clamp(10px, 1vw,20px);

    align-items: center;
    padding-left: 30px;

}
header div.soc a {
    background-repeat: no-repeat;
    width: clamp(20px, 2vw, 35px) !important;
    height: clamp(20px, 2vw, 35px) !important;
}


header.podstranka {
    background: none;
    transition: all .2s ease-out;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
}







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

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

a.logo .img {
    height: 100%;
    width: 100%;
    display: block;
    transition: padding .3s ease-in-out, background-image .3s ease-in-out, transform .3s ease-in-out;
    transform-origin: left center;
    background: var(--logo);
}


header.full_open a.logo .img {
    padding-block: 5px;
    background: var(--logo_scroll);
}


span.smallfont {
    font-size: 14px !important;
    font-style: normal !important;
}

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


.menu > ul{ 
    height:auto; 
    margin:0; 
    padding:0; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    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-book);
    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);
}
header .menu > ul > li > a:not(.actived):hover {

}

.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;
    /* margin-right: min(1.6vw, 2rem); */
}

.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: clamp(1.2rem,1.4vw, 1.4rem);
    display: block;
    width: fit-content;
    height: 100%;
    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: underline;
    text-decoration-color: transparent;

}

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

/*

.menu > ul > li > a::before{
    content: '';
    background-image: url('../img/menu_hover.png');
    background-repeat: no-repeat;
    background-size: contain;
    width: 1.2em;
    height: 1.2em;
    opacity: 0;

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

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

/*
header.full_open .menu > ul > li > a.actived::before {
    top: -10px;

}*/

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

/*
@media screen and (max-width:1400px) {    
    .menu ul li > ul{ 
        grid-template-columns: repeat(3, 1fr);
    }
    
}

*/
.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.no_padd {
    padding: 0px;
}

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

}

/* header.full_open + main {
    padding-top: 150px;
    margin-top:calc(-150px + var(--padd_under_header-full) + 0.5rem);

} */

main.white {
    background: white;
}


/* titulka */

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

}

section.tit.podstrana {
    aspect-ratio: 8 / 2;
    min-height: 350px;
    max-height: 480px;
}


section.tit::before {
    content: '';
    width: 80%;
    transform: translateY(-150px);
    height: 100%;
    position: absolute;
    background: transparent linear-gradient(90deg, #1D1D1BE6 0%, #1D1D1BB0 56%, #1D1D1B00 100%) 0% 0% no-repeat padding-box;
    opacity: 0.9;
    z-index: 1;
}

header.full_open + section.tit {
    /* margin-top:var(--padd_under_header-full); */
}


section.tit.kontakt {
    min-height: 800px;
    height: fit-content;
    max-height: unset;
    aspect-ratio: unset;
}

section.tit.kontakt section.kontakty {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
    height: 100%;
}

section.tit.kontakt  section.kontakty .ico {
    color: white;
    font-family: var(--font-book);
    font-size: 1.8rem;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 15px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 10px;
    width: fit-content;
    transition: all .3s ease-in-out;
    border: 1px solid #6F8EB2;
    border-width: 1px 0px 1px 0px;
    padding-block: 30px;
    width: 100%;
    gap: 20px;
}
section.tit.kontakt section.kontakty .ico::before {
    content: '';
    background: url(../img/ikona_telefon.svg) center/contain no-repeat;
    width: 0.85em;
    aspect-ratio: 1/1;
}

section.tit.kontakt section.kontakty .ico.tel::before {
    background-image: url(../img/ikona_telefon.svg);
}

section.tit.kontakt section.kontakty .ico.mail::before {
    background-image: url(../img/ikona_email.svg);
}

section.tit.kontakt section.kontakty .ico.osoba::before {
    background-image: url(../img/ikona_telefon.svg);
}


section.tit.kontakt > div.obsah {
    display: grid;
    position: relative;
    grid-template-columns: 2fr 3fr;
    gap: clamp(40px, 8vw, 150px);
    justify-content: space-between;
    padding-top: calc(220px + var(--header_logo_height-full));
    padding-bottom: 80px;
}
@media screen and (max-width: 1650px) {
    section.tit.kontakt > div.obsah {
        padding-inline: calc(2 * var(--padding));
    }
}

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

@media screen and (max-width: 940px) {
    section.tit.kontakt > div.obsah {
        grid-template-columns: 1fr;
    }
}

section.tit.p2 {
    height: fit-content;
    aspect-ratio: unset;
    min-height: 0px;
}

section.tit.p2 > div.obsah {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: calc(160px + var(--header_logo_height-full));
    padding-bottom: 240px;
}

section.tit.p2:has(div.obsah:only-child) {
    min-height: 640px;
}

section.tit.p2 > div.obsah:has(:only-child) {
    grid-template-columns: 1fr;
}
@media screen and (max-width: 590px) {
    section.tit.p2 > div.obsah {
        grid-template-columns: 1fr;
    }
}

section.tit.p2 > div.obsah p {
    color: white;
}



section.tit .btn-inverse {
    background: #023167 0% 0% no-repeat padding-box;
    border: 2px solid var(--druha_barva);
    border-radius: 5px;
    color: white;
}

section.tit div.buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

section.tit div.buttons .btn,
section.tit div.buttons .btn-inverse {
    width: 100%;
    min-width: 170px;
    padding: 1.1rem 2.2rem;
    font-family: var(--font-semibold-o);
}

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

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



section.tit.podstrana > img {
    object-position: center 81%;
}

section.tit.podstrana.onas > img {
    object-position: center 58%;
}

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

section.tit > div.obsah {
    /* position: absolute; */
    box-sizing: content-box;
    top:0;
    left:50%;
    /* transform: translateX(-50%); */
    width: var(--min_width);
    margin-inline: auto;
    height: 100%;
    gap: 35px;
    padding-inline: var(--padding);

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

} 

section.tit.podstrana > div.obsah h1 {
    padding-top: clamp(80px, 8vw, 160px);
}

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

section.tit > div.obsah div.flex-column {
    display: flex;
    flex-direction: column;
    gap:35px
}




section.podstranka {
    min-height: 560px;
    display: flex;
    padding-inline: var(--padding);
    /* padding-top: calc(40px + var(--header_logo_height-full)); */
    position: relative;
}
section.podstranka img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top:0;
    left:0;
}

section.podstranka::before {
    content: '';
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 55%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
}

section.podstranka h1 {
    top:46px;
    height: fit-content;
    margin-top: auto;
    width: calc(100% - 2* var(--padding));
    margin-inline: auto;
    font-family: var(--font-medium);
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    color: #F8F8F8;
    margin-bottom: 130px;
    z-index: 2;
}


@media screen and (max-width:1100px) {
    section.tit > div.obsah picture {
        padding-right: calc(.8  * var(--padding));
    }
}



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

    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, .btn-inverse{
    width: fit-content;
    min-width: 228px;
    background: var(--druha_barva);
    height: fit-content;
    display: block;
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text);
    font-family: var(--font-bold);
    padding: 1.4rem 3.3rem;
    transition: all .3s ease-in-out;
    box-sizing: border-box;
    align-items: center;
   
    justify-content: space-between;
    gap:10px;
}
.btn.cntr, .btn-inverse.cntr {
    margin-inline: auto;
}
.btn:hover {
    background-color: var(--druha_hover);
    border-color: var(--druha_hover);

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

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

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

 
.btn::after, .btn-inverse::after,
section.grid > div.newsletter .ec-v-form-submit.ec-v-form-btntype-submit button::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;
}
.btn-inverse::after {
    background-image: url('../img/ikona_sipka_button_22x22_zelena.svg');

}
.btn-inverse:hover::after {
    background-image: url('../img/ikona_sipka_button_22x22_bila.svg');

}

.btn div.sipka, .btn-inverse div.sipka {
    width: 1.3rem;
    aspect-ratio: 1/1;
    mask: url('../img/ikona_sipka.svg') 50% 50% no-repeat;
    -webkit-mask: url('../img/ikona_sipka.svg') 50% 50% no-repeat;
    mask-size: cover;
    -webkit-mask-size: cover;

    background: var(--druha_barva);
    transition: all .3s ease-in-out;
}

.btn:hover div.sipka, .btn-inverse:hover div.sipka {
    background: white;
}


/* Univerzalni sekce */

section.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 25px;
    width: 100%;

}



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



/* text_foto */


section.foto_text_wrap {
    width: 100%;
    display: flex;
    margin-top: clamp(30px, 8vw, 140px);
    gap: 20px;
    width: calc(100% + var(--padding));
}

section.foto_text_wrap img.dekorace {
    width: clamp(50px, 15vw, 95px);
    height: fit-content;
    object-fit: contain;
    object-position: top;
}

section.text_foto {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    grid-row-gap: 15px;
    grid-column-gap: clamp(20px, 5vw, 97px);
    position: relative;

    width: calc(((min(100vw, 2000px) - var(--min_width)) / 2) + var(--min_width));
    margin-left: auto;
}

section.text_foto.rev {
    grid-template-columns: 1.6fr 1fr;
    margin: 0px;
    left: calc(-1 * var(--padding));
    width: 100%;
}


section.text_foto > * {
    grid-column: 1;
    z-index: 1;
}
section.text_foto.rev > * {
    grid-column: 2;
    z-index: 1;
}

section.text_foto .right {
    grid-column: 2;
    grid-row: 1/5;
}

section.text_foto.rev .right {
    grid-column: 1;
    grid-row: 1/5;
}

section.text_foto .img_wrap {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: url("../img/foto/vitejte.webp") center right/45% no-repeat;
    background-attachment: fixed;
}

section.text_foto.rev .img_wrap {
    background: url('../img/foto/vitejte.webp') center left/51% no-repeat;
    background-attachment: fixed;
}

section.text_foto.onas .img_wrap {
    background: url('../img/o-nas/foto-o-nas.webp') center right/62% no-repeat;
    background-attachment: fixed;
    background-position-x: 140%;

}

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

section.text_foto h1 {
    margin-bottom: 0;
    line-height: 1.5em;
    max-width: 780px;
}

section.text_foto h2 {
    font-family: var(--font-semibold);
    margin: 0;
    color: #473E37;
    font-size: clamp(1.2rem, 3vw, 2rem);
}


section.text_foto h2.dec_v1, 
section.text_foto p.dec_v2 {
    position: relative;
}


section.text_foto p.dec_v2,
section.text_foto.rev a.btn {
    margin-bottom: clamp(150px, 15vw, 280px);
}

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

section.text_foto.rev p.dec_v2 {
    margin-bottom: 0px;
    margin-top: 0;
}

section.text_foto h2.dec_v1::before {
    content: '';
    position: absolute;
    bottom: 50%;
    transform: translateY(100%);
    left:calc(40px - clamp(20px, 9vw, 200px));
    height: clamp(30px, 3vw, 40vw);
    aspect-ratio: 1/1;
    background: url('../img/doplnek_b.png') center/contain no-repeat;
}

section.text_foto p.dec_v2::before {
    /* content: ''; */
    position: absolute;
    bottom: 0%;
    transform-origin: center;
    transform: rotate(180deg);
    left:calc(2 * (40px - clamp(10px, 9vw, 200px)));
    width: clamp(40px, 4vw, 50vw);
    aspect-ratio: 1/2;
    background: url('../img/doplnek_a.png') center/contain no-repeat;
}

section.text_foto.rev .dec_v1::before {
    /* content: ''; */
    position: absolute;
    bottom: -30%;
    transform: translateY(100%);
    right:calc(40px - clamp(20px, 9vw, 200px));
    height: clamp(30px, 3vw, 40vw);
    aspect-ratio: 1/1;
    background: url('../img/doplnek_b.png') center/contain no-repeat;
}


section.text_foto.rev p.dec_v2::before {
    right: calc(2 * (40px - clamp(10px, 9vw, 200px)));
    left: unset;
    transform: none;
    bottom: 50%;
}

section.text_foto .btn {
    width: min(228px, 100%);
}

section.text_foto img.podpis,
section.text_pozadi img.podpis{
    width: 15rem !important;
    height: auto;
    margin: 0 !important;
    margin-bottom: 40px !important;
}

div.btns {
    display: flex;
    flex-direction: row;
    gap:15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

section.text_foto div.btns .btn-inverse {
    min-width: min(130px, 100%);
}


@media screen and (max-width:1690px) {
    section.text_foto .img_wrap {
        background-size: contain;
    }
}

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

}


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

        section.text_foto.onas .img_wrap {
        background-size: contain;
    }

    section.foto_text_wrap {
        width: 100%;
    }

    section.text_foto {
        display: grid;
        grid-template-columns: 1fr;
        transform: none;
    }



    section.text_foto p.dec_v2 {
        margin-bottom: 15px;
    }

    section.text_foto .right {
        grid-column: 1;
        grid-row: 3;
        height: 300px;
    }
    section.text_foto .img_wrap {
        max-height: 400px;
        height: 400px;
        width: calc(100% + (2 * var(--padding)));
    }

    section.text_foto h2 {
        margin-top: 25px;
    }

    section.text_foto h2.dec_v1::before {
        right: 0;
        top: -100%;
        transform: none;
        bottom: unset;
        left: unset;
    }

    section.text_foto p.dec_v2::before {
        right: 0;
        transform: rotate(180deg) translateY(-120%) scale(1.2);
        left: unset;
    }



    section.text_foto.rev {
        margin-top: 0;
        transform: none;
    }

    section.text_foto.onas .img_wrap {
        grid-row: 4;
    }


    section.text_foto.rev .img_wrap {
        background-size: 82%;
        grid-row: 2;
        grid-column: 1/-1;
        background-position-x: right;
    }

    section.text_foto.rev p.dec_v2 {
        grid-row: 1;
        grid-column: 1/-1;

    }

    section.text_foto.rev .btn {
        grid-row: 3;
        grid-column: 1/-1;
        position: relative;

    }


    section.text_foto.rev {
        left: calc( clamp(50px, 15vw, 95px) + 20px);
        width: calc(100% - clamp(50px, 15vw, 95px) - 20px);
        
    }



}

@media screen and (max-width: 600px){
    section.text_foto .img_wrap {
        height: 250px;
    }
}

@media screen and (max-width: 345px) {
    section.text_foto.rev .btn {
        width: 200px;
        min-width: 0px;
    }
}

@media screen and (max-width: 400px) {
    section.foto_text_wrap img.dekorace {
        display: none;
    }

    section.text_foto h2 {
        margin-top: 0px;
    }

    section.text_foto.rev {
        left: unset;
        width: 100%;
    }

    section.text_foto .img_wrap {
        width: 100%;
    }

    section.text_foto.onas .img_wrap,
    section.text_foto.rev .img_wrap {
        width: 100%;
    }

    section.text_foto.rev .img_wrap {
        background-size: contain;
        background-position-x: center;
    }
}

/* banner */

section.banner {
    width: var(--min_width_mid);
    margin-inline: auto;
    background: transparent linear-gradient(180deg, #22855E 0%, #20694C 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 10px #2727241A;
    padding: 70px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -85px;
    z-index: 10;
    position: relative;
}

section.banner h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

section.banner section.polozky {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding-block: clamp(25px, 2.3vw, 45px);
}

section.banner section.polozky div.polozka {
    display: grid;
    border-right: 1px solid #16583E;
    grid-template-rows: 51px 1fr;
    justify-items: center;
    padding-inline: 50px;
    gap: 17px;
}

section.banner section.polozky div.polozka:last-of-type {
    border: 0px;
}

section.banner section.polozky div.polozka span {
    color: #fff;
    font-family: var(--font-medium);
}

section.banner section.polozky div.polozka div.img {
    content: '';
    width: 100%;
    height: 100%;
    mask: center/contain no-repeat;
    -webkit-mask:center/contain no-repeat;
    background: var(--druha_barva);
}

section.banner section.polozky div.polozka.svatby div.img {
    mask-image: url('../img/svatby.svg');
    -webkit-mask-image: url('../img/svatby.svg');
}

section.banner section.polozky div.polozka.promoce div.img {
    mask-image: url('../img/promoce.svg');
    -webkit-mask-image: url('../img/promoce.svg');
}

section.banner section.polozky div.polozka.skoleni div.img {
    mask-image: url('../img/firemni_skoleni.svg');
    -webkit-mask-image: url('../img/firemni_skoleni.svg');
}

section.banner section.polozky div.polozka.krtiny div.img {
    mask-image: url('../img/krtiny.svg');
    -webkit-mask-image: url('../img/krtiny.svg');
}

section.banner section.polozky div.polozka.vecirky div.img {
    mask-image: url('../img/firemni_vecirky.svg');
    -webkit-mask-image: url('../img/firemni_vecirky.svg');
}

section.banner section.polozky div.polozka.oslavy div.img {
    mask-image: url('../img/oslavy.svg');
    -webkit-mask-image: url('../img/oslavy.svg');
}

section.banner section.polozky div.polozka.rauty div.img {
    mask-image: url('../img/rauty.svg');
    -webkit-mask-image: url('../img/rauty.svg');
}

@media screen and (max-width: 1520px) {
    section.banner section.polozky {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 20px;
    }

    section.banner section.polozky div.polozka:nth-of-type(4) {
        border: 0px;
    }
}

@media screen and (max-width: 750px) {
    section.banner section.polozky {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    section.banner section.polozky div.polozka:nth-of-type(even) {
        border: 0px;
    }

    section.banner section.polozky div.polozka:last-of-type {
        border: 0px;
        grid-column: 1/-1;
    }

}


section.banner.onas section.polozky {
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 30px;
}

section.banner.onas section.polozky div.polozka {
    grid-template-rows: 51px auto 1fr;
    justify-items: start;
    padding-inline: 30px;
}

section.banner.onas section.polozky div.polozka div.img {
    mask-position: left;
    -webkit-mask-position: left;

}

section.banner.onas section.polozky div.polozka span {
    text-align: left;
}

section.banner.onas section.polozky div.polozka span.popis {
    color: var(--druha_barva);
    font-family: var(--font-regular);
    font-style: italic;
}

section.banner section.text_top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 60px;
}

section.banner section.text_top h2,
section.banner section.text_top h1,
section.banner section.text_top p {
    color: #FFFFFF;
}


section.banner.onas section.polozky div.polozka:last-of-type,
section.banner.onas section.polozky div.polozka:nth-of-type(4) {
    border-right: 1px solid #16583E;
}

section.banner.onas section.polozky div.polozka:first-of-type {
    border-left: 1px solid #16583E;
}

section.banner section.text_top p.right {
    grid-row: 1/4;
    margin-bottom: 40px;
    grid-column: 2;
}

section.banner section.text_top h2 {
    padding-bottom: clamp(20px, 6vw, 110px);
    font-size: clamp(1.1rem, 3vw, 2.2rem);
}

section.banner section.text_top .img.ctyrlistek {
    mask: url('../img/prvky/ctyrlistek.svg') center/contain no-repeat;
    -webkit-mask: url('../img/prvky/ctyrlistek.svg') center/contain no-repeat;
    background: #20694C;
    width: clamp(50px, 100%, 215px);
    aspect-ratio: 1/1;

}

section.banner > * {
    width: min(1180px, 100%);
    margin-inline: auto;
}

section.banner > h2 {
    text-align: center;
}

section.banner > .btn {
    width: fit-content;
}

section.banner.onas {
    margin-bottom: 250px;
}

@media screen and (max-width:1050px) {
    section.banner.onas section.polozky {
        grid-template-columns: repeat(6, 1fr);
        margin-bottom: 30px;
    }

    section.banner.onas section.polozky div.polozka {
        grid-column: span 2;
    }

    section.banner.onas section.polozky div.polozka:nth-of-type(4) {
        border-left: 1px solid #16583E;
        grid-column: 2/4
    }

    section.banner.onas section.polozky div.polozka:nth-of-type(2) {
        border-right: 1px solid #16583E;
    }

    section.banner.onas section.polozky div.polozka:nth-of-type(5) {
        grid-column: 4/6;
    }
}



@media screen and (max-width:730px) {
    section.banner.onas section.text_top {
        grid-template-columns: 1fr auto;
    }

    section.banner.onas section.text_top p.right {
        grid-row: 3;
        grid-column: 1/-1;
    }

    section.banner.onas section.text_top .img.ctyrlistek {
        grid-row: 1/3;
        grid-column: 2;
        width: 80px;
    }
    
}



@media screen and (max-width:600px) {
    section.banner.onas section.polozky {
        grid-template-columns: repeat(4, 1fr);
    }

    section.banner.onas section.polozky div.polozka,
    section.banner.onas section.polozky div.polozka:nth-of-type(4) {
        grid-column: span 2;
    }

    section.banner.onas section.polozky div.polozka:nth-of-type(5) {
        grid-column: 2/4;

    }
    
    section.banner.onas section.polozky div.polozka:nth-of-type(4) {
        border-left: 0px;
    }

    section.banner.onas section.polozky div.polozka:nth-of-type(5),
    section.banner.onas section.polozky div.polozka:nth-of-type(3) {
        border-left: 1px solid #16583E;

    }
}
@media screen and (max-width:450px) {
    section.banner section.polozky {
        display: flex;
        flex-direction: column;
    }

    section.banner section.polozky div.polozka,
    section.banner section.polozky div.polozka:nth-of-type(4) {
        border-inline: 1px solid #16583E !important;
    }

}

@media screen and (max-width:430px) {
    section.banner.onas section.polozky {
        display: flex;
        flex-direction: column;
        gap: 45px
    }

    section.banner.onas section.polozky div.polozka,
    section.banner.onas section.polozky div.polozka:nth-of-type(4) {
        border-inline: 1px solid #16583E;
    }

    section.banner.onas section.polozky div.polozka div.img {
        mask-position: center;
        -webkit-mask-position: center;
    }

    section.banner.onas section.polozky div.polozka span {
        width: 100%;
        text-align: center;
    }
}


section.banner .oval {
    border-radius: 182px;
    padding: clamp(40px, 4vw, 80px) clamp(100px, 9vw, 140px);
    background: #E0BE50;
    display: flex;
    flex-direction: row;
    gap: 50px;
    position: relative;
    margin-bottom: calc(-180px - 70px);
}

section.banner .oval img {
    width: 190px;
    height: 190px;
    aspect-ratio: 1/1;

}

section.banner .oval p {
    margin: 0px;
    display: flex;
    flex-direction: column;
    gap:10px;
    justify-content: space-between;
    line-height: 1.75em;
}

@media screen and (max-width:890px) {
    section.banner .oval {
        flex-direction: column;
        padding: 100px 40px;
    } 
}

@media screen and (max-width:560px) {
    section.banner .oval img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: contain;
    }
}

@media screen and (max-width:450px) {
    section.banner .oval {
        padding: 70px 20px;
        padding-bottom: 120px;
    } 
}

@media screen and (max-width:420px) {
    section.banner .oval {
        padding-top: 30px;
    } 
}


/* out banner */

section.out_banner {
    position: relative;
    z-index: 10;
    background-color: #404040;
    padding: clamp(100px, 9vw, 150px) clamp(120px, 9vw, 175px);
    overflow: hidden;

}

section.out_banner > * {
    width: min(1180px, 100%);
    margin-inline: auto;
}

section.out_banner .img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../img/foto/nenechte.webp') center/cover no-repeat;
    mix-blend-mode: multiply;
    background-attachment: fixed;


}

section.out_banner div.obsah {
    width: var(--min_width);
    margin-inline: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

    position: relative;
    z-index: 1;
}

section.out_banner div.obsah h1 {
    color: #fff;
    margin-bottom: 32px;
}

section.out_banner div.obsah a.blok {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 25px #0000001A;
    border-radius: 7px;

    display: grid;
    grid-template-rows: 140px 1fr;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

section.out_banner div.obsah a.blok img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: all .3s ease-in-out;

}

section.out_banner div.obsah a.blok:hover img {
    transform: scale(1.05);
}

section.out_banner div.obsah a.blok div.text {
    padding: 25px 31px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

section.out_banner div.obsah a.blok div.text span {
    color: var(--nadpisy);
    font-family: var(--font-bold);
    font-size: 1.1rem;
}

section.out_banner div.obsah a.blok div.text h2,
section.out_banner div.obsah a.blok div.text p {
    margin: 0px;
    font-family: var(--font-medium);
}

section.out_banner div.obsah a.blok div.text h2{
    font-family: var(--font-bold);
}

section.out_banner div.obsah a.blok div.text .btn {
    width: 100%;
    text-align: center;
    padding: 15px;
    transform-origin: center;
    min-width: 0px;

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

section.out_banner div.obsah a.blok:hover .btn {
    transform: scale(1.05);
}

section.out_banner div.obsah_wrap {
    width: var(--min_width_mid);
    margin-inline: auto;
    position: relative;
}

section.out_banner div.obsah_wrap::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0px;
    transform: translateY(50%);
    width: 120px;
    aspect-ratio: 1/1;
    background: url('../img/prvky/ctyrlistek.svg') center/contain no-repeat;
}

section.out_banner::before {
    content: '';
    display: block;
    position: absolute;
    right: -30px;
    top: 104px;
    width: 170px;
    aspect-ratio: 1/1;
    background: url('../img/prvky/chmel.svg')  center/contain no-repeat;
    background-position-x: 110%;
}

@media screen and (max-width: 1490px) {
    section.out_banner div.obsah {
        grid-template-columns: repeat(1, 1fr);
        width: min(100%, 400px);
        margin-inline: auto;
    }
}

@media screen and (max-width: 700px) {
    section.out_banner {
        padding-inline: 30px;
    }
}

@media screen and (max-width: 400px) {
    section.out_banner div.obsah a.blok div.text {
        padding: 22px 18px;
    }
}

/* fotogalerie */

section.fotogalerie_tit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;

}

section.fotogalerie_tit img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

section.fotogalerie_tit div.flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


section.fotogalerie_tit .btn {
    text-align: center;
    padding: 15px;
    transform-origin: center;
    transition: all .3s ease-in-out;
}

@media screen and (max-width: 680px){
    section.fotogalerie_tit {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    section.fotogalerie_tit div.flex {
        grid-column: 1/-1;
        grid-row: 1;
    }

}

/* menu */

section.menu_wrap {
    position: relative;
}

section.menu_wrap img.dekorace {
    position: absolute;
    top:20%;
    left: 0;

    width: clamp(50px, 15vw, 95px);
    height: fit-content;
    object-fit: contain;
    object-position: center top;
}

section.menu_wrap img.dekorace.bottom {
    top: unset;
    bottom: 20%;
}

@media screen and (max-width: 1770px) {
    section.menu_wrap img.dekorace {
        transform: translateX(-120%);
    }
}

section.menu_wrap::before {
    content: '';
    display: block;
    position: absolute;
    right: calc(-1 * var(--padding) - 30px);
    top: 40%;
    width: 170px;
    aspect-ratio: 1/1;
    background: url(../img/prvky/chmel.svg) center/contain no-repeat;
    background-position-x: 110%;
}


@media screen and (max-width: 1050px) {
    section.menu_wrap::before {
        width: 85px;
    }

    section.menu_wrap img.dekorace {
        width: 65px;
        transform: translateX(-100%);
    }
}

@media screen and (max-width: 600px) {
    section.menu_wrap::before,
    section.menu_wrap img.dekorace {
        display: none;
    }
}


section.menu_wrap p {
    width: var(--min_width);
    margin-inline: auto;
    font-family: var(--font-medium);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.5em;
    margin-bottom: .7em;
    margin-top: 0px;
}

section.denni_menu  {
    width: var(--min_width);
    margin-inline: auto;
    padding: 20px 40px;
    background: white;
    margin-top: 60px;
}

section.denni_menu div.nabidka_dne {
    width: min(800px, 100%); 
    margin-inline: auto;
    padding-block: clamp(40px, 4vw, 68px);
}

section.denni_menu div.nabidka_dne > .flex {
    display: flex;
    flex-direction: column;
}

section.denni_menu div.nabidka_dne:not(:last-of-type) {
    border-bottom: 5px solid #CA9E6712;
}

section.denni_menu div.nabidka_dne h2 {
    margin: 0;
    font-family: var(--font-regular-2);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
}

section.denni_menu div.nabidka_dne .flex span {
    color: #22855E;
    margin-bottom: 10px;
    font-family: var(--font-medium);
    font-size: 1rem;
    display: block;
}

section.denni_menu div.nabidka {
    display: grid;
    grid-template-columns: auto 1fr auto;
    margin-top: 40px;
    gap:20px 30px;
}

section.denni_menu div.nabidka > h3 {
    grid-column: 1/-1;
    margin-top: 5px;
    margin-bottom: 0px;
}

section.denni_menu div.nabidka span {
    font-family: var(--font-medium);
    font-size: 1.1rem;
}

@media screen and (max-width: 550px) {
    section.denni_menu div.nabidka {
        display: grid;
        gap:20px 10px;
    }
    section.denni_menu div.nabidka span {
        font-size: 1rem;
    }

    section.denni_menu div.nabidka span:has(b) {
        margin-right: 15px;
    }


    section.menu_wrap p {
        font-size: 1rem;
    }
}


@media screen and (max-width: 440px) {
    section.denni_menu div.nabidka {
        display: flex;
        gap:15px;
        flex-direction: column;
    }
    section.denni_menu div.nabidka span:has(b) {
        margin-right: 0px;
    }

    section.denni_menu div.nabidka span:has(b) + span {
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 400px) {
    section.denni_menu {
        padding-inline: 20px;
    }
}





/* fotogalerie */

section.fotogalerie {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 0.5rem;
    grid-row-gap: 0.5rem;
    grid-auto-rows: 18vw;
}

section.fotogalerie:not(:nth-of-type(1)) {
    margin-top: 0.5rem;
}

section.fotogalerie a {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}
section.fotogalerie a::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: #1D1D1B;
    opacity: 0;
    z-index: 2;
    transition: all .125s ease-in-out;
}
section.fotogalerie a::after {
    content: '';
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background:url('../img/ikona_foto.svg') center/cover no-repeat;
    opacity: 0;
    z-index: 3;
    transition: all .125s ease-in-out;
}

section.fotogalerie a:hover::before {
    opacity: 0.6;
}

section.fotogalerie a:hover::after {
    opacity: 1;
}

section.fotogalerie a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}


section.fotogalerie a:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
}
section.fotogalerie a:nth-child(2) {
    grid-column: 2/4;
    grid-row: 1/2;
}
section.fotogalerie a:nth-child(3) {
    grid-column: 4/5;
    grid-row: 1/3;
}
section.fotogalerie a:nth-child(4) {
    grid-column: 5/6;
    grid-row: 1/2;
}
section.fotogalerie a:nth-child(5) {
    grid-column: 1/3;
    grid-row: 2/4;
}
section.fotogalerie a:nth-child(6) {
    grid-column: 3/4;
    grid-row: 2/3;
}
section.fotogalerie a:nth-child(7) {
    grid-column: 5/6;
    grid-row: 2/4;
}
section.fotogalerie a:nth-child(8) {
    grid-column: 3/4;
    grid-row: 3/4;
}
section.fotogalerie a:nth-child(9) {
    grid-column: 4/5;
    grid-row: 3/4;
}


main:has(section.fotogalerie.nopad) {
    padding: clamp(40px, 12vw, 150px) 0px 0px 0px;
}



@media screen and (max-width: 800px) {
    section.fotogalerie {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 30vw;
    }


    section.fotogalerie a:nth-child(3) {
        grid-column: 1/2;
        grid-row: 4/6;
    }
    section.fotogalerie a:nth-child(4) {
        grid-column: 2/4;
        grid-row: 4/5;
    }



    section.fotogalerie a:nth-child(7) {
        grid-column: 2/4;
        grid-row: 5/7;
    }
    section.fotogalerie a:nth-child(9) {
        grid-column: 1/2;
        grid-row: 6/7;
    }

}

@media screen and (max-width: 500px) {
    section.fotogalerie {
        display: block;
    }
    section.fotogalerie a {
        pointer-events: none !important;
        cursor: not-allowed !important;
        margin-bottom: 0.25rem;
    }

    section.fotogalerie a img {
        position: static;
        height: auto;
        object-fit: unset;
        left: unset;
        top: unset;
    }

    section.fotogalerie:not(:nth-of-type(1)) {
        margin-top: unset;
    }
}


/* section jidelni listek rozcestnik */

section.listek {
    padding: 45px 0px;
    width: 100%;
    min-height: 100vh;
    background: url('../img/foto_bg_listek_paralax.jpg') center/cover no-repeat;
}
.flexlistek {
    max-width: 950px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flexlistek a {
    flex-basis: 28%;
    min-width: 260px;
    margin: 1rem;
    background: white;
    border-radius: 7px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0px 0px 25px #0000001A;
}

.flexlistek a:hover {
    transform: scale(1.02);
}

.flexlistek a img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    height: auto;
}

.flexlistek a span {
    font-family: 'libre', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: underline;
    display: block;
    position: relative;
    padding: 3rem 1rem 1.5rem 1rem;
}

.flexlistek a span::before {
    content: '';
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    mask: url('../img/jidelni-listek/ikona_jidelni-listek.svg') center/cover no-repeat;
    -webkit-mask: url('../img/jidelni-listek/ikona_jidelni-listek.svg') center/cover no-repeat;
    background-color: var(--druha_barva);
}

.flexlistek a.jidelni span::before {
    mask-image: url('../img/ikona_jidelni-listek.svg');
    -webkit-mask-image: url('../img/ikona_jidelni-listek.svg');

}

.flexlistek a.napojovy span::before {
    mask-image: url('../img/ikona_napojove-listek.svg');
    -webkit-mask-image: url('../img/ikona_napojove-listek.svg');
}



/* aktuality */


section.akcni {
    padding: clamp(30px, 5.5vw, 100px) 0px;
    width: var(--min_width);
    margin-inline: auto;
    position: relative;
}
section.detailakce {
    padding: 0;
    position: relative;
}

.flexakce.akce2 {
    display: flex;
    justify-content: center;
    gap: 2%;
}
.flexakce.akce2 a.akce {
    flex-basis: 48%;
    margin-bottom: 3rem;
}

.detailnovinky {
    max-width: var(--min_width);
    margin: calc(-1 * clamp(120px, 28vw, 170px)) auto 0 auto;
    background: #FFFFFF;
    box-shadow: 0px 0px 25px #0000001A;
    border-radius: 7px;
    position: relative;
    padding: clamp(22px, 2.5vw, 45px) clamp(30px, 2.8vw, 50px);
    z-index: 10;
}

.detailnovinky div.flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline
}

.detailnovinky div.flex * {
    margin: 0;
    height: fit-content;
}



.detailnovinky p.datum {
    color: var(--druha_barva);
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.detailnovinky a.obrazek {
    display: block;
    width: 100%;
    padding-top: 52%;
    overflow: hidden;
    position: relative;
}

.detailnovinky a.obrazek img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.detailnovinky .btn {
    margin-top: 30px;
    min-width: 0px;
    width: min(230px, 100%);
}

.obsahwsw {
    padding-top: clamp(15px, 2vw, 40px);
    padding-bottom: 1rem;
}

.obsahwsw div.gal {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin-block: 30px 45px;
}

.obsahwsw div.gal.clun {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-block: 30px 45px;
}

.obsahwsw div.gal a {
    width: 100%;
    aspect-ratio: 1/1;
}

.obsahwsw div.gal a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.obsahwsw.pizza ol li {
    margin-bottom: 10px;
}

.obsahwsw.pizza ol li,
.obsahwsw.pizza ol li div,
.obsahwsw.pizza ol li div p,
.prisady div,
.prisady div p {
    color: var(--text);
    font-family: var(--font-bold);
    font-size: 1.25rem;
}

.prisady div,
.prisady div p,
.prisady div p span {
    font-size: 1.1rem;
}

.obsahwsw.pizza ol li div p,
.prisady div p {
    margin: 0px;
    padding: 0px;
    margin-right: auto;
    white-space: normal;

}

.prisady div {
    padding-bottom: 10px;
}

.prisady div p {
    display: flex;
    flex-direction: row;
    gap: 10px
}

.prisady div.krabice  {
    justify-content: space-between;
}

.obsahwsw.pizza ol li div,
.prisady div {
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items: baseline;
    white-space: nowrap;


}

.obsahwsw.pizza hr {
    margin-block: clamp(40px, 5vw, 80px);
}

.obsahwsw.pizza p.claim {
    width: 100%;
    text-align: center;
    font-family: var(--font-regular);
    font-size: 1rem;
}

.obsahwsw.pizza ol li div span {
    font-size: .75em;
}


a.akce {
    background: white;
    padding: 2rem;
    border-radius: 7px;
    box-shadow: 0px 0px 25px #0000001A;

    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;


}
a.akce:hover {
    box-shadow: 0px 0px 25px #27272740;
}



a.akce img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    grid-column: 2;
    grid-row: 1/5;
}
a.akce span.datum {
    color: var(--druha_barva);
    font-size: 14px;
    padding-bottom: 0.75rem;
}
a.akce h1 {
    font-family: var(--font-regular-2);
    font-size: 1.75rem;
    line-height: 1.35em;
    padding-bottom: 0.75rem;
    margin-bottom: 0px;
    color: var(--nadpisy);
}

a.akce p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6em;
    font-family:var(--font-semibold);
    padding-bottom: 1.25rem;
    margin: 0px;
}

a.akce .btn {
    padding: 1rem 2.5rem;
    width: fit-content;
    min-width: 0px;
}

a.akce > *:not(img) {
    grid-column: 1;
}



@media screen and (max-width: 1010px) {
    .flexakce.akce2 {
        flex-direction: column;
        align-items: center
    }

    a.akce {
        width: min(600px, 100%);
    }

    .obsahwsw div.gal {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media screen and (max-width: 700px) {
    .obsahwsw.pizza ol li div p {
        display: flex;
        flex-direction: column;
    }
    
}

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

    a.akce {
        grid-template-columns: 1fr;
    }
    a.akce span.popis,
    a.akce span.nadpis,
    a.akce span.datum {
        padding: 0;
    }


    a.akce span.popis p {
        margin: 0px;
    }

    a.akce > * {
        grid-column: 1;
    }
    a.akce img {
        grid-column: 1;
        grid-row: 4;
    }

    .obsahwsw div.gal {
        grid-template-columns: repeat(4, 1fr);
    }

    .obsahwsw.pizza ol li div p,.obsahwsw.pizza ol li,
    .obsahwsw.pizza ol li div {
        font-size: 1.1rem;
    }

    .obsahwsw.pizza ol {
        padding-left: 24px;
    }
}

@media screen and (max-width: 450px) {
    
    .obsahwsw.pizza ol li div {
        flex-direction: column;
        gap: 4px;
        padding-bottom: 20px;
    }
    .detailnovinky div.flex,
    .prisady div p, 
    .prisady div {
        flex-direction: column;
        gap: 4px;
    }

}

@media screen and (max-width: 400px) {
    .obsahwsw div.gal,
    .obsahwsw div.gal.clun {
        grid-template-columns: repeat(2, 1fr);
    }

    .obsahwsw.pizza ol li div span {
        font-size: .65em;
    }


}

@media screen and (max-width: 380px) {
    .obsahwsw.pizza ol li div p,.obsahwsw.pizza ol li,
    .obsahwsw.pizza ol li div {
        font-size: 1.1rem;
    }



}


/* kontakt */


/* kontakty */

.kontaktbox {
    max-width: var(--min_width);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    
    margin-inline: auto;
}

.kontaktbox > *:not(iframe) {
    grid-column: 1;
}

.kontaktbox > iframe.map,
.kontaktbox > iframe.street {
    grid-column: 2;
    grid-row: 1/4;
    height: 100%;
    width: 100%;
}

.kontaktbox > iframe.street {
    grid-row: 4/6;
}

.kontaktbox .addr.ico,
.kontaktbox .tel.ico,
.kontaktbox .mail.ico,
.kontaktbox .ico * {
    color: var(--text);
    font-family: var(--font-medium);
}

.kontaktbox .ico a {
    color: inherit;
    font-family: var(--font-semibold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all .3s ease-in-out;
}

.kontaktbox .ico a:hover {
    text-underline-offset: 15px;
    text-decoration-color: transparent;
}



.kontaktbox .addr.ico::before,
.kontaktbox .tel.ico::before,
.kontaktbox .mail.ico::before {
    background-color: var(--text);
    margin-top: 6px;
}



.kontaktbox p.adresa, .kontaktbox p.adresa2 {
    padding-left: 1.3rem;
    margin-top: 0;
    margin-bottom: 0.3rem;
}
.kontaktbox p.adresa2 {
    margin-bottom: 2rem;
}

p.adresa3 {
    margin-top: 2rem;
    margin-bottom: 0;
    color: #ff2929;
    font-family: 'medium', sans-serif;
}
p.adresa4 {
    margin: 0;
}

.radek {
    display: flex;
    flex-direction: row;
}

.radek .tecky {
    padding: 0 0 0 0;
    width: 100%;
    margin: 0 0.5rem !important;
    border-bottom: 1px dotted black;
}

.oteviracka {
    margin-top: 2rem;
    width: 100%;
    max-width: 320px;
    padding: 1.3rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 25px #0000001A;
}
.oteviracka p.tucne {
    margin-top: 0;
    padding-bottom: 0;
}
.oteviracka .radek {
    margin-bottom: 0.5rem;
}

.oteviracka .radek .den,
.oteviracka .radek .hodiny {
    white-space: nowrap;
}

@media screen and (max-width: 770px) {
    .kontaktbox {
        grid-template-columns: 1fr;
    }
    
    .kontaktbox > * {
        grid-column: 1;
    }
    
    .kontaktbox > iframe.map,
    .kontaktbox > iframe.street {
        grid-column: 1;
        grid-row: 4;
        width: 100%;
        aspect-ratio: 3/2;
    }

    .kontaktbox > iframe.street {
        grid-row: 5;
    }
}



/* uni template*/




/* FORM */

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


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

section.form_wrap h2 {
    font-family: var(--font-medium);
    color: #FFFFFF;
    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.sep input:not(:last-of-type) {
    margin-bottom: 15px;
}

section.form_wrap section.textarea_wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

section.form_wrap section.sep label {
    grid-row: 1;
    margin-bottom: 8px;
}


section.form_wrap label, section.form_wrap input, section.form_wrap textarea {
    font-family: var(--font-book);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: #ffffff;
}

section.form_wrap input, section.form_wrap textarea {
    padding: 10px 15px;
    width: 100%;

    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 2px solid #6F8EB2;
    border-radius: 5px;
}

section.form_wrap textarea {
    resize: vertical;
}

section.form_wrap > section.for_captcha {
    grid-column: 1;
    grid-row: 4;
    transform-origin: top left;
    width: 50%;
    /* transform: scale(.77); */
    position: relative;
    min-height: 65px;
    min-width: 240px;
}

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

section.form_wrap .btn {
    grid-column: 2;
    margin-left: auto;
    cursor: pointer;
    background: #09B28A 0% 0% no-repeat padding-box;
    border-radius: 5px;
}


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

    section.form_wrap label {
        color: #b9b9b9;
    }
}

@media screen and (max-width:740px) {
    section.form_wrap .btn {
        grid-column: 1;
        margin: 0;
    }
}


@media screen and (max-width:620px) {
    section.kontakt_page section.form_gal {
        grid-template-columns: repeat(1, 1fr);
    }

    
}


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

    section.form_wrap section.sep input:first-of-type {
        margin-bottom: 20px;
    }
}

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



/* 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-regular-2);
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    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-family: var(--font-medium);
}

section.tit a.btn {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

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(--text);
    font-family: var(--font-medium);
    text-decoration: underline;
    cursor: pointer;
    transition: 0.125s ease-in-out all;
}

p a:not([class]) {
    color: var(--hlavni_barva);
}

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







/*section.tit p::after, */.decor::after {
    content: '';
    display: block;
    width: 70px;
    height: 5px;
    background-color: var(--druha_barva);
    position: relative;
    bottom: -50px;
    left: 0;
}
/*

section.tit p {
    padding-left: calc(clamp(25px, 3vw, 50px) + 20px);

}
section.tit p::after {
    bottom: 50%;
    height: 2px;
    width: clamp(25px, 3vw, 50px);
    left: calc((clamp(25px, 3vw, 50px) + 20px )* -1)
}*/



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


section.tit h1 span {
    color: var(--tit_h1_in);
    font-size: 1.1em;
    font-family: inherit;
}

h1 span {
    color: var(--tit_h1_in);
    font-family: inherit;
    font-size: inherit;
}

section.tit h3 {
    font-family: var(--font-book);
    color: white;
    font-size: clamp(1rem, 1.2vw,1.5rem);
    padding-block: 15px;
}




h3 a {
    color: var(--hlavni_barva);
    text-decoration: underline !important;
    transition: all .2s ease-in-out;

}

h3 a:hover {
    filter: brightness(.7);
    text-decoration: none !important;
}

h1 {
    color: var(--nadpisy);
    font-family: var(--font-regular-2);
    font-size: clamp(1.45rem, 6vw, 3.1rem);;
    /* margin: 0 0 clamp(4rem, 7vw, 6rem) 0;   */
    margin: 0 0 10px 0;  
    position: relative;
    line-height: 1.15em;
}

h2 {
    font-family: var(--font-medium);
    color: var(--nadpisy);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    margin: 55px 0 1rem 0;  
}
h3{
    font-family: var(--font-semibold);
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    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%);
}


/* rest */


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

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

/* ----- */







/* FOOTER */

footer{
    position:relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-sizing: border-box;
    gap:100px;
    width: 100%;
    top:0;
    left:0;
    height: fit-content;
    background: var(--foot_bg);
    -webkit-user-drag: none;
    box-sizing: border-box;
    padding: 100px var(--padding) 30px var(--padding);

    background: #22855E;
}

footer::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(40%, 750px);
    background: #20694C;
}

footer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    aspect-ratio: 3/2;
    display: block;
    opacity: .8;
    background: url('../img/foto_pata.png') left center/contain no-repeat;
}

footer div.kalendar {

}

footer .btn {
    width: 100%;
    text-align: center;
    padding: 15px;
    transform-origin: center;
    transition: all .3s ease-in-out;
}

footer h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-regular-2);
}

footer .addr,
footer .tel,
.ico.addr,
.ico.tel,
.ico.mail,
.ico.lod {
    display: flex;
    gap: 10px;
    color: white;
    align-items: flex-start;
    font-size: 1.1rem;
    font-family: var(--font-medium);
}

footer .tel {
    font-family: var(--font-semibold);
}

footer img.klobouk {
    position: absolute;
    right: 30px;
    bottom: 0px;
    height: clamp(250px, 20vw, 400px);
    aspect-ratio: 1/1;
}

@media screen and (max-width: 1500px) {
    footer img.klobouk {
        right: 15px;
        height: 200px;
        object-position: bottom;
}
}

footer section.footer_wrap {
    display: grid;
    grid-template-columns: repeat(3, 223px);
    gap: 10px;
    width: var(--min_width);
    margin-inline: auto;
    justify-content: space-between
}

footer section.footer_wrap::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    max-width: 47vw;
    height: 100%;
    aspect-ratio: 3/2;
    display: block;
    background: url('../img/ctyrlistek_pata.svg') center/50% no-repeat;
}

footer * {
    z-index: 1;
}


footer section.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;

    height: 100%;

}

footer section.oteviraci {
    display: flex;
    flex-direction: column;
}

footer section.oteviraci div.line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    padding-block: 8px;

}

footer section.oteviraci div.line:not(:last-of-type) {
    border-bottom: 1px solid #16583E;
}


footer section.kontakty a.ico::before,
main.kontakt section.karta a.ico::before,
section.telefon p::before,
footer .addr::before,
footer .tel::before,
.ico.addr::before {
    content: '';
    background: url('../img/ikona_telefon.svg') center/contain no-repeat;
    width: .85em;
    aspect-ratio: 1/1;
    display: block;
}

section.telefon p.tel::before,
footer .tel::before,
.ico.tel::before,
.ico.mail::before,
.ico.lod::before {
    content: '';
    mask: url('../img/ikona_telefon.svg') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_telefon.svg') center/contain no-repeat;
    width: .85em;
    aspect-ratio: 1/1;
    background: white;
}
section.telefon p.mail::before,
.ico.mail::before {
    mask: url('../img/ikona_email.svg') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_email.svg') center/contain no-repeat;
    width: .95em;
    aspect-ratio: 1/1;

    background: white;
}

section.telefon p.addr::before,
footer .addr::before,
.ico.addr::before {
    mask: url('../img/ikona_mapa.svg') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_mapa.svg') center/contain no-repeat;
    width: .85em;
    background: white;
    display: block;
}

.ico.lod {
    gap:8px

}
.ico.lod::before {
    mask: url('../img/ikona_clun.svg') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_clun.svg') center/contain no-repeat;
    width: 1.1em;
}


footer section.oteviraci div.line span {
    color: #fff;
}


footer section.logo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

footer div.soc {
    display: flex;
    width: 100%;
    gap: 15px;
    margin-top: 45px;
}

footer div.soc a,
.preload a{
    width: 42px;
    height: 42px;
    background: center/contain no-repeat;
    display: block;
    transition: all .3s ease-in-out;
    cursor: pointer;
}
footer div.soc a:hover {
    transform-origin: center;
    transform: scale(1.1);
}

footer div.soc a.fb {
    background-image: url('../img/ikona_fb.svg');
}
footer div.soc a:hover.fb,
.preload a.fb {
    background-image: url('../img/ikona_fb.svg');
}

footer div.soc a.ig {
    background-image: url('../img/ikona_insta.svg');
}

footer div.odkazy {
    display: flex;
    width: fit-content;
    gap: 15px;

    margin-top: auto;
    cursor: pointer;
}
footer div.odkazy a {
    font-size: .9rem;
    font-family: var(--font-regular);
    color: white
}

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

footer section.kontakty div.odkazy a:hover {
    text-decoration-color: transparent;
    text-underline-offset: 15px;

}

footer section.nav {
    height: 100%;
}

footer section.nav section.odkazy_nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 15px clamp(35px, 6vw, 100px);
}

footer section.nav section.odkazy_nav a {
    display: inline-block;
    font-family: var(--font-book);
    color: var(--text_footer);
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer section.nav section.odkazy_nav a:hover {
    color: white;
    text-decoration: underline;
    text-underline-offset: 15px;
    text-decoration-color: transparent;
}



footer section.nav ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    height: 100%;
    gap:25px;
}

footer section.nav ul li {
    list-style: none;
}

footer section.nav a {
    font-size: 1.15rem;
    text-underline-offset: 15px;
    text-decoration: underline;
    text-decoration-color: transparent;
    color: var(--text);
    font-family: var(--font-medium);
    transition: 0.125s ease-in-out all;

}

footer  section.nav li.sipka_dolu {
    display: flex;
    flex-direction: column;
    text-decoration-color: transparent;
    gap:20px;
    position: relative;
}

footer  section.nav li.sipka_dolu a {
    width: fit-content;
}

footer section.nav a:hover {
    text-underline-offset: 5px;
    text-decoration-color: var(--text);
}

footer  section.nav ul li ul {
    transition: all .3s ease-in-out;
    padding-left: 15px;
    max-height: 10vh;

    margin-block: 20px;
}

footer  section.nav ul li ul:not(.visible) {
    display: none;
    max-height: 0px;
    transition: all .3s ease-in-out;
} 

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

}

@media screen and (max-width: 1170px) and (min-width: 860px){

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

    footer section.rezervace {
        max-width: 250px;
        margin-left: auto;
    }

    footer div.soc {
        grid-column: 1;
        grid-row: 3;
    }

    footer div.odkazy {
        grid-column: 1/-1;
        grid-row: 4;
        margin-inline: auto;
    }

    footer::before {
        aspect-ratio: 1/1;
        background-position: top left;
        max-width: 400px;
        opacity: .6;
    }



}


@media screen and (max-width: 1060px) {
    footer section.footer_wrap::before {
        aspect-ratio: 1/1;

    }

}


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


    footer section.container.rezervace {
        grid-column: 1/-1;
        margin-top: 40px;
    }


    footer::after {
        width: 100%;
        height: 48%;
        top: unset;
        bottom: 0px;
    }

    footer::before {
        width: 100%;
        height: 55%;
        aspect-ratio: unset;
    }

    footer section.footer_wrap::before {
        bottom: 0px;
        width: 100%;
        top: unset;
        height: 40%;
        background-size: contain;
        background-position: right;
    }

    footer .btn {
        width: fit-content;
    }
}

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

    footer {
        padding-top: 35px;
    }

    footer::before {
        background: url('../img/foto_pata_bezorezu.png') left top/contain no-repeat
    }

}

/* meho podpisy */

p.autor {
    position: relative;
    width: fit-content;
    font-size: 17px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    color: var(--meho_c);
    font-family: var(--font-book);
    text-decoration: none;
    margin-bottom: 10px;
    align-items: flex-start;
    width: 100%;
}

a.meho {
    /* padding: 0.4rem 0 0.4rem 0rem; */
    transition: 0.3s all ease-in;
    text-align: right;
    font-size: .9rem;
    line-height: 15px;
    display: flex;
    align-items: center;
    border-radius: 3px;
    color: var(--meho_c);
    font-family: var(--font-book);

    align-items: baseline;
    /* opacity: 55%; */

}

a.meho span {
    transition: 0.3s all ease-in;
    font-size: .9rem;
    line-height: 15px;
    color: var(--meho_c);
}
a.meho span.dia, a.meho span.me {
    position: relative;
    width: 0px;
    left: 0;
    bottom: 0;
    display: inline-block;
    overflow: hidden;
}
p.autor:hover{
    text-decoration: none;

}
a.meho:hover {
    background: #1DB094;
    color: #D7DF21;
    padding: 0.4rem 1rem;
    opacity: 100%;

}
a.meho:hover span.mh {
    color: white;
}
a.meho:hover span.dia {
    width: 25px;
    text-align: left;
    color: white;
}
a.meho:hover span.me {
    width: 40px;
    text-align: left;
    color: #D7DF21;
}

/* V2 */



footer p.meho {
    box-sizing: border-box;
    text-align: center;
    font-family: var(--font-book);
    font-size: .9rem;
    width: fit-content;
    color: var(--text_footer);
    text-decoration: none;

    justify-content: center;
    color: var(--druha_barva);
    margin: 0;
}


footer p.meho span {
    font-size: .9rem;
    color: var(--text_footer);
    font-family: var(--font-book);
}



/* podpis kontakt */

p.autor.kontakt {
    justify-content: flex-end;
    max-width: var(--web_max_w);
    margin: auto;
    padding-inline: var(--padding);
    bottom: 50px;
    left: 0px;
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    overflow: visible;
}


@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: 5px;
        padding-top: var(--section_telefon_heigth);;
    }
    header.full_open {
        padding-top: 0px;
        height: var(--header_mobile_height_scroll);
        
    }
    

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


    a.logo {
        padding-top: 0;
        height: 100%;
    }

    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 {
        position: absolute;
        top: 77px;
        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;
    }

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


    }

    header::after {
        content: '';
        position: absolute;
        width: 20%;
        right: 0px;
        height: calc(100% - var(--section_telefon_heigth));
        bottom: 0;
        background: transparent;
        z-index: 10;
    }

    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: 400px;
        aspect-ratio: 2/1.3;
    }

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


    }

        section.tit div.buttons {
            grid-template-columns: auto auto;
            margin-top: 10px;
        }
    
        section.tit div.buttons .btn, section.tit div.buttons .btn-inverse {
            min-width: 0px;
            width: fit-content;
            max-width: 187px;
            padding-inline: 18px;
            padding-block: 15px;

        }




    /* ----- */




    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 {
        margin-top: calc(var(--header_mobile_height) - 50px);
        top: -2px;
        /* aspect-ratio: unset; */
        padding-top: 0px;
    }

    section.tit.podstrana {
        aspect-ratio: 8 / 1;
        min-height: 240px;
        max-height: 461px;
    }

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

    section.tit::before {
        transform: none;
    }


    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 {
        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: 450px) {
    a.logo .img {
        background: var(--logo_small);
    }
}

@media screen and (max-width: 440px) {
    section.tit h1 {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
    }
}


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



/* --- */




/*
@media screen and (max-width:568px)  {
    section.tit > div img {
        transform: translateY(0%);
    }
    section.tit {
        min-height: clamp(695px, 100vh, 740px);
    }
}
*/




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

.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-family: var(--font-regular);
    font-weight: normal;
}

.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 !important;
    background-color: #a8a6a6 !important;
    border: 1px solid #a8a6a6;
    transition: all .2s ease-in-out;

}

.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 .2s ease-in-out;
}

.termsfeed-com---palette-light .cc-nb-okagree:hover,
.termsfeed-com---palette-light .cc-cp-foot-save:hover,
.termsfeed-com---palette-light .cc-nb-reject:hover {
    transform-origin: center;
    transform: scale(1.02);
    filter: brightness(.8);
}

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


/* print */
.for_print {
    color: white;
    display: none;
}

/* denni menu */
@media print {
    section.tit.podstrana::before,
    section.tit.podstrana img,
    section.menu_wrap img.dekorace,
    header,
    section.telefon,
    section.menu_wrap::before,
    footer {
        display: none !important;
    }

    * {
        padding: 0;
        margin: 0;
    }

    section.tit.podstrana {
        min-height: 0px;
        height: fit-content;
        aspect-ratio: unset;
        padding-top: 0px;
        margin-top: 0px;
    }

    section.tit.podstrana > div.obsah h1,
    .for_print {
        text-shadow: unset !important;
        color: var(--text) !important;
        padding: 0 !important;
        margin-top: 3px;
        font-size: 1rem !important;
        
    }

    section.denni_menu {
        padding: 0px;
    }

    section.tit > div.obsah,
    section.denni_menu,
    section.denni_menu div.nabidka_dne {
        width: 100%;
        padding: 0;
    }

    section.denni_menu {
        margin-top: 0px;
        padding: 0px;
    }

    main {
        padding: 0;
        padding-top: 10px;
    }

    body.bg {
        background: transparent;
    }


    section.denni_menu div.nabidka_dne {
        page-break-inside: avoid;
        padding-top: 12px;
        padding-bottom: 0px;
        border: 0px !important;
    }

    section.menu_wrap > p {
        font-size: 0.85rem;
        display: none;
    }
    section.denni_menu div.nabidka_dne .flex span {
        font-size: .7rem;
        margin-bottom: 2px;
        order: 2;
    }

    section.denni_menu div.nabidka_dne .flex h2 {
        font-size: .7rem;
        order: 1;
    }

    section.denni_menu div.nabidka_dne .flex {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }

    section.denni_menu div.nabidka h3 {
        font-size: .7rem;
    }

    section.denni_menu div.nabidka {
        margin-top: 3px;
        gap: 2px 10px;
    }

    section.denni_menu div.nabidka span {
        font-size: .65rem;
    }

    .for_print {
        display: inline;
    }

    .obsah .flex_tisk .btn {
        display: none;
    }
    
}

.obsah .flex_tisk {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 30px;
}

.obsah .flex_tisk .btn {
    border: 0px;
    padding: 10px;
        width: fit-content;
        min-width: 0px;
        margin-bottom: clamp(8px, 1vw, 12px);
}

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


    .obsah .flex_tisk {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px

    }
}