.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;
    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: #0ba277;
}

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

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

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

.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 */
}
  
.clear-button {
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 30px;
    color: #888;
    cursor: pointer;
    padding: 0;
}
  
.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{
    height: 200px;
}

.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;
}

.pipLineBetween {
    margin: 0px 5px;
    font-size: 26px !important;
}

.bl-login {
    border-left: 1px solid #FFF;
    padding-left: 10px;
}

.bl-login span {
    margin-top: -1px;
}

.bl-login a:hover {
    color: #8BFFDE; /* เปลี่ยนสีข้อความ */
}

.bl-login a:hover svg path {
    fill: #8BFFDE; /* เปลี่ยนสีของ path ใน SVG */
}


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

@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) {
    .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;
    }
}

@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;
    }
}

@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;
    }
}