body {
    width: 100%;
    height: 100%;
    background: #02336d;
    /* background: url('../../../bg.jpeg'); */
    background-size: 100% 100%;
}

table td,
table th {
    white-space: nowrap;
}

.form-control {
    border-radius: 4px;
}

img {
    cursor: pointer;
}

.date {
    direction: ltr;
    text-align: right;
}

li a {
    color: black !important;
}

.image {
    width: 100px;
}

.dt-buttons {
    margin: 10px;
    text-align: left;
}

.attr {
    font-size: 10px;
    color: red;
}

fieldset {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 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;
}

legend {
    width: inherit;
    /* Or auto */
    padding: 0 10px;
    /* To give a bit of padding on the left and right */
    border-bottom: none;
}

.form-group {
    padding: 5px;
}

.remove_image {
    color: red;
    font-size: 30px;
    cursor: pointer;
}


.select2-close-mask {
    z-index: 9999 !important;
}

.select2-dropdown {
    z-index: 9999 !important;
}

.datepicker-plot-area {
    z-index: 9999 !important;
}

#alert-success {
    z-index: 9999 !important;
}

#alert-success .modal-content {
    background-color: green;
    color: white;
}

#alert-error {
    z-index: 9999 !important;
}

#alert-error .modal-content {
    background-color: rgb(166, 41, 41);
    color: white;
}

/* Preloader
/* ========================================================================== */
#preloader {
    position: fixed;
    z-index: 999999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.6);
}

#preloader-status {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    /*You can use animated gif for preloader*/
    /*background: url('../img/preloader.png') no-repeat 50% 20px;*/
}

#preloader-title {
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.spinner {
    margin: 0 auto;
    width: 120px;
    height: 30px;
    text-align: center;
    font-size: 10px;
}

.spinner>div {
    background-color: #00b16a;
    height: 100%;
    width: 20px;
    display: inline-block;
    -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
    animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {

    0%,
    40%,
    100% {
        -webkit-transform: scaleY(0.4);
    }

    20% {
        -webkit-transform: scaleY(1);
    }
}

@keyframes stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
    }
}

.dv-header {
    background: #3d98c2;
    padding: 10px;
    margin: 0px 0 20px 0
}

.modal .col-sm-12 {}

.dt-buttons {
    float: left;
}

i {
    vertical-align: middle !important;
}

.up-btn,
.down-btn {
    font-size: 25px !important;
}

.hour-input,
.minute-input {
    font-size: 20px !important;
}


.dashboard-wrapper {
    padding: 10px 5px 30px;
    direction: rtl;
}

/* Header */
.dashboard-header {
    margin-bottom: 24px;
}

.dashboard-header h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #263238;
}

.dashboard-header p {
    margin: 7px 0 0;
    color: #78909c;
    font-size: 13px;
}

/* Material Card */
.material-card {
    position: relative;
    min-height: 175px;
    margin-bottom: 22px;
    padding: 22px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #edf0f2;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .055);
    overflow: hidden;
    transition: all .25s ease;
    cursor: pointer;
}

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .11);
}

/* top accent */
.material-card::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--card-color);
}

.material-card-content {
    position: relative;
    z-index: 2;
}

.material-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    background: var(--card-bg);
    color: var(--card-color);
    font-size: 22px;
}

.material-card h3 {
    margin: 0 0 7px;
    color: #263238;
    font-size: 18px;
    font-weight: 700;
}

.material-card p {
    margin: 0;
    color: #90a4ae;
    font-size: 13px;
    line-height: 1.7;
}

.material-card-link {
    position: absolute;
    left: 20px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--card-color);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    z-index: 5;
}

.material-card-link i {
    font-size: 11px;
    transition: transform .2s ease;
}

.material-card:hover .material-card-link i {
    transform: translateX(-4px);
}

/* Decorative circle */
.material-card::after {
    content: "";
    position: absolute;
    left: -35px;
    bottom: -55px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--card-bg);
    opacity: .45;
}

/* Colors */
.card-blue {
    --card-color: #1976d2;
    --card-bg: #e3f2fd;
}

.card-purple {
    --card-color: #7e57c2;
    --card-bg: #ede7f6;
}

.card-red {
    --card-color: #e53935;
    --card-bg: #ffebee;
}

.card-cyan {
    --card-color: #0097a7;
    --card-bg: #e0f7fa;
}

.card-green {
    --card-color: #43a047;
    --card-bg: #e8f5e9;
}

.card-orange {
    --card-color: #fb8c00;
    --card-bg: #fff3e0;
}

/* Payment card */
.payment-card {
    cursor: default;
}

.payment-value {
    min-height: 31px;
    display: flex;
    align-items: center;
}

.payment-value .show-btn {
    border: 0;
    border-radius: 8px;
    padding: 6px 15px;
    background: #ffebee;
    color: #e53935;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s ease;
}

.payment-value .show-btn:hover {
    background: #e53935;
    color: #fff;
}

.payment-result {
    color: #263238;
    font-size: 16px;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .material-card {
        min-height: 165px;
    }
}

@media (max-width: 576px) {
    .dashboard-wrapper {
        padding: 5px 0 20px;
    }

    .dashboard-header h4 {
        font-size: 19px;
    }

    .material-card {
        min-height: 155px;
        padding: 18px;
        border-radius: 14px;
    }

    .material-icon {
        width: 45px;
        height: 45px;
        font-size: 19px;
    }

    .material-card h3 {
        font-size: 16px;
    }
}