:root {
    --button-color: #6200EE;
    --button-color-selected: #3700B3;
    --close-button-color: #B00020;
    --close-button-color-selected: #790016;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    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: 4em;
}
#divSignedInAs {
    position: relative;
    top: -1.5em;
}
footer {
    text-align: center;
    margin-top:auto;
}
.logo{
    height: 50px;
    width: 50px;
    border-radius: 16px;
}
#spnTitle {
    position: relative;
}
#buttonContainer {
    padding: 0;
    width:fit-content;
    max-width: 800px;
    margin: auto;
}
.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;
}
.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;
    top: -0.2em;
    position: relative;
}
.btnChangeDay:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#btnViewType {
    background-color: rgb(0,197,38);
    cursor: pointer
}
#btnViewType:hover {
    background-color: rgb(0, 85, 114);
    cursor: pointer;
}
h2 {
    margin: 0;
}
#divShowBookings {
    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;
    overflow: hidden;
}
#divBookingsTableContainer {
    position: relative;
    width: 100%;
    margin: auto;
    overflow-x: auto;
}
tr, th, td {
    border: 1px solid black;
    padding-bottom: 0.25em;
    padding-top: 0.25em;
}
table {
    border-collapse: collapse;
    width: 100%;
}
h3 {
    margin: 0;
    padding: 0;
}
.imgTableSpinner {
    height: 100px;
    width: 100px;
}
.btnRefresh {
    position: relative;
    top: -0.2em;
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    height: 2.5em;
    width: 2.5em;
    margin-top: 0.5em;
}
.btnRefresh:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
#btnClearDateFilter {
    position: relative;
    top: -0.3em;
    background-color: rgb(0, 159, 212);
    border: 2px solid black;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    height: 2em;
    cursor: pointer
}
#btnClearDateFilter:hover {
    background-color: rgb(0, 85, 114);
    cursor: pointer;
}
.btnCancelSlot {
    background-color: rgb(194, 55, 55);
    border: 2px solid black;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    position: relative;
    padding-right: 0.3em;
    padding-left: 0.3em;
    display: inline-block;
    height: 1.4em;
}
.btnCancelSlot:hover {
    background-color: rgb(124, 1, 1);
    cursor: pointer;
}
#divBookingCancelConfirmation{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: white;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 5px;
    padding: 1em;
}
#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: rgb(0, 159, 212);
    border: 2px solid black;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    height: 2em;
}
.btnShowComments:hover {
    background-color: rgb(0, 85, 114);
    cursor: pointer;
}
#divComment {
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 10px;
    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;
}
#divHelp {
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 10px;
    background-color: white;
    position: fixed;
    max-width: 30em;
    width: 80%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    z-index: 101;
    padding: 1em;
    padding-top: 0;
    display: block;
    overflow-y: auto;
    max-height: 80vh;
}
#divHelp h3 {
    margin-top: 0;
}
#divHelp h4 {
    margin-bottom: 0.5em;
}
#divHelp ul {
    margin-top: 0.5em;
}
#divHelp p {
    margin-bottom: 1em;
}
#btnHideComment {
    background-color: var(--button-color);
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    height: 2em;
    width: 5em;
    cursor: pointer;
    display: block;
    margin: auto;
}
#btnHideComment:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}
.btnClose {
    background-color: var(--close-button-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    height: 2em;
    width: 2em;
    cursor: pointer;
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    font-size: 1.2em;
}
.btnClose:hover {
    background-color: var(--close-button-color-selected);
    cursor: pointer;
}
#divCreateBooking {
    border: 2px solid black;
    border-radius: 10px;
    padding-left: 1em;
    padding-bottom: 1em;
    background-color: white;
    padding: 0;
    max-width: 400px;
    margin: auto;
    text-align: center;
}
#divCreateBookingTableContainer {
    position: relative;
    width: 100%;
    margin: auto;
    overflow-x: hidden;
    width: fit-content;
}
.divCreateSlot {
    margin-bottom: 0.3em;
}
.inpCreateSlot {
    border: 1px solid #c7c7c7;
    border-radius: 20px;
    /* position: absolute; */
    right: 1em;
}
#inpComments {
    border: 1px solid #c7c7c7;
    border-radius: 20px;
    /* position: absolute; */
    right: 1em;
}
#tblCreateBooking {
    width: fit-content;
}
#btnCreateBooking {
    background-color: rgb(0, 159, 212);
    border: 2px solid black;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    height: 2em;
    display: block;
    margin: auto;
    cursor: pointer
}
#btnCreateBooking:hover {
    background-color: rgb(0, 85, 114);
    cursor: pointer;
}
#inpDate {
    border-radius: 20px;
    border: 1px solid black;
    height: 1.9em;
    width: 8em;
    margin: 0.2em;
    padding: 0.2em;
    top: -0.2em;
    position: relative;
}
#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;
}
h3 {
    margin: 0;
    padding: 0;
}

.btnContainer {
    margin:auto;
    display: block;
    width: fit-content;
}
#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;
}
#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;
}
#divBookingFailed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(124, 1, 1);
    border: 2px solid black;
    border-radius: 5px;
    color: white;
    padding: 1em;
}
#inpViewDate {
    position: relative;
    top: -3px;
}
.row1 {
    background-color: white;
}
.row1:hover {
    background-color: rgb(235 234 251);
    cursor: pointer;
}
.row2 {
    background-color: rgb(242, 242, 242);
}
.row2:hover {
    background-color: rgb(235 234 251);
    cursor: pointer;
}
.headerRow {
    background-color: rgb(222, 231, 248);
}
.clsSelected {
    background-color: rgb(147 170 255);
    border: 1px solid rgb(147 170 255);
    font-weight: bold;
}
.clsUserSelected:hover {
    /* cursor: default; */
    background-color: rgb(255, 39, 39);
    color: white;
    content: "X"
}
.clsUserSelected {
    background-color: rgb(102 251 157);
    border: 1px solid rgb(102 251 157);
    font-weight: bold;
}
.clsSelected:hover {
    cursor: default;
}
.clsNonSelected {
    background-color: white;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    border-left: 1px solid black;
    border-right: 1px solid black;
    color: rgb(153, 153, 153);
}
.clsNonSelected:hover {
    background-color: rgb(235 234 251);
    cursor: pointer;
}
.newName{
    border-top: 1.5px solid black;
}
#divBookingFailed {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    background-color: rgb(124, 1, 1);
    border: 2px solid black;
    border-radius: 5px;
    color: white;
    padding: 1em;
    max-width: 80%;
}
#divBookingConfirmed {
    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;
}

#pageBlockMessage {
    border: 1px solid #dadada;
    box-shadow: 0px 2px 5px #b1b1b1;
    border-radius: 10px;
    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;
}

#btnBackToBookings {
    background-color: var(--button-color);
    border-radius: 20px;
    border: none;
    color: white;
    font-weight: bold;
    width: 8em;
    height: 2.5em;
    margin: auto;
    display: block;
    position: relative;
}
#btnBackToBookings:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}

.btnInfo {
    background-color: var(--button-color);
    border-radius: 10px;
    color: white;
    font-weight: bold;
    padding: 0.1em;
    padding-bottom: 0.3em;
    cursor: pointer;
    bottom: 0.1em;
    position: relative;
}
.btnInfo:hover {
    background-color: var(--button-color-selected);
    cursor: pointer;
}