/* Primary Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange: #e39424 ;
    --green: #056839 ;
}

body {
    font-family:'Tajawal', sans-serif;
    font-size: 1em;
    color: #333;
}

.body_style footer{

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.mb-5rem{
    margin-bottom: 3.5rem !important;
}
.mt-5rem{
    margin-top: 3.5rem !important;
}


a:hover{
    color: var(--orange) !important;
}

header{
    background-color: #fff;
}
.fw-500{
    font-weight: 500 !important;
}
.nav-link{
    color: var(--green) !important;
    font-size: 23px;
    font-weight: 600;
    transition: 0.2s;
}
.opacity-loading a{
    opacity: 0;
    transition: 0.2s;

}
.mx-3 {
    margin-right: 1rem!important;
    margin-left: 1rem!important;
}

img, svg{
    max-width: 100% ;
}
@media (min-width: 992px)
{
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

}


.bg_orange{
    background-color: var(--orange) !important;
}
.bg_green{
    background-color: var(--green) !important;
}

.nav-link.active {

    color: var(--orange) !important;
}

.navbar-text{
    color: var(--green);
    font-size: 20px;
    font-weight: 600;
}

button.swal2-confirm.btn.btn-success {
    margin-right: 10px !important;
}

button.swal2-confirm.swal2-styled {
    background: var(--orange) !important;
}


h1 {
    font-size: 1.4em;
}

em {
    font-style: normal;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.s-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.s-layout__content {
    width: 100%;
    background: #f4f4f4;

}
.s-layout__content .container{
    background: white;
    margin-top: 30px;
    padding: 30px;
    max-width: 90% !important;
    min-width: 90% !important;
}

    /* Sidebar */
.s-sidebar__trigger {
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4em;
    background: #192b3c;
}

.s-sidebar__trigger > i {
    display: inline-block;
    margin: 1.5em 0 0 1.5em;
    color: #f07ab0;
}

.s-sidebar__nav {
    position: fixed;
    top: 0;
    left: -15em;
    overflow: hidden;
    transition: all .3s ease-in;
    width: 15em;
    height: 100%;
    background: var(--orange);
    color: rgba(255, 255, 255, 0.7);
}

.s-sidebar__nav:hover,
.s-sidebar__nav:focus,
.s-sidebar__trigger:focus + .s-sidebar__nav,
.s-sidebar__trigger:hover + .s-sidebar__nav {
    left: 0;
}

.s-sidebar__nav ul {
    position: absolute;
    top: 4em;
    left: 0;
    margin: 0;
    padding: 0;
    width: 15em;
}

.s-sidebar__nav ul li {
    width: 100%;
}

.s-sidebar__nav-link {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 4em;
    color: #fff !important;
    background-color: var(--orange);
}



.s-sidebar__nav-link em {
    position: absolute;
    top: 50%;
    left: 4em;
    transform: translateY(-50%);
}

.s-sidebar__nav-link:hover {
    background: #a86500;
}

.s-sidebar__nav-link > i {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 4em;
    height: 4em;
}

.s-sidebar__nav-link > i::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-button:not(.collapsed) {
    color: white !important;
    background-color: #243e56 !important;
}
.accordion-button {
    color: #ffffff !important;
    background-color: var(--orange) !important;
}
.accordion-item {
    background-color: var(--orange);
     border: none !important;
}
.accordion-body {
    padding: 0 !important;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'  fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}

.accordion-button.collapsed {
    background-color: #fff;
}

.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.accordion-button[aria-expanded="true"]{
    background-color: #fff !important;
    color: #000 !important;
}



.dataTables_scrollBody{
        position: relative !important;
        max-height: fit-content !important;
        width: 100% !important;
}
.page-item.active .page-link {
    background-color: var(--orange) !important;
    border-color: var(--orange) !important;
}
a.page-link.rounded {
    color: #000 !important;
}


.card-text{
        height: 51px !important;
        overflow: hidden!important;

}

.news_header {
    background: #ececec;
    padding: 9px;
}


.news_thumb{

   width: 100%;
    height:500px;
    object-fit: cover
}

.news_a{
    text-decoration: none !important;

    color: black;
}

.news_a:hover{
    color: black !important;
}
.dropzone {
    background: white;
    border-radius: 5px;
    border: 2px dashed rgb(0, 135, 247);
    border-image: none;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.about_us{
    font-size: 20px !important;

}


.no_records_found{
    font-size: 20px !important;
    display: block;
    text-align: center;
}
/*.content{
    position: relative;
    min-height: 95vh;
}*/
.content-container {
    display: grid;
    grid-template-rows: 1fr 0fr 0fr;
    width: 100%;
    min-height: calc(100vh - 86px);
}
.h-100vh{

    min-height: 62vh !important;
}
@media (max-width: 920px){

    a.s-sidebar__trigger {
        position: fixed;
        left: auto;
        right: 21px;
        width: 54px;
        height: 43px;
        top: 23px;
        opacity: 0;
    }

    nav.s-sidebar__nav {
        z-index: 9999999999999999;
    }
    .news_thumb{

        width: 100%;
        height:300px;
        object-fit: cover
    }
}























/* Mobile First */
@media (min-width: 42em) {
    .s-layout__content {
        margin-left: 4em;

    }

    /* Sidebar */
    .s-sidebar__trigger {
        width: 4em;
    }

    .s-sidebar__nav {
        width: 4em;
        left: 0;
    }

    .s-sidebar__nav:hover,
    .s-sidebar__nav:focus,
    .s-sidebar__trigger:hover + .s-sidebar__nav,
    .s-sidebar__trigger:focus + .s-sidebar__nav {
        width: 15em;
    }
}

@media (min-width: 68em) {
    .s-layout__content {
        margin-left: 15em;
    }

    /* Sidebar */
    .s-sidebar__trigger {
        display: none
    }

    .s-sidebar__nav {
        width: 15em;
    }

    .s-sidebar__nav ul {
        top: 1.3em;
    }
}

