﻿
.ViewUpdateProgress {
    position: fixed;
    z-index: 10000;
    left: 0;
    width: 300px;
    padding: 12.5px;
    border: 1px solid gray;
    background: white;
    display: none;
    text-align: center;
}

.Page-header {
    margin: 0;
    padding: 0px 0 15px 0;
    display: flex;
}

    .Page-header h4 {
        flex-grow: 10;
    }

    .Page-header .controls {
        flex-grow: 2;
        text-align: left;
    }

.PageContent {
    padding: 20px;
}

.MyAlert {
    position: fixed;
    z-index: 100000;
    top: 0px;
    left: 0px;
    min-width: 400px;
    display: none;
    border-radius: 0;
}


.alert-danger::before {
    border-bottom: 12px solid #f8d7da;
}

.alert-success::before {
    border-bottom: 12px solid #d4edda;
}

.modal {
    background-color: #979aa2;
}

.modal-content {
    padding: 20px;
    background-color: #f0f4f9;
    padding: 20px;
}

.modal-header {
    background-color: #FFF;
    border-radius: 20px 20px 0 0;
}

    .modal-header .btn {
        border-radius: 50%;
        width: 30px;
    }

.modal .modal-body {
    max-height: 400px;
    overflow-y: auto;
    background-color: #FFF;
}

.modal-footer {
    justify-content: space-between;
    background-color: #FFF;
    border-radius: 0 0 20px 20px;
}
/*----------------------------------------------------------------------------*/

.navbar {
    background-color: #FFF !important;
    padding: 10px;
}

.nav-item {
    padding-right: 8px;
    padding-left: 8px;
}

    .nav-item .active {
        background-color: gray;
    }
/*----------------------------------------------------------------------------*/

.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}


progress {
    background-color: #027166;
}

    progress::-webkit-progress-bar {
        background-color: lightgray;
    }

    progress::-webkit-progress-value {
        background-color: #027166;
    }

/*----------------------------------------------------------------------------*/

.input-group {
    position: relative;
}

.input-group-label {
    padding: 2px 5px;
    color: #5895e2;
    text-align: left;
    line-height: 25px;
}

.input-group-text {
    margin-right: 0;
}

.Required .form-control {
    /*border-color: #ebb2b2;*/
}

.Required .input-group-label::after {
    content: '*';
    display: inline-block;
    padding-right: 5px;
    color: red;
}



.form-control {
    border: 1px solid #EEE;
    padding: 2px 5px;
    line-height: 25px;
    border-radius: 5px;
    appearance: auto !important;
}

.aspNetDisabled .UploadAdd {
    display: none;
}

.aspNetDisabled .form-control {
    border-bottom: none;
    background-color: #EEE;
}
/*----------------------------------------------------------------------------*/
.btn, .btn-sm, .btn-group-sm > .btn {
    border-radius: 0px;
}

.btn {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px !important;
}

.btn-lg {
    border-radius: 10px;
    padding: 10px 20px;
}


.btn-primary {
    color: #fff;
    background-color: #5895e2;
    border-color: #5895e2;
}



/*----------------------------------------------------------------------------*/

/*
.card {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.card-header {
    color: #2a3b71;
    font-weight: normal;
    font-family: droid_arabic_kufi_bold;
}


.card-footer {
    text-align: left;
}*/

.CardPage {
    border: none;
    border-radius: 20px;
}

    .CardPage .card-header {
        color: #FFF;
        background-color: #5895e2 !important;
        padding: 10px 30px 10px 20px;
        border-radius: 15px 15px 0 0;
        font-size: 16px;
        line-height: 34px;
    }

        .CardPage .card-header .controls {
            float: left;
            display: flex;
        }

            .CardPage .card-header .controls .btn {
                background-color: #FFF;
                border-radius: 15px;
                border: none;
                line-height: 25px;
                padding-right: 15px;
                padding-left: 15px;
            }

                .CardPage .card-header .controls .btn:hover {
                    background-color: #EEE;
                    color: #000;
                    border-radius: 15px;
                    border: none;
                }

    .CardPage .card-body {
        padding: 20px;
    }


/*--------------------------------------------------------------------------------*/
.GridContainer {
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    overflow-x: auto;
}

    .GridContainer .GridView {
        min-width: 1024px;
    }


.GridView {
    width: 100%;
    background: #FFF;
    border: none;
    border-collapse: separate
}

    .GridView > tbody > tr > th {
        border-bottom: 1px solid #EEE;
        color: #5895e2;
        text-align: right;
        padding: 5px 5px;
        height: 40px;
        font-weight: normal;
        font-family: droid_arabic_kufi_bold;
    }



    .GridView > tbody > tr > td {
        border-bottom: 1px solid #EEE;
        padding: 10px 5px;
    }

    .GridView tr:hover {
        background: rgba(128,128,128,.04);
    }

    .GridView .Pagger td {
        padding: 4px;
    }

        .GridView .Pagger td span {
            display: inline-block;
            padding: 2px;
            width: 15px;
            text-align: center;
        }

        .GridView .Pagger td a {
            display: inline-block;
            padding: 2px;
            border: 1px solid #FFF;
            width: 20px;
            text-align: center;
        }

.GridViewLines {
    width: 100%;
    border: 0px;
}

    .GridViewLines tr {
        border-bottom: 1px solid #ebf5ff;
    }

    .GridViewLines tr {
        border-bottom: 1px solid #ebf5ff;
    }

        .GridViewLines tr:last-child {
            border-bottom: 0px;
        }

    .GridViewLines td {
        padding: 4px;
    }

/*----------------------------------------------------------------------------*/
.SideBar {
    position: fixed;
    top: 0px;
    right: 0;
    bottom: 0;
    width: 100px;
    background: #FFF;
    z-index: 100;
    transition: 0.5s all;
}

    .SideBar .Logo {
        background: #FFF;
        height: 95px;
        text-align: center;
    }

        .SideBar .Logo img {
            height: 75px;
            padding: 10px 10px 0 10px;
        }

    .SideBar .user-avatar {
        text-align: center;
        padding: 10px;
    }

        .SideBar .user-avatar img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 2px solid gray;
        }

    .SideBar .user-name {
        text-align: center;
        color: gray;
    }

    .SideBar .SideMenu a {
        color: gray;
        font-size: 13px;
        display: block;
        text-decoration: none;
    }

.SideMenu > div {
    display: none;
}

.SideMenu ul {
    padding-right: 40px;
}

    .SideMenu ul li {
        position: relative;
        list-style: none;
        height: 28px;
        line-height: 28px;
    }

        .SideMenu ul li:before {
            content: ' ';
            height: 28px;
            border-right: 1px solid #cad2e2;
            position: absolute;
            right: -14px;
            top: -8px;
        }

        .SideMenu ul li:after {
            content: ' ';
            width: 6px;
            height: 6px;
            border-radius: 3px;
            background-color: #67a8e4;
            position: absolute;
            right: -16px;
            top: 12px;
        }

.SideBar .selected {
}

.MenuParent {
    padding-right: 15px;
    height: 40px;
    line-height: 40px;
}

.MenuShow + div {
    display: block;
}

.MenuParent i {
    font-size: 18px;
    margin-left: 5px;
}



.SideBar.visibleSB {
    display: block !important;
    top: 5vh;
    overflow-y: scroll;
}

.SideBar .SideMenu2 {
    padding: 0;
    margin: 0;
    padding-right: 20px;
    list-style: none;
}

  

    .SideBar .SideMenu2 .active {
        background-color: #EEE;
        border-left: 2px solid #5895e2;
    }

    .SideBar .SideMenu2 a {
        display: block;
        color: #5895e2;
        padding: 13px 0;
        text-align: center;
        border-left: 4px solid #FFF;
    }

        .SideBar .SideMenu2 a i {
            display: block;
            font-size: 20px;
            text-align: center;
        }

        .SideBar .SideMenu2 a span {
            display: block;
            text-align: center;
        }

    .SideBar .SideMenu2 .Active {
        background-color: #EEE;
        border-left: 2px solid #5895e2;
    }


/*----------------------------------------------------------------------------*/
.Switch {
    position: relative;
    text-align: left;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

    .Switch input {
        display: none;
    }

    .Switch label {
        background: gray;
        width: 40px;
        height: 24px;
        position: relative;
        border-radius: 12px;
    }

        .Switch label::after {
            content: '';
            display: block;
            width: 20px;
            height: 20px;
            border-radius: 10px;
            background: #FFF;
            position: absolute;
            top: 2px;
            left: 2px;
            transition: 0.2s all;
        }

    .Switch input:checked ~ label {
        background-color: green;
    }

        .Switch input:checked ~ label::after {
            left: 19px;
        }
/*--------------------------------------------------------------------------------*/

@media (max-width: 1400px) {
    .navbar {
        padding-right: 10px;
        transition: 0.5s all;
    }


    .AppWrapper {
        padding-right: 20px;
    }

  

    .navbar-toggler-icon {
        display: inline-block;
    }

    .ShowMenu .navbar {
        padding-right: 260px;
    }

    .ShowMenu .SideBar {
        right: 0px;
    }
}




@media (max-width: 640px) {
    .SideBar {
        display: none;
    }
    .MyAlert{
        text-align:center;
    }
    .SideBar.visibleSB{
        top:0;
    }
    .SideBar {
        width: 100%;
        background-color: #4684AB;
        z-index:1050;
    }
        .SideBar .SideMenu2{
            padding-right:0;
        }
        .SideBar .SideMenu2 a {
            color: #F6F8FC;
        }

            .SideBar .SideMenu2 a i {
                margin-bottom: 4px;
            }

    .ShowMenu .navbar-brand {
        display: none;
    }

    .AppWrapper {
        overflow-x: hidden;
        padding-right: 10px !important;
        padding-left: 10px !important;
        background-color: #021521 !important;
    }

    .GridView {
        background: transparent;
    }
    /*-------- card ---------------*/
    .CardPage .card-body {
        max-height: 77vh;
        border-radius: 0 0 20px 20px;
    }

    .CardPage .card-header .controls .btn {
        background-color: #4684AB;
        border-color: #4684AB;
        color: #fff;
        border-radius: 6px;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 1px 1px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 125px;
        height: 34px;
    }

    .CardPage, .CardPage .card-body {
        background-color: #F0F4F9D9;
    }


        .CardPage .card-body, .CardPage .card-body .GridView {
            width: 100%;
            overflow: auto;
        }

            .CardPage .card-body .GridView > tbody > tr > td {
                padding: 10px 10px;
                text-align: center;
            }

            .CardPage .card-body .GridView > tbody > tr > th, .GridView > tbody > tr > a {
                width: auto;
                min-width: 100px;
                text-align: center;
                color: #021521;
                font-weight: normal;
                font-family: droid_arabic_kufi_bold;
            }

    .GridView > tbody > tr > th, .GridView > tbody > tr > td {
        border-bottom: 1px solid #2B50AA;
    }

    .data th, .data td {
        width: auto;
        min-width: 100px;
        text-align: center;
    }
    /*--------- modal -------------*/
    .modal-content, .modal .modal-body, .modal-footer, .modal-dialog {
        background-color: #F0F4F9D9;
        border-radius: 3px;
    }

    .modal {
        display: flex !important;
        background-color: #021521;
        align-items: center;
        justify-content: center;
    }

    .modal-header {
        background-color: #5895E2;
    }

        .modal-header .btn {
            box-shadow: none !important;
        }

    .btn-outline-secondary {
        --bs-btn-color: #fff;
        --bs-btn-border-color: #fff;
    }

    .modal-header h5 {
        color: #fff;
    }

    .modal-content {
        height: 95vh;
        width: 95vw;
    }

    .modal .modal-body {
        max-height: 95%;
        height: 95%;
        overflow-y: auto
    }

    .modal-footer {
        justify-content: center
    }

    .input-group-label {
        color: #021521;
        font-weight: 600;
    }

    .form-control {
        background-color: #4684AB7D;
        border: 2px solid #D7E7F0;
        color: #021521;
    }

    .Switch label {
        background: #B0B4B5
    }

    .Switch input:checked ~ label {
        background-color: #4684AB;
    }

    select {
        position: relative;
        width: 100%;
    }

    option {
        color: #021521;
    }

    .modal-footer .btn-primary {
        background-color: #021521;
        border-color: #021521;
        color: #fff;
        border-radius: 4px;
        width: 100px
    }
    /*--------------------------*/
    .top-div {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .back-btn {
        background: none;
        border: none;
    }

        .back-btn .fa-circle-left {
            font-size: 25px;
            color: #fff;
        }
    /*--------------------------*/
    .BundleMenu {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        list-style: none;
        padding: 10px 20px;
        background-color: #5895E2;
        border: none;
        border-radius: 20px;
        height: 100px;
    }

        .BundleMenu li a {
            color: #fff;
        }

            .BundleMenu li a.Active {
                color: #071427;
                font-weight: 600;
            }
    /*------------------------*/
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #eee;
        border-radius: 0px;
    }

    ::-webkit-scrollbar-thumb {
        background: #4684AB22;
        border-radius: 0;
    }

        ::-webkit-scrollbar-thumb:hover {
            background: #4684AB;
            cursor: pointer;
            width: 40px;
        }
}
/*--------------------------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: #5895e222;
    border-radius: 0;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #5895e2;
        cursor: pointer;
        width: 40px;
    }
