:root {
    --fuschia: var(--sextary-bg);
    --button-bg: var(--sextary-bg);
    --button-text-color: #fff;
    --baby-blue: #f8faff;

    --primary-bg: #FA6F01;
    --primary-txt: #ffffff;
    --secondary-bg: #454545;
    --secondary-txt: #ffffff;
    --quinary-bg: #ebebeb;
    --quinary-txt: #454545;
    --sextary-bg: #00c8f8;
    --sextary-txt: #ffffff;
    --nonary-bg: #e61711;
    --nonary-txt: #ffffff;
}

.width-100 {width: 100%!important;}
.fw-100 {font-weight: 100!important;}
.fw-200 {font-weight: 200!important;}
.fw-300 {font-weight: 300!important;}
.fw-400 {font-weight: 400!important;}
.fw-500 {font-weight: 500!important;}
.fw-600 {font-weight: 600!important;}
.fw-700 {font-weight: 700!important;}
.fw-800 {font-weight: 800!important;}
.fw-900 {font-weight: 900!important;}
.font-size-45{font-size:45px!important; line-height: 60px!important;}
.font-size-35{font-size:35px!important; line-height: 54px!important;}
.font-size-27{font-size:27px!important; line-height: 38px!important;}
.font-size-24{font-size:24px!important; line-height: 34px!important;}
.font-size-22{font-size:22px!important; line-height: 30px!important;}
.font-size-20{font-size:20px!important; line-height: 28px!important;}
.font-size-18{font-size:18px!important; line-height: 26px!important;}
.font-size-16{font-size:16px!important; line-height: 24px!important;}
.font-size-14{font-size:14px!important; line-height: 22px!important;}
.font-size-13{font-size:13px!important; line-height: 30px!important;}

/*Loading Ajax*/
.waiting_for_ajax, .popup-ajax  {
    position: fixed;
    top: 50%;
    transform: translate(0, -50%);
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 9999999999999999999;
    max-height: 100%;
    display: flex;
}
.popup-ajax {
    max-height: 100%;
    z-index: 999;
}
.waiting_for_ajax > div, .popup-ajax > div {
    opacity: 0.9;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(9 9 9 / 75%);
    width: 100%;
    border-radius: 10px;
    margin: auto;
}
.popup-ajax > div{
    max-width: 500px;
    justify-content: space-between;
    max-height: 530px;
    padding-top: 25px;
    padding-bottom: 25px;
}
.waiting_for_ajax > div.successfully, .popup-ajax > div.trigger-failed{
    opacity: 1;
    background: #eeeeee;
    position:relative;
}
.trigger-failed .request-assign {
    display: flex;
    justify-content: space-between;
}
.trigger-failed .request-assign > div {
    width: calc(50% - 10px);
    padding: 5px;
    border: 1px #b3b3b3 solid;
    border-radius: 5px;
}
.trigger-failed .request-assign > a {
    display: block;
    margin-right: 10px;
    margin-left: 10px;
    border: 2px #ababab dashed;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary-bg);
    transition: 0.3s all;
}
.trigger-failed .request-assign > a:hover {
    background: var(--primary-bg);
}
.waiting_for_ajax > .successfully .close-popup, .popup-ajax > .trigger-failed .close-popup {
    position: absolute;
    top: 5px;
    right: 5px;
    text-align: center;
    border-radius: 5px;
    font-weight: 800;
    color: var(--secondary-bg);
    cursor: pointer;
    transition: 0.1s all;
}
.waiting_for_ajax > .successfully .close-popup:hover, .popup-ajax > .trigger-failed .close-popup:hover {
    opacity: 0.7;
}
.waiting_for_ajax img {
    width: 200px;
    border-radius: 10px;
}
.close-popup i {
    font-size: 26px;
}
.waiting_for_ajax > div.successfully img, .popup-ajax .trigger-failed > img {
    width: 80px;
}
.waiting_for_ajax > div.successfully i, .popup-ajax .trigger-failed > i {
    font-size: 80px;
    color: #FF3931;
}
.waiting_for_ajax p, .popup-ajax p {
    font-size: 16px;
    color: #FFF ! Important;
    height: auto;
    margin-bottom: 0px;
    padding-bottom: 15px;
}
.waiting_for_ajax > div.successfully p, .popup-ajax > div.trigger-failed p {
    color: var(--secondary-bg)!important;
    font-weight: 400;
    text-transform: uppercase;
}
/*Ajax end*/

/*Switch*/
/*--------------------*/
.switch {
    position: relative;
    display: inline-block;
    width: 65px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 5px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4199fd;
}

input:focus + .slider {
    box-shadow: 0 0 1px #4199fd;
}

input:checked + .slider:before {
    -webkit-transform: translateX(37px);
    -ms-transform: translateX(37px);
    transform: translateX(37px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.form-cs-wrapper{
    position: relative;
}
.form-cs-wrapper .form-cs-control :where(input, select, textarea, button) {
    width: 100%;
    max-width: 100%;
    padding: 5px 15px;
    margin: 0;
}
.form-cs-wrapper .form-cs-control .select2 button {
    width: auto;
}
.form-cs-wrapper .form-cs-control.row-horizontal {
    display: flex;
}
.form-cs-wrapper .form-cs-control label {
    display: block;
}

/*Float Label*/
.form-cs-wrapper .form-cs-control.floatLabel {
    position: relative;
}
.form-cs-wrapper .form-cs-control.floatLabel label {
    background: var(--primary-bg);
    color: var(--primary-txt);
    padding: 3px 15px;
    border-radius: 5px 5px 0px 0px;
    margin: 0;
}
.form-cs-wrapper .form-cs-control.floatLabel :where(input, select, textarea, button) {
    border-radius: 0px 0px 5px 5px;
    border-top: unset;
}



/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 40px;
    background-color: var(--quinary-bg);
    border-radius: 5px;
    border: 1px #969696 solid;
}
.checkmark.sq-30{
    height: 30px;
    width: 30px;
}
.checkmark.sq-50{
    height: 50px;
    width: 50px;
}
.checkmark.sq-60{
    height: 60px;
    width: 60px;
}
.checkmark + * {
    padding-left: 55px;
}
.checkmark.sq-30 + * {
    padding-left: 45px;
}
.checkmark.sq-50 + * {
    padding-left: 65px;
}
.checkmark.sq-60 + * {
    padding-left: 75px;
}

input:checked ~ .checkmark {
    background-color: var(--primary-bg);
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 0;
    right: 0;
    top: 4px;
    width: 14px;
    height: 22px;
    border: solid #fff;
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    margin: auto;
}
.checkmark.sq-30:after{
    top: 3px;
    width: 10px;
    height: 16px;
    border-width: 0 3px 3px 0;
}
.checkmark.sq-50:after{
    top: 6px;
    width: 15px;
    height: 27px;
    border-width: 0 5px 5px 0;
}
.checkmark.sq-60:after{
    top: 7px;
    width: 20px;
    height: 34px;
    border-width: 0 6px 6px 0;
}
input:checked ~ .checkmark:after {
    display: block;
}

table.dataTable thead th, table.dataTable thead td {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding: 15px 10px;
    text-align: center;
}
.dataTables_length select, .dataTables_filter input[type="search"] {
    border-radius: 5px;
    background: #fafafa;
    color: #666;
    border: 1px solid #ccc;
    padding: 10px 15px;
    box-sizing: border-box;
    max-width: 100%;
    outline: unset;
    line-height: 1.5;
}
.dataTables_wrapper label {
    text-transform: uppercase;
    margin-bottom: 15px;
}
.table-detail-wrapper {
    border: 2px var(--primary-bg) solid;
    border-radius: 5px;
    position: relative;
    top: -6px;
    padding: 10px;
    box-shadow: 2px 2px 5px rgb(0 0 0 / 20%);
    overflow-x: auto;
    margin-right: 10px;
}
.table-detail-wrapper table{
    text-align: center;
    width: auto !important;
    min-width: calc(100% - 1px);
    margin-bottom: 15px !important;
    margin-top: 15px !important;
}
.table-detail-wrapper button {
    margin-right: 10px !important;
    padding: 10px 15px !important;
}
.table-detail-wrapper p, .table-detail-wrapper span {
    font-size: inherit!important;
    margin: 0;
}
.table-detail-wrapper tr td {
    position: relative;
    text-align: center;
    min-width: 80px;
}
.table-detail-wrapper tr td > .edit-row {
    position: absolute;
    right: calc(100% + 0px);
    top: 55%;
    transform: translate(0, -50%);
    height: 30px;
}
.display-database-table-data .table-detail-wrapper {
    padding: 0;
    border: unset;
    margin: 0;
    box-shadow: unset;
    background: transparent;
    overflow-y: hidden;
    overflow-x: auto;
    border-radius: 0;
    margin-top: 50px;
}
.display-database-table-data table, .display-database-table-data td, .display-database-table-data th {
    border: 1px solid rgba(0, 0, 0, .1);
}
.display-database-table-data td, .display-database-table-data th {
    border-width: 0 1px 1px 0;
}
.display-database-table-data .table-detail-wrapper th {
    padding-right: 20px;
}

.display-database-table-data .table-detail-wrapper .dt-button-collection {
    max-height: calc(100% - 100px);
    overflow-y: auto;
}