.top-bar {
    padding-left: 15px;
    padding-right: 15px;

    .top-bar-inner {
        padding: 18px 0;
    }

    .list-topbar-item {
        gap: 43px;
    }

    .tf-tb-right {
        gap: 22px;
    }
}

.top-bar-item {
    @include d-flex();
    gap: 10px;
    align-items: center;

    a {
        font-weight: 500;
        letter-spacing: 0.05px;
    }

    .icon-email {
        font-size: 12px;
    }
}

.list-support {
    gap: 31px;
}

.post-social {
    @include d-flex();
    gap: 20px;

    &.style-radius-50 {
        .icon-social {
            display: inline-block;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background-color: var(--main-dark);
            @include flex(center, center);

            i {
                color: var(--white);
                font-size: 11px;
            }

            &:hover {
                background-color: var(--primary);

                i {
                    color: var(--main-dark);
                }
            }
        }
    }

    &.style-bg-white {
        .icon-social {
            width: 40px;
            height: 40px;
            background-color: var(--white);

            i {
                color: var(--dark-2);
                font-size: 16px;
            }

            &:hover {
                background-color: var(--primary);

                i {
                    color: var(--white);
                }
            }
        }
    }
}

.icon-social {
    i {
        color: var(--white);
        @include transition3();
    }

    &:hover {
        i {
            color: var(--primary);
        }
    }

    .icon-youtube {
        font-size: 12px;
    }
}

.menu-primary-menu {
    @include d-flex();
    align-items: center;
    gap: 32px;

    .menu-item {
        cursor: pointer;

        &:not(.menu-item-has-children) {
            padding-right: 0;
        }

        &.menu-item-has-children {
            .item-link {
                z-index: 2;
                padding-right: 19px;
                position: relative;

                &::after {
                    content: "\e90b";
                    position: absolute;
                    top: 50%;
                    right: 3px;
                    font-size: 6px;
                    line-height: 18px;
                    font-family: $fontIcon;
                    transform: translateY(-50%);
                    @include transition3();
                    z-index: 1;
                }


            }
        }

        &:hover {

            .sub-menu-home,
            .sub-menu {
                opacity: 1;
                visibility: visible;
                top: 102%;
                pointer-events: all;
            }
        }
    }

    .item-link {
        color: var(--white);
        line-height: 90px;
        position: relative;
        font-weight: 500;
        padding: 0 5px;
        display: inline-block;

        &::before {
            content: "";
            position: absolute;
            bottom: -1px;
            left: auto;
            right: 0;
            width: 0;
            height: 3px;
            background-color: var(--primary);
            @include transition3();
        }

        &:hover {
            color: var(--primary);

            &::after {
                transform: translateY(-50%) rotate(180deg);
            }

            &::before {
                left: 0;
                right: auto;
                width: 100%;
            }
        }
    }
}

.sub-menu {
    position: absolute;
    width: 233px;
    left: -25px;
    top: 110%;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    @include transition3();
    pointer-events: none;
    background-color: var(--white);

    .sub-menu-item {
        @include transition3();

        .item-link-2 {
            display: inline-block;
            color: var(--main-dark);
            position: relative;
            font-weight: 600;
            width: 100%;
            padding: 10px 24px;
        }

        &:hover {
            background-color: var(--primary);

            .item-link-2 {
                color: var(--white);
            }
        }
    }
}

.header {
    border-top: 1px solid var(--stroke-2);
    border-bottom: 1px solid var(--stroke-2);

    .header-content {
        padding-left: 15px;
        padding-right: 0;
    }

    .logo-header {
        padding-right: 15px;
    }

    .main-menu {
        border-left: 1px solid var(--stroke-2);
        padding-left: 15px;
    }
}

.header-right {
    @include d-flex();
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 15px;
}

.mobile-button {
    a {
        display: block;
        width: 24px;
        height: 18px;
        position: relative;
        cursor: pointer;
    }

    span {
        position: absolute;
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--white);

        &:first-child {
            top: 0;
        }

        &:nth-child(2) {
            top: 50%;
            transform: translateY(-50%);
        }

        &:last-child {
            bottom: 0;
        }
    }
}

.mobile-nav-wrap {
    max-width: 300px;
    width: 100%;

    .inner-mobile-nav {
        padding: 20px;
        width: 100%;
        height: 100%;
        background-color: var(--main-dark);
        z-index: 99999;
        overflow-y: auto;
        @include transition4();

        .mobile-nav-close {
            background-color: transparent;
            border-radius: 50%;
            cursor: pointer;

            svg {
                width: 15px;
                height: 15px;
            }
        }

        .top-header-mobi {
            @include d-flex();
            align-items: center;
            justify-content: space-between;
        }

        a {
            color: var(--white);
        }

    }

    .logo-mobile {
        max-width: 120px;
    }

    .socials-mobile {
        .date {
            @include d-flex();
            gap: 8px;
            align-items: center;
            padding-bottom: 10px;
        }

        .socials-icon {
            @include d-flex();
            align-items: center;

            .socials-item {
                width: 40px;
                height: 40px;

                a {
                    @include flex(center, center);
                }

                @include transition3();

                &:first-child,
                &:nth-child(2),
                &:nth-child(3),
                &:nth-child(4) {
                    border-right: 0;
                }

                &:hover {

                    i {
                        color: var(--primary);
                    }
                }

            }
        }
    }

    .mobile-main-nav {
        @include d-flex();
        flex-direction: column;
        justify-content: space-between;
        height: 94%;
    }
}

#menu-mobile {
    @include d-flex();
    flex-direction: column;
    padding: 30px 0;

    >li {
        position: relative;
        border-bottom: 1px solid var(--stroke-2);
        cursor: pointer;

        a {
            padding: 15px 0;
        }

        .sub-menu-mobile {
            border-radius: 8px;
            text-align: start;
            @include transition2();
            margin-bottom: 5px;

            .menu-item {
                a {
                    padding: 7px 10px;
                }

                &:first-child {
                    a {
                        padding-top: 0;
                    }
                }
            }

            &.show {
                transform: translate(0);
                opacity: 1;
                visibility: visible;
            }

            li {
                cursor: pointer;

                &:last-child {
                    border: none;
                }
            }
        }
    }

    li {
        a {
            font-weight: 500;
            width: 100%;
            display: inline-block;
        }


        &.menu-item-has-children-mobile {
            >a {
                position: relative;

                &::after {
                    content: "\e90b";
                    position: absolute;
                    font-family: "icomoon";
                    position: absolute;
                    font-size: 6px;
                    right: 0;
                    top: 50%;
                    line-height: 16px;
                    @include transition5();
                }

                &.collapsed {
                    &::after {
                        transform: translateY(-50%) rotate(0);
                    }
                }

                &:not(.collapsed) {
                    &::after {
                        transform: translateY(-50%) rotate(180deg);
                    }
                }
            }
        }
    }
}

.contact-mobile {
    .title-contact-mobile {
        margin-bottom: 15px;
        color: var(--white);
    }

    .content-contact-moblile {
        @include d-flex();
        align-items: center;
        gap: 10px;
        margin-bottom: 15px;

        &:first-child {
            align-items: start;

            i {
                padding-top: 5px;
            }
        }

        .icon-location-dot {
            font-size: 18px;
        }

        i {
            color: var(--white);
        }

        .icon-location-dot2 {
            font-size: 20px;
            margin-top: 3px;
        }

        .icon-email {
            font-size: 13px;
            margin-top: 1px;
        }

        a {
            line-height: 22px;
        }

        &:last-child {
            margin-bottom: 0;
        }
    }
}

.header-sticky {
    position: sticky;
    @include transition3();
    background-color: var(--main-dark);
    z-index: 999;
}

.current-menu-item {
    >a {
        color: var(--primary) !important;

        &::before {
            left: 0 !important;
            right: auto !important;
            width: 100% !important;
        }
    }
}

.current-item {
    background-color: var(--primary) !important;

    >a {
        color: var(--white) !important;
    }
}

.current-menu-mobile-item {
    >a {
        color: var(--primary) !important;
    }
}