﻿body {
    font-family: az_ea_font, "Segoe UI", az_font, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 13px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    /*min-height: 90vh;*/
    background-color: #FFF;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

.bg-success {
    font-size: 16px;
    color: #FFF;
    font-weight: bold;
    opacity: 0.6;
    padding-left: 10px;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/
/*.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #777;
    border-color: #fff
}*/
body {
    background: #FFF;
}

.top-bar {
    background: #203865;
    height: 30px;
    margin-top:1%
}

.pageToolbar a {
    font-size: 16px;
    text-decoration: none;
    color: black;
}

.pageToolbar .toolbar-icon {
    color: #418bca;
}

.pageToolbar .col-md-12 {
    margin-bottom: 20px;
}
/*.nav-bar {
    background: #EBEBEB;
    color: #8DAED7;
    height: 70px;
    padding: 0 20px 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}*/
.loginButton {
    margin-bottom: 12px;
    background: #007E9E;
    border-color: #007E9E;
    color: #fff;
    font-weight: 600;
    padding: 11px;
    font-size: 14px;
    width: 100%;
}

.copyright-text {
    background: #fff;
    text-align: center;
    /* padding: 0 50px 20px; */
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    text-decoration: underline;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-top: 2rem;
    /*padding: 2rem;*/
    text-decoration: none;
    text-transform: uppercase;
    /*font-family: 'Raleway' !important;*/
    font-size: 13px;
}

h4 {
    color: #040468;
    font-size: 15px;
    margin-bottom: 25px;
    font-weight: 700;
}

.row {
    margin-top: 5px;
    margin-left: 5px;
}

.modal-header {
    padding: 10px;
    margin: 0;
}
    .modal-header .close {
        margin-top: -10px;
    }

/*.navbar {
    margin-bottom: 0;
}*/

.field-validation-error {
    color: #dc3545 !important;
    margin: 0px !important;
    position: relative;
    text-align: left;
}

.disabled {
    background-color: #f1f1f1 !important;
}

textarea[disabled] {
    background-color: #f1f1f1 !important;
}

input[disabled] {
    background-color: #f1f1f1 !important;
}



#overlay {
    position: fixed;
    top: 0;
    z-index: 5000;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0,0,0,0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.header {
    background-color: #222;
    border-color: #080808;
    top: 0;
    border-width: 0 0 1px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}

h3 {
    color: #203865;
    font-size: 1.5rem;
}

label {
    font-size: 10px;
    color: #040468;
    font-weight: 600;
    text-transform: uppercase;
}

.bodycontainer {
    /*width: 80%;*/
    padding-left: 0px;
    padding-right: 0px;
    margin-right: auto;
    margin-left: auto;
}

.buttonCustom {
    font-size: 14px;
    height: 30px;
    color: #FFF;
    border-radius: 9px;
}

.primaryButton {
    background-color: #428bca;
    font-size: 14px;
    height: 30px;
    color: #FFF;
    border: solid 2px #428bca;
    border-radius: 9px;
    border-color: #428bca;
}

.greenButton {
    background-color: #4F7942;
    border: solid 2px #4F7942;
    border-color: #4F7942;
}

    .greenButton.k-button-solid-base.k-hover, .greenButton.k-button-solid-base:hover {
        border-color: #4F7942;
        color: #FFF;
        background-color: #4F7942;
    }

.redButton {
    background-color: #FF5733;
    border: solid 2px #FF5733;
    border-color: #FF5733;
}

.redButton.k-button-solid-base.k-hover, .redButton.k-button-solid-base:hover {
    border-color: #FF5733;
    color: #FFF;
    background-color: #FF5733;
}

.yellowButton {
    background-color: #BDB76B;
    border: solid 2px #BDB76B;
    border-color: #BDB76B;
    color: black;
}

    .yellowButton.k-button-solid-base.k-hover, .redButton.k-button-solid-base:hover {
        border-color: #BDB76B;
        color: black;
        background-color: #BDB76B;
    }


#filterPopup {
    display: none;
    position: absolute; /* Absolute positioning */
    z-index: 1000; /* Ensure it's above other elements */
    background-color: white; /* Background color */
    border: 1px solid #ccc; /* Border for better visibility */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Shadow for depth */
    padding: 10px; /* Padding inside the popup */
    margin-top: 5px; /* Space between button and popup */
    overflow: hidden;
}

.rounded-filter-button {
    background-color: #e0edfb; /* Light blue color */
    border: none;
    border-radius: 15px;
    color: black;
    padding: 2px 5px;
    font-size: 12px;
    height: auto;
    line-height: normal;
    margin-left: 10px; /* Space between buttons */
}

    .rounded-filter-button span {
        display: inline-block;
        vertical-align: middle;
    }


.web-footer-section {
    background-color: rgba(33,33,33,0.97);
    color: #fff;
    /*font-family: "Open Sans",'Trebuchet MS', Helvetica, sans-serif;*/
    line-height: 22px;
    letter-spacing: 0.5px;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}

hr {
    margin-top: 5px;
    margin-bottom: 5px;
    border: 0;
    border-top: 2px solid darkgray;
}

.boxFix *,
.boxFix *::before,
.boxFix *::after {
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

.k-textbox {
    width: 100%;
}

/* Set the grid and header background to white */
.k-grid {
    border-width: 0;
    height: 100%; /* DO NOT USE !important for setting the Grid height! */
}

#gridContainer {
    padding: 0;
    height: 80vh;
}

.k-grid,
.k-grid-header {
    background-color: white;
}

    .k-grid table tr:hover td {
        background: #f0f0f0 !important;
        cursor: pointer !important;
    }

    /* Set the background of the grid rows and header cells to white */
    .k-grid td,
    .k-grid th {
        background-color: white;
        border-right: none; /* Remove vertical lines */
    }

    /* Add light gray horizontal lines between rows and header */
    .k-grid tr,
    .k-grid-header tr {
        border-bottom: 1px solid lightgray; /* Light gray horizontal lines */
    }

    /* Ensure no vertical lines are present between columns */
    .k-grid td {
        border-right: none !important;
        border-width: .4px 0 ;
    }

    .k-grid-header th.k-header {
        border-style: none;
        border-width: 0;
    }
    /* Remove header bottom border */
        .k-grid-header th {
        border-bottom: none !important;
    }

    .k-grid .k-selected {
        color: black;
    }
/* Optional: Remove any other grid borders for a cleaner look */
.k-grid,
.k-grid-header,
.k-grid-footer,
.k-grid-content {
    border: none;
}

.disable-click {
    pointer-events: none;
    color: lightgray !important;
}


/*.k-grid-header .k-header {
    background-color: #428bca;
    color: white;
}

.k-grid-header .k-link, .k-grid-header .k-link:link, .k-grid-header .k-link:visited, .k-grouping-header .k-link {
    color: white;
}

.k-grid-header .k-i-sort-asc-sm, .k-grid-header .k-i-sort-desc-sm, .k-grid-header .k-sort-order {
    color: white;
}

.k-grid .k-grid-header .k-header .k-link {
    height: auto;
}

.k-grid .k-grid-header .k-header .k-column-title {
    white-space: normal;
}

.k-window-titlebar, .k-window-actions {
    background-color: #428bca;
    color: white;
}
.k-grid .k-grid-header .k-header,
.k-grid .k-grid-header-locked .k-header {
    white-space: normal;
}

    .k-grid .k-grid-header .k-header .k-link,
    .k-grid .k-grid-header-locked .k-header .k-link {
        height: auto;
    }

#grid .k-grid-content {*/
    /*min-height: 45vh;*/
    /*max-height: 100%;
}

.k-pdf-export .k-grid-toolbar,
.k-pdf-export .k-grid-pager,
.k-pdf-export .k-grouping-header {
    display: none;
}

.k-pdf-export .k-filterable .k-grid-filter {
    display: none;
}*/




/*  LOADING SPINNER  */
.loadingDiv-parent {
    position: fixed;
    text-align: center;
    width: 100%;
    height: 100%;
    z-index: 999998;
}

.loadingDiv {
    position: fixed;
    text-align: center;
    top: 40%;
    left: 45%;
    z-index: 999999;
}

    .loadingDiv .loading-image {
        display: block;
        margin: 25px 75px;
    }



.k-pdf-export colgroup > col:nth-child(1) {
    width: 0;
}


/* PDF EXPORT OF MASTERS CSS*/
.page-template {
   /* font-family: "DejaVu Sans", "Arial", sans-serif;*/
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
    .page-template .header {
        position: absolute;
        top: 30px;
        left: 30px;
        right: 30px;
        border-bottom: 1px solid #888;
        color: #888;
        background-color: white;
    }

    .page-template .footer {
        position: absolute;
        bottom: 30px;
        left: 30px;
        right: 30px;
        border-top: 1px solid #888;
        text-align: center;
        color: #888;
    }

    .page-template .watermark {
        font-weight: bold;
        font-size: 400%;
        text-align: center;
        margin-top: 30%;
        color: #aaaaaa;
        opacity: 0.1;
        transform: rotate(-35deg) scale(1.7, 1.5);
    }

.k-pdf-export colgroup > col:nth-child(1) {
    width: 0; /* hides only the 1th column during PDF export */
    display: none;
}


#grid table {
    min-width: 100%;
}
    /* PDF EXPORT END*/



.wrapper {
    display: flex;
    align-items: stretch;
    perspective: 1500px;
}

.mainContentStyle80 {
    width: 80%;
    transition: all 1s;
}

.mainContentStyle100 {
    width: 100%;
    transition: all 1s;
}

#export-menu.k-menu {
    z-index: 10000;
}

.draggable-row {
    border: 1px solid #ccc;
    margin-bottom: 5px;
    padding: 3px;
    cursor: move;
}

.drag-icon {
    padding-top: 5px;
}

.ui-state-highlight {
    height: 1.5em;
    line-height: 1.2em;
    background-color: lightblue;
}





/* Basic reset */
body {
    margin: 0;
    padding: 0;
}

/* Top Header */
.top-header {
    display: flex;
    position: fixed;
    width: 100%;
    height: 51px;
    align-items: center;
    justify-content: space-between;
    /*padding: 10px;*/
    background-color: white;
    color: white;
    top: 0;
    z-index: 1001;
    border-bottom: 1px solid #6c757d;
}

    .top-header .header-icons {
        display: flex;
        align-items: center;
    }

        .top-header .header-icons i {
            margin-left: 15px;
            font-size: 20px;
            cursor: pointer;
            color: #035079;
        }

    .top-header .username {
        margin-right: 5px;
        font-size: 16px;
        display: flex;
        align-items: center;
        color: #035079;
    }

.profile-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #035079; /* Optional: add a border */
    background-color: #ddd; /* Optional: add a background color */
}

    .profile-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Second Header */
.second-header {
    display: flex;
    position: fixed;
    width: 100%;
    margin-top: 40px; /* Adjust to height of the top header */
    background-color: #6c757d;
    color: white;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #495057; /* Border to separate from content */
}

#main-wrapper {
    display: flex;
    top: 120px;
    height: calc(100vh ); /* Adjusted for the height of two headers */
    overflow: hidden;
}

/* Sidebar */
#sidebar-wrapper {
    width: 250px;
    /*background-color: #f8f9fa;*/
    overflow-y: auto;
    transition: width 0.3s ease;
    height: 90vh;
    position: fixed;
    /*transition: all 0.3s ease;*/
    transition: width 0.3s ease-in-out;
    border-right: solid #c9ccd1;
    top: 40px;
}

/*#sidebar-wrapper {
    width: 250px;
    background-color: #f8f9fa;
    position: fixed;
    height: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-right: solid #c9ccd1;

    position: fixed;
    left: 0;
    top: 80px;
    height: 90vh;
    overflow-y: auto;*/ /* Enable vertical scrolling */
    /*overflow-x: hidden;*/ /* Hide horizontal scrolling */
/*}*/

    #sidebar-wrapper::-webkit-scrollbar {
        width: 8px;
    }

    #sidebar-wrapper::-webkit-scrollbar-thumb {
        background-color: #6c757d; /* Customize scrollbar color */
        border-radius: 10px;
    }

    #sidebar-wrapper.collapsed {
        width: 70px;
    }

        #sidebar-wrapper.collapsed .submenu-icon {
            display: none;
        }


        /* Ensure the sidebar header items remain visible */
        /*#sidebar-wrapper.collapsed .toggle-icon {
            margin-right: 0;
            margin-left: auto;
        }*/


/* Page Content */
#content-wrapper {
    /*flex-grow: 1;*/
    position: relative;
    /*padding: 20px;*/
    overflow-y: auto;
    /*background-color: #f8f9fa;*/
    transition: width 0.3s ease;
    left: 250px; /* Adjust the width according to sidebar */
    width: calc(100% - 250px);
    /*transition: margin-left 0.3s ease;*/
    transition: left 0.3s ease-in-out;
    top: 40px;
}

#wrapper.toggled #content-wrapper {
    margin-left: 70px;
}

/* List Group Items */
.list-group-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .list-group-item i {
        margin-right: 10px;
        min-width: 24px;
    }

    .list-group-item span {
        display: inline-block;
        transition: opacity 0.3s ease;
        flex-grow: 1;
    }

.collapse .list-group-item {
    border-right: none;
}

/*.list-group-item.active {
        background-color: lightgray;
        color: white;
        border: none;*/ /* Removes the border */
/*outline: none;*/ /* Removes any focus outline */
/*}*/

#sidebar-wrapper.collapsed .list-group-item span {
    opacity: 0;
    visibility: hidden;
    width: 0;
}

#sidebar-wrapper.collapsed .list-group-item {
    justify-content: center;
}

.submenu-item {
    background-color: #f0f0f0; /* Light gray background */
    padding-left: 20px; /* Indent to differentiate from main menu */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

    /* When a submenu item is active (hover or expanded) */
    .submenu-item:hover/*, .submenu-item.active*/ {
        background-color: #e0e0e0; /* Slightly darker gray on hover/active */
        /*color: black;*/
    }

.list-group-item.active {
    z-index: 2;
    color: #FFF;
    background-color: #1f2e39;
    border-color: #1f2e39;
}

.submenu-icon {
    float: right;
    margin-left: auto;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.collapse.show ~ .submenu-icon {
    transform: rotate(180deg);
}

.toggle-icon {
    font-size: 24px;
    cursor: pointer;
    /*float: right;*/
}

.search-box {
    flex-grow: 1;
    margin: 10px 0;
}

    .search-box input {
        width: 100%;
        padding: 5px;
        border-radius: 5px;
        border: none;
    }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background-color: #FFF;
    /*color: white;*/
}

.details {
    width: 400px;
}