
/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
/* FONT PATH
 * -------------------------- */
@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*@font-face{
    font-family: "etelka";
    src: url('../fonts/etelka_pro.ttf')
}*/

@font-face {
    font-family: 'etelka';
    src: url('../fonts/Etelka-Light-Pro_16165-webfont.eot');
    src: url('../fonts/Etelka-Light-Pro_16165-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Etelka-Light-Pro_16165-webfont.woff2') format('woff2'),
         url('../fonts/Etelka-Light-Pro_16165-webfont.woff') format('woff'),
         url('../fonts/Etelka-Light-Pro_16165-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


@-ms-viewport {
    width: device-width;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: none;
    border-spacing: 0;
}

html {
    min-width: 320px;
    font-size: 16px
}

@media screen and (min-width: 600px) {
    html {
        font-size:17px
    }
}

@media screen and (min-width: 1600px) {
    html {
        font-size:18px
    }
}

:root {
    --main-color: #000;
    --main-color-hover: #fff;
    --menu-active-item-color: #94c11f;
    --dropdown-menu-color: #94c11f;
    --header-height: 4rem;
    --logos-container-height: 4rem;
}

@media screen and (min-width: 1000px) {

    :root {
        --header-height: 7rem;
    }
}


body {
    font-size: 1rem;
    line-height: 1.3em;
    color: #40484e;
    /* custom - barva */
    background-color: #fff;
    font-family: 'etelka', sans-serif; /* custom - font */
    font-weight: 400;
    font-style: normal;
}

::-moz-selection {
    color: #000;
    background-color: rgba(255, 114, 118, 0.9); /* custom - barva */
}

::selection {
    color: #000;
    background-color: rgba(255, 114, 118, 0.9); /* custom - barva */
}

a {
    color: inherit;
    text-decoration: none;

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

input, button, textarea, select {
    font-family: 'etelka', sans-serif;
    font-size: 1.6rem;

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

button,
input[type="submit"] {
    cursor: pointer;
}



/**** FLASH MESSAGE ****/

#flashes {
    pointer-events: none;
    z-index: 123456789;
    position: fixed;
    width: 380px;
    right: 25px;
    top: 110px;
    bottom: 170px;
    overflow: hidden;

    font-family: "etelka", Helvetica, Arial, sans-serif;
}

div.flash {
    pointer-events: auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 1.1em 1.5em;
    width: 100%;
    color: #ffffff;
    font-size: 14px;
    background: #2ECC71;
    border-radius: 5px;
    -webkit-box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2);
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2);

    -webkit-transition: background-color 0.2s ease-out;
    -moz-transition: background-color 0.2s ease-out;
    -ms-transition: background-color 0.2s ease-out;
    -o-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}
div.flash.error {
    background: #dc3434;
}
div.flash.warning {
    background: #F39C12;
}

div.flash:hover {
    background: #30c76a;
}
div.flash.error:hover {
    background: #cf302d;
}
div.flash.warning:hover {
    background: #e88f13;
}

div.flash .flash-type {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 15px;
}

div.flash .progressbar {
    z-index: -1;
    position: absolute;
    content: "";
    width: 0%;
    height: 100%;
    left: 0;
    top: 0;
    background: #000000;
    opacity: 0.04;
}

div.flash .close {
    float: right;
    font-weight: 400;
    font-size: 19px;
    line-height: 19px;
    cursor: pointer;
}

@media screen and (max-width: 430px) {

    #flashes {
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        top: 90px;
    }

    div.flash {
        font-size: 13px;
        padding: 0.8em 1.2em;
    }

    div.flash .flash-type {
        font-weight: 700;
        margin-bottom: 2px;
        font-size: 13.5px;
    }

    div.flash .close {
        padding-left: 20px;
    }
}


a[href^="#error:"] {
    background: red;
    color: white;
}




/**** KOMENTARE ****/

/** form pro vkladani komentaru **/

#cancel {
    cursor: pointer;
    position: absolute;
    display: none;

    top: -2.5rem;
    right: 0;
    width: 2rem;
    height: 2rem;

    line-height: 1.7rem; /* custom */
    color: #fff;
    font-size: 1.5rem;
    font-weight: 200;
    text-align: center;
    border-radius: 50%;
    background-color: var(--main-color); /* custom - barva */

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
#cancel:hover {
    background-color: var(--main-color-hover); /* custom - barva */
}

#commentForm {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
}

#commentForm:after {
    content: "";
    display: table;
    clear: both;
}

.comment-form input,
.comment-form textarea {
    font-family: 'etelka', sans-serif; /* custom - font */

    padding: .8rem 1.1rem;
    border-radius: 2px;
    font-weight: 400;
    line-height: 1em;
}

.comment-form input[name=author],
.comment-form textarea {
    line-height: 1.4rem;
    font-size: 1rem;
    border: 2px solid #cccccc;
}

.comment-form textarea {
    padding: .9rem 1.2rem;
}

.comment-form input:hover,
.comment-form textarea:hover{
    outline: none;
    border: 2px solid var(--main-color); /* custom - barva */
    -webkit-box-shadow: 0 0 15px 0 #d0d0d0;
    box-shadow: 0 0 15px 0 #d0d0d0;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border: 2px solid var(--main-color); /* custom - barva */
}

.comment-form input[name=author],
.comment-form input[name=_submit] {
    margin-top: .6rem;
}

.comment-form input[name=author] {
    float: left;
    width: 64%;
    line-height: 1.16em;
}

.comment-form input[name=_submit] {
    float: right;
    width: 34%;
    line-height: 1.25rem;
    color: #fff;
    font-size: 1.25rem;
    background-color: var(--main-color); /* custom - barva */
    border: none;
}

.comment-form input[name=_submit].admin {
    float: none;
    width: 100%;
}

.comment-form input[name=_submit]:hover {
    background-color: var(--main-color-hover); /* custom - barva */
}



/** zahlavi bloku s komentari **/

.comments-header {
    position: relative;
}

.comments-header h3 {
    display: block;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 400;
    text-align: center;
}

.comments-header .comments-sort {
    font-weight: 300;
    font-size: 1rem;
    text-align: center;
}

.comments-header .comments-sort a {
    display: inline-block;
    margin: 0 .6rem;
    padding: 0 .2rem;
    line-height: 2.2rem;
    border-bottom: 1px solid #fff;
}

.comments-header .comments-sort a:hover {
    border-bottom: 1px solid #000;
}

.comments-header .comments-sort a.active {
    font-weight: 400;
    border-bottom: 1px solid #000;
}


/** komentar **/

.comment {
    position: relative;
    margin-top: 2rem;
}

.comment abbr,
.comment .answer {
    color: #bdbdbd;
    font-weight: 300;

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.comment:hover abbr,
.comment:hover .answer {
    color: #7f7f7f;
}


.comment .name {
    display: inline-block;
    color: var(--main-color); /* custom - barva */
    font-size: 1.2rem;
    font-weight: 600;

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.comment .name span {
    display: inline-block;
    margin-bottom: 2px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    font-size: .7rem;
    font-weight: 400;
    background-color: #909090;
    width: 1rem;
    line-height: 1rem;
    border-radius: 50%;

    cursor: help;
    opacity: 0.5;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.comment .name span:hover {
    opacity: 1;
}

.comment.feedback .name {
    color: var(--main-color-hover); /* custom - barva */
    font-size: 1.5rem;
}

.comment abbr {
    margin-left: .75rem;
    cursor: help;
    text-decoration: none;
}


.comment p.text {
    padding: .5rem 0;
    margin-bottom: 0;
    font-size: 1rem;
}

.comment p.text a {
    margin-right: .5rem;
    color: var(--main-color-hover); /* custom - barva */
    font-weight: 400;
    font-style: normal;
}

.comment p.text a:hover {
    color: var(--main-color); /* custom - barva */
}

.comment p.text.hidden {
    font-style: italic;
}

.comment p.text.nonactive {
    display: none;
}


.comment .rating {
    display: inline-block;
    color: #828282;
    font-weight: 300;
}

.comment .rating .uprate,
.comment .rating .downrate {
    display: inline-block;
    width: 11px;
    height: 15px;
    opacity: 0.75;

    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.comment .rating .uprate:hover,
.comment .rating .downrate:hover {
    opacity: 1;
}

.comment .rating .uprate:after {
    content: "\f196";
}

.comment .rating .downrate:after {
    content: "\f147";
}

.comment .rating .downrate.active,
.comment .rating .uprate.active {
    color: var(--main-color-hover); /* custom - barva */
}


.comment .answer {
    margin-left: .75rem;
    cursor: pointer;
}

.comment .answer:hover {
    color: var(--main-color-hover); /* custom - barva */
}


.comment.reply {
    margin-left: 2rem;
}





/******************* Login *******************/

#login-panel .modal-panel {
    width: 370px;
    padding: 45px 20px 20px 20px;
}

#login-panel form input {
    padding: 13px 12px;
    width: 100%;
    font-size: 15px;
    margin-top: 8px;
    font-weight: 300;
    border-radius: 4px;
    background-color: #f2f2f2;
    border: 1px solid #f2f2f2;
    border-bottom: 1px solid #bfbfbf;
}
#login-panel form input:hover {
    border: 1px solid #a2a2a2;
}
#login-panel form input:focus {
    border: 1px solid #a2a2a2;
}

#login-panel form button {
    display: inline-block;
    line-height: 45px;
    margin-top: 21px;
    width: 100%;
    border-radius: 5px;
    color: #fff;
    font-size: 15px;
    background-color: #4aa76a;
    -webkit-box-shadow: 0 2px 0 0 #388e55;
    box-shadow: 0 2px 0 #388e55;
}
#login-panel form button:hover {
    background-color: #479e64;
}
#login-panel form button:active {
    background-color: #43965f;
}
#login-panel form button:focus {
    outline: none;
}

#login-panel form ul.error {
    padding: 0 5px;
    padding-top: 30px;
    color: #E23E3E;
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    list-style-type: none;
}


#login-panel form::-webkit-input-placeholder {
    color: #999999;
}
#login-panel form :-moz-placeholder { /* Firefox 18- */
    color: #999999;
}
#login-panel form::-moz-placeholder {  /* Firefox 19+ */
    color: #999999;
}
#login-panel form :-ms-input-placeholder {
    color: #999999;
}




/*********** LOGIN BUTTONY ***********/

#login-panel p {
    padding-top: 20px;
    margin: 35px 0 11px;
    text-align: center;
    font-size: 13.5px;
    color: #a6a6a6;
    border-top: 1px solid #e6e6e6;
}

.social-media-btns {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.social-media-btns a {
    display: block;
    padding: 10px 15px;
    margin-top: 10px;
    width: 30%;
    font-size: 15px;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    background-color: #3a579a;
    -webkit-box-shadow: 0 2px 0 0 #314880;
    box-shadow: 0 2px 0 #314880;
}
.social-media-btns a:hover {
    background-color: #314c82;
}

.social-media-btns .twitter {
    background-color: #00abf0;
    -webkit-box-shadow: 0 2px 0 0 #008dc6;
    box-shadow: 0 2px 0 #008dc6;
}
.social-media-btns .twitter:hover {
    background-color: #00a1db;
}

.social-media-btns .google {
    background-color: #dd493d;
    -webkit-box-shadow: 0 2px 0 0 #ba3e33;
    box-shadow: 0 2px 0 #ba3e33;
}
.social-media-btns .google:hover {
    background-color: #c7433a;
}


@media screen and (max-height: 380px), screen and (max-width: 370px) {

    #login-panel .modal-panel {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }

}

@media screen and (max-width: 370px) {

    #login-panel p {
        padding-top: 15px;
        margin: 25px 0 11px;
    }

    .social-media-btns {
        flex-direction: column;
    }

    .social-media-btns a {
        width: 100%;
        margin-top: 13px;
    }
}

@media screen and (max-height: 380px) {

    #login-panel form button {
        line-height: 35px;
    }

    #login-panel form input {
        padding: 8px 12px;
    }

    #login-panel p {
        padding-top: 12px;
        margin: 22px 0 11px;
    }

    .social-media-btns {
        flex-direction: row;
    }

    .social-media-btns a {
        padding: 7px 15px;
    }
}



/******************* Social media login *******************/

#social-login-panel .modal-panel {
    width: 400px;
}

#social-login-panel .social-media-btns a {
    width: 100%;
    margin: 0 5px;
}

#social-login-panel .auth {
    margin: 10px 0 20px;
    font-size: 15px;
}



/*TODO upravit RWD*/

@media screen and (max-width: 400px) and (orientation: portrait) {

    #social-login-panel .modal-panel {
        width: 100%;
    }
}




/**** ZAHLAVI ****/

.header, .homepage.header.active, .homepage.header  {
    z-index: 555;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    height: 80px;
    width: 100%;
    padding: 0 4%;
    background-color: #fff;
    -webkit-box-shadow: 0 0 8px 0 rgba(0,0,0,0.4);
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.4);
    font-family: "etelka", "Open Sans", Helvetica, Arial, sans-serif;
    
    -webkit-transition: opacity, height, background 0.2s;
    -moz-transition: opacity, height, background 0.2s;
    -ms-transition: opacity, height, background 0.2s;
    -o-transition: opacity, height, background 0.2s;
    transition: opacity, height, background 0.2s;
}

/*.homepage.header {
    position: absolute;
    height: 105px;

    background-color: #636363;
    -webkit-box-shadow: none;
    box-shadow: none;
}*/

.homepage.header.active  {
    position: fixed;
    top: 0px;
}

/*.homepage.header .corp-logo {
    display: inline-block;
    float: left;
    width: 145px;
    height: 100%;
    background: transparent url(../web_images/logo.png) center center no-repeat;
    background-size: auto 95px;
}*/

.header .corp-logo,
.homepage.header.active .corp-logo {
    display: inline-block;
    width: 226px;
    height: 100%;
    background: transparent url(../web_images/logo_small.png) bottom 0px center no-repeat;
    background-size: auto 79px;
}

.header .container {
    height: 100%;
}

.header .corp-logo:hover  {
    opacity: 0.8;
}

.en .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media screen and (max-width: 767px) {

    .homepage.header {
        height: 90px;
        top: 10px;
    }

    .header, .homepage.header.active  {
        height: 70px;
        padding-left: 7%;
    }

    .homepage.header .corp-logo {
        width: 100px;
        background-size: 100px;
    }

    .header .corp-logo,
    .homepage.header.active .corp-logo {
        width: 75px;
        background: transparent url('../web_images/logo_small.png') bottom 18px center no-repeat;
        background-size: 70px;
    }

}


@media screen and (min-width: 768px) {

    .header ul#navigation {
        font-size: 0; /* fix mezer mezi inline-blocky */
        float: right;
        list-style: none;
    }

    .header ul#navigation li {
        display: inline-block;
        line-height: 80px;
        font-size: 1.5rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #636363;
    }

    .header ul#navigation li.en {
        padding-left: 25px;
    }

    /*.homepage.header ul#navigation li {
        line-height: 105px;
        color: #fff;
    }*/

    .header ul#navigation li  {
        line-height: 80px;
        color: #fff;
    }

    .header ul#navigation li a {
        display: block;
        padding: 0 17px;
    }

/*    .header ul#navigation li a .items-count {
        vertical-align: middle;
        display: inline-block;
        font-weight: 400;
        font-size: 1.1rem;
        line-height: 16px;
        color: #ffffff;
        background-color: #ac5dd5;
        !* border: 1px solid #8648a6; *!
        padding: 0 3px;
        margin-left: 3px;
        margin-top: -2px;
        border-radius: 3px;

        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
    }*/

/*    .header ul#navigation li a .items-count {
        vertical-align: middle;
        display: inline-block;
        font-weight: 400;
        text-align: center;
        font-size: 1.1rem;
        line-height: 14px;
        color: #ffffff;
        background-color: #ac5dd5;
        width: 14px;
        margin-left: 1px;
        margin-top: -2px;
        border-radius: 12px;

        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
    }*/

    .header ul#navigation li a .items-count {
        display: inline-block;
        vertical-align: middle;
        text-align: center;
        font-weight: 400;
        font-size: 1rem;
        line-height: 11px;
        color: #ffffff;
        background-color: #ac5dd5;
        margin-left: -2px;
        width: 11px;
        margin-top: -12px;
        border-radius: 50%;

        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
    }

    .header ul#navigation li a:hover .items-count {
        background-color: #8648a6;
    }


    .header ul#navigation li span {
        position: relative;
    }

    .header ul#navigation li span.active  {
        padding-bottom: 5px;
        border-bottom: 3px solid #fff;

        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
    }

    .header ul#navigation li a:hover span.active  {
        padding-bottom: 3px;
    }

    .header ul#navigation li a:hover span.active:after  {
        height: 0;
    }

    .header ul#navigation li span:after {
        display: block;
        position: absolute;
        width: 100%;
        height: 0px;
        left: 0;
        bottom: -8px;
        content: "";
        background-color: #fff;

        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
    }

    .header ul#navigation li a:hover span:after {
        height: 3px;
    }
}

@media screen and (max-width: 1299px) {

    .header ul#navigation {
        display: none;
    }
}


#overlay-menu {
    position: fixed;
    display: none;
    text-align: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

#overlay-menu ul {
    display: block;
    position: relative;
    top: 51%;

    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#overlay-menu ul li a {
    color: #636363;
    font-size: 5rem;
    font-weight: 300;
    line-height: 9rem;
    letter-spacing: -1px;
}

#overlay-menu ul li a:hover {
    color: #9f55c5;
}

#overlay-menu ul li a.active {
    font-weight: 400;
}


@media screen and (max-height: 900px) {

    #overlay-menu ul li a {
        font-size: 4.4rem;
        line-height: 8rem;
    }
}

@media screen and (max-height: 750px) {

    #overlay-menu ul li a {
        font-size: 4rem;
        line-height: 7rem;
    }
}

@media screen and (max-height: 670px) {

    #overlay-menu ul li a {
        font-size: 3.2rem;
        line-height: 6rem;
    }
}

@media screen and (max-height: 570px) {

    #overlay-menu ul li a {
        font-size: 2.8rem;
        line-height: 5rem;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {

    #overlay-menu ul li a {
        font-size: 2.2rem;
        line-height: 4rem;
    }
}

@media screen and (max-height: 380px) and (orientation: landscape) {

    #overlay-menu ul li a {
        font-size: 2.2rem;
        line-height: 3rem;
    }
}


@media screen and (min-width: 1300px) {

    .header .hamburger-menu {
        display: none;
    }
}

@media screen and (max-width: 1299px) {

    .header .hamburger-menu {
        position: relative;
        z-index: 10000;
        float: right;
        line-height: 80px;
        width: 60px;
    }

    .homepage.header .hamburger-menu {
        line-height: 105px;
    }

    .header.active .hamburger-menu {
        line-height: 80px;
    }

    .hamburger-menu .breadroll {
        display: inline-block;
        width: 40px;
        padding: 14px 13px;
    }

    .homepage.header .hamburger-menu .breadroll .beef,
    .homepage.header .hamburger-menu .breadroll .beef::before,
    .homepage.header .hamburger-menu .breadroll .beef::after {
        background-color: #fff;
    }

    .header .hamburger-menu .breadroll .beef,
    .header .hamburger-menu .breadroll .beef::before,
    .header .hamburger-menu .breadroll .beef::after,
    .homepage.header.active .hamburger-menu .breadroll .beef,
    .homepage.header.active .hamburger-menu .breadroll .beef::before,
    .homepage.header.active .hamburger-menu .breadroll .beef::after,
    .homepage.header .hamburger-menu.active .breadroll .beef,
    .homepage.header .hamburger-menu.active .breadroll .beef::before,
    .homepage.header .hamburger-menu.active .breadroll .beef::after {
        display: inline-block;
        position: absolute;
        width: 34px;
        height: 4px;

        -webkit-transition: transform 0.15s ease;
        -moz-transition: transform 0.15s ease;
        -ms-transition: transform 0.15s ease;
        -o-transition: transform 0.15s ease;
        transition: transform 0.15s ease;

        border-radius: 4px;
        background-color: #636363;
    }

    .hamburger-menu .breadroll .beef::before {
        top: 10px;
        content: "";
        opacity: 1;
    }

    .hamburger-menu .breadroll .beef::after {
        top: 20px;
        content: "";
    }

    .hamburger-menu.active .breadroll .beef {
        -webkit-transform: translate3d(0px, 10px, 0px) rotate(45deg);
        transform: translate3d(0px, 10px, 0px) rotate(45deg);
    }

    .hamburger-menu.active .breadroll .beef::before {
        opacity: 0;
    }

    .hamburger-menu.active .breadroll .beef::after {
        -webkit-transform: translate3d(0px, -20px, 0px) rotate(-90deg);
        transform: translate3d(0px, -20px, 0px) rotate(-90deg);
    }

}


@media screen and (max-width: 767px) {

    .homepage.header .hamburger-menu {
        line-height: 90px ;
    }

    .header .hamburger-menu,
    .header.active .hamburger-menu,
    .homepage.header.active .hamburger-menu {
        line-height: 70px ;
    }
}





/**** UDÁLOSTI ****/

.calendar-filter {
    font-size: 0;
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 3rem;
}

.calendar-filter a {
    display: inline-block;
    font-size: .85rem;
    line-height: 1em;
    padding: .675em .85em .725em;
    background-color: #e0e0e0;
}

.calendar-filter a:hover {
    background-color: #d5d5d5;
}

.calendar-filter a.active {
    font-weight: 600;
}

.calendar-filter .future {
    padding-left: 1em;
    border-top-left-radius: 1.2em;
    border-bottom-left-radius: 1.2em;
}

.calendar-filter .past {
    padding-right: 1em;
    border-top-right-radius: 1.2em;
    border-bottom-right-radius: 1.2em;
}


.event-container:after {
    content: "";
    display: table;
    clear: both;
}

.event-list .year-heading {
    display: none;
}

.event {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    padding: .5rem;
    font-size: 1rem;
    line-height: 1.35em;
}

.event .inner-wrapper {
    position: relative;
    width: 100%;
    height: auto;
}

.event .event-link {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

.event .event-header {
    position: relative;
    width: 100%;
    height: 4.5rem;
    color: #fff;
    border-radius: 2px;
    background-color: var(--main-color); /* custom - barva */
}

.event .event-start {
    position: relative;
    float: left;
    width: 4rem;
    height: 100%;
    text-align: center;
    border-right: 1px dashed #fff;
}

.event .event-start span {
    position: absolute;
    display: block;
    width: 100%;
}

.event .event-start span:first-child {
    height: auto;
    font-size: 1.875rem;
    line-height: 1em;
    letter-spacing: -.005em;
    top: .725rem;
    left: 0;
}

.event .event-start span:last-child {
    height: auto;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: .05em;
    text-transform: uppercase;
    bottom: 1rem;
    left: 0;
}


.event .event-data {
    width: calc(100% - 4rem);
    float: right;
    padding: .5rem .375rem;
    pointer-events: none;
}

.event .event-data .tag {
    display: inline-block;
    vertical-align: top;
    color: inherit;
    border: 1px solid #fff;
    border-radius: 1.2em;
    margin: 0 0 .35rem;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: .015em;
    white-space: nowrap;
    padding: .325em .475em .3em;
}


.event .event-header:after {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    left: 1.35rem;
    width: 0;
    height: 0;
    margin: 0;
    border-left: .65rem solid transparent;
    border-right: .65rem solid transparent;
    border-top: .65rem solid var(--main-color); /* custom - barva */
}


.event .event-back {
    position: relative;
    width: 100%;
    height: 12rem;
    margin-top: .95rem;
    background-color: #fff;
}

.event .event-back.incl-image {
    background-color: #000;
}
.event .event-back .event-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    opacity: .5;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}

.event .event-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12rem;
    margin-top: .95rem;
    background-color: transparent;
    border: 1px solid #e6e6e6;
    pointer-events: none;
}

.event .event-info.incl-image {
    border: none;
    color: #fff;
}

.event .event-info .event-title {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    padding: .65rem 2rem;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    -o-transition: transform .3s;
    transition: transform .3s;
    transition: transform .3s,-webkit-transform .3s;
    text-align: center;
    font-weight: 700;
    line-height: 1.25em;
    margin-top: -.1rem;
}

.event:hover .event-info .event-title {
    -webkit-transform: translateY(-55%);
    -ms-transform: translateY(-55%);
    transform: translateY(-55%);
}

@media screen and (min-width: 500px) {

    .event {
        width: 50%;
        float: left;
    }
}

@media screen and (min-width: 900px) {

    .event {
        width: 33.3%;
    }

    .event .event-info .event-title {
        font-size: 1.3rem;
    }
}






/**** OBSAH WEBU ****/

.content-wrapper {
    width: 100%;
    background-color: #fff;
}
.content-wrapper.last {
    background: #fff url(../web_images/bg_footer.png) no-repeat left 3% bottom;
    background-size: auto 3.25rem;
}

.content {
    position: relative;
    padding: 2rem 1rem 0;
    max-width: 50rem;
    margin: 0 auto;
}

.content-headings:not(.first) {
    padding-top: 3.5rem;
}

.content-wrapper-slides + .content-wrapper .content-headings {
    padding-top: 2rem;
}

.content-wrapper-headings + .content-wrapper-headings .content-headings2 {
    padding-top: 1.5rem;
}

.content.content-content,
.content.post-content {
    max-width: 48rem;
}

.content.last,
.content.alb-content,
.content.post-content {
    padding-bottom: 6rem;
}
.content.alb-content,
.content.post-content {
    padding-top: 0;
}

.description-wrapper {
    margin: 0 auto 2rem;
    max-width: 46rem;
}

.content {
    padding-top: 7rem;
    padding-bottom: 6rem;
}
    
@media screen and (min-width: 600px) {



    .content-headings:not(.first) {
        padding-top: 5rem;
    }

    .content-wrapper-slides + .content-wrapper .content-headings {
        padding-top: 3rem;
    }

    .description-wrapper {
        margin-bottom: 3.5rem;
    }
}


/**** TEXTOVY OBSAH ****/

.content h1 {
    font-weight: 400; /* custom */
    text-align: center;
    font-size: 2rem;
    margin: 0;
    line-height: 1.25;
    color: var(--main-color); /* custom - barva */
}

@media screen and (max-width: 599px) {
    .content h1 {
        font-size: 1.75rem;
    }
}
@media screen and (max-width: 425px) {
    .content h1 {
        font-size: 1.5rem;
    }
}

.content-headings2 h1 {
    font-size: 1.5rem;
    color: #4f93b3; /* custom - barva */
}

.content .post-headline {
    padding: 1rem 0 2rem;
    font-size: 1.75rem;
}

.content .post-date {
    padding-top: 1.5rem;
    text-align: center;
}

.content .post-album {
    margin-top: 3.5rem;
}

@media screen and (min-width: 600px) {

    .content .post-date {
        padding-top: 3.5rem;
    }

    .content .post-headline {
        padding: 2.5rem 0 3.5rem;
        font-size: 2.2rem;
    }
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.7; /* custom */
    font-weight: 400;
}

p.headline,
p.headline2 {
    margin-bottom: .5rem;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1.3;
}
p + p.headline {
    margin-top: 2rem;
}
p.headline2 {
    font-size: 1.1rem;
}
p + p.headline2 {
    margin-top: 1rem;
}

.center {
    text-align: center;
}

.content p:empty {
    font-size: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.content p span {
    font-weight: 400;
}

.content strong {
    font-weight: 600;
}

.content > ul,
.content > ol,
.content > .text-wrapper > ul,
.content > .text-wrapper > ol,
.content > ul ul,
.content > ol ol,
.content > ol ul,
.content > ul ol,
.content > .text-wrapper > ul ul,
.content > .text-wrapper > ol ol,
.content > .text-wrapper > ol ul,
.content > .text-wrapper > ul ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
}
.content > ul ul,
.content > ol ol,
.content > ol ul,
.content > ul ol,
.content > .text-wrapper > ul ul,
.content > .text-wrapper > ol ol,
.content > .text-wrapper > ol ul,
.content > .text-wrapper > ul ol {
    margin-bottom: 0;
}

.content > ul li,
.content > ol li,
.content > .text-wrapper > ol li,
.content > .text-wrapper > ul li {
    margin-top: .25rem;
}

@media screen and (min-width: 1024px) {

    .content iframe {
        width: 426px;
        height: 240px;
    }
}


.content > .text-wrapper {
    position: relative;
}

.content > .text-wrapper > p > a,
.content > .text-wrapper > p > strong a,
.content > .text-wrapper > ol a,
.content > .text-wrapper > ul a,
.content > p > a,
.content > p > strong > a,
.content > ol a,
.content > ul a {
    color: var(--main-color); /* custom - barva */
    border-bottom: 2px solid #dee6ea; /* custom - barva */
}
.content > .text-wrapper > p > a:hover,
.content > .text-wrapper > p > strong a:hover,
.content > .text-wrapper > ol a:hover,
.content > .text-wrapper > ul a:hover,
.content > p > a:hover,
.content > p > strong > a:hover,
.content > ol a:hover,
.content > ul a:hover {
    border-bottom: 2px solid var(--main-color); /* custom - barva */
}


.content > .text-wrapper a.image-wrapper,
.content > .text-wrapper a.image-wrapper:hover,
.content a.image-wrapper,
.content a.image-wrapper:hover {
    border-bottom: none;
}

.content a.image-wrapper img {
    max-width: 100%;
    height: auto;

    box-sizing: content-box;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.content .img-left {
    float: left;
    margin: .5rem 0;
    margin-right: 2rem;
    padding-right: 0;
}

.content .img-right {
    float: right;
    margin: .5rem 0;
    margin-left: 2rem;
    padding-left: 0;
}






/**** NOVINKA ****/


.news-container:after {
    content: "";
    display: table;
    clear: both;
}

.news {
    position: relative;
    width: 100%;
    height: auto;
    color: #fff;
    background-color: #323a40;
    border: 1px solid #fff;
}


.news .img-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: auto;

    opacity: .8;
    -webkit-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

.news .img-wrapper.without-img {
    padding-top: 100%;
    background-color: #fff;
    opacity: .95;
}

@media screen and (max-width: 499px) {

    .news:nth-of-type(odd) .img-wrapper.without-img {
        opacity: .9;
    }
}

@media screen and (min-width: 500px) and (max-width: 799px) {

    .news:nth-of-type(3n+1) .img-wrapper.without-img {
        opacity: .9;
    }

    .news {
        width: 50%;
        height: auto;
        float: left;
    }


    .content-itemsSelector .news:nth-of-type(3) {
        display: none;
    }

}

@media screen and (min-width: 800px) {

    .news:nth-of-type(odd) .img-wrapper.without-img {
        opacity: .9;
    }

    .news {
        width: 33.3%;
        height: auto;
        float: left;
    }
}

.news .img-wrapper:hover {
    opacity: .7;
}

.news .img-wrapper.without-img:hover {
    opacity: .85;
}

.news .img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}

.news .text {
    pointer-events: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    outline: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);

    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.85) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}

.news .text.without-img  {
    color: #323a40;
    text-shadow: none;
    background: none;
}

.news .text .date-published {
    display: inline-block;
    padding: 0 1.5rem;
    font-size: .85rem;
}

.news .text .title {
    padding: .5rem 1.5rem 1.5rem;
    line-height: 1.25em;
    font-weight: 700;
    font-size: 1.2rem;
}



/**** sloupce ****/

.column-list {
    list-style: none;
    font-size: 0;
    text-align: center;
}

.column-list.sortable-ui .sortable-placeholder,
.column-list .column {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    max-width: 30rem;
    margin-top: 3rem;
    padding: 0 1rem;
    text-align: center;
}

.column-list.sortable-ui .sortable-placeholder,
.column-list.sortable-ui .column {
    margin-top: 0;
    margin-bottom: 3rem;
}

.column-list .sortable-placeholder {
    background-color: #ebebeb;
    border: 2px dashed #ccc;
    border-radius: 5px;
}

.column .img-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}

.column img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    /*border-radius: 50%;*/

    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}

.column .title {
    line-height: 1.25em;
    max-width: 15rem;
    margin: 1rem auto;
    font-size: 1.2rem;
    font-weight: 700;
    color: #3f3f40;
}

.column .description {
    max-width: 15rem;
    margin: 1rem auto;
    line-height: 1.5;
    font-size: 1rem;
}

.column .description a {
    color: var(--main-color);
    border-bottom: 2px solid #dee4ea;
}

.column .link {
    font-size: 1rem;
    color: var(--main-color); /* custom - barva */
    border-bottom: 2px solid #dee4ea; /* custom - barva */
}
.column .description a:hover,
.column .link:hover {
    border-bottom: 2px solid var(--main-color); /* custom - barva */
}

@media screen and (min-width: 500px) {

    .column-list .sortable-placeholder,
    .column-list .column {
        width: 50%;
    }
}

@media screen and (min-width: 900px) {

    .column-list .sortable-placeholder,
    .column-list .column {
        width: 33.3%;
        max-width: none;
    }

    .column-list .column .title {
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 320px) and (max-width: 499px) { /* custom */

    .column-list:not(.sortable-ui) .column:first-of-type {
        margin-top: 0;
    }
}
@media screen and (min-width: 500px) and (max-width: 899px) { /* custom */

    .column-list:not(.sortable-ui) .column:nth-of-type(-n+2) {
        margin-top: 0;
    }
}
@media screen and (min-width: 900px) { /* custom */

    .column-list:not(.sortable-ui) .column:nth-of-type(-n+3) {
        margin-top: 0;
    }
}


/* rychle odkazy */

.links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: -.5rem;
    list-style: none;
}

.links-list .links {
    margin: .5rem;
    width: calc(33.33% - 2*.5rem);
    position: relative;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #f1f2f4;
    background-color: #fff;
}
.links-list:not(.sortable-ui) .links {
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
.links-list:not(.sortable-ui) .links:hover {
    background-color: #f1f2f4;
}

.links-list .outer-link {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
}

.links-list .sortable-placeholder {
    background-color: #ebebeb;
    border: 2px dashed #ccc;
    border-radius: 5px;
}

.links .img-wrapper {
    display: block;
    margin: 0 auto;
    position: relative;
    width: 40%;
    height: auto;
    margin-bottom: 1rem;

    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}
.links .outer-link:hover .img-wrapper {
    -webkit-transform: scale(.9);
    -moz-transform: scale(.9);
    -ms-transform: scale(.9);
    -o-transform: scale(.9);
    transform: scale(.9);
}

.links img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 50%;
}

.links .link-text {
    line-height: 1.25em;
    max-width: 15rem;
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: 700;
    color: #323a40;
}

@media screen and (min-width: 900px) {

    .links .link-text {
        font-size: 1.3rem;
    }
}
@media screen and (max-width: 600px) {

    .links-list .links {
        width: calc(50% - 2*.5rem);
    }
}
@media screen and (max-width: 375px) {

    .links-list .links {
        width: 100%
    }
}


/**** kontakty ****/

.contact-list {
    list-style: none;
    width: 100%;
    font-size: 0;
    text-align: center;
}

.contact-list.sortable-ui .sortable-placeholder,
.contact-list .contact {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin-top: 3rem;
}

.contact-list.sortable-ui .sortable-placeholder,
.contact-list.sortable-ui .contact {
    margin-top: 0;
    margin-bottom: 3rem;
}

.contact-list .sortable-placeholder {
    background-color: #ebebeb;
    border: 2px dashed #ccc;
    border-radius: 5px;
}

.contact-list .img-wrapper {
    display: inline-block;
    position: relative;
    width: 40%;
    padding-top: 40%;
    border-radius: 50%;
    background-color: #f5f5f5;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-list .contact .name {
    margin: .5rem 0;
    padding: 0 2rem;
    font-size: 1.2rem; /* custom - font */
    font-weight: 600;
    line-height: 1.25;
}

.contact-list .contact .function,
.contact-list .contact .contact-item {
    margin-top: 0.2rem; /* custom */
    font-size: .95rem;  /* custom - font */
}
.contact-list .contact .function + .contact-item {
    margin-top: .5rem;
}
.contact-list .contact .function {
    padding: 0 2rem;
    color: var(--main-color); /* custom - barva */
    font-weight: 500;  /* custom - font */
}

.contact-list .contact .mail {
    border-bottom: 2px solid #d8d8d8;
}
.contact-list .contact .mail:hover {
    border-bottom: 2px solid #b2b2b2;
}

@media screen and (min-width: 600px) { /* custom */

    .contact-list .sortable-placeholder,
    .contact-list .contact {
        width: 50%;
    }
}

@media screen and (min-width: 900px) { /* custom */

    .contact-list .sortable-placeholder,
    .contact-list .contact {
        width: 33%;
    }
}

@media screen and (min-width: 320px) and (max-width: 599px) { /* custom */

    .contact-list:not(.sortable-ui) .contact:first-of-type {
        margin-top: 0;
    }
}
@media screen and (min-width: 600px) and (max-width: 899px) { /* custom */

    .contact-list:not(.sortable-ui) .contact:nth-of-type(-n+2) {
        margin-top: 0;
    }
}
@media screen and (min-width: 900px) { /* custom */

    .contact-list:not(.sortable-ui) .contact:nth-of-type(-n+3) {
        margin-top: 0;
    }
}



/**** rychle odkazy ****/

.content-hotlink {
    padding: 2rem 1rem;
}

.hotlink-list {
    list-style: none;
    font-size: 0;
    text-align: center;
}

.hotlink-list.sortable-ui .sortable-placeholder,
.hotlink {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    text-align: center;
}
.hotlink-list:not(.sortable-ui) .hotlink {
    width: 100%;
    padding-top: 60%;

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.hotlink:hover {
    opacity: .9;
}

.hotlink-list .sortable-placeholder {
    background-color: #ebebeb;
    border: 2px dashed #ccc;
    border-radius: 5px;
}

.hotlink .img-wrapper {
    display: block;
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding-top: 100%;

    background-position: center top 10%;
    background-repeat: no-repeat;
}

.hotlink .link {
    display: block;
    position: absolute;
    vertical-align: bottom;
    bottom: .5rem;
    top: .5rem;
    left: .5rem;
    right: .5rem;
    background-color: var(--main-color);
}
.hotlink:nth-of-type(odd) .link {
    background-color: var(--main-color);
}
.hotlink:nth-of-type(even) .link {
    background-color: var(--main-color-hover);
}

.hotlink .title {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    padding: 0 1rem;
    line-height: 1.25em;
    font-family: 'etelka', sans-serif; /* custom - font */
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

@media screen and (min-width: 400px) {

    .hotlink-list .sortable-placeholder,
    .hotlink-list .hotlink {
        width: 75%;
        padding-top: 45%;
    }

    .hotlink-list:not(.sortable-ui) .hotlink {
        width: 75%;
        padding-top: 45%;
    }
}

@media screen and (min-width: 500px) {

    .hotlink-list .sortable-placeholder,
    .hotlink-list .hotlink {
        width: 51%;
        padding-top: 33%;
    }

    .hotlink-list:not(.sortable-ui) .hotlink {
        width: 51%;
        padding-top: 33%;
    }
}

@media screen and (min-width: 600px) {

    .hotlink-list .sortable-placeholder,
    .hotlink-list .hotlink {
        width: 50%;
        padding-top: 30%;
    }

    .hotlink-list:not(.sortable-ui) .hotlink {
        width: 50%;
        padding-top: 30%;
    }
}

@media screen and (min-width: 768px) {

    .hotlink-list .sortable-placeholder,
    .hotlink-list .hotlink {
        width: 33%;
        padding-top: 23%;
    }

    .hotlink-list:not(.sortable-ui) .hotlink {
        width: 33%;
        padding-top: 23%;
    }
}

@media screen and (min-width: 900px) {

    .hotlink-list .sortable-placeholder,
    .hotlink-list .hotlink {
        max-width: none;
        width: 25%;
        padding-top: 18%;
    }

    .hotlink-list:not(.sortable-ui) .hotlink {
        width: 25%;
        padding-top: 18%;
    }
}



/**** GALERIE ****/

#snippet-gallery-albumsContainer.gallery-content {
    list-style-type: none;
    margin: 0;
    margin-top: 40px;
}

.gallery-content:after {
    content: "";
    display: table;
    clear: both;
}

.gallery-content .album {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    background-color: transparent!important;
    outline: none;
    color: #ffffff;
}

.gallery-content .album > a {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    -webkit-transform: rotate(0deg) scale(.8);
    -ms-transform: rotate(0deg) scale(.8);
    transform: rotate(0deg) scale(.8);
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
}

.gallery-content .album > a.without-img {
    height: 0;
    padding-top: 100%;
}

.gallery-content .album > a:before {
    z-index: -2;
    -webkit-box-shadow: 0 1px 15px rgba(0, 0, 0, .25);
    box-shadow: 0 1px 15px rgba(0, 0, 0, .25);
    -webkit-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg);
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
}

.gallery-content .album > a:before ,
.gallery-content .album > a:after {
    content: " ";
    display: block;
    position: absolute;
    top: -.85rem;
    left: -.85rem;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border: .85rem solid #fff;
}

.gallery-content .album > a:after {
    z-index: -1;
    -webkit-box-shadow: 1px 2px 20px rgba(0,0,0,.2);
    box-shadow: 1px 2px 20px rgba(0,0,0,.2);
}

.gallery-content .album img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 1;
}

.gallery-content .album .background {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #323a40;
    opacity: .2;

    -webkit-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}
.gallery-content .album a:hover .background {
    opacity: .3;
}

.gallery-content .album .text {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 20rem;
    height: auto;
    padding: 0 2rem;
    text-align: center;
    outline: none;

    text-shadow: 0 0 6px rgba(0, 0, 0, 0.48);

    -webkit-transform:  translateX(-50%) translateY(-50%);
    -ms-transform:      translateX(-50%) translateY(-50%);
    transform:          translateX(-50%) translateY(-50%);

}

.gallery-content .album .text.without-img {
    color: #323a40;
    text-shadow: none;
}

.gallery-content .album .date-published {
    display: inline-block;
    margin-bottom: .75rem;
}

.gallery-content .album .h3 {
    font-weight: 700;
    line-height: 1.25em;
    margin-top: -.1rem;
}

.gallery-content .album .files-amount {
    display: inline-block;
    margin-top: .75rem;
    font-size: .8rem;
}


@media screen and (min-width: 800px) {

    .gallery-content .album {
        width: 33.3%;
        float: left;
    }
}

@media screen and (min-width: 900px) {

    .gallery-content .album h3 {
        font-size: 1.3rem;
    }
}


@media screen and (min-width: 500px) and (max-width: 799px) {

    .gallery-content .album {
        width: 50%;
        height: auto;
        float: left;
    }
}

@media screen and (min-width: 800px) {

    .gallery-content .album {
        width: 33.3%;
        height: auto;
        float: left;
    }
}




/**** ALBUM ****/

.album-content {
    font-size: 0;
    /*text-align: center;*/
}

.album-content:after {
    content: "";
    display: table;
    clear: both;
}

.album-content .photos-container a {
    position: relative;
    display: block;
    float: left;
    width: 50%;
    background-color: #3b4752; /* custom - barva */
}

.album-content .photos-container a:after {
    pointer-events: none;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(50%);
    -ms-transform: translateX(-50%) translateY(50%);
    transform: translateX(-50%) translateY(50%);
    opacity: 0;
    -webkit-transition: opacity .2s,-webkit-transform .2s;
    transition: opacity .2s,-webkit-transform .2s;
    -o-transition: opacity .2s,transform .2s;
    transition: opacity .2s,transform .2s;
    transition: opacity .2s,transform .2s,-webkit-transform .2s;

    content: "\f002";

    color: #fff;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 1.75rem;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.album-content .photos-container a:hover:after {
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    opacity: 1;
}

.album-content .photos-container .photo {
    width: 50%;
}

@media screen and (min-width: 600px) {

    .album-content .photos-container .photo {
        width: 25%;
    }

    .album-content .photos-container a {
        width: 25%;
    }
}

.album-content .photos-container a img {
    display: block;
    width: 100%;
    height: auto;

    border: 5px solid #fff;

    opacity: 1;
    -webkit-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}

@media screen and (min-width: 768px) {

    .album-content .photos-container a img {
        border: 10px solid #fff;
    }
}


.album-content .photos-container a img:hover {
    opacity: 0.75;
}

#snippet-album-albumsInfo p {
    padding-bottom: 2rem;
    text-align: center;
}


.video {
    margin: 0 auto;
    width: 100%;
    position: relative;
    padding-bottom: 1rem;
}
.video:last-of-type {
    padding-bottom: 0;
}

.video .inner-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background-color: #ccc;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 768px) {

    .video {
        width: 75%;
        padding-bottom: 2rem;
    }
}


.file  {
    position: relative;
    color: #323a40;
}

.files-container .sortable-placeholder {
    background-color: #ebebeb;
    border: 2px dashed #ccc;
}

.file .link {
    width: 100%;
    display: block;
    padding: .85rem 0;
    border-bottom: 1px solid #d8d8d8;
    background-color: #fff; /* custom - barva */
}
.file .link:hover  {
    background-color: #f1f2f4; /* custom - barva */
}

.file .caption  {
    display: inline-block;
    vertical-align: bottom;
    max-width: 75%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file .extension-ico  {
    margin: 0 .5rem;
}

.fa-file-pdf-o:before {
    content: "\f1c1";
}
.fa-file-word-o:before {
    content: "\f1c2";
}
.fa-file-excel-o:before {
    content: "\f1c3";
}
.fa-file-powerpoint-o:before {
    content: "\f1c4";
}
.fa-file-archive-o:before {
    content: "\f1c6";
}
.fa-file-audio-o:before {
    content: "\f1c7";
}
.fa-file-video-o:before {
    content: "\f1c8";
}
.fa-file-image-o:before {
    content: "\f1c5";
}
.fa-file-o:before {
    content: "\f016";
}

.file .download  {
    text-transform: uppercase;
    float: right;
    margin-right: .85rem;
}

.file .extension  {
    margin-right: .85rem;
    font-size: .8rem;
    text-transform: uppercase;
}

.fa-download:before {
    content: "\f019";
}


@media screen and (max-width: 600px) {

    .file .extension-ico  {
        display: none;
    }

    .file .caption  {
        margin-left: .5rem;
    }

    .file .extension  {
        margin: 0;
    }
    .file .fa-download  {
        display: none;
    }
}


.content-youTube {
    text-align: center;
}


#scroll-top {
    z-index: 1;
    display: block;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    background: #fff url("../web_images/top_arrow.svg") center no-repeat;
    background-size: 33%;
    -webkit-box-shadow: 0 5px 15px 0 rgba(0,0,0,.15);
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.15);
}
#scroll-top:hover {
    -webkit-box-shadow: 0 10px 20px 0 rgba(0,0,0,.2);
    box-shadow: 0 10px 20px 0 rgba(0,0,0,.2);

    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

@media screen and (min-width: 600px) {

    #scroll-top {
        bottom: 2rem;
        right: 2rem;
    }
}


/**** ZAPATI ****/

.content-footer {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 125em;
    padding: 7em 2em;
    font-size: 12px;
    border-top: 1px solid #c3c3d4;
}

@media screen and (max-width: 768px) {

    .content-footer {
        padding: 6em 4em;
    }
}
@media screen and (max-width: 425px) {

    .content-footer {
        padding: 5em 3em;
    }
}

.content-footer .logo {
    flex: 1;
    margin: 0 2em;
    background: url(../web_images/logo_big.png) left top no-repeat;
    background-size: 300px;
}

@media screen and (max-width: 900px) {

    .content-footer .logo {
        background-size: 250px;
    }
}

.content-footer .columns-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 45em;
}

@media screen and (max-width: 1000px) {

    .content-footer .columns-wrapper {
        flex: 0 0 30em;
    }
}
@media screen and (max-width: 768px) {

    .content-footer .columns-wrapper {
        flex: 0 0 100%;
    }
}


@media screen and (max-width: 374px) {

    .content-footer .column {
        width: 100%;
    }
    .content-footer .column + .column {
        margin-top: 4em;
    }
}

.content-footer .row {
    line-height: 1.65;
    letter-spacing: -.0225em;
    font-size: 1rem;
    font-weight: 400;
}

@media screen and (max-width: 540px) {

    .content-footer .row {
        font-size: 1.15rem;
    }
}
@media screen and (max-width: 375px) {

    .content-footer .row {
        font-size: 1.05rem;
    }
}

.content-footer h3 {
    margin-bottom: 1.5em;
    font-size: 2.5em;
    font-weight: 400;
}

.content-footer a {
    text-decoration: underline;
}
.content-footer a:hover {
    color: #cc2727;
}

@media screen and (max-width: 768px) {

    .content-footer a {
        line-height: 2;
    }
}


/******** GOOGLE MAPS ********/

/* Always set the map height explicitly to define the size of the div
 * element that contains the map. */

#gm-event-map {
    height: 350px;
}

#gm-events-map {
    height: 450px;
}


.gm-place-title {
    margin-bottom: 3px;
    font-weight: bold;
    font-size: 15px;
}

.gm-place-description {
    font-size: 14px;
    margin-bottom: 2px;
}

.gm-place-url {
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
    color: #9e5428;
    border-bottom: 1px dotted #ccc;
}

.gm-place-url:hover {
    border-bottom: 1px solid #9e5428;
}


/******** ADD CALENDAR BUTTON ********/

.add-to-calendar {
    display: inline-block;
    vertical-align: baseline;
    margin-top: 0.5rem;
    padding: .1rem .7rem;
    color: #323a40;
    font-weight: 600;
    font-size: .9rem;
    border-radius: 18px;
    border: 2px solid #323a40;
}

.add-to-calendar:hover {
    color: #fff;
    background-color: #323a40;
    border: 2px solid #323a40;
}


/*********** SHARE BUTTONY ***********/

.content .post-share {
    text-align: center;
    padding-bottom: 2.5rem;
}

.content .post-share span {
    display: block;
    font-size: 1.4rem;
    margin-top: 5.5rem;
    margin-bottom: 1.75rem;
}

.sharer-mail,
.sharer-googleplus,
.sharer-twitter,
.sharer-fb {
    display: inline-block;
    margin: 0 .05rem;
    width: 3rem;
    height: 3rem;
    background-color: transparent;

    font: normal normal normal 14px/1 FontAwesome;
    line-height: 2.875rem;
    font-size: 1.4rem;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sharer-fb:after {
    content: "\f09a";
}

.sharer-twitter:after {
    content: "\f099";
}

.sharer-mail:after {
    content: "\f003";
}




/**** DROBECKOVE MENU ****/

.breadcrumb-menu{
    padding:.5rem 1rem;
    color: inherit; /* custom - barva */
    font-size:.73rem; /* custom - font */
    line-height:1.5rem;
    cursor:default;
    top: 0px;
    margin-top: var(--header-height); /* custom - vyska headeru (3.75) */
    background: #f1f2f3;
}

@media screen and (min-width:1200px){
    .breadcrumb-menu{
        padding:.5rem 1.5rem
    }
}

.breadcrumb-menu ul{
    margin:0 auto;
    max-width:58rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.breadcrumb-menu ul li{
    display:inline;
    line-height: 1rem;
}
.breadcrumb-menu ul li+li{
    margin-left:.5rem
}

.breadcrumb-menu ul li a:hover {
    color: var(--main-color); /* custom - barva */
}

.breadcrumb-menu ul li:not(:first-child):before {
    content:"\f105";
    opacity:.75;
    margin-right:.5rem;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default;
}

.breadcrumb-menu ul li:first-child a {
    font-size: 0;
    display: inline-block;
}
.breadcrumb-menu ul li:first-child a:before {
    pointer-events: none;
    content:"\f015";
    opacity:.75;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size:.85rem; /* custom - font */
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default;
}




/**** tlacitka ****/

.paginator {
    margin-top: 2rem;
    text-align: center;
}

.btn-wrapper {
    display: block;
    text-align: center;
    padding: 2rem 0 0;
}

.more-btn,
.more-button {
    display: inline-block;
    border-radius: 4px;

    font-size: 1.25rem;
    line-height: 1.25rem;
    padding: .68em .8em .72em ;
}
.more-btn,
.more-button.brown {
    color: #fff;
    background-color: var(--main-color); /* custom - barva */
}
.more-btn:hover,
.more-button.brown:hover {
    background-color: var(--main-color-hover); /* custom - barva */
}





.empty {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 5rem !important;
    font-size: 1rem !important;
}




/**** Slidy ****/

.slides-edit-mode {
    margin-bottom: .5rem;
    text-align: center;
}

.slides-list {
    font-size: 0;
}

.slides-list .sortable-placeholder {
    background-color: #ebebeb;
    border: 2px dashed #ccc;
}

.slides-list .sortable-placeholder,
.slides-list .slides {
    display: inline-block;
    position: relative;
    width: 33.3%;
    padding: .5rem;
    text-align: center;
}

@media screen and (max-width: 860px) {

    .slides-list .slides {
        width: 50%;
        padding: .33rem;
    }
}

@media screen and (max-width: 560px) {

    .slides-list .slides {
        width: 100%;
        padding: .25rem;
    }
}

.slides .img-wrapper {
    width: 100%;
    padding-top: 57%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slides .portrait-img-wrapper {
    position: absolute;
    bottom: 11%;
    right: 7%;
    width: 22.8%;
    padding-top: 40%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #fff;
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,.25);
    box-shadow: 0 0 5px 0 rgba(0,0,0,.25);
}




/**** Slidy - slick ****/

.content-wrapper.homepage.first {
    padding-top: var(--header-height); /* custom - vyska headeru (3.75) */
}

.content-wrapper-slides.admin {
    padding-bottom: 2rem;
    background-color: #eaebec;
}

.content-wrapper-slides:not(.admin) {
    padding-top: 2rem;
}

.content-wrapper-slides:not(.admin) .content-slides {
    padding: 0;
    width: 100%;
    max-width: none;
}

.content-wrapper-slides.first:not(homepage) {
    padding-top: 0;
}

.slide {
    position: relative;
    display: none;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide:before {
    content: "";
    position: absolute;
    display: block;
    height: 60%;
    width: 100%;
    bottom: 0;
    left: 0;

    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#bf000000',GradientType=0 );
}

@media screen and (orientation: portrait) {

    .slide.portrait {
        display: block;
    }
}

@media screen and (orientation: landscape) {

    .slide.landscape {
        display: block;
    }
}


.slides-slideshow {
    width: 100%;
    height: 75vh;
}

@media screen and (min-width: 769px) { /* custom */

    .content-wrapper-slides:not(.admin) {
        padding-top: 3rem;
    }

    .content-wrapper-slides:not(.admin) .content-slides {
        padding: 0;
    }
}

.slick-list,
.slick-track {
    height: 100% !important;
}

.slick-slide {
    outline: none
}

.slick-prev,
.slick-next {
    cursor: pointer;
    z-index: 1;
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 100%;
    -webkit-box-shadow: inset 0 0 0 1px #fff;
    box-shadow: inset 0 0 0 1px #fff;
}
.slick-prev {
    left: 1.5rem !important;
}
.slick-next {
    right: 1.5rem !important;
}

.slick-prev:before,
.slick-next:before {
    content: '' !important;
    color: #fff;
    font-family: FontAwesome !important;
    font-size: 1.5rem !important;
    line-height: 2.45rem !important;
    opacity: 1 !important;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-prev:before {
    left: 1.5rem;
    padding-right: .1em;
    content: "\f104" !important;
}
.slick-next:before {
    right: 1.5rem;
    padding-left: .1em;
    content: "\f105" !important;
}


.slides-slideshow .text {
    z-index: 6;
    position: absolute;
    width: 100%;
    max-width: 49rem;
    bottom: 2rem;
    left: 50%;
    text-align: left;
    padding: 1.5rem;
    color: #fff;

    -webkit-transform:  translateX(-50%);
    -ms-transform:      translateX(-50%);
    transform:          translateX(-50%);
}

.slides-slideshow .text h1 {
    line-height: 1.15em;
    margin-bottom: .8rem;
    text-align: left;
    text-transform: none;
    font-size: 1.6rem;
    font-weight: 700; /* custom - font */
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}


.slides-slideshow .text p {
    line-height: 1.375;
    margin-bottom: 0;
    font-weight: 400; /* custom - font */
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.slides-slideshow .text .more {
    display: inline-block;
    margin-top: .5rem;
    line-height: 1.375;
    border-bottom: 1px solid #8e8e8e;
}
.slides-slideshow .text .more:hover {
    border-bottom: 1px solid #fff;
}

@media screen and (max-width: 900px) {

    .slides-slideshow .text {
        bottom: 1rem;
    }
}

@media screen and (max-width: 600px) {

    .slides-slideshow .text {
        bottom: .5rem;
    }
}

@media screen and (max-width: 425px) {

    .slides-slideshow .text h1 {
        font-size: 1.33rem;
    }
}
@media screen and (min-width: 900px) {

    .slides-slideshow .text h1 {
        font-size: 1.8rem;
    }
}



/***** newsletter ******/

.newsletter-form {
    margin: 0 auto;
    max-width: 30rem;
    padding-bottom: 100px;
}

.newsletter-form table {
    width: 100%;
}

.newsletter-form th {
    display: block;
    padding-top: 1rem;
    text-align: left;
    padding-bottom: 0.5rem;
}

.newsletter-form td {
    display: block;
}

.newsletter-form .gdpr-checkbox td {
    padding-top: .5rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
}

.newsletter-form .gdpr-checkbox a {
    border-bottom: 1px solid #fff;
}

.newsletter-form .validation-nok {
    float: none;
    padding: 0;
    margin: 0;
    font-size: .8rem;
    font-weight: 500;
    background: none;
}

.newsletter-form .not-validated:hover,
.newsletter-form .not-validated:focus,
.newsletter-form .not-validated {
    border-width: 2px;
}

.newsletter-form input,
.newsletter-form textarea {
    padding: .8rem 1.1rem;
    line-height: 1.25rem;
    color: #40484e;
    font-family: "etelka", Helvetica, Arial, sans-serif;
    font-weight: 500;
    border: 2px solid #cccccc;
}
.newsletter-form textarea {
    height: 5rem;
}

.newsletter-form ::-webkit-input-placeholder {
    color: #c1bfbf;
    font-weight: normal;
}
.newsletter-form :-moz-placeholder { /* Firefox 18- */
    color: #c1bfbf;
    font-weight: normal;
}
.newsletter-form ::-moz-placeholder {  /* Firefox 19+ */
    color: #c1bfbf;
    font-weight: normal;
}
.newsletter-form :-ms-input-placeholder {
    color: #c1bfbf;
    font-weight: normal;
}

.newsletter-form input:focus,
.newsletter-form textarea:focus,
.newsletter-form input:hover,
.newsletter-form textarea:hover {
    border: 2px solid var(--main-color);
}

.newsletter-form .submit-btn {
    width: 100%;
    color: #fff;
    font-size: 1.25rem;
    background-color: var(--main-color);
    border: none;
}
.newsletter-form .submit-btn:hover,
.newsletter-form .submit-btn:focus {
    background-color: var(--main-color-hover);
    border: none;
}

.newsletter-form fieldset {
    margin-top: 20px;
    padding-bottom: 40px;
    border-bottom: #E91E63 1px solid;
}



.gcalendar-wrapper {
    text-align: center;
}

/* kontaktni formular */

.contact-form {
    margin: 70px auto 0;
    max-width: 30rem;
}

.contact-form table {
    
    text-align: left;
}

.contact-form th {
    display: block;
    position: relative;
    margin-top: 30px;
}
.contact-form tr:first-child th {
    margin-top: 0;
}

.contact-form th label {
    font-size: 16px;
    color: #757575;
}

.contact-form tr:not(.label-out):not(.inline) th label {
    position: absolute;
    bottom: -9px;
    left: 12px;
    padding: 0 5px;
    background-color: #fff;
    z-index: 1;
}

.contact-form td {
    display: block;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 15px 17px 13px;
    font-family: "etelka", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #645f5d;
    background-color: #fff;
    border: 1px solid #929795;
    border-radius: 5px;
}
.contact-form textarea {
    min-height: 101px;
    line-height: 1.3;
}

.contact-form select option {
    color: #645f5d;
}

.contact-form select option:first-child{
    color: #bdbdbd;
    font-weight: normal;
}

.contact-form select:invalid {
    color: #bdbdbd;
    font-weight: normal;
}

.contact-form tr:not(.inline):not(.title) input:not(.button):not([type="file"]):hover,
.contact-form tr:not(.inline):not(.title) input:not(.button):not([type="file"]):focus,
.contact-form tr:not(.inline):not(.title) textarea:hover,
.contact-form tr:not(.inline):not(.title) textarea:focus,
.contact-form select:hover,
.contact-form select:focus {
    border: 1px solid #e77952;
}

.contact-form .validation-nok {
    position: absolute;
    bottom: -50%;
    right: 10px;
    margin-right: 0;
    max-width: 50%;
    font-size: 14px;
    padding: 2px 6px 0;
    color: #fff;
    letter-spacing: .5px;
    background-color: #f15757;
    border-radius: 5px;
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
    transform: translateY(50%);
    z-index: 1;
}


.contact-form tr.title th {
    display: none;
}

.contact-form tr.title textarea,
.contact-form tr.title input {
    border: none;
    padding: 0;
    margin-top: 60px;
    font-size: 1.111rem;
    resize: none;
    min-height: 20px;
}

.contact-form tr.title.normal textarea,
.contact-form tr.title.normal input {
    font-weight: normal;
    margin-top: 10px;
}

.contact-form tr.margin-bottom td {
    margin-bottom: 50px;
}

.contact-form form ::-webkit-input-placeholder {
    color: #bdbdbd;
    font-weight: normal;
}
.contact-form form :-moz-placeholder { /* Firefox 18- */
    color: #bdbdbd;
    font-weight: normal;
}
.contact-form form ::-moz-placeholder {  /* Firefox 19+ */
    color: #bdbdbd;
    font-weight: normal;
}
.contact-form form :-ms-input-placeholder {
    color: #bdbdbd;
    font-weight: normal;
}

.contact-form .submit-btn, .content-login button {
    width: 100%;
    color: #000;
    font-size: 1.25rem;
    border: 2px solid black;
}
.contact-form .submit-btn:hover,
.contact-form .submit-btn:focus,
.content-login button:hover,
.content-login button:focus  {
    background-color: var(--main-color);
    color: var(--main-color-hover);
}

/*.contact-form fieldset {
    padding-top: 25px;
    padding-bottom: 40px;
    margin-top: 25px;
    border-bottom: #E91E63 1px solid;
}*/

/*.contact-form tr.group::before {
    content: "Please provide your personal details";
}

.contact-form tr.group th {
    padding-top: 50px;
    border-top: 1px solid grey;
}*/


/* textovy input vykresleny jako cara*/

.contact-form tr.inline input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #d9d9d9;
    border-radius: 0;
    padding: 0;
    margin-left: 10px;
}

.contact-form tr.inline input:hover,
.contact-form tr.inline input:focus {
    border-bottom: 1px solid #e77952;
}

.contact-form tr.inline th, .contact-form tr.inline td {
    display: inline;
    float: left;
    margin-top: 0;
}

.contact-form tr.inline:first-child th, .contact-form tr.inline:first-child td {
    margin-top: 30px;
}

@media screen and (max-width: 1080px) {

    .contact-form {
        margin-top: 65px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 17px;
    }
}
@media screen and (max-width: 900px) {

    .contact-form .button {
        margin-top: 0;
    }
}
@media screen and (max-width: 768px) {

    .footer .contact-form-wrapper {
        width: auto;
    }

}
@media screen and (max-width: 680px) {

    .contact-form {
        margin-top: 60px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 13px 15px 10px;
        font-size: 16px;
    }
}
@media screen and (max-width: 425px) {

    .contact-form th label {
        font-size: 15px;
    }

    .contact-form .validation-nok {
        max-width: 46%;
    }
}


#title-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    margin-bottom: 20px;
}


.content-login {
    max-width: 30rem;
}

.content-login h1 {
    margin-bottom: 20px;
    margin-top: 20px;
}

.content-login p {
    text-align: center;
}

.content-login input, .content-login button {
    margin-bottom: 10px;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
}


/* prihlasky */

.applications-container h2 {
    margin-bottom: 10px;
    margin-top: 20px;
}


.application {
    position: relative;
}

.application p {
    margin-bottom: 5px;
}

.application .title {
    cursor: pointer;
    color: #ff7276;
    border-bottom: 3px solid rgba(255, 114, 118, 0.3);
    display: inline-block;
    margin-bottom: 10px;
}
.application .title::after {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: .85em;
    content: "\f107";
}

.application .title:hover {
    border-bottom: 3px solid rgba(255, 114, 118, 0.8);
}

.applications-container table {
    border-collapse: collapse;
    margin-top: 20px;
}

.applications-container td {
    border: #000 solid 1px;
    padding: 7px;
}

.applications-container td:first-child {
    font-weight: bold;
}

.applications-container a, .help-link {
    color: #ff7276;
    border-bottom: 3px solid rgba(255, 114, 118, 0.3);
}

.applications-container a:hover, .help-link:hover {
    border-bottom: 3px solid rgba(255, 114, 118, 0.8);
}



.content-confirm h1 {
    margin-bottom: 50px;
}

.content-confirm p {
    font-size: 17pt;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}

.content-confirm img {
    max-width: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}

body .ajax-overlay .center p {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
}

@media screen and (max-width: 1080px) {

    body .ajax-overlay .center {
        width: 85vw;
    }
}
@media screen and (max-width: 680px) {

    body .ajax-overlay .center p {
        font-size: 20px;
    }
}
@media screen and (max-width: 425px) {

    body .ajax-overlay .center p {
        font-size: 18px;
    }
}

body .ajax-overlay {
    position: fixed;
    background: rgba(254, 254, 255, 0.9);
}

.content.wide {
    max-width: 80rem;
}

#applications-old {
    display: none;
}

#switcher {
    border: 1px solid black;
    padding: 10px 15px;
    font-size: 20px;
    margin: 20px auto;
    display: block;
}

.applications-container form td {
    border: none;
}

.applications-container form table {
    width: 100%;
}

.lang-switcher {
    margin-left: auto;
    font-size: 20px;
}

.lang-switcher .en {
    position: relative;
    list-style: none;
}

.lang-switcher .en:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    border-bottom: 1px solid #40484e;

    transition: all .3s;
}

.lang-switcher .en:hover:after {
    width: 100%;
}