﻿/* Root Variables */
:root {
    --blue: #00269a;
    --primary: #00269a;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --font-family-sans-serif: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Global Styles */
body {
    font-family: var(--font-family-sans-serif) !important;
    min-height: 100vh !important;
}

h1, h2, h3, h4, p, .your-class {
    font-family: 'Montserrat', sans-serif !important;
}

/* Sidebar Menu */
.skin-blue-light .sidebar-menu > li > a {
    border-right: 3px solid transparent;
    font-weight: 400;
}

.skin-blue-light .sidebar-menu > li.active > a,
.skin-blue-light .sidebar-menu > li:hover > a {
    border-color: var(--blue);
    font-weight: 600;
    color: #000;
    background: #cfcfe5;
}

.skin-blue-light .sidebar-menu .treeview-menu > li.active > a,
.skin-blue-light .sidebar-menu .treeview-menu > li:hover > a {
    border-color: var(--blue);
    font-weight: 600;
    background: #cfcfe5;
}

/* Header */
.skin-blue-light .main-header .navbar,
.skin-blue-light .main-header .logo {
    background-color: var(--blue);
    color: var(--white);
    border-bottom: none;
}

    .skin-blue-light .main-header .navbar .sidebar-toggle {
        text-decoration: none !important;
    }

/* Content */
.content {
    min-height: 250px;
    padding: 15px;
    margin: 0 auto;
}

.content-header {
    position: relative;
    padding: 5px 15px;
}

/* Login and Register Pages */
.login-page,
.register-page {
    background: linear-gradient(rgba(0, 38, 154, 0.3), rgba(0, 38, 154, 0.3)), url('../images/login_banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    min-height: 100vh !important;
    padding: 0 30em 0 15em;
}

.login-box, .register-box {
    display: flex;
    align-items: center;
    width: unset;
    margin: unset;
}

.login-page-main {
    width: 15vw;
}
/* Tab Styles */
.nav-tabs-custom {
    background-color: transparent !important;
}

    .nav-tabs-custom > .nav-tabs > li.active {
        border-top-color: transparent !important;
        display: inline-block;
        border-radius: 10px 10px 0px 0px !important;
        border-bottom: none !important;
        background-color: #00269a;
    }

    .nav-tabs-custom > .nav-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        padding-left: 1px !important;
    }

        .nav-tabs-custom > .nav-tabs > li {
            list-style: none;
            margin: 0 0.5rem;
            border-radius: 10px 10px 0px 0px !important;
            background-color: #7f92cc;
        }

            .nav-tabs-custom > .nav-tabs > li a {
                padding: 0.5rem 1.5rem;
                color: #000000;
                font-weight: 500;
                display: flex;
                align-items: center;
                justify-content: space-between;
                text-decoration: none;
                position: relative;
                transition: background-color 0.3s ease, color 0.3s ease;
                background-color: transparent !important;
            }

            /* Active state: when the tab is active */
            .nav-tabs-custom > .nav-tabs > li.active > div a {
                color: #ffffff !important; /* White text for the active tab */
                font-weight: 600; /* Bold font for the active tab */
            }

            .nav-tabs-custom > .nav-tabs > li.active > a {
                color: #fff !important;
                font-weight: 600 !important;
                background-color: transparent !important;
                color: #fff;
            }

                .nav-tabs-custom > .nav-tabs > li.active > a::after {
                    content: "";
                    position: center;
                    left: 50%;
                    bottom: -10px;
                    width: 100%;
                    height: 10px;
                    color: #fff;
                }

            .nav-tabs-custom > .nav-tabs > li a:hover {
                background-color: transparent;
                color: #000000;
                color: #fff;
            }

            .nav-tabs-custom > .nav-tabs > li.active > a::after {
                content: "";
                position: center;
                left: 50%;
                bottom: -10px;
                width: fit-content;
                height: 10px;
                background-color: #fff;
                border-radius: 0 0 8px 8px;
                color: #fff;
            }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #555555;
    cursor: default;
    background-color: #fff;
    border: transparent !important;
    border-bottom-color: transparent;
}

    .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        color: #555555;
        cursor: default;
        background-color: #fff;
        border: transparent !important;
        border-bottom-color: transparent;
    }



/* Box */
.box {
    position: relative;
    border-radius: 3px;
    background: var(--white);
    border-top: 3px solid #d2d6de;
    margin-bottom: 10px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

/* Logo */
.main-header .logo .logo-lg,
.logo-mini {
    background-image: url('../images/Logo.png');
    background-repeat: no-repeat;
}

.main-header .logo .logo-lg {
    background-position-x: left;
}

.logo-mini {
    background-position-x: center;
    height: 50px;
}

/* Resource Info */
.resource-info {
    font-family: "Segoe UI";
    min-height: 200px;
    display: flex;
    flex-wrap: nowrap;
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 16px;
    background-color: var(--white);
    align-items: baseline;
    justify-content: space-between;
}

/* Button Styles */
.btn {
    box-shadow: rgb(38, 57, 77) 0px 10px 15px -13px !important;
    border-radius: 13px !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    padding: 6px 14px !important;
}

.btn-primary {
    background-color: var(--blue) !important;
    color: #ddd !important;
    border-color: none !important;
}

    .btn-primary:hover {
        background-color: var(--blue) !important;
    }

    .btn-primary:hover {
        color: #fff !important;
        border-color: #204d74;
    }

.btn-danger {
    background-color: #D23F57 !important;
    color: #ddd !important;
}

    .btn-danger:hover {
        color: #fff !important;
    }

.btn-primary:focus,
.btn-primary:active {
    outline: none !important;
}

.btn-default {
    background-color: #F6F6F6 !important;
    color: #8F8E92 !important;
}

    .btn-default:hover {
        color: #181818 !important;
    }

    .btn-default:active {
        outline: #fff !important;
        border: none !important;
    }

    .btn-default.hover {
        background-color: #F6F6F6;
    }

.bg-purple {
    background-color: #C8102E !important;
}


.btn-success {
    color: #fff;
    background-color: #4E914D !important;
}

.btn-info {
    background-color: #C8102E !important;
    border-color: transparent !important;
    color: #DDDDDD !important;
}

    .btn-info:hover,
    .btn-info:active,
    .btn-info.hover {
        background-color: #C8102E !important;
        color: #fff !important;
    }


/* Background Colors */
.bg-teal {
    background-color: #DEA918 !important;
    color: #ddd !important;
}

    .bg-teal:hover {
        color: #fff !important;
    }

.bg-navy {
    background-color: #001f3f !important;
    color: #ddd !important;
}

    .bg-navy:hover {
        background-color: #001f3f !important;
        color: #fff !important;
    }

.btn-box-tool {
    padding: 5px;
    font-size: 12px;
    background: transparent;
    color: #97a0b3;
}

.btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
    outline: none !important;
}

/* Form Controls */
.form-control {
    box-shadow: none;
    border-radius: 0.8rem;
}

.form-label,
#forgot-password {
    font-weight: 500 !important;
    font-size: 1.2em !important;
}

/* Utility Classes */
.w-10 {
    width: 10%;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-90 {
    width: 90%;
}

.w-100 {
    width: 100%;
}

/* Margin Utilities */
.mb-1 {
    margin-bottom: 0.9em;
}

.mb-3 {
    margin-bottom: 1.7em;
}

.mt-3 {
    margin-top: 1.7em;
}

.mt-2 {
    margin-top: 1.4em;
}

/* Navbar */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 0 2.5rem;
    background: var(--blue);
}

.navbar-custom-menu {
    position: fixed;
    right: 0;
    top: 0;
}

/* Content Wrapper */
.content-wrapper {
    padding: 5em 0;
}

.login-list {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    margin-top: 2.5rem;
}

.login-list ul {
    list-style: none;
    margin-top: 0 !important;
}

    .login-list ul li {
        color: rgb(255, 255, 255, 0.7) !important;
    }

.login-list .mb-4 {
    margin-bottom: 1.8rem;
}
/* Media Queries */
/*@media (max-width: 1280px) {
    .login-list {
        display: none;
    }
}
*/

@media (max-width: 1712px) {
    .login-page,
    .register-page {
        padding: 0 9em 0 3em;
    }

    .login-page-main {
        width: 22vw;
    }
}

@media (max-width: 768px) {
    .login-box, .register-box {
        width: 100% !important;
    }
}

@media (max-width: 630px) {
    .login-page,
    .register-page {
        padding: 0 2em 0 5em;
    }
}

@media (max-width: 431px) {
    .login-page,
    .register-page {
        padding: 0 0 0 5em;
        justify-content: center;
    }

    .form-control {
        width: 100% !important;
    }

    .login-page-main {
        width: 89%;
    }
}

/*@media (max-height: 888px) {
    .login-list {
        display: none;
    }
}
*/
@media (max-width: 376px) {
    .login-box,
    .register-box {
        margin: 12em 0 0 0;
        padding: 0;
    }
}

/* Miscellaneous */
.log-in-container {
    width: 100% !important;
}

#resourceModal .dx-fileuploader-input-wrapper {
    padding-left: 10px;
}

.box.box-primary {
    border-top-color: #3351AE !important;
}

.box.box-success {
    border-top-color: #4E914D !important;
}

.box.box-warning {
    border-top-color: #FCE28F !important;
}

.box.box-danger {
    border-top-color: #D23F57 !important;
}

.box.box-info {
    border-top-color: #7F92CC !important;
}

.main-header .logo img {
    padding: 5px;
    object-fit: contain;
    margin: 0 auto;
}

.main-header .logo .logo-lg {
    display: block;
}

    .main-header .logo .logo-lg img {
        max-width: 200px;
        max-height: 50px;
    }

    .main-header .logo .logo-lg .brandlogo-image {
        margin-top: 8px;
        margin-right: 10px;
        margin-left: -10px;
    }

.main-header .logo .logo-mini {
    display: none;
}

    .main-header .logo .logo-mini img {
        max-width: 50px;
        max-height: 50px;
    }

    .main-header .logo .logo-mini .brandlogo-image {
        margin-top: 8px;
        margin-right: 10px;
        margin-left: 10px;
    }

.main-header .logo .brandlogo-image {
    float: left;
    height: 34px;
    width: auto;
    margin-left: -30px !important;
}

.main-header .logo {
    -webkit-transition: width 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
    display: block;
    float: left;
    height: 50px;
    font-size: 25px;
    line-height: 50px;
    text-align: center;
    width: 10em;
    font-family: "Montserrat", sans-serif;
    padding: 0px 0px;
    font-weight: 300;
    overflow: hidden;
}

    .main-header .logo > span {
        margin-left: -21px;
    }


.box-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
    background-color: #CBD2EA !important;
}

.box.box-success {
    border-top-color: #4E914D !important;
    background-color: #CBD2EA !important;
}

.btn-box-tool {
    padding: 5px;
    font-size: 12px;
    background: #fff !important;
    color: #00269a !important;
}

.box.box-warning {
    border-top-color: #FCE28F !important;
    background-color: #CBD2EA !important;
}

.nav-tabs-custom > .tab-content {
    background: #CBD2EA;
    padding: 10px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

element.style {
    padding: 5px;
    background-color: #CBD2EA !important;
}

element.style {
    padding: 5px;
    background-color: #CBD2EA !important;
}

element.style {
    padding: 5px;
    background-color: #CBD2EA !important;
}

.box.box-danger {
    border-top-color: #D23F57 !important;
    background-color: #CBD2EA !important;
}

.box.box-primary {
    border-top-color: #3351AE !important;
    background-color: #CBD2EA !important;
}

.no-border {
    border: 0 !important;
    background-color: #CBD2EA !important;
}

.skin-blue-light .main-header .navbar, .skin-blue-light .main-header .logo {
    padding-left: 5px;
}

.navbar-nav > .user-menu > .dropdown-menu > .user-body {
    padding: 15px;
    border-bottom: 1px solid #f4f4f4;
    border-top: 1px solid #dddddd;
    color: #000000 !important;
}

.tgl input[type="checkbox"]:read-only,
.tgl input[type="checkbox"]:read-only + span {
    cursor: pointer !important;
}
