/* 
/* 
/*  custom.css
/*
/*  If not using Gulp and Sass, add your custom CSS below then include it
/*  in your page by adding a reference to assets/css/custom.css in the head of each page.
/*
*/

.custom-event .fc-content {
    background-color: lightblue !important;
    /* Set the event background color */
    border-color: lightblue !important;
    /* Set the event border color */
    color: #000 !important;
    /* Set the event text color */
    display: flex;
    /* Use flexbox to align the content */
    justify-content: center;
    /* Center the content horizontally */
    align-items: center;
    /* Center the content vertically */
}

.form-control-custom {
    line-height: 1.5;
    /* Adjust the line height for larger spacing */
    padding: 12px 16px 100px;
    /* Adjust the padding for larger spacing */
}


.attachment {
    width: 100%;
    box-sizing: border-box;
    padding: 2.5rem;
    border: 1px dashed #255C92;
    background-color: #F4F8FC;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.custom-disabled-div {
    padding: 6px;
    border-radius: 5px;
    border: 1px solid #ced4da;
    background-color: #e9ecef;
}

/* MATERIAL TABLE DATATABLE */
div.material-table {
    padding: 0;
}

div.material-table .hiddensearch {
    padding: 10px 14px 0 24px;
    border-bottom: solid 1px #DDDDDD;
    display: none;
}

div.material-table .hiddensearch input {
    margin: 0;
    padding-top: 2px;
    border: transparent 0 !important;
    height: 48px;
    color: rgba(0, 0, 0, .84);
}

div.material-table .hiddensearch input:active {
    border: transparent 0 !important;
}

div.material-table table {
    table-layout: fixed;
}

div.material-table .table-header {
    height: 64px;
    padding-left: 14px;
    padding-right: 14px;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
    -webkit-display: flex;
    border-bottom: solid 1px #DDDDDD;
}

div.material-table .table-header .actions {
    display: -webkit-flex;
    margin-left: auto;
}

div.material-table .table-header .btn-flat {
    min-width: 36px;
    padding: 0 8px;
}

div.material-table .table-header input {
    margin: 0;
    height: auto;
}

div.material-table .table-header i {
    color: rgba(0, 0, 0, 0.54);
    font-size: 24px;
}

div.material-table .table-footer {
    height: 56px;
    padding-left: 24px;
    padding-right: 14px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-items: center;
    align-items: center;
    font-size: 12px !important;
    color: rgba(0, 0, 0, 0.54);
}

div.material-table .table-footer .dataTables_length {
    display: -webkit-flex;
    display: flex;
}

div.material-table .table-footer label {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.54);
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    /* works with row or column */

    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

div.material-table .table-footer .select-wrapper {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    /* works with row or column */

    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}

div.material-table .table-footer .dataTables_info,
div.material-table .table-footer .dataTables_length {
    margin-right: 32px;
}

div.material-table .table-footer .material-pagination {
    display: flex;
    -webkit-display: flex;
    margin: 0;
}

div.material-table .table-footer .material-pagination li:first-child {
    margin-right: 24px;
}

div.material-table .table-footer .material-pagination li a {
    color: rgba(0, 0, 0, 0.54);
}

div.material-table .table-footer .select-wrapper input.select-dropdown {
    margin: 0;
    border-bottom: none;
    height: auto;
    line-height: normal;
    font-size: 12px;
    width: 40px;
    text-align: right;
}

div.material-table .table-footer select {
    background-color: transparent;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    height: auto;
    margin-left: 20px;
}

div.material-table .table-title {
    font-size: 24px;
    color: #000;
}

div.material-table table tr td {
    padding: 0 35px 0 35px;
    height: 45px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.87);
    border-bottom: solid 1px #DDDDDD;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.material-table table tr td a {
    color: inherit;
}

div.material-table table tr td a i {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.54);
}

.no-sort::after {
    display: none !important;
}

.no-sort {
    pointer-events: none !important;
    cursor: default !important;
}

div.material-table table tr {
    font-size: 12px;
}

div.material-table table th {
    font-size: 12px;
    font-weight: 500;
    color: #757575;
    cursor: pointer;
    white-space: pre;
    height: 45px;
    padding-left: 35px;
    padding-right: 35px;
    vertical-align: middle;
    outline: none !important;
}

div.material-table table th.sorting_asc,
div.material-table table th.sorting_desc {
    color: rgba(0, 0, 0, 0.87);
}

div.material-table table th.sorting:after,
div.material-table table th.sorting_asc:after,
div.material-table table th.sorting_desc:after {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    word-wrap: normal;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    content: "arrow_back";
    -webkit-transform: rotate(90deg);
    display: none;
    vertical-align: middle;
}

div.material-table table th.sorting:hover:after,
div.material-table table th.sorting_asc:after,
div.material-table table th.sorting_desc:after {
    display: inline-block;
}

div.material-table table th.sorting_desc:after {
    content: "arrow_forward";
}

div.material-table table tbody tr:hover {
    background-color: #EEE;
}

div.material-table table th:first-child,
div.material-table table td:first-child {
    padding: 0 24px 0 24px;
}

div.material-table table th:last-child,
div.material-table table td:last-child {
    padding: 0 24px 0 24px;
}

/* only borderes to td and th elemets*/
.borders th,
.borders td {
    border: 1px solid #dee2e6;
}

.borders thead th,
.borders thead td {
    border-bottom-width: 2px;
}

/* END MATERIAL TABLE */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.mobile-margins {
    max-width: 575.98px
}

@media (max-width: 575.98px) {
    .mobile-margins {
        margin-top: 0.5rem;
    }
}

/*
Styling for latest dashboard design
*/
    .metric-box {
        background-color: #f0f0f0 !important; /* Light grey background */
        border: 1px solid #343a40;
        color: #343a40 !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .metric-box h4 {
        color: #343a40;
    }
    
    .metric-box .h3 {
        color: #343a40;
    }

    .metric-box h4 {
       white-space: normal;
       text-align: center;
       font-size: clamp(1.2rem, 1.5vw, 1.1rem);
    }
    
    .form-box {
        border-radius: 4px;
        text-decoration: none;
        height: 100%;
        transition: opacity 0.2s;
    }
    
    .form-box:hover {
        opacity: 0.9;
        text-decoration: none;
    }
    
    .list-group-item {
        border: 1px solid rgba(0,0,0,.125);
        background: transparent;
        transition: background-color 0.2s;
    }
    
    .list-group-item:hover {
        background: rgba(0,0,0,.05);
    }
    
    .badge-secondary {
        background-color: #6c757d;
        padding: 0.5rem;
    }
    
    .calendar-container {
        min-height: 300px;
    }
    .header-icon {
        height: 100px;
        width: 100px;
        object-fit: contain;
    }
        
        
    .hub-nav {
        background-color: #000 !important;
        display: flex;
        flex-wrap: wrap;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
    }

    .hub-nav-link {
        padding: 1rem;
        transition: all 0.3s ease;
        border-radius: 0;
        background-color: #000 !important;
        display: block;
        text-decoration: none;
        font-size: 1.2em;
    }

    .hub-nav-link:hover {
        background-color: #333 !important;
        color: #fff !important;
        transform: translateY(-2px);
    }

    .hub-nav-link i {
        width: 20px;
        text-align: center;
    }
    .hub-header {
        background-color: #333 !important;
        color: #fff !important;
        padding: 1rem;
        text-align: center;
    }
    .calendar-container .flatpickr-calendar {
        box-shadow: none;
        width: 100%;
        background: transparent;
    }
    
    .flatpickr-input-hidden {
        display: none; /* Hide the input field since we're using inline mode */
    }
    .fw-bold {
        font-weight: bold;
    }
    .text-black {
        color: #000;
    }
    .badge-count {
        right: -10px; top: -19px; font-size:.1em;
    }
    .cke_notifications_area {
        display: none;
    }