html, body  {
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;

}


html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;

    font-family: 'Montserrat', sans-serif;


}

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

    body {
        display: flex;
        flex-direction: column;
    }


}

p {
    font-size: 15px;
    line-height: 20px;
}
body {
    background: -moz-linear-gradient(180deg, rgba(36,36,36,1) 0%, rgba(62,62,62,1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(62, 62, 62, 1)), color-stop(100%, rgba(36, 36, 36, 1)));
    background: -webkit-linear-gradient(180deg, rgba(36, 36, 36, 1) 0%, rgba(62, 62, 62, 1) 100%);
    background: -o-linear-gradient(180deg, rgba(36,36,36,1) 0%, rgba(62,62,62,1) 100%);
    background: -ms-linear-gradient(180deg, rgba(36,36,36,1) 0%, rgba(62,62,62,1) 100%);
    background: linear-gradient(270deg, rgba(36, 36, 36, 1) 0%, rgba(62, 62, 62, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3E3E3E', endColorstr='#242424',GradientType=1 );
    background-image: url(data:image/png;base64,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);
    background-color: #242424;
    min-height: 100vh;
    margin: 0px;
    overflow-x: hidden;

}


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

.regular del{
    opacity: 0;
}


.flexy {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-col {

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}


header, section, footer {
    padding: 0 20px;
    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;
}



@media (min-width: 960px) {

    header, section, footer {
        padding: 0;
        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: center;
        -ms-flex-align: center;
        align-items: center;
    }


}

header > div, section  > div, footer  > div {
    width: 100%;
    max-width: 1140px;
    position: relative;

}


header {
    position: relative;
       padding: 0;
}



header .inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;

    align-items: flex-start;
    background-color: #262A2D;
}

header .inner::after {
    content: '';
    display: block;
    height: 5px;
    background:  rgb(124, 46, 39);
    min-width: 140vw;
    position: absolute;
    right: 0;
    margin-left: -100%;
    padding-left: 100%;
    margin-right: -100%;
    padding-right: 100%;
    z-index: 1;
    -webkit-box-shadow: 4px 0px 4px rgb(124, 46, 39);
    box-shadow: 4px 0px 4px rgb(124, 46, 39);
    top: 100%;

}


.menu ul {

    margin-right: 20px;
}
@media (min-width: 720px) {
    .menu ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: distribute;
        justify-content: space-around;

    }

    header {
        padding-bottom: 48px;
    }




}

/*
header,
header:after,
.title_area::after,
body.home,
.teacher-item::after,
.pop-up.active,
.modal.active,
aside,
.dark_back
{
    background-color: #2D3E4F;
}

*/
@media (min-width: 1040px) {

    header:after {
        content: '';
        width: 100vw;

        display: block;
        position: absolute;
        right: 0;
        height: 68px;
        top: 100%;
        z-index: -1;

    }

    main.regular {
        padding-top: 146px;
    }

}

.menu ul li a {
    font-size: 14px;
    line-height: 20px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    letter-spacing: .5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-transition: background 250ms
    ease-in;
    -o-transition: background 250ms ease-in;
    transition: background 250ms
    ease-in;
}

@media (min-width: 960px) {
    .menu ul li a {
        font-size: 18px;
        line-height: 22px;
        font-family: 'Montserrat', sans-serif;
        font-style: normal;
        letter-spacing:.5px;
        font-weight: 600;
        text-transform: uppercase;
        cursor: pointer;
        padding: 5px 26px;
    }


}



.menu ul li {

    background: transparent;
    -webkit-transition: background 250ms ease-in;
    -o-transition: background 250ms ease-in;
    transition: background 250ms ease-in;
}

.menu ul li:hover a {
    background: #153949;
}


.menu ul li:first-child a{
    color: #dde6e9;
    margin-bottom: 6px;
}


h1, h3, h5 {
    color: #E0A458;
}

.logo_area {
    z-index: 20;

}

h1 {
    font-size: 28px;
    line-height: 36px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    letter-spacing: 1.2px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
}


h2 {
    font-size: 28px;
    line-height: 38px;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    letter-spacing: 3.8px;
    font-weight: 800;
    color:#dde6e9;
    text-transform: uppercase;
}

body header .inner {
    padding-top: 10px;
}

@media (max-width:420px) {

    h1 {
        font-size: 18px;
        line-height: 26px ;
    }

    .logo_area {
        -ms-flex-item-align: start;
        align-self: flex-start;

    }

    h2 {
        font-size: 16px;
        line-height: 26px;
        word-break: break-word;
    }

    .title_area {
        padding: 10px !important;
    }
}


h3 {


    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;

}
 h3.tit {
    color: #010b0f;
    margin: 16px 0 16px 28px;
}

h4 {

    color: #ffffff;
    font-family: Arial, 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 100;
    line-height: 24px;
    letter-spacing: 0.5px;

}




h5 {
    text-shadow: 1px 3px 1px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;

    letter-spacing: 1.8px;
}

h6 {
    color: #ffffff;
    font-family: Arial, 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 1.6px;

}

.tile_holder h6 {
    color: #082532;
    font-weight: bold;
}



p, body {
    font-size: 15px;
    line-height: 20px;
    font-style: normal;
    font-weight: 400;
    color:#010b0f;
    letter-spacing: .8px;

}

.home p {
    color: rgba(255,255,255, .83);
}

main p {
    max-width: 640px;
    margin: 4px 0 10px 0;
    font-size: 15px;
    line-height: 20px;
}

.tax-typ main p {
    max-width: 100%!important;
}
main ul {
    margin: 28px 0 18px 18px;
    max-width: 640px;
}

.buffer {
    min-height: 60px;
}


a {
    font-size: 18px;
    line-height: 28px;
    font-style: normal;
    font-weight: 400;
    color: rgba(255,255,255, .83);
    text-decoration: none;
    cursor: pointer;
}


li {
    list-style-type: none;

}

blockquote p {
    font-style: italic;
    background: #f0f0f0;
    padding: 6px 18px;
    border-left: 6px solid #c3702c;
}


.title_area {

    padding: 16px;
    margin-top: 18px;
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

}


.title_area::after {
    content: '';
    display: block;
    width: 61%;
    height: 14px;
    position: absolute;
    left: 19.75%;
    bottom: -7px;
}

.subtitle {

    -webkit-box-orient: vertical;

    -webkit-box-direction: normal;

    -ms-flex-direction: column;

    flex-direction: column;
    max-width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


@media (min-width: 620px) {
    .subtitle {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

}



.sheet {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;



}


@media (min-width: 420px) {
    .sheet {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 20px;


    }
}

@media (min-width: 1240px) {
    .sheet {
        padding: 10px 0 0px 0;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

}

img {
    max-width: 100%;
    height: auto;
}

main {

    position: relative;
    padding: 80px  18px 18px 18px;
    min-width: 63%;

}

.page-template-kurzy main,
.tax-typ main {

    min-width: 100%;
}

#selection {
    display: flex;
    flex-direction: column;

}


    .home main:after,
    .page  main:after,
    .single  main:after
    {

        content: '';
        display: block;
        height: calc(100% + 40px);
        width: 8px;
        position: absolute;
        right: 0;
        top: -40px;
        -webkit-box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.2);
        box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.2);

    }
@media (min-width: 960px) {
}
.home main:after {
    top: 0;
}

.home main {
    padding: 0 0 40px 0;
    max-width: 100%;
}

@media (min-width: 640px)  {

    main {
        padding: 80px  40px 40px 0;
        max-width: 100%;
    }
}

@media (min-width: 1040px) and (max-width: 1220px) {

    .home main {
        padding: 10px 0 40px 20px;
        max-width: 100%;
    }

}


.line_div {
    position: relative;
    margin-right: 100px;
    padding-top: 10px;
    min-width: 220px;

}
.line_div::before {
    content: '';
    background: #4c5b69;
    display: block;
    height: 8px;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    -webkit-box-shadow: 0px 4px 4px 1px rgba(0,0,0,0.25);
    box-shadow: 0px 4px 4px 1px rgba(0,0,0,0.25);
}



.pad_holder {
    padding-right: 10px;
    cursor: pointer;

}



.front_stuff {
    margin-top: 30px;
    margin-bottom: 40px;
}



@media (max-width: 560px) {

    .front_stuff,
    .referen.flexy {
       flex-direction: column;
    }

}

@media (max-width: 960px) {
    .front_stuff  {
        flex-direction: column;
    }

}

@media (min-width: 420px) {
    .item-holder, .pad_holder {
        padding-right: 100px;
        position: relative;

    }
    .item-holder.main_it {
        max-width: 100%;
        flex: 1;
    }
}


#reference .item {
    padding: 16px;
    flex: 1;
    margin-bottom: 30px;
}

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

    #reference .item {
        padding: 16px;
        max-width: calc(50% - 20px);
        flex: 1;
        min-width: calc(50% - 36px);
        margin-bottom: 30px;
    }

}

@media (min-width: 960px) {
    #reference .item {
        padding: 16px;
        max-width: calc(33% - 18px);
        flex: 1;
        min-width: 30%;
        margin-bottom: 30px;
    }

}
.item-holder {
    margin-bottom: 18px;
    position: relative;
}
.item {
    border: solid 1px #ffffff57;
    position: relative;
    padding: 10px 18px 18px 10px;


}


.item p, .item h5 {
    text-align: left;
}


@media (max-width: 680px) {
    .item h5 {
        line-height: 32px;
    }

}


.toploader {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 0;
    display: none;
    z-index: 10000;
    border: 6px solid #dde6e9;
    border-top: 6px solid #010b0f;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes spin {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}


.toploader.active {
    display: block;
}

.teachers h3, h3.tit {
    color: #dde6e9;
}


.teacher-item {
    border-top: solid 1px #ffffff;
    position: relative;
    padding: 10px 18px 18px 10px;
    margin-right: 18px;
    margin-bottom: 26px;
    min-height: 180px;
}

.teacher-item::after {
    content: '';
    display: block;
    height: 80%;
    width: 10px;
    position: absolute;
    left: -2px;
    top: 10%;
}


.top_line {
    border-top: solid 1px #808080;

}
.personal-details, .odstup {
    margin-top: 20px;
}

.title_holder {
    background: #4285F4;
    padding:18px;
    position: relative;
}


.kurs_data p {
    color: black;

    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.8px;

}


@media (min-width: 420px) {
    .kurs_data p {
        padding-right: 8%;
    }
}

.kurs_metadata {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 8px
}





.datum {

    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-right: 18px;

}

.hodina {

    font-weight: 400;
    line-height: 16px;
    margin-right: 18px;
    display: inline-block;
}

.detail {
    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-flex: 1;
    -ms-flex: 1;
    flex: 1;
}




.location {

    font-style: italic;
    font-weight: 400;
}
.location, .delka, .hodina{
font-size: 15px;
font-weight: 400;
line-height: 22px;}



.single_butt button,
aside .kurs-item button {

    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid white;
    position: relative;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-transition: -webkit-transform 250ms ease-in;
    transition: -webkit-transform 250ms ease-in;
    -o-transition: transform 250ms ease-in;
    transition: transform 250ms ease-in;
    transition: transform 250ms ease-in, -webkit-transform 250ms ease-in;
    cursor: pointer;

}

aside .kurs-item button,
.single_butt button {
    background: #18A153;
}
.article_link svg {
    fill: #18A153;
}



aside .kurs-item button:hover {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}


.butt_line_hor, .butt_line_ver {
    background: #d3d3d3;
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


.butt_line_hor {
    width: 24px;
    height: 2px;
}

.butt_line_ver {
    height: 24px;
    width: 2px;

}


a.more-butt {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    font-weight: 800;
    line-height: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin:  40px 0 ;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background: #262a2d;
    -webkit-box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
    box-shadow: 0px 2px 6px rgba(0,0,0,0.2);


}
a.more-butt .text {
    padding: 18px;
}

a.more-butt {
    overflow: hidden;
    position: relative;
}
.butt-arrow {
    background: #444444;
    display: inline-block;
    width: 80px;
    min-height:100%;
    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;
}

.butt-arrow svg {
    -webkit-transition: -webkit-transform 250ms ease-in;
    transition: -webkit-transform 250ms ease-in;
    -o-transition: transform 250ms ease-in;
    transition: transform 250ms ease-in;
    transition: transform 250ms ease-in, -webkit-transform 250ms ease-in;
}

a.more-butt span {
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
    -webkit-transition-delay: 0.2s;
    -o-transition-delay: 0.2s;
    transition-delay: 0.2s;
}


a.more-butt:before,
a.more-butt:after {
    content: '';
    position: absolute;
    top: 0.67em;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    -webkit-transition: .4s,opacity .6s;
    -o-transition: .4s,opacity .6s;
    transition: .4s,opacity .6s;
}



a.more-butt:before {
    content: attr(data-hover);
    -webkit-transform: translate(-150%,0);
    -ms-transform: translate(-150%,0);
    transform: translate(-150%,0);
}


a.more-butt:after {
    content: attr(data-active);
    -webkit-transform: translate(150%,0);
    -ms-transform: translate(150%,0);
    transform: translate(150%,0);
}



a.more-butt:hover span,
a.more-butt:active span {
    opacity: 0;
    -webkit-transform: scale(0.3);
    -ms-transform: scale(0.3);
    transform: scale(0.3);
}



a.more-butt:hover:before,
a.more-butt:active:after {
    opacity: 1;
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    transform: translate(0,0);
    -webkit-transition-delay: .4s;
    -o-transition-delay: .4s;
    transition-delay: .4s;
}


a.more-butt:active:before {
    -webkit-transform: translate(-150%,0);
    -ms-transform: translate(-150%,0);
    transform: translate(-150%,0);
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
}

.more-butt:hover > .butt-arrow svg {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.breather {
    padding-top: 40px;
}


aside article {
    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: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding: 0;

    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
    margin-bottom: 18px;

}


aside article h5 {
    color: #dde6e9;

    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: 0.5px;
    text-align: left;
    margin-bottom: 10px;
}



.kurs_data {
    padding:18px;
    background: #106391;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.home .kurs_data {
    background: #106391;

}


aside article {
    background: #106391;
}

.kurs-item {
    border-top: 5px solid #FFB300;}





.timestamp {
    position: absolute;
    right: 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.5px;
    top: 4px;
}

aside article p {

    color: #010b0f;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.5px;
    max-width: 680px;
}

.article_link {
    justify-self: flex-end;
    margin: 0 0 0 auto;
    font-size: 18px;
    font-weight: 800;
    line-height: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #010b0f;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 4px 8px 4px 4px;
    -webkit-transition: -webkit-box-shadow 250ms ease-in;
    transition: -webkit-box-shadow 250ms ease-in;
    -o-transition: box-shadow 250ms ease-in;
    transition: box-shadow 250ms ease-in;
    transition: box-shadow 250ms ease-in, -webkit-box-shadow 250ms ease-in;
}

.article_link svg {
    margin-top: 2px;
    -webkit-transition: -webkit-transform 250ms ease-in;
    transition: -webkit-transform 250ms ease-in;
    -o-transition: transform 250ms ease-in;
    transition: transform 250ms ease-in;
    transition: transform 250ms ease-in, -webkit-transform 250ms ease-in;
}


.article_link  span {
    padding-left: 6px;
    -webkit-transition: text-shadow 350ms ease-in;
    -o-transition: text-shadow 350ms ease-in;
    transition: text-shadow 350ms ease-in;
    color: rgba(0,0,0, .83);
}

.article_link:hover {
    -webkit-box-shadow: 1px 3px 1px rgba(0,0,0,0.2);
    box-shadow: 1px 3px 1px rgba(0,0,0,0.2);
}

.article_link:hover > .more_text{

    text-shadow: 1px 3px 1px rgba(0,0,0,0.2);

}

.article_link:hover > span svg {
    -webkit-transform: translate(6px, 0px);
    -ms-transform: translate(6px, 0px);
    transform: translate(6px, 0px);

}


footer p, footer a {

    text-align: center;
}

main ul li {
    padding: 4px 4px 4px 36px;
    margin-bottom: 10px;
    position: relative;
    -webkit-box-shadow: 3px 3px 1px 0px rgba(38,42,45,0.11);
    box-shadow: 3px 3px 1px 0px rgba(38,42,45,0.11);
}

main ul li:before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 8px;
    height: 8px;
    border: solid 1px #262a2d;
    background-color: #a66129;
    left: 16px;
    top: 14px;
    border-radius: 50%;
    z-index: 100;
}
@media (min-width: 1220px) {
    h3.ontop {
        color: #dde6e9;
    }

}

section {
    min-height: 33vh;
}
.content_wrap {
    margin: 80px 0 0 0;
    max-width: 680px;

}

.pop-up {
    display: none;
}

.pop-up.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 100;

    max-width: 100vw;
    max-height: 100vh;
    overflow-x: auto;
    padding: 18px;
    -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;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-animation-name: popping;
    animation-name: popping;
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;

}



@-webkit-keyframes popping {
    from {-webkit-transform: scale(.2);transform: scale(.2)}
    to {-webkit-transform: scale(1);transform: scale(1)}
}



@keyframes popping {
    from {-webkit-transform: scale(.2);transform: scale(.2)}
    to {-webkit-transform: scale(1);transform: scale(1)}
}



.pop_container {
    margin: 40px auto 40px auto;
    overflow-x: auto;
    padding: 18px;
    background: #4c5b69;
    max-width: 680px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}


@media (min-width: 680px) {
    .pop_container {
        min-width: 480px;
    }
}







#pop_content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.pop_container p {

}

.backg {
    background: #41804a;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #808080;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-transition: -webkit-transform 250ms ease-in;
    transition: -webkit-transform 250ms ease-in;
    -o-transition: transform 250ms ease-in;
    transition: transform 250ms ease-in;
    transition: transform 250ms ease-in, -webkit-transform 250ms ease-in;
    cursor: pointer;
    position: relative;

}


.order {
    position: relative;
    color: rgba(255,255,255,0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 8px 0 8px auto;
    padding: 4px 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #262a2d;
    -webkit-box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
    box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
    background: -webkit-gradient(linear, right top, left top, from(rgba(223,190,106,0.8)), color-stop(rgba(146,111,52,0.8)), color-stop(#262a2d), to(#262a2d));
    background: -o-linear-gradient(right, rgba(223,190,106,0.8), rgba(146,111,52,0.8), #262a2d, #262a2d);
    background: linear-gradient(270deg, rgba(223,190,106,0.8), rgba(146,111,52,0.8), #262a2d, #262a2d);
    background-position: 1% 50%;
    background-size: 300% 300%;
    -webkit-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;

}

.butt-text {
    color: #C3702C;
    margin-right: 26px;
    -webkit-transition: color 250ms ease-in;
    -o-transition: color 250ms ease-in;
    transition: color 250ms ease-in;
}

.order:hover  {
    background-position: 99% 50%;
}

.order:hover > .butt-text {
    color: #262a2d;
}

.order:hover >  .backg {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);

}



#hodina, #lokace, #delka, #cena {
    text-align: right;
    color: #010b0f;
}

#lokace {
    margin-bottom: 18px;
}

.pop_container h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 100;
    line-height: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.pop-up .title_area {
    padding: 18px 36px;
}

@media (max-width: 680px) {
    .pop-up .title_area {
        padding: 8px 16px;
        margin: 16px 26px;
        max-width: calc(100vw - 60px);
    }
    .pop-up .title_area h2 {
        font-size: 14px;
        line-height: 24px;
    }
}

.pop-up .close_button {
    position: relative;
    text-align: right;
    color: white;
    padding: 0 28px 0 0;
    cursor: pointer;

}

.pop-up .close_button button {
    top: -6px;
    right: -28px;

}

.close_button button,
.err_button button{
    background: #732D1F;
}
.close_button .butt_line_hor,
.close_button .butt_line_ver,
.err_button .butt_line_hor,
.err_button .butt_line_ver

{
    background: #d3d3d3;
}

.error.active h5 {
    text-align: left;
}

.page-template-clanky-videa main article {
    -webkit-box-shadow: 3px 3px 1px 0px rgba(38,42,45,0.11);
    box-shadow: 3px 3px 1px 0px rgba(38,42,45,0.11);
    padding: 10px 18px;
    margin-bottom: 18px;


}

.page-template-kontakt p {
    color: white;
}

main a {
    color: #010b0f;
    text-decoration: underline;
}

.next_links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    width: 100%;
    margin-top: 40px;
}


@media (min-width: 860px) {
    .main {
        margin-left: 24px;
    }
}
 h1 {



     padding: 0 6px;
    align-self: flex-start;
    color: #ffffffa6;
     font-weight: 200;
}

.front .main::after {
    content: '';
    display: block;
    height: 24%;
    width: 14px;
    background: #D6C4AD;
    right: 10px;
    position: absolute;
    bottom: 15%;
    z-index: -1;

}


aside {

    z-index: 1000;
}


@media (min-width: 860px) {

    .headline h1 {
        margin: 18px 0 18px 36px;

        font-size: 64px;
        font-weight: 900;
        line-height: 75px;
        letter-spacing: 3px;
    }




}


@media (min-width: 860px) {
    section > div.main {

        z-index: 100;
    }
}



button {

    background: #212020;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #212020;
    position: relative;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-transition: -webkit-transform 250ms ease-in;
    transition: -webkit-transform 250ms ease-in;
    -o-transition: transform 250ms ease-in;
    transition: transform 250ms ease-in;
    transition: transform 250ms ease-in, -webkit-transform 250ms ease-in;
    cursor: pointer;
}
.butt_line_hor, .butt_line_ver {
    background: #d3d3d3;
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.butt_line_hor {
    width: 24px;
    height: 2px;
}

.butt_line_ver {
    height: 24px;
    width: 2px;
}



.headline h3 {
    margin: 8px 0 8px 10%;
}

.front h4 {
    position: relative;
    z-index: 1;
    margin-bottom: 6px;

}

.front h4::after{
    content: '';
    width: calc(100% - 4px);

    display: block;
    height: 14px;
    background: #D6C4AD;
    position: absolute;
    bottom: 0;
    left: 4px;
    z-index: -1;

}

.front nav {
    padding: 26px 20px;
    max-width: 84%;
}


.front nav.fixed  .menu {
    flex-direction: column;

}
header, section, footer {
    padding: 0 20px;

}



@media (min-width: 960px) {

    header, section, footer {
        padding: 0;
    }


}

header > div,  footer  > div {

    max-width: 1140px;
    position: relative;

}

header > div, footer  > div {
    width: 100%;


}


.menu li a {
    padding: 6px 16px;
    border: 1px solid #020202;
    border-radius: 4px;
    position: relative;
    display: block;

}

.menu li:nth-child(1) a {
    background-color: #7C2E27;
}




#reference {
    background-color: #416970;
}



footer {
    padding: 20px;

}


.buffer {
    min-height: 80px;
}

.wrapper_divadla {
    background: #191919;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex !important;
    flex-direction: row;
    display: -webkit-box;
    position: relative;
    margin: 42px 0;
    flex-wrap: wrap;
}

.divadla_odkaz {

    display: block;
    width: 200px;
    text-decoration: none;
    color: #5C5C5C;
    padding: 0 10px 10px 0;
    margin: 6px 10px;

}
.divadla_odkaz img {
    float: left;
    margin-right: 8px;
    -webkit-transition: -webkit-filter 250ms ease-out;
    transition: -webkit-filter 250ms ease-out;
    -o-transition: filter 250ms ease-out;
    transition: filter 250ms ease-out;
    transition: filter 250ms ease-out, -webkit-filter 250ms ease-out;
}

.divadla_odkaz p {
    color: #d8d8d8;
    font-size: 14px;
    line-height: 18px;
}

a.divadla_odkaz:hover {
    background: #416970;

}
a.divadla_odkaz:hover p {
    color: #E0A458;

}

@media screen and (min-width: 980px) {
    .wrapper_divadla {
        padding: 42px 42px 82px 42px;
    }

}



section#reference {

    background: #191919;
    padding-top: 30px;
    overflow: hidden;
}





#reference h6 {
font-family: 'Playfair Display', serif;
font-weight: 900;
font-size: 144px;
line-height: 84px;
color: #272C2E;
position: absolute;
top: 0;
left: 0;
margin: 0;
margin-block-start: 0;
margin-block-end: 0;
z-index: 1;
}
#reference h2 {
font-family: 'Playfair Display', serif;
color: #B9B7B7;
font-size: 32px;
line-height: 32px;
position: relative;
font-weight: 400;
z-index: 10;
}

#reference  nav a {
color: white;
}
#reference img {
z-index: 100;
position: relative;
}

#reference nav {
padding: 36px;
position: relative;
}

#reference nav li {
margin-right: 36px;
}

.referen {

    flex-direction: row;
    flex-wrap: wrap;

    justify-content: space-between;
}



#reference .reference_inner {
    max-width: 1920px;
    padding: 20px;
}

.reference_inner::before {
    content: '';

    width: 0;
    height: 0;
    border-left: 20vw solid transparent;
    border-right: 20vw solid transparent;
    border-top: 20vw solid #131111;
    transform: rotate(45deg);
    transform-origin: bottom;
    position: absolute;
    right: calc( 100% - 20vw);
    bottom: 0;

}

.descrip {
    position: absolute;
    bottom: 0;
    z-index: 1000;
    background-color: rgb(25 25 25);
    padding: 16px 36px;
    line-height: 22px;
    color: white;
    opacity: 0;
    transition: opacity 250ms ease;
}
.descrip:empty {
    display: none;
    padding: 0;
}
a.item:hover .descrip {
    opacity: 1;
}

.descrip p, .descrip li   {
    font-size: 14px;
    line-height: 22px;
    color: white;
}

