﻿@font-face {
    font-family: MV_Waheed;
    src: url('../../fonts/mv_waheed.otf');
}

@media (min-width: 576px) {
    .fs-1 {
        font-size:12px;
    }
    .fs-2 {
        font-size: 14px;
    }
    .fs-3 {
        font-size: 16px;
    }
    .fs-4 {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .fs-1 {
        font-size: 13px;
    }

    .fs-2 {
        font-size: 15px;
    }

    .fs-3 {
        font-size: 17px;
    }

    .fs-4 {
        font-size: 19px;
    }
}

@media (min-width: 992px) {
    .fs-1 {
        font-size: 14px;
    }

    .fs-2 {
        font-size: 16px;
    }

    .fs-3 {
        font-size: 18px;
    }

    .fs-4 {
        font-size: 20px;
    }
}

@media (min-width: 1200px) {
    .fs-1 {
        font-size: 14px;
        font-weight: bold;
    }

    .fs-2 {
        font-size: 16px;
        font-weight: bold;
    }

    .fs-3 {
        font-size: 18px;
        font-weight: bold;
    }

    .fs-4 {
        font-size: 20px;
    }
}

.dhivehi-p {
    font-family: Faruma;
    font-size: 16px;
}
/* profile picture staff status indicator */
.avatar {
    position: relative;
    display: inline-block;
}

.avatar-image {
    border: 2px solid #D9D9D9;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire div */
    position: absolute; /* Absolutely positioned to cover the div */
    top: 0;
    left: 0;
}

.avatar-status {
    width: 30%;
    height: 30%;
    border: 2px solid white;
    position: absolute;
    bottom: 2%;
    right: 2%;
    border-radius: 100%;
}

.avatar .online {
    background: #99CC00;
}

.avatar .away {
    background: #ff0000;
}

/* ends ---- profile picture staff status indicator */

/* avatar text */
.avatar {
    font-size: 1rem;
    position: relative;
    display: inline-block;
    width: 38px;
    height: 38px;
}

    .avatar.avatar-xl {
        font-size: 1.70833rem;
        width: 5.125rem;
        height: 5.125rem;
    }

    .avatar.avatar-lg {
        font-size: 1.4rem;
        width: 4.5rem;
        height: 4.5rem;
    }

    .avatar.avatar-md {
        font-size: .95rem;
        width: 3.25rem;
        height: 3.25rem;
    }

    .avatar.avatar-sm {
        font-size: .9rem;
        width: 2.625rem;
        height: 2.625rem;
    }

    .avatar.avatar-xs {
        font-size: .6rem;
        width: 2rem;
        height: 2rem;
    }

    .avatar .avatar-text {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        text-transform: uppercase;
        overflow: hidden;
        background: #fff;
        font-weight: 600;
        background: rgba(178, 230, 250, 0.5);
        color: #00acf0;
    }

        .avatar .avatar-text .initial-wrap {
            display: table;
            width: 100%;
            height: 100%;
        }

            .avatar .avatar-text .initial-wrap > span {
                position: relative;
                display: table-cell;
                vertical-align: middle;
                text-align: center;
            }

        .avatar .avatar-text:before {
            content: "";
            position: absolute;
            height: 100%;
            width: 100%;
            left: 0;
            top: 0;
        }

        .avatar .avatar-text.avatar-text-inv-cyan,
        .avatar .avatar-text.avatar-text-inv-info {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-cyan:before,
            .avatar .avatar-text.avatar-text-inv-info:before {
                background-color: #1ebccd !important;
            }

        .avatar .avatar-text.avatar-text-inv-sky,
        .avatar .avatar-text.avatar-text-inv-primary {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-sky:before,
            .avatar .avatar-text.avatar-text-inv-primary:before {
                background-color: #00acf0 !important;
            }

        .avatar .avatar-text.avatar-text-inv-green,
        .avatar .avatar-text.avatar-text-inv-success {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-green:before,
            .avatar .avatar-text.avatar-text-inv-success:before {
                background-color: #22af47 !important;
            }

        .avatar .avatar-text.avatar-text-inv-red,
        .avatar .avatar-text.avatar-text-inv-danger {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-red:before,
            .avatar .avatar-text.avatar-text-inv-danger:before {
                background-color: #f83f37 !important;
            }

        .avatar .avatar-text.avatar-text-inv-yellow,
        .avatar .avatar-text.avatar-text-inv-warning {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-yellow:before,
            .avatar .avatar-text.avatar-text-inv-warning:before {
                background-color: #ffbf36 !important;
            }

        .avatar .avatar-text.avatar-text-inv-pink {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-pink:before {
                background-color: #ed1b60 !important;
            }

        .avatar .avatar-text.avatar-text-inv-purple {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-purple:before {
                background-color: #ab26aa !important;
            }

        .avatar .avatar-text.avatar-text-inv-violet {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-violet:before {
                background-color: #6640b2 !important;
            }

        .avatar .avatar-text.avatar-text-inv-indigo {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-indigo:before {
                background-color: #3a55b1 !important;
            }

        .avatar .avatar-text.avatar-text-inv-blue {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-blue:before {
                background-color: #0092ee !important;
            }

        .avatar .avatar-text.avatar-text-inv-teal {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-teal:before {
                background-color: #009b84 !important;
            }

        .avatar .avatar-text.avatar-text-inv-neon {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-neon:before {
                background-color: #88c241 !important;
            }

        .avatar .avatar-text.avatar-text-inv-lime {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-lime:before {
                background-color: #d0d962 !important;
            }

        .avatar .avatar-text.avatar-text-inv-sun {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-sun:before {
                background-color: #fde335 !important;
            }

        .avatar .avatar-text.avatar-text-inv-orange {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-orange:before {
                background-color: #ff9528 !important;
            }

        .avatar .avatar-text.avatar-text-inv-pumpkin {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-pumpkin:before {
                background-color: #ff6028 !important;
            }

        .avatar .avatar-text.avatar-text-inv-brown {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-brown:before {
                background-color: #7a5449 !important;
            }

        .avatar .avatar-text.avatar-text-inv-gold {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-gold:before {
                background-color: #c1993f !important;
            }

        .avatar .avatar-text.avatar-text-inv-grey,
        .avatar .avatar-text.avatar-text-inv-secondary {
            color: #fff;
        }

            .avatar .avatar-text.avatar-text-inv-grey:before,
            .avatar .avatar-text.avatar-text-inv-secondary:before {
                background-color: #9e9e9e !important;
            }
/* ends avatar text */


.form-control-xs {
    height: 26px;
    font-size: 11px;
}

/*-- attendance log timeline */
.timeline .timeline-item {
    position: relative;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: flex-start;
}

    .timeline .timeline-item:last-child .timeline-line {
        bottom: 100%;
    }

.timeline .timeline-line {
    display: block;
    content: " ";
    justify-content: center;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translate(50%);
    border-left-width: 1px;
    border-left-style: dashed;
    border-left-color: #E4E6EF;
}

.timeline .timeline-icon {
    z-index: 1;
    flex-shrink: 0;
    margin-right: 1rem;
}

.timeline .timeline-content {
    width: 100%;
    overflow: auto;
    margin-bottom: 1rem;
}

.timeline.timeline-center .timeline-item {
    align-items: center;
}

    .timeline.timeline-center .timeline-item:first-child .timeline-line {
        top: 50%;
    }

    .timeline.timeline-center .timeline-item:last-child .timeline-line {
        bottom: 50%;
    }

.timeline-label {
    position: relative;
}

    .timeline-label:before {
        content: "";
        position: absolute;
        left: 49px;
        width: 3px;
        top: 0;
        bottom: 0;
        background-color: #EFF2F5;
    }

    .timeline-label .timeline-item {
        display: flex;
        align-items: flex-start;
        position: relative;
        margin-bottom: 0.8rem;
    }

        .timeline-label .timeline-item:last-child {
            margin-bottom: 0;
        }

    .timeline-label .timeline-label {
        width: 50px;
        flex-shrink: 0;
        position: relative;
        color: #000000;
        font-weight: bold;
    }

    .timeline-label .timeline-badge {
        flex-shrink: 0;
        background: #ffffff;
        width: 1rem;
        height: 1rem;
        border-radius: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
        position: relative;
        margin-top: 1px;
        margin-left: -0.5rem;
        padding: 3px !important;
        border: 6px solid #ffffff !important;
    }

        .timeline-label .timeline-badge span {
            display: block;
            border-radius: 100%;
            width: 6px;
            height: 6px;
            background-color: #EFF2F5;
        }

    .timeline-label .timeline-content {
        flex-grow: 1;
    }

    /*.timeline-label .fa {
        font-weight: 900;
    }*/

    .timeline-label .fs-1 {
        font-size: 1.2rem !important;
    }
/*--ENDS --- attendance log timeline */

.footer-box-button {
    border-top: 1px solid #e7eaec;
    border-bottom: 1px solid #e7eaec;
    background: #f9f9f9;
    padding: 10px 0px 10px;
    margin-bottom: 10px;
    margin-left: -20px !important;
    margin-right: -20px !important;
}

/* Override select2 style */
.select2-container {
    z-index: 999;
}

.select2-container--open {
    z-index: 9999;
}

.select2-container--default .select2-selection--single {
    border: solid #e7eaec 1px !important;
    border-radius: 0px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: solid #e5e6e7 1px !important;
}

.select2-dropdown {
    border: solid #e5e6e7 1px !important;
    border-radius: 0px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
    right: 5px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    height: 35px !important;
    margin-right: 25px !important;
}

.select2-container--default .select2-selection--multiple {
    border: solid #e5e6e7 1px !important;
    border-radius: 0px !important;
    height: 37px !important;
    cursor: default;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #e5e6e7 1px;
    border-color: #e5e6e7 !important;
    outline: 0;
}

.select2-container .select2-selection--multiple {
    height: 37px !important;
}

/* Override date range style */
.input-daterange .input-group-addon {
    padding: 4px 15px !important;
    font-weight: bold !important;
}

/*******************************
* MODAL AS LEFT/RIGHT SIDEBAR
* Add "left" or "right" in modal parent div, after class="modal".
* Get free snippets on bootpen.com
*******************************/
.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

/*Left*/
.modal.left.fade .modal-dialog {
    left: -0px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog {
    left: 0;
}

/*Right*/
.modal.right.fade .modal-dialog {
    right: -0px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}


/* To adjust the Select2 appearance */
.select-container {
    z-index: 99999;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #ffffff;
    cursor: default;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #e5e6e7 1px;
    outline: 0;
    overflow: hidden !important;
    height: auto !important;
}

.select2-container--default .select2-selection--multiple {
    border: solid #e5e6e7 1px;
    min-height: 37px;
    overflow: hidden !important;
    height: auto !important;
}

.select2-container--default .select2-selection--single {
    border: solid #e5e6e7 1px;
}
/********************************************************/

/* JSON Tree view*/
.treeViewDiv {
    display: none;
    min-height: 30px;
    position: absolute;
    z-index: 3000;
    max-height: 400px;
    overflow: auto;
}
/********************************************************/

/* Badge Colors*/
.label-green,
.badge-green {
    background-color: #5cb85c;
    color: #e5f4e5;
    border-color: #5cb85c;
}

.label-green-light,
.badge-green-light {
    background-color: #e3fce3;
    color: #0c720c;
    border-color: #e3fce3;
}

.label-blue,
.badge-blue {
    background-color: #3d66bd;
    color: #e5eaf4;
    border-color: #3d66bd;
}

.label-blue-light,
.badge-blue-light {
    background-color: #d8e0f2;
    color: #18294c;
    border-color: #d8e0f2;
}

.label-purple-light,
.badge-purple-light {
    background-color: #e5ddfe;
    color: #24057f;
    border-color: #e5ddfe;
}

.label-orange-light,
.badge-orange-light {
    background-color: #fceee3;
    color: #ad5713;
    border-color: #fceee3;
}
/********************************************************/

/* Button Colors*/
.btn-danger-light {
    color: #b31919;
    background-color: #ffdce0;
    border-color: #ffdce0;
}

.btn-danger-light:hover,
.btn-danger-light:focus,
.btn-danger-light.focus {
    color: #fff;
    background-color: #ed5565;
    border-color: #ed5565;
}

.btn-danger-light.disabled,
.btn-danger-light:disabled {
    color: #fff;
    background-color: #b31919;
    border-color: #b31919;
}

.btn-danger-light:not(:disabled):not(.disabled):active,
.btn-danger-light:not(:disabled):not(.disabled).active,
.show > .btn-danger-light.dropdown-toggle {
    color: #fff;
    background-color: #b31919;
    border-color: #b31919;
}

.btn-danger-light:not(:disabled):not(.disabled):active:focus,
.btn-danger-light:not(:disabled):not(.disabled).active:focus,
.show > .btn-danger-light.dropdown-toggle:focus {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
/********************************************************/

/* Keplar Steps */
.stepper-wrapper {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step-content {
    //background: #fafafa !important;
    //border: solid 1px #e7eaec !important;
    //border-radius: 5px !important;
    padding: 15px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-name {
    font-size: 12px;
    color: #1f9587;
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #d6f6f3;
    width: 100%;
    top: 15px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #d6f6f3;
    width: 100%;
    top: 15px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f1fcfb;
    border: solid 1px #7ed7cd;
    margin-bottom: 6px;
    color: #1ab394;
}

.stepper-item.active {
    font-size: 12px;
    color: #00AFB9;
    font-weight: bold;
}

.stepper-item.active .step-counter {
    background-color: #1ab394;
    border: 15px solid #1ab394;
    border-radius: 50%;
    color: white;
}

.stepper-item.completed {
    font-size: 12px;
    color: #118AB2;
}

    .stepper-item.completed .step-counter {
        background-color: #118AB2;
        color: white;
        border: 2px solid #FFF;
        border-radius: 50%;
        color: white;
    }

    .stepper-item.completed::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #118AB2;
        width: 100%;
        top: 15px;
        left: 50%;
        z-index: 3;
    }

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}
/********************************************************/

/* PRINT */
@media only print {
    .no-print, .no-print * {
        display: none !important;
    }

    .show-print {
        display: block !important;
    }
}

.show-print {
    display: none;
}
/********************************************************/

.text-white, .ibox-tools a.text-white {
    color: #fff !important;
}

.text-black, .ibox-tools a.text-black {
    color: #666 !important;
}

.nav .label,
.ibox .label {
    font-size: 11px;
    padding-bottom: 4px;
}

#datepicker .form-control {
    min-height: 37px;
}

/********************************************************/
/* JQUERY IMAGE PREVIEW */
#image-preview {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border: solid 1px #e5e6e7;
    text-align: center;
    padding-top: 70px;
    background-color: white;
}

    #image-preview input {
        line-height: 200px;
        font-size: 200px;
        position: absolute;
        opacity: 0;
        z-index: 10;
    }

    #image-preview label {
        position: absolute;
        z-index: 5;
        opacity: 0.8;
        cursor: pointer;
        background-color: #bdc3c7;
        width: 200px;
        height: 50px;
        font-size: 20px;
        line-height: 50px;
        text-transform: uppercase;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        text-align: center;
    }
/* staff selection select2 */
.staff-search-div .select2-container--default .select2-selection--single {
    border-radius: 5px !important;
    height: 100px;
    padding:10px 2px 10px 10px;
}

.staff-search-div .select2-container--default .select2-selection--single .text-muted {
    color:#cccccc !important;
}
.card-header h2, .card-header p {
    margin: 0;
}
.row-deleted {
    text-decoration-line: line-through;
}

/* Keplar BU Tree Styles */
.treeViewDiv {
    display: none;
    min-height: 30px;
    position: absolute;
    z-index: 3000;
    max-height: 400px;
    overflow: auto;
}

.select2tree + span .select2-search__field {
    display: none;
}
/* END -- Keplar BU Tree */