/* Layout */

main {
  position: relative;
  padding-bottom: 2rem;
}

main .container {
  max-width: 1080px !important;
}

@media (min-width: 768px) {
  #introText,
  #primaryText,
  #pricePageInfo,
  #contactPageInfo {
    text-align: center;
  }
}


/* Intro */

.introText {
  font-size: 1.2rem;
  text-align: center;
}

.introText span {
  text-decoration: underline;
  color: #AD132D;
}

@media (min-width: 576px) {
  .callText {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.callText > div {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Banner */

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

#availabilityBanner {
  /* animation: blinker 5s linear infinite; */
  position: absolute;
  bottom: 0;
  margin-bottom: 0;
  width: 100%;
}


/* Box */

#box {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.125);
}


/* Calendar */

.asteriskField {
  display: none;
}

.flatpickr-error-message {
  padding: 0;
}

.flatpickr-day.flatpickr-disabled.inRange,
.flatpickr-day.flatpickr-disabled:hover.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.notAllowed.inRange,
.flatpickr-day.notAllowed.prevMonthDay.inRange,
.flatpickr-day.notAllowed.nextMonthDay.inRange {
  background: #e6e6e6;
}


/* Tables */

table thead th {
  border-top: none !important;
}

table thead th:first-child {
  padding-left: 0 !important;
}


/* Messages */

.msg {
  margin: 1.5rem auto 0;
  padding: 1rem 0.75rem;
  background-color: aliceblue;
  border-radius: 1rem;
  border: 1px lightgray solid;
  font-weight: bold;
  text-align: center;
}

#quoteMessage {
  background-color: #eaf6ec;
  border-color: #28a745;
}

#quoteMessage .bigBean {
  line-height: 2;
  font-size: 1.5rem;
  margin-left: 0.125rem;
}

#successMessage {
  margin-top: 0;
}


/* Reservation Button */

@keyframes shadow-pulse {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
  }
}

#reservationBtn {
  display: block;
  margin: 0.75rem auto 0;
  animation: shadow-pulse 4s infinite;
}


/* Accommodation Form */

#accommodationForm {
  width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
}

#accommodationForm table {
  width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
}

@media (max-width: 575px) {
  #accommodationForm table {
    font-size: 0.8rem;
  }
}

#accommodationForm table tbody tr td:first-child {
  padding-left: 0 !important;
}

#accommodationForm table tr td:first-child {
  display: flex;
  flex-direction: column;
}

#accommodationForm table tr td small {
  color: #AD132D;
}

#accommodationForm input[type="checkbox"] {
  margin-top: 0.125rem;
  margin-left: 1rem;
  font-size: 1rem;
  height: 1rem;
  width: 1rem;
}

#accommodationForm input[type="checkbox"]:hover {
  cursor: pointer;
}


/* Booking Form */

#bookingFormBtn {
  display: block;
  margin: 2rem auto 0.5rem;
}

#bookingFormBtn:disabled {
  cursor: not-allowed;
  pointer-events: all !important;
}

#bookingForm div.custom-checkbox label.custom-control-label:hover {
  cursor: pointer;
}

#bookingForm div.custom-checkbox input.custom-control-input,
#bookingForm div.custom-checkbox label.custom-control-label::before,
#bookingForm div.custom-checkbox label.custom-control-label::after {
  top: 0.5rem !important;
  height: 1.25rem !important;
  width: 1.25rem !important;
}

#bookingForm label.custom-control-label {
  padding-left: 0.25rem;
}


/* Guest Form */

#guestFormWrapper table tbody tr:not(:first-child) {
  background-color: aliceblue;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

#guestFormWrapper table tr.dummy {
  display: block;
  height: 12px;
}

#guestFormWrapper table tr.dummy td {
  border: none;
}

#guestFormWrapper tr td:last-child {
  text-align: center;
  padding: 0;
}

#guestFormWrapper tr td:last-child i {
  padding: 0.875rem;
  font-size: 1.25rem;
}

#guestFormWrapper tr td:last-child i:hover {
  cursor: pointer;
}

#guestFormWrapper select#id_gender:hover {
  cursor: pointer;
}

#guestFormWrapper div.custom-checkbox label.custom-control-label:hover {
  cursor: pointer;
}

#guestFormWrapper div.custom-checkbox input.custom-control-input,
#guestFormWrapper div.custom-checkbox label.custom-control-label::before,
#guestFormWrapper div.custom-checkbox label.custom-control-label::after {
  top: 0.5rem !important;
  height: 1.25rem !important;
  width: 1.25rem !important;
}

#guestFormWrapper label.custom-control-label {
  padding-left: 0.25rem;
}

#guestFormWrapper select#id_gender {
  margin-bottom: .5rem;
}

#guestFormBtn {
  display: block;
  margin: 2rem auto 0.5rem;
}

#guestFormBtn:disabled {
  cursor: not-allowed;
  pointer-events: all !important;
}


/* Contact Page Link */

#contactPageInfo {
  line-height: 2;
}

@media (min-width: 768px) {
  #contactPageInfo {
    max-width: 39rem;
    margin: auto;
  }
}

#getInTouchBtn {
  display: table;
  margin: 1rem auto 0;
  border-color: #212529;
}

#phoneIcon {
  margin-right: 0.5rem;
}

#emailIcon {
  margin-left: 0.5rem;
  margin-top: -0.1rem;
}
