/* css */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body {
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
a {
    text-decoration: none;
    color: #38a4b7;
}
h1 {
    text-align: center;
}
.tz_contained {
    margin-top: 15px;
    text-align: center;
}
.tz_contained, .tz_contained select {
    font-size: 8pt;
}
.calendar {
    margin-top: 15px;
    width: 90%;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    border: 1px solid #eaeaea;
    border-radius: 15px;
    padding: 15px;
    background-color: #fff;
}
.notavail {
    color: #a3a3a3;
    cursor: not-allowed !important;
}

.calendar_view {
    width: 50%;
    padding-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.calendar_details {
    padding-left: 10px;
    width: 50%;
}
.day {
    margin: 5px 0px 5px 0px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12pt;
    cursor: pointer;
}
.cal.row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}
.current_day {
    background-color: #afeac3;
}
.cal.header {
    margin: 5px 0px 5px 0px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-size: 16pt;
}
.noday {
    background-color: #f9f9f9 !important;
    cursor: none;
}
.day.header {
    background-color:#c6f6ff;
    font-size: 12pt;
    cursor:none !important;
}
#calendar_details {
    margin-top: 20px;
    border: 1px solid #a3a3a3;
    background-color: #f1f1f1;
    font-size: 8pt;
    border-radius: 10px;
    padding: 10px;
    width: 90%;
}
#calendar_details h4 {
    margin: 0;
    padding: 0;
    font-size: 12pt;
}
#calendar_day_details {
    position: relative;
    width: 50%;
    height: 500px;
    overflow: auto;
}
.day_list {
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.day_header {
    width: 96%;
    height: 30px;
    background-color: #f1f1f1;
    border: 1px solid #a3a3a3;
    border-radius: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.day_interval {
    height: 40px;
    width: 96%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.inter_date {
    width: 100%;
    height: 40px;
    display: flex;
    background-color: #f9f9f9;
    border: 1px solid #a3a3a3;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
}
.inter_date_select {
    width:150px;
    margin-left: 10px;
    height: 40px;
    background-color:#38a4b7;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    display: none;
}
.hidden {
    display: none;
    /* opacity: 0;
    transform: translateX(100%); /* Start off-screen (to the right) 
    transition: transform 0.5s ease, opacity 0.5s ease; */
}
.visible {
    display: flex; /* or block, inline-block, etc. */
    /* opacity: 1;
    transform: translateX(0); Slide in to its normal position */
}
#schedule_form h2 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14pt;
}
#schedule_form {
    flex-direction: column;
    width: 50%;
}
#thank-you {
    display: flex;
    flex-direction: column;
}
#thank-you p {
    margin: 15px;
    font-size: 14pt;
}
#schedule_form form label {
    display: inline-block;
    width: 200px;
    padding: 10px 10px 10px 0px;
}
#schedule_form input[type=text],#schedule_form input[type=email],#schedule_form input[type=phone],#schedule_form input[type=submit] {
    appearance: none; /* Remove default browser styling */
    -webkit-appearance: none; /* Remove default WebKit styling */
    width: 50%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14pt;
    border-radius: 5px;
}
#schedule_form input[type=submit] {
    margin-top: 20px;
    cursor: pointer;
}
@media only screen and (max-width: 600px) {
    body {
        box-sizing: border-box;
      /* background-color: lightblue; */
    }
  }
  @media only screen and (max-width: 600px) {
    .calendar {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }
    .calendar_view {
        width: 100%;
    }
    #calendar_day_details {
        width: 100% !important;
        margin-top: 15px !important;
        justify-content: center;
        align-items:flex-start;
        display: flex;
    }
    .day_list {
        width: 100% !important;
    }
    .day_interval {
        width: 100% !important;
    }
    .day_header {
        width: 100% !important;
    }
    #schedule_form {
        flex-direction: column;
    }
    #schedule_form form label {
        display: block;
        padding: 5px 5px 5px 0px;
    }
    #schedule_form form input {
        width: 100%;
        padding: 10px;
        border-radius: 5px;
    }
    #schedule_form {
        flex-direction: column;
        width: 100%;
    }
    #schedule_form input[type=text],#schedule_form input[type=email],#schedule_form input[type=phone],#schedule_form input[type=submit] {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        font-size: 14pt;
        border-radius: 5px;
    }
}