:root {
    --bg-main-color: rgb(39, 54, 121);
    --text-white: #ffffff;
    --text-theme-color: var(--bg-main-color);
    --hover-bg-fade: #dedede;
}

.text-color-theme {
    color: var(--bg-main-color);
}

.border-color-blue {
    background-color: #273679a8 !important;
}

.form-banner {
    width: 100%;
    height: 22rem;
    background-color: #3c3c7d;
}

.btn-submit {
    padding: .5rem 4rem .5rem 4rem;
    background-color: var(--bg-main-color) !important;
    color: #fff;
    border: none;
}

.btn-submit:hover {
    background-color: rgb(24, 34, 79) !important;
}

.btn-submit:disabled {
    background-color: rgb(130 140 185) !important;
}

.share-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
}

.share-icons a img {
    width: 2rem;
    height: 2rem;
}

.border-top-theme {
    height: .4rem;
    background-color: var(--bg-main-color)
}

.border-top-small {
    height: .1rem;
    background-color: #ccc
}

.lt-1 {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lt-3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lt-4 {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-title {
    border-left: 10px solid #7d7d7d;
    background-color: rgb(39, 54, 121);
    color: #fff;
}

.badge-featured-mews {
    color: #fff;
    background-color: var(--bg-main-color);
    padding: 0.2rem 3rem 0.2rem 1rem;
    display: inline-block;
    position: relative;
}

.hover-bg-fade {
    transition: cubic-bezier(0.31, 0.63, 0, 0.99) 0.7s;
}

.hover-bg-fade:hover {
    background-color: var(--hover-bg-fade);
    transform: translateY(-10px);
}

.research-item {
    width: 300px;
}

.slide-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.slide-image-container:hover {
    background-color: #eee;
}

.slide-image-container .nav-link,.text-theme-color {
    color: var(--text-theme-color);
}

.slide-image-container:hover .nav-link {
    text-decoration: underline;
    font-weight: bold !important;
}

.slide-card {
    width: 100%;
    height: 100%;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide-card > img {
    max-width: 170px;
}

.flex-column-space-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-head-title {
    border-bottom: solid 3px #fff;
    width: auto;
    display: inline-block;
}

.copyright {
    background-color: #535353;
    text-align: center;
    color: #fff;
}

.mobile-search-bar {
    display: none;
}

.image-fit-content {
    width: fit-content;
    max-width: 100%;
}

.contact-us-address,.form-report {
    width: 70%;
    margin: 0 auto;
    height: auto;
    background-color: #fff;
    border: #273679 1px solid;
    border-top: #273679 1rem solid;
    position: relative;
    margin-top: -90px;
}

.float-button {
    padding: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    font-size: .9em;
    /* line-height: 100px; */
    background-color: #000;
    border-radius: 100%;
    position: fixed;
    z-index: 100;
    right: 16px;
    bottom: 50px;
    text-align: center;
    /* border: #0fd0e5 4px solid;
    color: #0fd0e5; */
    outline: none;
    line-height: 12px;
    text-decoration: none;
    animation: swap-bgcolor 1.3s 1.3s infinite;
    /* transition: all .3s ease-in-out; */
}

/* .float-button:hover{
    color: #4CAF50 !important;
    border: #4CAF50 4px solid;
} */
@-webkit-keyframes swap-bgcolor {
    0% {
        color: #ff1010 ;
        border: #ff1010 4px solid ;
    }

    50% {
        border: #0fd0e5 4px solid ;
        color: #0fd0e5 ;
    }

    100% {
        color: #ff1010 ;
        border: #ff1010 4px solid ;
    }
}

.sarabun-thin {
    font-family: "Sarabun", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

.article-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.article-section-bg {
    /* width:100%; */
}

.disabled-bg{
    position:relative
}
.disabled-bg img.article-section-bg {
    display:none
}

.disabled-bg .content{
    position: relative !important;
    padding: 40px 0px 40px 0px;
}
.article-section .content {
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fs-16px {
    font-size: 16px;
}
.main-site{
    overflow: hidden;
}
.image-new-description {
    width: auto;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.inline-text-overflow {
    width: 250px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.image-auto-width img {
    max-width: 100% !important;
    height: unset !important;
}

.tags-item {
    display: inline-block !important;
    border: #273679 1px solid !important;
    border-radius: 0px !important;
    padding: 5px;
    width: auto !important;
    height: auto !important;
}

.tags-item:hover {
    background-color: #273679 !important;
    color: #fff;
}
a.btn-report{
    color: red !important;
    border: red 1px solid !important;
    border-radius: 10px !important;
    height: 50px !important;
}

.main-container{
    width: 100%;
    overflow: hidden;
}

.pagination {
    display: flex;
    justify-content: center;
}

@media (max-width: 480px) {
    .float-button .fas {
        display: none;
    }

    .float-button {
        font-size: 20px;
        transform: scale(.8);
        line-height: 20px;
        padding-top: 0px;
    }

 
}

@media (max-width: 768px) {
    .mobile-search-bar {
        display: flex;
    }

    .clearfix.lt-3 {
        display: none !important
    }

    .form-report{
        width: 95%;
    }

    .form-report .container{
        width: 100%;
        max-width: 100%;
    }
}
