﻿.header {
    position: relative;
}

.header-container {
    display: flex;
    flex-direction: column;
}

.header-top {
    display: flex;
    justify-content: right;
    align-items: center;
    justify-content: flex-end;
    font-size: 14px;
    list-style: none;
    padding: 5px 0;
    font-family: monM;
    color: #FFF;
}

    .header-top .nav-item:nth-child(3) {
        margin-right: 11px;
    }

.header-top-e {
    background-color: var(--default-color-1);
}

.header-bottom-e:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #A97C33;
    background: linear-gradient(90deg, rgb(169 124 51) 0%, rgb(230 202 133 / 81%) 50%, rgb(181 131 51 / 86%) 100%);
}

.header-top .nav-link:hover {
    color: var(--default-color-2)
}

.header-bottom-e {
    background-image: url(../../../Design/img/Layer41.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.header-bottom .nav-link:hover:before {
    content: "";
    position: absolute;
    background: #ff000000;
    width: 100%;
    height: 278%;
    top: 136%;
}

.header-bottom .nav-link:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.header-bottom .ms:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.header-bottom .nav-item {
    position: relative;
}

.ms {
    position: relative
}

.header-bottom .ms:after {
    background: none repeat scroll 0 0 transparent;
    bottom: -7px;
    left: 0;
    content: "";
    display: block;
    height: 1px;
    transform: scaleX(0);
    width: 100%;
    position: absolute;
    background: #fff;
    transform-origin: bottom right;
    transition: transform .4s ease 0s, left .4s ease 0s;
    top: 48px;
}

.header-bottom svg {
    width: 24px;
}

.header-bottom {
    gap: 37px;
    display: flex;
    justify-content: right;
    align-items: center;
    list-style: none;
    text-transform: uppercase;
    font-family: 'MonM';
    font-size: 15px;
}

.header .grid.wide {
    position: relative;
}

.phone-header {
    display: flex;
    padding: 6px 13px;
    background-color: var(--default-color-2);
    border-radius: 15px;
    align-items: center;
    justify-content: center;
}

.logo-header {
    position: absolute;
    z-index: 9999999;
}

.header:after {
    content: "";
    width: 31%;
    height: 159%;
    background-image: url('../../../Design/img/Ellipse1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
    /* position: absolute; */
    top: -2px;
    left: -39px;
    z-index: 8;
}

.header:before {
    /* content: ""; */
    width: 35%;
    height: 155%;
    background-image: url('../../../Design/img/Ellipse1copy.png');
    /* background-size: contain; */
    /* background-repeat: no-repeat; */
    /* background-position: center; */
    /* margin-right: 8px; */
    /* position: absolute; */
    top: -13px;
    left: -72px;
    z-index: 9;
}

.logo-eh img {
    width: 82%;
}

.logo-eh {
    z-index: 11;
    position: absolute;
    width: 25%;
    margin-top: 11px;
}

    .logo-eh a {
        width: 227px;
        /* margin: 0 auto; */
    }

.logo-header img {
    position: relative;
    width: 59%;
    z-index: 99999999;
    margin-left: 21%;
    margin-top: 5%;
}

.icon-phone img {
    width: 57%;
}

.icon-phone {
    wid;
    width: 13%;
}

.number-p {
    font-family: 'Montserrat-Bold';
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.header {
    position: relative;
    width: 100%;
    height: 133px;
    z-index: 999;
}

    .header.fix .header-top-e {
        display: none;
    }

    .header.fix .logo-eh {
        margin-top: 0px
    }

        .header.fix .logo-eh img {
            width: 37%;
            height: unset;
            margin-left: 25px;
            z-index: 999;
            position: relative;
            background-size: auto;
            background-repeat: no-repeat;
        }

    .header.fix {
        /* padding: 2px 0; */
            position: fixed;
            /* background-color: #fff; */
            transition: all .5s ease;
            height: auto;
            z-index: 99999999;
    }


.header-container {
    display: flex;
    flex-direction: column;
    z-index: 99999;
}

.header-top
.header-top {
    gap: 0;
    display: flex;
    justify-content: right;
    align-items: center;
    font-size: 14px;
    list-style: none;
    padding: 0px 0;
    font-family: monM;
    color: #FFF;
}

.header-top-e {
    background-color: var(--default-color-1);
}

.header-bottom-e:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #A97C33;
    background: linear-gradient(94deg, rgb(169 124 51 / 87%) 0%, rgb(215 174 69 / 92%) 63%, rgb(183 132 51 / 84%) 100%);
}

.header.fix .header-bottom-e {
}

.header-bottom-e {
    background-image: url(../../../Design/img/Layer41.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.header-bottom .nav-item a {
    color: #000000;
    padding: 0;
    font-size: 16px;
    white-space: nowrap;
}

.header-bottom .nav-item {
    position: relative;
}

.header-bottom .nav-link:after {
    background: none repeat scroll 0 0 transparent;
    bottom: -7px;
    left: 0;
    content: "";
    display: block;
    height: 1px;
    transform: scaleX(0);
    width: 100%;
    position: absolute;
    background: #fff;
    transform-origin: bottom right;
    transition: transform .4s ease 0s, left .4s ease 0s;
}

.header-bottom svg {
    width: 24px;
}

.header.fix .header-bottom {
}

.header-bottom {
    gap: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    text-transform: uppercase;
    font-family: 'MonM';
    font-size: 15px;
    z-index: 9999999;
    position: relative;
    margin-left: 307px;
}

.header .grid.wide {
    position: relative;
    z-index: 999999;
}

.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

/* Ẩn biểu tượng Google nhỏ */
.goog-te-gadget {
    color: transparent !important;
}

/* Style combo box (dropdown) */
.goog-te-combo {
    background: #ffffff;
    color: #333;
    font-size: 14px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    margin-top: 8px;
}

    .goog-te-combo:hover {
        border-color: #00bfff;
        box-shadow: 0 0 5px #00bfff;
    }

.goog-te-gadget:first-child div {
}
/* Container translate */
#google_translate_element {
    margin: 10px 0;
    width: 12%;
    margin-left: 17px;
}

.goog-te-gadget {
    display: flex;
}

.phone-header {
    display: flex;
    padding: 6px 0px;
    background-color: var(--default-color-2);
    border-radius: 15px;
    align-items: center;
    width: 18%;
}

.logo-header {
    /* position: absolute; */
    z-index: 9999999;
}
.header.fix .logo-eh:before{
    top: -48px;
}
.header.fix .logo-eh:after{
    top: -32px;
}
.header .logo-eh:after {
    content: "";
    width: 100%;
    height: 165%;
    background-image: url('../../../Design/img/Ellipse1.png');
    /* background-size: contain; */
    background-repeat: no-repeat;
    /* background-position: center; */
    /* margin-right: 8px; */
    position: absolute;
    top: -15px;
    left: -66px;
    z-index: 8;
}

.header.fix .logo-eh a {
    width: 28%;
    width: 381px;
    margin-top: 7px;
}

.goog-te-gadget .goog-te-combo {
    margin: 4px 0;
    width: 216%;
}

.header.fix::before {
    height: 200%;
    left: -119px;
}

.header.fix::after {
    height: 205%;
    left: -85px;
}

.header .logo-eh:before {
    content: "";
    width: 100%;
    margin-left: 0;
    height: 168%;
    background-image: url('../../../Design/img/Ellipse1copy.png');
    background-size: auto;
    background-repeat: no-repeat;
    /* background-position: center; */
    margin-right: 8px;
    position: absolute;
    top: -34px;
    z-index: 9;
    left: -99px;
}

.logo-eh img {
    width: 67%;
    /* width: 184px; */
    /* height: 126px; */
}
.header.fix .logo-eh a:after{
    top: -74px;
    left: -374px;
}
.header.fix .logo-eh a:before {
    left: -374px;
    top: -42px;
}
.header.fix .logo-eh a:after, .header.fix .logo-eh a:before {
   
}

.logo-eh a:after {
    /* top: -21px; */
    left: -256px;
    /* position: absolute; */
    width: 100%;
    height: 130%;
    /* background: #FFFf; */
}

.logo-eh a:before {
    top: 12px;
    left: -269px;
    /* position: absolute; */
    width: 100%;
    height: 108%;
    background: #3A1605;
}

.logo-eh a {
    position: relative;
}

.logo-eh {
    z-index: 11;
    width: 92%;
    margin-top: 11px;
    left: 34px;
}

    .logo-eh a {
        /* width: 227px; */
        /* margin: 0 auto; */
        z-index: 99999;
    }

.logo-header img {
    position: relative;
    width: 59%;
    z-index: 99999999;
    margin-left: 21%;
    margin-top: 5%;
}

.icon-phone img {
    width: 74%;
}

.icon-phone {
    wid;
    width: 11%;
}

.my-news-rs {
    display: none;
}

.number-p {
    font-family: 'Montserrat-Bold';
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
/* Reset */
ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Container menu chính */
.main-nav {
    display: flex;
    gap: 30px;
    position: relative;
}

/* Item cha */
.nav-item {
    position: relative;
}

/* Link cha */
.nav-link {
    display: block;
    padding: 12px 6px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
}

/* Dropdown menu */
.nav-drop.rs {
    position: absolute;
    top: 48px;
    left: -62px;
    min-width: 273px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Hover vào item cha thì hiện dropdown */
.nav-item:hover .nav-drop.rs {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Item con */
.nav-drop-item {
    border-bottom: 1px solid #f2f2f2;
}

    .nav-drop-item .nav-drop-link:hover {
        color: var(--default-color-2)
    }

    .nav-drop-item .nav-drop-link {
        padding: 10px 16px !important;
        text-transform: math-auto;
    }

    .nav-drop-item:last-child {
        border-bottom: none;
    }

/* Link con */
.nav-drop-link {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

    .nav-drop-link:hover {
        background-color: #f7f7f7;
        color: #007bff;
    }

.name-saher {
    display: none;
}

@media (max-width: 739px) {
    .header:before {
        display: none;
    }

    .header:after {
        display: none;
    }

    .header-top {
        display: none;
    }

    .name-saher {
        color: var(--default-color-2);
        font-family: 'BS-r';
        display: block;
        text-align: right;
        font-size: 34px;
        padding: 6px 0;
        display: none;
    }

    .header-top-e {
        background: #fcfcfc;
        opacity: 1;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .header-bottom {
        display: none;
    }

    .header .my-news-rs.mobile {
        top: 0;
        justify-content: space-between;
    }

    .header.fix .my-news-rs.mobile {
        justify-content: space-between;
        padding: 6px 0;
    }

    .my-news-rs.mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 9px 0px;
    }

    .header.fix .header-top-e {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }

    .logo-eh a {
        display: none;
        margin-left: 5px;
        width: 201%;
    }

    .header.fix .logo-eh a {
        width: 119px;
    }

    .phone-rs-he a {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

        .phone-rs-he a svg {
            width: 30px;
            height: 30px;
        }

    .contetn-h-mobi {
        display: flex;
        flex-direction: column
    }

    .pho-2-g {
        color: #FFF;
        font-family: monR;
        font-size: 12px;
    }

    .header.fix .logo-eh a {
        display: none
    }

    .pho-h {
        color: var(--default-color-1);
        font-family: 'MonSe';
        font-size: 17px;
        white-space: nowrap;
    }

    .header .header-logo img {
        width: 62%;
    }

    .header .header-logo {
        display: block;
    }

    .header.fix .header-logo {
        display: block;
        width: 43%;
    }

        .header.fix .header-logo img {
            width: 59%;
        }

    .header {
        /* top: -130px; */
    }

        .header.fix .header-container {
            width: 100%;
            position: absolute;
            top: 0px;
        }
    .header.fix .header-bottom-e{
    }
    .header{
        height:95px
    }
}
