.status, img {
    display: inline-block
}

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

.btn-circle, .contact-head, .status {
    text-align: center
}

.contact-button, .contact-head {
    visibility: visible;
    user-select: none;
    outline: 0 !important;
    max-width: none !important;
    cursor: pointer;
    text-decoration: none
}

.content iframe, img {
    max-width: 100%
}

.alert a, .contact-btn, .contact-button, .contact-head {
    text-decoration: none
}

.link-black:focus, .link-black:hover, .nav-pills .nav-link:not(.active):hover, .text-green-600, a {
    color: var(--primary)
}

img {
    vertical-align: middle
}

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

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

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

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

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

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

.btn-primary, .btn-primary:active, .btn-primary:focus {
    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
}

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

.btn-circle {
    width: 30px;
    height: 30px;
    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
}

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)
}

.status {
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    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
}

.contact-button-group, .contact-head, .contact-head-icon {
    transition: 250ms 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, img.w-30 {
    width: 30px
}

img.d-icon, img.d-logo {
    width: auto;
    max-height: 40px
}

#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 #fff
}

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

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

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

.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 0 0 20px
}

.bs-popover-auto[x-placement^=left] > .arrow::before, .bs-popover-auto[x-placement^=right] > .arrow::before, .bs-popover-auto[x-placement^=top] > .arrow::before, .bs-popover-left > .arrow::before, .bs-popover-right > .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
}

.contact-head, .sidebar-collapse .d-account, img.d-icon, img.d-logo {
    margin: 0 auto
}

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

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

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

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

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

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

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

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

img.d-logo {
    display: block
}

img.d-icon {
    display: none
}

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

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

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

.w-20 {
    width: 20px
}

.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-append .btn, .link-affiliate .input-group-prepend .input-group-text, .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
    }
}

#google_translate_element span, .dropdown-menu .dropdown-divider:last-child, .select2-container--default .select2-results__option[aria-disabled=true], .tox-statusbar__branding {
    display: none
}

.user-panel {
    width: 100%
}

.alert a {
    color: var(--primary)
}

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

.contact-head-label, .contact-label {
    padding: 5px 15px;
    font-family: unset;
    line-height: initial;
    white-space: nowrap
}

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

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

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

#modalServer p, .direct-chat-text p, .swal2-html-container p {
    margin-bottom: .5em
}

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

.contact-button-group {
    right: 25px;
    bottom: 25px;
    display: flex;
    z-index: 99999;
    position: fixed;
    flex-direction: column-reverse
}

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

.contact-head {
    color: #fff;
    width: 56px;
    height: 56px;
    display: block;
    z-index: 9999;
    position: relative;
    box-shadow: rgb(0 0 0 / 20%) 0 2px 6px 1px;
    border-radius: 50%;
    background-size: cover;
    background-color: #dc3545;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center center
}

.contact-head-icon, .contact-head-label {
    top: 50%;
    z-index: 1;
    position: absolute;
    color: #fff
}

.contact-head-icon {
    left: 50%;
    font-size: 25px;
    transform: translate(-50%, -50%);
    text-align: center
}

.contact-head-label {
    opacity: 1;
    visibility: visible;
    right: 65px;
    margin: 0;
    font-size: 12px;
    transform: translateY(-50%);
    background: #dc3545;
    box-shadow: none;
    text-align: end;
    transition: .2s ease-out;
    border-radius: 3px
}

.contact-button {
    color: #fff;
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    display: block;
    opacity: 1;
    position: relative;
    box-shadow: rgb(0 0 0 / 20%) 0 2px 6px 1px;
    text-align: center;
    transition: 250ms ease-in-out;
    border-radius: 50%;
    background-size: cover;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center center
}

.button-icon, .contact-label {
    top: 50%;
    z-index: 1;
    transition: .2s ease-out;
    position: absolute
}

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

.button-icon {
    left: 50%;
    font-size: 16px;
    transform: translate(-50%, -50%);
    text-align: center
}

.contact-label {
    color: #fff;
    right: 51px;
    margin: 0;
    font-size: 12px;
    transform: translateY(-50%);
    box-shadow: none;
    text-align: end;
    border-radius: 3px;
    min-width: 117px
}

.post-link-input, .text-logo, figure.align-center {
    text-align: center
}

.button-closed {
    margin-bottom: -42px;
    pointer-events: none
}

.zalo-button, .zalo-button .contact-label {
    background: #0091ff
}

.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: #006aff
}

.telegram-button, .telegram-button .contact-label {
    background: #08c
}

.facebook-button, .facebook-button .contact-label {
    background: #4267b2
}

.phone-button, .phone-button .contact-label, .youtube-button, .youtube-button .contact-label {
    background: #fa4545
}

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

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

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

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

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

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

#form-login input::placeholder, #form-register input::placeholder {
    font-size: .9rem
}

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

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

.bg-bank .col-md-8 .row:last-child h5, .bg-bank .col-md-8 .row:last-child h6, .dt-button-collection .dt-button:last-child, .server-short-description p {
    margin-bottom: 0
}

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

.goog-te-gadget select {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .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: .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
}

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

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

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

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

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

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

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

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

.sidebar-dark-primary .nav-sidebar.nav-legacy > .nav-item > .nav-link.active, .sidebar-light-secondary .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-light-] a.username-bottom {
    color: inherit
}

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

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

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

.dt-button-collection .dropdown-menu {
    padding: 0
}

.dt-button-collection .dt-button {
    padding: .5rem 1rem;
    overflow: hidden;
    border-top: 1px solid #e9ecef
}

.dt-button-collection .dt-button:first-child {
    margin-top: 0;
    border-top: 0
}

.dataTables_wrapper .dt-buttons {
    -ms-flex-pack: center !important;
    justify-content: center !important
}

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

    img.qr-code {
        width: 100%
    }
}

.contact-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.contact-btn small {
    font-size: 12px;
    color: #666
}

.fixed-contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 130px;
    flex-direction: column;
    gap: 10px;
    z-index: 9999
}

.fixed-contact-buttons .contact-btn {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    text-decoration: none;
    color: #000;
    width: 170px;
    transition: transform .3s
}

.fixed-contact-buttons .contact-btn:hover {
    transform: translateX(-5px)
}

.contact-btn img, .fixed-contact-buttons .contact-btn img {
    width: 40px;
    height: 40px;
    margin-right: 10px
}

.fixed-contact-buttons .contact-btn span {
    font-weight: 600;
    font-size: 14px
}

.fixed-contact-buttons .contact-btn small {
    font-size: 11px;
    color: #555
}

.fixed-contact-wrapper {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 9999;
    text-align: right
}

.fixed-contact-toggle {
    background-color: #007aff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: 1.5s infinite shake
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0)
    }
    10% {
        transform: rotate(10deg)
    }
    20% {
        transform: rotate(-10deg)
    }
    30% {
        transform: rotate(8deg)
    }
    40% {
        transform: rotate(-8deg)
    }
    50% {
        transform: rotate(6deg)
    }
    60% {
        transform: rotate(-6deg)
    }
    70% {
        transform: rotate(4deg)
    }
    80% {
        transform: rotate(-4deg)
    }
    90% {
        transform: rotate(2deg)
    }
}

.fixed-contact-toggle::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    border: 3px solid rgba(0, 122, 255, .5);
    border-radius: 50%;
    animation: 1.5s infinite ripple
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1
    }
    100% {
        transform: scale(1.8);
        opacity: 0
    }
}

.fixed-contact-toggle img {
    width: 30px;
    height: 30px
}

.fixed-contact-buttons {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px
}

.contact-btn, .fixed-contact-wrapper.active .fixed-contact-buttons {
    display: flex
}

.contact-btn {
    background: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    align-items: center;
    color: #333;
    min-width: 200px
}

.contact-btn div {
    line-height: 1.2
}

.contact-btn span {
    font-weight: 700
}
