@font-face {
    font-family: weblysleek; 
    src: url(weblysleekuil.ttf); 
   }
@font-face {
    font-family: weblysleeksb; 
    src: url(weblysleekuisb.ttf); 
   }
*{
    margin: 0;
    padding: 0;
    font-family: weblysleek;
     -webkit-tap-highlight-color: rgba(0,0,0,0);
    font-size: 16px;
    color: #333;
}
* a{
    text-decoration: none;
    color: black;
}

a:hover{
    color: #ff8c11;
}
#header-full{
    z-index: 9;
    width: 100%;
    background: white;
    z-index: 1;
    position: fixed;
    top: 0;
    height: 80px;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
}
#header{
    z-index: 9;
    top: 0;
    width: calc(100% - 20px);
    max-width: 1180px;
    height: 60px;
    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    padding: 10px;
    display: flex;
    align-items: center;
}
#logo{
    display: inline-block;
    width: 60px;
    height: 60px;
    background: url(../img/etsshinentakayan-logo.png) no-repeat;
    background-size: cover;
    background-position: center;
}

#menu-bar{
    vertical-align: top;
    height: 60px;
    display: inline-block;
}
#menu-bar ul{
    font-size: 18px;
    margin-top: 20px;
    padding: 0 5px;
    margin-left: 10px;
    color: #333;
    display: inline-block;
    border-bottom: 2px solid white;
    cursor: pointer;
}
#menu-bar ul:first-child{
    margin-left: 60px;
    
    
}

#lang-block{
    height: 60px;
    margin-left: auto;
    
}
#lang-block ul{
    margin-top: 20px;
    padding: 0 5px;
    color: #333;
    display: inline-block;
    cursor: pointer;
}
#slider{
    z-index: 0;
    width: 100%;
    height: calc(100vw / 2.4);
    max-width: 1920px;
    max-height: 800px;
    position: relative;
    margin: 90px auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: silver;
    margin-bottom: 0;
     -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;

}
.slide{
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
}
#slider-bg-color{
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0,0,0,0.5);
}
#slider-bg{
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    position: absolute;
}
.slider-text{
    z-index: 2;
    font-family: weblysleeksb;
    display: table-cell;
    vertical-align: middle;
    width: calc(100% - 40px);
    max-width: 800px;
    height: 250px;
    text-align: center;
    position: absolute;
    margin: auto;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    color: white;
    font-size: 72px;
    animation-name: slider-text-anim;
    animation-duration: 2s;
    display: table;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slider-text-anim{
    from {opacity: 0}
    to {opacity: 1}
}

#content{
    width: 100%;
    max-width: 1200px;
    margin: 10px auto;
    position: relative;
    min-height: 500px;
}
#loader{
    width: 100%;
    height: 100%;
    background: url(../img/load.gif) no-repeat;
    background-position: center;
    background-size: 100px;
    position: absolute;
    top: 0;
    bottom: 0;
}
.page-title{
    margin-top: 30px;
    width: 80%;
    max-width: 500px;
/*    background: #333;*/
    border-radius: 5px;
    padding: 0px 10px 13px 10px;
    font-family: weblysleeksb;
   
}
.page-title h1{
    color: #333;
}
.page-title h2{
    color: #333;
}
h1{
    font-size: 36px;
}
h2{
    font-size: 18px;
}

#main-slogan{
    margin-top: 10px;
    width: 100%;
    text-align: right;
}
#main-slogan p{
    display: inline-block;
    text-align: right;
    width: 400px;
    max-width: calc(100% - 20px);
    font-family: weblysleeksb;
    padding: 10px;
    color: #333;
    white-space: pre-wrap;
}
#main-about-text{
    width: calc(100% - 20px);
    padding: 10px;
    color: #333;
    font-size: 18px;
    padding-bottom: 20px;
    white-space: pre-wrap;
}
#footer-full{
    width: 100%;
    background: #333;
    max-width: 1920px;
    margin: 0 auto;
}

#footer{
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    
}
.footer-part{
    vertical-align: top;
    width: 50%;
    min-width: 300px;
    display: inline-block;
    margin-left: -5px;
    padding: 20px 0;
}
.footer-part:first-child{
    margin-left: 0;
}
.footer-part ul{
    margin-left: 10px;
    color: white;
    padding: 5px 0;
}
.footer-title{
    padding: 5px 0;
    font-size: 18px;
    font-family: weblysleeksb;
}
#footer-right{
    width: calc(100% - 40px);
    padding: 20px;
    text-align: center;
    color: silver;
}
#footer-right a{
    color: silver;
}

#footer-right a:hover{
    color: #ff4f6f;
}


.wotk-title{
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: weblysleeksb;
    color: #333;
    font-size: 18px;
}

.partner-image{
    height: 80px;
    width: 80px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 5px;
}
.partner-title{
    font-family: weblysleeksb;
    padding-left: 20px;
}

.partners-table{
    margin-top: 20px;
}

.license-img img{
    width: 800px;
    max-width: 100%;
    height: auto;
}

#etsse-contacts, #chief-contacts{
    vertical-align: top;
    width: 100%;
    max-width: 300px;
    display: inline-block;
}
#etsse-contacts p, #chief-contacts p{
    padding: 2px 0;
}
#map{
    width: 100%;
    height: 400px;
    margin-top: 30px;
}


#menu-btn{
    width: 60px;
    height: 60px;
    background: url("../img/menu.png") no-repeat;
    background-position: center;
    background-size: 32px;
    display: none;
}
































@media only screen and (max-width:680px){
  
    #menu-btn{
        display: block;
    }

    #menu-bar{
        position: fixed;
        background: white;
        width: 100%;
        height: calc(100% - 80px);
        left: -100%;
        top: 81px;
        display: block;
        text-align: center;
        transition: .3s all;
    }
    
    #menu-bar ul{
        display: block;
        margin: 15px auto;
        max-width: 240px;
        min-height: 40px;
    }
    #menu-bar ul:first-child{
        margin-left: auto;

    }

    #lang-block{
        margin-right: 20px;
    }

    .menu-open #menu-bar{
        left: 0;
    }

    .slider-text{
        font-size: 24px;
    }
 #content{
     width: calc(100% - 40px);
 }
}


















































