header {
    background-color: #004550;
    padding: 16px 0;
    width: 100%;
}

header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-logo {
    background-image: url("../img/logo.svg");
    height: 40px;
    width: 240px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.header-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.desktop-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header-item {
    margin-right: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #FFF;
}

.header-item.color {
    color: #00B492;
}

.header-contact {
    display: flex;
    flex-direction: column;
    padding: 4px 16px;
    background-color: #FFF;
    flex: 1;
    height: 54px;
    margin-right: 16px;
    justify-content: center;
}

.header-contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 800;
}

.header-contact-item:first-child {
    color: #00B492;
    font-size: 17px;
}

.header-contact-item:last-child {
    color: #4006AF;
    font-size: 14px;
}

.header-contact-item:before {
    content: "";
    height: 20px;
    width: 16px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 16px;
}

.header-contact-item:first-child:before {
    background-image: url("../img/mobile.svg");
}

.header-contact-item:last-child:before {
    background-image: url("../img/mail.svg");
}

header .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 12px 24px;
    height: 54px;
}

.header-item:first-child:after {
    content: "";
    background-image: url("../img/nav-arrow.svg");
    height: 6px;
    width: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 4px;
}

.header-item:first-child.active:after {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    display: flex;
    left: 0;
    right: 0;
    background-color: #FFF;
    padding: 48px;
    justify-content: space-between;
    margin: 0 64px;
}

.submenu:before {
    content: "";
    background-image: url("../img/submenu.svg");
    height: 12px;
    width: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -12px;
    right: 732px;
}

.submenu-wrap {
    display: none;
    width: 100%;
    padding-top: 32px;
    left: 0;
    position: absolute;
    z-index: 12;
}

.submenu-wrap.active {
    display: flex;
}

.submenu-item {
    width: calc(25% - 24px);
}

.submenu-item-title {
    color: #4006AF;
    font-weight: 800;
}

.submenu-item-txt {
    margin-top: 8px;
    color: #232323;
}

.submenu-item-txt a {
    font-size: inherit;
    color: #4006AF;
}

.hamburger {
    display: none;
}

.mobile-menu {
    display: none;
}

@media all and (max-width: 1280px) {
    header .btn.full {
        display: none;
    }

    header .header-contact {
        margin-right: 0;
    }

    .submenu:before {
        right: 517px;
    }
}

@media all and (max-width: 1080px) {
    header .header-contact {
        display: none;
    }

    .submenu:before {
        right: 261px;
    }

    .header-item:nth-child(5) {
        margin-right: 0;
    }
}

@media all and (max-width: 820px) {
    .submenu {
        margin: 0 48px;
        flex-wrap: wrap;
    }

    .submenu-item {
        width: calc(50% - 48px);
    }

    .submenu-item:nth-child(n+3) {
        margin-top: 24px;
    }

    .submenu-wrap {
        padding-top: 22px;
    }

    .header-logo {
        background-image: url("../img/logo-s.svg");
        width: 70px;
    }

    header .header-contact {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .submenu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        min-height: calc(100% - 87px);
        background-color: #004550;
        width: 100%;
        display: none;
        padding: 24px 0;
        z-index: 20;
        position: fixed;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu .container {
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
    }

    .mobile-item {
        font-size: 36px;
        font-weight: 800;
        color: #FFF;
    }

    .mobile-item-box {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .mobile-item-icon {
        height: 24px;
        width: 24px;
        background-image: url("../img/mobile-arrow.svg");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        margin-left: 16px;
        cursor: pointer;
    }

    .mobile-item.active {
        color: #58A4B1;
    }

    .mobile-item-icon.active {
        background-image: url("../img/mobile-arrow-open.svg");
    }

    .mobile-nav-open {
        display: none;
        flex-direction: column;
        margin-top: 8px;
    }

    .mobile-nav-open.active {
        display: flex;
    }

    .mobile-open-item {
        background-color: #58A4B1;
        padding: 8px 16px;
        color: #FFF;
        font-weight: 700;
        border-bottom: 1px solid #FFF;
        font-size: 22px;
    }

    .mobile-contact {
        display: flex;
        flex-direction: column;
        margin-top: 24px;
    }

    .mobile-contact-item {
        color: #00B492;
        font-size: 22px;
        font-weight: 800;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .mobile-contact-item:last-child {
        margin-top: 16px;
    }

    .mobile-contact-item:before {
        content: "";
        width: 24px;
        height: 24px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin-right: 16px;
    }

    .mobile-contact-item:first-child:before {
        background-image: url("../img/mobile-w.svg");
    }

    .mobile-contact-item:last-child:before {
        background-image: url("../img/mail-w.svg");
    }

    .mobile-social {
        margin: 24px 0;
        display: flex;
        flex-direction: row;
    }

    .mobile-social-icon {
        height: 48px;
        width: 48px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        margin-right: 24px;
    }

    .mobile-social-icon:nth-child(1) {
        background-image: url("../img/facebook.svg");
    }

    .mobile-social-icon:nth-child(2) {
        background-image: url("../img/youtube.svg");
    }

    .mobile-social-icon:nth-child(3) {
        background-image: url("../img/linkedin.svg");
        margin-right: 0;
    }

    .mobile-copy {
        color: #FFF;
    }
}

@media all and (max-width: 480px) {
    .header-menu {
        display: none;
    }

    header {
        padding: 24px 0;
        height: 87px;
    }
}