header{
    font-family: RobotoRegular, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
    top: 0;
    left: 0;
    width:100%;
    height: 60px;
    background:#fff;
    padding: 0;
    margin-bottom:0px;
    position:sticky;
    z-index:99999;
}
::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.9);
    background-color: #CCCCCC;
}
::-webkit-scrollbar{
    width: 12px;
    background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb{
    background-color: #D62929;
    background-image: -webkit-linear-gradient(90deg,
        transparent,
        rgba(0, 0, 0, 0.4) 50%,
        transparent,
        transparent)
}
nav{
    width:100%;margin-top:13px; 
}
.logo{
    margin-left:10px;
    height:60px;
    float:left;
    text-align: center;
    line-height: 0.9;
    letter-spacing: 0;
}
.logo a{
    text-decoration: none;
}
.logo-text{
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}
.logo-text:before, .logo-bott:after{
    content: '';
    display: block;
    border: 3px solid red;
    height: 8px;
    width: 28px;
    margin: 0 auto;
}
.logo-text:before{
    margin-top: 6px;
    margin-bottom: 4px;
    border-bottom: none;
}
.logo-bott:after{
    margin-top: 4px;
    border-top: none;
}
.logo-bott {
    font-size: 8px !important ;
    letter-spacing: -0.3px;
}
#auth_block{
    float: left;
    display: flex;
    position: relative;
    line-height:0.8;
    margin-top: 8px;
    margin-left: 3%;
}
.btn_reg, .btn_auth,.name_auth, .btn_exit{
    -webkit-box-sizing:border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
    padding: 2px 0;
    text-transform: uppercase;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    text-align: center;
    display: inline-block;
    color: #eee;
    float: left;
    color: black;
    z-index: 5;
    font-size: 12px;
    letter-spacing: normal;
    padding-bottom: 0 ; 
}
.btn_reg, .name_auth{
    padding-right: 3px;
    border-bottom:1px solid red;
} 
.btn_auth, .btn_exit{
    border-bottom:1px solid red;
}
.btn_auth span, .btn_exit span{
    color: red;
}   
.btn_search:hover{cursor:pointer;}
.btn_search:hover{color:#be1116;    background-color: rgba(255, 255, 255, 0.35);}
.menu {
    float: right;
    display: flex;
    align-items: center;
}
.menu ul {
    list-style: none;
    position: absolute; 
    opacity: 0;
    -webkit-transition: 0.25s linear opacity;
}
.menu ul a {
    white-space: nowrap;
    display: block;
}
.menu li {
    display:inline-block;
    position: relative;
    background-color: transparent;
    color:#fff;
    margin: 8px;
}
.menu a {
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-decoration: none;
    line-height: 0.9;
    text-align: center;
}
.menu a:hover {
    color:rgb(40 29 239)!important;
}
.menu li:last-child a {
    padding-right: 20px;
}
.tut a{
    color:rgb(40 29 239)!important;
}
.tut{
    color:rgb(40 29 239)!important;
}
.menu li:hover ul {
    right: -25px;
    opacity: 1;
}
.menu li:hover ul li a:hover {
    color: rgb(40 29 239)!important;
    text-decoration: underline;
}
.submenu{
    display: inline-block;
    background-color: #03253E;
}
.submenu li:last-child a{
    padding-left: 10px;
    padding-right: 10px;
}
.submenu li a{
    color: #d0d0d0;
    padding-left: 10px;
    padding-right: 10px;
}
.overlay_img{
    display: none;
    height: 0;
    -webkit-transform: scale(0); 
    -ms-transform: scale(0);
    transform: scale(0); 
    transition: all 1s ease-in-out; 
    overflow: hidden;
}
.email_auth{
    position: absolute;
    left: 10px;
    top: 60px;
    text-decoration: none;
    color: #fff;
}
.mobile_img img{width:100%;height:auto;display:none;}
@media (min-width:768px) and (max-width:1200px){
    body{
        -webkit-text-size-adjust: none;
    }
    .logo-bott {
        font-size: 8px !important ;
    }
    .btn_reg, .btn_auth, .name_auth, .btn_exit{
        font-size:7px;
        letter-spacing:0px;
    }
    .btn_auth, .btn_exit{
        border-bottom:1px solid red;
    }
    #btn li a span, .submenu li a{
        font-size:11px;
        letter-spacing:0px;
        margin: 6px;
    }
    .menu li {
        -webkit-margin-end: 0;
    }
}
@media screen and (max-width:900px){
    body{
        -webkit-text-size-adjust: none;
    }
    header{
        position:relative;
    }
    .logo{height: 50px;}
    .logo-text{
        font-size: 11px;
    }
    .logo-bott {
        font-size: 6px !important ;
    }
    .mobile_img img{display:block;}
    .menu a{color: #fff;}
    #btn li a span{
        font-size: 18px;
        margin-right:0;
    }
    #btn li ul li a{
        font-size: 16px;
        padding: 5px;
    }
    .tut a{
        background-color: #0E3756;
    }
    .navBurger { 
        position: fixed;  
        right: 30px;  
        top: 20px;  
        cursor: pointer;  
        background: #111;  
        box-sizing: border-box;  
        background-clip: content-box;  
        width: 30px;  height: 24px;  
        border-top: 11px solid transparent;  
        border-bottom: 11px solid transparent;  
        -webkit-transform: rotate(0deg);  
        transform: rotate(0deg);  
        -webkit-transition: all 0.25s ease-in-out;  
        transition: all 0.25s ease-in-out;  
        z-index: 99999;
    }
    .navBurger:before,
    .navBurger:after {
        content: "";
        position: absolute;
        background: #111;
        height: 2px;width: 100%;
        right: 0;
        will-change: rotate;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg); 
        -webkit-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }
    .navBurger:before { 
        top: -10px;
    }
    .navBurger:after { 
        bottom: -10px;
    }
    .navBurger.active {
        background: transparent; 
        background-clip: content-box;
    }
    .navBurger.active:before {
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        top: 0;
        background: #eee;
        width: 110%;
    }
    .navBurger.active:after {
        bottom: 0; 
        -webkit-transform: rotate(-135deg); 
        transform: rotate(-135deg);
        background: #eee; 
        width: 110%;
    }
    body.locked{
        position: fixed;
        top: 0px;
    }
    .overlay {
        position:fixed;
        background-color:#03253E; 
        top: 0; right: 0; width: 100%; 
        max-height: 100%;
        height: 1000px;
        display: none;
        -webkit-transform: scale(0); 
        -ms-transform: scale(0);
        transform: scale(0); 
        transition: all 0.5s ease-in-out; 
        overflow-y: auto;  z-index: 99999;
    }
    .open { 
        display: block;
        visibility: visible;
        -webkit-transform: scale(1); 
        -ms-transform: scale(1);
        transform: scale(1);
    }
    .overlay_img.visible{ 
        display:block;
        max-height: 69px;
        height: 100%; 
        opacity: 1; 
        -webkit-transform: scale(1); 
        -ms-transform: scale(1);
        transform: scale(1);
        margin-top: 30px;
    }
    #link_logout, #auth_block {
        display: block;z-index: 2;
    }
    
    .menu li ul {
        left: 0;
        opacity: 1;
        position: relative;
    }
    .overlayMenu {
        position: absolute;text-align: right;right: 4vw;top: 10vw;
    }
    .overlayMenu > ul { 
        list-style: none; 
        padding: 0;
        margin: 0 auto; 
        display: block;
        position: relative;
        height: 100%;  
    }    
    .overlayMenu > ul > li { 
        text-align: right; 
        position: relative; 
        width: 100%;
    }
    .overlayMenu > ul > li > a { 
        /*display: inline-block; */
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 40px; font-size: 18px;
        padding: 5px 20px 5px 20px;
        margin: 25px 0;
        transition: 0.2s;
    }    
    .overlayMenu > ul > li > a:hover,.overlayMenu > ul > li > a:active,    
    .overlayMenu > ul > li > a:focus {
        border-radius: 40px;
        outline: 1px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.03);    
    }
    .btn_reg, .btn_auth,.name_auth, .btn_exit{
        padding: 6px 9px;
        border: 2px solid rgb(41, 70, 91);
        color: #fff;
        margin: 0;
        font-size: 12px;
    }
    .overlayMenu > ul > li:last-child {
        margin-bottom: 40px;
    }
    .language { display: block; position: absolute; top: -40px;left: 20px;}
    .email_auth{display: none;}
}