header {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.hed_bg {
    background-image: url('../img/main-header-bg.webp');
    background-position: center;
}

.menu_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}

.menu_info {
    display: flex;
    align-items: center;
}

#icon-logo {
    width: 161px;
    height: 17px;
    fill: #fff;
}

.logo a i {
    display: block;
    background-image: url('../img/sprite-icons.webp');
    width: 154px;
    height: 38px;
    background-position: -534px -264px;
}

.login a {
    font-size: 14px;
    color: #ffcf86;
    font-weight: 700;
    border-bottom: 1px solid #ffcf86;
    position: relative;
    margin: 0 40px;
}

.login a:hover {
    border-bottom: 1px solid transparent;
}

.login a:before {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translate(-50%, -50%);
    content: "";
    vertical-align: middle;
    display: inline-block;
    height: 50px;
    width: 17px;
    background-image: url('../img/head-control-divider.png');
}

.login a:after {
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 17px;
    height: 50px;
    content: "";
    background-image: url('../img/head-control-divider.png');
}

.registration {
    color: #fff;
    height: 27px;
    position: relative;
    width: 105px;
    height: 27px;
    background-image: url('../img/sprite-btn-flat-warning-bg.webp');
    background-position: 0px -256px;
    line-height: 27px;
    margin: 0 10px;
}

.registration:before {
    position: absolute;
    top: 0;
    left: -10px;
    content: '';
    background-image: url('../img/sprite-btn-flat-warning-bg.webp');
    width: 20px;
    height: 27px;
    background-position: 0px -64px;
}

.registration:after {
    position: absolute;
    top: 0;
    right: -10px;
    content: '';
    background-image: url('../img/sprite-btn-flat-warning-bg.webp');
    width: 20px;
    height: 27px;
    background-position: 0px -160px;
}

.registration a {
    position: absolute;
    top: 0;
    left: 0px;
    font-size: 14px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    z-index: 5;
}

.registration:hover {
    background-position: 0px -192px;
}

.registration:hover:before {
    background-position: 0px 0px;
}

.registration:hover:after {
    background-position: 0px -96px;
}

.social_icons {
    display: flex;
    align-items: center;
}

.social_icons span {
    font-size: 14px;
    color: #ffcf86;
    font-weight: 400;
    margin: 0 10px 0 40px;
    position: relative;
}

.social_icons span:before {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 17px;
    height: 50px;
    content: "";
    background-image: url('../img/head-control-divider.png');
}

.social_icons ul {
    display: flex;
}

.social_icons_img {
    background-image: url('../img/sprite-social-networks.png');
    width: 30px;
    height: 34px;
    display: block;
    margin-left: 5px;
}

.social_icons ul li:nth-child(1) .social_icons_img {
    background-position: -140px -117px;
}

.social_icons ul li:nth-child(2) .social_icons_img {
    background-position: -35px -78px;
}

.social_icons ul li:nth-child(3) .social_icons_img {
    background-position: -70px -39px;
}

.social_icons ul li:nth-child(4) .social_icons_img {
    background-position: -105px -78px;
}


.social_icons ul li:nth-child(1) .social_icons_img:hover {
    background-position: -105px -117px;
}

.social_icons ul li:nth-child(2) .social_icons_img:hover {
    background-position: 0px -78px;
}

.social_icons ul li:nth-child(3) .social_icons_img:hover {
    background-position: -35px -39px;
}

.social_icons ul li:nth-child(4) .social_icons_img:hover {
    background-position: -35px 0px;
}

.languages span {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    cursor: pointer;
    margin-right: 100px;
    width: 96px;
    height: 44px;
    background-image: url('../img/lang.png');
}

.languages span:before {
    position: absolute;
    top: 50%;

    left: -8px;
    transform: translate(-50%, -50%);
    content: "";
    vertical-align: middle;
    display: inline-block;
    height: 50px;
    width: 17px;
    background-image: url(../img/head-control-divider.png);
}

.languages span:after {
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translate(-50%, -50%);
    content: "";
    vertical-align: middle;
    display: inline-block;
    height: 50px;
    width: 17px;
    background-image: url(../img/head-control-divider.png);
}

.languages_list_none {
    display: none;
}

.languages span b {
    color: #c5ac95;
    text-shadow: 1px 1px rgba(255, 255, 255, 0.2);
    font-size: 14px;
    text-transform: uppercase;
}

.languages span svg {
    border-radius: 50%;
    width: 28px;
    height: 28px;
}

.languages span:hover {
    color: rgb(0, 131, 195);
}

.menu_bottom {
    border-top: 1px solid #746252;
    border-bottom: 1px solid #746252;
    background-image: url('../img/main-second-header-bg.webp');
}

.menu_bottom ul {
    display: flex;
    justify-content: center;
}

.menu_bottom ul li a {
    color: #ffcf86;
    font-size: 15px;
    padding: 5px 20px 5px 20px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.menu_bottom ul li svg {
    fill: #ffcf86;
    margin-right: 3px;
}

/*
.menu_bottom ul li a:before{
    content: "";
    position: absolute;
    right: 10px;
    top: 100%;
    left: 10px;
    border-radius: 100px/10px;
    height: 10px;
}*/
.menu_bottom ul li:nth-child(1) a:hover:before {
    box-shadow: 0 -4px 15px rgba(76, 165, 101, 0.5);
}

.menu_bottom ul li:nth-child(2) a:hover:before {
    box-shadow: 0 -4px 15px rgba(46, 127, 191, 0.5);
}

.menu_bottom ul li:nth-child(3) a:hover:before {
    box-shadow: 0 -4px 15px rgba(211, 42, 0, 0.5);
}

.menu_bottom ul li:nth-child(1) a:hover {
    color: #4ca565;
}

.menu_bottom ul li:nth-child(2) a:hover {
    color: #2e7fbf;
}

.menu_bottom ul li:nth-child(3) a:hover {
    color: #d32a00;
}

.menu_bottom ul li:nth-child(1) a:hover svg {
    fill: #4ca565;
}

.menu_bottom ul li:nth-child(2) a:hover svg {
    fill: #2e7fbf;
}

.menu_bottom ul li:nth-child(3) a:hover svg {
    fill: #d32a00;
}

.menu_img i {
    display: block;
    margin-left: -54px;
    width: 380px;
    min-height: 100px;
    background: url('../img/sidemenu-decor-bg.webp') 0 0 no-repeat,
    url('../img/sidemenu-horizontal-decor-bg.png') 100% 0 repeat-x;
}

.menu_login_registration {
    display: flex;
}

.menu_login_registration .login a:before, .menu_login_registration .login a:after {
    display: none;
}

.menu_download a {
    font-size: 14px !important;
    color: #fff !important;
    height: 27px;
    position: relative;
    width: 160px;
    height: 27px;
    background-image: url('../img/sprite-btn-flat-warning-bg.webp');
    background-position: 0px -256px;
    line-height: 27px;
    margin: 0 60px;
}

.menu_download a:before {
    position: absolute;
    top: 0;
    left: -10px;
    content: '';
    background-image: url('../img/sprite-btn-flat-warning-bg.webp');
    width: 20px;
    height: 27px;
    background-position: 0px -64px;
}

.menu_download a:after {
    position: absolute;
    top: 0;
    right: -10px;
    content: '';
    background-image: url('../img/sprite-btn-flat-warning-bg.webp');
    width: 20px;
    height: 27px;
    background-position: 0px -160px;
}

.menu_download a:hover {
    border-bottom: none !important;
}

.popup_button {
    position: fixed;
    right: -82px;
    top: 50%;
    z-index: 999997;
    background: rgb(240, 127, 31);
    background: -moz-linear-gradient(left, rgba(240, 127, 31, 1) 0%, rgba(246, 105, 0, 1) 80%, rgba(194, 74, 3, 1) 100%);
    background: -webkit-linear-gradient(left, rgba(240, 127, 31, 1) 0%, rgba(246, 105, 0, 1) 80%, rgba(194, 74, 3, 1) 100%);
    background: linear-gradient(to right, rgba(240, 127, 31, 1) 0%, rgba(246, 105, 0, 1) 80%, rgba(194, 74, 3, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f07f1f', endColorstr='#c24a03', GradientType=0);
    width: 210px;
    height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px 0px 7px 7px;
    transform: rotate(90deg);
    cursor: pointer;
}

.popup_button:hover {
    background: rgba(246, 105, 0, 1) !important;
    background: -moz-linear-gradient(left, rgba(246, 105, 0, 1) 0%, rgba(222, 79, 0, 1) 80%, rgba(194, 48, 3, 1) 100%) !important;
    background: -webkit-linear-gradient(left, rgba(246, 105, 0, 1) 0%, rgba(222, 79, 0, 1) 80%, rgba(194, 48, 3, 1) 100%) !important;
    background: linear-gradient(to right, rgba(246, 105, 0, 1) 0%, rgba(222, 79, 0, 1) 80%, rgba(194, 48, 3, 1) 100%) !important;

}

.popup_button a {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Lucida';
}

@media only screen and (max-width: 992px) {
    .social_icons {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .languages {
        display: none;
    }
}

@media only screen and (max-width: 567px) {
    .menu_bottom ul {
        display: none;
    }

    .menu_top {
        padding: 15px;
    }

    .popup_button {
        display: none;
    }
}


@media only screen and (max-width: 420px) {

    .registration {
        margin-left: 20px;
    }

    .menu_info .login {
        display: none;
    }
}

/********** start header************************/
header {
    background: #202021;
}

.header-logo {
    width: 170px;
    height: 42px;
}

.sidenav > ul > li .sidenav__active {
    color: #DA0606;
    position: relative;
}

.sidenav {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.sidenav > ul {
    width: 100%;
}

.sidenav > ul > li {
    position: relative;
}

.sidenav > ul > li > a {
    font-size: 18px;
    color: #ffcf86;
    font-weight: 500;
    text-shadow: 1px 1px rgba(255, 255, 255, 0.2);
    border-bottom: solid 2px transparent;
}

.sidenav > ul > li > a svg {
    fill: #ffcf86;
}

.sidenav > ul > li > a:hover {
    border-bottom: solid 2px #ffcf86;
}

.open-menu {
    display: none;
    width: 30px;
    height: 23px;
    position: relative;
}

.open-menu span {
    position: absolute;
    height: 3px;
    background: #D5AF8F;
    width: 100%;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    top: 0;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.close-menu {
    display: none;
    width: 35px;
    height: 35px;
    position: absolute;
    top: 35px;
    right: 25px;
}

.close-menu span {
    background: #fff;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.close-menu span:first-child, .close-menu span:last-child {
    display: none;
}

.close-menu span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.close-menu span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.anim-menu {
    -webkit-transform: translateX(0%) !important;
    -ms-transform: translateX(0%) !important;
    transform: translateX(0%) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.body_fix .for-mobile-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(32, 32, 33, 0.8);
    z-index: 9;
    left: 0;
}

.body_fix {
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

.body_fix .open-menu.close-menu {
    position: fixed;
    top: 15px;
}

.header-menu {
    max-width: 970px;
    width: 100%;
}

.d_flex {
    display: flex;
}

/**************************MEDIAAAAAAA ***********************************/
@media only screen and (max-width: 66000px) {
    /* ================= -Header-media-start- =================*/
    .sidenav ul li {
        z-index: 9999;
    }

    .open-menu span:nth-child(2), .open-menu span:nth-child(3) {
        top: 6.5px;
    }

    .open-menu span:last-child {
        top: 13px;
    }

    .open-menu {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        position: absolute;
        right: 15px;
        z-index: 99999;
        top: 20px;
        cursor: pointer;
    }

    .menu-cnt {
        margin: 0;
        height: 100%;
        width: 0;
        position: fixed;
        top: 0;
        right: 0;
        overflow-x: hidden;
        padding: 30px 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: end;
        -webkit-align-items: flex-end;
        -ms-flex-align: end;
        align-items: flex-end;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        background-color: #202021;
        z-index: 9999;
        background: url('../img/sidemenu-vertical-decor-bg.png') 0 100% repeat-y,
        url('../img/sidemenu-bg.png') 0 0 repeat #363332;
    }


    .menu-cnt ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: end;
        -webkit-align-items: flex-end;
        -ms-flex-align: end;
        align-items: flex-end;
    }

    .sidenav ul {
        margin-top: 0;
    }

    .sidenav {
        padding: 20px 0px 20px 50px;
    }

    .sidenav ul li {
        margin: 6px 5px !important;
    }

    .sidenav > ul > li {
        -webkit-transform: translateX(20%);
        -ms-transform: translateX(20%);
        transform: translateX(20%);
        -webkit-transition: 0.2s;
        -o-transition: 0.2s;
        transition: 0.2s;
        opacity: 0;
        height: auto;
    }

    .sidenav {
        max-width: 100%;
    }

    .sidenav > ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .sidenav > ul > li {
        text-align: center;
        margin: 20px 5px 0px 5px !important;
    }

    .menu-width {
        width: 0% !important;
        transition: all 0.5s ease 0s !important;
    }

    .transition-menu {
        width: 380px !important;
        transition: all 0.5s ease 0s !important;
    }
}