/* Ajax Loader Css */
#overlay {
    position: fixed;
    top: 0;
    z-index: 99999 !important;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

.form-check-input:not(:checked) {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23a59cd9'/%3e%3c/svg%3e") !important;
}

.edit-item-btn,
.remove-item-btn,
.view-item-btn {
    cursor: pointer;
}

fieldset {
    border: 1px #ddd solid;
    padding: 10px 15px;
    border-radius: 3px;
    background-color: #f3f6f9;
}

fieldset > legend {
    text-decoration: underline;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}

.dataTables_processing.card {
    box-shadow: none !important;
    background: none !important;
}

.btn-soft-danger {
    border-radius: .2rem;
    padding: 3px 10px 4px 10px !important;
}

/*
.row {
    display: flex;
    align-items: center !important;
}
*/

.dropbtn {
    background-color: #fff;
    /* color: white; */
    /* padding: 16px; */
    font-size: 21px;
    border: none;
    border-radius: .25rem;
}

.dropbtn i {
    color: #878A99 !important;
}

.dropbtn i:hover,
.dropbtn i:focus {
    color: #ffff !important;
}

.dropdown {
    position: relative;
    display: flex;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #F1F1F1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: 35px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
}

.dropdown-content a:hover {
    background-color: #fff;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown:hover .dropbtn {
    background-color: #074C78;
    color: #fff !important;
}

.dropdownres {
    display: none;
}

@media (max-width:991px) {
    .dropbuttons {
        display: none;
    }

    .dropdownres {
        display: flex;
    }
}

.choices {
    margin-bottom: 0px !important;
}

.dropbuttons {
    width: 255px !important;
}

.choices[data-type*=select-one]:after {
    background-color: #fff !important;
    right: 1.5px !important;
}

.choices__list--single .choices__item {
    width:300% !important;
}

.choices__list--dropdown {
    padding: 10px 10px 20px 13px !important;
}

.choices__list--single {
    padding: 4px 4px 4px 4px !important;
}

.notValidated {
    --vz-input-border: red !important;
}

/* This is the width of the modal by default */
.dap-modal-custom-modal-width {
    max-width: 90%; /* Adjust the percentage to your preference */
    width: 90%; /* Adjust the percentage to your preference */
}

.waterpumptankborderindicator {
    border-radius: 50%;
    /*border: 1px solid rgba(43, 54, 116, 1);*/
    /*border: 1px solid rgba(228, 228, 228, 1);*/
    border: 1px solid rgba(0, 0, 0, 1);
    object-fit: cover;
}

/*********************************/
/* Pump Remote Control CSS Start */
/*********************************/

.mid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1em;
}

/* Switch starts here */
.rocker {
    display: inline-block;
    position: relative;
    /*
  SIZE OF SWITCH
  ==============
  All sizes are in em - therefore
  changing the font-size here
  will change the size of the switch.
  See .rocker-small below as example.
  */
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #888;
    width: 7em;
    height: 4em;
    overflow: hidden;
    border-bottom: 0.5em solid #eee;
}

.rocker-small {
    font-size: 0.75em; /* Sizes the switch */
    /*margin: 1em;*/
}

.rocker::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #999;
    border: 0.5em solid #eee;
    border-bottom: 0;
}

.rocker input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-left,
.switch-right {
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5em;
    width: 3em;
    transition: 0.2s;
}

.switch-left {
    height: 2.4em;
    width: 2.75em;
    left: 0.85em;
    bottom: 0.4em;
    background-color: #ddd;
    transform: rotate(15deg) skewX(15deg);
}

.switch-right {
    right: 0.5em;
    bottom: 0;
    background-color: #ddd;
    color: #888;
}

.switch-left::before,
.switch-right::before {
    content: "";
    position: absolute;
    width: 0.4em;
    height: 2.45em;
    bottom: -0.45em;
    background-color: #ccc;
    transform: skewY(-65deg);
}

.switch-left::before {
    left: -0.4em;
}

.switch-right::before {
    right: -0.375em;
    background-color: transparent;
    transform: skewY(65deg);
}

input:checked + .switch-left {
    /*background-color: #bb0000;*/
    background-color: rgba(var(--vz-danger-rgb));
    color: #fff;
    bottom: 0px;
    left: 0.5em;
    height: 2.5em;
    width: 3em;
    transform: rotate(0deg) skewX(0deg);
}

input:checked + .switch-left::before {
    background-color: transparent;
    width: 3.0833em;
}

input:checked + .switch-left + .switch-right {
    background-color: #ddd;
    color: #888;
    bottom: 0.4em;
    right: 0.8em;
    height: 2.4em;
    width: 2.75em;
    transform: rotate(-15deg) skewX(-15deg);
}

input:checked + .switch-left + .switch-right::before {
    background-color: #ccc;
}

/* Keyboard Users */
input:focus + .switch-left {
    color: #888;
}

input:checked:focus + .switch-left {
    color: #fff;
}

input:focus + .switch-left + .switch-right {
    color: #888;
}

input:checked:focus + .switch-left + .switch-right {
    color: #888;
}

.inDevCustomIconSize img {
    width: 45px;
    height: 45px;
}

.inDevCustomActionIconSize img {
    width: 15px;
    height: 15px;
}

.batt-icon-tab img {
    width: auto;
    height: 20px;
}

/*******************************/
/* Pump Remote Control CSS End */
/*******************************/
