/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

:root {
    --basic_transition: 0.5s;
    --logo_red: hsl(325, 64%, 24%);
    --logo_blue: hsl(221, 58%, 41%);
    --logo_blue_dark: hsl(221, 100%, 30%);;
}

html
{
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	font-family: 'Calibri';
    scroll-behavior: smooth;
}
::-webkit-scrollbar{
    width: 5px;
}
/* Track */
::-webkit-scrollbar-track {
    background: transparent;
    /*margin-top: 15px;
    margin-bottom: 10px;*/
}
   
/* Handle */
::-webkit-scrollbar-thumb {
    background: rgb(50, 50, 50); 
}
  
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(100, 100, 100); 
}
body{
    margin: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
ul{
    list-style-type: none;
}
header{
    z-index: 100;
    background-color: rgba(75, 75, 75, 0.5);
    color: white;
    height: 80px;
    width: 100%;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 20% 65% auto;
    grid-template-columns: 20% 65% auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    -ms-flex-line-pack: center;
        align-content: center;
    position: sticky;
    -webkit-transition: var(--basic_transition);
    -o-transition: var(--basic_transition);
    transition: var(--basic_transition);
    top: 0;
    /*transform: translateY(calc(40vh - 80px));*/
    margin-top: calc(40vh - 80px);
}
header > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
header > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}
header > *:nth-child(3){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}
header.small{
    background-color: rgba(125, 125, 125);
    height: 50px;
    margin-bottom: 30px;
}
header.open{
    background-color: rgba(100, 100, 100);
    height: 80px;
    margin-top: 0px;
}
section#sidebar{
    z-index: 100;
    position: fixed;
    display: none;
    top: 80px;
    background-color: rgb(125 125 125);
    height: 100%;
    width: 50%;
    -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
            transform: translateX(-100%);
    -webkit-transition: var(--basic_transition);
    -o-transition: var(--basic_transition);
    transition: var(--basic_transition);
    overflow: hidden;
    display: none;
    overflow-y: scroll;
}
section.active#sidebar{
    -webkit-transform: translateX(0%);
        -ms-transform: translateX(0%);
            transform: translateX(0%);
}
div#sidebar_button{
    display: none;
    background-image: url("../icon/Nav.svg");
    height: 70px;
    width: 70px;
    background-position: center;
    background-size: contain;
    -webkit-transition: var(--basic_transition);
    -o-transition: var(--basic_transition);
    transition: var(--basic_transition);
    position: absolute;
}
div.active#sidebar_button{
    background-image: url("../icon/Cross.svg");
}
section#sidebar > ul{
    list-style-type: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding-left: 0px;
    padding-bottom: 55px;
    margin-top: 0;
}
section#sidebar > ul > li > a{
    padding: 10px 15px;
    width: 100%;
    height: 100%;
    display: block;
}
section#sidebar > ul > li > a:hover{
    background-color: rgb(100, 100, 100);
}
section#sidebar > ul > li.active{
    color: darkgray;
    pointer-events: none;
}

header > section.name{
    font-size: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 100%;
}
header > section.name > a{
    background-image: url(../icon/logo_title.svg);
    height: 100%;
    width: 95%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
nav{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    position: relative;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 0;
    overflow: hidden;
    height: -webkit-fill-available;
}
nav > div{
    width: auto;
    padding: 0px;
    text-align: center;
    -webkit-transition: var(--basic_transition);
    -o-transition: var(--basic_transition);
    transition: var(--basic_transition);
    border-radius: 20px;
}
nav > div > a::after {
    content: '';
    width: 0%;
    height: 4px;
    background: white;
    display: block;
    border-radius: 15px;
    -webkit-transition: var(--basic_transition) ease-out;
    -o-transition: var(--basic_transition) ease-out;
    transition: var(--basic_transition) ease-out;
    margin: 0 auto;
}
nav > div:hover > a::after {
    width: 100%;
}
nav > div.active{
    color: #78A2CC;
    pointer-events: none;
}
nav > div.active > a::after {
    background: #78A2CC;
    width: 100%;
}
nav a{
    text-decoration: none;
    color: inherit;
}

section.lang{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    position: relative;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 0;
    overflow: hidden;
    height: -webkit-fill-available;
    justify-self: end;
    width: 75%;

}
section.lang > div{
    width: auto;
    padding: 0px;
    text-align: center;
    -webkit-transition: var(--basic_transition);
    -o-transition: var(--basic_transition);
    transition: var(--basic_transition);
    border-radius: 20px;
    padding: 10px 0px;
    cursor: pointer;
    font-size: 18px;
    position: relative;
    top: -2px;
}
section.lang > div.active{
    /*background: linear-gradient(90deg, #064aa0, #0797d4);*/
    text-decoration: underline;
    pointer-events: none;
}

header.small:not(.open) > section.lang{
    height: 70%;
    font-size: 16px;
}


/*section.lang{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    align-content: center;
    justify-self: right;
    margin-left: 10px;
    width: inherit;
}
section.lang > div{
    height: 75%;
    max-height: 50px;
    margin: auto;
    margin-left: 10px;
    transition: var(--basic_transition);
}
header.small:not(.open) > section.lang > div{
    height: 70%;
}
section.lang > div > img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}*/
/* * * * * * * * * * * * */
.topImage.defaultImage{
    background: url("../icon/slovart-logo_title.svg");
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.topImage{
    height: calc(85vh - 80px);
    position: relative;
    margin-top: -40vh;
}
.topImage > img{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
}
.topImage.videoImg{
    background: url("../img/_book.jpg");
}
.topImage > video{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    position: absolute;
    opacity: 0;
}
main{
    width: 100%;
    margin: 0 auto;
    margin-bottom: 0px;
    text-align: left;
    line-height: 23px;
}
main.text h2{
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0px;
    line-height: initial;
    text-align: inherit;
}
main.text a{
    text-decoration: underline;
}
main.text a:hover{
    color: gray;
}
main.text p{
    margin-bottom: 0;
    font-size: 20px;
}
main.text ul{
    margin-top: 5px;
    font-size: 20px;
}
main.text ul > li::before{
    content: '- ';
    font-weight: bold;
}
main .text_box{
    padding: 30px 15px;
    margin-top: 15px;
}
main .text_box:last-child{
    padding: 30px 15px 40px 15px;
}
main .text_box .text{
    width: 65%;
    margin: 0 auto;
}
main .text_box .text.long{
    width: 95%;
    margin: 0 auto;
}
main .text_box .text.flex{
    width: 95%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
main .text_box .text.flex > section{
    text-align: center;
    margin-bottom: 15px;
}
main .text.testOfMargin{
    /*width: 90%;*/
    /*margin-left: 5%;*/
}
main .text_box:nth-child(even) > .text.testOfMargin{
    /*margin-left: auto;
    margin-right: 10%;
    text-align: right;*/
}
main .text_box:nth-child(even){
    background: linear-gradient(-90deg, #AED4F991, #90B8E1);
    color: black;
}

div.map{
    margin: 10px auto;
    width: 500px;
    height: 500px;
    border: 2px solid black;
}
div.map > iframe{
    width: 100%;
    height: 100%;
}
/*main{
    margin: 10px 10px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
main .img_wrapper{
    width: 330px;
    height: 330px;
    display: grid;
    justify-content: center;
    align-items: center;
}
main .img_holder{
    width: 300px;
    height: 300px;
    transition: var(--basic_transition);
    overflow: hidden;
}
main .img_holder img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
main .img_holder:hover{
    border-radius: 15px;
    box-shadow: grey 10px 10px 25px 5px;
    width: 325px;
    height: 325px;
}*/
/* * * * * * * * * * * * */
/*main.cards{
    margin: 10px auto;
}
.card{
    width: 95%;
    height: 150px;
    background-color: white;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto auto;
    grid-template-columns: auto auto;
    -webkit-box-shadow: grey 0px 3px 15px 0px;
            box-shadow: grey 0px 3px 15px 0px;
    -webkit-transition: var(--basic_transition);
    -o-transition: var(--basic_transition);
    transition: var(--basic_transition);
    overflow: hidden;
    cursor: default;
}
.card:hover{
    border-radius: 15px;
    -webkit-box-shadow: grey 5px 10px 25px 0px;
            box-shadow: grey 5px 10px 25px 0px;
}
.card div{
    position: relative;
}
.card .name{
    width: 95%;
    font-weight: bold;
    text-align: center;
    font-size: 25px;
    margin: 0 auto;
}
.card .card_img_holder{
    width: 100%;
    height: 100%;
    -webkit-transition: var(--basic_transition);
    -o-transition: var(--basic_transition);
    transition: var(--basic_transition);
    overflow: hidden;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.card .card_img_holder img{
    -o-object-fit: cover;
       object-fit: cover; 
    max-width: 100%;
    max-height: 100%;
    size: 50%;
}
.card section{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    overflow-y: hidden;
    margin: 5px 0;
}
.card .description{
    width: 95%;
    text-align: center;
    font-size: 15px;
    margin: 5px auto;
    overflow-y: scroll;
}
.card .description::-webkit-scrollbar{
    width: 5px;
}*/
/* Track */
/*.card .description::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 15px;
    margin-bottom: 10px;
}*/
   
/* Handle */
/*.card .description::-webkit-scrollbar-thumb {
    background: rgb(100, 100, 100); 
    border-radius: 5px;
}*/
  
/* Handle on hover */
/*.card .description::-webkit-scrollbar-thumb:hover {
    background: #555; 
}*/
/* * * * * * * * * * */
footer{
    background-color: rgb(125, 125, 125);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    color: white;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
footer > img#logo{
    width: 200px;
    -o-object-fit: scale-down;
       object-fit: scale-down;
    display: block;
    left: 0;
    position: relative;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
}
footer a{
    color: white;
    text-decoration: underline;
}
footer a:hover{
    color: lightgray;
}
footer > section{
    white-space: nowrap;
    margin: 0 10px;
    text-align: center;
}

/* * * * * * * * */
#bottom_links{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -ms-flex-line-pack: center;
        align-content: center;
    width: 75%;
    margin: 0 auto;
    margin-bottom: 15px;
    -webkit-transition: var(--basic_transition);
    -o-transition: var(--basic_transition);
    transition: var(--basic_transition);
    border-radius: 0px;
}
#bottom_links > a{
    width: 25%;
    height: 150px;
    margin: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
    position: relative;
}
#bottom_links > a > div.overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /*background: linear-gradient(90deg, #064aa0, #0797d4);*/
    background: -webkit-gradient(linear, left top, right top, from(#78A2CC), to(#DDF0F7));
    background: -o-linear-gradient(left, #78A2CC, #DDF0F7);
    background: linear-gradient(90deg, #78A2CC, #DDF0F7);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: black;
    font-size: 20px;
    font-weight: bolder;
    opacity: 0;
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
    padding: 10px;
    text-align: center;
}
#bottom_links > a > div.overlay_mobile{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: -webkit-gradient(linear, left top, right top, from(#78A2CC), to(#DDF0F7));
    background: -o-linear-gradient(left, #78A2CC, #DDF0F7);
    background: linear-gradient(90deg, #78A2CC, #DDF0F7);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: black;
    font-size: 20px;
    font-weight: bolder;
    opacity: 0;
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
    padding: 5px 10px;
    text-align: center;
    border-radius: 15px 15px 0px 0px;
}
#bottom_links > a > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
}

#bottom_links > a:hover{
    -webkit-box-shadow: 5px 2px 15px 5px gray;
            box-shadow: 5px 2px 15px 5px gray;
    border-radius: 20px;
}
#bottom_links > a:hover > img{
    border-radius: 20px;
}
#bottom_links > a:hover > div.overlay{
    opacity: 0.8;
    border-radius: 20px;
}
#bottom_links > a:hover > div.overlay_mobile{
    opacity: 0;
}

.cards{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -ms-flex-line-pack: center;
        align-content: center;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 15px;
    -webkit-transition: var(--basic_transition);
    -o-transition: var(--basic_transition);
    transition: var(--basic_transition);
    border-radius: 0px;
}
.cards > a{
    width: 250px;
    height: 300px;
    margin: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
    position: relative;
}
.cards > a > #wrapper{
    content: '';
    width: 250px;
    height: 300px;
    position: absolute;
    transition: inherit;
}
.cards > a > #wrapper > div.overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /*background: linear-gradient(90deg, #064aa0, #0797d4);*/
    background: -webkit-gradient(linear, left top, right top, from(#78A2CC), to(#DDF0F7));
    background: -o-linear-gradient(left, #78A2CC, #DDF0F7);
    background: linear-gradient(90deg, #78A2CC, #DDF0F7);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: black;
    font-size: 20px;
    font-weight: bolder;
    opacity: 0;
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
    padding: 10px;
    text-align: center;
}
.cards > a > #wrapper > div.overlay_mobile{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: -webkit-gradient(linear, left top, right top, from(#78A2CC), to(#DDF0F7));
    background: -o-linear-gradient(left, #78A2CC, #DDF0F7);
    background: linear-gradient(90deg, #78A2CC, #DDF0F7);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: black;
    font-size: 20px;
    font-weight: bolder;
    opacity: 0.8;
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
    padding: 5px 10px;
    text-align: center;
    border-radius: 15px 15px 0px 0px;
}
.cards > a > #wrapper > img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    -o-object-fit: contain;
       object-fit: contain;
    -webkit-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
}

.cards > a:hover > #wrapper{
    -webkit-box-shadow: 5px 2px 15px 5px gray;
            box-shadow: 5px 2px 15px 5px gray;
    border-radius: 20px;
}
.cards > a:hover > #wrapper > img{
    border-radius: 20px;
}
.cards > a:hover > #wrapper > div.overlay{
    opacity: 0.8;
    border-radius: 20px;
}
.cards > a:hover > #wrapper > div.overlay_mobile{
    opacity: 0;
}

.cardBlock{
    position: relative;
    overflow-x: hidden;
    /*box-shadow: 2.5px 2.5px 5px 5px gray;*/
    border-radius: 10px;
}
.cardBlock > section.slide{
    position: absolute;
    width: 100%;
    left: 00%;
    opacity: 0;
    pointer-events: none;
}

.cardBlock section.slide div.overlay_mobile{
    display: none !important;
}

.mail:after {
    content: attr(data-name) "@" attr(data-domain) "." attr(data-tld); 
  }
@media only screen and (max-width: 1200px){
    header{
        -ms-grid-columns: 20% auto 170px;
        grid-template-columns: 20% auto 170px;
    }
    header a, header .lang div{
        font-size: 75%;
    }

}
@media only screen and (max-width: 950px){
    header{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    section#sidebar{
        display: block;
    }
    header > div#sidebar_button{
        display: block;
    }
    header > section.name{
        margin: 0 auto;
        width: 50%;
        height: 70%;
    }
    header section.lang, header nav{
        display: none;
    }
    section#sidebar section.lang{
        -webkit-box-pack: space-evenly;
            -ms-flex-pack: space-evenly;
                justify-content: space-evenly;
        width: auto;
        margin: 0 15px;
        height: auto;
        color: white;
    }
    #bottom_links > a{
        width: 250px;
    }
    #bottom_links > a > div.overlay_mobile{
        opacity: 0.8;
    }
    .cards > a{
        width: 250px;
    }
    .cards > a > div.overlay_mobile{
        opacity: 0.8;
    }
    main .text_box .text{
        width: 95%;
        text-align: left !important;
    }
    div.map{
        width: 95%;
    }
}
@media only screen and (max-width: 350px){
    section#sidebar{
        width: 100%;
    }
}