@font-face {
    font-family: Raleway;
    src: url(../fonts/Poppins-Regular.ttf);
}

@font-face {
    font-family: RalewayBold;
    src: url(../fonts/Poppins-Medium.ttf);
}

body{
    font-family: Raleway !important;
}

a{
    text-decoration: none !important;
    color: black !important;
}

a:hover {
    text-decoration-color: #217aa5 !important;
    color: #0c5477 !important;
    cursor: pointer;
}

h1{
    font-size: 40px !important;
    font-family: RalewayBold !important;
    margin-bottom: 30px;
}

h2{
    font-size: 20px !important;
    font-family: RalewayBold !important;
    color:#217aa5;
}

.lang_choose{
    position:absolute;
    background-color: rgb(43, 43, 43);
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 5px;
    transform: translateX(-120%);
    display: flex;
    margin-top: -1px;
    opacity: 0;
    pointer-events: none;
}

.lang_choose a{
    color:white !important;
}

.lang_choose_top{
    position:absolute;
    background-color: rgb(43, 43, 43);
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 5px;
    transform: translateX(-120%);
    display: flex;
    margin-top: -1px;
    opacity: 0;
    pointer-events: none;
}

.lang_choose_top a{
    color:white !important;
}

.lang_arrow{
    background-color: transparent;
    position:absolute;
    width: 0px;
    height: 0px;
    border: 7px solid transparent;
    border-left: 7px solid rgb(43, 43, 43);
    transform: translate(180%, 25%);
    margin-left: 1px;
    margin-top: 2px;
}

.lang_arrow_top{
    background-color: transparent;
    position:absolute;
    width: 0px;
    height: 0px;
    border: 7px solid transparent;
    border-left: 7px solid rgb(43, 43, 43);
    transform: translate(250%, 25%);
}

#language:hover{
    cursor:pointer;
}

#language_top:hover{
    cursor:pointer;
}

.name_text{
    margin-top:30px;
    font-family: RalewayBold;

}  

.vyst_name{
    font-family: RalewayBold;
    transition-duration: 0.2s;
}

#name_row{
    background-color: white;
    padding:0px;
    margin:0px;
    overflow: hidden;
}   

.nav_row{
    background-color: transparent;
    height:50px;
    left:0px;
    position:absolute;
    transform:translateY(-100%);
    z-index: 1;
}

.nav_item{
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: -8px !important;
}

#header{
    background-color: #217aa5;
    z-index: 10;
}

.background{
    position: absolute;
    left: 0px;
    top: 0px;
    width:100vw;
    height: 100vh;
    background-image: url('../images/homepage.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    z-index: -10;
}

.hamburger{
    position: relative;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    color: rgb(255, 255, 255) !important;
    font-size: 1.5rem !important;
    text-decoration: none;
    border: 0px solid black !important;
    transform: translateY(4px);
    margin-top: -8px;
    z-index: 10;
}

.hamburger:focus{
    outline: none !important;
    box-shadow: none !important;
}

.yellow_line{
    background-color: #217aa5;
    width: 98%;
    margin-left: 1%;
    height:5px;
    margin-top:-5px;
}

.not_yellow_line{
    border-top:5px solid #217aa5;
    width: 98%;
    margin-left: 1%;
    height:35px;
    margin-top: -5px;
    margin-bottom: -30px;
    background-color: transparent;
    opacity: 0;
    transition-duration: .5s;
    position: relative;
}

.not_yellow_line:hover{
    opacity: 1;
}

.lang{
    font-family: Raleway;
}

.galerie_btn:hover ~ .dropdownmenu{
    display: flex;
}

.dropdownmenu{
    background-color:#217aa5;
    position: absolute;
    display:none;
    flex-direction: column;
    justify-content:center;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: 10px;
    margin-top: 8px;
    width: 120px;
    color:white !important;
    transition-duration: 1s;
    border-radius: 4px;
    z-index: 9;
}

.dropdownmenu:hover{
    display: flex;
}

.dropdownmenu a{
    line-height: 0px;
    margin-top: -7px;
    margin-left: 0px;
    color:white !important;
    z-index: 10;
}

.gal_title{
    color:#217aa5; 
    display:block; 
    margin-left:50%; 
    margin-bottom:35px; 
    transform:translateX(-50%); 
    text-align:center;
}

.vys_title{
    color:#217aa5; 
    text-align:center;
}

.galerie{
    margin-top: 20px;
}

.galerie h3{
    color:#217aa5; 
    text-align:center;
    margin-bottom: -14px;
    font-size: 20px;
    font-family: RalewayBold;
}

.film{
    padding: 20px;
    margin-top: 40px;
    padding-bottom:0px;
}

.biografie{
    margin-top: 40px;
    text-align: justify;
    margin-bottom: 80px;
}

.foto_bio{
    width:90%;
    margin-left: 10%;
    transform:translateX(10px);
    margin-top:20px;
}

.foto_kont{
    width:90%;
    margin-left: 10%;
    transform:translateX(10px);
    margin-top:20px;
}

.footer{
    background-color: #f2f2f2;
    padding-top: 40px;
    padding-bottom: 40px;
    opacity:0;
}

.footer img{
    height: 30px;
    margin-top:-5px;
}

.popup_cont{
    background-color: rgba(0, 0, 0, 0.803);
    position: absolute;
    height: 100vh;
    width: 100vw;
    z-index: 10000;
    top: 0px;
    left: 0px;
    color: white;
    /*display:none;*/
}

.popup_cont img{
    position: absolute;
    left: 50%;
    top:50%;
    transform: translate(-50%, -50%);
    width: 30%;
}   

.cross{
    position: absolute;
    left: 50%;
    top:50%;
    transform: translateY(-100%);
    margin-left: 16%;
    margin-top: -15%;
    transition-duration: 0.2s;
}

.cross:hover{
    color: #217aa5;
    cursor: pointer;
}

.bibliografie{
    margin-top: 40px;
}


.bibliografie ul {
    list-style: none;
    padding-left: 0;
}

.bibliografie li {
    padding-left: 0px;
}

.bibliografie i {
    color:#217aa5
}

.biblio_cont{
    display: inline-block;
    background-color: transparent;
    margin-left: 50%;
    transform: translateX(-50%);
}

.kontakt{
    margin-top: 40px;
}

.kontakt_cont{
    display: block;
    background-color: transparent;
    margin-left: 50%;
    transform: translateX(-50%);
}

.vyst_cont{
    display: block;
    background-color: transparent;
    margin-left: 50%;
    transform: translateX(-50%);
}

.hl_foto_vystavy{
    width: 90%;
}

.video{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content:center;
    margin-top:60px;
    margin-bottom:70px;
}

.wrapper{
    width: 100%;
    margin: 6% auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-bottom: 0px;
}

.film_wrapper{
    margin-bottom: 50px !important;
    margin-top: -20px !important;
}

.wrapper a img{
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 8%;
    object-fit: cover;
}

.wrapper a{
    width: 12%;
    float: left;
    margin: 5px;
    flex: 0 0 14%;
}

.wrapper_vys{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-bottom: 25px;
}

.wrapper_vys a img{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    padding: 8%;
}

.wrapper_vys a{
    width: 30%;
    float: left;
    margin: 5px;
    margin-bottom: 30px;
    flex: 0 0 25%;
}

.wrapper_vys p{
    text-align: center;
    margin: 5px;
}

.vys_item:hover p{
    color: #217aa5 !important;
}

.arrow_down{
    background-color: transparent;
    border: 0px;
    font-size: 28px;
    margin-left: 50%;
    transform:translateX(-50%);
    color: #ccc;
    transition-duration: .5s;
    border-radius: 100%;
    line-height:0px;
}

.arrow_down_film{
    transform: translate(-50%, -50px);
}

.vystavy_nezrazene{
    margin-top: 0px;
    margin-bottom: 70px;
}

.vystavy_nezrazene p{
    text-align: center;
    line-height: 25px;
}

.vystavy_nezrazene a:hover {
    text-decoration-color: #217aa5 !important;
    color: #217aa5 !important;
}

.arrow_down:hover{
    color: #217aa5;
}

.arrow_down i{
    transform:rotateZ(180deg);
    transition-duration: .5s;
    color: #217aa5;
}

.collapsed i{
    transform:rotateZ(0deg) !important;
    transition-duration: .5s;
    color: #ccc !important;
}

.dropdown_arrow{
    background-color: transparent;
    position:absolute;
    width: 0px;
    height: 0px;
    border: 15px solid transparent;
    border-right: 15px solid #217aa5;
    transform: translateX(-100%);
    margin-right: -1px;
    z-index: 50;
    display: none;
}

.vyst_text{
    width: 100%;
    margin-left: 0%;
}

@media (min-width: 768px) {
    #header{
        background-color: white;
    } 
}

/*

*/

@media (max-width: 991px){
    .kontakt_cont{
        display: block;
        background-color: transparent;
        margin-left: 5%;
        transform: translateX(0%);
    }
    .galerie h3{
        margin-bottom: -10px;
    }

    .popup_cont img{
        width: 50%;
    }   
    
    .cross{
        margin-left: 26%;
        margin-top: -25%;
    }
}

@media (max-width: 768px) {
    .name_text{
        display: flex;
        justify-content: center;
        margin:9px;
        font-size: 15px;
      /*  letter-spacing: 4px;*/
    } 

    .lang_arrow_top{
        transform: translate(190%, 35%);
    }

    .saf_pod_logo{
        height: 35px !important;
    }

    .nav_item{
        margin-bottom: -15px !important;
        text-align: center;
        font-size:20px !important;
    }

    .nav_cont{
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .foto_bio{
        width:60%;
        margin-left: 20%;
        margin-bottom: 20px;
        transform:translateX(0px);
        margin-top:20px;
    }

    .foto_kont{
        width:60%;
        margin-left: 20%;
        margin-bottom: 20px;
        transform:translateX(0px);
        margin-top:50px;
    }

    .biografie{
        padding: 20px;
        margin-bottom: 28px;
    }

    .footer img{
        height: 15px;
        margin-top:-5px;
    }

    .bibliografie{
        font-size: 12px;
        overflow-x: hidden;
    }
    
    .wrapper a{
        width: 40%;
        float: left;
        margin: 5px;
        flex: 0 0 40%;
    }

    .wrapper_vys a{
        width: 12%;
        float: left;
        flex: 0 0 40%;
    }

    .dropdownmenu{
        background-color:#217aa5;
        position: absolute;
        padding-top: 18px;
        padding-bottom: 18px;
        margin-left: 50%;
        transform: translate(55%, -50%);
        margin-top: -7px;
        width: 120px;
        z-index: 20;
    }

    .dropdownmenu a{
        line-height: 9px;
        margin-top: -5px;
        margin-left: 0px;
        color:white !important;
        z-index: 10;
    }

    .dropdown_arrow{
        display: block;
    }

    .background{
        background-image: url('../images/homepage2.jpg');
    }

    .galerie h3{
        font-size:18px;
        margin-bottom: -10px;
    }

    .popup_cont img{
        width: 70%;
    }   
    
    .cross{
        margin-left: 36%;
        margin-top: -35%;
    }

    .nav_item{
        color: white !important;
    }
}

@media (max-width:991px) {

    .foto_bio{
        width:50%;
        margin-left: 25%;
        margin-bottom: 20px;
        transform:translateX(0px);
        margin-top:20px;
    }
    .bibliografie .foto_bio{
        width:40%;
        margin-left: 30%;
        transform:translateX(10px);
        margin-top:20px;
    }

    .foto_kont{
        width:50%;
        margin-left: 25%;
        margin-bottom: 20px;
        transform:translateX(0px);
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .wrapper a{
        width: 18.9%;
    }
}

@media (max-width:576px) {
    .hl_foto_vystavy{
        width: 50%;
        margin-left: 25%;
    }
    .vyst_text{
        width: 90%;
margin-bottom: 0px !important;
    }

    .vyst_texxt{
        margin-top: 65px;
        padding-left:20px;
        padding-right:20px;
    }
}


.saf_pod_logo{
    height: 50px;
}

.resp_lang_choose_cont{
    position: absolute;
    right: 10px;
    top: 17px;
}