@font-face {
    font-family: 'MiraiRegular';
    src: url('fonts/Mirai-Regular.otf') format('opentype')
        /* font-family: 'MiraiRegular', sans-serif; */
}

@font-face {
    font-family: 'MiraiBold';
    src: url('fonts/Mirai-Bold.otf') format('opentype')
        /* font-family: 'MiraiBold', sans-serif; */
}

@font-face {
    font-family: 'MiraiMedium';
    src: url('fonts/Mirai-Medium.otf') format('opentype')
        /* font-family: 'MiraiMedium', sans-serif; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #a3802e;
}

a:hover {
    text-decoration: underline;
}

p:empty {
    display: none;
}

html,
body {
    background-color: #FCF3D8;
}

body {
    font-family: 'MiraiRegular', sans-serif;
    line-height: 1.5;
    color: #a8894a;
    font-size: 20px;
}

#Header .logo span,
.HorniMenuElements li a.llevel_1.lorder_1 span,
#burgerContent,
.hideSmall {
    display: none;
}

.Container {
    width: 100%;
    max-width: 1000px;
    background: #FCF3D8;
    margin: 0 auto;
}

#CentralPart {
    margin-top: 148px;
    background-color: #FCF3D8;
}

#Header {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 20px;
    position: fixed;
    background: #FCF3D8;
    max-width: 1000px;
    top: 0 !important;
    z-index: 10;
    width: 100%;
}

#Header::before {
    display: none !important;
}

#Header .logo {
    width: 328px;
    height: 100px;
    display: block;
    background: url(img/logo-nove.png) no-repeat scroll center center;
}

.HorniMenuElements {
    width: calc(100% - 400px);
}

.HorniMenuElements ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.HorniMenuElements li {
    list-style-type: none;
    margin: 10px;
}

.HorniMenuElements li a {
    min-height: 80px;
    line-height: 80px;
    display: inline-block;

    color: #A9271C;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

.HorniMenuElements li a.llevel_1.lorder_1 {
    background: url(img/home.png) scroll no-repeat center center;
    width: 50px;
}


.ObsahStrankyElements h2,
.FormElement .ElementHeader {
    font-family: 'MiraiBold', sans-serif;
    font-size: 32px;
    color: #a8894a;
    padding: 50px 20px 20px 20px;
    text-align: center;
    text-transform: uppercase;
}

.FormElement .ElementHeader {
    text-align: left;
    padding-left: 80px;
    padding-bottom: 30px;
}

.ArticleElement {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.row {
    /* max-width: 870px; */
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 0;
}

.row.produkty {
    padding-bottom: 0;
    justify-content: center;
}

.row-voucher {
    flex-direction: column;
    row-gap: 30px;
}

.voucher-img {
    border: 1.5px solid #a8894a;
    width: 100%;
    aspect-ratio: 5/2;
}

.row-btns {
    justify-content: center;
    column-gap: 40px;
    row-gap: 20px;
}

.row>.btn {
    border: 1.5px solid #a8894a;
    border-radius: 12px;
    padding: 16px 28px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;

    transition-property: background-color, border-color, color;
    transition-duration: .2s;
}

#btn-rules {
    color: #a8894a;
}

#btn-rules:hover {
    border-color: #a9271c;
    color: #a9271c;
}

#btn-voucher {
    background-color: #a9271c;
    border-color: rgba(0, 0, 0, 0);
    color: #f7edcd;
}

#btn-voucher:hover {
    background-color: rgba(0, 0, 0, 0);
    border-color: #a9271c;
    color: #a9271c;
}

.row>div>img {
    margin-right: 80px;
}

a#registrace,
a.NextReg {
    background: #8c1710;
    color: white;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: inline-block;
}

.soutezime-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    width: 100%;
    /* max-width: 850px; */
}

.soutezime-layout__row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.soutezime-layout__number {
    font-size: 60px;
    font-weight: 600;
}

.soutezime-layout__title {
    font-size: 24px;
    font-weight: 600;
    color: #A9271C;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.soutezime-layout__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.soutezime-layout__main-img img {
    width: 100%;
}

.soutezime-layout__grid-img img {
    max-width: 300px;
}

.soutezime-layout__wrapper>.soutezime-layout__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

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

#ObsahStrankyElements_1 {
    /* background: url('img/background-section.png') repeat-y scroll left top; */
    overflow: hidden;
}

/* #ObsahStrankyElements_2 {
    background: url('img/background-section.png') repeat-y scroll left top;
}

#ObsahStrankyElements_2::after {
    background: url('img/vlnky2.png') no-repeat scroll left top;
    display: block;
    max-width: 1200px;
    width: 100%;
    height: 11px;
    content: '';
} */

#ObsahStrankyElements_3 .ArticleContent {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ObsahStrankyElements_4 {
    /* background: url('img/formular.png') repeat-y scroll center top; 
    min-height: 848px; */
    overflow: hidden;
}

/*#ObsahStrankyElements_4 .FormElement {
    background: url('img/formular.png') no-repeat scroll center bottom;
position: relative;
}

#ObsahStrankyElements_4 .FormElement:before {
    content: "";
    height: calc(100% - 848px);
    width: 100%;
    background: url('img/formular.png') no-repeat scroll center top;
    display: block;
    position: absolute;
    top: 0px;
    z-index: -1;
}*/

.FormElement label,
.FormElement .BigError {
    display: none;
}

.Error {
    background: red;
    color: white;
    padding: 5px !important;
    display: inline-block;
}

.FormElement form {
    max-width: 650px;
}

.FormElement .input {
    max-width: 650px;
    width: 100%;
}

.FormElement input[type=text] {
    border-radius: 10px;
    height: 45px;
    border: 2px solid white;
    padding: 10px 30px;
    background: rgba(165, 138, 96, 0.23);
    width: 100% !important;
    font-family: 'MiraiRegular', sans-serif !important;
}

.FormElement input[type=text]::placeholder {
    color: white;
    font-family: 'MiraiRegular', sans-serif;
}

:focus-visible {
    outline: -webkit-focus-ring-color auto 0;
}

.FormElement input[type=submit] {
    background: #8c1710;
    color: white;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 30px;
    margin-top: 10px;
    display: inline-block;
    height: auto;
    font-size: 20px;
    font-weight: normal;
}

.FormElement .field {
    padding-top: 20px;
    position: relative;
}

.FormElement .fields .field:nth-child(1),
.FormElement .fields .field:nth-child(2) {
    padding-top: 0;
}

.FormElement .ElementContent {
    font-size: inherit;
    padding: 0 80px;
}

.FormElement .fields .field {
    clear: both;
}

.FormElement .fields .field:nth-child(3),
.FormElement .fields .field:nth-child(4),
.FormElement .fields .field:nth-child(5),
.FormElement .fields .field:nth-child(6) {
    float: left;
    width: 100%;
    max-width: 315px;
    margin-left: 20px;
    clear: none;
}

.FormElement .fields .field:nth-child(3),
.FormElement .fields .field:nth-child(5) {
    margin-left: 0;
}

.FormElement label[for="frm-field_24"],
.FormElement label[for="frm-field_25"] {
    display: inline-block;
    width: 100%;
    padding-left: 30px;
}

.FormElement label[for="frm-field_24"] input,
.FormElement label[for="frm-field_25"] input {
    width: 1.3em;
    height: 1.3em;
    background-color: rgba(165, 138, 96, 0.23);
    border-radius: 50%;
    vertical-align: middle;
    border: 2px solid white;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    margin-right: 10px;
    top: 0;
    margin-left: -30px;
}

.FormElement label[for="frm-field_24"] input:checked,
.FormElement label[for="frm-field_25"] input:checked {
    background-color: #8c1710;
}

.FormElement label[for="frm-field_24"] a,
.FormElement label[for="frm-field_25"] a {
    margin-left: 5px;
    text-decoration: underline;
    font-family: 'MiraiBold', sans-serif;
}

.FormElement label[for="frm-field_24"] a:hover,
.FormElement label[for="frm-field_25"] a:hover {
    text-decoration: none;
}

.noteReg {
    color: #a3802e;
    font-family: 'MiraiMedium';
    font-size: 16px;
}

#ObsahStrankyElements_5 h2 {
    padding-top: 100px;
    text-align: left;
    padding-left: 80px;
}

#ObsahStrankyElements_5 .ArticleContent {
    padding: 0 80px;
}


#ObsahStrankyElements_5 th {
    text-align: left;
    font-family: 'MiraiBold', sans-serif;
    padding-bottom: 20px;
    border-bottom: 1px #a3802e dashed;
}

#ObsahStrankyElements_5 td {
    padding: 10px 100px 10px 0;
}

#Footer {
    background-color: #FCF3D8;
    padding: 20px 0;
    margin-top: 20px;
    text-align: center;
}

#Footer a {
    color: #a8894a;
    text-decoration: none;
    font-weight: bold;
}

#Footer .footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#Footer .footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

#Footer a:hover {
    text-decoration: underline;
}

#Footer a.social {
    width: 20px;
    height: 20px;
    display: inline-block;
}

#fb {
    background: url(img/fb.svg) scroll center center no-repeat;
}

#instagram {
    background: url(img/instagram.svg) scroll center center no-repeat;
}

#youtube {
    background: url(img/youtube.svg) scroll center center no-repeat;
}

#linkedin {
    background: url(img/linkedin.svg) scroll center center no-repeat;
}

#Signature {
    background: #FCF3D8;
    text-align: center;
    color: #a8894a;
    font-size: 15px;
    padding: 10px;

    border-top: 1px solid #a8894a;
}

.LevaStranaElements,
.ObsahStrankyElements,
.PravaStranaElements {
    float: none;
}

.waveTop,
.waveBottom {
    display: none;
}

/* .wave {position: relative;}
.waveBottom {
    background: url(img/waveTop.png) scroll center bottom no-repeat;
    position: absolute;
    bottom: 0;
    height: 10px;
    z-index: 1;
    width: 100%;
}

.waveTop {
    background: url(img/waveTop.png) scroll center top no-repeat;
    height: 10px;
    position: absolute;
    top: 0;
    width: 100%;
} */

.field.has_error .errors {
    position: absolute;
    right: 5px;
    top: 29px;
}

.field.has_error input {
    animation-name: blinking;
    animation-duration: 1s;
    animation-iteration-count: 100;

}

@keyframes blinking {
    50% {
        border-color: red;
    }
}

.field.has_error:focus-within .errors {
    display: none;
}





#fancybox-content>div {
    width: auto !important;
}

#fancybox-outer {
    font-family: 'MiraiRegular', sans-serif;
    font-size: 20px;
}

#fancybox-outer h1 {
    font-family: 'MiraiBold', sans-serif;
}

#Header #burger {
    background: url("img/burger.png") no-repeat scroll center 8px;
    padding-top: 35px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    margin-left: 20px;
    margin-right: 10px;
    min-width: 40px;
    font-size: 13px;
    display: none;
}



@media only screen and (max-width: 1000px) {
    #Header {
        justify-content: space-around;
    }

    #Header .HorniMenuElements li {
        font-size: 16px;
    }

    #ObsahStrankyElements_2,
    #ObsahStrankyElements_3,
    #ObsahStrankyElements_4,
    #ObsahStrankyElements_5,
    #ObsahStrankyElements_6 {
        padding: 0 20px;
    }

    #Footer {
        padding: 20px;
    }
}

@media only screen and (max-width: 970px) {
    #Header .HorniMenuElements {
        display: none;
    }

    .row {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .row>div {
        margin-bottom: 15px;
        width: 100%;
    }

    .row>div>img {
        margin-right: 0;
    }

    .FormElement .fields .field:nth-child(3),
    .FormElement .fields .field:nth-child(4),
    .FormElement .fields .field:nth-child(5),
    .FormElement .fields .field:nth-child(6) {
        max-width: unset;
        margin-left: 0;
    }

    #Header #burger {
        display: block;
        z-index: 10000;
        margin-left: 30px;
        position: absolute;
        right: 25px;
        top: 50px;
    }

    #burgerContent {
        position: absolute;
        right: 3%;
        top: 100px;
        width: 94%;
        background: #ffffff;
        z-index: 100000;
        box-shadow: 0px 0px 10px 5px #f5f5f5;
        transform: translateY(-200%);
        transition: transform 0.5s;
        display: block;
    }

    #burgerContent.expand {
        transform: translateY(10px);
    }

    #burgerContent .HorniMenuElements {
        width: 100%;
        display: block;
    }

    #burgerContent .HorniMenuElements ul {
        flex-wrap: wrap;
    }

    #burgerContent .HorniMenuElements li {
        width: 100%;
        text-align: center;
    }

    #burgerContent .HorniMenuElements li a {
        min-height: 50px;
        line-height: 50px;
    }

    #Header .logo {
        margin-bottom: 28px;
    }

    .FormElement form {
        max-width: 100%;
    }

    .FormElement .input {
        max-width: none;
    }

    .FormElement .ElementHeader {
        padding-left: 0;
        text-align: center;
    }

    .FormElement .ElementContent {
        padding: 0 3%;
    }

    /* #ObsahStrankyElements_4 { background: url(img/background-section.png) repeat-y scroll left top; height: auto;overflow:auto} */
    /*.noteReg {padding: 75px 3%;}*/
    .FormElement input[type=submit] {
        margin-bottom: 20px;
    }

    .ObsahStrankyElements {
        gap: 20px;
    }

    #ObsahStrankyElements_5 h2 {
        padding-left: 3%;
    }

    #ObsahStrankyElements_5 .ArticleContent {
        padding: 0 3%;
    }

    #ObsahStrankyElements_5 td {
        padding: 10px 10px 10px 0;
    }
}

@media only screen and (max-width: 736px) {
    #Header {
        padding-top: 0;
    }

    #Header #burger {
        top: 30px;
    }

    #CentralPart {
        margin-top: 100px;
    }

    #Header .logo {
        width: 200px;
        margin-bottom: 0;
        background-size: contain;
    }

    .hideBig {
        display: none;
    }

    .hideSmall {
        display: inline-block;
    }

    .soutezime-layout__wrapper {
       flex-direction: column;
       align-items: center;
    }

    .soutezime-layout__wrapper,
    .soutezime-layout__row,
    .soutezime-layout__content {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    #Header #burger {
        right: 10px;
    }

    .row>.btn {
        width: 100%;
    }

    .soutezime-layout__row {
        column-gap: 24px;
    }

    .soutezime-layout__number {
        font-size: 40px;
    }

    .soutezime-layout__title {
        font-size: 20px;
    }

    .soutezime-layout__text {
        font-size: 18px;
    }

}

@media only screen and (max-width: 375px) {
    #Footer .footer-layout {
        flex-direction: column;
        gap: 12px;
    }
}