.content-main {
    /* min-height: calc(100vh - 395px); */
    min-height: calc(100vh - 550px);
}

.block-breadcrumb {
    background: #fef4f4;
    padding: 10px 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    display: block;
    width: 14px;
    height: 14px;
    margin-right: 0px;
    margin-top: 0px;
    color: #000000;
}

.breadcrumb-item.active {
    color: #c40334;
}

.title-detail {
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    border-left: 13px solid #0ba277;
    padding-left: 5px;
}

.detail-top {
    /* background: #fef4f4; */
    padding: 15px;
}

.bg-detail {
    background: #fef4f4;
}

.logo-web {
    width: 240px;
}

.navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
}
.box-hilight{
    min-height: 330px;
}
.box-category a {
    min-height: 222px;
}
.navbar .main-menu .nav-item.dropdown:hover > .dropdown-menu {
    /* display: block; — ย้ายไปจัดการผ่าน JS แทน เพื่อให้ position: fixed ทำงานได้ */
    right: 0;
    left: auto;
    margin-top: 2px;
}

.navbar .main-menu .dropdown-menu[data-bs-popper] {
    margin-top: 2px;
}

.navbar .main-menu .dropdown-item:hover {
    /* background-color: #0ba277; */
    color: #fff;
}

.navbar .main-menu .dropdown-item.active {
    background-color: var(--bs-dropdown-link-hover-bg);
    color: #c40334;
}

.breadcrumb-item {
    cursor: pointer !important;
}

.block-share-social{
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-red {
    color: #c40334;
}

.btn-json {
    background: #8352DE;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-detail,
.mini-box {
    background: #F5F6F7;
}

.page-banner .page-banner-title {
    background: #ffffffb3;
    padding: 30px;
    width: auto;
}

.cc-img{
    width: 250px;
}

.image-center{
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-relative {
    width: 100px;
    height: 100px;
}

.select2-container--default .select2-selection--multiple {
    background: rgba(244, 254, 251, 1) !important;
    border: 1px solid rgba(11, 162, 119, 1) !important;
    /* border: 1px solid #aaa; */
    border-radius: 0px !important;
    cursor: text;
}

.select2-selection__choice {
    display: flex;
    align-items: center;
    flex-direction: row-reverse; /* Moves the "×" to the end */
    font-weight: 300;
}

.select2-selection__choice__remove {
    margin-left: 8px; /* Adjust space between text and "×" */
    cursor: pointer;
    color: #000000 !important;
    font-weight: 100 !important;
    font-size: 28px !important;
    margin-top: -5px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border: none !important;
    line-height: 22px;
    color: #000;
    border-radius: 5px !important;
    background: #ebeef4 !important;
    white-space: normal;
    width: auto;
    max-width: 215px;

}

.select2Keyword .select2-selection {
    position: relative;
    padding-right: 30px;
}

.select2-container--open::after {
    display: none;
}

.select2-container::after {
    content: url("data:image/svg+xml,%3Csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.58337 10.8333L13 16.25L18.4167 10.8333' stroke='%230BA277' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    position: absolute;
    right: 10px;
    top: 55%;
    transform: translateY(-50%);
    pointer-events: none;
}

.select2-container--disabled .select2-selection {
    background-color: #f5f5f5 !important;
}

.page-link:hover {
    background-color: #cccccc !important;
}

.relative-title{
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.page-banner.search-page {
    background-image: 
        linear-gradient(0.34deg, rgba(255, 255, 255, 0) 0.7%, rgba(0, 91, 65, 0.5) 100.12%),
        url("../images/web/p1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-banner.detail-page {
    background-image: 
        linear-gradient(0.34deg, rgba(255, 255, 255, 0) 0.7%, rgba(0, 91, 65, 0.5) 100.12%),
        url("../images/web/p2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.text-black{
    color: #000000;
}

.search-count{
    font-size: 22px;
    color: #000000;
}

.input-container {
    display: flex;
    gap: 8px;
}
  
.input-wrapper {
    position: relative;
    flex-grow: 1; /* Ensures input fills available space */
}
  
.text-input-search {
    width: 100%;
    padding-right: 24px; /* Space for clear button */
}
  
.btn-submit {
    display: flex;
    align-items: center;
}

.badge-new-item {
    /* font-size: 16px;
    position: absolute;
    background: #A20B36D9;
    width: 95px;
    height: 65px;
    color: #fff;
    top: 5px;
    left: 70px;
    gap: 0px;
    opacity: 0px;
    text-align: center; */

    font-size: 16px;
    position: absolute;
    background: #A20B36D9;
    width: 95px;
    height: 65px;
    color: #fff;
    top: 5px;
    left: 70px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.text-green {
    color: #0ba277;
}
.box-right {
    position: relative;
}

.position-absolute-bottom {
    position: absolute;
    bottom: 10px;
    width: 95%;
    font-size: 14px;
}

.search-tag-result {
    display: flex;
    align-items: baseline;
}

.select2-container {
    width: 100% !important;
}

.block-ai-generate{
    display: flex;
    justify-content: center;
}

.block-ai-generate div{
    background: #E7F8F3;
    width: 400px;
    padding: 5px;
    color: #000000;
    border-radius: 5px;
}

.block-hilight-search .clear-button {
    right: 25px;
}

.border-red {
    border-color: #dc3546 !important;
}

.oecd_title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.btn-filter-list:hover {
    cursor: default;
    border: 1px solid #35A20B;
    border-radius: 50px;
    --bs-btn-padding-x: 25px;
}

.new-detail-img{
    height: 400px;
}

.box-category div {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    justify-content: center;
}

.box-category div:nth-child(3n) {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    justify-content: center;
}

.nav-wrapper {
    overflow-x: auto;
    white-space: nowrap;
}

.nav-pills {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.nav-pills .nav-item {
    flex-shrink: 0;
}

.nav-pills .nav-link {
    white-space: nowrap;
}

.fb-comments span iframe {
    width: 100% !important;
}

.block-form-request input,
.block-form-request textarea {
    border-radius: 0px;
}

.block-form-request input::placeholder,
.block-form-request textarea::placeholder {
    color: #D9D9D9 !important;
}

.input-page {
    width: 45px;
}

.box-filter-result{
    min-height: 150px;
    margin-bottom: 15px;
}

.box-filter-result .box-content{
    border-right: 4px solid #c40334;
    background: #fef4f4;
    padding: 10px;
    height: 165px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    width: 95% !important;
}

.block-dashboard,
.bg-dashboard {
    background-color: #f4f5f5;
}

.block-dashboard iframe {
    width: 100%;
    min-height: 1920px;
    height: auto;
    border: none;
    overflow: hidden;
}

.block-dashboard iframe body {
    background-color: #ffffff;
}

.text-cc{
    color: #707070;
}

.divider-text {
    position: relative;
    /* text-align: center; */
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 20px;
}
.divider-text span {
    padding: 7px;
    position: relative;
    z-index: 2;
    background: #fef4f4;
    font-size: 18px;
    font-weight: 500;
}
.divider-text:after {
    content: "";
    position: absolute;
    width: 100%;
    border-bottom: 1px solid #ddd;
    top: 55%;
    /* left: 0; */
    left: -20px;
    z-index: 1;
}

.text-header {
    font-weight: 400 !important;
    color: #c40334;
}

.latest-courses-slide .box-card .box-card-content:hover {
    background: rgb(34, 81, 153);
    color: #fff;
}

.latest-courses-slide .box-card .box-card-content:hover h3{
    color: rgb(250, 208, 44);
}

.bg-yellow {
    background-color: #FBCE4B;
    padding: 12px;
}
.bg-mint {
    background-color: #66B0BD;
    padding: 12px;
}
.bg-navy-blue {
    background-color: #3E6BAC;
    padding: 12px;
}

.body-dashboard-yellow{
    background-color: #FFFCF2;
}
.body-dashboard-mint {
    background-color: #F4F9FA;
}
.body-dashboard-navyblue {
    background-color: #F1F4FA;
}

.block-data-yellow {
    background-color: #FDE7A5;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 78px;
}

.block-data-yellow-light {
    background-color: #FEF1CC;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 78px;
}

.block-data-mint {
    background-color: #B2D8DE;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 78px;
}

.block-data-mint-light {
    background-color: #DEEEF1;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 78px;
}

.block-data-navyblue {
    background-color: #B7CAE5;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 78px;
}

.block-data-navyblue-light {
    background-color: #D4DFEF;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 78px;
}

.bg-head-type-yellow {
    background-color: #CE9B04;
    padding: 12px;
    color: #fff;
    font-weight: 500;
}
.bg-head-type-navyblue {
    background-color: #2C4D7B;
    padding: 12px;
    color: #fff;
    font-weight: 500;
}

.text-sys-red {
    color: #C40234;
}

.box-desc-dashbaord{
    border-left: 4px solid #c40334;
    background: #fef4f4;
    padding: 10px;
    margin-bottom: 10px;
}

.h-78{
    height: 78px;
}

.h-102{
    height: 102px;
}

.h-124{
    height: 124px;
}

.h-172{
    height: 172px;
}

.img-detail-research-paper {
    width: 40%;
}

.item-dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
}

.padding-dashboard,
.container-detail {
    padding: 0px 100px;
}

.title-block-dashboard-yellow {
    /* background-color: #FBCE4B;
    color: #fff;
    font-size: 22px;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 400; */

    background-color: #FBCE4B;
    color: #fff;
    font-size: 15px;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 400;
}

.data-block-dashboard-yellow {
    /* background-color: #fde7a5;
    height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; */

    background-color: #fde7a5;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.title-block-dashboard-mint {
    background-color: #66b0bd;
    /* color: #fff;
    font-size: 22px;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 400; */

    color: #fff;
    font-size: 15px;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 400;
}

.data-block-dashboard-mint {
    background-color: #b2d8de;
    /* height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; */

    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.title-block-dashboard-navyblue {
    background-color: #3e6bac;
    /* color: #fff;
    font-size: 22px;
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 400; */

    color: #fff;
    font-size: 15px;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 400;
}

.data-block-dashboard-navyblue {
    background-color: #b7cae5;
    /* height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; */

    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.block-search-education{
    background-color: #FDE7A5;
    height: 100%;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; */
}
.block-search-tpqi {
    background-color: #B2D8DE;
    height: 100%;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; */
}
.block-search-dsd {
    background-color: #B7CAE5;
    height: 100%;
    /* display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; */
}

.div-table-detail {
    background: #fef4f4;
    padding: 15px;
}

.scrollable-div {
    /* width: 1200px; */
    /* overflow-x: auto; */
    /* white-space: nowrap; */
}

.accordion-button {
    background-color: #3c74c8 !important;
    color: #fff !important;
    font-size: 18px !important;
}

.accordion-button::after {
    content: '\f078';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: white !important;
    /* font-size: 20px; */
    font-size: 19px;
}

.accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: unset !important;
}

.color-link {
    color: #0D6EFD;
}

.image-banner-bottom{
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.image-banner-bottom:hover {
    transform: scale(1.1); /* ซูมรูปขนาด 1.1 เท่า */
}

.border-radius-20{
    border-radius: 20px;
}

.image-logo-org {
    width: 150px !important;
}

.img-h370 {
    height: 370px !important;
}

@media (max-width: 1440px) {
    .block-dashboard {
        overflow: scroll;
    }
}
@media (max-width: 1024px) {
    .badge-new-item {
        /* left: 18px; */
        left: calc(100% - 95%);
    }

    .padding-dashboard, .container-detail {
        padding: 0px 0px;
    }
    
    .scrollable-div {
        width: 1400px;
        padding: 0px 50px;
    }
}

@media (max-width: 992px) {
    .box-right {
        width: calc(100% - 0px);
    }

    .navbar .nav-sbs {
        overflow-x: hidden;
    }
    .navbar .main-menu .nav-link, .navbar .main-menu .nav-link {
        padding-left: 10px;
    }

    .navbar .main-menu .dropdown-item {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .box-one-hilight {
        width: 100%;
    }

    .block-dashboard iframe {
        min-height: 4220px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .badge-new-item {
        /* left: 18px; */
        left: calc(100% - 82%);

    }
}
@media (max-width: 768px) {
    .scrollable-div {
        overflow-x: scroll; /* ใช้ scroll เมื่ออยู่ในมือถือ */
    }
    .box-filter-result .box-image {
        display: block;
    }

    .box-one-public {
        width: 600px;
    }

    .badge-new-item {
        left: 66px;
    }

    .logo-web {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* .scrollable-div {
        width: 1200px;
    } */
}

@media (max-width: 767px) {
    .badge-new-item {
        left: calc(100% - 97%);
    }
}

@media (max-width: 425px) {
    .logo-web {
        width: 225px;
    }
    
    .box-filter-result.d-flex {
        display: block !important;
        height: auto;
    }

    .btn-view-all a.link-all {
        margin-top: 5px !important;
    }

    .new-icon {
        width: 50px;
        top: -7px;
        left: -1px;
    }

    .box-right {
        /* height: 180px; */
        height: auto;
    }

    .box-content{
        height: 200px;
    }

    .search-cover {
        width: 100% !important;
    }

    .badge-new-item {
        left: 18px;
    }
    
    .oecd_title{
        font-size: 18px !important;
    }
}

@media (max-width: 375px) {
    .owl-dots .owl-dot span {
        width: 35px;
    }

    .padding-dashboard {
        padding: 0px 0px;
    }
}

@media (max-width: 320px) {
    .position-absolute-bottom {
        font-size: 12px !important;
        width: 90%;
    }

    .owl-dots .owl-dot span {
        width: 25px;
    }

    .oecd_title{
        font-size: 12px !important;
    }
}