.header {
    background-color: rgba(14, 19, 57, 0.95);
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
}

.header > .container {
    display: flex;
    height: 74px;
    align-items: center;
    justify-content: space-between;
}

.header__menu-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.header__menu {
    height: 100%;
}

.header__menu ul {
    display: flex;
    align-items: flex-start;
    list-style-type: none;
    height: 100%;
}

.header__menu ul > li > a {
    padding: 0 10px;
    white-space: nowrap;
}

.header a {
    text-decoration: none;
}

.header__menu ul a {
    height: 100%;
    display: flex;
    align-items: center;
}

.header__menu ul > li:hover > a,
.header__menu ul > li a.active {
    color: #ffc219;
}

.header__menu .menu__level-1 > li {
    position: relative;
    height: 100%;
}

.header__menu .menu__level-2 {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
}

.header__menu .menu__level-2 > li {
    height: 45px;
    display: flex;
}

.header__menu .menu__level-1 > li:hover {
    background-color: rgb(14, 19, 57);
}

.header__menu .menu__level-1 > li:hover .menu__level-2 {
    display: flex;
    background-color: rgb(14, 19, 57);
    min-width: 200px;
    height: auto;
}

.header__login {
    color: #ffc219;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.header__login span {
    font-size: 11px;
}

.header__login a {
    height: 100%;
    display: flex;
    align-items: center;
}

.header__login a.login:before {
    content: url(../../img/profile-icon.png);
    padding-right: 10px;
}

.header__languages {
    height: 100%;
}

.languages__wrapper {
    list-style-type: none;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.languages__wrapper__inner {
    display: none;
    list-style-type: none;
}

.languages__wrapper > li:hover {
    background: rgb(14, 19, 57);
}

.languages__wrapper > li:hover .languages__wrapper__inner {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    background: rgba(14, 19, 57, 0.95);
    width: 100%;
}

.languages__wrapper > li:hover .languages__wrapper__inner li {
    display: flex;
    align-items: center;
    height: 45px;
    padding: 0 15px;
}

.languages__wrapper > li  {
    height: 100%;
}

.languages__wrapper > li > .active {
    padding: 0 15px;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 7px;
}

.languages__wrapper > li:hover > .active img {
    transform: rotate(180deg);
}

.languages__wrapper a:hover {
    color: #ffc219;
}

.header__show-mobile-menu {
    width: 32px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: none;
}

.header__show-mobile-menu button {
    background: none;
    border: 0;
    width: 100%;
    height: 100%;
    cursor: inherit;
}

.header__show-mobile-menu i {
    display: block;
    width: 100%;
    height: 3px;
    position: absolute;
    transition: 0.6s;
    border-radius: 5px;
    background: white;
}

.header__show-mobile-menu i:nth-child(1) {
    top: 0;
}

.header__show-mobile-menu i:nth-child(2) {
    top: 8px;
}

.header__show-mobile-menu i:nth-child(3) {
    top: 16px;
}

.header__show-mobile-menu.fixed i:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.header__show-mobile-menu.fixed i:nth-child(2) {
    display: none;
}

.header__show-mobile-menu.fixed i:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

.admin-panel a:before {
    content: '';
    background: url(../../img/header/edit.png) no-repeat center;
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.special-tours > span:before,
.special-tours > a:before {
    content: '';
    background: url(../../img/star.svg) no-repeat center;
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.header__menu ul > li.admin-panel:hover > a,
.header__menu ul > li.admin-panel a.active {
    color: white;
}


@media (min-width: 1200px) {
    .header__login .logout {
        font-size: 12px;
    }
}

@media (max-width: 1349px) {

    .header__menu ul > li > a {
        padding: 0 10px;
    }
}

@media (max-width: 1199px) {
    .header__menu {
        position: fixed;
        left: 0;
        top: 74px;
        background: rgba(14, 19, 57, 0.95);
        width: 100%;
        transform: translateX(100%);
        padding: 20px;
        overflow-y: auto;
        height: calc(100% - 70px);
    }
    .header__menu ul {
        flex-direction: column;
        height: auto;
        align-items: center;
    }
    .header__menu ul li {
        width: 100%;
    }
    .header__menu.fixed {
        transform: translateX(0);
    }
    .header__menu .menu__level-1 > li {
        height: auto;
        margin-bottom: 10px;
    }
    .header__menu .menu__level-2 {
        display: block;
        position: static;
    }
    .header__menu .menu__level-2 > li {
        height: auto;
    }
    .header__menu ul > li > a {
        padding: 0;
    }
    .header__menu ul a {
        margin-bottom: 15px;
    }
    .header__login {
        margin-left: auto;
    }
    .header__show-mobile-menu {
        display: block;
    }
    .header__menu.fixed .menu__level-1 > li:hover {
        background-color: transparent;
    }

    .header__menu.fixed .menu__level-1 > li:hover .menu__level-2 {
        background-color: transparent;
    }

    .header__menu ul a {
        width: 100%;
        justify-content: flex-start;
    }

    .header__menu .menu__level-1 > li > a {
        border-bottom: 1px solid white;
        padding-bottom: 5px;
        display: flex;
        align-items: center;
    }

    .header__menu .menu__level-1 > .icon > a:before {
        content: '';
        width: 21px;
        height: 21px;
        display: block;
        margin-right: 5px;
        background-position: center;
        background-repeat: no-repeat;
    }

    .header__menu .menu__level-1 > li.icon-tours a:before {
        background-image: url('../../img/menu/ico_tours.png');
    }

    .header__menu .menu__level-1 > li.icon-hotels a:before {
        background-image: url('../../img/menu/ico_hotels.png');
    }

    .header__menu .menu__level-1 > li.icon-transfers a:before {
        background-image: url('../../img/menu/ico_transfers.png');
    }

    .header__menu .menu__level-2 > li > a {
        text-transform: none;
    }
}

@media (max-width: 767px) {
    .header > .container {
        justify-content: space-between;
    }
    .header__login {
        padding: 0;
        text-align: right;
    }
    .languages__wrapper > li:hover .languages__wrapper__inner li,
    .languages__wrapper > li > .active {
        padding: 0 10px;
    }
    .header__logo img {
        max-width: 160px;
    }
    .header__menu-wrap {
        gap: 10px;
    }
}
