﻿/* EMPLOYEE HUB BRANDING */
:root {
    --eh-primary: #0069a7;
    --eh-secondary: #3287b8;
    --eh-tertiary: #66a5ca;
    --eh-dark: #242628;
    --eh-light: #fff;
    --eh-shadow: 10px 124px 308px 22px rgba(29,171,222,0.12);
    --eh-rounded-20: 20px;
    --eh-ca-color-submitted: darkred;
    --eh-ca-color-approved: black;
    --eh-ca-color-denied: orange;
    --eh-ca-color-holiday: red;
    --bs-primary-rgb: 0, 105, 167;
}
 
/* FULL CALENDAR OVERRIDES */
:root {
    --fc-dayGridMonth-button: 'btn-outline-primary'
}
th {
    font-weight: lighter;
}
.fc-dayGridMonth-button {
    border: none;
}

/* BOOTSTRAP OVERRIDES */
body {
    font-family: Roboto, sans-serif;
} 
.eh-app-tabs .active {
    background-color: rgb(var(--bs-light-rgb)) !important;
    border-bottom-color: transparent !important;
} 
.form-control {
    border-radius: var(--eh-rounded-20) !important;
}
.form-select {
    border-radius: var(--eh-rounded-20) !important;
}

/* SITE STYLE */
html {
    font-size: 14px;
}

@media only screen and (min-width: 1400px) {
    .container {
        max-width: 80%;
    }

    html {
        font-size: 16px;
    }
}

.avatar {
    width: 100px;
}

.eh-shadow {
    box-shadow: var(--eh-shadow) !important;
}

.eh-rounded-20 {
    border-radius: var(--eh-rounded-20) !important;
}

.icon {
    width: 20px;
}

.logo-img { 
    max-width: 286px;
}

.search-bar input {
    line-height: 50px;
    font-size: 20px;
}

.usersignicon {
    width: 42px;
    height: 42px;
}
.user-badge {
    min-width: 200px;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

ul {
    list-style-type: disc;
}

.sidebar a:hover {
    border-radius: var(--eh-rounded-20) !important;
    color: var(--eh-light) !important;
    background-color: var(--bs-gray-500) !important;
}

.content a:hover {
    border-radius: var(--eh-rounded-20) !important;
    color: var(--eh-light) !important;
    background-color: var(--bs-gray-500) !important;
}

.sidebar a:hover {
    border-radius: var(--eh-rounded-20) !important;
    color: var(--eh-light) !important;
    background-color: var(--bs-gray-500) !important;
}

.sidebar a, .content a {
    color: var(--bs-secondary) !important;
    transition: none !important;
}

.sidebar {
    background-color: var(--eh-shadow);
    border-radius: var(--eh-rounded-20);
}

.content {
    border-radius: var(--eh-rounded-20);
}

.icon-box-title {
    color: var(--bs-gray-600)
}
.icon-box-title:hover {
    color: white !important;
}

.icon-box:hover {
    border-radius: var(--eh-rounded-20) !important;
    color: white !important;
    background-color: var(--eh-primary) !important;
    -moz-box-shadow: inherit;
    -webkit-box-shadow: inherit;
    box-shadow: 0 0 30px #ccc !important;
}

.card {
    border-radius: var(--eh-rounded-20) !important;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    overflow: hidden;
}  
.tooltip {
    position: absolute;
    background-color: #e1f1fd;
    color: #242628;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    opacity: 1;
    display: block;
    pointer-events: none;
    font-size:12px;
}
.icon-box {
    min-width: 100px;
    max-width: 400px;
    min-height: 100px;
    max-height: 400px;
    width: 10%;
    height: 15%; 
}
 .icon-box:hover {
        box-shadow: 0 0 30px red !important;
    }
    .tooltip {
        position: absolute;
        background-color: #e1f1fd;
        color: #242628;
        padding: 10px;
        border-radius: 5px;
        z-index: 1000;
        opacity: 1;
        display: block;
        pointer-events: none;
    }
.icon-box {
    min-width: 100px;
    max-width: 400px;
    min-height: 100px;
    max-height: 400px;
    width: 10%;
    height: 15%; 
}
 .icon-box:hover {
        box-shadow: 0 0 30px red !important;
    }
    .tooltip {
        position: absolute;
        background-color: #e1f1fd;
        color: #242628;
        padding: 10px;
        border-radius: 5px;
        z-index: 1000;
        opacity: 1;
        display: block;
        pointer-events: none;
    }

/* calendar day cells */
.fc-event-title {
    font-family: Roboto, sans-serif;
    font-weight: normal !important; 
}

.fc-event-title.custom-color {
    color: var(--event-color) !important;

}

a.fc-event {
    border: none;
    background-color: transparent;
}

.fc-day-today a.fc-event {
    background-color: transparent !important;
}

.nav-item .nav-link {
    border-radius: var(--eh-rounded-20) !important;
}
 
li::marker{
    color:grey;
}
.card:hover {
    box-shadow: 0 0 30px #ccc !important;
}
input:not([type="checkbox"]){
    border-radius:var(--eh-rounded-20) !important;
}

/* CHECKBOX OVERRIDES */
.form-check-input[type="checkbox"] {
    border: 2px solid var(--eh-secondary);
    border-radius: 4px !important;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-check-input[type="checkbox"]:checked {
    background-color: var(--eh-primary);
    border-color: var(--eh-primary);
}

.form-check-input[type="checkbox"]:focus {
    border-color: var(--eh-secondary);
    box-shadow: 0 0 0 0.2rem rgba(0, 105, 167, 0.25);
    outline: none;
}

/* Custom tooltip styling */
.custom-tooltip.tooltip-inner {
        background-color: #f0f0f0; /* Tooltip background color */
        color: #333; /* Text color */
        font-size: 14px; /* Font size */
        border: 1px solid #ccc; /* Border around the tooltip */
        padding: 10px; /* Padding inside tooltip */
        border-radius: 5px; /* Rounded corners */
        text-align: left !important;
    }

.tooltip-inner {
    text-align: left;
}


.custom-tooltip.tooltip-arrow {
    border-bottom-color: #f0f0f0; /* Arrow color to match tooltip background */
}
.rowedit {
    background-color: #F0F8FF;
}

table caption {
    caption-side: top;
    font-weight: 700;
}
.is-invalid {
    border-color: #dc3545;
}

.icon-box-media {
    background-color: var(--eh-primary);
    color: white !important;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 500;
}

.card-text {
    font-size: 0.875rem;
    color: #6c757d;
}
 
.data-row:hover {
    background-color: #f8f9fa !important;
    cursor: pointer;
}

.table-width-60 {
    width: 60%;
}

.centered-table {
    width: 100%;
    margin: 0 auto; 
    text-align: left; 
}

.centered-container {
    display: flex;
    justify-content: center;
}
.highlight-yellow td{
    background-color: lightyellow !important;
}

.time-picker-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 400px; /* Adjust width if needed */
}
.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 5px 0;
    cursor: pointer;
    border: 1px solid #ccc;
    border-bottom: none;
}

    .tab.active {
        background: #007bff;
        color: #fff;
    }

.dialog-body {
    overflow-y: auto;
    max-height: 500px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.time-slot {
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 3px;
}

    .time-slot:hover {
        background: #007bff;
        color: #fff;
    }
/* Styling for the time slots */
.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 4px; /* Space between slots */
}

.time-slot {
    padding: 8px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    transition: background-color 0.3s;
    font-size: 0.775rem; /* Smaller text */
}

    .time-slot:hover {
        background-color: #e0e0e0;
    }

.small-text {
    font-size: 0.775rem; /* Adjust the size as necessary */
}
.highlight-row {
    background-color: #3287b8;
    color: white;
}
.roweditregular {
    display: flex;
    flex-wrap: wrap;
}

.time-picker-dialog.show {
        display: block;
        opacity: 1;
    }
.pagination a {
    padding: 5px;
    margin: 0 2px;
    text-decoration: none;
}

.pagination a.active {
        font-weight: bold;
        text-decoration: underline;
 }
.app-box
{ 
   max-width:250px;
}
.amendment-table th,
.amendment-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-type {
    width: 8%;
}

.col-name {
    width: 12%;
}

.col-reason {
    width: 12%;
}

.col-date {
    width: 10%;
}

.col-begin, .col-end {
    width: 8%;
}

.col-request {
    width: 10%;
}

.col-approve, .col-deny, .col-notes, .col-delete {
    width: 8%;
}
.eh-primary-color {
    color: var(--eh-primary) !important;
}
.eh-primary-background {
    background-color: var(--eh-primary) !important;
}