﻿/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}

/* Set widths on the form inputs since otherwise they're 100% wide 
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}
    */
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

body {
    overflow-y: scroll;
}

.main-container {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    --background-image: url('images/mainDivBackground-1.jpg'); /* Default image */
}

    .main-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: var(--background-image);
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
        opacity: .5;
        z-index: -1;
        border-radius: 10px;
    }

.content-section {
    background: rgba(0, 0, 0, 0.9) !important;
    color: white !important;
}

.content-darkbg {
    background: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    font-weight: bold;
}

    .content-darkbg:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        color: black !important;
        font-weight: bold;
    }

    .content-darkbg.active {
        background: rgba(255, 255, 255, 0.2) !important;
        color: black !important;
        font-weight: bold;
    }

        .content-darkbg.active:hover {
            background: rgba(255, 255, 255, 0.2) !important;
            color: black !important;
            font-weight: bold;
        }


.left-div, .right-div, .center-div, .only-div {
    border-radius: 10px; /* Default rounded corners */
    padding: 10px; /* Add padding to ensure spacing when stacked */
}

@media (min-width: 768px) {
    .left-div {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        padding-right: 0; /* Remove right padding on larger viewports */
    }

    .center-div {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        padding-left: 0; /* Remove left padding on larger viewports */
    }

    .right-div {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        padding-left: 0; /* Remove left padding on larger viewports */
    }
}

.dropdown-item .fa {
    width: 25px; /* Adjust the width as needed */
    text-align: center;
    display: inline-block;
}

.dropdown-item {
    display: flex;
    align-items: center;
}

.user-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: auto; /* Adjust width as needed */
}

.container-fluid {
    position: relative;
}

/*.user-container {
    display: flex;
    justify-content: center;*/ /* Center the ul horizontally */
    /*width: 100%;*/ /* Ensure it takes the full width */
    /*margin: 0 auto;*/ /* Center the container itself */
/*}

.container-fluid {
    display: flex;
    justify-content: center;*/ /* Center the content horizontally */
/*}*/

.role-label {
    display: block;
    margin-top: -20px; /* Adjust this value to reduce the space between the lines */
}

.garbage {
    display: none;
}

    .garbage[style*=visible] + input,
    .garbage[style*=visible] + select,
    .garbage[style*=visible] + textarea {
        background-color: #ffcccc;
        border: 1px solid #ff0000;
    }

.small-text-60 {
    font-size: 60%;
}

.small-text-70 {
    font-size: 70%;
}

/* Add styles for the brand logo and name */
.brand-logo {
    height: 30px; /* Adjust the height as needed */
    margin-right: 10px;
}

.brand-name {
    display: inline-block;
}

/* Ensure navbar items stay on the same line */
.navbar-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

/* Hide the brand name on small screens */
@media (max-width: 576px) {
    .brand-name {
        display: none;
    }
}

.employee-border {
    border-bottom: 1px solid #abb6c6;
    border-left: 1px solid #abb6c6;
    border-bottom-left-radius: 10px; /* Adjust the radius as needed */
    background-clip: padding-box; /* Ensure the background respects the border radius */
}

    .employee-border td:first-child {
        border-bottom-left-radius: 10px; /* Apply the radius to the first cell */
        overflow: hidden; /* Ensure the radius is visible */
    }

.align-baseline {
    vertical-align: baseline;
}

.cust-table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(70, 70, 70, 0.65); /* Light gray with 50% opacity */
    color: #ffffff; /* Text color for odd rows */
    border: none; /* Ensure no border is added */
}

.cust-table-striped tbody tr:nth-of-type(even) {
    background-color: transparent; /* No background color for even rows */
    color: inherit; /* Inherit text color */
    border: none; /* Ensure no border is added */
}

.cust-table-striped {
    border: none; /* Ensure the table itself has no border */
}

.fixed-width-buttons {
    width: 75px !important;
    min-width: 75px !important;
    max-width: 75px !important;
}

.fixed-width-hours {
    width: 70px; /* Adjust the width as needed */
    min-width: 70px;
    max-width: 70px;
}

/* Close button positioned on the edge and perfectly round with semi-transparent background */
.custom-close {
    position: absolute;
    top: -10px; /* Adjust the value to move it outside the modal header */
    right: -10px; /* Adjust the value to move it outside the modal header */
    cursor: pointer;
    font-size: 20px; /* Adjust the size as needed */
    background: white; /* Semi-transparent background */
    border: none; /* Remove default button border */
    border-radius: 50%; /* Make the button circular */
    width: 30px; /* Ensure width and height are equal */
    height: 30px; /* Ensure width and height are equal */
    padding: 0; /* Remove padding to maintain circular shape */
    display: flex; /* Center the icon inside the button */
    align-items: center; /* Center the icon inside the button */
    justify-content: center; /* Center the icon inside the button */
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition for hover effects */
}

    /* Focus effect to remove outline and shadow */
    .custom-close:focus {
        outline: none;
        box-shadow: none;
    }

/* Modal container to ensure relative positioning */
.modal-dialog {
    position: relative;
}

/* Modal content with rounded corners */
.modal-content {
    border-radius: 10px; /* Adjust the value as needed */
}

.disabled-textbox {
    background-color: #909090 !important; /* Light gray color */
}


.table-custom-rounded {
    border-radius: 10px; /* Adjust the value as needed */
    overflow: hidden; /* Ensures the corners are properly rounded */
}

@media (max-width: 768px) {
    .table-custom-rounded {
        font-size: 0.75rem !important;
    }
}

.table-custom-rounded-no-margin {
    border-radius: 10px; /* Adjust the value as needed */
    overflow: hidden; /* Ensures the corners are properly rounded */
    margin: 0; /* Remove any margin */
    padding: 0; /* Remove any padding */
}

    .table-custom-rounded-no-margin thead,
    .table-custom-rounded-no-margin tfoot {
        display: none; /* Hide thead and tfoot to remove any space */
        visibility: collapse;
    }

@media (max-width: 768px) {
    .table-custom-rounded-no-margin {
        font-size: 0.75rem !important;
    }
}


.table-custom-txtsm {
    border-radius: 10px; /* Adjust the value as needed */
    overflow: hidden; /* Ensures the corners are properly rounded */
}

@media (max-width: 768px) {
    .table-custom-txtsm {
        font-size: 0.90rem !important;
    }
}

#EmployeelistPlacement {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    z-index: 1000; /* Ensure it appears above other elements */
}

.border-top-custom {
    border-top: 1px solid #5a5a5a;
}

.border-bottom-custom {
    border-bottom: 1px solid #5a5a5a;
}

.btn-custom {
    font-size: 0.75rem; /* Adjust the size as needed */
    white-space: nowrap; /* Prevents text from wrapping */
}


.custom-table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

    .custom-table th,
    .custom-table td {
        padding: 0.3rem; /* Small padding from .table-sm */
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

    .custom-table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #dee2e6;
        background-color: #343a40 !important; /* Set your desired header background color */
        color: #ffffff !important; /* Set your desired header text color */
    }

    .custom-table tbody + tbody {
        border-top: 2px solid #dee2e6;
    }

    .custom-table th,
    .custom-table td,
    .custom-table thead th,
    .custom-table tbody + tbody {
        border-color: #dee2e6;
    }

.custom-table-rounded {
    border-radius: 0.5rem;
    overflow: hidden;
}

.custom-header {
    background-color: #4f4f56 !important; /* Set your desired header background color */
    color: #ffffff !important; /* Set your desired header text color */
}



.gridviewDayChangeEven {
    background-color: #ffffff !important;
}

.gridviewDayChangeOdd {
    background-color: #ffffff !important;
}

.grid-total {
    font-weight: bold;
    color: #2b4ca9;
    background-color: #d2e0fe !important;
    border-top:3px solid #bfbfbf;
}


.small-textbox {
    width: 80%; /* Adjust the percentage as needed */
}

.text-lightdanger{
    color: #ffb8b7;
    font-weight:normal !important;
}

.text-lightsuccess {
    color: #b1ffb0;
    font-weight: normal !important;
}

.custom-border-top {
    border-top: 1px solid #676767;
}