@import "../fonts/rudiment/font.css";
@font-face{
    font-family:  'Vazir-Light';
    src: url('../fonts/vazir/light/Vazir-Light.eot');
    src: url('../fonts/vazir/light/Vazir-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/vazir/light/Vazir-Light.woff') format('woff'),
    url('../fonts/vazir/light/Vazir-Light.ttf') format('truetype');
    /*url('../fonts/vazir/light/Vazir-Light.svg#Vazir-Light') format('svg');*/
    font-display: swap;
}

.chalk-font{
   font-family: Rudiment;
    font-weight: bold;
    color: #95999c;
}


html,
body {
    height: 100%;
    font-family: 'Vazir-Light', Tahoma, Helvetica, Roboto, Arial, sans-serif;
    /*user cant select text*/
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    scroll-behavior: smooth;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto 0;
    padding: 0 0 0px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {

    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    padding-bottom: 110px;
    margin-top: 50px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.custom-scroll {
    overflow-y: auto;
}
.custom-scroll-address-section {
    max-height: 320px;
}
/******************* Custom Scroll *******************/
/* Scrollbar width */
.custom-scroll::-webkit-scrollbar {
    width: 8px;
}

/* Scrollbar track */
.custom-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Scrollbar thumb */
.custom-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Scrollbar thumb hover */
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Firefox Support */
.custom-scroll {
    scrollbar-width: thin;          /* auto | thin | none */
    scrollbar-color: #888 #f1f1f1;  /* thumb | track */
}
/*****************************************************/

/******************* No Select *******************/
.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
/*************************************************/

/**************** Spinner START ****************/
#page-loader {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.6);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    cursor: wait;
}
#page-loader.active {
    display: flex;
}
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/***************** Spinner END *****************/

/* LTR */
[dir="ltr"] .modal-header .btn-close {
    margin-left: auto;
    margin-right: 0;
}

/* RTL */
[dir="rtl"] .modal-header .btn-close {
    margin-right: auto;
    margin-left: 0;
}