body {
    overflow-x: hidden;
    /*font-family: Arial, sans-serif;
    text-align: center;*/
}

.box {
    float: left;
    height: 20px;
    width: 30px;
    border: 1px solid #D5DBDB;
    display: inline-flex;
    font-size: 18px;
    line-height: 1.7em;
}

.boxLegendSymbol {
    padding-left: 10px;
    margin-top: -7px;
}

.boxLegendDescription {
    padding-left: 5px;
    height: 20px;
    float: left;
    font-size: 16px;
}


.boxCircle {
    justify-content: center;
    align-content: center;
    display: inline-flex;
    border-radius: 50%;
    padding: 5px;
    font-size: 18px;
    line-height: 1.7em;
    width: 1.7em;
    height: 1.7em;
    background-color: white;
    font-weight: bold;
    border: 1px #1947D1 solid;
}

.tooltiptext {
    visibility: hidden;
    width: 180px;
    background-color: #fef9e7;
    color: black;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    margin-left: -30px;
    font-size: 14px;
    font-weight: normal;
}

.red {
    background-color: red;
}

.whiteSmoke {
    background-color: whitesmoke;
}

.black {
    background-color: black;
}

h2 {
    font-family: "Futura Bk BT Body" !important;
    font-weight: normal;
    font-size: 16px;
    font-style: normal;
}

.h2calendar {
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}

table {
    width: 95%;
    border-collapse: collapse;
    margin-top: 20px;
    margin: auto;
}

    table thead tr th {
        text-align: center;
        font-weight: normal;
        padding: 8px 4px;
        background: #aed6f1;
    }

th, td {
    border: 1px solid #dddddd;
    text-align: center;
    padding: 6px 4px;
}

th {
    background-color: white;
    font-size: 15px;
    font-weight: normal;
}

.thOdd {
    background-color: #ffffff;
}

.thNormal {
    background-color: #ffffff;
}

.thNotUsed {
    color: #b3b1b1;
    font-weight: normal;
    background-color: #ffffff;
}

.thReservedStart {
    color: black;
    font-weight: bold;
    position: relative;
    background: linear-gradient(to right bottom, white 50%, #fadbd8 50.3%);
}

.thReservedEnd {
    color: black;
    font-weight: bold;
    position: relative;
    background: linear-gradient(to right bottom, #fadbd8 50%, white 50.3%);
}

.thReservedEnd .tooltiptext::after , .thReservedStart .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: whitesmoke transparent transparent transparent;
}

.thReservedStart:hover .tooltiptext, .thReservedEnd:hover .tooltiptext {
    visibility: visible;
}


.thReserved {
    color: red;
    font-weight: bold;
    background-color: #fadbd8;
}

.thBookingStart {
    background: none;
    border-radius: 50% 0 0 50%;
    background-color: #99CAFF;
}

.thBookingReserved {
    background-color: #E5F1FF;
}

.thBookingEnd {
    background: none;
    border-radius: 0 50% 50% 0;
    background-color: #99CAFF;
}

.w1, .w2, .w3, .w4, .w5 {
    display: table-row;
}

.w6 {
    display: table-row;
}

.w1d1, .w1d2, .w1d3, .w1d4, .w1d5, .w1d6, .w1d7,
.w3d1, .w3d2, .w3d3, .w3d4, .w3d5, .w3d6, .w3d7,
.w5d1, .w5d2, .w5d3, .w5d4, .w5d5, .w5d6, .w5d7 {
    color: #000000;
    background-color: #ffffff;
}

#month {
    width: 95%;
    margin: auto;
    text-align: center;
    display: flex;
    align-items: center;
}

#month button, footer button {
    background-color: white;
    border: 1px solid #dddddd;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

#month button:hover, footer button:hover {
    background-color: #1051c2;
    color: whitesmoke;
}

#calendar-body tr th {
    cursor: pointer;
    transition: background-color 0.3s;
}

#calendar-body tr th:not(:empty):not(.thNotUsed):not(.thReserved):hover {
    background-color: #1051c2;
    color: whitesmoke;
}

#reservation-info {
    width: 75%;
    margin-top: 20px;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}


footer {
    width: 10%;
    margin: auto;
    margin-top: 20px;
    display: flex;
    justify-content: space-evenly;
}

.reservationDate {

}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: black;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -60px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: whitesmoke transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.selecReservationDescription {
    font-size: 16px;
    padding: 0px;
    padding-left: 10px;
}

.rowCheckIn, .reservationDataL {
    float: left;
    width: 50%;
    padding-left: 10px;
}

.rowCheckOut, .reservationDataR {
    float: left;
    width: 50%;
    padding-left: 5%;
}

.rowCheckInOutDescription {
    font-size: 16px;
    display: flex;
    float: left;
    width: 100%;
    padding-top: 10px;
}

.inputCheckInOut {
    font-size: 14px;
    float: left;
    width: 100%;
    background-color: whitesmoke;
    pointer-events: none;
}

.myInput {
    min-width: 100%;
    width: 100%;
    padding-left: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}

/* Remove Arrows/Spinners */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove Arrows/Spinners */
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


@media screen and (max-width: 767px) {
    table thead tr th {
        font-size: 15px;
    }

    .row20 {
        width: 25%;
    }

    .row20 {
        width: 33.3333%;
    }
}

@media screen and (max-width: 540px) {

    .row20 {
        width: 50%;
    }
}

@media screen and (max-width: 497px) {
    .row50, .reservationDataL, .reservationDataR {
        width: 100%;
    }

    .reservationDataL, .reservationDataR {
        width: 100%;
        padding-left: 0px;
    }
}

@media screen and (max-width: 352px) {
    #month {
        width: 100%;
    }

    table {
        width:100%;
    }

    .row50 {
        width: 100%;
    }

    #reservation-info {
        justify-content: left;
        text-align: left;
    }

    .reservationDate {
        width: 100%;
        float:left;
        font-size: 0.9rem;
    }

    th {
        font-size: 12px;
    }

    table thead tr th {
        font-size: 12px;
    }

    .row20 {
        width: 100%;
    }

    .boxLegendDescription, .selecReservationDescription, .rowCheckInOutDescription {
        font-size: 14px;
    }

    input[type="text"] {
        font-size: 13px;
        height: 30px;
    }

    .tooltiptext {
        font-size: 13px;
    }
}

@media screen and (max-width: 200px) {
    body {
        overflow-x: visible;
    }

    .tooltiptext {
        font-size: 12px;
    }
}