p.value{
    padding-top: calc(.5rem + 1px);
    padding-bottom: calc(.5rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
    font-weight: bold;
}
.custom-radio-danger::before{
    border-color:var(--danger);
}
.custom-radio-success::before{
    border-color:var(--success);
}

.custom-control-input:checked ~ .custom-radio-danger::before{
    border-color:var(--danger);
    background-color:var(--danger);
}
.custom-control-input:checked ~ .custom-radio-success::before{
    border-color:var(--success);
    background-color:var(--success);
}
.required{
    color: var(--danger);
}
label.error{
    color: var(--danger);
}
.el-hide{
    display: none;
}
.select2-dropdown{
    z-index: 99999;
}

.datepicker > div {
    display: block;
}
.datepicker table tr td span.active:active, .datepicker table tr td span.active:hover:active, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active.active, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled:hover.active, .open > .dropdown-toggle.datepicker table tr td span.active, .open > .dropdown-toggle.datepicker table tr td span.active:hover, .open > .dropdown-toggle.datepicker table tr td span.active.disabled, .open > .dropdown-toggle.datepicker table tr td span.active.disabled:hover{
    background-color: #5369f8;
}

.fl-list {
    width: auto;
    display: inline-block;
    text-align: center;
}

.fl-list ul {
    margin: 0;
    padding: 0 0;
    list-style: none;
}

.btn-yellow-primary{
    background-color: var(--primary-yellow);
    color: #00000090;
}
.btn-yellow-primary:hover{
    background-color: var(--primary-yellow-dark);
    color: #00000090;
}
.btn-blue-primary{
    background-color: var(--primary-blue);
    color: #ffffff;
}
.btn-blue-primary:hover{
    background-color: var(--primary-blue-dark);
    color: #ffffff;
}



ul.list-icon{
    padding-left: 25px;
    position: relative;
}
ul.list-icon li i{
    position: absolute;
    left: 0;

}
.uil-spiner {
    display: inline-block;
    width: 20px !important;
    height: 20px !important;
    border: 4px rgba(192,192,192, .5) solid ;
    border-top: 4px #fff solid;
    border-radius: 50%;
    -webkit-animation: spCircRot 0.6s infinite linear;
    animation: spCircRot 0.6s infinite linear;
}

@-webkit-keyframes spCircRot {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}
@keyframes spCircRot {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.input-group-sparator {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .5rem .75rem;
    margin-bottom: 0;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4b4b5a;
    text-align: center;
    white-space: nowrap;
    background-color: #f6f6f7;
    border-top: 1px solid #e2e7f1;
    border-bottom: 1px solid #e2e7f1;
  }
  .el-hide{
    display: none;
  }

.custom-control-input:disabled ~ .custom-control-label::before {
    background-color: #f6f6f7;
}
input[type="text"]:disabled {
    background: #f6f6f7;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    background-color: var(--primary-blue);
    color: var(--primary-yellow);

}

div.dataTables_processing { 
    z-index: 1; 
    color: var(--success);
    border: solid 1px var(--success);

}
label {
    font-weight: 500;
}
p.value{
    padding-top: calc(0.5rem + 1px); 
    padding-bottom: calc(0.5rem + 1px);
    margin:0 !important;
    font-weight: bold;
}
p.value ol{
    margin-left:0;
    margin-bottom:0px;
    padding-left:14px;
    padding-bottom:0px;
}
p.value ol li:only-of-type { 
    list-style-type: none; 
    margin-left: -15px;
}
.container-full {
    width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
}


.topnav{
    /* background-color: var(--us-blue); */
}
.navbar-custom{
    /* background-color: var(--us-blue);
    color: var(--primary-yellow); */
    /* background: linear-gradient(120deg, var(--primary-yellow),  var(--us-blue)); */
    /* background: linear-gradient(90deg, var(--primary-yellow), #e73c7e, #23a6d5, #23d5ab); */
    /* background-size: 400% 400%; */
    /* animation: gradient 15s ease infinite; */
    /* animation:slide 3s ease-in-out infinite alternate; */
    /* background-image: linear-gradient(-60deg, var(--primary-blue) 50%, var(--primary-yellow) 50%); */
    /* background-color: var(--primary-purple); */
    bottom:0;
    /* opacity:.5; */
    position:fixed;
    top:0;
}
.left-side-menu{
    background-color: #2c3136 !important;
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
 
    50% {
        background-position: 100% 50%;
    }
 
    100% {
        background-position: 0% 50%;
    }
}
#menu-bar ul{
    /* background-color: var(--primary-yellow); */
}
/* .user-profile .pro-user-name{
    color: var(--primary-yellow);
}
.pro-user-desc{
    color: var(--primary-yellow);
    font-weight: 500
} */
.navbar-custom .topnav-menu .nav-link svg{
    color: var(--white);
}
.text-logo{
    color: var(--primary-blue-dark);
}
.btn-primary{
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
}
.btn-primary:hover, .btn-primary:active{
    background-color: var(--primary-purple-dark);
    border-color: var(--primary-purple-dark);
} 
.page-title h4 {
    font-size: 17px;
    font-weight: 700;
  }
  .page-title{
    padding: 10px 0;
    color:var(--gray)
  }
@media only screen and (max-width: 600px) {
    .card-nav button{
        width: 100%;
        margin-bottom: 5px;
    }
}
.page-item.active .page-link {
    background-color: var(--primary-purple-dark);
    border-color: var(--primary-purple-dark);;
}
#sidebar-menu > ul > li > a{
    color: #a6a6a6;
}
#sidebar-menu > ul > li > a svg{
    color: #a6a6a6;
}
#sidebar-menu > ul > li > a.active {
    border-left: 3px solid var(--white) !important;
    color: var(--white) !important;
    background-color: #33383e;
}
#sidebar-menu > ul > li > a:hover {
    border-left: 3px solid var(--white);;
    color: var(--white);
    background-color: #33383e;
}
#sidebar-menu > ul > li > a.active svg{
    color: var(--white);;
}
#sidebar-menu > ul > li > a:hover svg{
    color: var(--white);
}
.nav-second-level li > a.active, .nav-thrid-level li > a.active{
    color: var(--white);
}
.nav-second-level li > a:hover, .nav-thrid-level li > a:hover{
    color: var(--white);
}
.text-logo {
    color: var(--primary-purple-dark);
}
.text-primary {
    color: var(--primary-purple-dark) !important;
}
#sidebar-menu > ul > li.mm-active > a {
  border-left: 3px solid var(--white) !important;
  color: var(--white) !important;
  background-color: #33383e;
}
.metismenu li a[aria-expanded="true"] {
    color: var(--primary-purple-dark) !important;
}
#sidebar-menu > ul > li.mm-active > a svg{
    color: var(--white);
}
.nav-second-level li a, .nav-thrid-level li a{
    color:#a6a6a6;
}
.nav-second-level li a:hover, .nav-thrid-level li a:hover{
    color: var(--white);
}
legend{
    font-size: 15px;
    font-weight: bold;
}
  /* ---------------------qrcode scanner--------------------------- */
#video-container {
    width:100%; 
    min-height:400px; 
    margin-left:auto; 
    margin-right:auto;
    border: 1px solid rgba(75, 75, 90, 0.075);
    border-radius: 0.25rem;
    background-color: var(--dark);
    /* background-color: #6c757d; */
    margin-bottom: 10px;
    position: relative;
}
#video-container video{
    width:100%; 
    min-height:400px;
    border-radius: 0.25rem;
}
#video-container #no-camera{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size:1em;
    text-align: center;
}
#video-container #no-camera i{
    font-size:3em;
}
/* ---------------------qrcode scanner--------------------------- */
.alert-soft-danger {
    background-color: rgba(255, 92, 117, 0.2);
    color: #ff5c75 !important;
}
.border-left-5{
    border-left : 5px solid;
}
.border-left-primary {
border-left-color: #5369f8 !important; }

.border-left-secondary {
border-left-color: #1e2139 !important; }

.border-left-success {
border-left-color: #43d39e !important; }

.border-left-info {
border-left-color: #25c2e3 !important; }

.border-left-warning {
border-left-color: #ffbe0b !important; }

.border-left-danger {
border-left-color: #ff5c75 !important; }

.border-left-light {
border-left-color: #f8f9fa !important; }

.border-left-dark {
border-left-color: #343a40 !important; }

.border-left-white {
border-left-color: #fff !important; }
  
.table-bordered th, .table-bordered td {
    border: 1px solid #e5e7eb;
}
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
    top: 17px;
    left: 4px;
}
.rounded-none{
    border-radius: 0rem;
}
.table-form{
    line-height: 1;
}
td .select2-container .select2-selection--single, td .select2-container--default .select2-selection--multiple{
    border-radius: 0rem;
}
td .select2-container .select2-selection--multiple .select2-selection__choice {
    border-radius: 0px;
    padding: 3px 7px;
    margin-top: 6px;
  }
.form-group {
    margin-bottom: 0.3rem;
}
.table-form th{
    text-align: left;
    background-color: var(--primary-purple-dark);
    color: var(--white);
}
.table-form tbody tr{
    background-color: #f6f6f7;
}
.table-form tbody tr td{
    border-top: 5px solid var(--white);
    padding: 0;
}
.table-form tbody tr td:hover{
    background-color: var(--primary-purple-dark);
    color: var(--white);
}
.table-form tbody tr td input{
    width: 100%;
    background-color: #f6f6f7;
    border:none;
    display: block;
    width: 100%;
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
}
.table-form tbody tr td input:hover{
    background-color: var(--primary-purple-dark);
    color: var(--white);
}
.table-select td{
    cursor: pointer;
}
/* -------------------------------------- */
.table-container {
    height: 217px;
}
table.table-fixed-header {
    display: flex;
    flex-flow: column;
    height: 100%;
    width: 100%;
}
table.table-fixed-header thead {
    flex: 0 0 auto;
    width: calc(100% - 0.9em);
}
table.table-fixed-header tbody {
    flex: 1 1 auto;
    display: block;
    overflow-y: scroll;
}
table.table-fixed-header tbody tr {
    width: 100%;
}
table.table-fixed-header thead,
table.table-fixed-header tbody tr {
    display: table;
    table-layout: fixed;
}
tr.group td{
    font-weight: bold;
}
.img-bg{
    background-image: url('../img/office-bg.jpg');
    background-repeat: no-repeat;
}
/* -------------------------------------- */
.btn-table{
    border-radius: 50%;
    /* background-color: var(--dark); */
    width: 25px;
    height: 25px;
    padding-left: 4px;
}
.card-header{
    background-color: #fff;
    -webkit-box-shadow: 0 .05rem .01rem rgba(75,75,90,.075);
    box-shadow: 0 .05rem .01rem rgba(75,75,90,.075);
}
.breadcrumb {
    display: flex;
    align-items: center;
    --tw-text-opacity: 1;
    color: rgb(var(--color-primary) / var(--tw-text-opacity));
}
ol, ul, menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.table-full{
    margin-left: -20px !important;
    margin-right: -20px !important;
    /* width: auto !important; */
}
.table-full > #mainTables_wrapper > div:first-child, .table-full > #mainTables_wrapper > div:last-child{
    margin-left: 10px !important;
    margin-right: 10px !important;
}
.btn-default {
    color: #333;
}
.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
/* .btn.focus, .btn:focus, .btn:hover {
    color: #333;
    text-decoration: none;
} */
.btn-default, .btn-default:focus, .btn-default.active, .open>.dropdown-toggle.btn-default {
    border-color: #e2e4e7 !important;
}
.h-12{
    width: 12px !important;
    height: 12px !important;
}
.control-label{
    padding-top: 9px;
}

.tree{
    --spacing : 1rem;
    --radius  : 10px;
}
.tree li{
    display      : block;
    position     : relative;
    padding-left : calc(2 * var(--spacing) - var(--radius) - 2px);
}

.tree ul{
    margin-left  : calc(var(--radius) - var(--spacing));
    padding-left : 0;
}

.btn-dlhk-yellow{
    background: var(--dlh-yellow);
    border-color: var(--dlh-yellow);
}
.btn-dlhk-green{
    background: var(--dlh-green);
    border-color: var(--dlh-green);
}
.btn-dlhk-blue{
    background: var(--dlh-blue);
    border-color: var(--dlh-blue);
}

.text-dlhk-yellow{
    color: var(--dlh-yellow);
}
.text-dlhk-green{
    color: var(--dlh-green);
}
.text-dlhk-blue{
    color: var(--dlh-blue);
}

.btn-primary.disabled, .btn-primary:disabled{
    color: #fff;
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
}
.nav-item button{
    border: none;
}
.panel-option{
    display: block;
}
.panel-option .card{
    min-height: 180px;
}
.shadow-dlhk-green{
    box-shadow: 0px 0px 3px var(--dlh-green);
}
.shadow-dlhk-green:hover{
    box-shadow: 0px 0px 7px var(--dlh-green);
}
.shadow-dlhk-blue{
    box-shadow: 0px 0px 3px var(--dlh-blue);
}
.shadow-dlhk-blue:hover{
    box-shadow: 0px 0px 7px var(--dlh-blue);
}
.shadow-dlhk-yellow{
    box-shadow: 0px 0px 3px var(--dlh-yellow);
}
.shadow-dlhk-yellow:hover{
    box-shadow: 0px 0px 7px var(--dlh-yellow);
}

.panel-yellow{
    background-color: rgb(var(--color-warning) / 0.2);
    border-color:rgb(var(--color-warning) / 1);
    border-width: 1px;
}
.panel-green{
    background-color: rgb(var(--color-success) / 0.2);
    border-color:rgb(var(--color-success) / 1);
    border-width: 1px;
}
.panel-blue{
    background-color: rgb(var(--color-info) / 0.2);
    border-color:rgb(var(--color-info) / 1);
    border-width: 1px;
}
ol.list-number{
    list-style: decimal;
    margin-left: 15px;
}
/* timline */
.page-header, .page-footer {
    text-align: center;
}
blockquote {
    background: #eee;
    border-left: 5px solid #ddd;
}
.border-default{
    border-color: #e2e4e7 !important;
}
.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

    .timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 3px;
        background-color: #eeeeee;
        left: 31px;
        margin-left: -1.5px;
    }

    .timeline > li {
        margin-bottom: 20px;
        position: relative;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel {
            width: auto;
            /* float: left; */
            background: white;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            padding: 10px;
            position: relative;
            -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            margin-left: 71px;
        }

            .timeline > li > .timeline-panel:before {
                position: absolute;
                top: 26px;
                right: -15px;
                display: inline-block;
                border-top: 15px solid transparent;
                border-left: 15px solid #ccc;
                border-right: 0 solid #ccc;
                border-bottom: 15px solid transparent;
                content: " ";
            }

            .timeline > li > .timeline-panel:after {
                position: absolute;
                top: 27px;
                right: -14px;
                display: inline-block;
                border-top: 14px solid transparent;
                border-left: 14px solid #fff;
                border-right: 0 solid #fff;
                border-bottom: 14px solid transparent;
                content: " ";
            }

        .timeline > li > .timeline-badge {
            color: #fff;
            width: 50px;
            height: 50px;
            line-height: 50px;
            font-size: 1.4em;
            text-align: center;
            position: absolute;
            top: 16px;
            left: 30px;
            margin-left: -25px;
            background-color: #84389c;
            z-index: 100;
            border-top-right-radius: 50%;
            border-top-left-radius: 50%;
            border-bottom-right-radius: 50%;
            border-bottom-left-radius: 50%;
        }

        .timeline > li.timeline-inverted > .timeline-panel {
            /* float: right; */
        }

            .timeline > li.timeline-inverted > .timeline-panel:before {
                border-left-width: 0;
                border-right-width: 15px;
                left: -15px;
                right: auto;
            }

            .timeline > li.timeline-inverted > .timeline-panel:after {
                border-left-width: 0;
                border-right-width: 14px;
                left: -14px;
                right: auto;
            }

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

    .timeline-body > p + p {
        margin-top: 5px;
    }

@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

        ul.timeline > li > .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        ul.timeline > li > .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }
}

.bg-dlh-yellow{
    background-color:var(--dlh-yellow)
}
.bg-dlh-green{
    color: #fff;
    background-color:var(--dlh-green)
}

.fade-in {
    animation: fadeIn 5s;
    -webkit-animation: fadeIn 5s;
    -moz-animation: fadeIn 5s;
    -o-animation: fadeIn 5s;
    -ms-animation: fadeIn 5s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@-moz-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@-o-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@-ms-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.fade-in-right{
    animation: fadeInRight 1s ease-in-out;
}
.dlh-baner{
    background-image: url('../img/dlhk-baner.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(300px);
    }
    to {
        opacity: 1;
    }
}
.fade-in-left{
    animation: fadeInLeft 1s ease-in-out;
}
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-300px);
    }
    to {
        opacity: 1;
    }
}
.fade-in-top{
    animation: fadeInTop 1s ease-in-out;
}
@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(-300px);
    }
    to {
        opacity: 1;
    }
}
.fade-in-bottom{
    animation: fadeInBottom 1s ease-in-out;
}
@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(300px);
    }
    to {
        opacity: 1;
    }
}

.switch-field {
    display: flex;
    margin-bottom: 0px;
    overflow: hidden;
    width: 100%;
}

.switch-field input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.switch-field label {
    /* background-color: #e4e4e4; */
    background-color: transparent;
    border: 1px solid #e2e7f1;
    color: rgba(0, 0, 0, 0.6);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    padding: 0.5rem 0.5rem;
    margin-right: -1px;
    /* border: 1px solid rgba(0, 0, 0, 0.2); */
    /* box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1); */
    transition: all 0.1s ease-in-out;
    width: 50%;
}

.switch-field label:hover {
    cursor: pointer;
}

.switch-field input:checked + label {
    background-color: var(--primary-yellow);
    box-shadow: none;
}

.switch-field label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
    border-radius: 0 4px 4px 0;
}
.switch-primary  input:checked + label {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: none;
}
.td-input{
    padding: 0 !important;
}
.td-input .input-group-text{
    border-radius: 0 !important;
    border-width: 0 !important;
}
.input-table{
    display: block;
    width: 100%;
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4B4B5A;
    /* background-color: #f8f9fa; */
    background-clip: padding-box;
    border: 0px solid #e2e7f1;
}
 fieldset.scheduler-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 0 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
    box-shadow:  0px 0px 0px 0px #000;
    line-height: 14px;
}

fieldset.scheduler-border legend {
    font-size: 1em ;
    font-weight: bold !important;
    text-align: left !important;
    width:auto;
    padding:0 4px;
    border-bottom:none;
}
fieldset.scheduler-border legend small{
    display: block;
}
.form-horizontal > .control-label{
    margin: 0;
    padding: 0;
    font-size: 0.8em;
}
.form-horizontal p.value {
    margin:0;
    padding: 0;
}

.sw-theme-default {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.div-split > .sw-main{
    border: none;
    border-right: 1px solid #dbe1ee;
}