﻿@import url('../lib/bootstrap/bootstrap-icons-1.11.3/font/bootstrap-icons.min.css');

body {
    background-color: white;
    font-family: Helvetica,Montserrat,'Times New Roman',sans-serif;
    font-size: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.Dashboard {
    border-radius: 0px;
    margin-bottom: 0px;
    overflow-y: hidden;
}

.CardLogin {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #d4d4d4;
    background-color: #ffffff;
    width: 60%;
    box-shadow: 0px 0px 5px 0px #ffffff;
}

.LangLogin {
    padding: 5px 15px 5px 15px;
    border-radius: 20px;
    border: 1px solid #ffd8d8;
    background: linear-gradient(1686deg, rgb(255 173 173 / 96%) 0%, rgb(255 0 0 / 98%) 100%);
}

    .LangLogin img {
        width: 30px;
        border-radius: 3px;
        background: #ffff;
        padding: 0px 5px;
    }

.text3D {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    border: none;
    text-align: center;
    -o-text-overflow: clip;
    text-overflow: clip;
    color: #ff0000;
    margin-top: -5px;
    line-height: 10px;
    font-size: 15px;
    text-shadow: 0 1px 0 rgb(255 255 255), 0 1px 0 rgba(248, 248, 248, 1), 0 2px 1px rgb(187 0 0);
}

.CardLogin input[type="text"]:focus, .CardLogin input[type="password"]:focus {
    box-shadow: none !important;
    border-width: 1px !important;
    border-color: red !important;
}

.CardLogin input[type="text"], .CardLogin input[type="password"] {
    border-color: #afafaf !important;
    line-height: 1px;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-move {
    cursor: move;
}

.font-italic {
    font-style: italic;
}

.link:hover, .link:active {
    color: #ff0000 !important;
    transition: color 1s ease;
    text-shadow: 1px 0px #7e7e7e;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #ff0000;
}

.nav-link {
    padding: 0.3rem 1rem;
    color: #495057;
}

.CardLogin .bi-qr-code-scan:active {
    color: red !important;
}
/*@media (min-width: 1400px) {
    .CardLogin {
        position: inherit;
        left: inherit;
        top: inherit;
        transform: none;
        width: 100%;
    }
        .CardLogin #idCompanyInfo {
            display: none;
        }
}*/
@media (max-width: 575.98px),(max-width: 390px),(max-width: 412px) {
    .CardLogin {
        position: fixed !important;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
    }

        .CardLogin #idCompanyInfo, #idDsCompanyinfo {
            display: none;
        }

    .modal-width70, .modal-width80, .modal-width50, .modal-width90, .modal-width98, .modal-width60 {
        width: 96% !important;
        left: 2% !important;
    }

        .modal-width70 #idSaveAndNew, .modal-width80 #idSaveAndNew, .modal-width50 #idSaveAndNew, .modal-width90 #idSaveAndNew, .modal-width98 #idSaveAndNew, .modal-width60 #idSaveAndNew {
            display: none;
        }

    #idFrmAccountProfile, #idModalConfirm, #idFrmChangePassword {
        width: 96% !important;
        left: 2% !important;
        top: 10% !important;
    }

    .mt-2- {
        margin-top: 0rem !important;
    }

    #idtableHeaderEvent .navbar-nav {
        flex-direction: inherit;
    }

    #idShowQRCodeModal {
        width: 40% !important;
        left: 40% !important;
        top: 8% !important;
    }

    .header-menu {
        background: linear-gradient(243deg, #e50000 80%, #FFFFFE 85%, #dd0000 86%) !important;
    }

        .header-menu .dropdown .nav-link span {
            display: none;
        }

        .header-menu .dropdown .nav-link, .header-menu .navbar-nav {
            width: 2.50rem;
            text-align: center;
            flex-direction: inherit;
        }

            .header-menu .navbar-nav .dropdown-menu {
                position: absolute !important;
            }

    .alo360-navbar.navbar-expand-md.alo360-navbar-hover .dropdown:hover > .dropdown-menu, .alo360-navbar.navbar-expand-md.alo360-navbar-hover .dropdown:hover > .dropdown-menu.show {
        display: block !important;
    }


}

@media (max-width: 844px),(max-width: 932px) {
    .CardLogin {
        position: inherit;
        transform: none;
        font-size: 14px !important;
        width: 100%;
    }
    #idDashboardSection {
        height: 73vh;
    }
}

@media (min-width:1400px) {
    .CardLogin #idCompanyInfo {
        display: block;
    }

    #idFrmAccountProfile {
        width: 60% !important;
        left: 20% !important;
    }

    .tableEmpty {
        max-height: 64vh !important;
        width: 64vh !important;
    }
    #idDashboardSection {
        height: 83vh !important;
    }
    #idWaitingTableContent, #idSkippedContent {
        max-height: 100% !important;
    }
}

@media (min-width: 576px),(min-width: 576px) {
    .modal-dialog {
        max-width: 100%;
        margin: auto;
    }

    .modal-content {
        max-height: 88vh;
    }

    .tableEmpty {
        width: 47vh;
    }
    #idDashboardSection{
        height:73vh;
    }
    #idWaitingTableContent, #idSkippedContent {
        max-height: 45vh;
    }
}

.CompanyName {
    margin: -21px 0px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(197deg, rgb(237 0 0 / 96%) 0%, rgb(163 7 7 / 98%) 100%);
    padding: 4px 0px 1px 5px;
    border-radius: 5px 50px 0px 0px;
    margin-left: -3px;
    height: 1.6rem
}

.CompanyInfo {
    border-left: 3px solid #ef0000;
    border-bottom: 3px solid #ef0000;
    box-shadow: 1px 2px 2px 1px #b2b2b2cc;
    border-radius: 0rem 1rem;
}

.LoginInfo {
    border: 2px solid red;
    border-radius: 10px;
    padding-bottom: 10px;
    background-image: url(/Images/Bg.png);
    background-position: initial;
    background-repeat: no-repeat;
    background-size: cover;
}

    .LoginInfo input.form-control {
        height: 25px !important;
        background-color: transparent;
    }

    .LoginInfo input[type=text]:focus, .LoginInfo input[type=email] {
        background: transparent;
        border-top: none !important;
        border-right: none !important;
        border-left: none !important;
        box-shadow: none
    }

.copyright {
    text-align: right;
    margin-top: -0.8rem;
    font-size: 12px
}

    .copyright small {
        color: yellow;
        text-shadow: 2px 1px 2px #390101;
    }

.CardLogin #idImgVietNam:hover, .CardLogin #idImgEnglish:hover, .CardLogin #idImgChina:hover {
    background: rgb(255 173 173 / 96%);
    border-color: red !important;
}

.CardLogin .CompanyInfo {
    font-size: 13px;
    position: absolute;
    bottom: 18px;
    width: 55%;
}

.CardLogin #idQRCodeVal {
    color: white;
    width: 0px;
}

    .CardLogin #idQRCodeVal:focus, .CardLogin #idQRCodeVal:focus-visible {
        border: none !important;
        outline: none;
    }

.btn {
    border-radius: 1rem;
}

#idResetPasswordLang:hover, #idLoginBackLang:hover {
    text-shadow: 1px 1px #ffffff;
}

.CardLogin .nav-item {
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;
    background: #ff0000;
    color: white;
    padding-top: 3px;
    border: none;
}

.CardLogin .nav-link {
    height: 2.07rem;
    margin-top: -0.2rem;
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;
}

    .CardLogin .nav-link span, .CardLogin .nav-link i {
        color: #ffffff;
    }

    .CardLogin .nav-link.active {
        height: 2.07rem;
        margin-top: -0.2rem;
        border-top-left-radius: 0.8rem;
        border-top-right-radius: 0.8rem;
    }

        .CardLogin .nav-link.active span, .nav-link.active i {
            color: #ff0000 !important;
            border-top-left-radius: 0.8rem;
            border-top-right-radius: 0.8rem;
        }

.CardLogin .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;
}

.CardLogin .nav-link {
    border: 2px solid #dee2e6;
    border-bottom: 0px;
}

.CardLogin .nav-tabs {
    border: none;
}

.ColorMain {
    color: #d10000;
}

.Button-a {
    border-radius: 3px;
    padding: 5px;
    border: 1px solid #ffb9b9;
    box-shadow: 0 0 5px 0px #c6c6c6;
}

    .Button-a.active {
        color: white;
        background: #ff0000 !important;
    }

    .Button-a:hover, .Button-a:focus, .Button-a:visited {
        color: white;
        background: #ff0000 !important;
        box-shadow: 0 0 1px 1px #ff8484;
    }

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px;
}

.fs-14 {
    font-size: 14px;
}

#idLogoLink:hover {
    text-shadow: 1px 1px #ffffff;
    color: #ae0404 !important
}

.navbar-light .navbar-nav .nav-link {
    color: #d10000;
    height: 34px;
    text-shadow: 1px 1px #ffffff;
}

    .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
        border-radius: 50%;
        color: #ff0000;
        text-shadow: 1px 1px #ffffff;
        background: linear-gradient(0deg, #ff000000 0%, #ffffff00 4%, #ff000066 0%, #ff161600 40%);
    }

    .navbar-light .navbar-nav .nav-link i:hover, .navbar-light .navbar-nav .nav-link i:focus {
        border-radius: 50%;
        color: #ff0000;
        text-shadow: 1px 1px #ffffff;
        background: linear-gradient(0deg, #ff000000 0%, #ffffff00 4%, #ff000066 0%, #ff161600 40%);
    }

.header-menu {
    height: 35px;
    border-radius: 10px;
    background: linear-gradient(243deg, #ffdada 85%, #FFFFFE 90%, #ff6363b0 91%);
    border: 2px solid #ff6b6b;
    width: 60rem;
}

.QMSText {
    text-shadow: 0 1px 0 rgb(225 0 0), 0 2px 0 rgb(255 255 255), 0 2px 0 rgb(255 255 255), 0 0px 20px rgb(85 0 0), 0 0px 5px rgb(255 255 255);
    color: #bf1616;
}

    .QMSText:hover {
        border-color: #930000 !important;
        color: #930000 !important;
    }

.row-first {
   top: 6px;
}

.row-last {
    bottom: 0;
}

.ActionRow {
    right: 1.5rem;
    background: #ff3737;
    height: fit-content;
    margin-top: -10px;
    padding: 2px 0px 0px 0px;
}

    .ActionRow a:hover {
        text-shadow: 2px -1px 2px #ffb6b6;
        color: #d10000 !important;
    }

    .ActionRow li {
        background: radial-gradient(circle, rgba(255, 255, 255, 1) 30%, rgba(233, 233, 233, 0.9163865375251663) 100%);
        border-right: 1px solid #dedede;
        border-bottom: 1px solid #dedede;
        border-left: 1px solid #dedede;
        padding: 0.4rem 1rem;
    }

.Dashboard #idRenderBody {
    overflow-y: auto;
    background: #fff;
    max-height: 84vh;
}
.Dashboard #idRenderBodyOperation {
    overflow-y: auto;
    background: #fff;
    max-height: 92vh;
}

@media screen and (min-width: 1920px) {
    .Dashboard #idRenderBody {
        max-height: 88.5vh;
    }
    .Dashboard #idRenderBodyOperation {
        max-height: 94vh;
    }
    #idContentPermission {
        max-height: 78.52vh !important;
    }
}

a {
    text-decoration: none;
}

.btnSearch {
    margin-left: -33px;
    padding: 8px 8px;
    margin-right: 10px;
    background: #f4f4f4d6;
    color: #acacac;
    border: 1px solid #d5d5d5;
    border-radius: 0px 3px 3px 0px;
}

    .btnSearch:hover, .btnSearch:active, .btnSearch:visited {
        background: #ff0000b4;
        color: #fff !important;
    }

#idGrdArrayButton {
    color: #d10000;
}

    #idGrdArrayButton:hover {
        color: #fff;
    }

.dropdown-item:hover, .dropdown-item:focus {
    color: #ff0000;
    background-color: #f1f1f1;
}

.modal {
    height: auto;
    box-shadow: 0 0 15px 0px #bdbbbb;
    border-radius: 10px;
    background: #fff;
    border-radius: 4px !important;
}

.modal-content {
    border: none;
}

.modal-footer {
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.btn-check:checked + .btn-outline-warning:focus, .btn-check:active + .btn-outline-warning:focus, .btn-outline-warning:active:focus, .btn-outline-warning.active:focus, .btn-outline-warning.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.1rem rgba(255, 193, 7, 0.5);
}

.btn-check:focus + .btn-outline-warning, .btn-outline-warning:focus, .btn-outline-warning:hover {
    box-shadow: 0 0 0 0.15rem rgba(255, 193, 7, 0.5);
}

.btn-check:checked + .btn-outline-danger:focus, .btn-check:active + .btn-outline-danger:focus, .btn-outline-danger:active:focus, .btn-outline-danger.active:focus, .btn-outline-danger.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.5);
}

.btn-check:focus + .btn-outline-danger, .btn-outline-danger:focus, .btn-outline-danger:hover {
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.5);
}

.btn-outline-info:hover, .btn-outline-warning:hover {
    color: #fff;
}

.btn-check:checked + .btn-outline-secondary:focus, .btn-check:active + .btn-outline-secondary:focus, .btn-outline-secondary:active:focus, .btn-outline-secondary.active:focus, .btn-outline-secondary.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.1rem rgb(57 57 57 / 50%);
}

.btn-check:focus + .btn-outline-secondary, .btn-outline-secondary:focus, .btn-outline-secondary:hover {
    box-shadow: 0 0 0 0.15rem rgb(57 57 57 / 50%);
}

.btn-check:checked + .btn-outline-info:focus, .btn-check:active + .btn-outline-info:focus, .btn-outline-info:active:focus, .btn-outline-info.active:focus, .btn-outline-info.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.1rem rgba(13, 202, 240, 0.5);
}

.btn-check:focus + .btn-outline-info, .btn-outline-info:focus, .btn-outline-info:hover {
    box-shadow: 0 0 0 0.15rem rgba(13, 202, 240, 0.5);
}

.btn-check:checked + .btn-outline-success:focus, .btn-check:active + .btn-outline-success:focus, .btn-outline-success:active:focus, .btn-outline-success.active:focus, .btn-outline-success.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.1rem rgba(25, 135, 84, 0.5);
}

.btn-check:focus + .btn-outline-success, .btn-outline-success:focus, .btn-outline-success:hover {
    box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.5);
}

.form-control:focus {
    border-color: #ff00003b;
    box-shadow: 0 0 0 0.1rem rgb(253 13 13 / 25%);
}

.select2-search--dropdown .select2-search__field {
    outline: none;
}

input, button, select, optgroup, textarea {
    line-height: initial;
}

.wrapper {
    background: linear-gradient(to right, red 10%, #fff 50%, #161717 60%);
    background-size: auto auto;
    background-clip: border-box;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 10s linear infinite;
    display: inline-block;
}

@keyframes textclip {
    from {
        background-position: 200% center;
    }
}

.form-control {
    padding: 0.3rem 0.60rem;
    height: 35px;
    font-size: 16px;
    color: #444;
}

#idShowQRCode:hover + #idShowQRCodeModal {
    display: block !important;
}

.heartbit {
    -moz-animation: heartbit 1s ease-out;
    -moz-animation-iteration-count: infinite;
    -o-animation: heartbit 1s ease-out;
    -o-animation-iteration-count: infinite;
    -webkit-animation: heartbit 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.Sp_heartbit {
    margin-left: -12px;
    margin-top: -14px;
    color: #ffd600;
    background: #ffffffcc;
    height: 15px;
    font-size: 15px !important;
}

.menu-link {
    padding: 0.20rem 0.20rem;
}

    .menu-link:hover {
        background: #f3000038;
    }

        .menu-link:hover span {
            color: #d10000 !important;
            font-style: italic !important;
            text-shadow: 1px 0px #ebebeb !important;
        }

.dropdown-menu a:hover {
    font-style: italic !important;
}

.dropdown-menu li.border-bottom-dotted .link:hover {
    text-shadow: 1px 0px #ebebeb !important;
}

.dropdown-menu li.border-bottom-dotted:hover {
    background: #f3000038;
}

.menu-link:hover .icon-sub-menu {
    -moz-animation: iconSubMenu 0.4s linear 1;
    -webkit-animation: iconSubMenu 0.4s linear 1;
    animation: iconSubMenu 0.4s linear 1;
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.icon-sub-menu {
    text-shadow: 0 1px #d10000;
    font-size: 12px;
    margin-top: 2px;
}

.m-s-m-5r {
    margin-left: -5rem
}

.m-s-m-8r {
    margin-left: -8rem
}

#idCloseContentWatch > i:hover {
    text-shadow: 0 1px #3f0000;
}

@-webkit-keyframes iconSubMenu {
    0% {
        -webkit-transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(-90deg);
    }
}

@-moz-keyframes iconSubMenu {
    0% {
        -webkit-transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(-90deg);
    }
}

@-moz-keyframes heartbit {
    0% {
        text-shadow: 0px 0px 0px #fff;
        color: #d10000;
    }

    25% {
        text-shadow: 0px 0px 1px #fff;
        color: #fff;
    }

    50% {
        text-shadow: 0px 0px 3px #fff;
        color: #d10000;
    }

    75% {
        text-shadow: 0px 0px 5px #ff0000;
        color: #fff;
    }

    to {
        text-shadow: 0px 0px 0px #fff;
        color: #d10000;
    }
}

#idGrdArrayButton:hover + .dropdown-menu {
    display: block !important;
}

@-webkit-keyframes heartbit {
    0% {
        text-shadow: 0px 0px 0px #fff;
        color: #d10000;
    }

    25% {
        text-shadow: 0px 0px 1px #ffc300;
        color: #fff;
    }

    50% {
        text-shadow: 0px 0px 3px #fff;
        color: #d10000;
    }

    75% {
        text-shadow: 0px 0px 5px #ffc300;
        color: #fff;
    }

    to {
        text-shadow: 0px 0px 0px #fff;
        color: #d10000;
    }
}

.modal-width40 {
    width: 40%;
    left: 30%;
    top: 1%;
    max-height: 98vh;
}

.modal-width50 {
    width: 50%;
    left: 25%;
    top: 1%;
    max-height: 98vh;
}

.modal-width60 {
    width: 60%;
    left: 20%;
    top: 1%;
    max-height: 98vh;
}

.modal-width70 {
    width: 70%;
    left: 15%;
    top: 2%;
    max-height: 98vh;
}

.modal-width80 {
    width: 80%;
    left: 10%;
    top: 1%;
    max-height: 98vh;
}

.modal-width90 {
    width: 90%;
    left: 5%;
    top: 1%;
    max-height: 98vh;
}

.modal-width98 {
    width: 98%;
    left: 1%;
    top: 1%;
    max-height: 98vh;
}

.re-1 {
    right: 1rem;
}

.bg-secondary-edit {
    border-bottom: 2px solid #cdcdcd;
}

.w-15r {
    width: 15rem;
}

.border-bottom-dotted {
    border-bottom: 1px dotted #e5e5e5
}

.mt-2- {
    margin-top: 1.6rem;
}

.buttonRefresh {
    border-radius: 0.25rem 0.25rem 0rem 0rem;
    padding: 0.20rem 0.50rem 0.10rem 0.50rem;
    border: none;
    box-shadow: 0 0 2px 1px #c6c6c6;
    color: #939393;
    margin-right: 0.15rem;
    cursor: pointer;
    line-height: 1rem;
    margin-top: 0.15rem;
}

    .buttonRefresh:hover {
        background: #017e00;
        color: #ffff;
    }

        .buttonRefresh:hover i {
            animation: spin-animation 1s infinite;
            animation-timing-function: linear;
            display: inline-block;
        }

.action-text {
    margin: 0.35rem 0rem 0rem 0.50rem;
    position: absolute;
    text-shadow: 1px 0px 2px #3f3c3c;
    font-size: 0.90rem;
}

.modal-header-canvar {
    background: #ff0000;
    width: 7rem;
    height: 1.50rem;
    border-radius: 5rem 1px 15rem 0rem;
    margin: -0.80rem 0rem 0rem 0.20rem;
}

.modal-header-canvar1 {
    background: #ffff;
    width: 7rem;
    height: 1.50rem;
    border-radius: 5rem 1px 15rem 0rem;
    margin: -0.30rem 0rem 0rem 0.20rem;
}

.modal-header:active, .modal-footer:active {
    cursor: grabbing; /* Con trỏ khi đang kéo */
}

.select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6;
}

.header-text {
    color: #ffffff;
    text-shadow: 1px 1px 0 rgb(111 6 6), 1px 1px 0 rgb(99 9 9);
    text-transform: uppercase;
    margin-top: 0.25rem;
    font-weight: 500;
}

.modal-body {
    overflow: hidden;
}

.ContentEmpty {
    transform: translate(-100%, -30%);
    width: 100px;
    left: 50%;
    top: 50%;
    position: absolute;
}

.ck-editor {
    width: 100% !important;
}

.krajee-default.file-preview-frame .kv-file-content {
    width: 160px !important;
}

.file-footer-buttons .bi-trash, .fileinput-remove .bi-trash {
    color: #d10000;
}

.file-footer-buttons .btn-default {
    border-color: #c6c6c6;
}

    .file-footer-buttons .btn-default:hover {
        background: #ff3131;
    }

        .file-footer-buttons .btn-default:hover > i, .fileinput-remove:hover > .bi-trash {
            color: #ffffff !important;
        }

.file-footer-buttons .bi-arrow-clockwise {
    color: #1dd900;
}

#kvFileinputModal {
    width: 30%;
    left: 35%;
}

    #kvFileinputModal .btn-outline-secondary {
        --bs-btn-color: #ff0000;
        --bs-btn-border-color: #c6c6c6;
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: #ff3131;
        --bs-btn-hover-border-color: #f2f2f2;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: #f2f2f2;
        --bs-btn-active-border-color: #f2f2f2;
        --bs-btn-disabled-color: #f2f2f2;
        --bs-btn-disabled-border-color: #f2f2f2;
    }

.wifi-symbol {
    display: none;
}

    .wifi-symbol [foo], .wifi-symbol {
        display: block;
        position: absolute;
        width: 150px;
        height: 150px;
        margin-top: -6rem;
        -ms-transform: rotate(-45deg) translate(-100px);
        -moz-transform: rotate(-45deg) translate(-100px);
        -o-transform: rotate(-45deg) translate(-100px);
        -webkit-transform: rotate(-45deg) translate(-100px);
        transform: rotate(-45deg) translate(-100px);
        margin-left: 47%
    }

        .wifi-symbol .wifi-circle {
            box-sizing: border-box;
            -moz-box-sizing: border-box;
            display: block;
            width: 100%;
            height: 100%;
            font-size: 21.4285714286px;
            position: absolute;
            bottom: 0;
            left: 0;
            border-color: #ff0000;
            border-style: solid;
            border-width: 1em 1em 0 0;
            -webkit-border-radius: 0 100% 0 0;
            border-radius: 0 100% 0 0;
            opacity: 0;
            -o-animation: wifianimation 3s infinite;
            -moz-animation: wifianimation 3s infinite;
            -webkit-animation: wifianimation 3s infinite;
            animation: wifianimation 3s infinite;
        }

            .wifi-symbol .wifi-circle.first {
                -o-animation-delay: 800ms;
                -moz-animation-delay: 800ms;
                -webkit-animation-delay: 800ms;
                animation-delay: 800ms;
                border-color: #28b100;
            }

            .wifi-symbol .wifi-circle.second {
                width: 5em;
                height: 5em;
                -o-animation-delay: 400ms;
                -moz-animation-delay: 400ms;
                -webkit-animation-delay: 400ms;
                animation-delay: 400ms;
                border-color: #68ff00;
            }

            .wifi-symbol .wifi-circle.third {
                width: 3em;
                height: 3em;
                border-color: #ff6d00;
            }

            .wifi-symbol .wifi-circle.fourth {
                width: 1em;
                height: 1em;
                opacity: 1;
                background-color: #ff0000;
                -o-animation: none;
                -moz-animation: none;
                -webkit-animation: none;
                animation: none;
            }

@-o-keyframes wifianimation {
    0% {
        opacity: 0.4;
    }

    5% {
        opactiy: 1;
    }

    6% {
        opactiy: 0.1;
    }

    100% {
        opactiy: 0.1;
    }
}

@-moz-keyframes wifianimation {
    0% {
        opacity: 0.4;
    }

    5% {
        opactiy: 1;
    }

    6% {
        opactiy: 0.1;
    }

    100% {
        opactiy: 0.1;
    }
}

@-webkit-keyframes wifianimation {
    0% {
        opacity: 0.4;
    }

    5% {
        opactiy: 1;
    }

    6% {
        opactiy: 0.1;
    }

    100% {
        opactiy: 0.1;
    }
}

.text-green {
    color: #0a8e00;
}

    .text-green:hover > i {
        color: #0ca401 !important;
    }

input[type=radio] {
    --s: 0.8em; /* control the size */
    --c: #ff0000; /* the active color */
    height: var(--s);
    aspect-ratio: 1;
    border: calc(var(--s)/8) solid #ff0000;
    padding: calc(var(--s)/8);
    background: radial-gradient(farthest-side,var(--c) 100%,#0000) 50%/0 0 no-repeat content-box;
    border-radius: 50%;
    outline-offset: calc(var(--s)/11);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    font-size: inherit;
    transition: .3s;
}

    input[type=radio]:checked {
        border-color: var(--c);
        background-size: 100% 100%;
    }

    input[type=radio]:disabled {
        background: linear-gradient(#ff0000 0 0) 50%/100% 20% no-repeat content-box;
        opacity: .5;
        cursor: not-allowed;
    }

.frame {
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.thermostat {
    position: sticky;
    width: 130px;
    height: 130px;
    top: 55px;
    background: #f2f2f2;
    border-radius: 50%;
    box-shadow: 0px 0px 0.5rem rgb(255 0 0 / 78%);
}

    .thermostat .control {
        position: absolute;
        z-index: 5;
        width: 80px;
        height: 80px;
        top: 25%;
        left: 25px;
        background: #e6e6e6;
        border-radius: 50%;
        box-shadow: 0 0 1rem rgba(0, 0, 0, 0.7);
    }

        .thermostat .control .temp_room {
            position: absolute;
            top: 28px;
            left: 0;
            right: 0;
            text-align: center;
            font-weight: 400;
            font-size: 60px;
            line-height: 60px;
            color: #c11c1c;
            letter-spacing: -8px;
            padding-right: 12px;
            opacity: 1;
            transform: translateX(0);
            transition: all .5s ease-in-out;
        }

            .thermostat .control .temp_room span {
                position: absolute;
                top: -30px;
                right: 25px;
                font-size: 0.8rem;
                line-height: 34px;
                color: #c11c1c;
            }

.room {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 300;
    font-size: 1rem;
}

.thermostat .ring {
    position: absolute;
    width: 110px;
    height: 110px;
    top: 10px;
    left: 10px;
    background: linear-gradient(134deg, rgb(255 255 255) 40%, rgb(255 0 0) 100%);
    border-radius: 50%;
    box-shadow: inset 2px 4px 4px 0px rgba(0, 0, 0, 0.3);
}

    .thermostat .ring .bottom_overlay {
        position: absolute;
        width: 65px;
        height: 65px;
        top: 50%;
        left: 50%;
        background: #f2f2f2;
        transform-origin: 0 0;
        transform: rotate(45deg);
        border-radius: 0 0 95px 0;
    }

.rslider {
    z-index: 1000;
    position: absolute !important;
}

    .rslider .rs-border {
        border-color: transparent;
    }

.rs-control .rs-range-color, .rs-control .rs-path-color, .rs-control .rs-bg-color {
    background-color: rgba(0, 0, 0, 0);
}

.rs-control, .rs-container {
    width: 130px !important;
}

    .rs-control .rs-handle {
        background-image: linear-gradient(315deg, #ffffff 0%, #ff9292 48%, #ffffff 100%);
        border: 0px solid #f2f2f2;
        margin: -8px 0px 0px 9px !important;
    }

.rs-tooltip.rs-tooltip-text.edit {
    text-shadow: 2px 0 #939393, -2px 0 #dddddd, 0 2px #dddddd, 0 -2px #dddddd, 1px 1px #dddddd, -1px -1px #dddddd, 1px -1px #dddddd, -1px 1px #dddddd;
}

.rs-tooltip.edit, .rs-tooltip .rs-input, .rs-tooltip-text {
    font-family: rubik, helvetica, sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    background: transparent;
    color: #c11c1c;
    top: 65%;
    height: 3.9rem;
    padding: 0 !important;
    width: 67px;
}

    #slider:hover .rs-tooltip, .rs-tooltip:focus, .rs-tooltip-text:focus {
        border: none;
        transform: scale(1.1);
        transition: 0.1s;
    }

#slider .rs-transition {
    transition-timing-function: cubic-bezier(1, -0.53, 0.405, 1.425);
}

.instructions {
    position: absolute;
    bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.25);
    font-size: 1rem;
    font-family: raleway, sans-serif;
    width: 85%;
    left: 10%;
    font-weight: 300;
    letter-spacing: 0.05rem;
    line-height: 1.3;
    text-align: center;
}

.fas {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    50% {
        transform: scale(0.9);
    }
}

.rs-tooltip.edit, .rs-tooltip .rs-input {
    pointer-events: none;
}

.switchInput[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}

.switchChecked {
    cursor: pointer;
    text-indent: -9999px;
    width: 35px;
    height: 19px;
    background: #cbcbcb;
    display: block;
    border-radius: 100px;
    position: relative;
    border: 1px solid #b3b3b3;
}

    .switchChecked:after {
        content: '';
        position: absolute;
        top: 1px;
        left: 1px;
        width: 15px;
        height: 15px;
        background: #fff;
        border-radius: 90px;
        transition: 0.3s;
        box-shadow: 1px 0px 10px #6b6b6b;
        margin-top: 0px !important;
    }

.switchInput:checked + .switchChecked {
    background: #ff0000;
}

    .switchInput:checked + .switchChecked:after {
        left: calc(100% - 5px);
        transform: translateX(-65%);
        margin-left: -0.08rem !important;
    }

.switchChecked:active:after {
    width: 15px;
}

.ColumnNo {
    white-space: nowrap;
    transform: rotate(-90deg);
}

.flex-flow-wrap {
    flex-flow: wrap;
}

i {
    text-shadow: 0px -1px #e9e9e9;
}

.text-align-justify {
    text-align: justify;
}

.CardHeader {
    background: linear-gradient(359deg, rgb(255 255 255) 0%, rgb(213 213 213 / 79%) 100%);
    color: #cd0000;
    border-radius: 0.3rem;
    text-shadow: 1px 0px 0 rgb(127 127 127), 1px 0px 0 rgb(91 4 4);
}

.dt-paging {
    /*margin-top:-1.9rem !important;*/
    float: right;
}

.dt-info {
    margin-top: 0.2rem !important;
    font-style: initial;
    color: blue;
}

.ActionRow i:hover {
    text-shadow: 1px 0px #d10000;
}

.is-invalid-select .invalid-feedback {
    margin-bottom: -1.6rem;
    margin-top: 2.4rem;
}

.is-invalid-select.is-invalid .select2-container {
    margin-top: -3.6rem;
}

.file-drop-zone {
    min-height: 220px !important;
}

.progress-bar-success {
    background: #018700;
}

.progress-bar-danger {
    background: #ff0000;
}

.file-preview-video {
    width: 155px !important;
    height: 120px !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 25%;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 10;
}

.dt-scroll-body {
    /* min-height: 35vh;*/
    max-height: 83vh !important;
}

.overlay #idShareFile i:hover {
    color: #ff0000;
    transition: color 1s ease;
}

#idTableProduct .overlay {
    left: 40% !important;
}

#idTimeFramesList #idTabList .nav-link {
    padding: 0.3rem 0.5rem;
    color: #495057;
}

    #idTimeFramesList #idTabList .nav-link.active {
        color: #ff0000;
    }

.scrollable-tbody {
    display: block;
    height: 160px;
    overflow-y: auto;
}

#idTableShutdownTime {
    width: 100%;
    margin-bottom: 0px;
}

    #idTableShutdownTime thead, #idTableShutdownTime tbody tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

#idTimeFramesList #idTabContent {
    border: 1px solid var(--bs-border-color);
    padding: 0.5rem;
    border-radius: 0 0 0.3rem 0.3rem;
    border-top: 0px;
}

.GroupHeader {
    border-radius: 0.2rem 0.2rem 10rem 0.2rem;
    padding: 0.3rem 2rem 0.3rem 0.3rem;
    border: 0.1rem solid #d70000;
    background-image: linear-gradient(360deg, #ffffff 0%, #e9e9e9 55%, #d9d9d9 100%);
    color: #d90000;
    text-shadow: 1px 0 #ffffff;
    font-weight: 600;
}



.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    10% {
        color: #8e44ad;
    }

    20% {
        color: #7dff78;
    }

    30% {
        color: #d35400;
    }

    50% {
        color: #34495e;
    }

    60% {
        color: blue;
    }

    70% {
        color: #2980b9;
    }

    80% {
        color: #f1c40f;
    }

    100% {
        color: #f90000;
    }
}

.clsnodechild, .branch {
    list-style-type: none;
}

.checkbox-wrapper .checkLinear {
    appearance: none;
    background-color: white;
    border-radius: 70px;
    border-style: none;
    flex-shrink: 0;
    height: 15px;
    margin: 0;
    position: relative;
    width: 25px;
    opacity: 1;
    border: 1px solid #ff0000;
    top: 2px;
}

    .checkbox-wrapper .checkLinear,
    .checkbox-wrapper .checkLinear::after {
        transition: all 100ms ease-out;
    }

        .checkbox-wrapper .checkLinear::after {
            background-color: #ff0000;
            border-radius: 50%;
            content: "";
            height: 10px;
            left: 3px;
            position: absolute;
            top: 2px;
            width: 10px;
            border: 2px solid #ffb4b4;
        }

.checkbox-wrapper input[type=checkbox] {
    cursor: default;
}

.checkbox-wrapper .checkLinear:hover {
    background-color: #c6c6c6;
    transition-duration: 0s;
}

.checkbox-wrapper .checkLinear:checked {
    background-color: #ff0000;
}

    .checkbox-wrapper .checkLinear:checked::after {
        background-color: #fff;
        left: 10px;
    }

.checkbox-wrapper :focus:not(.focus-visible) {
    outline: 0;
}

.checkbox-wrapper .checkLinear:checked:hover {
    background-color: rgb(255 173 173 / 96%);
}

.swiper-slide img {
    object-fit: contain !important;
}

#idLayoutView .ZoomIn {
    transform: scale(0.45);
    transform-origin: 0 0;
}

.NameTag-container {
    width: 320px;
    height: 225px;
    margin: 10px;
}

.NameTag {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
    background: #e8e8e8;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
}

    .NameTag #idCardNamePContent {
        width: 100%;
        height: 201px;
        background: #fff;
    }

    .NameTag #idCardNameTemplates {
        width: 100%;
        height: 201px;
        background-image: var(--custom-bg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

.ContainerItemCenter {
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    justify-content: center;
    max-height: 57vh;
    overflow-y: auto;
}

.clsLabelItem {
    background: transparent !important;
}

#idDeviceIdentification {
    background: #fff;
    height: 15px;
}

#idContainerNameTagFileList {
    max-height: 70vh;
}

.NameTag-face {
    position: absolute;
    width: 100%;
    height: 200px;
    backface-visibility: hidden;
    border-radius: 6px;
    box-shadow: 0 0px 10px rgba(0,0,0,0.2);
}

li {
    list-style: none
}

.clsInputMac {
    bottom: 6px;
    z-index: 99;
    left: 6px;
    border: none;
    width: 95px;
    background-color: transparent;
    font-size: 10px;
}

    .clsInputMac:focus-visible {
        outline: none
    }

.front-face {
    transform: rotateY(0deg);
}

.back-face {
    transform: rotateY(180deg);
}

#idNameTagLabel {
    position: absolute;
    text-shadow: 1px 1px #c5c5c5;
    color: #737373;
    margin-top: 0px;
    border-radius: 20px 2px 0px 0px;
    right: 1px;
}

.clsFlipToggle {
    margin-left: 65%;
}

.clsSelectItem {
    margin-left: 5px;
    position: absolute;
}

.Edit-input {
    position: absolute;
    left: 5px;
    top: 0px;
    border: none;
    border-bottom: 1px solid #d5d5d5;
    outline: none;
    width: 100%
}

.Edit-input-Action {
    position: absolute;
    top: -15%;
    right: -15%;
    border: 1px dotted;
    border-radius: 3px;
    padding: 0px 5px;
    cursor: pointer;
    height: 23px;
    background-color: #ffff !important;
}

    .Edit-input-Action:hover {
        color: white;
        background: #ffadad !important;
    }

.clsItemPopup {
    position: fixed;
    background: #fff;
    padding: 1px;
    border-radius: 2px;
    transition: opacity 0.3s;
    margin-top: -65px;
    border: 1px solid #dddddd;
    width: 100%;
    display: none;
    z-index: 99;
}

    .clsItemPopup::after {
        content: "";
        position: absolute;
        top: 99%;
        left: 48%;
        border-width: 10px;
        border-style: solid;
        border-color: #dddddd transparent transparent transparent;
    }

.ProcessingUploadFile {
    background: #352f2f59;
    border-radius: 2px;
    z-index: 991;
    top: 7px;
    width: 48%;
    height: 80%;
    color: red;
    text-shadow: 1px 0px #ffff;
}

.clsItemPopupContent {
    background-color: white;
    padding: 5px;
}

.clsItemPopupImg::after {
    top: var(--custom-top) !important;
    left: -11% !important;
    transform: rotate(90deg);
}

.Disabled {
    cursor: not-allowed;
    pointer-events: none;
    color: #c6c6c6 !important;
    user-select: none;
}

    .Disabled i {
        color: #c6c6c6 !important
    }

#idApplyToObject {
    margin-left: -27px;
    position: absolute;
    border: 1px solid #dddddd;
    padding: 0px 5px;
    height: 24px;
    background-color: #ffffff69;
}

span.switcher {
    position: absolute;
    height: 34px;
    border-radius: 25px;
    margin: 10px 0;
    border: 1px solid #c6c6c6;
    padding: 0px 2px;
    width: 15%;
}

    span.switcher input {
        appearance: none;
        position: relative;
        width: 100%;
        height: 28px;
        border-radius: 25px;
        background-color: #1e1e1e;
        outline: none;
        font-family: 'Oswald', sans-serif;
        top: 2px;
        bottom: 2px;
        transition: 0.25s -0.1s;
    }

        span.switcher input:before, span.switcher input:after {
            z-index: 2;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #fff;
        }

        span.switcher input:before {
            content: attr(data-before);
            left: 20px;
            padding-top: 2px;
        }

        span.switcher input:after {
            content: attr(data-after);
            right: 20px;
            padding-top: 2px;
        }

    span.switcher label {
        z-index: 1;
        position: absolute;
        top: 2px;
        bottom: 2px;
        border-radius: 20px;
    }

    span.switcher input:checked {
        background-color: #fff;
    }

        span.switcher input:checked:before {
            color: #fff;
            transition: color 0.5s 0.2s;
        }

        span.switcher input:checked:after {
            color: #ccc;
            transition: color 0.5s;
        }

        span.switcher input:checked + label {
            left: 2px;
            right: 50%;
            background: #ff0000;
            transition: left 0.5s, right 0.4s 0.2s;
        }

    span.switcher input:not(:checked) {
        background: #ff0000;
        transition: background 0.5s -0.1s;
    }

        span.switcher input:not(:checked):before {
            color: #ccc;
            transition: color 0.5s;
        }

        span.switcher input:not(:checked):after {
            color: #ff0000;
            transition: color 0.5s 0.2s;
        }

        span.switcher input:not(:checked) + label {
            left: 50%;
            right: 6px;
            background: #fff;
            transition: left 0.4s 0.2s, right 0.5s, background 0.35s -0.1s;
            height: 24px;
            top: 4px;
        }

@keyframes turn-on {
    0% {
        left: 100%;
    }

    100% {
        left: 0%;
    }
}

@keyframes turn-off {
    0% {
        right: 100%;
    }

    100% {
        right: 0%;
    }
}

.show .bi-chevron-double-down::before {
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    transform: rotate(0deg);
}

.hide .bi-chevron-double-down::before {
    transition: transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    transform: rotate(-90deg);
}

.modal.ui-draggable-dragging {
    box-shadow: 0 5px 20px rgb(255 173 173 / 96%);
    transition: box-shadow 0.3s ease;
    /*background: radial-gradient( circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.1) 0%, transparent 70% );*/
}

    .modal.ui-draggable-dragging .modal-content {
        /*background: radial-gradient( circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.1) 0%, transparent 70% ) !important;*/
    }

.dt-empty {
    background: #ffff;
    box-shadow: none;
}

.highlight {
    border: 1px solid #ff9c00 !important;
}

.NoneSelect {
    pointer-events: none;
    opacity: 0.5;
}

.Prepare {
    font-weight: bold;
    -webkit-animation: text-flicker 700ms infinite;
    animation: text-flicker 500ms infinite;
}

@keyframes text-flicker {
    0% {
        opacity: 0.1;
        color: #fecc2a;
    }

    50% {
        opacity: 0.2;
        color: #fff;
    }

    100% {
        opacity: 0.3;
        color: #feec61;
    }

    100% {
        opacity: 1;
        color: #ffc918;
    }
}

#idAccountInformationContent {
    pointer-events: none;
}

.scanner-container {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 3px;
    overflow: hidden;
    height: 170px;
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.scan-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 83%;
    height: 82%;
    border: 2px solid rgba(0, 255, 0, 0.5);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.scan-line {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(0, 255, 0, 0.8);
    animation: scan-animation 2s linear infinite;
    border-radius: 3px;
}

@keyframes scan-animation {
    0% {
        top: 10%;
    }

    100% {
        top: 90%;
    }
}

input[readonly],
input:disabled,
select[readonly],
select:disabled {
    background-color: #f0f0f0;
    color: #888;
    pointer-events: none;
}

#idTableExportData tr > td {
    padding: 0.2rem;
}

.TabHeader {
    border-radius: 1em 0rem 10rem;
    box-shadow: 1px 1px 0px 1px #d6d7d7
}

.DesignTool-Item {
    vertical-align: middle;
    margin: 0 auto;
    width: 40%
}

    .DesignTool-Item i {
        font-size: 1.5rem;
        color: red
    }

.BgTemplateDesign {
    background-image: url(/images/BgVector.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background 0.5s ease;
}

.DesignTool-Item:hover {
    background: linear-gradient(173deg, #fdb2b2e0 80%, #dd0000b0 85%);
    /*transition: all 0.25s ease;*/
}

    .DesignTool-Item:hover p {
        text-shadow: 0px -1px #e9e9e9;
    }

.Draggable-Item {
    position: absolute;
    cursor: move;
    /*height:auto !important;*/
}

    .Draggable-Item label {
        cursor: move;
    }

.draggable-Toolbox .rounded-2:hover {
    border: 1px solid red !important;
}

.Source-Box {
    justify-content: center;
    justify-items: center;
}

.Item-Menu {
    position: absolute;
    top: -5px;
    right: 0;
}

.resizable-box {
    position: relative;
    width: 200px;
    height: 150px;
    border: 2px dashed #ccc;
    padding: 10px;
    margin: 20px;
    background: #f9f9f9;
    overflow: hidden;
}

.resizable-img,
.resizable-video,
.resizable-filePdf,
.resizable-Link,
.resizable-Marquee,
.resizable-Sliders,
.resizable-Data {
    display: block;
    max-width: 100%;
    height: auto;
    user-select: none;
    border: 1px dashed #ccc;
    border-radius: 3px;
}

.Select-img,
.Select-video,
.Select-filePdf,
.Select-Link,
.Select-Marquee,
.Select-Sliders,
.Select-Data {
    max-width: 100%;
    height: 100%;
    user-select: none;
    border-radius: 3px;
}

/* Handle resize */
.ui-resizable-handle {
    position: absolute;
    z-index: 2;
    background: red;
    transition: all 0.2s;
    opacity: 0;
}
/* Handle phải */
.ui-resizable-e {
    width: 1px;
    right: 0px;
    top: 0;
    height: 100%;
    cursor: e-resize;
}
/* Handle dưới */
.ui-resizable-s {
    height: 1px;
    bottom: 0px;
    left: 0;
    width: 100%;
    cursor: s-resize;
}
/* Handle góc dưới phải */
.ui-resizable-se {
    width: 5px;
    height: 5px;
    right: 0px;
    bottom: 0px;
    cursor: se-resize;
    background: #d90000;
    border-radius: 50%;
}
/* Hiệu ứng khi hover */
.Draggable-Item:hover, .ui-resizable-handle:hover {
    opacity: 1;
}

.resizable-label {
    border: 1px dashed #ccc;
    position: relative;
    min-width: 100px;
    min-height: 30px;
    overflow: hidden;
    user-select: none; /* Ngăn chọn text khi kéo */
    background: transparent;
    display: flex;
    align-items: center;
}
    /* Hiệu ứng khi hover */
    .resizable-label:hover .ui-resizable-handle {
        opacity: 1;
    }

.slide-panel {
    position: relative;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform-origin: top; /* điểm gốc trượt từ trên xuống */
}

    .slide-panel.hide-down {
        transform: translateY(-20px); /* trượt lên */
        opacity: 0;
        pointer-events: none;
    }

    .slide-panel.show-down {
        transform: translateY(0); /* trượt về vị trí ban đầu */
        opacity: 1;
    }
/*Clock*/
.ContainerClock {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex; /* dùng flexbox để căn giữa */
    justify-content: center; /* căn giữa ngang */
    align-items: center; /* căn giữa dọc */
    overflow: hidden; /* tránh tràn khi thu nhỏ */
    border: 2px solid #919191;
    border-radius: 6px;
    padding: 10px;
    background: #18171700;
}

.ContainerClock2 {
    font-weight: normal !important;
}

.resizable-Clock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease; /* hiệu ứng mượt khi co/giãn */
    transform-origin: center center;
    /* giúp co giãn tự nhiên theo container */
    font-family: "Orbitron",monospace;
}

.clock-hour,
.clock-minute,
.clock-second,
.clock-separator {
    text-shadow: 1px 1px 2px #aaa, 2px 2px 4px rgba(0,0,0,0.25), -1px -1px 1px rgba(255,255,255,0.6);
    font-weight: 600;
    line-height: 1;
}

.clock-hour {
    font-size: 50px;
}

.clock-minute {
    font-size: 20px;
    color: blue
}

.clock-second {
    font-size: 16px;
    font-weight: 500 !important;
    color: #39ff00
}

.clock-date {
    font-style: italic;
    font-size: 16px;
    text-shadow: 0.5px 0.5px 1px #8f8f8f;
}

.ContainerClock2 .clock-date {
    font-size: 30px;
}

.ContainerClock2 .clock-separator {
    color: #ff0000;
}

.ToolboxItemSelect {
    border: 1px solid red;
    transition: all 0.2s ease;
    border-radius: 0.4rem;
    box-shadow: 0 0 8px rgb(255, 0, 0, 0.50);
    height: 100% !important;
}

.resizable-Marque marquee {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

.resizable-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#idFileContent {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: 80vh;
    background-color: #fff;
}

    #idFileContent video {
        width: 100%;
        height: auto;
        max-height: 90vh;
        border-radius: 0.5rem;
        object-fit: contain; /* giữ tỉ lệ video */
    }

.slide-modal {
    position: absolute;
    top: 0;
    width: 300px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    padding: 1px;
    opacity: 0;
    text-align: left;
    transform: translateX(0);
    transition: all 0.3s ease;
    z-index: 9999;
}

    .slide-modal.show-right {
        opacity: 1;
        transform: translateX(100%);
    }

    .slide-modal.show-left {
        opacity: 1;
        transform: translateX(55%);
    }

.checkbox-wrapper input[type=checkbox]:disabled {
    opacity: 0.2;
}

.bgButton {
    position: relative;
    background-image: url('/Images/bgButton.jpg');
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

    .bgButton::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgb(255 255 255 / 52%);
        z-index: 0;
    }

    .bgButton > * {
        position: relative;
        z-index: 1; /* giữ nội dung nằm trên overlay */
    }

.blink-border-warning {
    /* đảm bảo không làm lệch layout khi thêm border */
    box-sizing: border-box;
    border: 2px solid rgba(255,0,0,1);
    border-radius: 6px;
    animation: blink-border 1s ease-in-out infinite;
    /* padding: 6px; */
}

/* hiệu ứng nhấp nháy + glow */
@keyframes blink-border {
    0% {
        border-color: rgba(255,0,0,1);
        box-shadow: 0 0 0 0 rgba(255,0,0,0.45);
    }

    40% {
        border-color: rgba(255,0,0,0.9);
        box-shadow: 0 0 10px 6px rgba(255,0,0,0.18);
    }

    60% {
        border-color: rgba(255,0,0,0.35);
        box-shadow: 0 0 6px 3px rgba(255,0,0,0.08);
    }

    100% {
        border-color: rgba(255,0,0,1);
        box-shadow: 0 0 0 0 rgba(255,0,0,0.45);
    }
}

.range-box {
    padding: 5px;
    display: flex;
    gap: 5px;
    align-items: center;
}

    .range-box input[type="range"] {
        -webkit-appearance: none;
        width: 100%;
        height: 8px;
        background: linear-gradient(90deg, #ff0000, rgb(165, 0, 0));
        border-radius: 10px;
        outline: none;
        box-shadow: 0 0 10px rgb(255, 0, 0, 0.40);
    }

        .range-box input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: linear-gradient(90deg, #ff2929f5, #fffffff5);
            border: 2px solid #e20000ff;
            border-radius: 50%;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 0 12px rgb(255, 0, 0, 0.80);
        }

            .range-box input[type="range"]::-webkit-slider-thumb:hover {
                transform: scale(1.2);
            }

    .range-box span {
        font-size: 18px;
        color: #ff0000;
        font-weight: bold;
        width: 40px;
        text-align: center;
    }

.link-success:hover {
    color: darkgreen !important;
    font-weight: 600;
}

.row-selected td {
    background-color: #72e5ff87 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #ff0000 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    height: 27px;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear:hover {
    color: red !important;
}

table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc, table.dataTable thead > tr > th.dt-ordering-asc, table.dataTable thead > tr > th.dt-ordering-desc, table.dataTable thead > tr > td.dt-orderable-asc, table.dataTable thead > tr > td.dt-orderable-desc, table.dataTable thead > tr > td.dt-ordering-asc, table.dataTable thead > tr > td.dt-ordering-desc {
    padding-right: 0px;
}


.text-shadow {
    text-shadow: 0 1px 0 white, 0 1px 1px rgb(187 0 0);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.modal-header {
    margin: 5px 0px 0px -3px;
}
.Calling td, .Recalling td {
    background: #fffec6;
}
.Serving td {
    background: #8dff96;
}
h6 {
    text-shadow: 1px 1px #530101;
}
.text-info-emphasis.pt-2.fs-12{
    padding-top:1px !important;
}

