/* Font chữ cho web */
@font-face {
    font-family: vietfont;
    src: url('./Font/Roboto_Condensed/RobotoCondensed-VariableFont_wght.ttf');
}

@font-face {
    font-family: trungfont;
    src: url('./Font/Noto_Sans_HK\,Roboto_Condensed/RobotoCondensed-VariableFont_wght');
}

@font-face {
    font-family: vietfontB;
    src: url('./Font/Roboto_Condensed/static/RobotoCondensed-Bold.ttf');
}

.fontviet {
    font-family: vietfontB;
}


/* body{
    background-color:#9a1c20 ;
}  */

.full {
    display: flex;
    flex-direction: column;
    /* width: 1080px; */
    background-color: white;
    margin: auto;
}

a {
    text-decoration: none;
}


/* content top */
.top {
    margin: auto;
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    background-color: #9a1a2b;
}

/* content top one*/
.top-one {
    margin: auto;
    width: 100%;
    height: 40px;
    border-bottom: 2px solid black;
    margin-bottom: 10px;
}

.top-content {
    width: 99%;
    font-size: 16px;
    font-family: vietfontB;
}

/* content top two*/
.top-two {
    margin: auto;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
}

.top-two-image {
    margin-left: 0px;
}

.top-two-box {
    display: flex;
    flex-direction: row;
}

.top-two-box1 {
    display: flex;
    flex-direction: row;
    margin: auto;
    height: 100px;
}

.top-two-box1-content {
    font-family: vietfont;
    height: 100px;
    display: flex;
    flex-direction: column;

}

.top-two-box1-content1 {
    margin: auto;
    margin-left: 0;
    margin-right: 10px;
    font-size: 20px;
}

.top-two-box2 {
    margin: auto;
    height: 70px;
    border-left: 2px solid black;
    display: flex;
    flex-direction: row;
}

/* content top three*/

.top-three {
    margin: auto;
    height: 60px;
    width: 1080px;
    display: flex;
    flex-direction: row;
    /* background-color: #f5a936; */
    /* border-bottom: 5px solid #d4af37; */
    /* margin-bottom: 10px; */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 50px;
    width: 218px;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content1 {
    display: none;
    position: absolute;
    top: 50px;
    width: 196px;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content2 {
    display: none;
    position: absolute;
    top: 50px;
    width: 183px;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content3 {
    display: none;
    position: absolute;
    top: 50px;
    width: 165px;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content-text {
    font-family: vietfontB;
    color: white;

}

.dropdown-content .dropdown-content-text:hover {
    background-color: #ddd;
}

.dropdown-content1 .dropdown-content-text:hover {
    background-color: #ddd;
}

.dropdown-content2 .dropdown-content-text:hover {
    background-color: #ddd;
}

.dropdown-content3 .dropdown-content-text:hover {
    background-color: #ddd;
}

.dropdown-content .dropdown-content-text {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content1 .dropdown-content-text {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content2 .dropdown-content-text {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content3 .dropdown-content-text {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropdown-content1 {
    display: block;
}

.dropdown:hover .dropdown-content2 {
    display: block;
}

.dropdown:hover .dropdown-content3 {
    display: block;
}

.top-three-box {
    margin: auto;
    margin-left: 10px;
    margin-bottom: 10px;
    height: 40px;
    display: flex;
    flex-direction: row;
    background-image: linear-gradient(white 0 0);
    background-position: 0 100%;
    /*OR bottom left*/
    background-size: 0% 4px;
    background-repeat: no-repeat;
    transition:
        background-size 0.3s,
        background-position 0s 0.3s;
    /*change after the size immediately*/
}

.top-three-image {
    height: 35px;
    width: 35px;
    margin: auto;
}

.top-three-image1 {
    height: 10px;
    width: 10px;
    margin: auto;
    margin-left: 5px;
    margin-right: 5px;
}

.top-three-image2 {
    height: 15px;
    width: 15px;
    margin: auto;
    margin-left: 5px;
    margin-right: 6px;
}

.top-three-content {
    font-style: Bold;
    color: white;
    font-family: vietfontB;
    font-size: 22px;
    margin: auto;

}


.top-three-box:hover {
    cursor: pointer;
    background-position: 100% 100%;
    background-size: 100% 4px;
}


/* them top  */

/* Base menu */
.menu,
.submenu,
.submenu-right {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu>li {
    position: relative;
    display: inline-block;
}

.menu a {
    display: block;
    padding: 10px 15px;
    background: #333;
    color: white;
    text-decoration: none;
}

.menu a:hover {
    background: #e74c3c;
}

/* Submenu - cấp 1 */
.submenu {
    display: none;
    position: absolute;
    background: #444;
    top: 100%;
    left: 0;
    min-width: 200px;
    z-index: 10;
}

.menu>li:hover .submenu {
    display: block;
}

/* Submenu mở ngang - cấp 2 */
.dropdown-right {
    position: relative;
}

.submenu-right {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: white;
    min-width: 200px;
    z-index: 10;
}

.dropdown-right:hover .submenu-right {
    display: block;
}

.submenu-right {
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2),
        /* phải */
        0 4px 10px rgba(0, 0, 0, 0.2),
        /* dưới */
        0 -4px 10px rgba(0, 0, 0, 0.2);
    /* trên */

}

.submenu a,
.submenu-right a {
    padding: 10px 15px;
    color: white;
    background: inherit;
    white-space: nowrap;
}

/* end them top   */


.a {
    text-decoration: none;
    color: black;
}

.banner {
    margin: auto;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;

}

/* Container chính của slider */
.banner-container-parent {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Quan trọng để ẩn các banner ngoài khung nhìn */
}

/* Wrapper chứa các banner */
.banner-slides-wrapper {
    display: flex;
    width: 300%;
    /* Có 3 banner, mỗi banner 100% nên tổng là 300% */
    transition: transform 0.5s ease-in-out;
    /* Tạo hiệu ứng chuyển động mượt mà */
}

/* Kiểu dáng cho mỗi banner */
.banner-slide {
    position: relative;
    /* Quan trọng cho việc căn chỉnh overlay */
    width: 33.333%;
    /* 100% / 3 banner = 33.333% */
    flex-shrink: 0;
    /* Ngăn banner bị co lại */
}

/* Đảm bảo hình ảnh lấp đầy toàn bộ slide */
.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Lớp phủ chứa chữ và nút */
.banner-content-overlay {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Căn giữa hoàn toàn */
    text-align: center;
    width: 200px;
    height: 55px;
    /* Chiều rộng lớp phủ */
   
}

.banner-button {
    cursor: pointer;
    width: 205px;
     height: 55px;
     color: white;
     font-size: 20px;
    font-family: vietfontB;
          background-image: url("/image/bnbg.png");
     background-size: cover;

}

/* Các nút điều hướng */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
}

.nav-btn.prev {
    left: 10px;
}

.nav-btn.next {
    right: 10px;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.mid {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mid-top {
    display: flex;
    flex-direction: row;
    font-family: vietfontB;
    align-items: flex-start;
    width: 1080px;
    border-bottom: 2px solid black;
    margin: auto;
}

.mid-mid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 760px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* content kiến thức tvnp */

.mid-mid-content-top {
    width: 760px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    border-bottom: black 2px solid;
}

.mid-mid-content-top-left {
    width: 100px;
    background-color: black;
    display: flex;
}

.mid-mid-content-top-right {
    justify-content: center;
    align-items: center;
    display: flex;
}

.mid-mid-content-top-left-text {
    font-family: vietfontB;
    color: white;
    margin: auto;
}

.mid-mid-content-top-right-text {
    font-family: vietfontB;
    margin: auto;
    margin-right: 5px;
}

.mid-mid-content-mid {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.mid-mid-content-mid-left {
    width: 320px;
    height: 360px;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.mid-mid-content-mid-left-top {
    height: 200px;
    width: 100%;
    border: 2px black solid;
    border-radius: 10px;
}

.mid-mid-content-mid-left-tittle {
    margin: auto;
    font-family: vietfontB;
}

.mid-mid-content-mid-left-text {
    margin: auto;
}

.mid-mid-content-mid-right {
    display: flex;
    flex-direction: column;
    margin-left: 25px;
    width: 415px;
}

.mid-mid-content-mid-right-box {
    margin: auto;
    display: flex;
    flex-direction: row;
}

.mid-mid-content-mid-right-box-left {
    width: 200px;
    height: 80px;
    border: black 2px solid;
    margin-right: 10px;
}

.mid-mid-content-mid-right-box-right {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.mid-mid-content-mid-right-box-right-text {
    font-family: vietfontB;
    margin-left: 15px;
    margin-top: 0px
}

/* phần mobi của nội dung tài liệu */

.mid-mid-content-mid-800 {
    display: none;
}

.mid-mid-content-mid-left-800 {
    width: 200px;
    height: 100px;
    margin-right: 10px;
    border: black solid 1px
}

.mid-mid-content-mid-right-800 {
    width: 300px;
    display: flex;
    flex-direction: column;
}

.mid-mid-content-mid-right-box-right-text {
    font-family: vietfontB;
    margin-left: 15px;
    margin-top: 0px;
    margin: auto;
}

.mid-mid-content-mid-left-550 {
    width: 300px;
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 5px;

}

.mid-mid-content-mid-left-top-550 {
    width: 250px;
    height: 150px;
    margin: auto;
    border: black 1px solid;

}

.mid-mid-content-mid-left-tittle-550 {
    font-family: vietfontB;
    width: 250px;
    margin: auto;
    margin-top: 5px
}



/* kết thúc phần nội dung tài liệu */
.anhlaso {
    margin: auto;
    width: 100%;
}

.mid-mid-top {
    width: 100%;
    border: #ddd 2px solid;
    border-radius: 5px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    padding: 17px;
    align-items: center;
    justify-content: center;
}

.mid-mid-top-image {
    height: 150px;
    width: 150px;
    margin: auto;
    margin: 10px;

}

.mid-mid-top-right {
    margin: auto;
}

.mid-mid-top-right-box {
    display: flex;
    flex-direction: row;
}

.mid-mid-top-right-box-text {
    font-family: vietfontB;
    font-size: 17px;
    margin-top: 10px;
    margin-right: 20px;
    padding: 5px;
    background-color: black;
    border-radius: 5px;
    color: white;
    border: 1px solid black;
}

.mid-mid-top-right-box-text:hover {
    background-color: white;
    color: black;
    cursor: pointer;
}

.mid-mid-top-right-top {
    font-family: vietfontB;
    font-size: 20px;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.mid-mid-top-right {
    padding: 5px;
    margin: auto;
}

.mid-mid-top-right-mid {
    font-size: 18px;
    font-family: vietfont;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.mid-mid-content {
    font-size: 25px;
    font-family: vietfontB;
}

.mid-mid-box {
    display: flex;
    align-self: flex-start;
    flex-direction: row;

}

.mid-top-content {
    margin-left: 0;
    margin-right: 5px;
    font-size: 20px;
    font-family: vietfontB;
}

.mid-mid-box-title {
    width: 70px;
    font-size: 20px;
    font-family: vietfontB;
    margin-right: 10px;
}

.mid-mid-box-text {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 20px;
    font-family: vietfont;
    text-wrap: wrap;
    text-indent: 10px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.mid-mid-box-text1 {
    font-size: 20px;
    font-family: vietfont;
    text-wrap: wrap;
    text-indent: 20px;
}

.mid-mid-box-text-image {
    margin: auto;
    font-size: 15px;
    font-family: vietfont;
    padding: 0;
    margin-top: -15px;
}

.mid-top-content1 {
    margin-left: 0;
    margin-right: 5px;
    font-size: 20px;
}

.mid-top-content:hover {
    color: #0071f3;
}

/* .mid-line {
    border-bottom: 2px solid black;
    width: 50%;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 30px;
} */

.mid-one {
    display: flex;
    flex-direction: row;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;

}

.mid-one-top {
    display: flex;
    flex-direction: row;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.mid-one-center {
    display: flex;
    flex-direction: row;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.mid-one-center1 {
    display: flex;
    flex-direction: row;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.mid-one-left {
    width: 765px;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
}

.mid-one-right {
    width: 290px;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.mid-one-right-box1 {
    width: 280px;
    border: #dadde1 2px solid;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    margin-left: 5px;

}

.mid-one-right-box1:hover .mid-one-right-box-text {
    background-color: #0071f3;
}

.mid-one-right-box {
    width: 280px;
    display: flex;
    flex-direction: column;
    margin-left: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.mid-one-right-box-ct {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: auto;
    margin-top: 10px;
    align-items: center;
    margin-left: 10px;
}

.mid-one-right-box-top {
    width: 100%;
    height: 50px;
    border-bottom: black 2px solid;

}

.mid-one-right-box-top-title {
    background-color: black;
    color: white;
    font-family: vietfontB;
    font-size: 20px;
    padding-left: 10px;
    margin-right: 190px;
}

.mid-one-right-box-top-title1 {
    background-color: black;
    color: white;
    font-family: vietfontB;
    font-size: 20px;
    padding-left: 10px;
    margin-right: 200px;
}

.mid-one-right-box-ct1 {
    display: flex;
    flex-direction: row;
    border-bottom: #dadde1 1px solid;
    align-items: center;
}

.mid-one-right-box-ct-text1 {
    font-family: vietfontB;
    font-size: 25px;
    padding: 0;
    margin: 0;
    margin: 10px;
    color: #adb5bd;
}

.mid-one-right-box-ct-text2 {
    font-family: vietfontB;
    font-size: 20px;
    padding: 0;
    margin: 0;
    margin: 18px;
}

.mid-one-right-box-ct1:hover .mid-one-right-box-ct-text2 {
    color: #0071f3;
}

.mid-one-right-box-ct1:hover .mid-one-right-box-ct-text1 {
    color: black;
}


.mid-one-right-box-ct:hover .mid-one-right-box-ct-text {
    color: #0071f3;
}

.mid-one-right-box-ct-image {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.mid-one-right-box-ct-text {
    font-family: vietfontB;
    font-size: 20px;
    padding: 0;
    margin: 0;
}

.mid-one-right-box-image {
    margin: auto;
    width: 100%;
    border-radius: 5px;
}

.mid-one-right-box-text {
    margin: auto;
    font-family: vietfontB;
    width: 180px;
    height: 30px;
    background-color: black;
    color: white;
    border-radius: 5px;
    font-size: 15px;
    text-align: center;
    align-content: center;
    margin-top: 5px;
    margin-bottom: 10px;

}

.mid-one-right-box-content {
    margin: auto;
    font-family: vietfontB;
    width: 250px;
    height: 30px;
    text-align: center;
    align-content: center;
    font-size: 20px;
    margin-top: 0;
}

.frame {
    border-radius: 10px;
    border: 2px solid black;
    margin-bottom: 20px;
}

.mid-line {
    height: 3px;
    width: 400px;
    background-color: #9a1a2b;
    margin: auto;
}

.mid-one-one {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mid-one-content {
    display: flex;
    flex-direction: row;
    font-family: vietfont;
    font-size: 28px;
    margin: auto;
}

.mid-one-content-box {
    text-align: center;
    display: flex;
    flex-direction: row;
    margin: auto;
}

.mid-one-content-icon {
    width: 10px;
    height: 10px;
    margin: auto;
}

.mid-one-content-icon-mid {
    width: 50px;
    height: 50px;
    margin: auto;
    margin-right: 10px;
    margin-left: 10px;
}

.mid-one-content-text {
    margin: auto;
    font-family: vietfontB;
    font-size: 40px;
    margin-left: 20px;
    margin-right: 20px;
}

.mid-one-icon {
    width: 200px;
    height: auto;
    margin: 20px;
    border: 2px black solid;
    border-radius: 10px;
}

/* Mid two start */

.mid-two {
    display: flex;
    flex-direction: column;
    width: 1080px;
    margin: auto;
    /* margin-top: 20px; */
}

.mid-two-title {
    width: 100%;
    height: 60px;
    background-color: black;
    display: flex;
    flex-direction: row;
}

.mid-two-title-text {
    margin: auto;
    color: white;
    font-family: vietfontB;
    font-size: 30px;
}

.mid-two-box {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    margin-top: 40px;
}

.mid-two-box-one {
    margin: auto;
    width: 450px;
}

.mid-two-box-one-top {
    margin: auto;
    width: 100%;
    border-bottom: 2px solid black;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.mid-two-box-one-top-title {
    width: 150px;
    height: 50px;
    background-color: black;
    display: flex;
    margin-top: 5px;
}

.mid-two-box-one-top-title-text {
    color: white;
    margin: auto;
    font-family: vietfont;
    font-size: 24px;
}

.mid-two-box-one-top-content-text {
    margin: auto;
    font-family: vietfont;
    font-size: 22px;
    padding-top: 20px;
}

.mid-two-box-one-mid {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.mid-two-box-one-mid-box {
    display: flex;
    flex-direction: row;
    margin: auto;
    width: 100%;
}

.mid-two-box-one-mid-box {
    display: flex;
    flex-direction: row;
    margin: auto;
    margin-top: 10px;
}

.mid-two-box-one-mid-box-left-image {
    width: 200px;
    height: 120px;
    border: 2px #dadde1 solid;
}

.mid-two-box-one-mid-box:hover .mid-two-box-one-mid-box-left-image {
    border: black 2px solid;
    cursor: pointer;
}

.mid-two-box-one-mid-box:hover {
    cursor: pointer;
}


.mid-two-box-one-mid-box-right {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.mid-two-box-one-mid-box-right-top {
    font-family: vietfontB;
    margin: 0;
    font-size: 18px;
}

.mid-two-box-one-mid-box-right-bot {
    font-family: vietfont;
    margin: 0;
    font-size: 15px;
}

.mid-two-box-one-mid-box-right-bot-text {
    font-family: vietfont;
    margin: 0;
    font-size: 15px;
    padding: 0;
}

/* Mid three start */

.mid-three {
    display: flex;
    flex-direction: column;
    width: 1080px;
    margin: auto;
    /* margin-top: 20px; */
}

.mid-three-content {
    display: flex;
    flex-direction: row;
    margin: auto;
}

.mid-three-content-image {
    margin: auto;
    width: 300px;
    height: 400px;
    margin: 20px;
    border: 2px solid #dadde1;
    border-radius: 5px;
}

.mid-three-content-image:hover {
    border: black 2px solid;
    cursor: pointer;
}

.mid-three-content-image-bot:hover {
    cursor: pointer;
}

.mid-three-content-image-bot {
    margin: auto;
    width: 95%;
    border: black 2px solid;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.mid-three-content-image-mid {
    margin: auto;
    width: 100%;
    border: black 2px solid;
    margin-top: 30px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 5px;
}

.mid-three-content-image-mid:hover {
    border: #dadde1 2px solid;
    cursor: pointer;
}



/* Mid three start */

.mid-four {
    display: flex;
    flex-direction: column;
    width: 1080px;
    margin: auto;
    /* margin-top: 20px; */
}

.mid-four-content {
    display: flex;
    flex-direction: row;
    margin: auto;
}




.form-lap-la-so {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    height: 350px;
    margin-bottom: 10px;
    border: #dadde1 2px solid;
    border-radius: 5px;
}

.form-top {
    margin: auto;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    align-items: center;
    justify-items: center;
    font-family: vietfontB;
    font-size: 17px;
}

.form-top-web {
    margin: auto;
    display: flex;
    flex-direction: row;
}

.form-top-1 {
    margin-left: 10px;
    margin-top: 30px;
}

.form-top-2 {
    width: 70px;
    margin-top: 30px;
}

.form-top-3 {
    width: 150px;
    margin-top: 30px;
}


.form-right {
    display: flex;
    flex-direction: column;
    width: 180px;
    margin: auto;
}

.form-left {
    display: flex;
    flex-direction: column;
    width: 180px;
    margin: auto;
}

.form-content {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    height: 30px;
}

.form-content1 {
    display: flex;
    align-items: center;
    height: 30px;
    margin: auto;
}

.form-content2 {
    display: flex;
    align-items: center;
    height: 30px;
}

.sub-button {
    height: 40px;
    width: 140px;
    font-family: vietfontB;
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.sub-button:hover {
    cursor: pointer;
}


.oktest {
    background-image: url("/image/bannertt.png");
}

.mid-one-box {
    width: 250px;
    height: 200px;
    border: 3px solid #d4af37;
    border-radius: 5px;
    background-image: url("/image/khung.png");
    background-size: contain;
    margin: auto;
    margin-left: 35px;
    margin-right: 35px;
    margin-top: 15px;
    display: flex;
    background-repeat: no-repeat;
    position: relative;
    text-decoration: none;
    color: black
}

.mid-one-box-content {
    margin: auto;
    font-family: vietfontB;
    display: flex;
    flex-direction: column;

}

.mid-one-box1-content-1 {
    margin: auto;
    font-family: vietfontB;
    padding-top: 20px;
    font-size: 22px;
}

.mid-one-box1-content-2 {
    height: 100px;
    margin: auto;
}

.left-content {
    position: absolute;
    top: 20%;
    left: -5%;
    background-color: #d9282f;
    border-radius: 5px;
    border: black 2px solid;
    width: 30px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column
}

.left-content-text {
    margin: auto;
    color: white;
    font-family: trungfont;
}

.mid-one-box:hover .left-content {
    background-color: #fdac00;
    /* border: #fdac00 solid 4px; */
}

.mid-one-box:hover .left-content-text {
    color: black;
}

.mid-one-box:hover .mid-one-box {
    border: 4px solid black;
}



.top-content {
    margin: auto;
}

.bot {
    width: 100%;
    /* height: 300px; */
    background-color: black;
    display: flex;
    flex-direction: column;
    color: white;
    margin: auto;
}

.bot-item-box-top-title {
    font-family: vietfontB;
    padding: 0;
    margin: 0;
    font-size: 20px;
}

.bot-item-box-top-content {
    font-family: vietfont;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

.bot-item {
    padding: 10px;
    width: 1050px;
    margin: auto;
    display: flex;
    flex-direction: row;
}

.bot-item-box {
    width: 350px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}


.bot-item-box1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    height: 30px;
    width: 30px;
    margin: 10px;
}

.icon1 {
    height: 100px;
    width: 100px;
    margin: 10px;
}

.bo {
    border: black 2px solid;
    border-radius: 10px;
}

/* Bắt đầu phần tài liệu tra cứu home*/

.mid-one-content-box-left {
    width: 365px;
    margin: auto;
    height: 355px;
    margin-right: 45px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    justify-content: left;
    border: black 2px solid;
    border: 3px solid #d4af37;
}

.mid-one-content-box-right {
    width: 365px;
    margin: auto;
    height: 355px;
    margin-left: 45px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    justify-content: left;
    border: black 2px solid;
    border: 3px solid #d4af37;
}

.mid-one-content-box-left-top-tittle {
    font-family: vietfontB;
    margin: auto;
    color: #d9282f;
    font-size: 30px;
    margin-top: 10px;
}


.mid-one-content-box-left-top-text {
    font-family: vietfontB;
    font-size: 18px;
    color: black;
    padding-right: 10px;
    padding-left: 10px;
    margin: auto;
    margin-top: 5px;
}

.mid-one-content-box-top {
    width: 100%;
    height: 50px;
    /* background: ; */
    display: flex;
    flex-direction: row;
    border-bottom: black 2px solid;
}

.mid-one-content-box-top-left {
    width: 330px;
    height: 50px;
    background-color: black;
    display: flex;
    text-align: center;
    justify-content: center;
}

.mid-one-content-box-top-left-text {
    font-family: vietfontB;
    margin: auto;
    color: white;
}

.mid-one-content-box-top-right {
    width: 100%;
    height: 40px;
    display: flex;
    justify-items: center;
    justify-content: right;
}

.mid-one-content-box-top-right-text {
    font-family: vietfontB;
    color: black;
}

.mid-one-content-box-mid {
    width: 100%;
    height: 120px;
    margin-top: 15px;
    display: flex;
    flex-direction: row;
}

.mid-one-content-box-mid-left {
    width: 200px;
    height: 120px;
    background-color: #073936;

}

.mid-one-content-box-mid-right {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;

}

.mid-one-content-box-mid-right-text {
    font-family: vietfontB;
    color: black;
    font-size: 22px;
    margin-top: 0px;
    word-wrap: normal;
    writing-mode: horizontal-tb;
    margin-left: 10px;
}

/* Hết phần tài liệu tra cứu home*/

/* .categories {
    background-color: #f5f5f5;
    padding: 5px 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    background: #d9282f;
    border-radius: 10px;
    width: 800px
}
.category {
    cursor: pointer;
    padding: 5px 15px;
    margin: auto;
    background: #d9282f;
    color: white;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s;
    font-family: vietfontB;
    font-size: 25px;
}

.category:hover {
    background-color: #ddd;
}

.category.active {
    background-color: white;
    color: #d9282f;
} */



.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: #d9282f;
    border-radius: 10px;
    padding: 10px;
    overflow-x: auto;
}

.category {
 border: #d4af37 2px solid;
    cursor: pointer;
    padding: 8px 12px;
    background: #d9282f;
    color: white;
    border-radius: 8px;
    font-family: vietfontB;
    font-size: 25px;
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s;
}

.category:hover {
    background-color: #fff;
    color: #d9282f;
}

.category.active {
    background-color: white;
    color: #d9282f;
}

.content {
    margin-top: 20px;
    width: 600px
}

.baiviet {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.post-image {
    flex: 1;
    margin-right: 15px;
}

.post-image img {
    width: 225px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.post-image a:hover img {
    transform: scale(1.02);
}

.post-info {
    flex: 3;
}
.post-info h2 {
    margin-top: 0;
    font-size: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;            /* giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-info p {
    font-size: 16px;
    margin: 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-info h2 a {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.post-info h2 a:hover {
    color: #007BFF;  /* xanh nước biển */
}

.post-image a {
    display: block;
}

.post-image a img {
    transition: transform 0.3s;
    cursor: pointer;
}

.post-image a:hover img {
    transform: scale(1.03);  /* hiệu ứng phóng nhẹ khi hover */
}

.subcategorytop{
    font-family: vietfontB;
    font-size: 22px;
    margin:auto;
    color: white;
}

.subcategories{
    display: flex;
    flex-direction: column;
    background-color: #d9282f;
    padding: 10px;
    border-radius: 10px;
    
}
.subcategory {
    font-family: vietfontB;
    font-size: 22px;
    width: 200px;
    padding: 5px 10px;
    background-color: #d9282f;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 10px;
    margin:auto;
    margin-top: 5px;
    border: 2px #d4af37 solid;
}


.subcategory.active {
    background-color: white;
    color: #d9282f;
    border: 2px #d4af37 solid;
}

.subcategory:hover{
    background-color: white;
    color: #d9282f;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.related-post h4 {
    font-size: 16px;
    margin: 5px 0;
}

.related-post a {
    text-decoration: none;
    color: black;
}

.related-post a:hover {
    color: #007bff;
}


/* phần khóa học */
.kh1 {
    background-image: url("/image/kh1.png");
}

.kh2 {
    background-image: url("/image/kh2.png");
}

.kh3 {
    background-image: url("/image/kh3.png");
}

.kh11 {
    background-image: url("/image/kh11.png");
}

.kh21 {
    background-image: url("/image/kh21.png");
}

.kh31 {
    background-image: url("/image/kh31.png");
}

.kh12 {
    background-image: url("/image/kh12.png");
}

.kh22 {
    background-image: url("/image/kh22.png");
}

.kh32 {
    background-image: url("/image/kh32.png");
}

.kh13 {
    background-image: url("/image/kh13.png");
}

.kh23 {
    background-image: url("/image/kh23.png");
}

.kh33 {
    background-image: url("/image/kh33.png");
}






/* phần dịch vụ tư vấn */
.dvtv1 {
    background-image: url("/image/dvtv1.png");
}

.dvtv2 {
    background-image: url("/image/dvtv2.png");
}

.dvtv11 {
    background-image: url("/image/dvtv11.png");
}

.dvtv21 {
    background-image: url("/image/dvtv21.png");
}

.dvtv12 {
    background-image: url("/image/dvtv12.png");
}

.dvtv22 {
    background-image: url("/image/dvtv22.png");
}

.dvtv13 {
    background-image: url("/image/dvtv13.png");
}

.dvtv23 {
    background-image: url("/image/dvtv23.png");
}




/* phần giới thiệu trung tâm */
.gttt {
    background-image: url("/image/gioithieutt.png");
}

.tgttt1 {
    background-image: url("/image/gttt1.png");
}

.tgttt2 {
    background-image: url("/image/gttt2.png");
}

.tgttt3 {
    background-image: url("/image/gttt3.png");
}

.tgttt4 {
    background-image: url("/image/gttt4.png");
}

.gttt11 {
    background-image: url("/image/gttt11.png");
}

.gttt12 {
    background-image: url("/image/gttt12.png");
}

.gttt13 {
    background-image: url("/image/gttt13.png");
}


/* hết phần khóa học */


/* bắt đầu phần dịch vụ tư vấn home*/

.mid-one-content-two {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.mid-one-content-two-box {
    width: 275px;
    height: 330px;

    border: black 2px solid;
    border-radius: 15px;
    margin: 20px;
}

.mid-one-content-two-bot {
    width: 910px;
    height: 250px;
    border: black 2px solid;
    border-radius: 15px;

}

/* hết phần dịch vụ tư vấn home*/


/* bắt đầu phần Khóa học home*/
.mid-one-content-three {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mid-one-content-three-box {
    width: 700px;
    height: 240px;
    border: 2px solid black;
    border-radius: 10px;
    margin-bottom: 30px;
}


/* hết phần Khóa học home*/

.mobibanner {
    display: none;
}

.top-three-mobi {
    display: none;
}

.mid-three-content-mobi {
    display: none;
}

.mid-three-content-mobi1 {
    display: none;
}

/* mobi bar */
.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    cursor: pointer;
}

.mobibar {
    display: none;
}

.mobimenu {
    margin: 10px;
}

.mid-one-right-mobi {
    display: none;
    width: 200px;
    flex-direction: column;
    margin-left: 5px;
}

/* phần mobi của đào tạo */


.top-content-pc {
    display: inline;
}

.top-content-mobi {
    display: none;
}

.mid-one-pc {
    display: inline;
}

.mid-one-1080 {
    display: none;
}

.mid-one-800 {
    display: none;
}

.mid-one-500 {
    display: none;
}

.mid-mid-content-mid-800 {
    display: none;
}

.mid-mid-content-mid-left-550 {
    display: none
}


@media only screen and (max-width: 1090px) {

    .mid-one-right {
        margin:auto
    }

    .banner-content-overlay{
        top:70%
    }
    .banner-button{
        width: 98px;
        height: 28px;
        font-size: 10px;
        
    }

    .mid-one-left {

        margin-right: 0px;
    }

    .top {
        width: 100%;
        height: 60px;
    }

    .top-three-web {
        display: none;
    }

    .top-three-mobi-icon {
        display: flex;
    }

    .top-two-image-icon-mobi {
        height: 30px;
        width: 30px;
        margin: auto;
        margin-right: 10px;
    }

    .top-three-mobi {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        align-items: center; 
        height: 60px;
    }

    .top-two {
        display: none;
    }

    .mid-three {
        width: 100%;
    }

    .mid-two {
        width: 100%;
    }

    .mid-four {
        width: 100%;
    }

    .mid-three-content-web {
        display: none;
    }

    .mid-three-content-mobi {
        display: block;
    }

    .mid-three-content-mobi1 {
        display: flex;
        flex-direction: row;
    }

    .mid-line {
        width: 80%;
    }

    .mid-one-center {
        flex-direction: column-reverse;
    }

    .mid-one-center1 {
        flex-direction: column;
    }

    .mid-one-web {
        display: none;
    }

    .bot-item-box {
        margin: auto;
    }

    .mid-one-right-mobi {
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    .mid-one-right-box {
        margin: auto;
    }

    .mid-one-right-box1 {
        margin: 0;
        margin: auto;
    }

    .mid-one-right-box-image {
        width: 100%;
        height: 100%;

    }

    .mid-one-right-box-image1 {
        width: 280px;
        height: 232px;
        margin: auto;
    }

    .mid-one-right-box1 {
        margin: auto;
    }

    .mid-top {
        width: 100%;
    }

    .mid-one-top {
        width: 100%;
    }

    .mid-mid {
        margin-top: 20px;
    }


    .mid-line {
        width: 300px;
    }

    .bot-item-box {
        width: 250px;

    }

    .bot-item {
        width: 100%;
    }

    /* phần tài liệu */
    .mid-one-content-box-left {
        margin-right: 20px;
    }

    .mid-one-content-box-right {
        margin-left: 20px;
    }


    /* Phần khóa đào tạo */



}

@media only screen and (max-width: 970px) {

    .mid-one-right-box-image1 {
        margin-top: 0px;
    }


    .mid-one-left {

        margin-right: 0px;
    }

    .mid-one-content-box-left {
        margin-right: 0px;
    }

    .mid-one-content-box-right {
        margin-left: 0px;
    }

    .mid-line {
        width: 250px;
    }

    .mid-one-content-box {
        flex-direction: column;
        margin: auto;
    }

    /* phần tài liệu */
    .mid-one-content-box-left {
        margin-bottom: 40px;
    }



    .mid-two-box {
        flex-direction: column;
    }

    .mid-two-box-one-mid {
        margin-top: 10px;
    }

    .mid-two-box-one {
        margin-top: 30px;
    }

    .frame {
        width: 600px;
        height: 300px;
    }

    .form-top {
        flex-direction: column;
    }

    .form-lap-la-so {
        height: 500px;
        width: 90%;
    }

    .form-left {
        width: 90%;
        margin: auto;
    }

    .form-right {
        width: 90%;
        margin: auto;
    }


    .form-top-1 {
        width: 100px;
        margin-top: 30px;
    }

    .mid-one-left {
        margin: auto;
    }

    .mid-one-right-box1 {
        margin-top: 10px;
        margin-top: 10px;
    }

    .mid-one-right-box-image1 {
        margin-top: 6px;
    }


    .mid-one-pc {
        display: none;
    }

    .mid-one-1080 {
        display: inline;
    }

    .mid-one-800 {
        display: none;
    }

    .mid-one-500 {
        display: none;
    }

}

@media only screen and (max-width: 800px) {

    /* .baiviet {
        flex-direction: column;
    } */

    .post-image {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .category {
        font-size: 14px;
        padding: 6px 10px;
    }

    .post-info h2 {
        font-size: 20px;
    }

    .post-info p {
        font-size: 14px;
    }

    button {
        padding: 6px 12px;
        font-size: 13px;
    }

    .content{
        width: 90%;
        margin:auto
    }


    .mid-mid-content-mid-800 {
        width: 500px;
        height: 100px;
        margin: auto;
        margin-top: 10px;
        display: flex;
        flex-direction: row;
    }

    .mid-mid-content-mid-left-550 {
        display: none
    }

    .mid-mid-pc {
        display: none;
    }

    .mid-mid-content-top {
        width: 500px;
        margin: auto;
    }

    .mid-one-right-box-image1 {
        margin-top: 6px;
    }

    .mid-mid {
        width: 100%
    }

    .mid-one-left {
        width: 95%;
        margin: auto;

    }

    .mid-one-pc {
        display: none;
    }

    .mid-one-1080 {
        display: none;
    }

    .mid-one-800 {
        display: inline;
    }

    .mid-one-500 {
        display: none;
    }

    .form-left .form-right {
        width: 90%;
    }

    .form-top-1 {
        width: 100px;
        margin-top: 30px;
    }




    .bot-item {
        width: 1080;
        flex-direction: column;
    }


}


@media only screen and (max-width: 700px) {

    .baiviet{
        width: 300px;
    }

    .categories{
        width: 95%;
        margin:auto
    }
    .post-image img {
        width: 90%;
        max-width: 280px;
        height: auto;
        margin-bottom: 10px;
        margin: auto;
    }

    .post-info h2 {
        font-size: 20px;
        margin: 5px 0;
    }

    .post-info p {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .post-info {
        padding: 0 10px;
    }

    .mid-one-left {

        margin-right: 0px;
    }

    .mid-line {
        width: 200px;
    }

    .mid-mid-top {
        flex-direction: column;
        align-items: center;
    }

    .mid-mid-top-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: auto;
    }

    .mid-mid-top-right-box-text {
        margin: auto;
        margin-left: 5px;
        margin-right: 5px;
    }

    .mid-one-content-text {
        font-size: 35px;
    }

    .mid-one {
        flex-direction: column;
    }

    .mid-one-content1 {
        flex-direction: column;
    }

    .banner1 {
        width: 300px;
    }

    .mid-one-content2 {
        text-align: center;
        font-size: 26px;
    }

    .frame {
        width: 500px;
        height: 300px;
    }

    .mid-three-content {
        flex-direction: column;
    }

    .mid-three-content-image-mid {
        width: 80%;
        margin: auto;
        margin-top: 20px;
    }

    .mid-one-right-mobi {
        flex-direction: column;
    }


    .form-lap-la-so {
        height: 550px;
        width: 100%;
        padding: 0;
    }

    .mid-one-left {
        width: 98%;
        margin: auto;
    }

    .form-top-3 .form-top-2 {
        width: 100px;

    }

    .form-top-1 {
        width: 100px;
    }
}

@media only screen and (max-width: 550px) {

    .baiviet{
        flex-direction: column;
    }

    .mid-mid-content-top {
        width: 300px;
        margin: auto;
    }

    .mid-mid-pc {
        display: none;
    }

    .mid-mid-content-mid-800 {
        display: none;
    }

    .mid-mid-content-mid-left-550 {
        display: inline;
    }

    .mid-one-left {

        margin-right: 0px;
    }

    .mid-one-pc {
        display: none;
    }

    .mid-one-1080 {
        display: none;
    }

    .mid-one-800 {
        display: none;
    }

    .mid-one-500 {
        display: inline;
    }

    .top-content-pc {
        display: none;
    }

    .top-content-mobi {
        display: inline;
    }

    .mid-line {
        width: 150px;
    }

    .mid-mid-top-image {
        height: 110px;
        width: 110px;
    }

    .mid-one {
        flex-direction: column;
    }

    .mid-one-content1 {
        flex-direction: column;
    }

    .banner1 {
        width: 180px;
        margin: 10px;
    }

    .mid-one-content2 {
        text-align: center;
    }

    .frame {
        width: 300px;
        height: 250px;
    }

    .form-lap-la-so {
        width: 90%;
        background-image: none;
        border: 1px black solid;
    }

    /* ok */
    /* .mid-one-content-icon {
        display: none;
    } */

    .mid-one {
        flex-direction: column;
    }

    .mid-one-content1 {
        flex-direction: column;
    }

    .banner1 {
        width: 200px;
    }

    .mid-one-content2 {
        text-align: center;

    }

    .mid-one-content-text {
        font-size: 20px;
    }

    .mid-two-box-one {
        width: 300px;
    }

    .mid-two-box-one-mid-box {
        flex-direction: column;
        margin: auto;
    }

    .mid-two-box-one-mid-box-left {
        display: flex;
        margin: auto;
        margin-top: 20px;

    }

    .mid-two-box-one-mid-box-right {
        display: flex;
        margin: auto;

    }

    .mid-two-box-one-mid-box-left-image {
        margin: auto;
        width: 300px;
        height: 100%;
    }

    .form-left-mb {
        display: none;
    }


    .mid-one-content-box-mid-right-text {
        font-size: 17px;
    }

    .mid-one-content-box-left {
        width: 300px;
        margin: auto;
        margin-bottom: 30px;
    }

    .mid-one-content-box-right {
        width: 300px;
        margin: auto;
    }

    .mid-line {
        width: 100px;
    }


}

/* 
@media only screen and (max-width: 500px) {

    
    .mid-one-content-icon{
        display: none;
    }
    .mid-one {
        flex-direction: column;
    }

    .mid-one-content1 {
        flex-direction: column;
    }

    .banner1 {
        width: 200px;
    }

    .mid-one-content2 {
        text-align: center;

    }


    .frame {
        width: 500px;
        height: 300px;
    }

    .mid-two-box-one{
        width: 300px;
    }
    .mid-two-box-one-mid-box{
        flex-direction: column;
        margin: auto;
    }

    .mid-two-box-one-mid-box-left  {
        display: flex;
        margin: auto;
        margin-top: 20px;
        
    }

    .mid-two-box-one-mid-box-right  {
        display: flex;
        margin: auto;
        
    }

    .mid-two-box-one-mid-box-left-image{
        margin: auto;
        width: 300px;
        height: 100%;
    }
} */
