
button {
    background: transparent;
    border: 0 none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.primary {
    color: var(--mainColor);
}

a.no_underline:hover {
    text-decoration: none;
}

.medium_font {
    font-weight: 500;
}

.bold_font {
    font-weight: 700;
}

.main_btn {
    background: var(--mainColor);
    border-color: var(--mainColor);
    color: #fff;
    font-size: 1rem;
    border-radius: 0.25rem;
}

.light_btn,
.light_btn:hover {
    background-color: var(--lightColor);
    font-size: 1rem;
    color: var(--mainColor);
}

.main_btn:hover,
.main_btn:active {
    background: var(--darkerColor);
    color: #fff;
}

th {
    text-align: right;
}

body {
    direction: rtl;
    text-align: right;
    font-family: "Tajawal", sans-serif;
}

.fixed-sidebar .app-main .app-main__outer {
    transition: all .3s ease;
}

@media (min-width: 992px) {
    .fixed-sidebar .app-main .app-main__outer {
        padding-left: 0;
        padding-right: 280px;
    }
}

.search-wrapper.active .close {
    right: 300px;
    left: 0;
}

.nav-link .nav-link-icon {
    margin-left: 0;
    margin-right: -10px;
}

.app-header .app-header__content .app-header-right {
    margin-right: auto;
    margin-left: 0;
}

.vertical-nav-menu i.metismenu-state-icon.pe-7s-angle-down {
    left: 0;
    right: auto;
}

.vertical-nav-menu i.metismenu-state-icon,
.vertical-nav-menu i.metismenu-icon {
    right: 5px;
    left: auto;
}

.vertical-nav-menu li a {
    padding: 0 2.8125rem 0 1.5rem;
}

.dropdown-menu.dropdown-menu-right {
    left: 0 !important;
    right: auto !important;
}

.app-page-title {
    margin-bottom: 0;
}

    .app-page-title .page-title-icon {
        margin-right: 0;
        margin-left: 1.875rem;
    }

.closed-sidebar .app-sidebar:hover .app-sidebar__inner ul li a {
    text-indent: initial;
    padding: 0 45px 0 1.5rem;
}

.widget-content .widget-content-right {
    margin-left: 0;
    margin-right: auto;
}

.form_control {
    display: block;
    width: 100%;
    border: 0 none;
    border-bottom: 2px solid #ddd;
    padding: 0 0.5rem;
}

.form_line {
    display: block;
    width: 100%;
    position: absolute;
    right: 0;
    height: 2px;
    bottom: 0;
    background: #242c33;
    transform-origin: 100% 100%;
    opacity: 0;
    transform: scaleX(0);
    transition: 0.4s ease-in-out;
}

.form_control:focus ~ .form_line,
.bootstrap-tagsinput:focus ~ .form_line,
.select2-container:active ~ .form_line {
    transform: scaleX(1);
    opacity: 1;
}

.form_head {
    padding: 1rem 0 3rem;
    text-align: center;
    color: #fff;
}

.form_wrapper {
    background: #fff;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    margin-top: -2rem;
    border-radius: 0.5rem;
}

.select2-container .select2-selection--single,
.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 2.5rem;
    border: 2px solid transparent;
    border-bottom-color: #ddd;
}

.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: 2.5rem;
}

.file-preview .fileinput-remove {
    top: 0.5rem;
    left: 0.5rem;
    right: auto;
}

.file-drop-zone-title {
    padding: 3rem 0.5rem;
}

.btn-file {
    border-color: var(--mainColor);
    background: transparent;
    color: var(--mainColor);
}

    .btn-file:hover {
        background: var(--mainColor);
        border-color: var(--mainColor);
    }

.repeated_form .form-row:first-of-type .btn {
    display: none;
}

/* main.css | http://127.0.0.1:5500/assets/css/main.css?_cacheOverride=1590668363362 */

@media (max-width: 991.98px) {
    .app-sidebar {
        /* transform: translateX(-280px); */
        transform: translateX(280px);
    }
}

/* bootstrap-tagsinput.css | http://127.0.0.1:5500/assets/css/bootstrap-tagsinput.css */

.bootstrap-tagsinput .tag {
    background: #e52328;
    padding: 0.1rem 0.25rem;
    border-radius: 0.25rem;
}

.bootstrap-tagsinput {
    /* display: inline-block; */
    display: block;
    border: 2px solid transparent;
    border-bottom-color: #ddd;
    box-shadow: 0 0 0 transparent;
    line-height: 1.8125rem;
}

.status_badge {
    text-align: center;
}

.pointer {
    cursor: pointer;
}

textarea.form-control:focus {
    border-color: #242c33;
    box-shadow: none;
}

.app-sidebar {
    width: 250px;
    min-width: 250px;
}

/* rtl.css | http://127.0.0.1:5500/assets/css/rtl.css */

@media (min-width: 992px) {
    .fixed-sidebar .app-main .app-main__outer {
        /* padding-right: 280px; */
        padding-right: 250px;
    }

    .closed-sidebar.fixed-sidebar .app-main__outer {
        padding-left: 0;
        padding-right: 72px !important;
    }
}

@media (max-width: 991.98px) {
    .sidebar-mobile-open .app-sidebar .app-sidebar__inner ul li a {
        padding: 0 45px 0 1.5rem;
    }
}

.small_font {
    font-size: 0.875rem;
}

.grey_icon {
    color: #a9a9a9;
}

.grey {
    color: #888;
}

/* main.css | http://127.0.0.1:5500/assets/css/main.css */

.app-header__logo .logo-src {
    /* height: 46px; */
    /* background-size: cover; */
    height: 64px;
    background-size: contain;
    background-position: right;
}

.app-sidebar.sidebar-text-light .vertical-nav-menu li a {
    color: #fff;
}

.gradient_btn {
    background: var(--mainColor);
}

    .gradient_btn:hover {
        background: var(--darkerColor);
    }

.app-theme-white .app-sidebar.bg-custom {
    background: var(--mainColor);
}

.vertical-nav-menu i.metismenu-icon {
    width: 1.25em;
    opacity: 0.7;
}

.widget-content .widget-content-left .widget-subheading {
    /* opacity: .5; */
    opacity: 0.7;
}

.widget-content:hover {
    text-decoration: none;
}

.widget-content .widget-content-left .widget-heading {
    opacity: 1;
}

sub {
    font-size: 1rem;
    opacity: 0.8;
}

.checkbox_custom {
    display: inline-flex;
    position: relative;
    margin: 0;
}

    .checkbox_custom input {
        width: 1.5rem;
        height: 1.5rem;
        opacity: 0;
    }

    .checkbox_custom span {
        display: inline-block;
        width: 1.5rem;
        height: 1.5rem;
        border: 2px solid #ddd;
        border-radius: 0.25rem;
        text-align: center;
        position: absolute;
    }

        .checkbox_custom span:before {
            content: "\f00c";
            font-family: "font awesome 5 pro";
            font-weight: 900;
            position: relative;
            top: -0.1rem;
            color: #682b30;
            opacity: 0;
        }

    .checkbox_custom input:checked ~ span:before {
        opacity: 1;
    }

/* jquery.dataTables.min.css | https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css */

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tbody th,
table.dataTable tbody td {
    padding: 10px 12px !important;
}

/* main.css | http://127.0.0.1:5500/assets/css/main.css */

/* main.css | http://127.0.0.1:5500/assets/css/main.css */

.dropdown-menu {
    /* min-width: 15rem; */
    min-width: 10rem;
}

    .dropdown-menu .nav {
        padding-right: 0;
    }

.dropdown-toggle::after {
    /* margin-left: 5px; */
    margin-right: 5px;
}

/* main.css | http://127.0.0.1:5500/assets/css/main.css */

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    /* background-color: #3f6ad8; */
    background: var(--mainColor);
}

/* Element | http://127.0.0.1:5500/addTime.html */

.ui-timepicker-standard {
    z-index: 999 !important;
}

.ui-timepicker-container ul {
    list-style: none;
    padding-right: 0 !important;
    text-align: right;
}

.select2-container--default
.select2-selection--single
.select2-selection__rendered {
    line-height: inherit;
    border-bottom: 2px solid #ddd;
}

.select2-container .select2-selection--single {
    height: auto;
    border: 0 none;
}

.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 1.5rem;
    border: 0 none;
}

.loader {
    color: var(--mainColor);
    font-size: 90px;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    margin: 72px auto;
    position: relative;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;
    animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}



@-webkit-keyframes load6 {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }



    5%, 95% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }



    10%, 59% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }



    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }



    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }



    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}



@keyframes load6 {
    0% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }



    5%, 95% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }



    10%, 59% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }



    20% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
    }



    38% {
        box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
    }



    100% {
        box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}



@-webkit-keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }



    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}



@keyframes round {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }



    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.ajax_loader {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: rgba(255,255,255,.8)
}

.page-item:first-child .page-link, .pagination .page-number:first-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link, .pagination .page-number:last-child .page-link {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.pagination li a {
    font-family: var(--montMed);
}

@media(max-width: 768px) {
    .pagination {
        flex-flow: wrap;
    }
}

.page-item.active .page-link {
    background: var(--mainColor);
}

.pagination li a:hover, .pagination li a {
    color: var(--mainColor);
}

.app-theme-white .app-page-title {
    background-color: transparent;
    padding: 15px 30px;
}

.page-item.active .page-link, .pagination .active.page-number .page-link {
    border-color: var(--mainColor);
}

@media(max-width: 768px) {
    .app-header__mobile-menu {
        padding: 0 .5rem;
    }

    .app-header__logo {
        height: 60px;
        width: 80px;
        padding-right: .5rem;
    }
}


input[type="date"] {
    display: block;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    min-height: 1.5rem;
}

.flex-card > .card {
    height: calc(100%);
}
