.container { width: var(--width-container); }
.containerFull { width: 100%; }
/* Dung de hien thi background-image cho the  */
.bg-img{
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
img.bg-img{ 
}

/* Set kich thuoc the theo ti le 3/2  */
div.img-600400{ 
    height: 0;
    width: 100% !important;
    padding-top: 66.66%;

}
div.img-12080{  
    width: 120px;
    height: 80px;
}
img.img-600400{ 
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;   
    object-position: center; 
}

/* Style mac dinh cho the ngay/thang/nam  */
.datecreate{
    color: gray;
    font-style: italic;
    font-size: 14px;
}

/* Gioi han so dong hien thi cua mot doan text  */
.max-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;  
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* thêm dấu ... */
  text-align: justify;
  text-align: justify;
}

/* Tao 1 duong ke gach ngan cach cac phan tu  */
.divider-vertical::after{ 
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1em;
    border-right: 1px solid var(--color-text-menu);
}
.flex-center-horizontal {
    display: flex;
    justify-content: center;
} 
/* start: hoverST1 */
.hoverST1 {
    cursor: pointer;
    transition: color 0.35s ease, background 0.35s ease;
} 
.hoverST1:hover {
    background: var(--color-primary-1) !important;
    color: var(--color-text-hover) !important;
}
/* end: hoverST1 */
/* start: hoverST2 */
.hoverST2{
    transition: background 0.35s; 
}
.hoverST2:hover{ 
    background-color: var(--color-primary-3); 
    color: var(--color-text-menu) !important;
}
/* end: hoverST2 */
.titleST1 {
    color: var(--color-primary-1); 
    font-weight: 700;
}
.buttonST1,.buttonST2,.buttonST3,.buttonST5{
    min-width: 100px;
    padding: 9px 15px;
    font-size: 16px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.225px;
    cursor: pointer; 
    display: inline-block; 
}
.buttonST1 { 
    background: rgba(219, 113, 0, 1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 1);
}
.buttonST1:hover {
    background: rgb(213, 147, 77); 
}

.buttonST2 {  
    background: var(--color-primary-1);
    color: #FFFFFF;
    box-sizing: border-box;
    border: none;
}
.buttonST2:hover {
    background: var(--color-primary-3);
}

.buttonST3 {  
    background:#C8392B;
    color: #FFFFFF;
    box-sizing: border-box;
    border: none;
}
.buttonST3:hover {
    background: #cd6a61;
}

.buttonST4{
    float: left;
    padding: 8px 0px;
    text-align: center;
    background-image: linear-gradient(to right, var(--color-primary-1), #FFC107);
    color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background 0.35s ease;
    min-width: 100px;
    font-size: initial;
}
.buttonST4:hover{
    background-image: linear-gradient(to right, #FFC107, var(--color-primary-1));
}

.buttonST5 {   
    background: var(--color-primary-1);
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #fff;
}
.buttonST5:hover { 
    background: var(--color-primary-3);
}

.buttonST6 {
    display: flex;
    padding: 5px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 6px;
    background-color: var(--color-primary-3);
    border-radius: 4px;
    color: white;
    min-width: 115px;
    cursor: pointer;
} 
    .buttonST6 .ico{
        font-size: 18px;
    }
    .buttonST6 .text{
        font-size: 14px; 
        line-height: 23px;
    }
.buttonST6:hover{
    opacity: 0.8;
}


.line-horizontal {
    float: left;
    width: 100%;
    border-bottom: 1px solid lightgray;
    color: gray;
    margin: 15px 0;
}
.line-left { 
    padding-left: 12px;
    border-left: 3px solid black;
}
.viewNumber {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}
.viewNumber span{
    font-size: 16px;
}
.dateCreateST2{
    height: 70px;
    width: 46px; 
    border-radius: 4px;
}
    .dateCreateST2 .dateCreateST2__day{
        background: #F7F7F7;
        color: var(--color-primary-1);
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 700;
        padding: 10px 0;
    }
    .dateCreateST2 .dateCreateST2__month{ 
        color: #F7F7F7;
        background: var(--color-primary-1);
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
/* start: webForm  */
.webForm{
    width: 100%;
    height: auto;
}
    .webForm .webForm__row{
        width: 100%;
        display: flex;
        gap: 50px;
        margin-bottom: 15px;
    } 
    .webForm .webForm__hint{ 
        font-style: italic;
        font-size: 14px;
        margin-top: 4px;
    } 
        .webForm .webForm__hint ul{
            margin: 0;
        } 
    .webForm .webForm__row.webForm__rowCenter{ 
        justify-content: center;
    } 
        .webForm .webForm__row .webForm__row-item{ 
            width: 100%;
        } 
            .webForm .webForm__row .webForm__row-item label{ 
                margin-bottom: 4px;
                width: 100%;
                float: left;
                font-size: 14px;
            } 
            .webForm .webForm__row .webForm__row-item input,
            .webForm .webForm__row .webForm__row-item textarea,
            .webForm .webForm__row .webForm__row-item select,
            .webForm .webForm__row .webForm__row-item .inputBorder{
                width: 100%;
                border-radius: 6px;  
                border: 1px solid #cccaca;
                padding: 0 12px;
                box-sizing: border-box;
                height: 38px;
            }  
            .webForm .webForm__row .webForm__row-item .inputBorder{
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .webForm .webForm__row .webForm__row-item textarea {
                min-height: 200px;
                padding-top: 6px;
            }
            .webForm .webForm__row .webForm__row-item .webForm__row-item-alignLeft{ 
                width: calc(50% - 10px);
                float: left;
                margin: 0; 
            } 
            .webForm .webForm__row .webForm__row-item .webForm__row-item-alignRight{
                width: calc(50% - 10px);
                float: right;
                margin: 0;
            } 
            .webForm .webForm__row .webForm__row-item .webForm__row-item-full{
                width: 100%;
                display: flex;
                align-items: center;
            } 
            .webForm .webForm__row .webForm__row-item .otpRow{  
                width: 100%;
                display: flex;
                justify-content: center;
                gap: 10px;
            } 
                .webForm .webForm__row .webForm__row-item .otpRow input.otpInput{ 
                    width: 36px;
                    height: 48px;
                     text-align: center;
                } 
                .webForm .webForm__row .webForm__row-item .webForm__row-item-full label{ 
                    width: 200px;
                } 
                .webForm .webForm__row .webForm__row-item .webForm__row-item-full input:first-of-type{ 
                    margin-right: 20px;
                } 
/* end: webForm  */

.align-right{
    text-align: right;
    border: 0;
}
.align-left{
    text-align: left;
    border: 0;
}

.row{
    display: flex;
    gap: 21px;
}
.zoom-box {
 width: 100%;
 height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover !important; /* Initial background size */
  transition: all 1.3s ease; /* Smooth transition */
  background-size: 100% !important; /* zoom lên */
}

.zoom-box:hover {
  background-size: 120% !important; /* zoom lên */
}

.required-field::after{
    content: " *";
    color: red;
}

input,textarea,select{
    border: none;
    outline: none;
    border: 1px solid transparent;
    transition: all 0.35s ease;
    font-size: 16px;
}
input:focus,textarea:focus,select:focus{
    background-color: white !important;
    border: 1.5px solid var(--color-primary-4) !important;
}

/* start: table  */
table, td, th{
    border: 1px solid rgb(197, 195, 195)
}
.disableInput{
    pointer-events: none;
    background-color: #ebeaea;
}
.tableST1{
    border-collapse: collapse;
    margin-bottom: 0;
    width: 100%;
}
    .tableST1 .table_action-ico{
        cursor: pointer;
    }
    .tableST1 thead{
        background-color: var(--color-primary-4);
        color: var(--color-primary-1);
    } 
        .tableST1 tbody tr{
            cursor: pointer;
        }  
            .tableST1 thead tr th{
                text-transform: uppercase;
                padding: 14px;
                font-size: 20px;
            }
            .tableST1 tbody tr td{ 
                padding: 12px;
            }
    .w50 { width: 50px;}
    .w100 { width: 100px;}
    .w150 { width: 150px;}
    .wAuto { width: auto;} 
    .textAlignCenter { text-align: center;}
    .textAlignJustify { text-align: justify;}
/* end: table  */


/* start: pagination */
.paginationContainer {
    width: 100%;
    
}
.pagination{
    display: flex;
    border-radius: 4px;
    width: fit-content;
    flex-wrap: wrap;
}
    .pagination a{
        color: var(--color-primary-3);
        text-decoration: none;
        padding: 8px 12px;
        border: 0.5px solid lightgray;
        cursor: pointer;
    }
    .pagination a:last-child{
        border-end-end-radius: 4px;
        border-start-end-radius: 4px;
    }
    .pagination a:first-child{
        border-start-start-radius: 4px;
        border-end-start-radius: 4px;
    }
    .pagination a.active{
        color: white;
        background-color: var(--color-primary-3);
        text-decoration: none;
        padding: 8px 12px; 
    }
    .pagination a:hover{ 
        background-color: var(--color-primary-3);
        color: var(--color-text-hover);
    }

.titleHomepage{ 
    text-transform: uppercase; 
    color: white; 
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(90deg, #0d4d9d,  var(--color-primary-3))                          ;
    padding-top: 6px;
    padding-bottom: 6px; 
    margin-bottom: 8px;
    width: fit-content;
    position: relative;

    padding: 12px 0;
    padding-left: 10px; 
    padding-right: 100px;
}
.titleHomepage::after{ 
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -19px; /* đổi từ right sang left */
    width: 23px;
    background-color: var(--color-primary-3);
    clip-path: polygon(0 0, 25% 0, 100% 50%, 25% 100%, 0 100%);

}
.hide-in-desktop{
    display: none;
}
/* end: pagination */

.shadow{
    position: absolute;
    top: 0;right: 0;left: 0;bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
} 
.required{
    color: red;
    font-style: italic;
}
p, a, h1, h2, h3, h4, h5, span, li, div, b { 
    font-family: var(--font-family), sans-serif;
    line-height: 1.642;
} 

/* Display */
.displayAttr{
}
.flex-center{
    display: flex;
    justify-content: center;
}

/* Mobile/Tablet doc */
@media (max-width: 768px) { 
    /* Display */
    .displayAttr{
        display: none !important;
    }
    .titleHomepage{
        max-width: calc(100% - 40px);
        padding: 5px 10px;
        font-size: 16px;
    }
    .container{
        width: calc(100% - 20px) !important;
        margin: 0px 10px !important;
    }
    .webForm .webForm__row{
        flex-direction: column;
        gap: 15px;
    }
    .docList__bot-left{
        display: none;
    }
    .hide-in-mobile{
        display: none;
    }
    .hide-in-desktop {
        display: initial;
    }
}

/* Mobile/Tablet doc */
@media (max-width: 1024px) {    
    .container{
        width: calc(100% - 20px) !important;
        margin: 0px 10px !important;
    }
}
 
/* Từ 1024px đến 1299px */
@media screen and (min-width: 1024px) and (max-width: 1299px) {
    .container { max-width: 1160px; }
}

/* Tối đa 1300px */
@media (max-width: 1300px) {
    .container { max-width: 1222px !important; } 
    .bannerST1 .bannerST1__pnl .bannerST1__pnl-right,
    #header .headerMenu .headerMenu__pnl-right {
        display: none !important;
    }
    #header .headerMenu .headerMenu__pnl-mid{
        margin-right: initial;
    }
}

/* Từ 1400px trở lên */
@media (min-width: 1400px) and (max-width: 1499px) {
    .container { max-width: 1222px !important; }
}

@media (min-width: 1500px) and (max-width: 1599px) {
    .container { max-width: 1400px; }
}

@media (min-width: 1600px) {
    .container { max-width: 1490px; }
}

