

* {

    font-family:"proxima-nova";
    --font_novatica: "bc-novatica-cyr" ,sans-serif;

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



    font-weight: var(--w_regular);

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

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

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

    --logo_pata: url("../img/logo_1000.webp") left/contain no-repeat;
    --logo_pata_hover: url("../img/logo_1000.webp") left/contain no-repeat;



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

    --web_max_w: 2000px;
    --header_logo_height: clamp(50px, 8vw, 120px);
    --header_logo_height-full: clamp(40px, 6vw, 80px);
    --header_mobile_height: 70px;
    --header_mobile_height_scroll: 70px;

    --header_logo_height-pata: clamp(80px, 11vw, 200px);


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


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

    --hlavni_barva: #084266;
    --druha_barva: transparent linear-gradient(90deg, #22B3E8 0%, #4767FF 90%) 0% center/140% no-repeat padding-box;
    --druha_hover: transparent linear-gradient(90deg, #22B3E8 0%, #4767FF 90%) 100% center/140% no-repeat padding-box;

    --nadpisy:#084266;
    --text: #333333;
    --a_color: #373737;
    --marker: #C4C4C4;
    --light: #7B7B7B;

    --textmenu: #084266;
    --textmenu-full: #084266;
    --textmenuhover: #22B3E8;
    --textsubmenu: #084266;
    --textsubmenuhover: #22B3E8;

    --submenu_background: #ffffff;
    --submenu_background-hover: rgb(234, 234, 234);
    --submenu_background-btn: #ffffff;


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


    --textcontent: #2C2829;
    --header_bg: transparent;
    --header_bg_full: rgb(255, 255,255,.74);;
    --header_mobile_open: #ffffff;

    



    --text_footer: #6F8EB2;
    

    --menu_open_time: .4s;
    --menu_bg: #d9ab02;
    --foot_bg: transparent;
    --foot_bg-mobile: transparent;


    --meho_c: #101010;

    /* tato sablona */

    --c1: #22B3E8;
}

@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:-webkit-any-link {
    text-decoration: none;
}



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


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

}

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

}


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

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

a.logo.pata {
    height: var(--header_logo_height-pata);
    margin-inline: auto;
}

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

}

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

header.full_open a.logo {
    
}

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

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


/* Menu */

.menu_open {
    display: none;
}

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


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

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

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

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


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

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

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

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

}

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

}


@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(.9rem, 1.25vw, 1.25rem);
    display: block;
    width: fit-content;
    height: fit-content;
    padding: min(.6vw, .8rem) min(1vw, 1.2rem); /*bez ::beforu*/
    /* padding: min(0.8vw, 1rem) min(1.6vw, 2rem) min(0.8vw, 1rem) min(1.6vw, 2rem); */
    /* padding: min(.8vw, 1rem) .5em min(.8vw, 1rem) min(1.6vw, 2rem); */
    cursor: pointer;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;


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

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

}


.menu > ul > li::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.active)::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.active {
}
.menu > ul > li:hover > a, .menu > ul > li > a.active {
    color:var(--textmenuhover);

    /* text-decoration: underline 4px var(--textmenuhover); */
    text-underline-offset: 15px;
}


.menu > ul > li > a.active::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.active  {
    /* text-decoration-color: white; */
}



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

}

/* první submenu */

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

    position: absolute; 
    height: fit-content;
    top: 94%; 
    left: 0;
    width: max-content;
    min-width: 100%;

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

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


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

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

    position: relative;
    cursor:pointer;

    color: var(--textsubmenu);
}


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

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

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

.menu ul li > ul li li {
    background: #DCDCDC;
}

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

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

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

.menu ul li > ul li > button.show_menu {
    width: 37px;
    height: 32px;
    margin: 13px 17px 13px 0px;
    background: var(--hlavni_barva);
    border-radius: 5px;
    transition: all .3s ease-in-out;
}


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


.menu ul li > ul li > button.show_menu::before {
    content: '';
    min-width: clamp(8px, .5vw, 10px);
    min-height: clamp(8px, .5vw, 10px);
    mask: url('../img/ikona_sipka.svg') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_sipka.svg') center/contain no-repeat;
    background-color: white;
    z-index: 1;
    transform-origin: center;
    transform: rotate(90deg);
    transition: all .3s ease-in-out;
}

.menu ul li > ul li > button.show_menu.open::before {
    transform: rotate(270deg);
}





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


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



.menu ul li > ul li a {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    /* text-align: center; */
    text-transform: none;
    white-space: nowrap;
    position: relative;
    transition-delay: 0s;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    flex-direction: row;
    align-items: center;
    padding: 13px 17px;
    gap: 40px;
    justify-content: space-between;
    color:var(--textsubmenu);
    transition: all .2s ease-in-out;
    z-index: 1;
    /* text-decoration: underline; */
    text-decoration-color: transparent;
}

.menu ul li > ul li:hover,
.menu ul li > ul li a.active {
    /* color:var(--textsubmenuhover); */
    /* text-decoration-color: var(--textsubmenuhover); */
    background: var(--submenu_background-hover);
}

/* MAIN */

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

main::after {
    right: 0px;
    top:0px;
}


main.nopad {
    padding: 0px;
}

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


main.white {
    background: white;
}


/* BTNS */

.btn{
    width: fit-content;
    background: var(--druha_barva);
    height: fit-content;
    display: flex;
    text-align: center;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    font-family: var(--font_novatica);
    font-weight: var(--w_regular);
    color: white;
    padding: 1.1em 1.85em;
    transition: all .3s ease-in-out;
    box-sizing: border-box;
    align-items: center;
    border-radius: 35px;
    justify-content: space-between;
    gap:15px;
    border: 0px;
}

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

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

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

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

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

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

}



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

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

.btn:hover::after {
    transform: translateX(30%);
}



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

/* uni template*/




/* FORM */




/* checkbox */

/*

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

*/

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

/* Hide the browser's default checkbox */
label.souhlas input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
/* Create a custom checkbox */
.checkmark {
position: relative;
height: 25px;
width: 25px;
border-radius: 2px;
background-color: #eee;
transition: all .2s ease-in-out;
}

/* 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: #68C52B;
}

/* 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 #f8f8f8;
border-width: 0 3px 3px 0;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}


/* ------- */



/*TEXTY */

section.tit h1 {
    color: var(--tit_h1);
    font-weight: var(--w_bold);
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    text-align: left;
    margin-bottom: 0;
    line-height: 1.15em;

    position: relative;
    /* text-shadow: 0px 5px 10px #0000008C; */
}

section.tit h1::after {
    content: '';
    position: absolute;
    left: 0px;
    bottom: calc(-.25 * clamp(50px, 6vw, 107px));
    width: .8em;
    height: 3px;
    background: var(--c1);
}


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


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



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

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

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




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


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

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

h2 {
    color: var(--nadpisy);
    font-family: var(--font_novatica);
    font-weight: var(--w_medium);

    font-size: clamp(1.1rem, 1.8vw, 1.8rem);
    margin: 0 0 1.2em 0;
}

h2:not(:first-child) {
    margin-top: 2.5em;
}
h3{
    font-family: var(--font_novatica);
    font-weight: var(--w_medium);
    font-size: clamp(1.05rem, 1.25vw, 1.25rem);
    color: var(--nadpisy);

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

h5{
    font-size: clamp(1rem,1.1vw, 1.05rem);
    color: var(--text);
    margin-top: 20px;
    margin-bottom: 0;
}



.center {
    text-align: center;
    margin-inline: auto;
}
.decor {
    width: fit-content;
    position: relative;
    padding-bottom: 30px;
    display: block;
}


.decor::after 
{   content: '';

    position: absolute;
    bottom: 0;
    left: 0%;
    height: 3px;
    background: var(--c1);
    width: 20%;
}

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

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

/* pro wysivyg */

.obsah_clanku h2,
.obsah_clanku h1,
.obsah_clanku h3,
.obsah_clanku h4,
.obsah_clanku h5 {
    color: var(--nadpisy);
}

.obsah_clanku h2 *,
.obsah_clanku h1 *,
.obsah_clanku h3 *,
.obsah_clanku h4 *,
.obsah_clanku h5 * {
    font: inherit;
    color: var(--nadpisy);
}

.obsah_clanku h2 b,
.obsah_clanku h1 b,
.obsah_clanku h3 b,
.obsah_clanku h4 b,
.obsah_clanku h5 b,
.obsah_clanku h2 strong,
.obsah_clanku h1 strong,
.obsah_clanku h3 strong,
.obsah_clanku h4 strong,
.obsah_clanku h5 strong {
    font-weight: var(--w_medium);
}


.obsah_clanku hr {
    width: 100%;
    border-style: dashed;
    border-color: var(--text);
    margin-block: 35px;
}

.obsah_clanku img {
    max-width: 100%;
    object-fit: contain;
}

.obsah_clanku .doc {
    color: var(--hlavni_barva);
}

.obsah_clanku table {
    min-width: min(450px, 100%);
    width: fit-content;
    border-spacing: 0px;
}

.obsah_clanku table tr td {
    padding-bottom: 0.6em;
    padding-top: 0.6em;
    padding-inline: 0.85em;
    border-bottom: 1px solid #D6D6D6;
}

.obsah_clanku table tr td span {
    font-family: inherit;
    font-size: inherit;
}



.galery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    max-width: 600px;
    gap: 10px;
    margin-top: 45px;
}

.galery a.first {
    grid-column: 1/-1;
}

.galery a {
    width: 100%;
    height: 100%;
    display: block;
}

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

@media screen and (max-width: 450px) {
    .galery {
        grid-template-columns: repeat(4, 1fr);
    }
}

a.files {
    display: flex;
    gap: 8px;
    width: fit-content;
    margin-bottom: 10px;
    color: var(--nadpisy);
    font-weight: var(--w_medium);
    text-decoration: underline;
}

a.files::before {
    content: '';
    width: 1.1em;
    aspect-ratio: 1/1;
    background: var(--hlavni_barva);

    mask: url('../img/ikona_dokumenty.webp') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_dokumenty.webp') center/contain no-repeat;
}



.obsah_clanku .img-left,
.obsah_clanku .img-right,
.obsah_clanku .img-middle,
.obsah_clanku .clanek_wrap > p > img,
.obsah_clanku .clanek_wrap > img[class=""] {
    width: min(350px, 100%);
    height: auto;
    object-fit: contain;
}

.obsah_clanku .img-left {
    float: left;
    margin-right: 20px;
}

.obsah_clanku .img-right {
    float: right;
    margin-left: 20px;
}


.obsah_clanku .img-middle {
    display: block;
    margin-inline: auto;
}


@media screen and (max-width:800px) {
    .obsah_clanku table tr  {
        display: flex;
        flex-direction: column;
    }

    .obsah_clanku table tr td:first-of-type {
        font-weight: bold;
    }

    .obsah_clanku table tr td:not(:last-of-type) {
        border: 0px;
    }
}

.obsah_clanku tr:nth-of-type(odd) td {
    background: #F8F8F8;
}

@media screen and (max-width: 450px) {
    .obsah_clanku .galery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1570px) {
    .obsah_clanku {
        margin-left: 0px;
    }
}


/* rest */


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

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

/* ----- */




/* titulka */

section.tit {
    position:relative;
    top:0;
    left:0;
    /* margin-top:calc(-162px + var(--padd_under_header)); */
    /* padding-top: 150px; */
    width:100%;
    height: fit-content;
    background: white;
    overflow: hidden;

    aspect-ratio: 16/8.1;    
    background: var(--main_c);
    min-height: 400px;
    max-height: 1080px;
    transition: all .3s ease-in-out;
    display: flex;
    
}


section.tit.podstrana {
    aspect-ratio: 32 / 9;
    min-height: 400px;
    max-height: 540px;
}

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




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

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


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


section.tit.podstrana > img {
    object-position: center 92%;
}
section.tit > div.obsah {
    position: relative;
    width: var(--min_width-padd);
    margin-inline: auto;
    gap: clamp(25px, 4vw, 63px);
    padding-inline: var(--padding);

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

    padding-top: var(--padd_under_header);
    padding-bottom: clamp(25px, 6vw, 111px);
}



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




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

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




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

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

/* custom styly */

main.bg {
    background-color: var(--hlavni_barva);
}

main.bg2 {
    background-color: #0842660D;
}

.bg3 {
    background: transparent linear-gradient(180deg, #0842660D 0%, #052B4208 60%, #04213300 100%) 0% 0% no-repeat padding-box;
}

.bg4 {
    background: transparent linear-gradient(180deg, #0842660D 0%, #052B4208 92%, #04213300 100%) 0% 0% no-repeat padding-box;
}

.mt12 {
    margin-top: clamp(35px, 7vw, 120px);
}

section.text_foto {
    padding-inline: var(--padding);
    padding-block: calc(.8 * var(--padding));
    width: var(--min_width-padd);
    margin-inline: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

section.text_foto.rev {
    grid-template-columns: 1fr 1.5fr;
    padding-inline: 0px;
    width: var(--min_width);
}

section.text_foto.rev.onas {
    grid-template-columns: 1fr 1fr;
}

section.text_foto.right {
    grid-template-columns: 1fr 1.4fr;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin: 0;
    margin-left: auto;
    width: min(100%, calc(1920px - var(--padding)));
    
}

section.text_foto.right.thx {
    display: block;
}

section.text_foto.right.ebook {
    grid-template-columns: 1.1fr 1fr;
}

section.text_foto.right.ebook h1 {
    padding-top: clamp(40px, 5vw, 80px);
}

section.text_foto.right h1 {
    font-family: var(--font_novatica);
    font-weight: var(--w_semibold);
    font-size: clamp(1.75rem, 3.5vw, 3.7rem);
}

section.text_foto.right.v_pad h1 {
    padding-top: clamp(30px, 5.5vw, 100px);
}

section.text_foto.right.v_pad p {
    padding-bottom: clamp(30px, 5.5vw, 100px);
}

main.bg section.text_foto h1,
main.bg section.text_foto p {
    color: white;
}

section.text_foto h1,
section.text_foto p {
    color: var(--hlavni_barva);
}

section.text_foto h1 {
    border-bottom: 1px solid var(--c1);
    font-weight: var(--w_medium);
    margin: 0px;
    padding-bottom: 20px;
}

section.text_foto p {
    font-weight: var(--w_regular);
    padding-block: 2.2em;
    margin: 0px;
}

section.text_foto p,
section.text_foto h1 {
    padding-right: clamp(30px, 10vw, 200px);
}

section.text_foto.right p,
section.text_foto.right h1 {
    padding-right: clamp(30px, 5vw, 80px);
}

section.text_foto h1.line {
    border-bottom: 0px;
    height: fit-content;
    margin-top: auto;
    position: relative;
}

section.text_foto h1.line::after {
    content: '';
    width: 60px;
    height: 2px;
    background-color: var(--c1);
    position: absolute;
    bottom: -15px;
    left: 0px;
}

section.text_foto.rev p,
section.text_foto.rev h1 {
    padding-right: 0px;
    margin-left: clamp(30px, 10vw, 200px);
    color: var(--text);
}

section.text_foto.rev.onas p,
section.text_foto.rev.onas h1 {
    margin-left: clamp(30px, 8vw, 140px);
}

section.text_foto.rev.onas p,
section.text_foto.rev.onas.v_pad p {
    font-size: clamp(.95rem, 1.4vw, 1.1rem);
}

section.text_foto.rev p {
    line-height: 2em;
    border-top: 1px solid var(--c1);
    margin-top: 2.2em;
}

section.text_foto.rev.onas p,
section.text_foto.rev.onas h1 {
    border: 0px;
    margin-top: 0px;
}

section.text_foto.rev .btn,
section.text_foto.rev > img.hobza {
    margin-left: clamp(30px, 10vw, 200px);
}

section.text_foto > img {
    width: 100%;
    object-fit: contain;
    grid-column: 2;
    grid-row: 1/4;
}

section.text_foto.right > img {
    grid-row: 1/3;
}

section.text_foto.rev > img.hobza {
    grid-column: unset;
    grid-row: unset;
    width: clamp(70px, 5.5vw, 95px);
    aspect-ratio: 1/1;
}

section.text_foto.rev > iframe {
    grid-column: 1;
    grid-row: 1/4;

    width: 100%;
    height: 100%;
}


section.text_foto .img_wrap {
    width: 100%;
    height: 100%;
    position: relative;

    grid-column: 2;
    grid-row: 1/3;
}



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

section.text_foto.short .img_wrap {
    width: calc(100% - calc(2*var(--padding)));
}

@media screen and (max-width: 1280px) {
    section.text_foto.rev.onas.video {
        grid-template-columns: 1fr;

    }

    section.text_foto.rev.onas.video p, 
    section.text_foto.rev.onas.video h1 {
        margin: 0px;
    }

    section.text_foto.rev.onas.video iframe {
        aspect-ratio: 16/9;
        width: min(500px, 100%);
        grid-row: 3;
    }
}

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

@media screen and (max-width: 820px) {
    section.text_foto.rev,
    section.text_foto.rev.onas {
        grid-template-columns: auto 1fr;

    }

    section.text_foto.rev > *,
    section.text_foto.rev.onas > * {
        grid-column: 1/-1;
        grid-row: unset;
    }

    section.text_foto.rev > iframe,
    section.text_foto.rev.onas > iframe {
        grid-row: 3;
        aspect-ratio: 16/9;
        grid-column: 1/-1;
    }

    section.text_foto.rev .btn,
    section.text_foto.rev > img.hobza {
        margin-left: 0px;
    }

    section.text_foto.rev .btn {
        margin-top: 35px;
        grid-column: 1/-1;
        grid-row: 4;
    }

    section.text_foto.rev > img.hobza {
        grid-column: 1;
        align-self: center;
        margin-right: 30px;
    }

    section.text_foto.rev p {
        margin-left: 0px;
        grid-column: 2;
        border-bottom: 0px;
        border-bottom: 1px solid var(--c1);
        margin-block: 1.2em;
        border-top: 0px;
    }
}

@media screen and (max-width: 765px) {
    section.text_foto h1 {
        grid-column: 1/-1;
        padding-right: 0px;
    }

    section.text_foto img {
        grid-row: 2/4;
        grid-column: 2;
    }

    section.text_foto.right > img,
    section.text_foto .img_wrap {
        grid-column: 2;
        grid-row: 2;
    }

    section.text_foto.right.v_pad {
        grid-template-columns: 1fr;
    }

    section.text_foto .img_wrap {
        grid-row: 3;
        aspect-ratio: 4/3;
        width: min(100%, 400px);
    }

    section.text_foto .img_wrap img,
    section.text_foto.short .img_wrap img {
        width: 100%;
    }

    section.text_foto.right.v_pad > * {
        grid-column: 1;
    }
}

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

    section.text_foto.ebook img,
    section.text_foto.right.ebook > img {
        grid-row: 2;
        grid-column: 1;
        width: min(200px, 100%);
        padding-top: 20px;
    }

    section.text_foto.right.ebook p {
        padding-top: 10px;
    }

    section.text_foto.right.ebook h1::after {
        bottom: 0px;
    }
}

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

    
    section.text_foto p {
        padding-right: 0px;
    }

    section.text_foto img,
    section.text_foto.right > img {
        grid-row: 2;
        grid-column: 1;
        width: min(200px, 100%);
    }

    section.text_foto.right > img,
    section.text_foto .img_wrap {
        padding-top: 20px;
    }

    section.text_foto.rev:not(.onas) p,
    section.text_foto.rev img.hobza {
        grid-column: 1/-1;
        padding-top: 0;
    }

    section.text_foto.right h1::after {
        bottom: 0px;
    }

    section.text_foto.right p {
        padding-top: 10px;
    }

    section.text_foto p {
        text-align: justify;
    }

}


section.problemy {
    width: var(--min_width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: clamp(40px, 5.5vw, 95px);
}

section.problemy > img.sklenka {
    width: clamp(70px, 5.5vw, 90px);
    aspect-ratio: 1/1;
    margin-bottom: 10px;
    object-fit: contain;
    margin-inline: auto;
}

section.problemy > h1,
section.problemy > p,
section.problemy > img.sklenka {
    grid-column: 1/-1;
}
section.problemy > h1,
section.problemy > p {
    margin: 0px;
}
section.problemy > p,
section.problemy > h1 {
    text-align: center;
    width: 100%;
    font-weight: var(--w_medium);
    font-family: var(--font_novatica);
}

section.problemy > p {
    border-bottom: 2px solid #21b3e833;
    padding-bottom: clamp(20px, 3vw, 50px);
    color: var(--nadpisy);
    margin-bottom: clamp(40px, 5vw, 80px);

}

section.problemy .problem {
    display: flex;
    flex-direction: column;
}

section.problemy .problem img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

section.problemy .problem h2 {
    position: relative;
    font-size: clamp(1.1rem, 1.65vw, 1.6rem);;
}

section.problemy .problem h2::after {
    content: '';
    width: 60px;
    height: 2px;
    background-color: var(--c1);
    position: absolute;
    left: 0;
    bottom: calc(-.25 * clamp(20px, 3vw, 50px));
}

section.problemy .problem p {
    font-weight: var(--w_light);
    font-size: 1.1rem;
}

section.problemy .banner {
    grid-column: 1/-1;
    width: 100%;
    padding-block: clamp(80px, 8vw, 140px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px clamp(40px, 5vw, 90px);
    background: url('../img/foto_podklad_1500x1200.jpg') 0% 61%/cover no-repeat;
    margin-top: clamp(40px, 4.5vw, 80px);
}

section.problemy .banner > h2 {
    grid-column: 1/-1;
    font-family: var(--font_novatica);
    font-size: clamp(1.5rem, 2.8vw ,2.5rem);
    color: white;
    text-align: center;
    margin-bottom: 15px;
}

section.problemy .banner .sipka_leva {
    margin-left: auto;
    transform: translateY(-37%);
    margin-bottom: -100%;
}

section.problemy .banner .sipka_prava {
    transform: translateY(-41%);
    margin-bottom: -100%;

}

section.problemy .banner .btn {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

section.problemy .banner > .btn::before {
    content: '';
    position: absolute;
    top: calc(0% - 7px);
    left: calc(0% - 7px);
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 41px;
    border: 2px solid var(--c1);
    opacity: 0.5;
    transform-origin: center center;
    z-index: -1;

}

section.problemy .banner .reseni_wrap {
    grid-column: 1/-1;
    display: none;
    flex-direction: column;  
    width: min(95%, 975px);
    margin-inline: auto;
}

section.problemy .banner .reseni_wrap .reseni {
    display: grid;
    grid-template-columns: auto auto 1fr;
    border-bottom: 1px solid rgba(255, 2555, 255, 0.15);
    padding-block: clamp(20px, 2.5vw, 43px);
    padding-inline: 10px;
    gap: 25px clamp(20px, 3.5vw, 50px);

}

section.problemy .banner .reseni_wrap .reseni h2 {
    grid-column: 2/-1;
    color: white;
    margin: 0px;
    font-size: clamp(1.3rem, 1.8vw ,1.8rem);
}


section.problemy .banner .reseni_wrap .reseni h2 span.color {
    font: inherit;
    color: var(--c1);
}

section.problemy .banner .reseni_wrap .reseni p {
    font-weight: var(--w_light);
    color: white;
    margin-bottom: 0px;
    margin-top: 8px;
}

section.problemy .banner .reseni_wrap .reseni .btn {
    white-space: nowrap;
    margin-left: auto;
}


section.problemy .banner .reseni_wrap .reseni img {
    width: clamp(80px, 10vw, 120px);
    height: clamp(80px, 10vw, 120px);
    object-fit: cover;
    border-radius: clamp(80px, 10vw, 120px);
    grid-row: 1/3;

}



/* animovani */
section.problemy .banner > img,
section.problemy .banner #rev_solu,
section.problemy .banner,
section.problemy .banner > .btn::before,
section.problemy .banner .sipka_prava,
section.problemy .banner .sipka_leva {
    transition: all .3s ease-in-out;
}

section.problemy .banner.start > .btn::before {
    transform: scale(2);
}

section.problemy .banner.start .sipka_prava {
    transform: translateX(100%);
}

section.problemy .banner.start .sipka_leva {
    transform: translateX(-100%);
}

section.problemy .banner.start > img,
section.problemy .banner.start #rev_solu {
    opacity: 0;
}

section.problemy .banner.start.solu > img,
section.problemy .banner.start.solu #rev_solu {
    display: none;
}

section.problemy .banner .reseni_wrap {
    max-height: 0px;
    overflow: hidden;
    transition: all .3s ease-in-out;
}
section.problemy .banner.start .reseni_wrap {
    display: flex;
}

section.problemy .banner.solu .reseni_wrap {
    max-height: 1300px;
}

section.problemy .banner.solu.end .reseni_wrap {
    max-height: unset;
}

section.problemy .banner.solu {
    padding-top: calc(0.5 * clamp(80px, 8vw, 140px));
}


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

    section.problemy .problem {
        width: min(100%, 250px);
        margin-bottom: 30px;
    }

    section.problemy .problem:nth-of-type(odd) {
        margin-left: auto;
    }
}


@media screen and (max-width: 670px) {
    section.problemy .banner > img {
       display: none;
    }

    section.problemy .banner {
        grid-template-columns: 1fr;
        justify-items: center
    }


    section.problemy .banner .reseni_wrap .reseni img {
        width: 65px;
        height: 65px;
        border-radius: 65px;
        grid-row: 1;
    }
    section.problemy .banner .reseni_wrap .reseni p {
        grid-column: 1/3;
    }

    section.problemy .banner .reseni_wrap .reseni h2 {
        align-self: center;
    }
}


@media screen and (max-width: 530px) {
    section.problemy .banner .reseni_wrap .reseni {
        display: flex;
        flex-direction: column;
    }

    section.problemy .banner .reseni_wrap .reseni .btn {
        margin-left: 0px;
    }

    section.problemy .banner .reseni_wrap .reseni h2 {
        align-self: unset;
    }

}

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

    section.problemy .problem {
        margin-inline: auto;
    }

}


/*  Sekce řešení  */

section.reseni_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 1120px);
    gap: 20px;
    margin-inline: auto;
}

section.reseni_wrap h1 {
    color: white;
    grid-column: 1/-1;
    text-align: center;
    width: 100%;
    margin-bottom: clamp(20px, 2.3vw, 40px);
}

section.reseni_wrap .reseni {
    background-color: rgba(255, 2555, 255, 0.03);
    padding: clamp(15px, 2.2vw, 35px) clamp(20px, 3vw, 50px);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;


    min-height: 200px;
    height: fit-content;
}

section.reseni_wrap .reseni h2 {
    font-family: var(--font_novatica);
    font-weight: var(--w_medium);
    font-size: clamp(1.1rem, 1.8vw, 1.85rem);
}

section.reseni_wrap .reseni h2,
section.reseni_wrap .reseni p {
    color: white;
    padding: 0;
    margin: 0px;
}

section.reseni_wrap .reseni p {
    font-weight: var(--w_light);
}

section.reseni_wrap .reseni p,
section.reseni_wrap .reseni a {
    font-size: clamp(.95rem, 1.1vw, 1.1rem);

}

section.reseni_wrap .reseni p span {
    font: inherit;
    color: inherit;
}

section.reseni_wrap .reseni p:first-of-type {
    margin-bottom: auto;
}

section.reseni_wrap .reseni h2,
section.reseni_wrap .reseni p:not(.sep),
section.reseni_wrap .reseni hr,
section.reseni_wrap .reseni .more {
    grid-column: 1/-1;
}


section.reseni_wrap .reseni p.sep {
    white-space: nowrap;
    margin-top: auto;
}

section.reseni_wrap .reseni span.open_more {
    color: var(--c1);
    font-weight: var(--w_medium);
    text-decoration: underline;
    margin-left: auto;
    cursor: pointer;
    margin-top: auto;
}

section.reseni_wrap .reseni .more {
    overflow: hidden;
    max-height: 0px;
    transition: all .7s ease-in-out;
}
section.reseni_wrap .reseni .more img.product {
    width: min(120px,100%);
    aspect-ratio: 1/1;
    border-radius: 100px;
    object-fit: cover;
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

section.reseni_wrap .reseni .more p {
    padding-bottom: 10px;
}

section.reseni_wrap .reseni .more.open {
    max-height: 800px;
}

@media screen and (max-width: 1090px) and (min-width: 640px),
    screen and (max-width: 420px) {
    section.reseni_wrap .reseni .more img.product {
        display: block;
        float: none;
        margin-left: 0;
    }
}

@media screen and (max-width: 910px) {
    section.reseni_wrap .reseni p.sep {
        white-space: wrap;
        display: flex;
        flex-direction: column;
    }

    section.reseni_wrap .reseni a {
        margin-top: auto;
    }

    section.reseni_wrap .reseni p span.w,
    section.reseni_wrap .reseni p span.cw {
        white-space: nowrap;
    }
}

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

    section.reseni_wrap .reseni p.sep {
        white-space: nowrap;
        display: block;
    }
}

@media screen and (max-width: 450px) {
    section.reseni_wrap .reseni p.sep {
        white-space: wrap;
        display: flex;
    }
}

section.postupy {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    gap: 15px;
    width: min(100%, 1520px);
    margin-inline: auto;
}

section.postupy h1 {
    width: 100%;
    text-align: center;
    margin-bottom: clamp(30px, 4vw, 70px);
}

section.postupy h1,
section.postupy .btn {
    grid-column: 1/-1;
}

section.postupy .btn {
    margin-inline: auto;
    margin-top: 40px;
}

section.postupy .blok {
    display: flex;
    flex-direction: column;
    width: min(100%, 300px);
}

section.postupy .blok h2 {
    color: var(--nadpisy);
    font-weight: var(--w_medium);
    font-size: clamp(1.4rem, 3vw, 3rem);
    margin: 0px;
}

section.postupy .blok p {
    font-weight: var(--w_semibold);
    margin: 0px;
    color: var(--nadpisy);
    font-size: clamp(1.1rem, 1.8vw, 1.85rem);

}

section.postupy .blok hr {
    margin-block: 30px;
}


@media screen and (max-width: 780px) {
    section.postupy {
        grid-template-columns: repeat(2, auto);
        width: fit-content;
        gap: 35px 20px;
    }

    section.postupy .blok hr {
        margin-block: 15px;
    }
}

@media screen and (max-width: 450px) {
    section.postupy {
        grid-template-columns: repeat(1, auto);
    }

    section.postupy .blok {
        align-items: center;
    }

    section.postupy .blok hr {
        margin-block: 15px;
    }

    section.postupy .blok h2,
    section.postupy .blok p {
        text-align: center;
    }
}

section.poradime {
    width: min(100%, 1210px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: clamp(400px, 50vw, 670px) 1fr;
    justify-content: space-between;
    gap: 15px;
    margin-top: clamp(80px, 11vw, 200px);


    transition: max-height 1.75s ease-in-out, opacity 1.75s ease-in-out;
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
}

section.poradime.show,
section.poradime.alone {
    max-height: 1500px;
    opacity: 1;
}

section.poradime.alone {
    margin-top: 40px;
    gap: 35px;
    max-height: unset;
    grid-template-columns: 1fr clamp(400px, 50vw, 670px);

}


section.poradime > h1 {
    grid-column: 1/-1;
    font-weight: var(--w_medium);
    font-family: var(--font_novatica);
    text-align: center;
    margin-bottom: clamp(20px, 2.5vw, 45px);
}

section.poradime iframe {
    grid-column: 1/-1;
    width: 100%;
    aspect-ratio: 16/9;
    min-height: 350px;
}


/* FORM */

section.form_wrap {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 2px 8px 15px #0000001A;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px 25px;
    margin-top: 0px;
    padding: clamp(25px, 2.5vw, 50px);
}

section.form.ebook {
    margin-inline: auto;
    width: min(100%, calc(1920px - (1 * var(--padding))));
    margin-top: 50px;
    padding-inline: var(--padding);
}

section.form.ebook section.form_wrap > section.for_captcha {
    grid-row: 4;
}

section.form_wrap h2 {
    font-weight: var(--w_semibold);
    color: var(--nadpisy);
    margin: 0;
    grid-column: 1/-1;
    text-align: center;
}
section.form_wrap p {
    text-align: left;
    margin: 0;
    width: fit-content;
}

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

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

section.form_wrap section.sep.flex {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    width: fit-content;
}

section.form_wrap input[type="checkbox"] {
    width: fit-content;
}

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

}

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

section.form_wrap section.sep label,
section.form_wrap label,
section.form_wrap p {
    font-weight: var(--light);
    color: var(--text);
    font-size: 1.1rem;
}

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


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

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

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

section.form_wrap input, section.form_wrap textarea,
section.form_wrap input:focus-visible, section.form_wrap textarea:focus-visible {
    padding: 10px 15px;
    width: 100%;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #BEBEBE;
    border-radius: 5px;
}

section.form_wrap textarea {
    resize: vertical;
}

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

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

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


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

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

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


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

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

}


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



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

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

    section.poradime,
    section.poradime.alone {
        grid-template-columns: 1fr;
        width: fit-content;
        margin-inline: auto;
    }

    section.zavolejte {
        margin-inline: auto;
        grid-row: 2;
        margin-bottom: 40px;
    }

    section.poradime.alone section.zavolejte {
        grid-row: 1;
    }



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




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


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

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

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

    
}

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

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

    section.poradime,
    section.form {
        width: 100%;
    }

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

    section.form.ebook section.form_wrap > section.for_captcha {
        grid-row: 5;
    }
}


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


/* zavolejte */


section.zavolejte {
    width: fit-content;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section.zavolejte h2 {
    margin-bottom: clamp(25px, 3vw, 50px);
}

section.zavolejte .blok {
    background-color: var(--hlavni_barva);
    padding: clamp(20px, 3vw, 50px) clamp(15px, 2.8vw, 42px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

section.zavolejte .blok h2,
section.zavolejte .blok a,
section.zavolejte .blok p {
    color: white;
    margin: 0px;
}

section.zavolejte .blok a {
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    font-weight: var(--w_medium);
    width: fit-content;
}

section.zavolejte .blok p {
    font-size: 1.1rem;
    font-weight: var(--w_light);
    line-height: 1.75em;
    margin-top: 20px;
}

section.zavolejte .blok hr {
    margin: 0px;
}

section.zavolejte .blok h2 {
    font-weight: var(--w_medium);
    font-family: "proxima-nova", sans-serif;

}

section.zavolejte .blok img {
    width: clamp(70px, 5.5vw, 95px);
    aspect-ratio: 1/1;
    object-fit: contain;
}


/* blog */

section.blog.grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(30px, 5vw, 81px) clamp(50px, 6.5vw, 120px);
    margin-top: clamp(30px, 4vw, 70px);

    width: min(100%, 1520px);
    margin-inline: auto;
}


section.blog.grid .clanek {
    width: 100%;
}




section.blog.grid .clanek img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    transform-origin: center;

}

section.blog.grid .clanek .img_wrap {
    display: block;
    z-index: 1;
    overflow: hidden;
    
}


section.blog.grid .clanek .text {
    padding: clamp(15px, 2vw, 30px);
    background: white;

    padding-left: 0px;
    width: calc(100% - calc(2 * clamp(15px, 2vw, 30px)));
    margin-top: -40px;
    position: relative;
    left: 0px;
    transform: translateX(0%);
    z-index: 2;
    
}

section.blog.grid .clanek:hover .text {
    padding-left: clamp(10px, 2.5vw, 20px);
    margin-left: calc((100% - (100% - calc(2 * clamp(15px, 2vw, 30px)) + clamp(10px, 2vw, 20px))) / 2 );
    width: calc(100% - calc(2 * clamp(15px, 2vw, 30px)) + clamp(10px, 2vw, 20px));
}

section.blog.grid .clanek .img_wrap,
section.blog.grid .clanek .text,
section.blog.grid .clanek img {
    transition: all .3s ease-in-out;
}



section.blog.grid .clanek .text h2 {
    margin-bottom: 25px;
    padding-bottom: 25px;
    position: relative;
}

section.blog.grid .clanek .text h2::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--c1);
    bottom: 0px;
    left: 0px;
    position: absolute;
}

section.blog.grid .clanek .text p {
    font-weight: var(--w_light);
    color: var(--text);
}

section.blog.grid .clanek .text .sipka {
    color: var(--c1);
    text-decoration: underline;
    text-decoration-color: var(--c1);
    display: flex;
    gap: 10px;
    transition: all .3s ease-in-out;
}

section.blog.grid .clanek:hover .text .sipka {
    text-decoration-color: transparent;
}

section.blog.grid .clanek .text .sipka::after {
    content: '';
    position: relative;
    width: 1.1em;
    aspect-ratio: 1/1;
    mask: url('../img/ikon_sipka.png') center/contain no-repeat;
    -webkit-mask: url('../img/ikon_sipka.png') center/contain no-repeat;
    background: var(--c1);
    transition: all .3s ease-in-out;
}

section.blog.grid .clanek:hover .text .sipka::after {
    transform: translateX(10px);
}


section.blog.grid > a.btn {
    grid-column: 1/-1;
    margin-inline: auto;
}

/* na titulce */

section.blog.grid.on_tit {
    grid-template-columns: 1fr;
    margin-bottom: clamp(30px, 4vw, 70px);
}

section.blog.grid.on_tit h1 {
    text-align: center;
}



/* ---- */

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

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


    section.blog.grid .clanek .text {
        padding: 10px;
        width: calc(100% - 10px);
    }

    section.blog.grid .clanek:hover .text {
        padding-left: 5px;
        width: calc(100% - 5px);
    }


}

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

@media screen and (min-width: 640px) {
    section.blog.grid.on_tit .clanek {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        width: min(100%,980px);
        margin-inline: auto;
    }

    section.blog.grid.on_tit .clanek:hover .text {
        transform: translateX(calc(-.8 * clamp(15px, 2vw, 30px)));
        margin-left: 0px;
    }

    section.blog.grid.on_tit .clanek .text {
        padding-left: clamp(15px, 2vw, 30px);
        width: 100%;
        margin-top: 0px;
        top: clamp(15px, 2vw, 30px);

    }
}


.galery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    max-width: 600px;
    gap: 10px;
    margin-top: 45px;
}

.galery a.first {
    grid-column: 1/-1;
}

.galery a {
    width: 100%;
    height: 100%;
    display: block;
}

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

@media screen and (max-width: 450px) {
    .galery {
        grid-template-columns: repeat(4, 1fr);
    }
}


a.files {
    display: flex;
    gap: 8px;
    width: fit-content;
    margin-bottom: 10px;
    color: var(--nadpisy);
    font-weight: var(--w_medium);
    text-decoration: underline;
}

a.files::before {
    content: '';
    width: 1.1em;
    aspect-ratio: 1/1;
    background: var(--hlavni_barva);

    mask: url('../img/ikona_dokumenty.webp') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_dokumenty.webp') center/contain no-repeat;
}

.obsah_clanku .img-left,
.obsah_clanku .img-right,
.obsah_clanku .img-middle,
.obsah_clanku p img,
.obsah_clanku img[class=""] {
    width: min(350px, 100%);
    height: auto;
    object-fit: contain;
}

.obsah_clanku .img-left {
    float: left;
    margin-right: 20px;
}

.obsah_clanku .img-right {
    float: right;
    margin-left: 20px;
}


.obsah_clanku .img-middle {
    display: block;
    margin-inline: auto;
}



section.blog.detail > .img_wrap img {
    width: 100%;
    height: 100%;
    aspect-ratio: 10/3.35;
    width: min(1500px, 100%);
    min-height: 320px;
    object-fit: cover;
}


section.blog.detail > .text_wrap,
section.blog.detail > .img_wrap {
    padding-inline: var(--padding);
}

section.blog.detail .text_wrap {
    margin-top: -130px;
}

section.blog.detail.uni .text_wrap {
    margin-top: clamp(70px, 7vw, 130px);
}

section.blog.detail.uni .text_wrap .obsah_clanku {
    transform: translateY(calc(-1 * clamp(25px, 3.5vw, 58px)));
    box-shadow: 2px 8px 15px #0000001A;

}

section.blog.detail .text_wrap .obsah_clanku {
    width: min(812px, 100%);
    margin-right: calc(var(--padding) * 2);
    margin-left: auto;
    background: white;
    padding: clamp(25px, 3.5vw, 58px);
    position: relative;
    z-index: 2;
}

section.blog.detail .text_wrap .obsah_clanku p,
section.blog.detail .text_wrap .obsah_clanku li,
section.blog.detail .text_wrap .obsah_clanku span {
    font-weight: var(--w_light);
}

section.blog.detail .text_wrap .obsah_clanku p a,
section.blog.detail .text_wrap .obsah_clanku li a,
section.blog.detail .text_wrap .obsah_clanku span a {
    display: inline;
    font: inherit;
    color: inherit;
    font-weight: var(--w_regular);
}



/* reference */


section.ref.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.2vw, 40px) 16px;
    margin-top: clamp(40px, 4vw, 70px);

}

section.ref.grid div.blok {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: clamp(35px, 3vw, 58px) clamp(30px, 3vw, 50px);
    background: #F2F5F7;
}

section.ref.grid div.blok::after {
    content: '';
    position: absolute;
    bottom: calc(.5 * clamp(35px, 3vw, 58px));
    right: calc(.5 * clamp(30px, 3vw, 50px));
    height: calc(.5 * clamp(35px, 3vw, 58px));
    width: calc(.5 * clamp(30px, 3vw, 50px));

    mask: url('../img/ikona_apostrof.svg') center/contain no-repeat;
    -webkit-mask: url('../img/ikona_apostrof.svg') center/contain no-repeat;
    background: var(--hlavni_barva);
}

section.ref.grid div.blok p {
    font-size: 1.1rem;
    font-weight: var(--w_light);
    margin: 0 0 auto 0;
}

section.ref.grid div.blok h2 {
    margin: 0px;
    display: flex;
    flex-direction: column;
}

section.ref.grid div.blok h2 span {
    font-size: 1.1rem;
    font-weight: var(--w_light);
}


section.ref.grid div.blok img {
    width: clamp(80px, 6.5vw, 120px);
    object-fit: contain;
    margin-bottom: clamp(20px, 2.2vw, 40px);
}

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

@media screen and (max-width: 690px) {
    section.ref.grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-inline: auto;
    }
}

main.nobot {
    padding-bottom: clamp(35px, 3vw, 50px);
}

.prislusenstvi {
    display: flex;
    flex-direction: column;
    gap: 40px
}

.prislusenstvi.top {
    padding-top: clamp(35px, 3vw, 50px);
}

.prislusenstvi .wrap {
    width: var(--min_width_small);
    margin-inline: auto;
}

.prislusenstvi .wrap.flex {
    display: flex;
    flex-direction: column;
    gap: 40px
}

            
.prislusenstvi .block {
    display: grid;
    grid-template-columns: 2fr 3fr;

}      

.prislusenstvi .block .img_wrap {
    width: 100%;
    height: 100%;
    position: relative;
    background: white;
}

.prislusenstvi .block .img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left top;
    position: absolute;
    left: 0;
    top: 0;
}

.prislusenstvi .block .text {
    padding: clamp(25px, 3vw, 54px);
    background: white;
}

.prislusenstvi .block .more.open {
    max-height: 800px;
    padding-block: clamp(20px, 2.5vw, 40px);
}

.prislusenstvi .block .more {
    overflow: hidden;
    padding: clamp(25px, 3vw, 54px);
    padding-block: 0px;
    max-height: 0px;
    grid-column: 1/-1;
    transition: all .5s ease-in-out;
}

.prislusenstvi .block span.open_more {
    color: var(--c1);
    font-weight: var(--w_medium);
    text-decoration: underline;
    cursor: pointer;

    display: flex;
    gap: 6px;
}

.prislusenstvi .block h2 {
    font-weight: var(--w_semibold);
    font-size: clamp(1.35rem, 2vw, 2rem);
}

.prislusenstvi .block span.open_more,
.prislusenstvi .block p,
.prislusenstvi .block li {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    font-weight: var(--w_medium);
}

.prislusenstvi .block li {
    font-weight: var(--w_light);
}

.prislusenstvi .block span.open_more::after {
    content: '';
    width: 1em;
    width: 1em;
    background: url('../img/ikona_rozbalovak.svg') center/contain no-repeat;
    transform-origin: center;
    transition: all .5s ease-in-out;
}

.prislusenstvi .block ul {
    padding-left: 1.35em;
}
.prislusenstvi .block ul li::marker {
    color: var(--c1);
}


.prislusenstvi .block span.open_more.used::after {
    transform: rotate(-180deg);
}

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

    .prislusenstvi .block .img_wrap {
        aspect-ratio: 1/1;
        max-height: 400px;
    }

    .prislusenstvi .block .more.text {
        padding-top: 0px;
    }

    .prislusenstvi .wrap.flex,
    .prislusenstvi .wrap {
        max-width: 400px;
        margin-inline: auto;
    }
}


/* FOOTER */

footer{
    position:relative;
    width: 100%;
    background: var(--foot_bg);
    box-sizing: border-box;
    display: flex;
    padding: clamp(30px, 5.5vw, 100px) 0 30px 0;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 80%;
    aspect-ratio: 1/1;
    background: url('../img/pata_logo_blur.webp') bottom left/contain no-repeat;
}

footer img.decor-top {
    width: 100%;
    object-fit: contain;
}

footer section.footer_wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    gap: 10px;
    width: 100%;
    width: var(--min_width-padd);
    padding: 0 var(--padding);
    margin-inline: auto;
    margin-block: clamp(35px, 4vw, 65px);
    gap: 0px clamp(40px, 5.5vw, 80px);
}


footer section.footer_wrap .kontakt {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px clamp(30px, 4.5vw, 80px);
    background: var(--hlavni_barva);
    padding: clamp(20px, 3.5vw, 60px) clamp(70px, 8vw, 140px);
    grid-row: 1/3;
    grid-column: 2;
}

footer section.footer_wrap .kontakt > a:not(.btn),
footer section.footer_wrap .kontakt span {
    color: white;
    font-weight: var(--w_medium);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    white-space: nowrap;
    grid-column: 1/-1;
}

footer section.footer_wrap .kontakt .btn,
footer section.footer_wrap .kontakt a.fb {
    margin-top: clamp(20px, 3vw, 40px);
}

footer section.footer_wrap .kontakt span{
    padding-bottom: 32px;
    border-bottom: 1px solid var(--c1);
}

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

footer section.footer_wrap .kontakt a.fb {
    background: url('../img/ikona_facebook_55x55.svg') center/contain no-repeat;
    width: 55px;
    aspect-ratio: 1/1;
    grid-column: 2;
}

footer section.footer_wrap div.odkazy {
    grid-column: 1;
    grid-row: 2;
}

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

footer div.odkazy a,
footer div.odkazy a span {
    cursor: pointer;
    white-space: nowrap;
}

footer div.odkazy p,
footer div.odkazy a,
footer div.odkazy a span {
    font-size: .9rem;
    font-weight: var(--w_light);
    color: var(--text);
    margin: 0px;
}

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

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

footer div.odkazy .sep {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

footer span {
    color: var(--nadpisy);
    font-size: 1.15rem;
    display: block;
}

footer span:first-child {
    margin-bottom: 18px;
}

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

@media screen and (max-width: 920px) {
    footer section.footer_wrap div.odkazy {
        grid-row: 3;
        grid-column: 1/-1;
        margin-top: 30px;
    }
}

@media screen and (max-width:880px) {
    footer .for_logo span{
        margin-top: 25px;
        font-size: 1rem;
    }
}

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


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

    footer section.footer_wrap .kontakt {
        grid-row: 2;
        grid-column: 1;
        padding-inline: 25px;
    }

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

    footer::before {
        height: unset;
        width: 80%;
    }

}

@media screen and (max-width: 400px) {
    footer section.footer_wrap .kontakt a.fb {
        grid-column: 1;
    }

    footer section.footer_wrap .kontakt {
        grid-template-columns: 1fr;
    }

    footer section.footer_wrap .kontakt > a:not(.btn), 
    footer section.footer_wrap .kontakt span {
        font-size: .95rem;
    }
}



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


/* ikony */


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

.ico {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

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

}

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

}

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

}

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

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

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

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

}

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

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

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

/* checkbox */

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

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

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

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

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

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

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


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


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

}



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

/* default 768px */

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

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

    


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

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

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

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

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

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


    }



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

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

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

    .menu > ul > li.sipka_dolu > ul {
        padding-right: calc(min(1.6vw, 2rem) + 20px);
        grid-column: 1/-1;

    }

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

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

    }

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


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

    }

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

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







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

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

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

    header.full_open .menu_open {
        top: calc((var(--header_mobile_height_scroll) - 25px) /2);

    }

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


    }

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

    }

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

    }


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

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

    }

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

    }

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



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

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

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

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


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

    .menu > ul {
        gap: 0;

    }



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

    .menu ul li a {
        font-size: 1.1rem;
        padding-block: .5rem;
        text-align: left;
        box-shadow: none;
        background: transparent;
        text-decoration: none !important;
        border-radius: 0;
        display: flex;
        justify-content: flex-end;

    }

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

    }

    .menu ul li > ul li {
        justify-items: end;
        border: 0px !important;
    }

    .menu ul li > ul li a {
        grid-template-columns: 1fr;
        text-align: right;
        width: fit-content;

    }
    
    .menu ul li > ul li > ul {
        grid-column: 1;
        top: 0px;
    }

    .menu ul li > ul li > ul.open {
        padding-bottom: 20px;
    }

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

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

    




    /* --- */

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

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

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




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

    section.tit > div.obsah {
        padding-top: 25px;
        padding-bottom: 15px;
        justify-content: flex-start;
    }


    section.tit.podstrana > div.obsah {
        padding-top: 25px;
        padding-bottom: 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.podstrana {
    }

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


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


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






}

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

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

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

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


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

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

    }

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

    }


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

    }

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




    
/*
    .menu ul li > ul > li:hover > a.active::before {
        background:  var(--menu_dropdown_icon);
    }
*/
    .menu ul li > ul > li:hover > a.active {
        text-decoration: none;
    }
    
    .menu ul li > ul > li:hover > a, .menu ul li > ul li a.active{
        /* text-decoration: underline; */
    }

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

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


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


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




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

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

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


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


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

.captcha {
    width: 240px;
}


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


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


/* cookies */




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

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

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

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

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

.termsfeed-com---palette-light .cc-nb-changep {
    border: 1px solid #c6c6c6;
}

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

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

}

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

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

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


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

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

}

@media (max-width: 480px) {

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


@media (max-width: 320px) {

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

}


/*cookies*/


.border-red {
    border: 5px solid red;
}