:root {
    --button-color: #6200EE;
    --button-color-selected: #3700B3;
    --close-button-color: #B00020;
    --close-button-color-selected: #790016;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 300;
    background-color: rgb(241, 241, 247);
}
header {
    box-shadow: 0 0px 2px #dadada;
    border-radius: 15px;
    background-color: white;
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-top: 0;
    height: 6.5em;
}
h1 {
    position: relative;
    top: 0.4em;
}
#divSignedInAs {
    position: relative;
    top: -0.5em;
}
#bookingRulesLink {
    position: relative;
    top: -0.3em;
}
#divLastRefreshed {
    width: fit-content;
    margin: auto;
    display: block;
    position: relative;
    top: 5px;
}
footer {
    text-align: center;
    margin-top:auto;
}
.logo{
    height: 50px;
    width: 50px;
    border-radius: 16px;
}
#buttonContainer {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    text-align: center;
    max-width: 650px;
    justify-content: center;
}
.navButton {
    font-weight: 600;
    width: 9em;
    height: 3em;
    margin: auto;
    margin-top: 0.2em;
    margin-left: 0.25em;
    margin-right: 0.25em;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    cursor: pointer;
}
.navButton:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#calendarContainer {
    box-shadow: 0 0px 2px #dadada;
    border-radius: 15px;
    padding-left: 1em;
    padding-bottom: 1em;
    background-color: white;
    padding: 0;
    max-width: 800px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
#dayContainer {
    padding-left: 1em;
    padding-bottom: 1em;
    padding: 0;
    max-width: 800px;
    margin: auto;
}
#dayDisplay {
    margin: auto;
    width: fit-content;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}
#spnDay {
    font-weight: bold;
}
#inpDate {
    border-radius: 20px;
    border: 1px solid black;
    height: 1.9em;
    width: 8em;
    margin: 0.2em;
    padding: 0.2em;
}
.btnChangeDay {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    width: 8em;
    height: 2.5em;
    margin-left: 0.5em;
    margin-right: 0.5em;
}
.btnChangeDay:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#divNoticeContainer {
    border: 2px solid black;
    border-radius: 10px;
    padding-left: 1em;
    padding-bottom: 1em;
    background-color: white;
    padding: 0;
    max-width: 800px;
    margin: auto;
}
h2 {
    margin: 0;
}
#divShowInstructorBookings {
    box-shadow: 0 0px 2px #dadada;
    border-radius: 15px;
    padding-left: 1em;
    padding-bottom: 1em;
    background-color: white;
    padding: 0;
    max-width: 800px;
    margin: auto;
    text-align: center;
}
#divShowSoloBookings {
    box-shadow: 0 0px 2px #dadada;
    border-radius: 15px;
    padding-left: 1em;
    padding-bottom: 1em;
    background-color: white;
    padding: 0;
    max-width: 800px;
    margin: auto;
    text-align: center;
}
#divInstructorBookingsTableContainer {
    position: relative;
    width: 100%;
    margin: auto;
    overflow-x: auto;
}
#divSoloBookingsTableContainer {
    position: relative;
    width: 100%;
    margin: auto;
    overflow-x: auto;
}
#divShowCasualBookings {
    box-shadow: 0 0px 2px #dadada;
    border-radius: 15px;
    padding-left: 1em;
    padding-bottom: 1em;
    background-color: white;
    padding: 0;
    max-width: 800px;
    margin: auto;
    text-align: center;
}
#divCasualBookingsTableContainer {
    position: relative;
    width: 100%;
    margin: auto;
    overflow-x: auto;
}
tr {
    height: 2em;
}
th, td {
    padding: 0.2em;
}
.printTable tr,
.printTable th,
.printTable td {
    border: 1px solid black;
    height: 1em;
}

table {
    border-collapse: collapse;
    width: 100%;
}
.btnBookSlot {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 2em;
    width: 4em;
}
.btnBookSlot:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}

#divBookingConfirmation {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
    z-index: 10;
}
#divCasualBookingConfirmation {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
    z-index: 10;
}
h3 {
    margin: 0;
    padding: 0;
}
#inpComments {
    border: 1px solid #c7c7c7;
    border-radius: 20px;
    display: block;
    margin: auto;
    position: relative;
    top: -1em;
    width: 20em;
    height: 1.5em;
    padding-left: 0.5em;
}

#inpCasualComments {
    border: 1px solid #c7c7c7;
    border-radius: 20px;
    display: block;
    margin: auto;
    position: relative;
    width: 15em;
    height: 1.5em;
    padding-left: 0.5em;
    border-radius: 15px;
}

.btnContainer {
    margin:auto;
    display: block;
    width: fit-content;
    text-align: center;
}
#btnConfirmBooking {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 3em;
    width: 6em;
    cursor: pointer
}
#btnConfirmBooking:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#btnAbortBooking {
    background-color: var(--close-button-color);
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    height: 3em;
    width: 6em;
    cursor: pointer
}
#btnAbortBooking:hover {
    background-color: var(--close-button-color-selected);
    cursor: pointer;
}
.imgTableSpinner {
    height: 40px;
    width: 40px;
    padding: 2em;
}
#divBookingConfirmed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(14, 173, 0);
    border: none;
    box-shadow: 0px 2px 10px #717171;
    border-radius: 5px;
    color: white;
    padding: 1em;
}
#divBookingFailed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(124, 1, 1);
    border: none;
    box-shadow: 0px 2px 10px #717171;
    border-radius: 5px;
    color: white;
    padding: 1em;
    max-width: 80%;
}
#divNotifsConfirmed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(14, 173, 0);
    border: none;
    box-shadow: 0px 2px 10px #717171;
    border-radius: 5px;
    color: white;
    padding: 1em;
}
.btnRefresh {
    position: relative;
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 2em;
    width: 2em;
    margin-left: 0.5em;
    margin-right: 0.3em;
}
.btnRefresh:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
.spnListHeading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 0.1em;
}
#btnEnableNotifs {
    position: relative;
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 2em;
    width: 2em;
}
#btnEnableNotifs:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#imgBell {
    height: 1.1em;
    width: 1.1em;
    position: relative;
    top: 1px;
}
.btnCancelSlot {
    background-color: var(--close-button-color);
    border-radius: 15px;
    border: none;
    color: white;
    font-weight: bold;
    position: relative;
    height: 1.9em;
    width: 1.9em;
    margin-left: 0.3em;
}
.btnCancelSlot:hover {
    background-color: var(--close-button-color-selected);
    cursor: pointer;
}
#divBookingCancelConfirmation{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 14em;
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
    text-align: center;
}
#btnHideCancelBooking {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 3em;
    width: 6em;
    cursor: pointer
}
#btnHideCancelBooking:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#btnConfirmCancelBooking {
    background-color: var(--close-button-color);
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    height: 3em;
    width: 6em;
    cursor: pointer
}
#btnConfirmCancelBooking:hover {
    background-color: var(--close-button-color-selected);
    cursor: pointer;
}
#divCancellationConfirmed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(14, 173, 0);
    box-shadow: 0px 2px 10px #717171;
    border-radius: 5px;
    color: white;
    padding: 1em;
}
#divCancellationFailed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(124, 1, 1);
    border: none;
    box-shadow: 0px 2px 10px #717171;
    border-radius: 5px;
    color: white;
    padding: 1em;
    max-width: 80%;
}
#divLoadingSpinner {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgba(255, 255, 255, 0);
    padding: 0.5em;
}
.btnShowComments {
    background-color: #B388FF;
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 2em;
    width: 4em;
}
.btnShowComments:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#divComment {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
}
#btnHideComment {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 2em;
    display: block;
    margin: auto;
    cursor: pointer
}
#btnHideComment:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#btnMyBookings {
    font-weight: 600;
    width: 9em;
    height: 3em;
    margin: auto;
    margin-top: 0.2em;
    margin-left: 0.25em;
    margin-right: 0.25em;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    background-color: #00C853;
    border-radius: 20px;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5em;
}
#btnMyBookings:hover {
    background-color: #00943e;
    color: white;
    cursor: pointer;
}
.row1 {
    background-color: white;
}
.row2 {
    background-color: rgb(242, 242, 242);
}
.hiddenRow {
    background-color: #626262;
    color: white;
}
.headerRow {
    background-color: rgb(222, 231, 248);
}
.messageLink {
    color: white;
}
#divAcceptCancelFee{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    text-align: center;
    background-color: white;
    border: 2px solid black;
    padding: 1em;
}
#btnAbortCancelWithCharge {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 2em;
    cursor: pointer
}
#btnAbortCancelWithCharge:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#btnCancelWithCharge {
    background-color: rgb(221, 82, 82);
    border: 2px solid black;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    height: 2em;
    cursor: pointer
}
#btnCancelWithCharge:hover {
    background-color: rgb(199, 5, 5);
    cursor: pointer;
}
.btnShowMemberNo {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 2em;
    width: 4em;
}
.btnShowMemberNo:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#divShowMemberNo{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: white;
    border: 2px solid black;
    padding: 1em;
}
#btnCloseMemberNo {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    margin: auto;
    width: fit-content;
    display: block;
    padding: 0.2em;
    cursor: pointer
}
#btnCloseMemberNo:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#divShowMemberNoContent {
    margin: auto;
    width: fit-content;
}
.sltAc {
    border-radius: 15px;
    height: 1.5em;
}
#divDeleteBookingConfirmation{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 14em;
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
    text-align: center;
    z-index: 10;
}
#btnHideDeleteBooking {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 3em;
    width: 6em;
    cursor: pointer
}
#btnHideDeleteBooking:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#btnConfirmDeleteBooking {
    background-color: var(--close-button-color);
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    height: 3em;
    width: 6em;
    cursor: pointer
}
#btnConfirmDeleteBooking:hover {
    background-color: var(--close-button-color-selected);
    cursor: pointer;
}
#divDeletionConfirmed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(14, 173, 0);
    border: none;
    box-shadow: 0px 2px 10px #717171;
    border-radius: 5px;
    color: white;
    padding: 1em;
}
#divDeletionFailed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(124, 1, 1);
    border: none;
    box-shadow: 0px 2px 10px #717171;
    border-radius: 5px;
    color: white;
    padding: 1em;
    max-width: 80%;
}
#divAdminToggle {
    width: fit-content;
    margin: auto;
    display: block;
    border: 1px solid black;
    border-radius: 20px;
    font-weight: bold;
    background-color: rgb(241, 241, 247);
    padding: 0.2em;
}
#divAdminToggle:hover {
    cursor: pointer;
}
#divCreateSlot{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 20em;
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
    z-index: 10;
    /* text-align: center; */
}
.btnClose {
    background-color: var(--close-button-color);
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    height: 2em;
    width: 2em;
    position: absolute;
    right: 1em;
    top: 1em;
}
.btnClose:hover {
    background-color: var(--close-button-color-selected);
    cursor: pointer;
}
#btnCreateSlot {
    background-color: rgb(0, 212, 64);
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    height: 2em;
    width: 7em;
    cursor: pointer
}
#btnCreateSlot:hover {
    background-color: rgb(0, 110, 33);
    cursor: pointer;
}
.inpCreateSlot {
    border: 1px solid #c7c7c7;
    border-radius: 20px;
    position: absolute;
    right: 1em;
}
.divCreateSlot {
    margin-bottom: 0.3em;
}
#btnShowCreateSlot {
    position: relative;
    margin: auto;
    /* width: fit-content; */
    display: block;
    margin-bottom: 1em;
    cursor: pointer
}

#btnShowPrintView {
    position: relative;
    margin: auto;
    /* width: fit-content; */
    display: block;
    margin-bottom: 1em;
    cursor: pointer
}

#divShowOptions{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 15em;
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
    z-index: 100;
}
#btnHideSlotOptions {
    background-color: var(--close-button-color);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    height: 1.7em;
    position: absolute;
    right: 0.1em;
    top: 0.2em;
    height: 2em;
    width: 2em;
}
#btnHideSlotOptions:hover {
    background-color: var(--close-button-color-selected);
    cursor: pointer;
}

#divPrintContainer{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
    z-index: 10;
    text-align: center;
    max-width: 100%;
    min-width: 20em;
    max-height: 95%;
    overflow-y: auto;
}

@media print {
    #divPrintContainer {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        margin: 0;
        padding: 15px;
        font-size: 14px;
        line-height: 18px;
    }
}

.btnHidden {
    visibility: hidden;
    position: fixed;
}

.sltHidden {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.btnModifySlot {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
    height: 2em;
    width: 11em;
}
.btnModifySlot:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}

#btnCancelModifySlot {
    background-color: var(--close-button-color);
    border-radius: 15px;
    border: none;
    color: white;
    font-weight: bold;
    position: relative;
    margin-top: 0.2em;
    margin-bottom: 0.6em;
    height: 2em;
    width: 11em;
}
#btnCancelModifySlot:hover {
    background-color: var(--close-button-color-selected);
    cursor: pointer;
}

#pageBlock {
    visibility: hidden;
    position: fixed;
    z-index: 100;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: white;
}

#pageBlockMessage {
    border: 2px solid black;
    background-color: rgb(241, 241, 247);
    position: fixed;
    max-width: 20em;
    width: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    z-index: 101;
    padding: 1em;
    padding-top: 0;
    display: block;
    overflow-y: auto;
}

#pageBlockText {
    text-align: center;
}

#loadingBlock {
    position: fixed;
    z-index: 100;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgb(241, 241, 247);
}
#btnShowInstructorCreateSlotDialog{
    background-color: #00C853;
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    width: 8em;
    height: 1.6em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    display: block;
    align-items: center;
    padding-top: 0.4em;
}
#btnShowInstructorCreateSlotDialog:hover {
    background-color: #00943e;
    cursor: pointer;
}
#divInstructorCreateSlotConfirmation{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 16em;
    background-color: white;
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
    text-align: left;
    z-index: 10;
}
#btnCreateInstructorSlot {
    background-color: #00C853;;
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    height: 3em;
    width: 6em;
    cursor: pointer
}
#btnCreateInstructorSlot:hover {
    background-color: #00943e;
    cursor: pointer;
}
#divInstructorCreateSlotConfirmed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(14, 173, 0);
    border: none;
    box-shadow: 0px 2px 10px #717171;
    border-radius: 5px;
    color: white;
    padding: 1em;
}
#divInstructorCreateSlotFailed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(124, 1, 1);
    border: none;
    box-shadow: 0px 2px 10px #717171;
    border-radius: 5px;
    color: white;
    padding: 1em;
    max-width: 80%;
}

.tooltiptext {
  visibility: hidden; /* Hidden by default */
  width: 130px;
  background-color: var(--button-color-selected);
  color: #ffffff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}