body {
    background-color: #eee !important;
}

.form-group {
    margin-bottom: 1rem;
}

.control-label {
    font-weight: 600;
}

.help-block {
    color: red;
}

.no-padding-side {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.padding-tb-05 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.padding-tb-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.padding-b-0 {
    padding-bottom: 0 !important;
}

.padding-t-0 {
    padding-top: 0 !important;
}

.margin-b-0 {
    margin-bottom: 0 !important;
}

.margin-tb-05 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.margin-tb-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.content-full-width {
    padding: 0;
    width: 100%;
}

.menu-content {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.row-map {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.custom-text-summary {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* number of lines to show */
    -webkit-box-orient: vertical;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.custom-menu {
    background-color: #f3f3f3;
    border-bottom: #1778F9 3px solid;
}

.custom-nav-link {
    margin-bottom: 0;
    margin-top: 0;
    border-radius: 0;
    color: black;
    padding: 10px 15px;
}

.custom-nav-link.active {
    background-color: #1778F9;
    color: #ffffff;
}

.custom-nav-link:hover {
    background-color: #1778F9;
    color: #ffffff;
}

.content-header-top {
    height: 40px;
    background-color: #1778F9;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.25;
}

.display-6 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.25;
}

.banner-block-list {
    display: flex;
    flex-direction: column;
    padding: 0px;
    margin-top: 2px;
    border-left: 1px solid rgba(0, 0, 0, 0.0705882);
}

/* line 1005, demo/static/demo/css/main.scss */
.banner-block-list .banner-block {
    overflow: hidden;
    border-bottom: solid 1px rgba(255, 255, 255, 0.27);
    border-bottom-style: dashed;
    background-color: #1677F8;
    vertical-align: middle;
    /*background-image: url(http://demo.interface.club/limitless/assets/images/bg.png);*/
    /*background-repeat: repeat;*/
}

.banner-block-list .banner-block .icon {
    position: absolute;
    right: 10px;
    color: rgba(14, 14, 14, 0.06);
    bottom: 5px;
}

/* line 1018, demo/static/demo/css/main.scss */
.banner-block-list .banner-block .icon i {
    font-size: 45px;
}

/* line 1022, demo/static/demo/css/main.scss */
.banner-block-list .banner-block .heading {
    padding: 15px;
    color: white;
    font-weight: 900;
    font-size: 15px;
    /*font-family: 'Montserrat';*/
}

/* line 1031, demo/static/demo/css/main.scss */
.banner-block-list .banner-block .heading a {
    color: white;
}

/* line 1036, demo/static/demo/css/main.scss */
.banner-block-list .banner-block:last-child {
    border-bottom: none;
}

/* line 1039, demo/static/demo/css/main.scss */
.banner-block-list .banner-dichvucong {
    background-color: #3F93DF;
}

/* line 1042, demo/static/demo/css/main.scss */
.banner-block-list .banner-phattriencn {
    background-color: #3F93DF;
}

/* line 1045, demo/static/demo/css/main.scss */
.banner-block-list .banner-nckh {
    background-color: #3F93DF;
}

/* line 1048, demo/static/demo/css/main.scss */
.banner-block-list .banner-doimoisangtao {
    background-color: #3F93DF;
}

@media (max-width: 768px) {

    /* line 1054, demo/static/demo/css/main.scss */
    .banner-block-list {
        padding-left: 0px;
    }
}

.clickable {
    width: 100%;
    height: 100%;
    /*Important:*/
    position: relative;
    margin-bottom: 0px;
}

.link-spanner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.btn-options {
    width: 2rem;
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.select2-selection--multiple {
    height: 38px;
}

.select2-search__field {
    padding: .375rem .75rem !important;
    font-size: 1rem !important;
    font-weight: 400;
    line-height: 1.5 !important;
    margin: 0 !important;
    height: 36px !important;
}

.nav-main-submenu {
    width: max-content !important;
}

.nav-main-submenu .nav-main-link {
    font-size: 1rem;
    color: rgb(12, 40, 77);
}

.select2-selection--single {
    padding-right: 2rem !important;
}

.text-right {
    text-align: right !important;
}

.kv-editor-container .note-editable {
    font-family: Nunito !important;
    font-size: 1rem !important;
}

.block-themed>.block-header .block-content {
    border: 1px solid #0665d0 !important;
}

.block-content>p {
    margin-bottom: 0rem;
}

.block-rounded-dost {
    border-radius: var(--bs-border-radius-lg) !important;
}

.block-rounded-dost>.block-header {
    border-top-left-radius: var(--bs-border-radius-lg) !important;
    border-top-right-radius: var(--bs-border-radius-lg) !important;
}

.block-rounded-dost:not(:has(.block-header))>.block-content:first-child {
    border-radius: var(--bs-border-radius-lg) !important;
}

.block-rounded-dost>.block-content:last-child {
    border-bottom-left-radius: var(--bs-border-radius-lg) !important;
    border-bottom-right-radius: var(--bs-border-radius-lg) !important;
}

.block-rounded-dost>div:last-child {
    border-bottom-left-radius: var(--bs-border-radius-lg) !important;
    border-bottom-right-radius: var(--bs-border-radius-lg) !important;
}

.block-rounded-dost>.block-content:last-child>div {
    border-bottom-left-radius: var(--bs-border-radius-lg) !important;
    border-bottom-right-radius: var(--bs-border-radius-lg) !important;
}

/* Overlay phủ toàn trang */
.global-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    visibility: visible;
    backdrop-filter: blur(3px);
}

/* Khi ẩn: fade-out mượt */
.global-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Loader kiểu progress bar */
.loader {
    width: 120px;
    height: 22px;
    border-radius: 20px;
    color: #0665d0;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.loader::before {
    content: "";
    position: absolute;
    margin: 2px;
    inset: 0 100% 0 0;
    border-radius: inherit;
    background: currentColor;
    animation: l6 2s infinite;
}

@keyframes l6 {
    100% {
        inset: 0;
    }
}

.loading-text {
    margin-top: 1rem;
    font-weight: 500;
    color: #0665d0;
    font-family: 'Nunito', sans-serif;
    animation: fadeText 1.6s ease-in-out infinite alternate;
}

@keyframes fadeText {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

.note-editor .note-editable {
    font-family: 'Nunito', sans-serif !important;
    font-size: 15px;
    line-height: 1.6;
}

.text-justify {
    text-align: justify !important;
}

.select2-search__field {
    width: 100% !important;
}

.text-truncate-toggle {
    /* Tạo dấu ... ở dòng thứ 3 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    /* UX: Con trỏ chuột để người dùng biết click được */
    cursor: pointer;

    /* Hiệu ứng khi hover để biết là nút bấm */
    transition: background-color 0.2s;
    padding: 5px;
    border-radius: 4px;
}

.text-truncate-toggle:hover {
    background-color: #f8f9fa;
    /* Màu nền nhẹ khi rê chuột */
    color: #0d6efd;
    /* Đổi màu chữ xanh cho giống link */
}

/* TRẠNG THÁI MỞ (Khi có class expanded) */
.text-truncate-toggle.expanded {
    display: block;
    /* Bỏ display box cũ */
    -webkit-line-clamp: unset;
    /* Bỏ giới hạn dòng */
    overflow: visible;
}