/*HEADER*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    height: 62px;
    width: 100%;
    z-index: 99;
    background: #1766FF;
    color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF29;
    box-sizing: border-box;
}

.header img {
    margin: 0;
}

.header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header.active,
.header.bg-white,
.header__white .header {
    color: #141F34;
    background: #FFFFFF;
    border-color: #E7E9EB;
}

.header__white.header__bg-gray .header:not(.bg-white) {
    background: #ecf2ff;
}

.header__placeholder {
    height: 60px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__top {
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #1766FF;
    box-sizing: border-box;
    transition-delay: .3s;
    transition-duration: .4s;
}

.header a {
    text-decoration: none;
}

.btn--icon:hover {
    background: rgba(255, 255, 255, .1);
}

.btn--icon path {
    fill: #FFFFFF;
}

.header .hover-icon {
    position: relative;
    cursor: pointer;
}

.header .hover-text {
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    background-color: #333;
    font-size: 12px;
    color: #fff;
    border-radius: 5px;
    white-space: nowrap;
    transition: .3s;
}

.header .hover-icon:hover .hover-text {
    opacity: .8;
    transition-delay: .5s;
}

.header .btn {
    min-height: 40px;
    height: 40px;
    font-size: 14px;
}

header .btn.btn--photo {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(1, 28px 1fr);
    align-items: center;
    font-size: 13px;
    padding: 6px 16px 6px 10px;
    min-height: auto;
    margin: 0;
    border: 1px solid #fff;
}

.header .btn--photo-img {
    display: block;
    width: 24px;
    height: 24px;
}

.header.active .btn--photo-img:first-of-type,
.header.bg-white .btn--photo-img:first-of-type,
.header__white .header .btn--photo-img:first-of-type,
body:not(.header__white) .header:not(.active):not(.bg-white) .btn--photo-img:last-of-type {
    display: none;
}

body:not(.header__white) .header:not(.active):not(.bg-white) .header__logo path {
    fill: #FFFFFF !important;
}

.header__menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: calc(100vh - 62px);
    background: #FFFFFF;
    padding: 10px 15px;
    margin: 62px 0 0;
    transform: translateY(-200%);
    transition: transform .8s ease;
    overflow-y: scroll;
    overflow-x: hidden;
    box-sizing: border-box;
    z-index: -1;
}

.header.active .header__menu {
    transform: translateY(0);
}

.header__item {
    position: relative;
    background: #EDF3FF;
    margin-bottom: 4px;
    border-radius: 6px;
}

.header__title {
    display: block;
    color: #141F34;
    padding: 13px 15px;
    cursor: pointer;
}

.header__title-arrow {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 15px;
    right: 15px;
    transition: .3s;
}

.header__item.show .header__title-arrow {
    transform: rotate(180deg);
}

.header__sub-menu {
    display: grid;
    grid-template-rows: 0fr;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
    padding: 0 15px;
}

.header__item.show .header__sub-menu {
    grid-template-rows: 1fr;
    padding: 7px 15px 13px;
}

.header__nav-wrap {
    overflow: hidden;
}

.header__nav:not(:last-of-type) {
    margin-bottom: 20px;
}

.header__nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.header__nav-arrow {
    display: none;
}

.header__nav-title {
    font-size: 16px;
    font-weight: 500;
    color: #141F34;
}

.header__nav-desc {
    display: none;
}

.header__nav-icon {
    width: 30px;
    height: 30px;
    margin: 0;
    box-sizing: border-box;
}

.header__nav-list {
    display: none;
}

.header__sub-list:not(.mob) {
    display: none;
}

.header__sub-list li:not(:last-of-type) {
    margin-bottom: 4px;
}

.header__sub-list.icons li:not(:last-of-type) {
    margin-bottom: 8px;
}

.header__banner {
    display: none;
}

.header__column {
    display: none;
}

@media (max-width: 1023px) {
    .header .header__sub-list {
        margin-left: 42px !important;
    }

    .header__sub-list.icons li {
        display: none;
    }

    .header__sub-list.icons li:nth-child(-n+4),
    .header__sub-list.icons li:last-of-type {
        display: list-item;
    }

    .header .btn.btn--photo {
        font-size: 14px;
    }

    .header .btn--photo-img {
        width: 28px;
        height: 28px;
    }
}

.header__sub-title {
    display: block;
    font-size: 14px;
    color: #434C5D;
    padding: 5px 0;
    transition: .3s;
}

.header__sub-desc {
     display: none;
}

.header__sub-icon {
    width: 16px;
    height: 16px;
}

.header__sub-link {
    display: block;
    width: fit-content;
}

.icons .header__sub-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__sub-link-all a {
    position: relative;
    display: block;
    width: fit-content;
    font-size: 13px;
    font-weight: 500;
    color: #1766FF;
    line-height: 1;
    padding: 10px 0;
}

.header__sub-link-all a:after {
    position: relative;
    content: "";
    width: 13px;
    height: 13px;
    bottom: -1px;
    display: inline-block;
    margin-left: 10px;
    background-image: url('data:image/svg+xml,<svg width="13" height="14" viewBox="0 0 13 14" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="mask0_843_2652" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="13" height="14"><rect y="0.5" width="13" height="13" fill="%23D9D9D9"/></mask><g mask="url(%23mask0_843_2652)"><path d="M2.92533 11.3333L2.16699 10.5749L8.45033 4.29159H4.87533V3.20825H10.292V8.62492H9.20866V5.04992L2.92533 11.3333Z" fill="%231766FF"/></g></svg>');
    background-size: 13px;
    background-repeat: no-repeat;
    transition: transform 175ms ease;
}

.header__sub-link-all a:hover:after {
    transform: translate3d(5px, -5px, 5px);
}

.header__actions {
    position: absolute;
    top: 12px;
    right: 0;
    margin-right: 50px;
}

.header__actions .log-in,
.header__actions .get-started {
    display: none;
}

.header .header__actions .btn.get-demo {
    border: none;
}

.header.active .get-demo,
.header.bg-white .get-demo,
.header__white .header .get-demo {
    background: #1766FF;
    color: #ffffff;
}

@media (max-width: 767px) {
    .header.active .header__actions  {
        background: white;
        bottom: 0;
        position: fixed;
        padding: 15px 15px 20px;
        top: auto;
        width: 100%;
        left: 0;
        border-top: 1px solid #E7E9EB;
        box-sizing: border-box;
    }

    .header.active .get-demo {
        display: flex;
        width: 100%;
        height: 40px;
    }

    .header.active .btn--photo-img {
        display: none;
    }

    .header__menu {
        min-height: calc(100vh - 62px - 75px);
    }
}

@media (max-width: 1023px) {
    .header.active .header__top,
    .header.bg-white .header__top,
    .header__white .header .header__top {
        background: #fff;
        transition: .3s;
    }

    .header__white.header__bg-gray .header:not(.bg-white) .header__top {
        background: #ecf2ff;
    }

    .header:not(.active):not(.bg-white) .header__logo path {
        transition-delay: .3s;
        transition-duration: .4s;
    }
}

/*BURGER*/

.header__burger {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transform: translate(0, -50%);
}

.header .header__burger > div {
    position: absolute;
    top: 10px;
    left: 4px;
    width: 17px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 3px;
    transition: background 175ms ease;
}

.header .header__burger > div:after,
.header .header__burger > div:before {
    content: "";
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    transition: transform 175ms ease;
    transform-origin: center;
}

.header .header__burger > div:before {
    top: -5px;
}

.header .header__burger > div:after {
    bottom: -5px;
}

.header.active .header__burger > div,
.header.active .header__burger > div:before,
.header.active .header__burger > div:after,
.header.bg-white .header__burger > div,
.header.bg-white .header__burger > div:before,
.header.bg-white .header__burger > div:after,
.header__white .header .header__burger > div,
.header__white .header .header__burger > div:before,
.header__white .header .header__burger > div:after {
    background: #434C5D;
}

.header.active .header__burger > div {
    background: transparent;
}

.header.active .header__burger > div:before {
    top: 0;
}

.header.active .header__burger > div:after {
    bottom: 0;
}

.header.active .header__burger > div:before {
    transform: rotate(45deg);
}

.header.active .header__burger > div:after {
    transform: rotate(-45deg);
}

@media (min-width: 768px) {
    .header__burger {
        right: 30px;
    }

    .header__top {
        padding: 12px 30px;
    }

    .header__actions {
        margin-right: 70px;
    }

    .header__nav-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 30px;
    }

    .header__column {
        display: none;
    }

    .header__nav:not(:last-of-type) {
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .header,
    .header__placeholder {
        height: 70px;
    }

    .header {
        transition: .3s;
    }

    .header__container {
        display: flex;
        justify-content: space-between;
        height: 100%;
    }

    .header__top {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
    }

    .header__menu {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        min-height: auto;
        width: auto;
        margin: 0;
        padding: 12px 0 0;
        z-index: 0;
        transform: none;
        background: transparent;
        overflow: visible;
    }

    .header__item {
        background: transparent;
        padding: 0 0 12px;
        margin: 0;
    }

    .header__item:hover .header__title-arrow {
        transform: rotate(180deg);
    }

    .header__title {
        position: relative;
        color: #FFFFFF;
        padding: 11px 12px;
        border-radius: 8px;
        transition: background .3s;
    }

    .header__title:hover {
        color: #FFFFFF;
    }

    .header__item:hover .header__title {
        background: #FFFFFF12;
    }

    .header.bg-white .header__item:hover .header__title,
    .header__white .header .header__item:hover .header__title {
        background: #EDF3FF;
    }

    .header.bg-white .header__title,
    .header__white .header .header__title {
        color: #141f34;
    }

    .header.bg-white .header__title-arrow path,
    .header__white .header .header__title-arrow path {
        fill: #434C5D;
    }

    .header__item.dropDown .header__title {
        padding: 11px 38px 11px 12px;
        white-space: nowrap;
    }

    .header__title-arrow {
        top: 13px;
        right: 12px;
    }

    .header__title-arrow path {
        fill: #FFFFFF;
    }

    .header__nav-wrap {
        display: block;
        width: max-content;
        padding: 20px;
        overflow: auto;
    }

    .header__column {
        width: 260px;
        border-left: 1px solid #DBE7FF;
    }

    .header__nav-item {
        padding: 9px 12px;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .header__nav.selected .header__nav-item,
    .header__column .header__nav-item:hover {
        background-color: #EDF3FF;
    }

    .header__nav.d-lg-none {
        display: none;
    }

    .header__nav-title {
        font-size: 14px;
        font-weight: 400;
        margin-bottom: 2px;
    }

    .header__nav-desc {
        display: block;
        font-size: 12px;
        color: #727985;
    }

    .header__nav-arrow {
        display: block;
        width: 18px;
        height: 18px;
        margin-left: auto;
    }

    .header__nav-list {
        display: block;
        width: max-content;
        background: #edf3ff;
    }

    .header__sub-menu {
        position: absolute;
        top: 61px;
        display: none;
        background: white;
        border-radius: 8px;
        padding: 0;
        margin-left: -45px;
        box-shadow: 0 4px 8px 0 #00418D1F;
        transform: scale(.9);
        will-change: transform;
        transform-style: preserve-3d;
        transition: .2s;
        overflow: hidden;
    }

    .header__sub-list {
        width: 280px;
    }

    .header__nav-list .header__sub-list:first-of-type {
        display: block;
    }

    .header__sub-list:not(.mob) {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 20px;
        margin-left: 0;
        border-left: 1px solid #dbe7ff;
        box-sizing: border-box;
    }

    .header__sub-list.mob {
        display: none;
    }

    .header__sub-list.icons li:not(:last-of-type) {
        margin-bottom: 4px;
    }

    .header__sub-link,
    .header__sub-link-all a {
        padding: 10px 20px 9px 12px;
    }

    .header__sub-link-all {
        margin-top: auto;
    }

    .header__sub-link-all a {
        margin-top: 12px;
    }

    .header__sub-link:hover .header__sub-title {
        color: #1766FF;
    }

    .header__sub-title {
        color: #141F34;
        padding: 0;
    }

    .header__sub-desc {
        display: block;
        font-size: 12px;
        margin-top: 2px;
        color: #727985;
    }

    .header__actions {
        position: static;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
    }

    .header__actions .log-in,
    .header__actions .get-started {
        display: block;
        border-width: 1px;
    }

    .header__actions .log-in {
        padding: 10px 11px;
    }

    .header.bg-white .header__actions .log-in path,
    .header__white .header .header__actions .log-in path {
        fill: #1766FF;
    }

    .header.bg-white .header__actions .log-in:hover,
    .header.bg-white .header__actions .get-started:hover,
    .header__white .header .header__actions .log-in:hover,
    .header__white .header .header__actions .get-started:hover {
        background: #edf3ff;
    }

    .header__actions .get-started {
        padding: 13px 12px;
    }

    .header.bg-white .header__actions .get-started,
    .header__white .header .header__actions .get-started {
        color: #1766FF;
        border-color: #1766FF;
    }

    .header.bg-white .get-demo:hover,
    .header__white .header .get-demo:hover {
        background: #1252cc;
        opacity: 1;
    }

    .header__burger {
        display: none;
    }

    .header__banner {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(1, 1fr 140px);
        align-items: flex-end;
        color: #FFFFFF !important;
        background: #08255C;
        border-radius: 8px;
        padding: 10px 10px 10px 16px;
        margin-top: 12px;
    }

    .header__column .header__banner {
        margin-top: 0;
        margin-bottom: 20px;
        grid-template-columns: repeat(1, 1fr 120px);
    }

    .header__banner-title {
        font-size: 14px;
        line-height: 1.2;
    }

    .header__banner-description {
        font-size: 12px;
        line-height: 1.4;
        margin-top: 4px;
        opacity: .8;
    }

    .header__banner-label {
        display: block;
        width: fit-content;
        font-size: 12px;
        margin-bottom: 12px;
        background: linear-gradient(#08255C, #08255C) padding-box,
        linear-gradient(90deg, #75A4FF 0%, #6DCAF3 100%) border-box;
        border: 1px solid transparent;
        border-radius: 4px;
        padding: 2px 6px;
    }

    .header__banner-picture {
        height: 140px;
        display: block;
        margin-left: auto;
        overflow: hidden;
        border-radius: 8px;
    }

    .header__banner-picture img {
        max-width: none;
        max-height: 100%;
    }
}

@media (min-width: 1230px) {
    .header__item.dropDown .header__title {
        padding: 11px 44px 11px 16px;
    }

    .header__title {
        padding: 11px 16px;
    }

    .header__menu {
        gap: 12px;
    }

    .header__sub-list {
        width: 320px;
    }

    .header__column {
        width: 300px;
    }

    .header__title-arrow {
        right: 15px;
    }

    .header__actions {
        gap: 10px;
    }

    .header__actions .get-started {
        padding: 13px 16px;
    }

    .header__actions .log-in {
        padding: 10px 16px;
    }
}