html, body, div, span,
p, blockquote, q, em, img, small, strong,
dl, ol, ul, li, fieldset, form, label, legend {
    border: 0;
    outline: 0;
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}
/* Arabic language: increased right padding */
.bg-ar .container,
.bg-ar .container-fluid,
.bg-ar .container-lg,
.bg-ar .container-md,
.bg-ar .container-sm,
.bg-ar .container-xl,
.bg-ar .container-xxl {
    padding-right: 6.75rem !important;
    padding-left: 0.75rem !important;
}

/* English language: default right padding */
.bg-en .container,
.bg-en .container-fluid,
.bg-en .container-lg,
.bg-en .container-md,
.bg-en .container-sm,
.bg-en .container-xl,
.bg-en .container-xxl {
    padding-right: 0.75rem !important;
    padding-left: 3.75rem !important;
}
label {
    padding-right: 8px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 0.2rem !important;
    margin-top: 15px !important;
}

body {
    line-height: 1.5;
    font-size: 1rem;
    font-weight: 400;
    margin-left: 300px;
    -webkit-transition: margin-left 0.3s ease-out;
    transition: margin-left 0.3s ease-out;
    background: #fff;
}

ol, ul {
    list-style: none
}

:focus {
    outline: 0
}

input, textarea {
    margin: 0;
    outline: 0;
}

textarea {
    overflow: auto;
    resize: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0
}
/* End Reset */

/* html5 */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}


/* Default Font Styles
______________________*/
body, input, select, textarea {
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    color: #606060;
    line-height: 1.3;
    font-weight: 400;
}

body {
    margin-left: 300px;
    -webkit-transition: 0.1s ease-out 0.1s;
    transition: 0.1s ease-out 0.1s;
    background: #fff;
}



/* 6. Fix header positioning */
header {
    background: #19a7ce;
    border-bottom: 1px solid #ddd;
    margin-bottom: 40px;
    position: relative; /* Ensure it stays in flow */
    z-index: 1; /* Below sidebar */
}

.headercontent {
    text-align: center;
}

    .headercontent .webname {
        font-size: 15px;
        text-decoration: none;
        color: #000;
        padding: 20px 0;
        display: inline-block;
        vertical-align: middle;
        margin-right: 30px;
        font-weight: bold;
    }

    .headercontent > a.bars {
        color: #fff;
        font-size: 19px;
        margin-right: 30px;
        position: relative;
        top: 2px;
    }

    .headercontent > ul {
        display: inline-block;
        vertical-align: middle;
        margin-right: 30px;
    }

    .headercontent li {
        display: inline-block;
        margin-right: 35px;
    }

        .headercontent li a {
            display: block;
            padding: 21px 0;
            text-decoration: none;
            color: #fff;
            font-size: 14px;
        }

.langdropdown {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

    .langdropdown li {
        display: inline-block;
        vertical-align: middle;
        margin: 0;
    }

        .langdropdown li a {
            display: block;
            width: 25px;
            height: 25px;
            margin-right: 5px;
            padding: 0;
        }

            .langdropdown li a img {
                display: block;
                width: 30px;
                height: auto;
            }

        .langdropdown li:last-child a {
            margin: 0;
        }

.themecolor-box {
    display: inline-block;
    vertical-align: middle;
    margin-top: 3px;
}

    .themecolor-box li {
        margin: 0;
        display: inline-block;
    }

        .themecolor-box li a {
            display: block;
            width: 20px;
            height: 20px;
            border: 1px solid #ddd;
            border-radius: 50%;
            padding: 0;
        }

            .themecolor-box li a.themeone {
                background: #56595b;
            }

            .themecolor-box li a.themetwo {
                background: #1e7b9b;
            }

            .themecolor-box li a.themethree {
                background: #3c8e8a;
            }

            .themecolor-box li a.themefour {
                background: #624f82;
            }



.langdropdown .dropdown {
    padding: 10px 0;
}

    .langdropdown .dropdown > button {
        background: #ddd !important;
        color: #000;
        border-color: #ddd;
        font-size: 13px;
    }

        .langdropdown .dropdown > button:focus {
            outline: none !important;
            border-color: #ddd;
        }

        .langdropdown .dropdown > button img {
            display: inline-block;
            width: 20px;
            height: 20px;
            margin-right: 10px;
            vertical-align: middle;
        }

        .langdropdown .dropdown > button span {
            display: inline-block;
            vertical-align: middle;
        }

.langdropdown .dropdown-item img {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.langdropdown .dropdown-item span {
    display: inline-block;
    vertical-align: middle;
}

.langdropdown .dropdown-menu {
    padding: 10px;
    margin: 0;
    min-width: 86px;
    border-color: #eee;
    border-radius: 2px;
}

    .langdropdown .dropdown-menu li {
        display: block;
        margin: 0;
    }

        .langdropdown .dropdown-menu li a {
            display: block;
            padding: 0;
        }


#sidebar {
    width: 300px;
    background: #1e7b9b;
    background-size: 70% auto;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    -webkit-transition: width 0.3s ease-out;
    transition: width 0.3s ease-out;
    padding: 0px;
    z-index: 9;
}

.sidelogo {
    margin-bottom: 10px;
    background: #19a7ce;
    padding: 10px 10px;
    text-align: center;
}

    .sidelogo img {
        display: inline-block;
        width: 180px;
        height: auto;
        vertical-align: middle;
        margin-right: 10px;
    }

    .sidelogo span {
        display: inline-block;
        vertical-align: middle;
        color: #fff;
        font-size: 17px;
        text-transform: uppercase;
    }

#footer {
    text-align: center;
}

    #footer p {
        font-size: 12px;
        font-weight: bold;
    }

        #footer p a {
            text-decoration: none;
        }

        #footer p span {
            display: block;
            background: url(../images/logo-white.png) no-repeat;
            background-size: 100% auto;
            width: 150px;
            height: 60px;
            margin: 0 auto;
            vertical-align: middle;
        }

.btn-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
    border: 0;
}

    .btn-toggle::after {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: 0.5em 50%;
        position: absolute;
        right: 0;
        /*top: 14px;*/
        filter: invert();
    }

    .btn-toggle[aria-expanded="true"]::after {
        transform: rotate(90deg);
    }
/* .sidebar-nav{
    max-height: 80vh;
    height: 80vh;
} */
.sidebar-nav li {
    position: relative;
    margin-bottom: 5px;
}

    .sidebar-nav li a,
    .sidebar-nav li button {
        font-size: 15px;
        text-decoration: none;
        color: #fff !important;
        display: block;
        vertical-align: middle;
        line-height: 1;
        padding: 10px 10px 10px 9px;
        border-radius: 5px !important;
        font-weight: normal;
        width: 100%;
        text-align: left;
    }

        .sidebar-nav li a:hover,
        .sidebar-nav li button:hover {
            color: #333 !important;
            background: #ebecec !important;
        }

    .sidebar-nav li .btn-toggle:hover::after {
        filter: invert(0);
    }

.btn-toggle[aria-expanded="true"] {
    color: #fff !important;
    /*background: #007bff !important;*/
}

    .btn-toggle[aria-expanded="true"]:hover {
        color: #000 !important;
        /*background: #007bff !important;*/
    }

        .btn-toggle[aria-expanded="true"]:hover::after {
            filter: invert(1) !important;
        }

.sidebar-nav li a i,
.sidebar-nav li button i {
    font-size: 14px;
    display: inline-block;
    vertical-align: top;
    line-height: 1;
    margin-right: 10px;
    width: 20px;
}

.sidebar-nav li a span {
    display: inline-block;
    font-size: 15px;
}

.sidebar-nav .btn-toggle-nav li {
    margin: 0 0 5px 0 !important;
}

    .sidebar-nav .btn-toggle-nav li a {
        padding: 10px 35px;
        font-size: 16px;
        background: none !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .sidebar-nav .btn-toggle-nav li a:hover,
        .sidebar-nav .btn-toggle-nav li .active {
            color: #333 !important;
            background: #fff !important;
        }

.sidebar-nav button.btn-toggle.active {
    /* background: #9f74ac !important*/
}

.userinfo {
    /* border-top: 1px solid #525252; */
    padding: 10px;
}

    .userinfo .dropdown-toggle {
        padding: 0;
        background: none !important;
        border: none;
    }

        .userinfo .dropdown-toggle span {
            display: inline-block;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            overflow: hidden;
            vertical-align: middle;
            margin-right: 5px;
        }

            .userinfo .dropdown-toggle span img {
                display: block;
                width: 100%;
                height: auto;
            }

        .userinfo .dropdown-toggle em {
            display: inline-block;
            font-style: normal;
            vertical-align: middle;
            font-weight: normal;
            font-size: 14px;
            text-transform: uppercase;
        }

    .userinfo .dropdown-item {
        font-size: 12px;
        padding: 10px 15px;
    }

.footerbottom {
    background: #19a7ce;
    padding: 4px 0;
    position: relative;
}

    .footerbottom .footer-inner {
        position: relative;
        min-height: 40px;
    }

    .footerbottom p {
        color: #fff;
        margin-bottom: 0;
        font-size: 12px;
    }

    .footerbottom .footer-copyright {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        color: #fff;
        font-size: 12px;
        margin-bottom: 0;
        pointer-events: none;
    }

    .footerbottom .footer-logo {
        height: 40px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .footerbottom .footer-logo-right {
        right: 1rem;
    }

    .footerbottom .footer-logo-left {
        left: 1rem;
    }

#main {
    height: 65vh;
}

body.sidebarCollapse {
    margin-left: 0px; /* Match the collapsed sidebar width */
}

/* 8. Collapsed sidebar width */
.sidebarCollapse #sidebar {
    width: 60px;
}

.sidebarCollapse .sidebar-nav li a:hover,
.sidebarCollapse .sidebar-nav li button:hover {
    border-radius: 0 !important;
}

.sidebarCollapse .sidelogo span {
    display: none;
}

.sidebarCollapse .sidelogo img {
    margin: 0 auto;
    display: block;
}

.sidebarCollapse .sidebar-nav li {
    margin-bottom: 0;
    border-bottom: 1px solid #ecfbff;
}

    .sidebarCollapse .sidebar-nav li:last-child {
        border-bottom: none;
    }

    .sidebarCollapse .sidebar-nav li a,
    .sidebarCollapse .sidebar-nav li button {
        text-align: center;
        padding: 10px 20px;
    }

        .sidebarCollapse .sidebar-nav li a i,
        .sidebarCollapse .sidebar-nav li button i {
            font-size: 18px;
            margin: 0 auto;
        }

        .sidebarCollapse .sidebar-nav li a span,
        .sidebarCollapse .sidebar-nav li button span {
            display: none;
        }

.sidebarCollapse .btn-toggle::after {
    display: none;
}

.sidebarCollapse .userinfo .dropdown-toggle em {
    display: none;
}

.sidebarCollapse .sidelogo {
    padding: 0px 0px;
    margin-bottom: 10px;
    display: none;
    /*margin-left: -50px;*/
}

.sidebarCollapse #sidebar {
    background-size: 61% auto !important;
}





body.themeone header,
body.themeone .footerbottom {
    background: #9f74ac;
}

body.themeone .form-control {
    background: #f0d6f8;
    direction: rtl;
    font-family: 'Tajawal' !important, sans-serif;
    font-size: large;
    background-color: #f0d6f8
}

body.themeone .btn-primary {
    background: #614f81;
    width: 200px;
    direction: rtl;
    font-family: 'Tajawal' !important, sans-serif;
    font-size: large;
    background-color: #614f81;
}

body.themeone .sidebar-nav button {
    background: #9f74ac;
}

/*body.themeone #btn-main-menu-1 {
    background: #9f74ac;
}
body.themeone #btn-main-menu-2 {
    background: #9f74ac;
}*/

body.themeone #sidebar {
    /*background: #56595b url(../images/sidebarbg.png) no-repeat center bottom;*/
    background: #614f81;
    background-size: 70% auto;
}

body.themeone .sidelogo {
    background: #614f81;
}

.themecolor-box li a.themeone {
    background: #614f81;
}





body.themetwo header,
body.themetwo .footerbottom {
    background: #0e8ec0;
}

body.themetwo .form-control {
    background: #d1edf8;
    direction: rtl;
    font-family: 'Tajawal' !important, sans-serif;
    font-size: large;
    background-color: #d1edf8
}

body.themetwo .btn-primary {
    background: #03689b;
    width: 200px;
    direction: rtl;
    font-family: 'Tajawal' !important, sans-serif;
    font-size: large;
    background-color: #03689b;
}

body.themetw button {
    background: #0e8ec0;
}
/*body.themetwo #btn-main-menu-1 {
    background: #0e8ec0;
}
body.themetwo #btn-main-menu-2 {
    background: #0e8ec0;
}*/

body.themetwo #sidebar {
    /*background: #1e7b9b url(../images/sidebarbg.png) no-repeat center bottom;*/
    background: #03689b;
    background-size: 70% auto;
}

body.themetwo .sidelogo {
    background: #03689b;
}

.themecolor-box li a.themetwo {
    background: #118FCF;
}

.themecolor-box li a.themethree {
    background: #3FB773;
}






body.themethree header,
body.themethree .footerbottom {
    background: #2cad60;
}

body.themethree .form-control {
    background: #b8f9c2;
    direction: rtl;
    font-family: 'Tajawal' !important, sans-serif;
    font-size: large;
    background-color: #b8f9c2
}

body.themethree .btn-primary {
    background: #0e783c;
    width: 200px;
    direction: rtl;
    font-family: 'Tajawal' !important, sans-serif;
    font-size: large;
    background-color: #0e783c;
}

body.themethree .sidebar-nav button {
    background: #2cad60;
}
/*body.themethree #btn-main-menu-1 {
    background: #2cad60;
}
body.themethree #btn-main-menu-2 {
    background: #2cad60;
}*/

body.themethree #sidebar {
    /*background: #3c8e8a url(../images/sidebarbg.png) no-repeat center bottom;*/
    background: #0e783c;
    background-size: 70% auto;
}

body.themethree .sidelogo {
    background: #0e783c;
}

.themecolor-box li a.themefour {
    background: #3B3C94;
}






body.themefour header,
body.themefour .footerbottom {
    background: #5A5EAF;
}

body.themefour .form-control {
    background: #c7deff;
    direction: rtl;
    font-family: 'Tajawal' !important, sans-serif;
    font-size: large;
    background-color: #c7deff;
}

body.themefour .btn-primary {
    background: #3B3C94;
    width: 200px;
    direction: rtl;
    font-family: 'Tajawal' !important, sans-serif;
    font-size: large;
    background-color: #3B3C94;
}

body.themefour .sidebar-nav button {
    background: #5A5EAF;
}
/*body.themefour #btn-main-menu-1 {
    background: #5A5EAF;
}
body.themefour #btn-main-menu-2 {
    background: #5A5EAF;
}*/

body.themefour #sidebar {
    /*background: #624f82 url(../images/sidebarbg.png) no-repeat center bottom;*/
    background: #3B3C94;
    background-size: 70% auto;
}

body.themefour .sidelogo {
    background: #3B3C94;
}


.wrapperlayout {
    position: relative;
    min-height: 100vh;
}

/* If you have a main wrapper, ensure it fills the viewport */
/*.wrapperlayout, .main-wrapper, .container.content, .container-lg.content {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}*/

.content .card-body {
    max-height: 450px;
    overflow-y: auto;
}

.c_activity {
    max-height: 1000px !important;
}

footer {
    /*  position: relative;
    left: 0;
    bottom: 0;
    width: 100%;*/
}


/*//Login page*/

body.loginpage .login, body.loginpage .image {
    /* text-align: -webkit-right; */
    min-height: 100vh;
    margin-left: 50px;
}



/*.vertical-center.bg-ar {
			margin: 0;
			position: absolute;
			top: 57%;
			background: none;
			right: 31.5%;
			-ms-transform: translateY(-50%);
			transform: translateY(-50%);
		}*/

body.loginpage .vertical-center {
    /* margin: 0; */
    display: flex;
    position: relative;
    /* min-height: 100vh; */
    height: 100vh;
    align-items: center;
    justify-content: center;
    /* margin-top: 7%; */
    /* text-align: center; */
    width: 100%;
    /* background: none; */
    /* left: 31.5%; */
    -ms-transform: translateY(-50%);
    /* transform: translateY(-50%); */
}

body.loginpage .bg-ar .langdropdown {
    margin-left: 0px;
    margin-right: 0px;
}

body.loginpage .bg-en .langdropdown {
    margin-left: 0px;
    margin-right: 0px;
}

body.loginpage .langdropdown {
    position: relative;
    min-height: 0;
    margin-top: 78px;
    margin-left: 0px;
    margin-right: 0px;
}

body.loginpage .bg-ar {
    background-image: url("/images/sign-ar.png");
    background-size: cover;
    background-position: right;
    /*background-position: center center;*/
}

body.loginpage .bg-en {
    background-image: url("/images/sign-en.png");
    background-size: cover;
    /*background-position: center center;*/
}

body.loginpage a.text-right {
    float: right;
}

body.loginpage .sign-up a {
    text-decoration: none;
    margin: 20px 10px;
    /* font-weight: bold; */
}

body.loginpage img.iconShare {
    width: 28px;
    position: absolute;
    /* height: 20px; */
    margin: -3px 12px;
}

body.loginpage .input-icons i {
    position: absolute;
}

body.loginpage .input-icons {
    width: 100%;
    margin-bottom: 10px;
}

body.loginpage .icon {
    padding: 16px 6px;
    min-width: 40px;
    font-size: 20px;
    margin-top: -10px;
}

body.loginpage .form-control {
    padding: 6px 16px;
}

body.loginpage a, body.loginpage i, body.loginpage .custom-control-label {
    font-family: sans-serif;
    /* font-weight: 600; */
    text-decoration: none;
    color: #3B3C94;
}

body.loginpage .btn-primary {
    width: 100%;
    background: #3B3C94;
    border-color: #3B3C94;
}

body.loginpage .custom-control, .sign-up {
    padding: 0 10px;
}

body.loginpage .form-control, .form-select {
    color: #212529 !important;
    border: 1px solid #ccc !important;
}

body.loginpage {
    margin-left: 0px;
}

@media (min-width: 1400px) {
    body.loginpage .container {
        max-width: 1020px;
    }
}

@font-face {
    font-family: 'tajawal-regular';
    src: url('fonts\tajawal-regular.ttf') format('truetype');
}

}

.container.content {
    min-height: 700px;
}

.sidebar-nav ul.list-unstyled.ps-0 {
    height: 447px;
    overflow-y: visible;
}

.mobiextra-menu {
    display: none;
}

.mobilelogo {
    display: none;
}

/* 9. Mobile responsiveness fix */
@media (max-width: 640px) {
    body {
        margin-left: 0;
    }

        body.sidebarCollapse {
            margin-left: 0;
        }

    .container-lg {
        margin-left: 10px;
        max-width: calc(100% - 20px);
    }

    .sidebarCollapse .container-lg {
        margin-left: 50px;
        margin-right: 50px;
        max-width: calc(100% - 20px);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .mobiextra-menu {
        display: block;
    }

    .desktopmenutop {
        display: none !important;
    }

    .headercontent > a.bars {
        right: 50px;
        left: auto;
        position: fixed;
        z-index: 9;
        top: 34px;
    }

    .sidebarCollapse .headercontent > a.bars /*,
    body.sidebarclose .headercontent > a.bars*/ {
        right: 0;
        left: 0;
        position: relative;
        top: -2px;
        margin-right: 10px;
        display: inline-block;
        vertical-align: middle;
    }

    header {
        margin-bottom: 20px;
        padding: 15px 0;
    }

    body {
        margin-left: 0;
    }

        body::after {
            content: "";
            background: rgba(0, 0, 0, 0.7);
            position: fixed;
            left: 0;
            top: 0;
            height: 100vh;
            width: 100%;
        }

    .sidelogo {
        /*visibility: hidden;*/
        /* margin-right: -50px;*/
        margin-bottom: 20px;
        padding: 0px;
    }

    #sidebar {
        background-size: 35% auto !important;
    }

    body.sidebarCollapse::after /*,
    body.sidebarclose::after*/ {
        display: none;
    }

    body.sidebarCollapse #sidebar /*,
    body.sidebarclose #sidebar*/ {
        left: -125px;
    }

    /* body.sidebarclose #sidebar {
        width: 100px;
    }*/

    .langdropdown {
        margin-right: 10px;
        display: none;
    }

    .sidebar-nav {
        overflow-y: auto;
        height: 600px;
    }

    .headercontent > ul.ml-4 {
        margin: 0 !important;
    }

    .headercontent li {
        margin-right: 0;
    }

        .headercontent li a {
            padding: 0;
        }

    .themecolor-box {
        margin: 0 10px 0 0;
    }

    .headercontent > ul {
        vertical-align: top;
    }

    .mobilelogo {
        display: block;
        margin-bottom: 15px;
    }

        .mobilelogo img {
            display: block;
            width: 250px;
            height: auto;
            margin: 0 auto;
        }

    .main-content p {
        font-size: 16px !important;
        line-height: 24px;
        margin-bottom: 15px;
    }

    .maincontent-wrap table td img {
        display: block;
        width: 30%;
        height: auto;
    }

    table .action-link {
        text-decoration: none;
        padding: 0;
        color: #333;
        overflow-wrap: unset;
        display: inline-block;
        font-size: 12px;
    }

    table {
        min-width: 800px;
    }

    .actionoverlay {
        width: 120px;
    }

    .tablehead h1 {
        font-size: 1.2rem;
        text-transform: uppercase;
        margin: 5px 0 0 0;
    }

    .formwrap .row {
        margin-bottom: 0 !important;
    }

    .formwrap .col-md-4 {
        margin-bottom: 10px;
    }
}

.cultureButton a, .themecolor-box ul li a {
    cursor: pointer;
}

.container {
    display: flex;
    flex-direction: column;
    ; /* Ensure the container takes at least the full viewport height */
}

/* Style the footer */
.footer {
    margin-top: auto; /* Push the footer to the bottom */
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}

#footer {
    position: relative;
}

.footer_container {
    /* position: absolute;*/
    bottom: 0;
    width: 100%;
}

.cultureButton a {
    cursor: pointer;
}

.addn {
    width: 128px !important;
    font-size: 10px !important;
    height: 35px !important;
    font-size: small !important;
}

.bars {
    cursor: pointer;
}

.bottom_color td {
    background: rgb(255, 106, 0);
    color: #fff;
}

td.bottom_color {
    background: rgb(255, 106, 0);
    color: #fff;
}

.top_color th.cols:nth-child(3) {
    background: #BDD7EE;
    color: #000;
}

.top_color th.cols:nth-child(4) {
    background: #FFEBAB;
    color: #000;
}

.top_color th.cols:nth-child(5) {
    background: #C6E0B4;
    color: #000;
}

th.color-blue {
    background: #BDD7EE;
    color: #000;
}

th.color-yellow {
    background: #FFEBAB;
    color: #000;
}

th.color-green {
    background: #C6E0B4;
    color: #000;
}

tr td .btn-primary {
    margin: 0 !important;
    padding: 0 !important;
}

tr td.ac_color {
    background: #797676;
    color: #fff;
}

.container-lg {
    width: 100%;
    max-width: calc(100% - 20px); /* Account for margins */
    margin-left: 25px;
    margin-right: 25px;
    padding-left: 25px;
    padding-right: 25px;
}

/* 4. Adjust collapsed container */
.sidebarCollapse .container-lg {
    margin-left: 60px; /* Keep consistent margin */
    margin-right: 60px; /* Keep consistent margin */
    max-width: calc(100% - 20px);
}

main {
    padding-bottom: 10rem !important;
    margin: 10px;
    width: calc(100% - 20px); /* Prevent overflow */
    box-sizing: border-box;
}

tr td.back_green {
    background-color: #a9d08e;
    color: #000;
}

table tr td, table tr td input,
table tr td span {
    padding: 0px !important;
    margin: 0px !important;
}

tr td.back_red {
    background-color: #f8cbad;
}

td:has(span.green) {
    background: #a9d08e;
}

td:has(span.red) {
    background: #f8cbad;
}

td:has(> span.status-green) {
    background: #a9d08e;
    color: #fff !important;
    text-align: center !important;
}

td:has(> span.status-red) {
    background: #f8cbad;
    color: #fff !important;
    text-align: center !important;
}

td:has(> span.status-blue) {
    background: #03689b;
    color: #fff !important;
    text-align: center !important;
}

input.disabled {
    background: #333 !important;
    color: #fff !important;
}

@media print {
    /* Styles for printing */
    tr td.ac_color {
        background-color: #797676;
        color: #000;
    }

    #divToPrint:last-child {
        page-break-after: always;
    }

    tr td.back_green {
        background-color: #a9d08e;
        color: #000;
    }

    tr td.back_red {
        background-color: #f8cbad;
        color: #fff;
    }

    span.green {
        background: #a9d08e;
        padding: 3px 16px;
    }

    span.red {
        background: #f8cbad;
        padding: 3px 16px;
    }

    body {
        margin-left: 0px;
        margin: 0px 0 0 0 !important;
    }

    #divToPrint {
        display: block;
    }

    /* Hide other elements if needed */
    .otherDiv {
        display: none;
    }

}


.loadertext.hidden {
    display: none;
}
textarea#Info {
    height: 100px !important;
}

.faculty_info strong {
    text-align: left;
    font-weight: bold;
    padding-left: 9px;
}
.faculty_info span {
    padding-right: 20px;
    border-right: 1px solid #ccc;

}

.container-lg.content {
    width: 96%;
}

/* Footer always at the bottom */
footer, #footer, .footer, .footer_container {
    position: fixed;
    left: 300px;
    right: 0;
    width: auto;
    bottom: 0;
    text-align: center;
}