/***********FONT CHỮ************/

@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    src: url(../fonts/Material/material-symbols-outlined.woff2) format('woff2');
}

@font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    src: url(../fonts/Material/material-symbols-rounded.woff2) format('woff2');
}

@font-face {
    font-family: 'Material Symbols Sharp';
    font-style: normal;
    src: url(../fonts/Material/material-symbols-sharp.woff2) format('woff2');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}

.material-symbols-rounded {
    font-variation-settings:
        'wght' 300
}

.material-symbols-rounded.filled {
    font-variation-settings:
        'FILL' 1
}

@font-face {
    font-family: 'Inter';
    src: url(../fonts/Inter/Inter-VariableFont_slnt,wght.ttf);
}

body {
    font-family: 'Inter';
    font-weight: 400;
    font-style: normal;
    color: var(--text);
}

:root {
    --title: #001533;
    --text: #001533;
    --second-text: #173C68;
    --blur-text: #5E718F;
    --sub-text: #EDEDED;
    --main-purple: #1E2DBE;
    --background-green: #24A148;
    --background-blue: #0043CE;
    --white: #FFFFFF;
    --border-gray: #E3E6EB;
    --border-background: #F4F4FC;
}

p {
    font-family: 'Inter';
    color: var(--text);
    line-height: 1.5;
}

.form-control:focus {
    box-shadow: 0 0 5px 0.2rem rgba(30, 45, 190, 0.15);
}

strong {
    font-family: 'Inter';
    font-weight: 700;
}

/* body section {
    margin-bottom: 40px;
} */

@media screen and (max-width: 1024px) {
    body section {
        margin-bottom: 35px;
    }
}
@media screen and (max-width: 768px) {
    body section {
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 576px) {
    body section {
        margin-bottom: 20px;
    }
}

/***********SCROLL BAR************/

/**::-webkit-scrollbar {
    width: 8px;
    height: 4px;
}

*::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 20px;
}

*::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 20px;
    border: 8px solid transparent;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #979595;
}*/

/***********SETUP MAIN CSS************/

ul, li {
    margin: 0; 
    padding: 0;
    list-style-type: none;
}

img {
    max-width: 100%;
    object-fit: contain;
    object-position: 50% 50%;
}

h2, h4, h6 {

}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

p {
    font-family: 'Inter';
    color: var(--text);
    line-height: 1.5;
}

b, strong {
    font-family: 'Inter';
    font-weight: 700;
}

/***********CONTAINER SETTING************/

/* @media screen and (min-width: 1921px) {
    html[lang="vi-VN"] .container {
        max-width: 1650px;
    }
}

@media screen and (max-width: 1920px) and (min-width: 1730px) {
    html[lang="vi-VN"] .container {
        max-width: 1650px;
    }
}

@media screen and (max-width: 1729px) and (min-width: 1367px) {
    html[lang="vi-VN"] .container {
        max-width: calc(100% - 80px);
    }
} */

.container {
    max-width: 1408px;
}

@media screen and (max-width: 1440px) and (min-width: 1240px) {
    .container {
        max-width: 1344px;
    }
}

@media screen and (max-width: 1240px) and (min-width: 1118px) {
    .container {
        max-width: 1200px;
    }
}

@media screen and (max-width: 991px) and (min-width: 871px) {
    .container {
        max-width: 900px;
    }
}

@media screen and (max-width: 870px) {
    .container{
        max-width: 850px;
    }
}

@media screen and (max-width: 800px) {
    .container{
        max-width: 740px;
    }
}

/*BACK TO TOP*/


.back-to-top a::after {
    content: 'north';
    color: #F58220;
    font-size: 24px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400 !important;
}

.anim-scroll-to-top.active-progress {
    opacity: 1;
    visibility: visible;
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.anim-scroll-to-top {
    z-index: 2000;
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: none;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 178, 74,0.2);
    opacity: 0;
    visibility: hidden;
    -moz-transform: translateY(15px);
    -o-transform: translateY(15px);
    -ms-transform: translateY(15px);
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
    -moz-transition: all 300ms ease-out 0s;
    -webkit-transition: all 300ms ease-out 0s;
    -ms-transition: all 300ms ease-out 0s;
    -o-transition: all 300ms ease-out 0s;
    transition: all 300ms ease-out 0s;
}

.anim-scroll-to-top svg.progress-circle path {
    stroke: #F58220;
    stroke-width: 4;
    box-sizing: border-box;
}

.anim-scroll-to-top svg path {
    fill: none;
}

.anim-scroll-to-top::after {
    position: absolute;
    content: "north";
    font-family: "Material Symbols Rounded";
    font-weight: 400;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    color: #F58220;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -moz-transition: all 300ms ease-out 0s;
    -webkit-transition: all 300ms ease-out 0s;
    -ms-transition: all 300ms ease-out 0s;
    -o-transition: all 300ms ease-out 0s;
    transition: all 300ms ease-out 0s;
}

/***********SCROLL BAR OPTION************/

/**::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #ECD7C5;
    border-radius: 12px;
}

*::-webkit-scrollbar-thumb {
    background: #AE675F;
    border-radius: 12px;
}


*::-webkit-scrollbar-thumb:hover {
    background-color: #8f4e46;
}*/

html {
    scroll-behavior: smooth;
}

.list_Advertisement {
    padding: 0;
}

/****FIREFOX SCROLL BAR****/

*:-webkit-scrollbar {
    width: 8px;
}

*:-webkit-scrollbar-track {
    background: #B7C0CF;
    /*border-radius: 12px;*/
}

*:-webkit-scrollbar-thumb {
    background: #B7C0CF;
    /*border-radius: 12px;*/
}

/** {
    scrollbar-width: thin;
    scrollbar-color: #ECD7C5 transparent;
}*/

/****SIDEBAR CLOSE/OPEN****/

.btn-sidebar {
    position: fixed;
    right: 0;
    top: 30%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    padding: 8px;
    border-radius: 50% 0 0 50%;
    box-shadow: -2px 0px 4px 0.1rem rgba(30, 45, 190, 0.15);
    align-items: center;
    justify-content: center;
}


.div-news > .btn-sidebar,
.div-sidebar > .btn-close {
    display: none;
}

@media screen and (max-width: 1117px) {

    .div-news > .btn-sidebar {
        display: flex;
    }
    
    .div-sidebar > .btn-close {
        display: block;
    }

    .div-news > .btn-sidebar {
        text-align: right;
        margin-bottom: 8px;
    }

    .div-sidebar > .btn-close {
        margin-bottom: 8px;
    }

    .div-sidebar {
        display: none;
        max-width: 324px;
        width: 100%;
        top: 0;
        height: 100vh;
        position: fixed;
        right: -100%;
        transition: all 0.5s;
        display: block;
        z-index: 100;
        padding-top: 30px;
        overflow: hidden auto;
    }

    .div-sidebar.show {
        display: block;
        right: 0;
        background: #fff;
        box-shadow: -4px 0px 4px rgba(30, 45, 190, 0.12);
    }

    .dim-background {
        display: none;
        transition: all 0.5s ease-in-out;
    }

    .div-news.has_sidebar .dim-background {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 100;
        display: block;
    }

    .div-news,
    .div-main {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/****PRE-LOADER LOADING****/

@keyframes loader {
    0%, 10%, 100% {
        width: 80px;
        height: 80px;
   }
    65% {
        width: 150px;
        height: 150px;
   }
}
@keyframes loaderBlock {
    0%, 30% {
        transform: rotate(0);
   }
    55% {
        background-color: #4958e6;
   }
    100% {
        transform: rotate(90deg);
   }
}
@keyframes loaderBlockInverse {
    0%, 20% {
        transform: rotate(0);
   }
    55% {
        background-color: #4958e6;
   }
    100% {
        transform: rotate(-90deg);
   }
}

.loading {
    overflow: hidden;
    height: 100vh;
}

.pre-loader {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: white;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%) rotate(45deg) translate3d(0, 0, 0);
    animation: loader 1.2s infinite ease-in-out;
}
.loader span {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    background-color: #1E2DBE;
    animation: loaderBlock 1.2s infinite ease-in-out both;
}
.loader span:nth-child(1) {
    top: 0;
    left: 0;
}
.loader span:nth-child(2) {
    top: 0;
    right: 0;
    animation: loaderBlockInverse 1.2s infinite ease-in-out both;
}
.loader span:nth-child(3) {
    bottom: 0;
    left: 0;
    animation: loaderBlockInverse 1.2s infinite ease-in-out both;
}
.loader span:nth-child(4) {
    bottom: 0;
    right: 0;
}

.btn-step-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}