﻿html {
    direction: rtl;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fontAw {
    font-size: 30px;
}

.ScannerInput:focus {
    outline: none;
    background-color: yellow;
    border: 6px double blue;
}

.ScannerInput::-webkit-outer-spin-button,
.ScannerInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.ScannerInput {
    -moz-appearance: textfield;
}

.StudentButton {
    width: 120px;
    height: 120px;
    margin-right: 5px;
    font-size: 12px;
    white-space: normal;
    word-wrap: break-word;
}

#studentList > * {
    margin-bottom: 5px;
}



body {
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: darkslategray;
    font-size: 18px;
    /*    margin: 25px;
*/ padding-top: 75px;
    padding-right: 20px;
    padding-bottom: 75px;
    padding-left: 20px;
    background: #bdc3c7;
    background: -webkit-linear-gradient(to top,lightslategray,lightgray,lightslategray);
    background: linear-gradient(to top,lightslategray,lightgray,lightslategray);
}

.sideBarIcon {
    font-size: 2rem;
    color: gainsboro;
    text-shadow: 3px 3px lightslategray;
    text-align: center;
    margin-top: 5%;
}

/*.sideBarIconCircle {
    font-size: 2rem;
    color: gainsboro;
    text-shadow: 3px 3px lightslategray;
    text-align: center;
    margin-top: 5%;
    border: 2px double red;
    border-radius: 50%;
    width: 400px;
    height: 400px;
    position:center;
}*/

th {
    background: white;
    position: sticky;
    top: 60px;
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.4);
}

.sideBarIconCircle {
    --d: 1em; /* image size */
    --rel: 1; /* how much extra space we want between images, 1 = one image size */
    --r: calc(.5*(1 + var(--rel))*var(--d)/var(--tan)); /* circle radius */
    --s: calc(2*var(--r) + var(--d)); /* container size */
}

    .sideBarIconCircle a i {
        position: absolute;
        top: 50%;
        right: 50%;
        margin: calc(-.5*var(--d));
        width: var(--d);
        height: var(--d);
        --az: calc(var(--i)*1turn/var(--m));
        transform: rotate(var(--az)) translate(var(--r)) rotate(calc(-1*var(--az)));
        font-size: 5rem;
        color: gainsboro;
        text-shadow: 3px 3px lightslategray;
        text-align: center;
    }

    .sideBarIconCircle a svg {
        position: absolute;
        top: 50%;
        right: 50%;
        margin: calc(-.5*var(--d));
        width: var(--d);
        height: var(--d);
        --az: calc(var(--i)*1turn/var(--m));
        transform: rotate(var(--az)) translate(var(--r)) rotate(calc(-1*var(--az)));
        font-size: 5rem;
        color: gainsboro;
        text-shadow: 3px 3px lightslategray;
        text-align: center;
    }

    .sideBarIconCircle i {
        position: absolute;
        top: 38%;
        right: 44%;
        width: var(--d);
        height: var(--d);
        font-size: 3rem;
        color: lightslategray;
        text-shadow: 3px 3px gainsboro;
        text-align: center;
    }

.create-Btn {
    width: 200px;
    margin-right: 10px;
    float: left;
    margin-top: 25px;
    margin-bottom: 15px;
}

.back-Btn {
    width: 150px;
    float: left;
    margin-top: 25px;
}
/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

h1 {
}

h2 {
    text-align: center;
    font-size: 25px;
    border-color: black;
    border-style: double;
    color: dimgrey;
    text-shadow: 2px 1px black;
}

table, th, td {
    color: darkslategray;
    font-size: 18px;
    border: 1px double black;
}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    background-color: #428bca;
    color: white;
}

tr:nth-child(even) {
    background-color: #f3eeee;
}

ul.nav.nav-tabs li:not(.active) a {
    background-color: #eeeeee;
    color: gray;
}

ul.nav.nav-tabs li.active a {
    border-top: 1px solid #16a765;
}

@font-face {
    font-family: 'ArabicNavFont';
    src: url('../fonts/GE_SS_Two_Bold.otf') format('opentype');
}


.navbar .navbar-nav > li > a {
    color: lightgray;
    font-family: ArabicNavFont;
    padding-right: 9px;
    padding-left: 9px;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
}

    .navbar .navbar-nav > li > a:hover {
        color: #e7e7e7;
    }


.nav > li {
    position: relative;
    display: block;
    height: 70px;
    padding-top: 10px;
}


.navbar-nav {
    padding-left: 50px;
}

.navbar .navbar-nav > li > a:focus {
    border-color: #e7e7e7;
    border-style: ridge;
}

/*#MainBody {
    width: 80%;
    margin-right: 25px;
    padding-right: 25px;
}*/

#sidebar {
    min-height: 100vh;
    position: fixed;
    overflow-y: auto;
    top: 15px;
    right: 0;
    width: 300px;
    will-change: left, width;
    background: #222;
    padding-top: 50px;
    color: lightgray;
    z-index: 999;
}

    #sidebar ul {
        list-style: none;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
        font-size: 15px;
        font-weight: bold;
    }

        #sidebar ul li {
            padding: 10px;
            font-size: 15px;
            font-weight: bold;
        }

            #sidebar ul li a {
                font-size: 15px;
                font-weight: bold;
            }

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar #SideBarBtnID {
    top: 35%;
    position: absolute;
    height: 150px;
    width: 35px;
    background-color: lightgray;
    border-color: green;
    color: green;
    font-weight: bold;
    left: 0;
    border-radius: 15px;
}

@media print {
    html, body {
        width: 210mm;
        height: 297mm;
        margin: 0;
        padding: 0;
    }

    @page {
        size: A4 portrait;
        max-height: 100%;
        max-width: 100%;
        padding: 5px;
        margin: 10px 5px;
        top: 150px;
    }

    table, table thead tr, table thead tr th, table thead th, table th, th, table td, td {
        border-color: black;
    }

    .reciept {
        width: 230mm;
        height: 35%;
        margin: 0;
        padding: 40px 0;
        background: border-box;
    }

    #sidebar {
        display: none;
    }

    .btn {
        display: none;
    }

    .NotPrint {
        display: none;
    }

    .Header {
        display: block;
        width: 100%;
        margin-right: 10px;
        margin-left: 10px;
        position: center;
        align-self: center;
        text-align: center;
        clear: both;
    }

    .card-header {
        color: black;
        background-color: lightgray;
        text-align: center;
        text-decoration: none !important;
    }

    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: right;
    }

    .col-sm-12, .col-md-12 {
        width: 100%;
    }

    .col-sm-11, .col-md-11 {
        width: 91.66666667%;
    }

    .col-sm-10, .col-md-10 {
        width: 83.33333333%;
    }

    .col-sm-9, .col-md-9 {
        width: 75%;
    }

    .col-sm-8, .col-md-8 {
        width: 66.66666667%;
    }

    .col-sm-7, .col-md-7 {
        width: 58.33333333%;
    }

    .col-sm-6, .col-md-6 {
        width: 50%;
    }

    .col-sm-5, .col-md-5 {
        width: 41.66666667%;
    }

    .col-sm-4, .col-md-4 {
        width: 33.33333333%;
    }

    .col-sm-3, .col-md-3 {
        width: 25%;
    }

    .col-sm-2, .col-md-2 {
        width: 16.66666667%;
    }

    .col-sm-1, .col-md-1 {
        width: 8.33333333%;
    }

    .col-sm-pull-12 {
        right: 100%;
    }

    .col-sm-pull-11 {
        right: 91.66666667%;
    }

    .col-sm-pull-10 {
        right: 83.33333333%;
    }

    .col-sm-pull-9 {
        right: 75%;
    }

    .col-sm-pull-8 {
        right: 66.66666667%;
    }

    .col-sm-pull-7 {
        right: 58.33333333%;
    }

    .col-sm-pull-6 {
        right: 50%;
    }

    .col-sm-pull-5 {
        right: 41.66666667%;
    }

    .col-sm-pull-4 {
        right: 33.33333333%;
    }

    .col-sm-pull-3 {
        right: 25%;
    }

    .col-sm-pull-2 {
        right: 16.66666667%;
    }

    .col-sm-pull-1 {
        right: 8.33333333%;
    }

    .col-sm-pull-0 {
        right: auto;
    }

    .col-sm-push-12 {
        left: 100%;
    }

    .col-sm-push-11 {
        left: 91.66666667%;
    }

    .col-sm-push-10 {
        left: 83.33333333%;
    }

    .col-sm-push-9 {
        left: 75%;
    }

    .col-sm-push-8 {
        left: 66.66666667%;
    }

    .col-sm-push-7 {
        left: 58.33333333%;
    }

    .col-sm-push-6 {
        left: 50%;
    }

    .col-sm-push-5 {
        left: 41.66666667%;
    }

    .col-sm-push-4 {
        left: 33.33333333%;
    }

    .col-sm-push-3 {
        left: 25%;
    }

    .col-sm-push-2 {
        left: 16.66666667%;
    }

    .col-sm-push-1 {
        left: 8.33333333%;
    }

    .col-sm-push-0 {
        left: auto;
    }

    .col-sm-offset-12 {
        margin-left: 100%;
    }

    .col-sm-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-sm-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-sm-offset-9 {
        margin-left: 75%;
    }

    .col-sm-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-sm-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-sm-offset-6 {
        margin-left: 50%;
    }

    .col-sm-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-sm-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-sm-offset-3 {
        margin-left: 25%;
    }

    .col-sm-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-sm-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-sm-offset-0 {
        margin-left: 0%;
    }

    .visible-xs {
        display: none !important;
    }

    .hidden-xs {
        display: block !important;
    }

    table.hidden-xs {
        display: table;
    }

    tr.hidden-xs {
        display: table-row !important;
    }

    th.hidden-xs,
    td.hidden-xs {
        display: table-cell !important;
    }

    .hidden-xs.hidden-print {
        display: none !important;
    }

    .hidden-sm {
        display: none !important;
    }

    .visible-sm {
        display: block !important;
    }

    table.visible-sm {
        display: table;
    }

    tr.visible-sm {
        display: table-row !important;
    }

    th.visible-sm,
    td.visible-sm {
        display: table-cell !important;
    }

    table tr td, th {
        font-size: 16px;
        font-weight: bold;
        padding: 0;
        margin: 0;
        color: black;
    }
}

.nav-pills .nav-item .nav-link:not(.active) {
    color: dimgray;
    background-color: transparent;
    border: none;
    font-weight: normal;
}

.nav-pills .nav-item .nav-link {
    color: white;
    background-color: dimgray;
    border: hidden;
    font-weight: bold;
}


.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        left: 8px;
        width: 16px;
        background: rgba(0,0,0,0.4);
        animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

        .lds-facebook div:nth-child(1) {
            left: 8px;
            animation-delay: -0.24s;
        }

        .lds-facebook div:nth-child(2) {
            left: 32px;
            animation-delay: -0.12s;
        }

        .lds-facebook div:nth-child(3) {
            left: 56px;
            animation-delay: 0;
        }

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%, 100% {
        top: 24px;
        height: 32px;
    }
}

.search-select {
    padding: 0 0.375rem;
}
