a {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

[class*=sidebar-dark-] .sidebar a {
    color: #fff;
}

[class*=sidebar-dark] .brand-link {
    border-bottom: 1px solid #fff;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link {
    color: #fff;
}

.bg-red-alert {
    background-color: #ffe2e5!important;
}

.cl-red {
    color: #f64e60!important;
}

.bg-bank {
    background-color: #f5f7fa!important;
}

.text-info {
    color: var(--primary)!important;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary {
    background-color: var(--primary)!important;
    border-color: var(--primary)!important;
}

.card-primary.card-outline {
    border-top: 3px solid var(--primary);
}

h1.title {
    color: var(--primary);
    text-transform: capitalize;
}

[type=checkbox],
[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

[type=checkbox]+img,
[type=radio]+img {
    cursor: pointer;
    width: 44px;
    display: inline-block;
    border-radius: 100%;
}

.telegram-reactions [type=checkbox]+img,
.telegram-reactions [type=radio]+img {
    padding: 5px;
}

[type=checkbox]:checked+img,
[type=radio]:checked+img {
    border: 2px solid var(--primary);
    margin-bottom: 10px;
}

.info-total {
    font-size: 25px;
    line-height: 35px;
}

.bg-primary {
    background-color: var(--primary)!important;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.btn-circle.btn-lg {
    width: 45px;
    height: 45px;
    padding: 14px 0;
    font-size: 15px;
    line-height: 1.33;
    border-radius: 25px;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    font-size: 24px;
    line-height: 1.33;
    border-radius: 35px;
}

.badge-primary {
    background-color: var(--primary)!important;
}

label.error {
    color: #f64e60!important;
    margin-bottom: 0;
}

input.error,
select.error,
textarea.error {
    border-color: #f64e60!important
}

.info-box .info-box-text,
.info-box .progress-description {
    white-space: normal;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    padding: .46875rem .75rem;
    height: calc(2.25rem + 2px);
}

.text-green-600 {
    color: var(--primary);
}

.status {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.status-4 {
    color: #fff;
    background-color: #dc3545;
}

.status-3 {
    color: #fff;
    background-color: #343a40;
}

.status-2 {
    color: #fff;
    background-color: #28a745;
}

.status-1 {
    color: #212529;
    background-color: #ffc107;
}

.w-30 {
    width: 30px;
}

#comment-text {
    white-space: pre-line;
}

body {
    font-family: "Roboto", sans-serif;
}

.nav-link {
    padding: .5rem;
}

.sidebar-collapse .nav-link {
    padding: .5rem 1rem;
}

.main-sidebar-custom .sidebar-custom {
    background: var(--primary);
}

[class*=sidebar-dark] .sidebar-custom {
    border-top: 1px solid #ffffff;
}

.timeline .timeline-body p {
    margin-bottom: .25rem;
}

.post p {
    margin-bottom: .5rem;
}

.post .user-block .username {
    margin-top: 0px;
}

.break-all {
    word-break: break-all;
}

tr[data-url] {
    cursor: pointer;
}

.direct-chat-msg.left {
    margin-right: auto;
    max-width: 500px;
}

.direct-chat-msg.right {
    margin-left: auto;
    max-width: 500px;
}

.copy-link {
    padding: .25rem .35rem;
    font-size: .8rem;
}

.popover {
    font-size: .99rem;
    box-shadow: 0 5px 50px rgb(4 123 248 / 30%);
    border: none;
}

.popover-header {
    color: #fff;
    background-color: var(--primary);
    font-size: .9rem;
    padding: 10px;
}

.popover-body {
    padding: 10px;
}

.popover-body p {
    margin-bottom: .25em;
}

.popover-body dl,
.popover-body ol,
.popover-body ul {
    margin: 0;
    padding: 0;
    padding-left: 20px;
    padding-bottom: 0;
}

.bs-popover-auto[x-placement^=right]>.arrow::before,
.bs-popover-right>.arrow::before,
.bs-popover-auto[x-placement^=left]>.arrow::before,
.bs-popover-left>.arrow::before,
.bs-popover-auto[x-placement^=top]>.arrow::before,
.bs-popover-top>.arrow::before {
    border-color: transparent;
}

.bs-popover-auto[x-placement^=bottom] .popover-header::before,
.bs-popover-bottom .popover-header::before {
    border-bottom: 1px solid var(--primary);
}

.bs-popover-auto[x-placement^=bottom]>.arrow::after,
.bs-popover-bottom>.arrow::after {
    border-bottom-color: var(--primary);
}

.card-widget p {
    margin-bottom: .25rem!important;
}

.table-bordered thead td,
.table-bordered thead th {
    border-bottom-width: 1px;
}

table.dataTable.cell-border tbody th,
table.dataTable.cell-border tbody td {
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

table.dataTable.cell-border tr th:first-child,
table.dataTable.cell-border tr td:first-child {
    border-left: 1px solid #ddd;
}

table.dataTable.cell-border tbody tr:first-child th,
table.dataTable.cell-border tbody tr:first-child td {
    border-top: none;
}

table.dataTable.cell-border tbody tr:last-child th,
table.dataTable.cell-border tbody tr:last-child td {
    border-bottom: 1px solid #ddd;
}

#dataTable th,
#dataTable td {
    vertical-align: middle!important;
}

.btn-logout {
    padding: 5px 5px 5px 10px;
}

.user-panel .pos-right {
    position: absolute;
    right: .5rem;
}

img.d-logo {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
    display: block;
}

img.d-icon {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
    display: none;
}

.sidebar-collapse .hide-on-collapse {
    display: none!important;
}

.sidebar-collapse .show-on-collapse {
    display: block!important;
}

.sidebar-collapse .d-account {
    margin: 0 auto;
}

.sidebar-collapse .main-sidebar:hover .hide-on-collapse {
    display: block!important;
}

.sidebar-collapse .main-sidebar:hover .show-on-collapse {
    display: none!important;
}

.sidebar-collapse .main-sidebar:hover .d-account {
    margin: 0;
}

img.w-30 {
    width: 30px;
}

.w-20 {
    width: 20px;
}

.link-black:focus,
.link-black:hover {
    color: var(--primary);
}

.total-price {
    width: 100%;
    padding-top: 10px;
    font-size: 37px;
    font-weight: 400;
    line-height: 40px;
}

@media (max-width: 768px) {
    .link-affiliate {
        flex-direction: column;
    }
    .link-affiliate .input-group-prepend .input-group-text,
    .link-affiliate .input-group-append .btn,
    .link-affiliate input.form-control {
        width: 100%;
        text-align: center;
    }
    .link-affiliate .input-group-prepend {
        margin-right: 0;
    }
    .link-affiliate .input-group-append {
        margin-left: 0;
    }
    .link-affiliate .input-group-prepend .input-group-text {
        display: block;
        border-radius: 0;
        border-bottom: 0;
    }
    .link-affiliate .input-group-append .btn,
    .link-affiliate input.form-control {
        border-radius: 0;
    }
    h3.affiliate-value {
        font-size: 1.8em;
    }
    .border-right-sm-0 {
        border-right: 0!important;
    }
    .border-bottom-sm-0 {
        border-bottom: 0!important;
    }
}

@media (max-width: 368px) {
    h3.affiliate-value {
        font-size: 1.4em;
    }
}

@media (min-width: 768px) {
    .border-md-right {
        border-right: 1px solid #dee2e6!important;
    }
    .border-md-left {
        border-left: 1px solid #dee2e6!important;
    }
    .border-right-md-0 {
        border-right: 0!important;
    }
}

.tox-statusbar__branding {
    display: none;
}

.direct-chat-text img {
    max-width: 100%;
    height: auto;
}

.user-panel {
    width: 100%;
}

.alert a {
    color: var(--primary);
    text-decoration: none;
}

.post-thumbnail {
    width: 100%;
    padding-top: 75%;
    position: relative;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    -o-object-fit: cover;
}

.card-category .list-group-item.active {
    color: #495057;
    background-color: #fff;
    border-color: var(--primary);
    border-left-width: 5px;
    border-bottom-color: rgba(0, 0, 0, .125);
    border-top-color: rgba(0, 0, 0, .125);
}

.nav-pills .nav-link:not(.active):hover {
    color: var(--primary);
}

.mh-50 {
    min-height: 55px;
}

.direct-chat-msg.right a {
    color: #444;
}

.direct-chat-text p {
    margin-bottom: 0.5em;
}

#modalServer p {
    margin-bottom: 0.5em;
}

.swal2-html-container p {
    margin-bottom: 0.5em;
}

img.qr-code {
    width: 130px;
    height: auto;
}


/* Contact button */

.contact-button-group {
    right: 25px;
    bottom: 25px;
    display: flex;
    z-index: 99999;
    position: fixed;
    transition: all 250ms ease-in-out 0s;
    flex-direction: column-reverse;
}

.contact-head:hover {
    box-shadow: rgb(0 0 0 / 25%) 0px 5px 11px 1px;
}

.contact-head {
    color: rgb(255, 255, 255);
    width: 56px;
    cursor: pointer;
    height: 56px;
    margin: 0px auto;
    display: block;
    z-index: 9999;
    position: relative;
    box-shadow: rgb(0 0 0 / 20%) 0px 2px 6px 1px;
    text-align: center;
    transition: all 250ms ease-in-out 0s;
    visibility: visible;
    user-select: none;
    border-radius: 50%;
    background-size: cover;
    text-decoration: none;
    background-color: #dc3545;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center center;
    outline: none !important;
    max-width: none !important;
}

.contact-head-icon {
    top: 50%;
    left: 50%;
    color: rgb(255, 255, 255);
    z-index: 1;
    position: absolute;
    font-size: 25px;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: all 250ms ease-in-out 0s;
}

.contact-head-label {
    opacity: 1;
    visibility: visible;
}

.contact-head-label {
    top: 50%;
    color: rgb(255, 255, 255);
    right: 65px;
    margin: 0px;
    padding: 5px 15px;
    z-index: 1;
    position: absolute;
    font-size: 12px;
    transform: translateY(-50%);
    background: #dc3545;
    box-shadow: none;
    text-align: end;
    transition: all 0.2s ease-out 0s;
    font-family: unset;
    line-height: initial;
    white-space: nowrap;
    border-radius: 3px;
}

.contact-button {
    color: rgb(255, 255, 255);
    width: 42px;
    cursor: pointer;
    height: 42px;
    margin: 0px auto 10px;
    display: block;
    opacity: 1;
    position: relative;
    box-shadow: rgb(0 0 0 / 20%) 0px 2px 6px 1px;
    text-align: center;
    transition: all 250ms ease-in-out 0s;
    visibility: visible;
    user-select: none;
    border-radius: 50%;
    background-size: cover;
    text-decoration: none;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center center;
    outline: none !important;
    max-width: none !important;
}

.button-icon {
    top: 50%;
    left: 50%;
    z-index: 1;
    position: absolute;
    font-size: 16px;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: all 0.2s ease-out 0s;
}

.contact-label {
    top: 50%;
    color: rgb(255, 255, 255);
    right: 51px;
    margin: 0px;
    padding: 5px 15px;
    z-index: 1;
    position: absolute;
    font-size: 12px;
    transform: translateY(-50%);
    box-shadow: none;
    text-align: end;
    transition: all 0.2s ease-out 0s;
    font-family: unset;
    line-height: initial;
    white-space: nowrap;
    border-radius: 3px;
    min-width: 117px;
}

.button-closed {
    opacity: 0;
    visibility: hidden;
    margin-bottom: -42px;
    pointer-events: none;
}

.button-closed .contact-label {
    opacity: 0;
    visibility: hidden;
}

.button-head-opened .contact-head-label {
    opacity: 0;
    visibility: hidden;
}

.zalo-button,
.zalo-button .contact-label {
    background: rgb(0, 145, 255);
}

.zalo-button .button-icon {
    width: 25px;
    height: 9px;
}

.group-zalo-button,
.group-zalo-button .contact-label {
    background: #0276e5;
}

.messenger-button,
.messenger-button .contact-label {
    background: rgb(0, 106, 255);
}

.telegram-button,
.telegram-button .contact-label {
    background: rgb(0, 136, 204);
}

.facebook-button,
.facebook-button .contact-label {
    background: rgb(66, 103, 178);
}

.youtube-button,
.youtube-button .contact-label {
    background: rgb(250, 69, 69);
}

.ticket-button,
.ticket-button .contact-label {
    background: #ffc107;
    color: #1f2d3d;
}

.phone-button,
.phone-button .contact-label {
    background: rgb(250, 69, 69);
}

.mobile-logo {
    transform: translateX(-50%);
    left: 50%;
    position: absolute;
}

.mobile-logo img {
    max-height: 40px;
    width: auto;
}

.post-link {
    position: relative;
    min-width: 200px;
}

@media (max-width: 768px) {
    .post-link {
        min-width: 100px;
    }
}

.post-link-input {
    border-radius: 100px;
    padding-right: 40px;
    text-align: center;
}

.post-link-btn {
    position: absolute;
    right: 4px;
    top: 4px;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}

#form-register input::placeholder,
#form-login input::placeholder {
    font-size: 0.9rem;
}

.text-logo {
    text-align: center;
    font-weight: bold;
    font-size: 27px;
    margin: 0 auto;
    display: none;
}

.server-short-description {
    background-color: #ffe2e5!important;
    padding: 0.65rem;
}

.server-short-description p {
    margin-bottom: 0;
}

.dropdown-menu .dropdown-divider:last-child {
    display: none;
}

#google_translate_element span {
    display: none;
}

.goog-te-gadget {
    color: transparent!important;
    font-size: 0.0001em!important;
}

.goog-te-gadget select {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.goog-te-gadget .goog-te-combo {
    margin: 4px auto!important;
}

.content iframe {
    max-width: 100%;
}


/*home service*/

.service-dark-primary,
.service-dark-primary>a,
.service-dark-secondary,
.service-dark-secondary>a {
    color: #fff!important;
}

.service-dark-primary {
    background-color: var(--primary)!important;
}

.service-dark-secondary {
    background-color: var(--secondary)!important;
}

.service-light-primary,
.service-light-primary>a {
    color: var(--primary)!important;
}

.service-light-secondary,
.service-light-primary {
    background-color: #f8f9fa!important;
}

.service-light-secondary,
.service-light-secondary>a {
    color: var(--secondary)!important;
}

.text-primary,
.text-service-light-primary,
.text-service-dark-primary {
    color: var(--primary)!important;
}

.text-secondary,
.text-service-light-secondary,
.text-service-dark-secondary {
    color: var(--secondary)!important;
}


/*sidebar*/

.sidebar-dark-primary,
.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*=navbar]) {
    background-color: var(--primary)!important;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--secondary);
    color: #fff;
}

.sidebar-dark-secondary,
.layout-navbar-fixed .wrapper .sidebar-dark-secondary .brand-link:not([class*=navbar]) {
    background-color: var(--secondary)!important;
}

.sidebar-dark-secondary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--primary);
    color: #fff;
}

.sidebar-light-primary,
.layout-navbar-fixed .wrapper .sidebar-light-primary .brand-link:not([class*=navbar]) {
    background-color: #fff!important;
}

.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--primary);
    color: #fff;
}

.sidebar-light-secondary,
.layout-navbar-fixed .wrapper .sidebar-light-secondary .brand-link:not([class*=navbar]) {
    background-color: #fff!important;
}

.sidebar-light-secondary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--secondary);
    color: #fff;
}

.nav-legacy.nav-sidebar>.nav-item>.nav-link.active {
    background-color: inherit!important;
}

.sidebar-light-secondary .nav-sidebar.nav-legacy>.nav-item>.nav-link.active,
.sidebar-dark-primary .nav-sidebar.nav-legacy>.nav-item>.nav-link.active {
    border-color: var(--secondary);
}

.sidebar-dark-secondary .nav-sidebar.nav-legacy>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar.nav-legacy>.nav-item>.nav-link.active {
    border-color: var(--primary);
}

[class*=sidebar-dark] .nav-legacy .nav-treeview>.nav-item>.nav-link.active,
[class*=sidebar-dark] .nav-legacy .nav-treeview>.nav-item>.nav-link:focus,
[class*=sidebar-dark] .nav-legacy .nav-treeview>.nav-item>.nav-link:hover {
    background-color: transparent;
    color: #c2c7d0;
}

.username-bottom {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

[class*=sidebar-dark-] a.username-bottom {
    color: #fff;
}

[class*=sidebar-light-] a.username-bottom {
    color: inherit;
}

.bg-bank .col-md-8 .row:last-child h6,
.bg-bank .col-md-8 .row:last-child h5 {
    margin-bottom: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff !important;
    border-color: #006fe6 !important;
    padding: 0 10px !important;
    margin-top: .31rem !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: rgba(255, 255, 255, .7) !important;
    margin-right: -2px !important;
}

figure.image figcaption {
    margin: 6px 8px 6px 8px;
}

figure.align-center {
    text-align: center;
}

figure.align-left {
    text-align: left;
}

figure.align-right {
    text-align: right;
}

.fw-bold {
    font-weight: 600;
}

.bg-1 {
    background-color: #3764b9 !important;
}

.bg-2 {
    background-color: #a7203e !important;
}

.bg-3 {
    background-color: #7950b9 !important;
}

.bg-4 {
    background-color: #07a0ee !important;
}

.toc {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
}
.toc .toc-level-2 {
    margin-top: 0;
    font-size: 18px;
    font-weight: bolder;
}
.toc .toc-level-3 {
    margin-top: 0;
    font-size: 16px;
}
.toc ul {
    list-style: none;
    padding-left: 0;
}
.toc li {
    margin: 5px 0;
}
.toc a {
    text-decoration: none;
    color: #da2847f2;
}
.toc a:hover {
    text-decoration: none;
}
.isOpenToc:hover {
    cursor: pointer;
}
li.toc-level-3 {
    margin-left: 30px;
}
.toc {
    .nav-link {
        display: flex;
        gap: 5px;
    }
    .navbar-nav {
        height: 50px;
    }
    .title {
        font-size: 24px;
        font-weight: bold;
        margin-top: -10px;
        color: #504a4a;
    }

    .menu {
        margin-bottom: -20px;
    }
    li.nav-item{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 -5px;
    }
    .isOpenToc {
        height: 100%;
    }

    .is-open {
        display: block;
    }
    .is-close {
        display: none;
    }
}

.info-box-number {
    .amount {
        font-size: 100%;
        font-weight: 600;
    }
}

.collapse-container {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    margin-bottom: 10px;
}

.collapse-toggle {
    cursor: pointer;
    padding: 12px;
    background-color: #D8F4DE;
    font-size: 1.1rem;
    margin-top: 0;
    border-radius: 0;
    position: relative;
}

.pull-right {
    float: right;
}

.collapse-content p, .collapse-content li {
    font-size: 15px;
    color: #25282a;
    font-weight: 500;
}

.collapse-content {
    padding: 15px 15px 0 15px;
}