html,body{
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Catamaran', sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    /* box-sizing: border-box; */
}

body{
    overflow-x: hidden;
}

.cookie-consent
{
    position: fixed;
    display: flex;
    bottom: 0;
    left: 0;
    background: #9D8C6A;
    padding: 20px 135px;
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    z-index: 99999;
    font-family: 'Catamaran', sans-serif;
    font-weight: normal;
}

.cookie-consent .cookie-consent__message{
    display: inline-block;
    padding-right: 30px;
    width: 100%;
}

.cookie-consent .btnWhite{
    background: transparent;
    cursor: pointer;
    vertical-align: middle;
    font-family: 'Catamaran', sans-serif;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
}

.cookie-consent .btnWhite:hover{
    color: #9D8C6A;
}

.cookie-consent a{
    color: #fff;
}

.text{
    font-family: 'Catamaran', sans-serif;
    font-size: 16px;
    line-height: 19px;
}

.bold{
    font-weight: bold;
}

h1, .title, h2.title{
    font-family: Catamaran;
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 48px;
    letter-spacing: 0.02em;
}

h2, .subtitle{
    font-family: Catamaran;
    font-style: normal;
    font-weight: bold;
    font-size: 22px;
    line-height: 26px;
}

.claim{
    font-family: Catamaran;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: 0.02em;
}

.huge{
    font-family: Catamaran;
    font-style: normal;
    font-weight: bold;
    font-size: 75px;
    line-height: 123px;
    text-align: center;
}

header{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    height: 86px;
    display: flex;
    align-items: center;
    /* grid-template-columns: max-content 1fr; */
    align-items: center;
    padding: 18px 135px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    border-bottom: 1px solid #DDD9C9;
    background: #fff;
    z-index: 10000;
}

header .logo{
    -ms-grid-column: 1/2;
    -ms-grid-row: 1/2;
    flex-grow: 1;
}

header .logo img{
    display: block;
    max-height: 32px;
    width: auto;
    height: auto;
}

.popUp .logoo img{
    max-height: 32px;
    width: auto;
    height: auto;
    display: block;
}

header .links{
    -ms-grid-column: 2/3;
    -ms-grid-row: 1/2;
}

header a{
    color: #332F2C;
    text-decoration: none;
}

.btn{
    padding: 15px 17px;
    color: #fff;
    background: #93BE56;
    border-radius: 2px;
    text-decoration: none;
    position: relative;
    transition: background-color 0s 1s;
    z-index: 1;
    font-weight: bold;
    min-width: 170px;
    text-align: center;
    box-sizing: border-box;
}

.btn::before{
    position: absolute;
    bottom:0;
    left: 0;
    content: "";
    width: 100%;
    background: #9D8C6A;
    border-radius: 2px;
    /* border-radius: 0px 0px 2px 2px; */
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1s;
    z-index: -1;
}

.btn::after{
    position: absolute;
    top:0;
    left: 0;
    content: "";
    width: 100%;
    background: #93BE56;
    height: 100%;
    border-radius: 2px;
    z-index: -2;
}

.btn:hover{
    background: transparent;
}

.btn:hover::before{
    transform: scaleY(1);
    border-radius: 2px;
}

.btnBrown{
    position: relative;
    transition: color 1s;
    z-index: 1;
    backface-visibility: hidden;
    -webkit-filter: blur(0);
    filter: blur(0);
    font-weight: bold;
    min-width: 170px;
    box-sizing: border-box;
    text-align: center;
}

.btnBrown::before{
    position: absolute;
    bottom: -1px;
    left: -1px;
    content: "";
    width: calc(100% + 2px);
    background: #9D8C6A;
    border-radius: 3px;
    border-radius: 0px 0px 3px 3px;
    height: calc(100% + 2px);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1s;
    z-index: -1;
}

.btnBrown:hover{
    color: #fff;
}

.btnBrown:hover::before{
    transform: scaleY(1);
}

.btnWhite{
    position: relative;
    transition: color 1s;
    z-index: 1;
    backface-visibility: hidden;
    -webkit-filter: blur(0);
    filter: blur(0);
    font-weight: bold;
    min-width: 170px;
    text-align: center;
    box-sizing: border-box;
}

.btnWhite::before{
    position: absolute;
    bottom: -1px;
    left: -1px;
    content: "";
    width: calc(100% + 2px);
    background: #fff;
    border-radius: 3px;
    height: calc(100% + 2px);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1s;
    z-index: -1;
}

.btnWhite:hover{
    color: #93BE56;
}

.btnWhite:hover::before{
    transform: scaleY(1);
}

header .links{
    justify-self: flex-end;
    display: flex;
    align-items: center;
}

header .links a:not(.btn){
    margin-right: 60px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    
    header .links > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    header .links a{
        margin: 0px 60px;
    }
      
    header .links > *:nth-child(2) {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }

    header .links > *:nth-child(3) {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
    }

    header .links > *:nth-child(4) {
        -ms-grid-row: 1;
        -ms-grid-column: 4;
    }

    header .links > *:nth-child(5) {
        -ms-grid-row: 1;
        -ms-grid-column: 5;
    }

    header .links > *:nth-child(6) {
        -ms-grid-row: 1;
        -ms-grid-column: 6;
    }

    header .links > *:nth-child(7) {
        -ms-grid-row: 1;
        -ms-grid-column: 7;
    }

}

.head{
    text-align: center;
    background: url("/img/homepage2.jpg") no-repeat;
    background-size: cover !important;
    margin-top: 0;
    padding: 90px 100px;
    box-sizing: border-box;
    color: #fff;
}

.page img {
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
}
.page a:not(.gray){
    text-decoration: underline;
    color: #332F2C;
}

.page .gray{
    text-decoration: none !important;
}

.head > h1{
    margin-top: 0;
}

.head .sub{
    margin-top: 42px;
    margin-bottom: 32px;
}

.btnBrown{
    border: 3px solid #9D8C6A;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 12px 27px;
    color: #9D8C6A;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    margin: auto;
}

.btnWhite{
    border: 3px solid #fff;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 12px 27px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    margin: auto;
}

.beige{
    background: #F5F2E8;
    padding: 60px 135px;
    box-sizing: border-box;
    text-align: center;
    color: #332F2C;
}

.beige .reference{
    padding: 30px 70px;
    background: #EEEADB;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1fr 2fr 3fr;
    grid-template-areas: "img quote text";
    box-sizing: border-box;
    text-align: left;
    color: #332F2C;
    margin-bottom: 30px;
}

.beige .reference .quote{
    padding: 10px 80px 0px 30px;
    -ms-grid-row: 1/2;
    -ms-grid-column: 2/3;
    grid-area: quote;
}

.beige .reference img{
    -ms-grid-row: 1/2;
    -ms-grid-column: 1/2;
    grid-area: img;
    align-self: center;
}

.beige .reference:nth-child(odd)
{
    grid-template-columns: 3fr 1fr 2fr;
    grid-template-areas: "text img quote";
}

footer{
    background: #000;
    width: 100%;
    box-sizing: border-box;
    padding: 80px 130px 85px 135px;
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: auto auto auto auto auto auto;
    grid-template-areas:
    ". . . . . ."
    "copy . . social social social";
    justify-content: space-between;
    color: #818181;
}

footer a{
    display: block;
    color: #F5F2E8;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    margin-bottom: 20px;
}

footer a.main{
    font-weight: bold;
}

footer > div{
    padding-right: 20px;
}

footer > div:first-child img{
    max-width: 200px;
    max-height: 28px;
    width: auto;
    height: auto;
    display: block;
}

.copyright{
    -ms-grid-row: 2/3;
    -ms-grid-column: 1/2;
    grid-area: copy;
    align-self: center;
}

.socials{
    -ms-grid-row: 2/3;
    -ms-grid-column: 4/7;
    grid-area: social;
    justify-self: flex-end;
    align-self: center;
}

.socials a{
    margin: 0;
    margin-left: 44px;
    display: inline-block;
}

.socials a img{
    vertical-align: middle;
}

.centered{
    margin: auto;
    padding: 0 23%;
    text-align: center;
}

.center{
    text-align: center;
}

.more{
    display: inline-block;
    color: #fff;
    padding: 16px 32px;
    border: 3px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 5px;
    text-decoration: none;
}

.gray{
    color: #999999;
}



.agree{
    display: grid;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    grid-template-columns: min-content 1fr;
    align-items: center;
    align-content: center;
    margin-top: 15px !important;
}


.agree .txt{
    padding-top: 3px;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
    vertical-align: middle;
}

.agree .txt a{
    text-decoration: underline;
}
.agree input {
    position: absolute !important;
    top: 50%;
    left: 7px;
    opacity: 0;
    cursor: pointer;
    height: 1px;
    width: 1px;
    border: 0;
    background: #fff;
}

/* Create a custom checkbox */
.checkmark {
    position: relative;
    display: inline-block;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px !important;
    border: 1px solid  #000;
    border-radius: 3px;
    margin-right: 10px;
    vertical-align: middle;
}

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

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

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

/* Style the checkmark/indicator */
.agree .checkmark:after {
    left: 50%;
    top: 45%;
    width: 30%;
    height: 60%;
    border: solid #000;
    border-width: 0 1px 1px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.agree a{
    color: #332F2C;
}

input, textarea{
    border: 1px solid #332F2C;
    box-sizing: border-box;
    border-radius: 2px;
    padding: 16px 16px;
    font-family: Catamaran;
    font-style: normal;
    font-weight: normal;
    font-size: 16px !important;
    line-height: 19px !important;
}

textarea{
    resize: none;
    height: 143px;
}

.formCont .form  .noGrid{
    display: block;
}

.formCont h2{
    text-align: center;
}

.formCont .form{
    display: grid;
    padding: 0 23%;
}

.formCont .form  div {
    display: grid;
}

.formCont .form .two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 30px;
}

.formCont .form div span{
    display: block;
    height: 15px;
}

.formCont label{
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
}

button[type=submit]{
    /*display: inline;
    background: #93BE56;
    border-radius: 2px;
    padding: 16px 32px;
    color: #fff;*/
    min-width: 170px;
    justify-self: center;
    border: 0;
    margin-top: 15px;
    font-family: Catamaran;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
    /* or 19px */

    text-align: center;
}

.formCont .err{
    opacity: 0;
    transition: opacity 1s;
    color: #818181;
    padding: 4px 0;
    /* display: inline-block; */
    /* width: 100%; */
    /* overflow: visible; */
    /* white-space: nowrap; */
}

.formCont .err.show{
    opacity: 1;

}

.success{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* fill: blur(50%); */
    background: rgba(51, 47, 44, 0.5);
    backdrop-filter: blur(20px);
    z-index: 10001;
    display: none;
}

.success .msg{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #F5F2E8;
    border-radius: 15px;
    min-width: 770px;
    padding: 60px 120px;
    text-align: center;
    box-sizing: border-box;
}

.success .msg a{
    text-decoration-line: underline;
    color: #000000;
}

.round{
    width: 170px;
    border-radius: 1000px;
}

.onMobile{
    display: none;
}
textarea,
input[type="text"],
input[type="mail"],
input[type="tel"],
input[type="button"],
input[type="submit"] {
     -webkit-appearance: none;
     -moz-appearance: none;
     border-radius: 0;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.reference .onMobile{
    text-align: center;
    margin-top: 16px;
}

.popUp{
    position: fixed;
    top: 0;
    left: 0px;
    z-index: 10000;
    height: 100%;
    width: calc(100% + 1px);
    background: #fff;
    box-sizing: border-box;
    display: none;
    overflow: auto;
}

.popUp.open{
    display: block;
}

.popUp > div{
    display: grid;
    grid-template-rows: 80px 1fr;
    align-items: center;
    max-width: 1440px;
    margin: auto;
    height: 100%;
}

.popUp .formCont{
    margin-top: 0;
    background: #fff;
    padding: 0px 16px;
    /* overflow-y: auto; */
}



.popUp .minimenu{
    padding: 30px 135px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
}

.popUp .closeF{
    justify-self: flex-end;
}

.prod img{
    max-height: 400px;
    margin-bottom: 20px;
    object-fit: contain;
}

.prod{
    display: grid;
    grid-template-rows: 1fr max-content max-content max-content;
}

@media only screen and (orientation: portrait) and (max-width: 1000px), only screen and (orientation: landscape) and (max-width: 1000px) {

 /* * { background-color: rgba(255,0,0,.2); }
* * { background-color: rgba(0,255,0,.2); }
* * * { background-color: rgba(0,0,255,.2); }
* * * * { background-color: rgba(255,0,255,.2); }
* * * * * { background-color: rgba(0,255,255,.2); }
* * * * * * { background-color: rgba(255,255,0,.2); }
* * * * * * * { background-color: rgba(255,0,0,.2); }
* * * * * * * * { background-color: rgba(0,255,0,.2); }
* * * * * * * * * { background-color: rgba(0,0,255,.2); } */
    .cookie-consent
    {      
        display: block;      
        padding: 16px 16px;
        text-align: center;
    }

    .cookie-consent .cookie-consent__message {  
        padding-right: 0px;
    }

    .cookie-consent .btnWhite{
        margin:auto;
        margin-top: 16px;
        
    }


    .tech .info h2{
        font-size: 18px;
    }

    .tech ul {
        margin-left: 0;
        margin-bottom: 16px !important;
        margin-top: 0;
    }

    .success .msg{
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background: #F5F2E8;
        border-radius: 15px;
        min-width: initial;
        width: calc(100vw - 32px);
        padding: 40px 16px;
        text-align: center;
        box-sizing: border-box;
    }

    .popUp .minimenu{
        padding: 16px;
        padding-right: 24px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        box-sizing: border-box;
        height: 76px;
        align-items: center;
    }

    .popUp button{
        margin-bottom: 120px;
    }

    .popUp > div{
        display: grid;
        grid-template-rows: 76px 1fr;
    }

    .popUp .formCont{
        height: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        cursor: pointer;
    }

    .formCont .form {
        display: grid;
        padding: 0 0%;
    }

    .formCont .form .two {
        display: grid;
        grid-template-columns: 1fr;
        grid-column-gap: 30px;
    }

    .onMobile{
        display: initial;
    }

    .notMobile{
        display: none;
    }

    html,body{
        margin: 0;
        padding: 0;
        width: 100%;
        font-family: 'Catamaran', sans-serif;
        font-weight: normal;
        font-size: 16px;
        line-height: 19px;
    }

    .text{
        font-family: 'Catamaran', sans-serif;
        font-size: 16px;
        line-height: 19px;
    }

    .bold{
        font-weight: bold;
    }

    h1, .title{
        font-size: 22px;
        line-height: 26px;
        letter-spacing: initial;
    }

    h2, .subtitle{
        font-style: normal;
        /* font-weight: normal; */
        font-size: 16px;
        line-height: 19px;
    }

    .claim{
        font-family: Catamaran;
        font-style: normal;
        font-weight: bold;
        font-size: 36px;
        line-height: 54px;
        letter-spacing: 0.02em;
    }

    .huge{
        font-family: Catamaran;
        font-style: normal;
        font-weight: bold;
        font-size: 75px;
        line-height: 123px;
        text-align: center;
    }

    header{
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        left: 0;
        height: 70px; /* 49px */
        display: grid;
        grid-template-columns: max-content 1fr;
        align-items: center;
        padding: 0px 16px;
        box-sizing: border-box;
        width: 100%;
        border-bottom: 1px solid #DDD9C9;
        background: #fff;
        z-index: 10000;
    }

    header .links{
        display: none;
    }

    header .logo{
        grid-column: 1;
        align-self: center;
        display: block;
        min-width: 0; /* allow grid item to shrink if needed */
    }

    header .logo img{
        display: block;
        vertical-align: middle;
        max-height: 32px;
        width: auto;
        min-width: 80px; /* SVG viewBox 80x20 – zabrání kolapsu na mobilu */
    }

    .lines{
        display: inline-block;
        /* height: 20px; */
        margin-left: 12px;
        align-self: center;
        justify-self: flex-end;
        grid-column: 2;
        cursor: pointer;
        padding: 7px 20px;
        margin-right: -16px;
    }

    .line{
        cursor: pointer;
        display: block;
        width: 29px;
        height: 2px;
        margin-top: 8px;
        margin-bottom: 6px;
        background: #332F2C;
        border-radius: 1px;
    }

    .centered{
        padding: 0 16px;
    }

    footer{
        background: #000;
        width: 100%;
        padding: 60px 40px;

        grid-template-areas:
            "."
            "."
            "."
            "."
            "."
            "."
            "social"
            "copy";
            grid-template-columns: 1fr;
        justify-content: center;
        grid-row-gap: 0px;
        color: #818181;
    }

    footer > div {
        text-align: center;
        padding-right: 0;
    }

    footer > div:first-child{
        margin-bottom: 40px;
    }

    footer > div:first-child img{
        justify-self: flex-start;
        float: left;
        /* margin-bottom: 40px; */
    }

    footer div:not(.socials) a:not(.main){
        display: none;
    }

    footer .socials{
        margin-top: 20px;
        margin-bottom: 40px;
        text-align: center;
        justify-self: center;
    }

    .socials a{
        margin: 0;
        margin-left: 44px;
        display: inline-block;
    }

    .socials a:first-child{
        margin-left: 0;
    }

    header.open .lines{
        grid-row: 1/2;
        grid-column: 2/3;
    }

    header.open{
        height: 100vh;
        grid-template-rows: 70px 1fr;
    }

    header.open .links{
        background: #93BE56;
        color: #fff;
        grid-column: 1 / span 2;
        width: 100vw;
        height: 100%;
        display: grid;
        grid-auto-flow: row;
        justify-content: center;
        grid-template-rows: 2fr max-content max-content max-content max-content max-content max-content 3fr;
        grid-row-gap: 12px;
        text-align: center;
        position: relative;
        left: 16px;
    }

    header.open .links a:not(.btn){
        font-family: Catamaran;
        font-style: normal;
        font-weight: bold;
        font-size: 32px;
        line-height: 48px;
        text-align: center;
        letter-spacing: 0.02em;
        display: block;
        color: #FFFFFF;
        margin-right: 0;
        margin-left: 0;
    }

    header.open .btn{
        margin: auto;
        display: inline-block;
        color: #93BE56;
        background: #fff !important;
        margin-top: 60px;

    }

    header.open .btn::before {
        background: #fff;
    }

    header.open .btn::after {

        background: #fff;
    }

    header.open .line.I{
        width: 30px;
        position: relative;
        top: 4px;
        transform: rotate(-45deg);
    }

    header.open .line.II{
        width: 30px;
        position: relative;
        top: -6px;
        transform: rotate(45deg);
    }

    header.open .line.III{
        display: none;
    }

}

@media only screen and (orientation: landscape){

    header.open{
        padding: 0px 60px;
        align-content: center;
    }

    header.open .links {
        padding: 00px 60px;
        padding-bottom: 0px;
        box-sizing: border-box;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr max-content max-content max-content max-content 1fr;
        grid-row-gap: 12px;
        text-align: left;
        align-self: center;
        position: relative;
        left: 60px;
    }

    header.open .links .onMobile{
        grid-column: 1 / span 2;
    }

    header.open .btn{
        margin-top: 20px;
        grid-column: 1/3;
        justify-self: center;
    }

    header.open .links a:not(.btn){
        text-align: center;
    }

    /* header.open .links a:nth-last-child(2):nth-child(even) {
        grid-column: 1/ span 2;
    } */

}

@media only screen and (orientation: landscape) and (max-width: 1420px), only screen and (orientation: portrait) and (min-width: 800px) {

    header{
        padding: 0px 60px;
        /* box-sizing: border-box; */
    }

    header.open .links{
        left: 60px;
    }

    header .links a:not(.btn){
        margin-right: 30px;
    }

    footer{
        padding: 80px 60px;
    }

}

@media only screen and (min-width: 1500px){
    .content{
        max-width: 1440px;
        margin: auto;
    }
    .cookie-consent
    {
        padding: 20px calc(50% - 585px);
    }

    footer{
        padding: 85px calc(50% - 585px);
        /* box-sizing: border-box; */
    }

    header{
        padding: 18px calc(50% - 585px);
        /* box-sizing: border-box; */
    }

    body{
        overflow-x: hidden;
    }

    .head {
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
}
