html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  /*margin-bottom: 60px;*/
  /*background-color: #d9dba421 !important;*/
}

.adminpage {
    min-height: 550px;
}

.mymodal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: .8;
}

.loader {
    z-index: 1000;
    margin: 300px auto;
    padding: 10px;
    width: 130px;
    position: fixed;
    top: 10%;
    left: 50%; /* bring your own prefixes */
    transform: translate(-50%, -50%);
}


/*********** HTML Calendar *************/

/*.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .calendar-table th,
    .calendar-table td {
        text-align: center;
        vertical-align: top;
        padding: 10px;
        border: 1px solid #dee2e6;*/ /* Bootstrap border color */
    /*}

    .calendar-table th {
        background-color: #f8f9fa;*/ /* Bootstrap light background color */
        /*font-weight: bold;
    }

    .calendar-table td {
        height: 100px;*/ /* Set a fixed height for each day cell */
    /*}

    .calendar-table .day-number {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .calendar-table .event {
        background-color: #d1ecf1;*/ /* Bootstrap info background color */
        /*color: #0c5460;*/ /* Bootstrap info text color */
        /*border-radius: 4px;
        padding: 2px 5px;
        margin-top: 5px;
        font-size: 0.875em;*/ /* Smaller font size */
    /*}

        .calendar-table .event:hover {
            background-color: #c3e6cb;*/ /* Bootstrap success background color */
            /*color: yellow;*/ /* Bootstrap success text color */
        /*}*/

/*********** HTML Calendar Mobile Responsive *************/

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .calendar-table th,
    .calendar-table td {
        text-align: center;
        vertical-align: top;
        padding: 8px;
        border: 1px solid #dee2e6; /* Bootstrap border color */
        font-size: 0.75rem;
        font-weight: bold;
    }

    .calendar-table th {
        background-color: #f8f9fa; /* Bootstrap light background color */
        font-weight: bold;
    }
    
    /*.calendar-table td {
        height: 100px;*/ /* Set a fixed height for each day cell */
        /*overflow: visible;
        position: relative;
        padding: 5px;
        padding-bottom: 3em;
    }*/
    
    .calendar-table .day-number {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .calendar-table .event {
        /* background-color: #d1ecf1; Bootstrap info background color */
        /* color: #ffffff; Bootstrap info text color */
        border-radius: 4px;
        padding: 2px 5px;
        margin-top: 5px;
        font-size: 0.875em; /* Smaller font size */
        display: block;
        white-space: normal; /* Allow text wrapping */
    }

@media (max-width: 576px) {
    .calendar-table td {
        height: auto;
        padding: 5px;
    }

    .calendar-table .event {
        font-size: 0.75em; /* Smaller font size for mobile */
        padding: 1px 3px; /* Adjust padding for smaller screens */
    }
}

/*********** HTML Small Calendar Mobile Responsive *************/


.small-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .small-calendar-table th,
    .small-calendar-table td {
        text-align: center;
        vertical-align: top;
        padding: 10px;
        border: 1px solid #dee2e6; /* Bootstrap border color */
    }

    .small-calendar-table th {
        background-color: #f8f9fa; /* Bootstrap light background color */
        font-weight: bold;
    }

    .small-calendar-table td {
        height: 50px; /* Set a fixed height for each day cell */
        overflow: hidden;
        position: relative;
        padding: 5px;
    }

    .small-calendar-table .day-number {
        font-weight: bold;
        margin-bottom: 5px;
    }

    .small-calendar-table .event {
        /* background-color: #d1ecf1; Bootstrap info background color */
        /* color: #ffffff; Bootstrap info text color */
        border-radius: 4px;
        padding: 2px 5px;
        margin-top: 5px;
        font-size: 0.875em; /* Smaller font size */
        display: block;
        white-space: normal; /* Allow text wrapping */
    }

@media (max-width: 576px) {
    .small-calendar-table td {
        height: auto;
        padding: 5px;
    }

    .small-calendar-table .event {
        font-size: 0.75em; /* Smaller font size for mobile */
        padding: 1px 3px; /* Adjust padding for smaller screens */
    }
}

.scroll-15em {
    max-height: 15em;
    overflow-y: scroll;
}

.form-floating .select2-container--bootstrap-5 .select2-selection {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-floating .select2-container--bootstrap-5 .select2-selection > .select2-selection__rendered {
    margin-top: 0.6rem;
    margin-left: 0.25rem;
}

@font-face {
    font-family: 'Product Sans';
    src: url('/fonts/Product Sans Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Product Sans';
    src: url('/fonts/Product Sans Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.applyfor {
    position: absolute;
    margin-left: 4%;
}

@media (max-width: 768px) {
    .applyfor {
        margin-left: 1%;
    }
}