
body, h1, h2, h3, h4, h5, h6, p, .navigation-menu>li>a{
    font-family: 'Almarai', sans-serif;
}

body{
    line-height: 1.2;
    background-color: #ebf1f2;
    font-size: 0.8rem;
    color: #2c2c2c;
}

a {
    color: #006fdb;
}

#topnav .has-submenu.active>a {
    color: #ffd400;
}

body[data-layout=horizontal] .content-page {
    padding: 107px 10px 0 10px;
}


.btn-group-sm>.btn, .btn-sm {
    font-size: .8rem;
}

.table td, .table th {
    vertical-align: inherit;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #cbcbcb;
}

.table thead th {
    border-bottom: 2px solid #cbcbcb;
}


table.dataTable.table-sm > thead > tr > th {
    font-size: 12px;
}

#sidebar-menu>ul>li>a {
    padding: 7px 20px;
}

#sidebar-menu>ul>li>a {
    color: #000000;
}

#sidebar-menu>ul>li>a.active {
    color: #0046e5;
}


label {
    font-weight: 600;
    color: #323a46;
    margin-top: 5px;
    margin-bottom: 5px;
}

.tox-notifications-container {
    display: none;
}


.content-page {
    margin-top: 77px;
}



button.dt-button, div.dt-button, a.dt-button, input.dt-button {
    padding: .1em 1em !important;
    float: left !important;
    border: 1px solid #0097c5 !important;
    color: white !important;
    background: linear-gradient(to bottom, #0095c3 0%, #008eb9 100%) !important;

}


/* ------- أنيمشن الاشعارات ------------ */
:root {
    --main-color: #ecf0f1;
    --point-color: #555;
    --size: 5px;
}

.loader {
    background-color: var(--main-color);
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; left: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    z-index: 100000;
}

.loader__element {
    border-radius: 100%;
    margin: calc(var(--size)*2);
}

.loader__element:nth-child(1) {
    animation: preloader .6s ease-in-out alternate infinite;
}
.loader__element:nth-child(2) {
    animation: preloader .6s ease-in-out alternate .2s infinite;
}

.loader__element:nth-child(3) {
    animation: preloader .6s ease-in-out alternate .4s infinite;
}

@keyframes preloader {
    100% { transform: scale(2); }
}

/* ------------------- أنيمشن الاشعارات ------------------ */




/* start @media  print ------------------------------*/
@media  print {

    @page {
        @bottom-left {
            content: counter(page) "/" counter(pages);
        }
    }

    .agreement{
        display: none;
    }

    html, body, div, span, applet, object, iframe, h1, h2,  h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
        font-size: 12pt !important;
    }

    h3{
        font-size: 24pt !important;
    }

    .table-bordered td, .table-bordered th {
        border: 1px solid #232323 !important;
    }

    .table thead th {
        border: 1px solid #232323 !important;
        font-size: 14px;
        line-height: 30px;
    }

    .table {
        color: #232323 !important;
    }

}

/* end @media  print ------------------------------*/


@media (min-width: 1200px)
{
    body[data-layout=horizontal] .container-fluid {
        max-width: 98%;
    }
}

.table-sm td, .table-sm th {
    padding: 0.3rem;
}


.navigation-menu>li>a {
    font-size: 14px;
    line-height: 15px;
    padding: 15px;
}

body[data-layout=horizontal] .page-title-box .page-title {
    line-height: 50px;
    margin: 0;
    font-size: 14px;
}



.navbar-custom .topnav-menu .nav-link {
    color: #6c757d;
    line-height: 60px;
    max-height: 60px;
}

.logo {
    display: block;
    line-height: 60px;
}

.logo-box {
    height: 60px;
}

.navbar-custom {
    height: 60px;
}

#topnav .topbar-menu {
    margin-top: 60px;
}


.navigation-menu>li .submenu li a {
    color: #343a40;
}


/*-----------------------*/

.table {
    color: #222222;
}


/*==============================*/
/*الأزرار*/

.btn-purple {
    color: #fff;
    background-color: #00586d;
    border-color: #014b5d;
}

.btn-purple:hover {
    color: #fff;
    background-color: #00829d;
    border-color: #016e85;
}


.btn-primary {
    color: #fff;
    background-color: #2680d7;
    border-color: #1e73cc;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0f63b0;
    border-color: #094e8d;
}


.btn-success {
    color: #fff;
    background-color: #039d4f;
    border-color: #07914c;
}

.btn-success:hover {
    color: #fff;
    background-color: #027e41;
    border-color: #006030;
}


.btn-danger {
    color: #fff;
    background-color: #ff3535;
    border-color: #ff2828;
}

.btn-danger:hover {
    color: #fff;
    background-color: #d31a1a;
    border-color: #b91111;
}


.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #565e65;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #596065;
    border-color: #42474b;
}

.btn-pink {
    color: #ffffff;
    background-color: #ef46a5;
    border-color: #f11a93;
}

.btn-pink:hover {
    color: #ffffff;
    background-color: #e8128d;
    border-color: #d0097a;
}

.text-pink {
    color: #dd1a88!important;
}


hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid #d1d1d1;
}


/*================================*/





.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 31px;
}


.select2-container .select2-selection--single {
    height: 31px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 31px;
}


/*==================================*/

.radio-option {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #d3d3d3;
    border-radius: 50%;
    outline: none;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"]:checked {
    border-color: red; /* اللون الأحمر عند التحديد */
}

.radio-option input[type="radio"]:checked:disabled {
    border-color: red;
    background-color: #ffe6e6; /* لون الخلفية عند التحديد والتعطيل */
}

.radio-option input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: red; /* لون النقطة داخل الدائرة عند التحديد */
}

.radio-option input[type="radio"]:disabled {
    border-color: #d3d3d3;
    background-color: #f0f0f0; /* لون الخلفية عند التعطيل */
    cursor: not-allowed;
}

.radio-option input[type="radio"]:disabled:checked::before {
    background: red; /* لون النقطة عند التحديد والتعطيل */
}
