﻿header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

.header-top-left .text strong {
    color: var(--default-color-2);
    font-family: osB;
    font-size: 28px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    font-weight: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-top-left .text strong::before {
    content: attr(title);
    position: absolute;
    -webkit-text-stroke: 0px var(--default-color-2);
    left: 0;
    z-index: 1;
}

.header-top-left .text strong::after {
    content: attr(title);
    position: absolute;
    -webkit-text-stroke: 4px #fff;
    left: 0;
    z-index: 0;
}

.header-top-right {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header-top-right .item {
    display: flex;
    position: relative;
    align-items: center;
    gap: 5px;
}

.header-top-right .item:first-child {
    padding-left: 0;
}

.header-top-right .item:last-child {
    padding: 0;
    display: flex;
    font-family: Inter-Medium;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #ffff;
    position: relative;
    align-items: center;
}

.item-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.icon-svg-phone {
    padding-right: 0;
    width: 14px;
}

.icon-svg-phone path {
    fill: #ffff;
}

.header-top-right .item .icon {
    margin-right: 5px;
    display: flex;
    align-items: center;
}

.header-top-right .item img {
}

.header-top-right .item span {
    color: #FFF;
    font-family: Inter-Medium;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.header-top-right .item strong {
    font-weight: 700;
    font-family: barB;
    font-size: 15px;
}

.btn-menu-rs {
    display: none;
}

.header-bottom .nav-item:hover .drop-df {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.header-bottom .nav-item .drop-df {
    width: 100%;
    position: fixed;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 10px 0 #33333370;
    transform: translateY(31px);
    opacity: 0;
    pointer-events: none;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

.header-bottom .drop-df .grid.wide {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(5,minmax(0,1fr));
    column-gap: 18px;
    row-gap: 12px;
    padding: 35px 20px;
}

.header-bottom .nav-item .drop-item-df {
    transform: translateY(22px);
    opacity: 0;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

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

.header-bottom .nav-item:hover .drop-item-df {
    transform: translateY(0);
    opacity: 1;
}

.header-bottom .nav-item .drop-link-df {
    color: var(--default-color-4);
    font-family: 'SFM';
    font-size: 16px;
    line-height: 26px;
    transition: all linear .2s;
    /* text-transform: capitalize; */
}

.header-bottom .nav-item:hover .nav-link {
    background-color: #fff;
    color: var(--default-color-1);
}

.header-bottom .nav-drop {
    top: 100%;
    overflow: hidden;
    position: absolute;
    left: 0;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 0 10px 0 #33333340;
    padding: 4px 0;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

.header-top {
    /* height: 48px; */
    background-color: #4CC1E0;
    position: relative;
    padding: 11px 0;
}

.header-top-container {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: right;
    gap: 102px;
}

.header-top-container1 {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: right;
    gap: 196px;
}

.header-top-left {
    display: flex;
    align-items: center;
}

.header-bottom-logo {
    z-index: 5;
    top: -40px;
    justify-content: center;
    align-items: center;
    display: flex;
    height: 72px !important;
}

.header-bottom-logo img {
    display: none;
}

.header-bottom-logo img, .header-bottom-logo canvas {
    width: 73%;
    left: 17px;
}

.header-bottom.fixed .header-bottom-logo canvas {
    width: 75%;
    top: 16px;
    left: 13px;
}

li.decor-logo-header {
    /* padding: 0px 93px; */
    /* padding-right: 46px; */
}

.header-top-left .text {
}

.header-top-left .text h3 {
    margin: 0;
    color: #FFF;
    font-family: "UTM-Eremitage";
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.54px;
    text-transform: uppercase;
}

.header-top-left .text strong {
    color: var(--default-color-2);
    font-family: osB;
    font-size: 23px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    font-weight: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 8px;
}

a.header-bottom-logo:before {
    content: "";
    position: absolute;
    background: #fff;
    width: 119px;
    height: 119px;
    border-radius: 119px;
    top: 0px;
    left: -3px;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 0;
}

a.header-bottom-logo:after {
    content: "";
    position: absolute;
    background: rgb(255 255 255 / 60%);
    width: 126px;
    height: 126px;
    border-radius: 131px;
    top: 0;
    left: -3px;
    right: 0;
    bottom: 0;
    margin: auto;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    z-index: -1;
}

.header-top-left .text strong::before {
    content: attr(title);
    position: absolute;
    -webkit-text-stroke: 0px var(--default-color-2);
    left: 0;
    z-index: 1;
}

.header-top-left .text strong::after {
    content: attr(title);
    position: absolute;
    -webkit-text-stroke: 4px #fff;
    left: 0;
    z-index: 0;
}

.header-search .icon {
}

.header-search {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 16px;
    position: relative;
    z-index: 10;
    height: 100%;
    padding-left: 10px;
}

.header-search::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 25px;
    right: 0;
    bottom: 0;
    display: none;
}

.header-search:hover::before {
    display: block;
}

.header-search:hover .header-bottom-search {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.header-bottom-search {
    display: flex;
    align-items: center;
    position: absolute;
    min-width: 100%;
    height: 35px;
    right: 0;
    top: 81%;
    background-color: #fff;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 0px 3px 9px 0px rgba(23, 53, 98, 0.25);
    border: 1px solid #05338073;
    overflow: hidden;
    transition: all ease-in-out .3s;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
}

.header-bottom-search input {
    width: 235px;
    height: 100%;
    position: relative;
    border: none;
    background-color: transparent;
    outline: none;
    padding-left: 14px;
    color: #8E8E8E;
    font-size: 14px;
    padding-right: 54px;
}

.header-bottom-search a {
    position: absolute;
    height: 100%;
    width: 40px;
    right: 0;
    border-left: 1px solid #053380;
    transition: all linear .3s;
}

.header-bottom-search a:hover {
    background: #01acf9;
}

.header-bottom {
    /* height: 76px; */
    background: rgb(255, 0, 0);
    box-shadow: 0px 4px 4px 0px rgba(178, 178, 178, 0.25);
    backdrop-filter: blur(5px);
}

.header-bottom .grid.wide {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.header-bottom.fixed {
    position: fixed;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 3;
    height: 75px;
}

.header-bottom .text {
    margin-left: 0;
}

.header-bottom .text h3 {
    font-weight: 100;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0;
    color: #053380;
    font-family: 'baiB';
    font-style: normal;
    line-height: normal;
}

.header-bottom .text strong {
    color: var(--default-color-2);
    font-family: osB;
    font-size: 23px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    font-weight: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 3px;
}

.header-bottom .text strong::before {
    content: attr(title);
    position: absolute;
    -webkit-text-stroke: 0px var(--default-color-2);
    left: 0;
    z-index: 1;
}

.header-bottom .text strong::after {
    content: attr(title);
    position: absolute;
    -webkit-text-stroke: 4px #fff;
    left: 0;
    z-index: 0;
}

.header-bottom-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-bottom-logors {
    display: none;
}

.header-bottom .list {
    display: flex;
    align-items: center;
    height: 100%;
    /* justify-content: space-between; */
    position: relative;
    z-index: 5;
}

.space-stest h3 {
    margin: 0;
}

.space {
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #fff;
    color: #3DA608;
    font-family: 'Kanit-Medium';
    /* font-size: 22px; */
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 4px 0px;
    transition: all ease .4s;
}

.space-stest {
    display: flex;
    margin: 0;
    flex-direction: column;
    font-size: 9px;
}

.space-stest p {
    margin: 0
}

.btn-menu-rs {
    display: none;
}

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

.header-bottom .nav-item .nav-link {
    position: relative;
    border-radius: 5px;
    transition: all ease .2s;
    padding: 9px 14px;
    color: #fff;
    font-family: Kanit-Medium;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.header-bottom .nav-item:nth-child(1) .nav-link {
    /* padding-left: 20px; */
    padding: 9px 20px;
    padding-left: 0;
    text-align: center;
}

.header-top .grid.wide {
    padding: 0;
}

.header-bottom.fixed a.header-bottom-logo {
    top: 20px;
    width: 95px !important;
    height: 75px !important;
}

.header-bottom.fixed a.header-bottom-logo:before {
    width: 85px;
    height: 85px;
    border-radius: 85px;
    top: -15px;
    left: 0px;
}

.header-bottom.fixed a.header-bottom-logo:after {
    width: 95px;
    height: 95px;
    border-radius: 95px;
    left: 0;
    top: -15px;
}

.hot-line {
    display: flex;
    /* flex-direction: column; */
    color: rgb(255, 0, 0);
    gap: 3px;
}

.hot-line strong {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    font-family: 'Inter-Medium';
}

.sazz {
    width: 6%;
    position: relative;
    top: 2px;
}

.sazz:before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    background: red;
    top: -5px;
    left: -5px;
    border-radius: 25px;
}

.hot-line strong svg {
    width: 100%;
    position: relative;
    transform: rotate(256deg);
}

.hot-line strong svg path {
    fill: #FFF;
}

.header-phone-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #fff;
    color: #3DA608;
    font-family: 'Kanit-Medium';
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 9px 9px;
    transition: all ease .4s;
    white-space: nowrap;
    text-decoration: none;
}

/* SVG mặc định */
.svg-iphone {
    transition: transform 0.4s ease;
}

/* Khi hover vào link */
.header-phone-top a:hover .svg-iphone {
    transform: scale(1.2) rotate(-10deg);
}

.header-phone-top a:hover {
    color: var(--default-color-3);
}

.svg-iphone path {
    fill: var(--default-color-3);
    transition: fill .3s ease;
}

.header-phone-top a:hover .hot-line {
    color: #FFF
}

.header-phone-top a:hover {
    background: #4CC1E0;
    /* nền xanh */
    color: #fff;
    /* chữ trắng */
    transform: translateY(-3px);
    /* nổi lên nhẹ */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    /* đổ bóng */
}

.header-phone-top a:hover .svg-iphone path {
    fill: #fff;
    /* icon chuyển sang trắng */
}

.header-bottom .nav-item: hover .nav-link {
    background-color: var(--default-color-3);
    color: #fff;
}

.header-bottom .nav-item:hover .nav-drop {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.header-bottom .nav-drop {
    top: 100%;
    overflow: hidden;
    position: absolute;
    left: 0;
    border-radius: 6px;
    pointer-events: none;
    background-color: #fff;
    box-shadow: 0 0 10px 0 #33333340;
    padding: 4px 0;
    min-width: 100%;
}

.header-bottom .drop-item a {
    font-size: 16px;
    padding: 10px 18px;
    font-family: 'Inter-Medium';
    white-space: nowrap;
    color: #2c2c2c;
    position: relative;
    display: flex;
    align-items: center;
    text-transform: capitalize;
}

.header-bottom .drop-item a::before {
    transition: all ease .3s;
    content: "\f111";
    position: absolute;
    top: 4.5em;
    left: 4px;
    font-family: var(--icon-font);
    width: 11px;
    height: 11px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    font-size: 0.2em;
    line-height: 11.5px;
    color: var(--default-color-1);
    font-weight: 700;
    background-color: #fff;
    box-shadow: inset -2px -1px 4px 0px #4CAF50;
}

.header-bottom .drop-item a span {
    transition: 0.6s cubic-bezier(.3,2.2,.3,1);
}

.header-bottom .drop-item a:hover::before {
}

.header-bottom .drop-item a:hover span {
    color: var(--default-color-4);
    transform: translateX(5px);
}

.header-banner {
    position: relative;
}

.swiper-slide img {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.swiper-slide-active img {
    opacity: 1;
}

.header-banner-wrap {
    position: relative;
}

.header-bottom .nav-drop:before {
    content: "";
    position: absolute;
    left: 9px;
    top: 21px;
    width: 1px;
    background-color: #ededed;
    height: 76%;
}

.header-banner-wrap .content {
    flex-direction: column;
    position: absolute;
    bottom: 64px;
    left: 0;
    display: flex;
    justify-content: center;
    padding-left: 48px;
}

.header-banner-wrap .content img {
    position: absolute;
    left: 0;
}

.header-banner-wrap .content h3 {
    font-size: 28px;
    position: relative;
    z-index: 2;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 100;
}

.header-banner-wrap .content h4 {
    font-size: 30px;
    margin: 0;
    position: relative;
    color: var(--default-color-4);
    text-transform: uppercase;
    font-family: robotoconb;
    margin-top: 2px;
}

.header-language {
    display: flex;
    align-items: center;
    height: 35px;
    padding: 0 3px;
    margin-left: 57px;
}

.header-language .item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 7px;
}

.header-language .item::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 12px;
    background-color: #FFFFFF;
    opacity: .6;
    right: 0;
}

.header-language .item:last-child::before {
    display: none;
}

.header-language .item img {
    margin-right: 4px;
}

.header-language .item .text.active {
    text-decoration: underline;
}

.header-language .item .text {
    color: #fff;
    font-size: 13px;
    line-height: 159.5%;
    display: block;
    font-family: 'barM';
}

.header-language .item:hover .text {
    text-decoration: underline;
}

.header-bottom .nav-item .nav-link:after {
    content: "";
    position: absolute;
    background: #fff;
    width: 1px;
    height: 14px;
    right: 0;
    top: 14px;
}

.header-bottom .nav-item:nth-child(9) .nav-link:after {
    content: unset;
}

/*RS*/
@media (min-width: 1024px) and (max-width: 1220px) {
    .header-top-right .item:nth-child(3) {
        display: none;
    }

    .header-bottom {
        background: #FFFF;
    }

    .header-bottom .nav-item .nav-link {
        font-size: 16px;
        padding: 9px 10px;
    }

    .header-top .grid.wide {
        padding: 0 10px;
    }

    .header-top-left .text h3 {
        font-size: 18px;
    }
}

@media(max-width: 1023px) {
    .header-hotline {
        /* display: none; */ margin: 0;
    }

    .header-bottom .grid.wide {
        padding: 0 5px;
    }

    .header-phone-top a {
        font-size: 10px;
        display: none;
    }

    .header-top-right {
        display: none;
    }

    .header-top-left .text h3 {
        font-size: 18px;
    }

    .header-phone-top {
        margin-right: 20px;
    }

    .header-top-container {
        justify-content: center;
        -webkit-justify-content: center;
    }

    .header-top-left .text {
        margin-left: 0;
    }

    .header-banner .decor {
        display: none;
    }

    .header-bottom-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 5px;
    }

    .header-bottom {
        background: #FFF;
    }

    .header-bottom-logors {
        display: block;
        width: 100%;
    }

    .header-bottom-logors img {
        width: 15%;
    }

    .header-bottom .list {
        display: none;
    }

    .header-banner-wrap .content {
        display: none;
    }

    .header-top-right .item {
        /* display: none; */
    }

    .header-top-right .item:nth-child(2) {
        display: none;
    }

    .header-top .grid.wide {
        padding: 0 5px;
    }

    .header-top-right .item:last-child {
        display: flex;
    }

    .header-bottom .text.mobile {
        margin-right: 25px;
    }
}

@media(min-width: 740px) and (max-width:1023px) {
    .header-hotline {
        margin-right: 15px;
    }
}

@media(max-width: 739px) {
    .header-bottom .text h3 {
        font-size: 12px;
    }

    .header-bottom .grid.wide:after {
        content: unset;
    }

    .header-bottom-container:before {
        display: none;
    }

    .header-top-right > .item {
        display: none;
    }

    .header-bottom .text strong {
        font-size: 14px;
        margin-top: 5px;
    }

    .header-bottom-search {
        width: 217px;
        margin-top: 8px;
        height: 35px;
    }

    .header-search-options, .header-hotline p {
        display: none;
    }

    .header-hotline a {
        margin: 0;
    }

    .header-hotline a span {
        font-size: 15px;
    }

    .header-bottom-logo img, .header-bottom-logo canvas {
        width: 263px;
    }

    .header-search {
        display: none;
    }

    header {
        position: relative;
    }

    .header-bottom .grid.wide:before {
        content: unset;
    }

    .header-language {
        position: relative;
        z-index: 9;
    }

    .header-bottom-logo {
        display: none;
    }

    .header-bottom-logors {
        display: block !important;
        position: absolute !important;
        left: -5px;
        top: 1px;
        width: 77%;
    }

    .header-bottom-logors img {
        width: 30%;
        margin-left: 10px;
        margin-top: 6px;
    }

    .my-news-rs.mobile {
        align-items: center;
        gap: 12px;
        font-size: 17px;
    }

    .header-top-container1 {
        justify-content: center
    }
}
