/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
    display: block;
}

.l { float: left; }
.r { float: right; }
.clr { clear: both; }

html {
    height: 100%;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: inherit;
    cursor: pointer;
    display: inline-block;
    outline: 0;
    text-decoration: none;
}

a:hover {color: #000;}

input {
    outline: 0;
}

@-webkit-keyframes slide-down {
    from {
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }
    to {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

@keyframes slide-down {
    from {
        -webkit-transform: translateY(0%);
        transform: translateY(0%);
    }
    to {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}

@font-face {
    font-family: "BebasNeue-Bold";
    src: url("../fonts/BebasNeue/BebasNeue-Bold.woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BebasNeue-Book";
    src: url("../fonts/BebasNeue/BebasNeue-Book.woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Arial";
    src: url("../fonts/Arial/Arial.woff");
    font-weight: normal;
    font-style: normal;
}

html {
    color: #1b1b1b;
    background-color: #f3f3f3;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    position: relative;
    -ms-scroll-chaining: none;
    overscroll-behavior: none;
}

body {
    font-size: 13px;
    line-height: 1.5em;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1b1b1b;
    background-color: #f3f3f3;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: [container-start] 8.3333333333vw [content-start] repeat(5, 1fr) [center] repeat(5, 1fr) [content-end] 8.3333333333vw [container-end];
    -ms-grid-columns: 1fr [ 10 ];
    grid-gap: 0 1vw;
    grid-auto-flow: row dense;
    position: relative;
    -ms-scroll-chaining: none;
    overscroll-behavior: none;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: auto;
    min-height: 100%;
}

@media screen and (min-width: 1400px) {
    body {
        font-size: 17.6px;
    }
}

header {
width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: [container-start] 8.3333333333vw [content-start] repeat(5, 1fr) [center] repeat(5, 1fr) [content-end] 8.3333333333vw [container-end];
    -ms-grid-columns: 1fr [10];
    grid-gap: 0 1vw;
    grid-auto-flow: row dense;
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 2vw 2vw 1vw;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

@media screen and (max-width: 790px) {
    header {
        padding: 2vw;
    }
}

header .menu-burger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 2vw;
    z-index: 2;
    width: 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: calc(100% / 12 * 1 / 2.1473787291 + 2vw * 1.5);
    min-height: calc(80px / 2.1473787291 + 2vw * 1.5);
    max-height: calc(80px * 1.5 / 2.1473787291 + 2vw * 1.5);
    -webkit-transform: none;
    transform: none;
    cursor: pointer;
}

@media screen and (max-width: 790px) {
    header .menu-burger {
        height: calc(100% / 12 * 1 / 2.1473787291 + 2vw * 2);
        min-height: calc(80px / 2.1473787291 + 2vw * 2);
        max-height: calc(80px * 1.5 / 2.1473787291 + 2vw * 2);
    }
}

@media screen and (min-width: 960px) {
    header .menu-burger:hover .burger-line {
        width: 75%;
    }
}

header .burger-line {
    display: block;
    width: 120%;
    height: 4px;
    margin: 0 auto;
    background-color: #1b1b1b;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

header .burger-line:nth-child(2) {
    margin: 4px auto;
}

header .burger-icon {
    position: relative;
    overflow: hidden;
    color: transparent;
}

header .burger-icon:before, header .burger-icon:after {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform, -webkit-transform;
    content: attr(data-title);
    position: absolute;
    left: 0;
    width: 100%;
    color: #1b1b1b;
}

header .burger-icon:before {
    top: 0%;
}

header .burger-icon:after {
    top: -100%;
}

header .burger-icon:hover:before, header .burger-icon:hover:after {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}

header .wawa-logo {
    grid-column: 11/12;
    -webkit-transform: translateY(-1vw) translateX(-4vw);
    transform: translateY(-1vw) translateX(-4vw);
}

header .ckf-logo {
    position: fixed;
    /*width: calc(100% / 12);
    min-width: 80px;
    max-width: calc(80px * 1.5);*/
    z-index: 2;
    right: 2vw;
}

@media (min-width: 1px) {
    header .ckf-logo img {width: 80px; height: auto;}
    header .ckf-logo {top: 8px;}
}
@media (min-width: 480px) {
    header .ckf-logo img {width: 90px; height: auto;}
}
@media (min-width: 640px) {
    header .ckf-logo img {width: 100px; height: auto;}
    header .ckf-logo {top: 10px;}
}
@media (min-width: 768px) {
    header .ckf-logo img {width: 110px; height: auto;}
}
@media (min-width: 1024px) {
    header .ckf-logo img {width: 120px; height: auto;}
}
@media (min-width: 1366px) {
    header .ckf-logo img {width: 130px; height: auto;}
    header .ckf-logo {top: 12px;}
}
@media (min-width: 1600px) {
    header .ckf-logo img {width: 140px; height: auto;}
    header .ckf-logo {top: 14px;}
}
@media (min-width: 1800px) {
    header .ckf-logo img {width: 150px; height: auto;}
}

header .ckf-logo .CKF_logo {
    cursor: pointer;
}

header .ckf-logo .icon {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

header .ckf-logo .icon svg {
    width: 100%;
    min-width: 80px;
    max-width: calc(80px * 1.5);
}

header .ckf-logo .icon:first-of-type {
    position: absolute;
    top: -20%;
    right: 120%;
    width: 70%;
    display: none;
}

@media screen and (max-width: 790px) {
    header .ckf-logo .icon:first-of-type {
        top: calc(100% + 2em);
        right: 50%;
        -webkit-transform: translateX(50%);
        transform: translateX(50%);
    }
}

.kontakt header .ckf-logo .icon:first-of-type {
    display: block;
}

header .ckf-logo .icon:first-of-type svg {
    min-width: unset;
    max-width: none;
}

_:-ms-fullscreen,
:root footer {
    padding-left: 8.3333333333vw;
    padding-right: 8.3333333333vw;
}

section:last-of-type {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

_:-ms-fullscreen, :root .section-image-text {
    padding-left: 8.3333333333vw;
    padding-right: 8.3333333333vw;
}

footer {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: [container-start] 8.3333333333vw [content-start] repeat(5, 1fr) [center] repeat(5, 1fr) [content-end] 8.3333333333vw [container-end];
    -ms-grid-columns: 1fr [ 10 ];
    grid-gap: 0 1vw;
    grid-auto-flow: row dense;
    position: relative;
    padding: 0 2vw;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    z-index: 4;
    margin-bottom: 1rem;
    padding-top: 0;
    max-height: 4rem;
}

footer:before, footer:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #7a7a7a;
}

footer:before {
    top: 0;
}

footer:after {
    bottom: 0;
}

footer:before {
    content: none;
}

.home:not(.opened-menu) footer {
    opacity: 0;
    /*pointer-events: none;*/
}

@media screen and (max-width: 790px) {
    footer {
        margin-bottom: 1rem;
        padding-left: 0;
        padding-right: 0;
    }
}

footer .social-media {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

footer .social-media .social-link {
    cursor: pointer;
    min-width: 25px;
    min-height: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

footer .social-media svg {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: fill;
    transition-property: fill;
    height: 18px;
    width: auto;
    fill: #1b1b1b;
}

@media screen and (max-width: 790px) {
    footer .social-media {
        grid-column-start: 2;
    }
}

_:-ms-fullscreen, :root footer {
    padding-left: 8.3333333333vw;
    padding-right: 8.3333333333vw;
}

p {
    font-size: 13px;
    line-height: 1.5em;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1b1b1b;
    margin: 0 0 15px 0;
}

.grid {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: [container-start] 8.3333333333vw [content-start] repeat(5, 1fr) [center] repeat(5, 1fr) [content-end] 8.3333333333vw [container-end];
    -ms-grid-columns: 1fr [ 10 ];
    grid-gap: 0 1vw;
    grid-auto-flow: row dense;
}

_:-ms-fullscreen, :root .grid {
    padding-left: 8.3333333333vw;
    padding-right: 8.3333333333vw;
}

.col-1 {
    grid-column: span 1;
    -ms-grid-column-span: 1;
}

.col-2 {
    grid-column: span 2;
    -ms-grid-column-span: 2;
}

.col-3 {
    grid-column: span 3;
    -ms-grid-column-span: 3;
}

.col-4 {
    grid-column: span 4;
    -ms-grid-column-span: 4;
}

.col-5 {
    grid-column: span 5;
    -ms-grid-column-span: 5;
}

.col-6 {
    grid-column: span 6;
    -ms-grid-column-span: 6;
}

.col-8 {
    grid-column: span 8;
    -ms-grid-column-span: 8;
}

.col-10 {
    grid-column: span 10;
    -ms-grid-column-span: 10;
}

.col-1-end {
    grid-column: span 1 / 11;
    -ms-grid-column-span: 1;
    -ms-grid-column: 10;
}

.col-2-end {
    grid-column: span 2 / 11;
    -ms-grid-column-span: 2;
    -ms-grid-column: 9;
}

.col-3-end {
    grid-column: span 3 / 11;
    -ms-grid-column-span: 3;
    -ms-grid-column: 8;
}

.col-4-end {
    grid-column: span 4 / 11;
    -ms-grid-column-span: 4;
    -ms-grid-column: 7;
}

.col-5-end {
    grid-column: span 5 / 11;
    -ms-grid-column-span: 5;
    -ms-grid-column: 6;
}

.col-6-end {
    grid-column: span 6 / 11;
    -ms-grid-column-span: 6;
    -ms-grid-column: 5;
}

.col-8-end {
    grid-column: span 8 / 11;
    -ms-grid-column-span: 8;
    -ms-grid-column: 3;
}

.col-3-of-6-end {
    grid-column: span 3 / 6;
    -ms-grid-column-span: 3;
    -ms-grid-column: 3;
}

.row-2 {
    grid-row: 2;
    -ms-grid-row: 2;
}

.row-3 {
    grid-row: 3;
    -ms-grid-row: 3;
}

@media screen and (max-width: 960px) {
    .col-4-m {
        grid-column: span 4;
        -ms-grid-column-span: 4;
    }
}

@media screen and (max-width: 790px) {
    .col-2-s {
        grid-column: span 2;
        -ms-grid-column-span: 2;
    }

    .col-3-s {
        grid-column: span 3;
        -ms-grid-column-span: 3;
    }

    .col-4-s {
        grid-column: span 4;
        -ms-grid-column-span: 4;
    }

    .col-6-s {
        grid-column: span 6;
        -ms-grid-column-span: 6;
    }

    .col-7-s {
        grid-column: span 7;
        -ms-grid-column-span: 7;
    }

    .col-8-s {
        grid-column: span 8;
        -ms-grid-column-span: 8;
    }

    .col-10-s {
        grid-column: span 10;
        -ms-grid-column-span: 10;
    }

    .col-1-s-end {
        grid-column: span 1 / 11;
        -ms-grid-column-span: 1;
        -ms-grid-column: 10;
    }

    .col-2-s-end {
        grid-column: span 2 / 11;
        -ms-grid-column-span: 2;
        -ms-grid-column: 9;
    }

    .col-4-s-end {
        grid-column: span 4 / 11;
        -ms-grid-column-span: 4;
        -ms-grid-column: 7;
    }
}

.text {
    font-size: 13px;
    line-height: 1.5em;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1b1b1b;
}

@media screen and (min-width: 1400px) {
    .text {
        font-size: 17.6px;
    }
}

.text-s {
    font-size: 13px;
    line-height: 1.5em;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1b1b1b;
    font-size: 13px;
}

@media screen and (min-width: 1400px) {
    .text-s {
        font-size: 17.6px;
    }
}

@media screen and (min-width: 1400px) {
    .text-s {
        font-size: 14.3px;
    }
}

.text-bold {
    font-size: 13px;
    line-height: 1.5em;
    font-family: 'Arial', sans-serif;
    font-style: normal;
    color: #1b1b1b;
    font-weight: 700;
}

@media screen and (min-width: 1400px) {
    .text-bold {
        font-size: 17.6px;
    }
}

.medium-header {
    font-family: 'BebasNeue-Bold', sans-serif;
    font-size: 2.1428571429vw;
    line-height: 1em;
    text-transform: uppercase;
    margin-bottom: .8em;
}

@media screen and (max-width: 790px) {
    .medium-header {
        font-size: 4.2857142857vw;
    }
}

.medium-header {
    font-size: 25px;
}

@media screen and (min-width: 320px) {
    .medium-header {
        font-size: calc(25px + 15 * ((100vw - 320px) / 1080));
    }
}

@media screen and (min-width: 1400px) {
    .medium-header {
        font-size: 40px;
    }
}

.big-header {
    font-family: 'BebasNeue-Bold', sans-serif;
    font-size: 6.4285714286vw;
    line-height: 1em;
    text-transform: uppercase;
    margin-bottom: .3em;
}

.big-header {
    font-size: 55px;
}

@media screen and (min-width: 320px) {
    .big-header {
        font-size: calc(55px + 55 * ((100vw - 320px) / 1080));
    }
}

@media screen and (min-width: 1400px) {
    .big-header {
        font-size: 110px;
    }
}

.large-header {
    font-family: 'BebasNeue-Bold', sans-serif;
    font-size: 12.8571428571vw;
    line-height: 1em;
    text-transform: uppercase;
}

.large-header {
    font-size: 100px;
}

@media screen and (min-width: 320px) {
    .large-header {
        font-size: calc(100px + 120 * ((100vw - 320px) / 1080));
    }
}

@media screen and (min-width: 1400px) {
    .large-header {
        font-size: 220px;
    }
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.capitalize {
    text-transform: capitalize;
}

.lowercase {
    text-transform: lowercase;
}

.section-title {
    display: block;
    font-family: 'BebasNeue-Bold', sans-serif;
    /*font-size: 6.4285714286vw;*/
    line-height: 1em;
    text-transform: uppercase;
    font-size: 45px;
    position: fixed;
}

@media (min-width: 1px) {
    .section-title {top: 60px;}
}
@media (min-width: 480px) {
    .section-title {top: 65px;}
}
@media (min-width: 640px) {
    .section-title {top: 70px;}
}
@media (min-width: 768px) {
    .section-title {top: 80px;}
}
@media (min-width: 1024px) {
     .section-title {top: 85px;}
}
@media (min-width: 1366px) {
    .section-title {top: 90px;}
}
@media (min-width: 1600px) {
    .section-title {top: 95px;}
}
@media (min-width: 1800px) {
    .section-title {top: 100px;}
}

@media screen and (min-width: 320px) {
    .section-title {
        font-size: calc(45px + 45 * ((100vw - 320px) / 1080));
    }
}

@media screen and (min-width: 1400px) {
    .section-title {
        font-size: 90px;
    }
}

.section-title:not(.title-rotated) {
    /*background-color: #f3f3f3;*/
    z-index: 0;
}

.section-title:not(.title-rotated) .title-part {
    position: relative;
    padding-bottom: 0.075em;
}

.section-title:not(.title-rotated) .title-part:before, .section-title:not(.title-rotated) .title-part:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #1b1b1b;
}

.section-title:not(.title-rotated) .title-part:before {
    top: 0;
}

.section-title:not(.title-rotated) .title-part:after {
    bottom: 0;
}

.section-title.title-rotated {
    position: absolute;
    top: 60%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    position: fixed;
    -webkit-transform: rotate(-90deg) translateY(0%) translateX(-50%);
    transform: rotate(-90deg) translateY(0%) translateX(-50%);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    text-align: center;
    z-index: 5;
}

.section-title.title-rotated .page-title {
    -webkit-transform: translateY(-0.37em);
    transform: translateY(-0.37em);
}

@media screen and (max-width: 790px) {
    .section-title.title-rotated {
        opacity: 0;
        /*pointer-events: none;*/
    }
}

.page-title .title-part {
    padding-right: 1em;
}

@-webkit-keyframes marquee {
    to {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@keyframes marquee {
    to {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

.slider-wrapper,
.horizontal-slider {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.page-title {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.page-title .horizontal-slide {
    -webkit-transform: scaleY(-1) scaleX(-1);
    transform: scaleY(-1) scaleX(-1);
}

.landscape-slider {
    /*overflow: hidden;*/
    white-space: nowrap;
    left: 0;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: no-wrap;
    flex-wrap: no-wrap;
    opacity: 1;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: opacity;
    transition-property: opacity;
}

.loop-index {
    position: absolute;
    font-size: 13px;
}

.main-menu .loop-index {
    top: .6em;
}
@media screen and (max-width: 790px) {
    .post-type-archive-employee  {
    padding: 0 30px;
    z-index: 4;
    position: relative;
    background-color: #f3f3f3;
    }
}
.post-type-archive-employee .employee .loop-index {
    top: 0;
    left: -2em;
}

@media screen and (max-width: 790px) {
    .post-type-archive-employee .employee .loop-index {
        top: 0;
        right: calc(100% + .6em);
    }

}

.section-content .loop-index {
    top: 0;
}

.two-columns-layout .loop-index {
    top: .4em;
}

.main-menu .loop-index,
.page-template-default .loop-index {
    right: calc(100% + .6em);
}

.main-menu {
    color: #f3f3f3;
    background-color: #1b1b1b;
    margin: 0 auto;
    display: grid;
    opacity: 0;
    grid-template-columns: [container-start] 8.3333333333vw [content-start] repeat(5, 1fr) [center] repeat(5, 1fr) [content-end] 8.3333333333vw [container-end];
    -ms-grid-columns: 1fr [ 10 ];
    grid-gap: 0 1vw;
    grid-auto-flow: row dense;
    position: absolute;
    z-index: 5;
    top:  0;
    left: 0;
    width: 100vw;
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: -webkit-transform;
    /*transition-property: -webkit-transform;*/
    /*transition-property: transform;*/
    transition-property: transform, -webkit-transform, opacity;
}

.main-menu p,
.main-menu .loop-index {
    color: #f3f3f3;
}

.main-menu svg {
    fill: #f3f3f3;
    stroke: #f3f3f3;
}

.main-menu .burger-icon {
    position: relative;
    overflow: hidden;
    color: transparent;
}

.main-menu .burger-icon:before, .main-menu .burger-icon:after {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform, -webkit-transform;
    content: attr(data-title);
    position: absolute;
    left: 0;
    width: 100%;
    color: #f3f3f3;
}

.main-menu .burger-icon:before {
    top: 0%;
}

.main-menu .burger-icon:after {
    top: -100%;
}

.main-menu .burger-icon:hover:before, .main-menu .burger-icon:hover:after {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}

.main-menu .button {
    border: 1px solid #f3f3f3;
}

.main-menu .menu-list {
    grid-column: 2/7;
    display: none;
}

.main-menu .menu-item {
    position: relative;
    margin: 1.5em 0;
}

.main-menu .menu-link {
    font-family: 'BebasNeue-Bold', sans-serif;
    font-size: 6.4285714286vw;
    line-height: 1.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    color: transparent;
}

.main-menu .menu-link {
    font-size: 55px;
}

@media screen and (min-width: 320px) {
    .main-menu .menu-link {
        /*font-size: calc(55px + 55 * ((100vw - 320px) / 1080));*/
        font-size: 25px;}
}
@media screen and (min-width: 640px) {
    .main-menu .menu-link {
        font-size: 35px;}
}
@media screen and (min-width: 768px) {
    .main-menu .menu-link {
        font-size: 40px;}
}
@media screen and (min-width: 1024px) {
    .main-menu .menu-link {
        font-size: 45px;}
    .main-menu .menu-list {
    margin: 0 0 0 80px;}
}
@media screen and (min-width: 1366px) {
    .main-menu .menu-link {
        font-size: 60px;}
}
@media screen and (min-width: 1400px) {
    .main-menu .menu-link {
        font-size: 70px;}
}

.main-menu .menu-link:before, .main-menu .menu-link:after {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform, -webkit-transform;
    content: attr(data-title);
    position: absolute;
    left: 0;
    width: 100%;
    color: #f3f3f3;
}

.main-menu .menu-link:before {
    top: 0%;
}

.main-menu .menu-link:after {
    top: -100%;
}

.main-menu .menu-link:hover:before, .main-menu .menu-link:hover:after {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}

.opened-menu .main-menu {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

.opened-menu .main-menu .menu-list{
    display: block;
}

.opened-menu .menu-link:before, .opened-menu .menu-link:after {
    -webkit-animation: slide-down .25s ease-out;
    animation: slide-down .25s ease-out;
}

.opened-menu .menu-item:nth-child(1) .menu-link:before, .opened-menu .menu-item:nth-child(1) .menu-link:after {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.opened-menu .menu-item:nth-child(2) .menu-link:before, .opened-menu .menu-item:nth-child(2) .menu-link:after {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.opened-menu .menu-item:nth-child(3) .menu-link:before, .opened-menu .menu-item:nth-child(3) .menu-link:after {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.opened-menu .menu-item:nth-child(4) .menu-link:before, .opened-menu .menu-item:nth-child(4) .menu-link:after {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.opened-menu .menu-item:nth-child(5) .menu-link:before, .opened-menu .menu-item:nth-child(5) .menu-link:after {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.opened-menu .menu-item:nth-child(6) .menu-link:before, .opened-menu .menu-item:nth-child(6) .menu-link:after {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.opened-menu .menu-item:nth-child(7) .menu-link:before, .opened-menu .menu-item:nth-child(7) .menu-link:after {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.opened-menu .menu-item:nth-child(8) .menu-link:before, .opened-menu .menu-item:nth-child(8) .menu-link:after {
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.opened-menu .menu-item:nth-child(9) .menu-link:before, .opened-menu .menu-item:nth-child(9) .menu-link:after {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.opened-menu .menu-item:nth-child(10) .menu-link:before, .opened-menu .menu-item:nth-child(10) .menu-link:after {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

.opened-menu footer {
    position: fixed;
    bottom: 0;
}

.opened-menu footer svg {
    fill: #f3f3f3;
}

.menu-tagline {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    font-size: 13px;
    grid-column: 4/13;
    text-align: right;
}

.menu-tagline.opened-menu .menu-tagline {
    opacity: 1;
    color: #f3f3f3;
}

.opened-menu .menu-tagline {
    opacity: 1;
    color: #f3f3f3;
}

@media screen and (max-width: 790px) {
    .menu-tagline {
        grid-column-end: 12;
    }
}

.intro {
    position: absolute;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    background: #1b1b1b;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.intro .intro-video {
    display: none;
}

.intro .intro-video.selected {
    display: block;
}

.intro .intro-video.desktop-video {
    width: 100%;
    height: auto;
}

.intro .intro-video.mobile-video {
    width: auto;
    height: 100%;
}

.intro.desktop-mode .desktop-video {
    display: block;
}

.intro.mobile-mode .mobile-video {
    display: block;
}

.intro .remove-intro {
    position: absolute;
    z-index: 2;
    bottom: 1.5em;
    color: #f3f3f3;
    border-color: #f3f3f3;
    background-color: #1b1b1b;
    cursor: pointer;
}

@media screen and (max-width: 790px) {
    .intro .remove-intro {
        bottom: 60px;
    }
}

.cookies {
    color: #f3f3f3;
    background-color: #1b1b1b;
    padding: 0 2vw;
    padding-top: 1em;
    padding-bottom: 1em;
    position: fixed;
    z-index: 5;
    width: 100%;
    bottom: 0;
}

.cookies p,
.cookies .loop-index {
    color: #f3f3f3;
}

.cookies svg {
    fill: #f3f3f3;
    stroke: #f3f3f3;
}

.cookies .burger-icon {
    position: relative;
    overflow: hidden;
    color: transparent;
}

.cookies .burger-icon:before, .cookies .burger-icon:after {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform, -webkit-transform;
    content: attr(data-title);
    position: absolute;
    left: 0;
    width: 100%;
    color: #f3f3f3;
}

.cookies .burger-icon:before {
    top: 0%;
}

.cookies .burger-icon:after {
    top: -100%;
}

.cookies .burger-icon:hover:before, .cookies .burger-icon:hover:after {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}

.cookies .button {
    border: 1px solid #f3f3f3;
}

.cookies:before, .cookies:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #f3f3f3;
}

.cookies:before {
    top: 0;
}

.cookies:after {
    bottom: 0;
}

.cookies:after {
    content: none;
}

.cookies .button {
    margin-left: 1em;
}

.button, .kontakt .department-link {
    text-transform: uppercase;
    border: 1px solid #1b1b1b;
    cursor: pointer;
    font-size: 13px;
    padding: .35em 1em .25em;
    display: inline-block;
    margin-right: 1em;
}

.button:before, .button:after, .kontakt .department-link:before, .kontakt .department-link:after {
    left: 1em;
}

.button.accept {
    cursor: pointer;
    width: 25px;
    height: 25px;
    margin-left: 1em;
    padding: 0;
}

.emaillist .es-field-wrap label {
    position: relative;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    display: block;
}

.emaillist .es-field-wrap label:before, .emaillist .es-field-wrap label:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #7a7a7a;
}

.emaillist .es-field-wrap label:before {
    top: 0;
}

.emaillist .es-field-wrap label:after {
    bottom: 0;
}

.emaillist .es-field-wrap label:before {
    content: none;
}

.emaillist .es_required_field {
    font-size: 16px;
    color: #f3f3f3;
    background: none;
    border: none;
    width: 100%;
    /*pointer-events: none;*/
}

.emaillist .es_spinner_image {
    display: none !important;
}

.emaillist .es_subscription_form_submit {
    text-transform: uppercase;
    cursor: pointer;
    font-size: 13px;
    padding: .65em 1em .55em;
    border: 1px solid #f3f3f3;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: all;
    transition-property: all;
    background: none;
    color: #f3f3f3;
    /*pointer-events: none;*/
}

.emaillist .es_subscription_form_submit:before, .emaillist .es_subscription_form_submit:after {
    left: 1em;
}

.emaillist .es_subscription_message.success {
    font-size: 13px;
    line-height: 1.5em;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #f3f3f3;
}

.emaillist ::-webkit-input-placeholder {
    color: #7a7a7a;
    opacity: 1;
}

.emaillist ::-moz-placeholder {
    color: #7a7a7a;
    opacity: 1;
}

.emaillist ::-ms-input-placeholder {
    color: #7a7a7a;
    opacity: 1;
}

.emaillist ::placeholder {
    color: #7a7a7a;
    opacity: 1;
}

.emaillist :-ms-input-placeholder {
    color: #7a7a7a;
}

.emaillist ::-ms-input-placeholder {
    color: #7a7a7a;
}

.privacy {
    text-decoration: underline;
}

.privacy-accept {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.privacy-accept .accept {
    padding: .25em;
}

.privacy-accept svg {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: fill;
    transition-property: fill;
}

.privacy-accept svg,
.page-template-default.two-columns-layout .privacy-accept svg {
    fill: #1b1b1b;
    stroke: none;
}

.privacy-accepted .accept svg.ok {
    fill: #f3f3f3;
}

.privacy-accepted .es_required_field,
.privacy-accepted .es_subscription_form_submit {
    pointer-events: auto;
}

.privacy-accepted .es_subscription_form_submit {
    border: 1px solid #f3f3f3;
    color: #f3f3f3;
}

.sections-nav {
    text-transform: uppercase;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    grid-column: 1/5;
}

@media screen and (max-width: 790px) {
    .sections-nav {
        display: none;
        -webkit-box-pack: left;
        -ms-flex-pack: left;
        justify-content: left;
    }
}

.sections-nav .sections-nav-list {
    line-height: 1.7em;
    margin-top: 0;
}

.nav-link {font-size: 16px;}

@media (min-width: 1px) {
    .sections-nav .sections-nav-list {
    margin-bottom: 2.75rem;}
}
@media (min-width: 480px) {
}
@media (min-width: 640px) {
}
@media (min-width: 768px) {
    .nav-link {font-size: 12px;}
}
@media (min-width: 791px) {
    .sections-nav .sections-nav-list {
    max-width: 250px;
    line-height: 1.3em;
    position: fixed;
    margin-bottom: 0;}
}
@media (min-width: 1024px) {
    .sections-nav .sections-nav-list {
    max-width: 260px;}
}
@media (min-width: 1366px) {
    .sections-nav .sections-nav-list {
    max-width: 270px;}
    .nav-link {font-size: 13px; line-height: 1.2em;}
}
@media (min-width: 1600px) {
    .sections-nav .sections-nav-list {
    max-width: 320px;}
}
@media (min-width: 1800px) {
    .sections-nav .sections-nav-list {
    max-width: 350px;}
    .nav-link {font-size: 14px;}
}


@media screen and (max-width: 790px) {
    .sections-nav .sections-nav-list {
        position: absolute;
        margin-top: 3rem;
        top: calc(0.75rem + 46.56px + 2 * 2vw + (55px + 55 * ((100vw - 320px) / 1080)) * 1.2);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 0 calc(100% / 12 + 1vw);
        background-color: #f3f3f3;
        z-index: 2;
    }

    .sections-nav .sections-nav-list.fixed-nav {
        position: fixed;
        top: 0;
    }

    .sections-nav .sections-nav-list .nav-item {
        margin-right: 2em;
    }
}

.sections-nav .sections-nav-list .nav-link {
    position: relative;
    padding-left: 1.4em;
    overflow: hidden;
}

.sections-nav .sections-nav-list .nav-link:before {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    content: "";
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.7em;
    border-color: transparent transparent transparent black;
}

@media screen and (max-width: 790px) {
    .sections-nav .sections-nav-list .nav-link {
        -webkit-transform: translateX(-1.4em);
        transform: translateX(-1.4em);
    }
}

.sections-nav .sections-nav-list .nav-link:before {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform, -webkit-transform;
    -webkit-transform: translateY(-50%) translateX(-100%);
    transform: translateY(-50%) translateX(-100%);
}

.sections-nav .sections-nav-list .nav-link.current-section-link:before {
    -webkit-transform: translateY(-50%) translateX(0%);
    transform: translateY(-50%) translateX(0%);
}

@media screen and (min-width: 790px) {
    .post-type-archive-employee > footer,
    .post-type-archive-employee > header {
        position: fixed;
    }

    .post-type-archive-employee footer {
        bottom: 0;
    }
}

.post-type-archive-employee .photo-author {
    display: none;
    font-size: 13px;
    line-height: 1.5em;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1b1b1b;
    position: fixed;
    z-index: 3;
    left: 1vw;
    bottom: 1vw;
}

@media screen and (max-width: 790px) {
    .post-type-archive-employee .photo-author {
        padding: .4em .6em;
        right: 0;
        left: auto;
        bottom: 20%;
        background: #f3f3f3;
        border: 1px solid #1b1b1b;
        border-right: none;
    }
}

.post-type-archive-employee .employees-slider .horizontal-slider {
    /*-webkit-transform: translateX(calc(100vw / 12 * 6 / 1.5));*/
    /*transform: translateX(calc(100vw / 12 * 6 / 1.5));*/
    /*left: calc(100vw / 12 * 6 / 1.5);*/
    position: fixed;
    left: 0;
}
.post-type-archive-employee .employees-slider .btn-left,
.post-type-archive-employee .employees-slider .btn-right {position: fixed; top: 50%; margin-top: -250px; z-index: 4; cursor: pointer; color: #f3f3f3; padding: 250px 20px; width: 24px;}
.post-type-archive-employee .employees-slider .btn-left {left: 0; background: url(/img/btn-left.png) center center no-repeat #f3f3f3;}
.post-type-archive-employee .employees-slider .btn-right {right: 0; background: url(/img/btn-right.png) center center no-repeat #f3f3f3;}


.employees-slider {margin-top: 75px;}

@media screen and (max-width: 790px) {
    .post-type-archive-employee .employees-slider {
        padding-top: 3rem;
    }

    .post-type-archive-employee .employees-slider .btn-left,
    .post-type-archive-employee .employees-slider .btn-right {display: none;}

    .post-type-archive-employee .employees-slider .horizontal-slider {
        position: relative;
        padding-top: 0;
        -webkit-transform: none;
        transform: none;
        width: 100%;
        margin: 0 auto;
        display: grid;
        /*grid-template-columns: [container-start] 8.3333333333vw [content-start] repeat(5, 1fr) [center] repeat(5, 1fr) [content-end] 8.3333333333vw [container-end];
        -ms-grid-columns: 1fr [ 10 ];
        grid-gap: 0 1vw;
        grid-auto-flow: row dense;*/
    }

    /*.post-type-archive-employee .employees-slider .horizontal-slider:nth-of-type(1), .post-type-archive-employee .employees-slider .horizontal-slider:nth-of-type(2), .post-type-archive-employee .employees-slider .horizontal-slider:nth-of-type(3) {
        display: none;
    }*/
    .post-type-archive-employee .employee.backward {
        display: none;
        transform: none;
    }

}

@media screen and (min-width: 1400px) {
    .post-type-archive-employee .employees-slider {
        padding-top: 1vw;
    }
}

.post-type-archive-employee .employee {
    position: relative;
    width: calc(100vw / 12 * 6);
    margin-right: calc(100vw / 12 * 1.5);
    margin-left: 40px;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
}

@media screen and (max-width: 790px) {
    .post-type-archive-employee {
        grid-column: 2/11;
    }
    .post-type-archive-employee .employee {
        width: 100%;
        margin-right: 0;
        margin-bottom: 3rem;
        grid-column: 3/12;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.post-type-archive-employee .employee .employee-photo-wrapper {
    width: calc(100% / 6 * 1.8);
    margin-right: 1.5vw;
    float: left;
}

@media screen and (max-width: 790px) {
    .post-type-archive-employee .employee .employee-photo-wrapper {
        width: calc(100% / 6 * 4.5);
        margin-right: 0;
        float: none;
    }
}

.post-type-archive-employee .employee .employee-photo-wrapper .employee-photo {
    border: 1px solid #1b1b1b;
    width: 100%;
    padding: 12px;
}

.post-type-archive-employee .employee .employee-info {
    width: 80%;
}

.post-type-archive-employee .employee .employee-info .employee-name {
    font-family: 'BebasNeue-Bold', sans-serif;
    font-size: 2.1428571429vw;
    line-height: 1em;
    text-transform: uppercase;
    margin-bottom: 0.2em;
    margin-top: .7em;
}

@media screen and (max-width: 790px) {
    .post-type-archive-employee .employee .employee-info .employee-name {
        font-size: 4.2857142857vw;
    }
}

.post-type-archive-employee .employee .employee-info .employee-name {
    font-size: 25px;
}

@media screen and (min-width: 320px) {
    .post-type-archive-employee .employee .employee-info .employee-name {
        font-size: calc(25px + 15 * ((100vw - 320px) / 1080));
    }
}

@media screen and (min-width: 1400px) {
    .post-type-archive-employee .employee .employee-info .employee-name {
        font-size: 40px;
    }
}

@media screen and (max-width: 790px) {
    .post-type-archive-employee .employee .employee-info .employee-name {
        margin-top: 1em;
    }
}

.post-type-archive-employee .employee .employee-info .employee-position,
.post-type-archive-employee .employee .employee-info .employee-email,
.post-type-archive-employee .employee .employee-info .employee-phone,
.post-type-archive-employee .employee .employee-info .employee-bio {
    font-size: 13px;
    white-space: normal;
}
.post-type-archive-employee .employee .employee-info .employee-email a {
    color: #7a7a7a;
    text-decoration: underline;
}
.post-type-archive-employee .employee .employee-info .employee-email a:hover {
    color: #000;
}

.post-type-archive-employee .employee .employee-info .employee-bio p{
    color: #7a7a7a;
    margin-top: .5em;
}

.post-type-archive-employee footer:before, .post-type-archive-employee footer:after {
    background-color: #f3f3f3;
}

@media screen and (min-width: 790px) {
    .post-type-archive-employee .landscape-slider {
        position: fixed;
    }

    .post-type-archive-employee footer {
        display: none;
    }
}

.post-type-archive-event {
    grid-column: 5/11;
    padding: 0 30px;
    z-index: 4;
    position: relative;
    background-color: #f3f3f3;
}

@media screen and (max-width: 790px) {
    .post-type-archive-event {
        grid-column: 2/12;
    }
}

.post-type-archive-event .event {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: [container-start] 8.3333333333vw [content-start] repeat(5, 1fr) [center] repeat(5, 1fr) [content-end] 8.3333333333vw [container-end];
    -ms-grid-columns: 1fr [ 10 ];
    grid-gap: 0 1vw;
    grid-auto-flow: row dense;
    position: relative;
    cursor: pointer;
}

.post-type-archive-event .event:before, .post-type-archive-event .event:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #7a7a7a;
}

.post-type-archive-event .event:before {
    top: 0;
}

.post-type-archive-event .event:after {
    bottom: 0;
}

.post-type-archive-event .event:before {
    content: none;
}

.post-type-archive-event .event.inactive-card {
    display: none;
    opacity: 0;
}

.post-type-archive-event .event.active-card {
    display: grid;
    opacity: 1;
}

.post-type-archive-event .event.active-card.hidden {
    opacity: 0;
}

.post-type-archive-event .event:first-of-type {
    position: relative;
}

.post-type-archive-event .event:first-of-type:before, .post-type-archive-event .event:first-of-type:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #7a7a7a;
}

.post-type-archive-event .event:first-of-type:before {
    top: 0;
}

.post-type-archive-event .event:first-of-type:after {
    bottom: 0;
}

.post-type-archive-event .event:hover {
    background-color: #f3f3f3;
}

.post-type-archive-event .event .event-content {
    -ms-grid-column-span: 6;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 0 1vw;
    grid-column: 4/11;
    padding: 1rem 0;
}

@media screen and (max-width: 790px) {
    .post-type-archive-event .event .event-content {
        -ms-grid-column-span: 10;
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        grid-gap: 0 1vw;
        grid-column: 2/12;
    }
}

.post-type-archive-event .event .event-data {
    grid-column: span 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}

.event-department img {width: 30px; height: auto;}

@media screen and (max-width: 790px) {
    .post-type-archive-event .event .event-data {
        grid-column: span 3;
    }
}

.post-type-archive-event .event .event-data.event-department {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media screen and (max-width: 790px) {
    .post-type-archive-event .event .event-data.event-department {
        grid-column: span 2;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}

.post-type-archive-event .event .event-data.event-department svg {
    /*pointer-events: none;*/
}

.post-type-archive-event .event .event-data.event-department:before {
    content: attr(data-name);
    display: none;
}

.post-type-archive-event .event .event-data.event-department .icon {
    width: 25px;
}

.post-type-archive-event .event .event-data.event-info {
    grid-column: span 4;
}

.news .event .event-data.event-info {
    grid-column: span 5;
}


@media screen and (max-width: 790px) {
    .post-type-archive-event .event .event-data.event-info {
        grid-column: span 5;
    }
}

.post-type-archive-event .event .event-data.event-info-extended {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-property: all;
    transition-property: all;
    grid-row: 2;
    grid-column: 3/7;
    max-height: 0;
    overflow: hidden;
}
.news .event .event-data.event-info-extended {
    grid-column: 2/7;
}

@media screen and (max-width: 790px) {
    .post-type-archive-event .event .event-data.event-info-extended {
        grid-column: 1/11;
        margin-top: 1em;
    }
}

.post-type-archive-event .event .event-data .event-category {
    margin-bottom: .25em;
}

.post-type-archive-event .event .event-data .event-name {
    font-family: 'BebasNeue-Bold', sans-serif;
    font-size: 2.1428571429vw;
    line-height: 1em;
    text-transform: uppercase;
    margin-bottom: 0;
}

@media screen and (max-width: 790px) {
    .post-type-archive-event .event .event-data .event-name {
        font-size: 4.2857142857vw;
    }
}

.post-type-archive-event .event .event-data .event-name {
    font-size: 25px;
}

@media screen and (min-width: 320px) {
    .post-type-archive-event .event .event-data .event-name {
        font-size: calc(25px + 15 * ((100vw - 320px) / 1080));
    }
}

@media screen and (min-width: 1400px) {
    .post-type-archive-event .event .event-data .event-name {
        font-size: 40px;
    }
}

.post-type-archive-event .event .event-data .event-description {
    color: #7a7a7a;
    margin-bottom: 1em;
    margin-top: 1em;
    width: 100%;
}

.post-type-archive-event .event .event-data .event-ticket,
.post-type-archive-event .event .event-data .event-doc {
    margin-top: 0.5em;
}

.post-type-archive-event .event .event-data .event-doc {
    text-decoration: underline;
}

.post-type-archive-event .event .event-data .event_photo {
    width: 100%;
    margin-bottom: .5em;
}

.post-type-archive-event .event.active-event .event-data.event-info-extended {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-property: all;
    transition-property: all;
    max-height: 1000vh;
}

.page-template-default .section-content {
    padding-top: 120px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: [container-start] 8.3333333333vw [content-start] repeat(5, 1fr) [center] repeat(5, 1fr) [content-end] 8.3333333333vw [container-end];
    -ms-grid-columns: 1fr [ 10 ];
    grid-gap: 0 1vw;
    grid-auto-flow: row dense;
}

@media screen and (max-width: 790px) {
    .page-template-default .section-content { margin: 0 0 50px 0;}
}

.page-template-default .loop-index {
    font-size: 13px;
    line-height: 1.5em;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1b1b1b;
}

.page-template-default .main-menu .loop-index {
    color: #f3f3f3;
}

.page-template-default.one-column-layout .page-section {
    grid-column: 5/11;
}

@media screen and (max-width: 790px) {
    .page-template-default.one-column-layout .page-section {
        grid-column: 2/12;
    }
}

.page-template-default.one-column-layout .section-department {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 1rem;
}

.page-template-default.one-column-layout .department-title,
.page-template-default.one-column-layout h2, #popup h1 {
    font-family: 'BebasNeue-Bold', sans-serif;
    font-size: 2.1428571429vw;
    line-height: 1em;
    text-transform: uppercase;
    margin-bottom: 1em;
    margin-top: 1em;
    position: relative;
}

@media screen and (max-width: 790px) {
    .page-template-default.one-column-layout .department-title,
    .page-template-default.one-column-layout h2 {
        font-size: 4.2857142857vw;
    }
}

.page-template-default.one-column-layout .department-title,
.page-template-default.one-column-layout h2 {
    font-size: 25px;
}

@media screen and (min-width: 320px) {
    .page-template-default.one-column-layout .department-title,
    .page-template-default.one-column-layout h2 {
        font-size: calc(25px + 15 * ((100vw - 320px) / 1080));
    }
}

@media screen and (min-width: 1400px) {
    .page-template-default.one-column-layout .department-title,
    .page-template-default.one-column-layout h2 {
        font-size: 40px;
    }
}

.page-template-default.one-column-layout .department-title.logos-section-title,
.page-template-default.one-column-layout h2.logos-section-title {
    margin-bottom: 1em;
}

.page-template-default.one-column-layout .block-subtitle {
    font-family: 'BebasNeue-Book', sans-serif;
    font-size: 1.7857142857vw;
    line-height: 1.2em;
    margin-bottom: 0.5em;
}

@media screen and (max-width: 790px) {
    .page-template-default.one-column-layout .block-subtitle {
        font-size: 3.5714285714vw;
    }
}

.page-template-default.one-column-layout .block-subtitle {
    font-size: 20px;
}

@media screen and (min-width: 320px) {
    .page-template-default.one-column-layout .block-subtitle {
        font-size: calc(20px + 12 * ((100vw - 320px) / 1080));
    }
}

@media screen and (min-width: 1400px) {
    .page-template-default.one-column-layout .block-subtitle {
        font-size: 32px;
    }
}

.page-template-default.one-column-layout .block-description {
    margin-bottom: 1.75em;
}

.page-template-default.one-column-layout .block-description br {
    line-height: 2em;
}

.page-template-default.one-column-layout .block-description p,
.page-template-default.one-column-layout .department-link {
    color: #7a7a7a;
}

.page-template-default.one-column-layout .department-link {
    text-decoration: underline;
}

.page-template-default.one-column-layout .department-image {
    width: 100%;
    margin-bottom: 0.5em;
}

.page-template-default.one-column-layout .department-image.logo-type {
    width: 10%;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    margin-bottom: -1.8em;
    margin-top: 1.8em;
}

.page-template-default.two-columns-layout {
    color: #f3f3f3;
    background-color: #1b1b1b;
}

.page-template-default.two-columns-layout p,
.page-template-default.two-columns-layout .loop-index {
    color: #f3f3f3;
}

.page-template-default.two-columns-layout svg {
    fill: #f3f3f3;
    stroke: #f3f3f3;
}

.page-template-default.two-columns-layout .burger-icon {
    position: relative;
    overflow: hidden;
    color: transparent;
}

.page-template-default.two-columns-layout .burger-icon:before, .page-template-default.two-columns-layout .burger-icon:after {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform, -webkit-transform;
    content: attr(data-title);
    position: absolute;
    left: 0;
    width: 100%;
    color: #f3f3f3;
}

.page-template-default.two-columns-layout .burger-icon:before {
    top: 0%;
}

.page-template-default.two-columns-layout .burger-icon:after {
    top: -100%;
}

.page-template-default.two-columns-layout .burger-icon:hover:before, .page-template-default.two-columns-layout .burger-icon:hover:after {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}

.page-template-default.two-columns-layout .button, .kontakt .department-link {
    border: 1px solid #f3f3f3;
}

.page-template-default.two-columns-layout .burger-line {
    background-color: #f3f3f3;
}

.page-template-default.two-columns-layout .columns-wrapper {
    -ms-grid-column-span: 8;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 0 1vw;
    grid-column: 3/11;
}

.page-template-default.two-columns-layout .columns-wrapper .page-column {
    grid-column: span 4;
}

@media screen and (max-width: 790px) {
    .page-template-default.two-columns-layout .columns-wrapper .page-column {
        grid-column: span 8;
    }
}

.page-template-default.two-columns-layout .columns-wrapper .page-column-title, .kontakt h2  {
    font-family: 'BebasNeue-Bold', sans-serif;
    font-size: 6.4285714286vw;
    line-height: 1em;
    text-transform: uppercase;
    margin-top: .7em;
    margin-bottom: .4em;
    position: relative;
}

.page-template-default.two-columns-layout .columns-wrapper .page-column-title, .kontakt h2  {
    font-size: 55px;
}

@media screen and (min-width: 320px) {
    .page-template-default.two-columns-layout .columns-wrapper .page-column-title, .kontakt h2  {
        font-size: calc(55px + 55 * ((100vw - 320px) / 1080));
    }
}

@media screen and (min-width: 1400px) {
    .page-template-default.two-columns-layout .columns-wrapper .page-column-title, .kontakt h2  {
        font-size: 110px;
    }
}

.page-template-default.two-columns-layout .column-content p {
    margin-bottom: 2em;
}


.logos-section {

    grid-column: 3/11;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 2em;
    background-color: #f3f3f3 !important;
    z-index: 2;

}

.logos-section .logos-section-title {
    max-width: 60%;
}

.logos-section .logos-wrapper {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.logos-section .logo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 3rem 5rem;
}

.logos-section .logo-file {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: -webkit-filter;
    transition-property: -webkit-filter;
    transition-property: filter;
    transition-property: filter, -webkit-filter;
}

.logos-section .logo-file:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.logos-section .logo-file.horizontal {
    width: 10rem;
}

.logos-section .logo-file.vertical {
    height: 10rem;
}

.logos-section .logo-file.square.horizontal {
    width: calc(10rem * .65);
}

.logos-section .logo-file.square.vertical {
    width: auto;
    height: calc(10rem * .65);
}

.logos-section .logo-file.square {
    width: calc(10rem * .65);
}

.toggle-filters-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    cursor: pointer;
    width: 100%;
    text-align: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: calc(100% / 12 * 1 / 2.1473787291 + 2vw * 1.5);
    min-height: calc(80px / 2.1473787291 + 2vw * 1.5);
    max-height: calc(80px * 1.5 / 2.1473787291 + 2vw * 1.5);
    -webkit-transform: none;
    transform: none;
    left: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media screen and (max-width: 790px) {
    .toggle-filters-box {
        height: calc(100% / 12 * 1 / 2.1473787291 + 2vw * 2);
        min-height: calc(80px / 2.1473787291 + 2vw * 2);
        max-height: calc(80px * 1.5 / 2.1473787291 + 2vw * 2);
    }
}

.toggle-filters-box .icon {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transform-origin: center;
    transform-origin: center;
    width: 1.2em;
    margin-left: .5em;
}

.filters-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    /*background: #e7e7e7;*/
    z-index: 1;
    top: -2vw;
    -webkit-transform: none;
    transform: none;
    left: 0;
    right: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.filters-activated .department-item {
    opacity: .6;
}

.filters-activated .department-item.active-card {
    opacity: 1;
}

.filters-box .filters-list {
    font-size: 13px;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: all;
    transition-property: all;
    max-height: 0;
    opacity: 0;
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media screen and (max-width: 960px) {
    .filters-box .filters-list {
        width: 65%;
    }
}

@media screen and (max-width: 790px) {
    .filters-box .filters-list {
        width: calc(100% - 4em);
    }
}

.filters-box .filters-list .department-item {
    width: calc(100% / 3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    justify-items: center;
    padding-left: 2em;
    margin-bottom: 1.5em;
    cursor: pointer;
}
.department-item img {width: 20px; height: auto;}
.department-name {text-transform: lowercase;}
.event-description .block-description {
    font-size: 13px;
    line-height: 1.5em;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #1b1b1b;

}

@media screen and (max-width: 790px) {
    .filters-box .filters-list .department-item {
        width: calc(100% / 2);
        padding-left: 1em;
    }

    .filters-box .filters-list .department-item:nth-child(odd) {
        padding-left: 0;
        padding-right: 1em;
    }
}

.filters-box .filters-list .department-item span {
    /*pointer-events: none;*/
}

.filters-box .filters-list .department-item .icon {
    margin-right: .7em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.filters-box .filters-list .department-item .icon svg {
    width: 1.5em;
    height: 1.5em;
}

.filters-active .toggle-filters-box .icon {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.filters-active .filters-list {
    opacity: 1;
    max-height: 100vh;
    padding: calc(20px * 2.5 - 2vw) 0;
}

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

.events-list {
    width: 100%;
    grid-column: 3/11;
}

.events-list .event-info {
    cursor: pointer;
}

.calendar, .news {background-color: #e7e7e7;}

.features {}
.features .features-item {
    -webkit-filter: grayscale(100%); filter: grayscale(100%);
    transition-duration: 0.7s;
}
.features .features-item:hover {-webkit-filter: grayscale(0%); filter: grayscale(0%);}

/*---------------------------------------------------------------------------------------------------------------------*/
.text_image {margin: 0 0 15px 0;}
.text_image img {width: 100%; height: auto;}
.page-blocks {margin: 0 0 80px 0;}
.text_file, .single_text {margin: 15px 0;}
.main-header {min-height: 110px;}
.gallery_simple_list {display: grid; grid-template-columns: 30% 30% 30%; grid-column-gap: 5%; grid-row-gap: 30px;}
.gallery_simple_item img {width: 100%; height: auto;}

.contrast {position: fixed; z-index: 2; font-family: 'BebasNeue-Bold', sans-serif; text-transform: uppercase;}
.contrast a:nth-of-type(1) {background-color: #fff; color: #000; padding: 3px 8px 4px 8px; margin: 0 0 0 5px; line-height: 1;}
.contrast a:nth-of-type(2) {background-color: #000; color: #ffff00; padding: 2px 7px 3px 7px; margin: 0 0 0 5px; border: 1px solid #fff; line-height: 1;}

.fontsize {position: fixed; z-index: 2; font-family: 'BebasNeue-Bold', sans-serif; text-transform: uppercase;}


@media (min-width: 1px) {
    .main-header {min-height: 60px;}
    .contrast {top: 16px; left: 40px;}
    .fontsize {top: 14px; left: 146px;}
    .fontsize a:nth-of-type(1) {font-size: 13px; margin: 0 0 0 2px;}
    .fontsize a:nth-of-type(2) {font-size: 16px; margin: 0 0 0 2px;}
    .fontsize a:nth-of-type(3) {font-size: 19px; margin: 0 0 0 2px;}
}
@media (min-width: 480px) {
    .main-header {min-height: 65px;}
    .contrast {top: 18px; left: 64px; font-size: 15px;}
    .fontsize {top: 17px; left: 198px; font-size: 15px;}
    .fontsize a:nth-of-type(1) {font-size: 13px; margin: 0 0 0 6px;}
    .fontsize a:nth-of-type(2) {font-size: 16px; margin: 0 0 0 6px;}
    .fontsize a:nth-of-type(3) {font-size: 19px; margin: 0 0 0 6px;}
}
@media (min-width: 640px) {
    .main-header {min-height: 70px;}
    .contrast {top: 21px; left: 64px; font-size: 15px;}
    .fontsize {top: 20px; left: 197px; font-size: 15px;}
}
@media (min-width: 768px) {
    .main-header {min-height: 80px;}
    .contrast {top: 24px; left: 74px; font-size: 15px;}
    .fontsize {top: 24px; left: 212px; font-size: 15px;}
}
@media (min-width: 1024px) {
    .main-header {min-height: 85px;}
    .contrast {top: 23px; left: 75px; font-size: 15px;}
    .fontsize {top: 23px; left: 208px; font-size: 15px;}
    .fontsize a:nth-of-type(1) {font-size: 13px; margin: 0 0 0 6px;}
    .fontsize a:nth-of-type(2) {font-size: 17px; margin: 0 0 0 6px;}
    .fontsize a:nth-of-type(3) {font-size: 20px; margin: 0 0 0 6px;}
}
@media (min-width: 1366px) {
    .main-header {min-height: 95px;}
    .contrast {top: 27px; left: 75px; font-size: 17.6px;}
    .fontsize {top: 28px; left: 217px; font-size: 17.6px;}
}
@media (min-width: 1600px) {
    .main-header {min-height: 105px;}
    .contrast {top: 29px; left: 93px;}
    .fontsize {top: 29px; left: 250px;}
}
@media (min-width: 1800px) {
    .main-header {min-height: 110px;}
    .contrast {top: 33px; left: 98px;}
    .fontsize {top: 33px; left: 250px;}
}

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

.post-content {margin: 0 0 60px 0;}
.post-foto {margin: 0 0 15px 0; position: relative;}
.post-category {position: absolute; left: 0px; bottom: 20px; background-color: #f3f3f3; text-transform: uppercase; padding: 3px 8px 3px 0; font-family: 'BebasNeue-Bold', sans-serif;}
.post-foto img {width: 100%; height: auto;}
.post-name {font-family: 'BebasNeue-Bold', sans-serif; font-size: 23px; text-transform: uppercase; float: left; width: 80%;}
.post-time {font-family: 'BebasNeue-Bold', sans-serif; font-size: 23px; text-transform: uppercase; float: right; width: 20%; text-align: right;}
.post-day {font-family: 'BebasNeue-Book', sans-serif; font-size: 20px; display: inline-block;}
.post-brake {font-family: 'BebasNeue-Book', sans-serif; font-size: 20px; display: inline-block;}
.post-tags {font-family: 'BebasNeue-Book', sans-serif; font-size: 20px; display: inline-block;}
.post-description {margin: 15px 0;}
.post-description p {color: #7a7a7a;}
.post-content .button {float: left; font-size: 12px;}
.post-author {float: right; font-size: 12px; width: 50%; text-align: right; padding: 5px 0 0 0;}
.post-author span {color: #7a7a7a;}

.filters-list .category {width: 25%;}
.filters-list .category .department-item {padding: 0; margin: 0;}
.filters-list .tag {width: 45%; column-count: 3; margin: 0 5% 0 0;}
.filters-list .tag .department-item {display: block; width: auto; padding: 0; margin: 0;}
.filters-list .author {width: 25%;}
.filters-list .author .department-item {display: block; width: auto; padding: 0; margin: 0;}
.filters-list .author .department-name {text-transform: capitalize;}


.online-name {font-family: 'BebasNeue-Bold', sans-serif; text-transform: uppercase; float: left; width: 80%; margin: 0 0 10px 0; line-height: 1;}
.online-time {font-family: 'BebasNeue-Bold', sans-serif; text-transform: uppercase; float: right; width: 20%; text-align: right;}
.online-day {font-family: 'BebasNeue-Book', sans-serif; display: inline-block;}
.online-brake {font-family: 'BebasNeue-Book', sans-serif; display: inline-block;}
.online-tags {font-family: 'BebasNeue-Book', sans-serif; display: inline-block;}
.online-desc p {font-family: 'BebasNeue-Book', sans-serif; margin: 30px 0; line-height: 1.2;}
.online-author {font-size: 13px; text-align: right;}
.online-author span {color: #7a7a7a;}

.box-video-container {width: 100%; margin: 0 0 50px 0; display: block !important;}
.two_texts p {color: #7a7a7a;}

@media (min-width: 1px) {
    .online-list, .online_item {width: 78%; margin: 0 auto; display: grid; grid-template-columns: 100%;}
    .two_texts {display: grid; grid-template-columns: 100%;}
    .latest {display: none;}
    .online-name, .online-time {font-size: 24px;}
    .online-day, .online-brake, .online-tags {font-size: 17px;}
    .online-desc p {font-size: 16px;}
    .box-video-container {height: 120px;}
}
@media (min-width: 480px) {
    .online-name, .online-time {font-size: 26px;}
    .online-day, .online-brake, .online-tags {font-size: 18px;}
    .online-desc p {font-size: 17px;}
    .box-video-container {height: 195px;}
}
@media (min-width: 640px) {
    .online-name, .online-time {font-size: 28px;}
    .online-day, .online-brake, .online-tags {font-size: 19px;}
    .online-desc p {font-size: 18px;}
    .box-video-container {height: 265px;}
}
@media (min-width: 768px) {
    .online-list {width: 78%; margin: 0 auto; display: grid; grid-template-columns: 47% 47%; grid-column-gap: 6%;}
    .two_texts {display: grid; grid-template-columns: 47% 47%; grid-column-gap: 6%;}
    .online-name, .online-time {font-size: 30px;}
    .online-day, .online-brake, .online-tags {font-size: 20px;}
    .online-desc p {font-size: 19px;}
    .box-video-container {height: 325px;}
}
@media (min-width: 1024px) {
    .online-name, .online-time {font-size: 32px;}
    .online-day, .online-brake, .online-tags {font-size: 22px;}
    .online-desc p {font-size: 21px;}
    .box-video-container {height: 440px;}
}
@media (min-width: 1366px) {
    .online-list {width: 78%; margin: 0 auto; display: grid; grid-template-columns: 22.5% 22.5% 22.5% 22.5%; grid-column-gap: 3.3%;}
    .online_item {width: 78%; margin: 0 auto; display: grid; grid-template-columns: 22.5% 74.2%; grid-column-gap: 3.3%;}
    .latest {display: block;}
    .online-name, .online-time {font-size: 34px;}
    .online-day, .online-brake, .online-tags {font-size: 24px;}
    .online-desc p {font-size: 22px;}
    .box-video-container {height: 445px;}
}
@media (min-width: 1600px) {
    .online-name, .online-time {font-size: 36px;}
    .online-day, .online-brake, .online-tags {font-size: 26px;}
    .online-desc p {font-size: 24px;}
    .box-video-container {height: 525px;}
}
@media (min-width: 1800px) {
    .online-name, .online-time {font-size: 38px;}
    .online-day, .online-brake, .online-tags {font-size: 28px;}
    .online-desc p {font-size: 26px;}
    .box-video-container {height: 600px;}
}



/* POPUP */
#popup {display: block;}
.popup_wrap {width: 100%; position: relative;}
.popup_photo {margin: 0 0 25px 0;}
#popup .popup_photo img { -webkit-filter: grayscale(100%); filter: grayscale(100%);
 -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-property: -webkit-filter;
    transition-property: -webkit-filter;
    transition-property: filter;
    transition-property: filter, -webkit-filter;}
#popup:hover .popup_photo img { -webkit-filter: grayscale(0%); filter: grayscale(0%);}
#popup a:hover {color: #c6c6c6;}

@media (min-width: 1px) {
    
    #popup {display: grid; grid-column: 7/12; }
    .popup_photo img {width: 100%; height: auto;}
}
@media (min-width: 480px) {

}
@media (min-width: 640px) {

}
@media (min-width: 768px) {

}
@media (min-width: 1024px) {
    #popup {display: block; margin: 0 0 0 80px;}

}
@media (min-width: 1366px) {

}
@media (min-width: 1600px) {

}

/* PRELOAD */
#preloadb {width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 9001; background-color: #000; opacity: 0.85 !important; filter: alpha(opacity=85) !important; display: none; cursor:pointer;}
#preloadi{width: 110%; height: 75%; position: absolute; top: -5%; left: -5%; z-index: 9002; background: url(/img/loader.gif) no-repeat center center; display: none;}
#preloadm {font-family: 'Montserrat', sans-serif; width: 1100px; position: fixed; top: 40px; left: 50%; margin: 0 0 0 -600px; padding: 50px; z-index: 9003; background-color: #af1518; font-size: 16px; color: #fff; display: none; cursor: pointer; text-align: center; border-radius: 6px;}
#preloadm-popup {font-family: 'Montserrat', sans-serif; width: 96%; height: 93%; margin: 2%; position: fixed; top: 0; left: 0; z-index: 9003; background-color: #fff; font-size: 16px; display: none; cursor: pointer;}
