// Header =======================
.header {
    padding: 30px 0;
    background: $gray;
    display: block;
    position: relative;
    @include transition;
    position: relative;
    top: 0;
    z-index: 101;

    &.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        // height: 100%;
        z-index: 101;
        animation: header .3s linear;
    }

    &_row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    &_item {
        display: flex;
        align-items: center;

        &-link {
            display: flex;
            align-items: center;
            padding: 15px 25px;
            border: 1px solid #fff;
            border-radius: 10px;
            cursor: pointer;

            font-weight: 700;
            font-size: 14px;
            line-height: 1.2;
            color: #FFFFFF;
            @include transition;

            &:hover {
                background: $yellow;
                color: $black;
                border-color: $yellow;

                span {
                    path {
                        fill: $black;
                    }
                }
            }

            span {
                display: block;
                width: 20px;
                height: 20px;
                margin-right: 10px;

                svg {
                    @include ImgCon;

                    path {
                        @include transition;
                    }
                }
            }
        }
    }

    .burger {
        // width: 40px;
        height: 40px;
        padding: 5px 10px;

        border-radius: 10px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        @include transition;

        &:hover {
            background: $yellow;

            span {
                background: #fff;

                &::before,
                &::after {
                    background: #fff;
                }
            }

            p {
                color: #FFF;
            }
        }

        &.active {
            span {
                // transform: rotate(25deg);
                background: none;

                &::before {
                    transform: rotate(45deg);
                    top: 0;
                }

                &::after {
                    transform: rotate(-45deg);
                    bottom: 0;
                }
            }

            p {
                color: $black;
            }

            &:hover {
                p {
                    color: #fff;
                }
            }
        }

        span {
            display: block;
            position: relative;
            width: 23px;
            height: 2px;
            background: $black;
            @include transition;
            margin-right: 10px;

            &::before {
                content: '';
                position: absolute;
                top: -5px;
                left: 0;
                width: 23px;
                height: 2px;
                background: $black;
                @include transition;
            }

            &::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                width: 23px;
                height: 2px;
                background: $black;
                @include transition;
            }
        }

        p {
            font-size: 12px;
            font-weight: 700;
            line-height: 1.3;
            @include transition;
        }
    }

    .logo {
        display: block;
        position: relative;
        width: 390px;
        height: 50px;
        cursor: pointer;

        img {
            @include ImgCon;
        }
    }

    .lang {
        display: block;
        position: relative;

        &_current {
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            padding: 15px 12px;
            background: #fff;
            border-radius: 10px;

            font-weight: 700;
            font-size: 13px;
            line-height: 1.2;
            color: $black;

        }

        &_flag {
            width: 16px;
            height: 16px;
            margin-right: 10px;

            img {
                @include ImgCon;
            }
        }

        &_arrow {
            width: 12px;
            height: 12px;
            margin-left: 10px;

            svg {
                @include ImgCon;
            }
        }

        &_box {
            display: none;
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
            z-index: 101;

            position: absolute;
            top: calc(100% + 20px);
            left: 0;
            z-index: 10;

            &.active {
                display: block;
            }

            a {
                display: flex;
                align-items: center;
                justify-content: center;

                background: $gray;
                padding: 12px 10px;
                @include transition;

                font-weight: 700;
                font-size: 13px;
                line-height: 1.2;
                color: #fff;

                span {
                    display: block;
                    width: 16px;
                    height: 16px;
                    margin-right: 10px;

                    img {
                        @include ImgCon;
                    }
                }

                &:hover {
                    background: #fff;
                    color: $gray;
                }
            }
        }
    }

    .user {
        position: relative;
        display: block;

        &_title {
            cursor: pointer;
            border: 1px solid #fff;
            border-radius: 10px;
            padding: 15px 25px 15px;

            font-weight: 700;
            font-size: 14px;
            line-height: 1.2;
            color: #fff;
            @include transition;

            width: 50px;
            text-overflow: ellipsis;
            overflow: hidden;

            span {
                position: absolute;
                top: 50%;
                right: 10px;
                @include transformY;
                display: block;
                width: 12px;
                // height: 6px;

                svg {
                    @include ImgCon;

                    path {
                        @include transition;
                    }
                }
            }

            &:hover {
                border-color: $yellow;
                color: $gray;
                background: $yellow;

                span {
                    path {
                        fill: $gray;
                    }
                }
            }
        }

        &_group {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            width: 100%;
            display: none;

            &.active {
                display: block;
            }

            a {
                background: $black;
                color: #fff;
                display: block;
                padding: 8px 10px;
                text-align: center;
                border-radius: 4px;

                font-weight: 700;
                font-size: 14px;
                line-height: 1.2;
                @include transition;

                &:hover {
                    // color: $gray;
                    background: $yellow;
                }
            }
        }
    }
}

.m-rl {
    margin: 0 40px;
}

// Header end ===================


// Nav =======================
.nav {
    padding: 20px 0;
    background: $black;

    &.fixed {
        position: fixed;
        top: 110px;
        left: 0;
        width: 100%;
        // height: 100%;
        z-index: 100;
        animation: header .3s linear;

    }

    &_row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    &_list {
        display: flex;
        align-items: center;

        li {
            display: block;
            margin-right: 40px;

            // &:last-child {
            //     margin-right: 0;
            // }

            a,
            h6 {
                font-weight: 700;
                font-size: 12px;
                line-height: 15px;
                text-transform: uppercase;
                color: #FFFFFF;
                cursor: pointer;
                display: flex;
                align-items: center;

                @include transition;

                span {
                    display: block;
                    width: 20px;
                    height: 20px;
                    margin-right: 10px;

                    svg {
                        @include ImgCon;

                        path {
                            @include transition;
                        }
                    }
                }

                &:hover {
                    color: $yellow;

                    path {
                        fill: $yellow;
                    }
                }
            }

            .more {
                font-weight: 700;
                font-size: 12px;
                line-height: 15px;
                text-transform: uppercase;
                color: #FFFFFF;
                cursor: pointer;
                display: flex;
                align-items: center;

                @include transition;

                &:hover {
                    color: $yellow;

                    span {
                        svg {
                            circle {
                                fill: $yellow
                            }
                        }
                    }
                }

                span {
                    margin-left: 10px;
                    width: 18px;
                    height: 10px;
                    display: block;
                    position: relative;

                    svg {
                        @include ImgCon;

                        circle {
                            @include transition;
                        }
                    }
                }
            }
        }
    }

    .search {
        width: 22px;
        height: 22px;
        cursor: pointer;
        display: block;
        position: relative;

        &:hover {
            svg {
                path {
                    fill: $yellow;
                }
            }
        }

        svg {
            @include ImgCon;

            path {
                @include transition;
            }
        }
    }
}

@keyframes header {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes header {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

// Nav end ===================


// Menu =======================
.menu {
    position: fixed;
    top: -150%;
    left: 0;
    width: 100%;
    height: calc(100% - 168px);
    background: url("../images/menu-bg.png") no-repeat center;
    background-size: cover;
    z-index: 100;
    overflow-y: auto;

    display: flex;
    flex-direction: column;

    &.active {
        top: 169px;
        animation: header .3s linear;
    }

    &_wrap {
        margin-bottom: 20px;
    }

    &::-webkit-scrollbar {
        display: none;
    }

    &_search {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 65px;
        margin-bottom: 50px;

        &-title {
            font-weight: 700;
            font-size: 26px;
            line-height: 1.6;
            color: #fff;
            width: 100%;
            margin-bottom: 25px;

            span {
                color: $yellow;
            }
        }

        &-input {
            width: calc(100% - 200px);
            // max-width: 1200px;

            input {
                background: #fff;
                font-weight: 700;
                font-size: 16px;
                line-height: 22px;
                color: $gray;
                padding: 15px 25px;
                width: calc(100% - 50px);
                border-radius: 5px;

                &::placeholder {
                    color: rgba(23, 23, 23, 0.5);
                }
            }
        }

        &-btn {
            display: inline-block;
            padding: 15px 45px;
            background: $yellow;
            color: $gray;
            font-weight: 700;
            font-size: 16px;
            line-height: 22px;
            color: #000000;
            border-radius: 5px;
            cursor: pointer;
            @include transition;

            &:hover {
                background: $black;
                color: $yellow
            }
        }
    }

    &_box {
        display: flex;
    }

    &_col {
        width: calc(20% - 64px);
        margin-right: 80px;
        position: relative;
        display: block;

        &::after {
            content: '';
            position: absolute;
            top: 0;
            right: -40px;
            height: 100%;
            width: 1px;
            background: #8E8E8E;
        }

        &:last-child {
            margin-right: 0;

            &::after {
                display: none;
            }
        }

        &-group {
            margin-bottom: 40px;

            &:last-child {
                margin-bottom: 0;
            }
        }

        &-title {
            font-weight: 700;
            font-size: 16px;
            line-height: 1.2;
            color: $yellow;
            margin-bottom: 25px;
        }

        &-link {
            display: block;
            margin-bottom: 20px;
            font-weight: 700;
            font-size: 16px;
            line-height: 1.2;
            color: #FFFFFF;
            @include transition;

            &:hover {
                color: $yellow;
            }
        }
    }


    .footer_navs {
        padding-bottom: 40px;
    }

    &_row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    &_txt {
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
        color: #FFFFFF;
    }

    &_info {
        display: flex;
        align-items: center;

        &-item {
            display: flex;
            align-items: center;

            font-weight: 400;
            font-size: 14px;
            line-height: 17px;
            color: #FFFFFF;

            margin-right: 50px;

            &:last-child {
                margin-right: 0;
            }

            &:hover {
                color: $yellow;

                span {
                    path {
                        fill: $yellow;
                    }
                }
            }

            span {
                width: 24px;
                height: 24px;
                display: block;
                margin-right: 10px;

                svg {
                    @include ImgCon;

                    path {
                        @include transition;
                    }
                }
            }
        }
    }
}

// Menu end ===================