.top_menu {
    display: table;
    margin-bottom: 54px;
    height: 70px;
    padding: 0;
    width: 100%
}

.top_menu>li {
    position: static;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    height: 100%
}

.top_menu .left_item {
    padding: 0 6px
}

.top_menu .delimiter {
    width: 100%
}

.top_menu>li>span {
    font-weight: 400;
    font-size: 12px;
    color: #232020;
    line-height: 18px;
    text-decoration: none;
    text-transform: uppercase
}

.top_menu a>img {
    margin: 0 4px
}

.top_menu .menu_logo {
    display: block;
    width: 160px
}

.top_menu .menu_logo>a {
    display: block;
    height: 100%;
    width: 100%
}

.top_menu .sub_menu {
    position: absolute;
    display: none;
    left: 0;
    top: 69px;
    height: 54px;
    width: 100%;
    background: dodgerblue;
    padding: 0;
    overflow: visible;
    z-index: 1
}

.top_menu .sub_menu .sub_menu_item {
    padding: 0 1.65%;
    display: inline-block;
    height: 100%;
    padding-top: 13px
}

.top_menu .sub_menu .sub_menu_item:first-child {
    padding-left: 1.8%
}

.top_menu .sub_menu .sub_menu_item:not(.tablet_menu):hover,
.top_menu .tablet_sub_list li:hover {
    background-color: dodgerblue;
}

.top_menu .sub_menu .sub_menu_item:hover a:after,
.top_menu .sub_menu .sub_menu_item:hover+.sub_menu_item a:after {
    display: none
}

/*header .logo {
    position: absolute;
    top: 0;
    left: 0;
    margin: 10px 0
}*/

.top_menu .mobile_icon {
    display: none
}

@media(min-width:768px) {
    .top_menu .mobile_icon {
        display: none !important
    }
    header .logout.mobile_item {
        display: none
    }
}

.top_menu .sub_menu .sub_menu_item a,
.top_menu .tablet_sub_list a {
    position: static;
    display: inline-block;
    font-weight: 400;
    font-size: 16.5px;
    color: #fff;
    text-decoration: none
}

.top_menu .link_support {
    position: absolute;
    display: table;
    top: 100%;
    left: 80%;
    height: 100%;
    /*height: 54px;*/
    width: 20%;
    color: #fff;
    padding: 0 5px;
    background: dodgerblue;
    text-align: right;
    z-index: 9
}

.top_menu .link_support .wrap {
    display: table-cell;
    vertical-align: middle;
    font-size: 118%
}

.top_menu .left_item>a:after {
    content: '';
    position: absolute;
    display: block;
    opacity: 0;
    width: 0;
    bottom: -8px;
    left: 50%;
    border-color: transparent;
    border-style: solid;
    border-width: 0 12px;
    border-bottom: 12px solid dodgerblue;
    z-index: 2;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0)
}

.top_menu .left_item>a {
    position: relative;
    display: block;
    height: 54px
}

.top_menu .left_item>a .text_wrap {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 52px;
    height: 54px;
    padding: 0 3px
}

.head-links {
    display: none;
    position: relative
}

.head-links>a {
    display: inline-block;
    padding: 0 15px;
    height: 100%
}

.head-links .head-link img {
    display: block;
    margin: auto;
    height: 36px;
    width: 36px
}

.head-links .head-link p {
    font-weight: 400;
    font-size: 15px;
    color: #3b4952;
    line-height: 22.5px;
    padding: 0;
    margin: 0
}

@media(min-width:768px) {
    .top_menu .left_item.active>a:after {
        opacity: 1
    }
    .top_menu .left_item.active .text_wrap {
        color: dodgerblue;
    }
    .top_menu .left_item.active>.sub_menu {
        display: block;
        text-align: left
    }
}

.mobile-menu,
.mobile-control {
    position: absolute;
    background: dodgerblue;
    width: 82px;
    border-radius: 3px;
    height: 78px;
    top: 0;
    left: 100%;
    padding: 25px !important;
    text-align: left
}

.mobile-control {
    line-height: 11px
}

.mobile-menu span {
    display: block;
    height: 4px;
    background-color: #fff
}

.mobile-control span {
    display: inline-block;
    height: 6px;
    width: 8.1px;
    background-color: #fff;
    vertical-align: top
}

.mobile-menu span:not(:first-child) {
    margin-top: 8px
}

.mobile-menu {
    left: calc(100% - -88px)
}

.guest .mobile-menu {
    left: 100%
}

#main_header .mobile_title {
    display: none
}

@media(max-width:767px) {
    header {
        padding: 15px 25px
    }
    #main_header.mobile-active {
        display: block
    }
    .top_menu {
        display: none
    }
    .top_menu .left_item>a {
        height: auto;
        text-align: left
    }
    .top_menu .left_item,
    .top_menu .right_item {
        display: none
    }
    #main_header.mobile-active .mobile_item {
        display: block;
        padding: 25px;
        font-size: 150%;
        text-align: left
    }
    #main_header.mobile-active .mobile_item:not(.logout) {
        border-bottom: 1px solid #d1dbdb
    }
    #main_header.mobile-active .guest .mobile_item.lang {
        border-bottom: 0
    }
    #main_header.mobile-active .mobile_item:last-child {
        border: 0
    }
    #main_header.mobile-active .mobile_item:last-child {
        border-bottom: 0
    }
    #main_header.mobile-active .mobile_item>a {
        font-size: 100%;
        height: auto;
        width: 100%;
        display: inline-block;
        text-align: left
    }
    #main_header.mobile-active .mobile_item>a>.text_wrap {
        display: inline-block;
        text-transform: none;
        font-size: 22px
    }
    #main_header.mobile-active .mobile_item>a>img {
        display: none
    }
    #main_header.mobile-active .mobile_item .mobile_icon {
        display: inline-block;
        margin-right: 35px
    }
    #main_header.mobile-active .mobile_item .mobile_icon.active {
        display: none
    }
    #main_header.mobile-active .mobile_item .link_support {
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        height: auto;
        color: #3b4952;
        background-color: transparent
    }
    #main_header.mobile-active .mobile_item .link_support {
        padding: 0
    }
    #main_header.mobile-active .mobile_item .link_support img {
        margin: 0
    }
    #main_header.mobile-active .mobile_item .link_support .wrap {
        display: inline-block;
        font-size: 100%
    }
    #main_header.mobile-active .mobile_item .link_support .wrap>img {
        display: none
    }
    #main_header.mobile-active .mobile_item .link_support .wrap>.mobile_icon {
        display: inline-block;
        margin-right: 35px
    }
    #main_header.mobile-active .mobile_item .link_support .wrap>.mobile_icon.active {
        display: none
    }
    #main_header.mobile-active .mobile_item.mobile_active {
        background-color: dodgerblue
    }
    #main_header.mobile-active .mobile_item.mobile_active>a>span {
        color: #fff
    }
    #main_header.mobile-active .mobile_item.mobile_active .sub_menu {
        display: block;
        top: 0;
        height: auto;
        width: calc(100% - 90px);
        right: 0;
        left: auto;
        padding-left: 35px;
        overflow: visible;
        min-height: 100%
    }
    #main_header.mobile-active .mobile_item.mobile_active .sub_menu .sub_menu_item {
        display: block;
        height: auto;
        padding: 15px;
        font-size: 138%;
        border-bottom: 1px solid dodgerblue
    }
    #main_header.mobile-active .mobile_item.mobile_active .sub_menu .sub_menu_item a:after {
        display: none
    }
    #main_header.mobile-active .mobile_item.mobile_active .sub_menu .sub_menu_item:hover {
        background: inherit
    }
    #main_header.mobile-active .top_menu {
        position: absolute;
        display: block;
        top: 110px;
        height: auto;
        background-color: #fff;
        z-index: 2;
        left: 0;
        margin: 0
    }
    #main_header.mobile-active header:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: .3;
        z-index: 1
    }
    #main_header.mobile-active .mobile_title {
        display: block
    }
    #main_header.mobile-active .mobile_item.mobile_active.lang>form {
        width: calc(100% - 90px);
        right: 0;
        top: 0;
        height: 100%;
        box-shadow: none;
        background-color: inherit;
        display: block;
        position: absolute
    }
    #main_header.mobile-active .mobile_item.mobile_active.lang .lang_drop_down {
        width: 100%;
        right: 0;
        top: 0;
        height: 100%;
        box-shadow: none;
        background-color: inherit
    }
    #main_header.mobile-active .mobile_item.lang .current_lang {
        width: calc(100% - 75px)
    }
    #main_header.mobile-active .mobile_item.mobile_active.lang .lang_drop_down li {
        display: block;
        height: auto;
        padding: 25px 0 25px 35px;
        font-size: 115%;
        color: #fff;
        border-bottom: 1px solid dodgerblue
    }
    #main_header.mobile-active .mobile_item.mobile_active.lang .lang_drop_down li.current {
        background-color: dodgerblue
    }
    #main_header.mobile-active .mobile_item.mobile_active.lang .lang_drop_down li span {
        padding: 0;
        border-bottom: 0;
        text-align: left
    }
    .head-links,
    header .logo {
        display: inline-block;
        position: relative
    }
    .head-links {
        width: calc(100% - 313px);
        text-align: right;
        height: 78px
    }
    .guest .head-links {
        width: calc(100% - 225px)
    }
    header .logo {
        vertical-align: top
    }
    .top_menu .sub_menu .sub_menu_item a {
        font-size: 85%
    }
}

@media(max-width:650px) {
    #main_header.mobile-active .top_menu {
        top: 131px
    }
}

@media(max-width:550px) {
    #main_header.mobile-active .top_menu {
        max-width: none;
        width: calc(100% - -20px);
        right: auto;
        left: -10px
    }
}

@media(max-width:767px) and (min-width:651px) {
    .head-links .head-link p {
        color: dodgerblue
    }
    .head-links .head-link img {
        margin: 0 auto 0;
        height: 58px;
        width: 58px
    }
}

@media(max-width:650px) {
    header {
        text-align: left
    }
    .head-links .head-link p {
        font-size: 10px
    }
    .head-link img {
        width: 36px !important;
        height: 36px !important
    }
    .head-links>a {
        padding: 0;
        letter-spacing: .5px
    }
    .head-links>.mobile-menu,
    .head-links>.mobile-control {
        width: 36px;
        height: 36px;
        position: absolute;
        left: auto;
        right: 0;
        padding: 11px 8px !important;
        line-height: 6px
    }
    .head-links>.mobile-control {
        right: 0
    }
    .head-links {
        width: 100% !important;
        text-align: left;
        padding: 0 80px 0 0;
        height: 36px
    }
    .mobile-menu span {
        height: 2px
    }
    .mobile-control {
        line-height: 0
    }
    .mobile-control span {
        height: 3px;
        width: 4px
    }
    .mobile-menu span:not(:first-child) {
        margin-top: 4px
    }
    header .logo {
        text-align: left
    }
    .head-links .head-link img {
        display: inline-block;
        height: 28px;
        vertical-align: middle
    }
    .head-links .head-link p {
        font-weight: 400;
        font-size: 15px;
        color: dodgerblue;
        line-height: 22.5px;
        display: inline-block;
        vertical-align: middle
    }
}

.top_menu .right_item {
    min-width: 30px
}

.top_menu .right_item>a {
    font-weight: 400;
    white-space: nowrap;
    vertical-align: middle;
    display: block;
    height: 20px;
    padding-right: 10px
}

.top_menu .right_item>a:hover {
    text-decoration: none
}

.top_menu .right_item .user_name>span {
    white-space: nowrap;
    max-width: 103px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle
}

.top_menu .right_item .user_name {
    display: inline-block;
    width: 147px;
    font-size: 11px !important;
    height: 35px;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none
}

.top_menu .right_item.active .user_name.button {
    background-color: dodgerblue
}

.top_menu .right_item .user_name.button:before {
    height: 35px
}

.top_menu .right_item .user_name .user_arrow {
    height: 10px;
    width: 15px
}

.top_menu .right_item.active .user_name .user_arrow:after {
    margin: 2px 0 0 2px;
    border-width: 2px 0 0 2px
}

.top_menu .right_item .user_name .user_arrow:after {
    content: '';
    margin-left: 0;
    display: block;
    width: 7px;
    height: 7px;
    border-style: solid;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    border-color: #fff;
    margin: 1px 0 0 2px;
    border-width: 0 2px 2px 0
}

.top_menu .right_item .user_name .icon {
    font-size: 20px;
    margin-left: -0.35em;
    vertical-align: middle
}

.top_menu .lang a:hover {
    color: inherit
}

.top_menu .current_lang {
    display: inline-block
}

.top_menu .lang_drop_down {
    position: absolute;
    display: none;
    z-index: 12;
    background-color: #fff;
    width: 150%;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    top: -10px;
    cursor: pointer
}

.top_menu .lang.active .lang_drop_down {
    display: block;
    list-style: none;
    padding: 0;
    width: 90px;
    top: -24px
}

.top_menu .lang_drop_down span {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 6px;
    border-bottom: 1px solid #d1dbdb
}

.top_menu .lang_drop_down span:hover {
    background-color: #ecefed
}

.top_menu .lang_drop_down div:hover {
    color: dodgerblue;
}

.top_menu .arrow-after-li {
    position: relative;
    display: inline-block !important;
    padding: 0;
    width: 6px !important;
    height: 6px;
    border-color: #000;
    border-style: solid;
    border-width: 1.5px 1.5px 0 0 !important;
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    padding: 0 !important;
    top: -1px
}

.top_menu .lang_drop_down .arrow-after-li {
    position: absolute;
    display: block !important;
    right: 15%;
    top: 40%
}

#main_header.mobile-active,
#main_header.sub_menu_active {
    z-index: 2
}

#main_header.mobile-active .mobile_item.mobile_active .sub_menu .sub_menu_item.tablet_menu,
.top_menu .sub_menu .sub_menu_item.tablet_menu {
    display: none
}

.top_menu .tablet_sub_list {
    position: absolute;
    display: none;
    z-index: 11;
    background: dodgerblue;
    top: 123px;
    list-style: none;
    padding: 0;
    min-width: 200px
}

.top_menu .tablet_menu img {
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -webkit-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center;
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: transform .3s
}

.top_menu .tablet_menu.active img {
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -webkit-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0)
}

.top_menu .tablet_sub_list li {
    padding: 15px 1.65%;
    border-top: 1px solid dodgerblue;
    min-height: 54px
}

.top_menu .tablet_sub_list.active {
    display: block !important
}

@media(max-width:767px) {
    .top_menu .arrow-after-li {
        position: absolute;
        top: 40%;
        width: 15px !important;
        height: 15px;
        right: 15px
    }
    .top_menu .lang_drop_down .arrow-after-li {
        display: none !important
    }
    .top_menu .right_item>a>span {
        overflow: visible
    }
}

@media(max-width:1199px) {
    .top_menu .right_item:not(.user)>a {
        font-size: 0;
        height: 12px
    }
    .top_menu .arrow-after-li {
        top: 2px
    }
}

.guest .top_menu .right_item .user_name>span {
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 11px;
    max-width: none;
    vertical-align: middle
}

.guest .top_menu .right_item .user_name.button:hover {
    background-color: dodgerblue;
}

.top_menu .user {
    position: relative;
    padding-left: 5px
}

.top_menu .user .user_menu {
    position: absolute;
    display: none;
    z-index: 15;
    top: 50px;
    background: #fff;
    width: 147px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    overflow: hidden
}

.top_menu .user.active .user_menu {
    display: block
}

.top_menu .user .user_menu_link {
    display: block;
    font-weight: 400;
    padding: 5px 0 5px 33px;
    text-align: left
}

.top_menu .user .user_menu_link:hover {
    background-color: #ecefed
}

.top_menu .user .user_menu_link:not(:first-child) {
    border-top: 1px solid #b7b5b5
}

.top_menu .user .user_menu_link_text {
    display: inline-block;
    width: 70%
}

.dropdown-menu {
    background: whitesmoke;
    position: absolute;
    top: 54px;
    left: 0;
    display: none;
    padding: 20px 0;
    margin: 0 auto;
    border-radius: 0;
    border: 0
}

.dropdown-menu ul {
    list-style: none;
    vertical-align: top;
    width: 300px;
    padding: 0 30px 0 60px
}

.dropdown-menu ul:not(:last-child) {
    border-right: 1px solid #fff
}

.dropdown-menu a {
    font-size: 14px !important;
    padding: 3px 0
}

.flex-menu {
    display: flex
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
    background-color: dodgerblue;
}

@media(max-width:1250px) {
    .dropdown-menu ul {
        width: calc(25vw - 5px);
        padding: 0 10px 0 20px
    }
}

@media(max-width:830px) and (min-width:768px) {
    header .logo {
        display: none
    }
    .top_menu .menu_logo {
        width: 0
    }
}

@media(max-width:768px) {
    .flex-menu {
        display: block
    }
    .dropdown-menu {
        position: static;
        -webkit-box-shadow: none;
        box-shadow: none;
        background: dodgerblue;
    }
    .top_menu .sub_menu a:hover,
    .top_menu .sub_menu a:focus {
        background-color: dodgerblue !important
    }
    .dropdown-menu ul:not(:last-child) {
        border-right: 0
    }
    .dropdown-menu ul {
        width: auto;
        padding: 0 0 0 20px
    }
    #main_header.mobile-active .mobile_item.mobile_active .sub_menu .sub_menu_item:hover,
    #main_header.mobile-active .mobile_item.mobile_active .sub_menu .sub_menu_item:focus {
        border-bottom: 0
    }
    .open>.dropdown-menu {
        display: contents
    }
    .dropdown-menu a {
        margin: 5px 0
    }
}

.pay_serv {
    display: inline-block;
    width: 80px;
    margin: 20px;
    vertical-align: top;
    color: dodgerblue;
}

.pay_serv>* {
    display: block;
    text-align: center
}

.pay_serv>span {
    width: 120px;
    left: -20px
}

#pay_page form {
    display: inline-block
}
