@media (max-width:767px) {
    .pc-logo {
        display: none;
    }
}
.mobile-logo {
    display: none;
}
@media (max-width: 767px) {
    .mobile-logo {
        display: block;
    }
}
#top-menu {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #EFF2F5;
}
#top-menu.white-links {
    border-bottom: none;
}
#top-menu .container {
    display: flex;
    justify-content: space-between;
    height: 74px;
    align-items: center;
    overflow: visible;
}
#top-menu.blue-bg {
    background: #1971C2 !important;
}
#top-menu.gradient-black-bg {
    background: linear-gradient(180deg, #000 40%, rgba(0, 0, 0, 0.00) 100%)!important;
}
#top-menu .logo {
    line-height: 0;
    margin-right: 70px;
}
#top-menu .white-logo {
    display: none;
}
#top-menu.black .standart-logo{
    display:none;
}
 #top-menu .black-logo {
    display: none;
}
#top-menu.black .black-logo {
    display: block;
}
#top-menu.white-links .white-logo {
    display: block;
}

#top-menu.white-links .standart-logo {
    display: none;
}
#top-menu.white-links .menu-btn {
    background: url('../../img/main/menu-white-btn.svg') no-repeat center center;
}
#top-menu .logo img {
    height: 32px;
}
#top-menu li a {
    text-decoration: none;
}
#top-menu li a.active {
    color: #1971C2;
}
#top-menu ul {
    margin: 0;
    padding: 0;
}
#top-menu li {
    list-style: none;
}
#top-menu .level-1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
#top-menu .level-1 > li {
    margin-right: 35px;
    padding-top: 0;
    position: relative;
}
#top-menu .level-1 > li.has-child {
    padding-bottom: 24px;
    padding-top: 24px;
}
#top-menu .level-1 > li:hover {
    cursor: pointer;
}
#top-menu .level-1 > li:before {
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: #1971C2;
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    -webkit-transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    z-index: 101;
}
#top-menu .level-1 > li:hover::before {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    -webkit-transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
}
#top-menu .level-1 > li.div {
    height: 28px;
    padding: 0;
    width: 100%;
    cursor: default;
}
#top-menu .level-1 > li.div:before {
    display: none;
}
#top-menu .level-1 > li.start:before {
    display: none;
}
#top-menu .has-child {
    position: relative;
    padding-right: 19px;
}
#top-menu .has-child .level-2 {
    /* display: none; */
    position: absolute;
    top: 75px;
    left: -50px;
    padding: 50px;
    width: 320px;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 10px rgba(26, 70, 112, 0.15);
}
#top-menu .has-child div.level-2 {
    gap: 51px;
    width: 590px;
    padding: 40px;

}
@media (max-width: 991px) {
    #top-menu .has-child div.level-2 {
        padding: 0 !important;
        gap: 0 !important;
        width: 100% !important;
    }
}
    @media (max-width: 991px) {
        #top-menu .has-child div.level-2 ul li .title.title_learn{
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 125% */
        text-transform: uppercase;
        margin-top: 30px;
        display: block;
        margin-bottom: 30px;
    }
}

    @media (max-width: 991px) {
        #top-menu .has-child div.level-2 ul li .title.title_learn_2{
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 125% */
        text-transform: uppercase;
        margin-top: 20px;
        display: block;
        border-top: 1px solid #EEEEEE;
        padding-top: 30px;
        margin-bottom: 30px;
    }
}
#top-menu .has-child div.level-2 ul{
    width: 50%;

}
@media (max-width: 991px) {
    #top-menu .has-child div.level-2 ul {
        width: 100% !important;
    }
}
#top-menu .has-child div.level-2 ul li .title{
    color: #1A1E25;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}
#top-menu .has-child:hover div.level-2 {
    display: flex;
}
@media (max-width: 991px) {
    #top-menu .has-child:hover div.level-2 {
        flex-direction: column;
        /*padding: 15px 0 10px 0px;*/
        padding: 0 !important;
        max-width: 100% !important;
        gap: 0 !important;
    }
}
#top-menu .has-child .level-2.grow-group-three {
    left: -350px;
}
#top-menu .has-child .level-2 a,
#top-menu .has-child .level-2 a span {
    display: block;
}
#top-menu .has-child .level-2 a:hover {
    color: #1971C2;
}
#top-menu .has-child .level-2 a .title {
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
}
#top-menu .has-child .level-2 a .info {
    font-size: 13px;
    line-height: 20px;
    color: #4B5159;
    margin-top: 10px;
}
#top-menu .has-child .level-2 li:not(:last-child) {
    margin-bottom: 40px;
}
#top-menu .show-me summary:after {
    top: 34px;
}
#top-menu .level-1 .log-in {
    display: flex;
}
@media (max-width: 991px) {
    #top-menu .level-1 .log-in {
        width: 100%;
    }
}
#top-menu .level-1 .log-in:before {
    display: none;
}
#top-menu .level-1 .log-in a.account {
    background: url('../../img/main/man2.svg') no-repeat 25px center;
    padding: 10px 25px 10px 55px;
    border-radius: 5px;
    border: 1px solid #1A1E25;
    text-align: center;
    flex-shrink: 0;
    font-size: 18px;
}
@media (max-width: 991px) {
    #top-menu .level-1 .log-in a.account {
        border: none;
        margin-left: -25px;
    }
}
#top-menu .level-1 .log-in a.account:hover {
    opacity: 0.7;
}
#top-menu .level-1 .log-in .man {
    position:relative;
    top: 3px;
    width: 18px;
    margin-right: 10px;
    image-rendering: -webkit-optimize-contrast;  /* its ok */
}
#top-menu .menu-btn {
    display: none;
    image-rendering: -webkit-optimize-contrast; /* its ok */
}
#top-menu .level-1 .start {
    margin: 0;
}
/* remove an arrow from summary */
#top-menu details summary::-webkit-details-marker {display: none;}
#top-menu details > summary:first-of-type {list-style-type: none;}

#top-menu .start a {
    background: #FFB200;
    border-radius: 5px;
    color: #fff;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 40px;
    text-transform: uppercase;
    padding: 5px;
    width: 190px;
    display: block;
    text-align: center;
}
#top-menu .start a.active {
    color: #fff;
}
#top-menu .start a:hover {
    text-decoration: none;
    color: #fff;
    background-color: #e6a100;
}
#top-menu .start a.contact-us-top-menu-btn {
    color: #fff;
    background: #2FA751;
    border-radius: 5px;
    padding: 2px 15px;
    min-width: 290px;
    font-weight: bold;
    font-size: 18px;
    line-height: 32px;
}
#top-menu .flex {
    display: flex;
    align-items: center;
}
#top-menu .call-us-mobile {
    text-decoration-line: unset;
    display: none;
    align-items: center;
    justify-content: space-between;
    position: relative;
    left: -25px;
    min-width: 87px;
    max-width: 92px;
    border-radius: 5px;
    width: 100%;
    height: 26px;
    background: #2FA751;
    color: #fff;
    padding: 4px 10px;
    font-size: 14px;
    line-height: 19px;
}
#top-menu .call-us-mobile.hidden {
    display: none !important;
}
#top-menu .call-us-mobile img {
    max-width: 20px;
}
#top-menu .start span {
    display: block;
    font-weight: normal;
    font-size: 13px;
    line-height: 19px;
    text-align: center;
    margin-bottom: -2px;
    margin-top: 1px;
}
#top-menu .start img {
    position: relative;
    top: 4px;
}
#top-menu .start a.popup {
    color: #fff;
    background: #2FA751;
    border-radius: 5px;
    padding: 2px 15px;
    min-width: 290px;
    font-weight: bold;
    font-size: 18px;
    line-height: 32px;
}
#top-menu .start a.popup span {
    font-size: 11px;
    position: relative;
    top: 3px;
}
#top-menu .log-in .close {
    display: none;
}
#top-menu .show-me.open summary:after {
    transform: rotateX(180deg);
}
.show-me {
    position: relative;
}
.show-me summary:after {
    content: '';
    background: url('../../img/main/arr-down.svg') no-repeat center;
    background-size: contain;
    right: 0;
    top: 11px;
    width: 13px;
    height: 7px;
    position: absolute;
    transition: all 0.4s;
    cursor: pointer;
}
.show-me.opened summary:after {
    transform: rotateX(180deg);
}

@media (max-width: 1140px) {
    #top-menu .level-1 > li {
        margin-right: 25px;
    }
}
@media (max-width: 992px) {
    #top-menu .level-1 > li {
        margin-right: 0;
    }
}
@media (min-width: 992px) {
    #top-menu .level-1:hover .level-2.start-group {
        width: 640px;
        padding: 0;
        display: flex !important;
    }
    #top-menu .level-1:hover .level-2.start-group-three {
        width: 920px
    }

    #top-menu .level-2.start-group li {
        width: 50%;
        padding: 50px;
        margin: 0 !important;
    }
    #top-menu .level-2.start-group li:last-child {
        background: #F5F7F9;
    }
    #top-menu .level-2.start-group .info {
        margin-bottom: 20px;
    }
    #top-menu .level-2.start-group .list-item {
        margin-bottom: 8px;
        padding-left: 37px;
        font-size: 13px;
        line-height: 19px;
        color: #4B5159;
        position: relative;
    }
    #top-menu .level-2.start-group .list-item:before {
        position: absolute;
        left: 0;
        top: 0;
        content: '';
        background: #E1FCD8 url(../../img/main/check-green.svg) no-repeat center;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        background-size: 14px;
    }
    #top-menu .level-2 .link {
        font-size: 15px;
        line-height: 24px;
        padding-right: 18px;
        font-weight: bold;
        background: url(../../img/main/arrow.svg) no-repeat right center;
        display: inline-block !important;
        background-size: 7px;
        text-decoration: underline;
        margin-top: 12px;
    }
    /*#top-menu .level-1:hover .level-2.grow-group {*/
    #top-menu .level-1 .level-2.grow-group {
        width: 913px;
        padding: 0;
        display: flex !important;
    }
    #top-menu .level-2.grow-group .left {
        padding: 50px 50px 10px;
    }
    #top-menu .level-2.grow-group .center-block {
        padding: 50px 0px 10px 0;
    }
    #top-menu .level-2.grow-group .left a,
    #top-menu .level-2.grow-group .center-block a {
        width: 220px;
        margin-bottom: 40px;
    }
    #top-menu .level-2.grow-group .right {
        background: #F5F7F9;
        padding: 50px;
        width: 320px;
        flex-shrink: 0;
    }
    #top-menu .level-2.grow-group .right img {
        line-height: 0;
    }
    #top-menu .level-2.grow-group .right .info {
        margin-bottom: 40px;
    }
    #top-menu .level-2.grow-group .link {
        margin-top: 30px;
    }
    #top-menu .level-1 {
        display: flex !important;
    }
    #top-menu .has-child:hover .level-2 {
        display: block;
    }
    #top-menu.white-links li,
    #top-menu.white-links details summary,
    #top-menu.white-links .log-in a.account[rel=nofollow] {
        color: #ffffff;
    }
    #top-menu.white-links .show-me summary:after {
        background: url(../../img/main/white-arr-down.svg) no-repeat center;
    }
    #top-menu.white-links .level-1 .log-in a.account {
        background: url(../../img/main/white-man2.svg) no-repeat 25px center;
        border-color: #fff;
    }
}
@media (min-width: 992px) and (max-width: 1280px) {
    #top-menu .level-1:hover .level-2.start-group-three {
        width: 920px;
        left: -190px;
    }
    #top-menu .level-1 .level-2.grow-group {
        left: -370px;
    }
    #top-menu .level-2.grow-group .left {
        padding: 25px 25px 10px;
    }
    #top-menu .level-2.grow-group .center-block {
        padding: 25px 25px 10px 0;
    }
    #top-menu .level-2.grow-group .right {
        padding: 25px;
        width: 240px;
    }
    #top-menu .has-child .level-2 a .info {
        margin-bottom: 20px;
    }
    #top-menu .level-2.grow-group .link {
        margin-top: 10px;
    }
}
@media (max-width: 991px) {
    #top-menu .call-us-mobile {
        display: flex;
    }
    #top-menu details[open] .level-2 {
        display: block;
    }
    #top-menu .level-1 .log-in .man {
        top: 17px;
    }
    #top-menu .level-1 > li:before {
        display: none;
    }
    #top-menu .level-1 > li.div {
        display: none;
    }
    #top-menu .show-me summary:after {
        width: 20px;
        height: 20px;
        top: 20px;
    }
    #top-menu .has-child.open .level-2 {
        display: flex;
        flex-direction: column;
    }
    #top-menu .show-me.open summary:after {
        transform: rotateX(180deg);
    }
    #top-menu .level-1 {
        flex-direction: column;
        background: #fff;
        width: 100%;
        max-width: 500px;
        overflow-y: auto;
        box-shadow: 0px 2px 10px rgba(26, 70, 112, 0.15);
        padding: 0 20px;
        align-items: flex-start;
        position: fixed;
        top: 0;
        height: 100%;
        max-height: 100%;
        right: -100%;
        transition: right 0.4s;
    }
    #top-menu.open .level-1 {
        right: 0;
    }
    #top-menu .menu-btn {
        width: 25px;
        height: 20px;
        display: block;
        background: url('../../img/main/menu-btn.svg') no-repeat center center;
    }
    #top-menu .level-1 > li:not(.log-in) {
        margin-right: 0;
        padding: 0;
        /*border-bottom: 1px solid #dadada;*/
        width: 100%;
    }
    #top-menu .level-1 > li.has-child {
        padding: 0;
    }
    #top-menu .level-2.start-group .list-item,
    #top-menu .level-2 .link,
    #top-menu .level-2.grow-group .right img {
        display: none !important;
    }
    #top-menu .level-1 > li details {
        margin: 15px 0;
    }
    #top-menu .level-1 > li:last-child {
        border: none;
    }
    #top-menu a {
        padding: 15px 0;
        display: block;
    }
    #top-menu .has-child .level-2 {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 15px 0 10px 15px;
    }
    #top-menu .has-child .level-2 li:not(:last-child) {
        margin-bottom: 0;
    }
    #top-menu .has-child .level-2 a {
        padding: 10px 0;
    }
    #top-menu li a:hover,
    #top-menu li a:focus {
        color: inherit;
        text-decoration: none;
        background: none;
    }
    #top-menu .start a {
        width: 100%;
        margin: 15px auto 40px auto;
    }
    #top-menu .level-1 .log-in {
        order: -1;
        position: relative;
    }
    #top-menu .log-in .close {
        background: url('../../img/main/close.svg') no-repeat center center;
        image-rendering: -webkit-optimize-contrast; /* its ok */
        position: absolute;
        right: 0;
        top: 18px;
        width: 20px;
        height: 20px;
        display: flex;
    }
}
@media (max-width: 767px) {
    #top-menu .logo img {
        height: 25px;
        width: 113px;
        image-rendering: -webkit-optimize-contrast; /* its ok */
    }
    #top-menu .container {
        height: 60px;
    }
    #top-menu .start a {
        line-height: 50px;
    }
}
