.schedule-dashboard__modal {
  font-size: 14px;
}

/* modal > content wrapper */

.schedule-dashboard__modal .modal-dialog {
  height: calc(100vh + 10px);
  display: flex;
  align-items: center;
  width: auto;
  max-width: 750px;
}

/**Safari 9+ (iOS Only!) ***/
@supports (-webkit-overflow-scrolling: touch) {
  .schedule-dashboard__modal .modal-dialog {
    height: calc(100vh + 70px);
  }
}

/* modal > content */

.schedule-dashboard__modal .modal-content {
  padding: 0;
  border-radius: 0;
  border: none;
  color: #333;
  margin: 0 auto;
  min-width: 90px;
  min-height: 90px;
}

/* modal > header */

.schedule-dashboard__modal--header {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 15px;
  border-bottom: 2px solid #b9bbba;
  position: relative;
}
.schedule-dashboard__modal--header h3 {
  margin: 0;
  line-height: 50px;
  text-transform: uppercase;
  font-size: 18px;
  color: #777;
  font-family: Verdana, Geneva, sans-serif;
}
.schedule-dashboard__modal--header button {
  background-color: #005faf !important;
  font-size: 27px;
  height: 48px;
  opacity: 1;
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
}
.schedule-dashboard__modal--header button i {
  color: #fff;
}

/* modal > body */

.schedule-dashboard__modal--body {
  padding: 0;
}
.schedule-dashboard__modal--body.row {
  padding: 0 15px;
}
.schedule-dashboard__modal--body h3 {
  color: #000;
  font-size: 14px;
  font-weight: 600;
  margin: 20px 0;
  font-family: Verdana, Geneva, sans-serif;
}
@media screen and (min-width: 992px) {
  .schedule-dashboard__modal--body h3 {
    font-size: 18px;
    line-height: 24px;
  }
}
.schedule-dashboard__modal--body .table h4 {
  font-size: 16px;
}
.schedule-dashboard__modal--body p {
  margin-bottom: 20px;
}

/* table headers */

.schedule-dashboard__modal--body .table>thead>tr>th,
.schedule-dashboard__modal--body .table>tbody>tr>th,
.schedule-dashboard__modal--body .table>tfoot>tr>th {
  padding: 15px 35px;
  background: #F0FAF9;
  border: 0;
}


/* table cells */

.schedule-dashboard__modal--body .table>thead>tr>td,
.schedule-dashboard__modal--body .table>tbody>tr>td,
.schedule-dashboard__modal--body .table>tfoot>tr>td {
  padding: 24px 30px 0 30px;
  border: 0;
}


/* nested tables (ie. branch hours) */

.schedule-dashboard__modal--body .table .table>thead>tr>th,
.schedule-dashboard__modal--body .table .table>thead>tr>td,
.schedule-dashboard__modal--body .table .table>tbody>tr>th,
.schedule-dashboard__modal--body .table .table>tbody>tr>td,
.schedule-dashboard__modal--body .table .table>tfoot>tr>th,
.schedule-dashboard__modal--body .table .table>tfoot>tr>td {
  padding: 0 10px 10px 0;
}


/* modal > footer */

.schedule-dashboard__modal--footer {
  text-align: center;
  clear: both;
}

.schedule-dashboard__modal--footer .btn {
  font-size: 14px;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .schedule-dashboard__modal .modal-content {
    max-width: 375px;
  }
}
@media (min-width: 768px) {
  .schedule-dashboard__modal {
    font-size: 16px;
  }
  .schedule-dashboard__modal--header {
  }
  .schedule-dashboard__modal--body .table h4 {
    font-size: 18px;
  }
  .schedule-dashboard__modal--footer .btn {
    font-size: 18px;
  }
}

/* Program details modal styling. */
.schedule-dashboard__modal--body .modal-info-main {
  background-color: #fff;
  margin-bottom: 20px;
  padding: 0 10px;
}
@media (min-width: 992px) {
  .schedule-dashboard__modal--body .modal-info-main {
    margin-bottom: 0;
    padding: 0 15px;
  }
}
@media screen and (max-width: 991px) {
  .schedule-dashboard__modal--body .modal-info-main .ages {
    margin-bottom: 5px;
  }
}
.schedule-dashboard__modal--body .modal-info-main .ages strong,
.schedule-dashboard__modal--body .modal-info-main .gender strong {
  display: inline-block;
  width: 100px;
}

.schedule-dashboard__modal--body .label-for-field-learn-more {
  display: none;
}
.schedule-dashboard__modal--body .field-learn-more {
  margin-top: 10px;
}
.schedule-dashboard__modal--body .field-learn-more a {
  text-decoration: underline;
}
.schedule-dashboard__modal--body .modal-info-sidebar {
  background-color: #f2f2f2;
  padding: 10px;
  font: 12px/18px Verdana, Geneva, sans-serif;
  position: relative;
}
@media screen and (min-width: 992px) {
  .schedule-dashboard__modal--body .modal-info-sidebar {
    padding: 20px 15px;
  }
}
.schedule-dashboard__modal--body .modal-info-sidebar .dates-weeks {
  color: #000;
}
.schedule-dashboard__modal--body .modal-info-sidebar .dates-weeks .dates {
  font-weight: bold;
}
@media screen and (min-width: 992px) {
  .schedule-dashboard__modal--body .modal-info-sidebar .times {
    margin-bottom: 20px;
  }
}
.schedule-dashboard__modal--body .modal-info-sidebar .days {
  font-style: italic;
}
.schedule-dashboard__modal--body .modal-info-sidebar .location_name {
  text-decoration: none;
  font: 12px/16px Verdana, Geneva, sans-serif;
  font-weight: bold;
  color: #0060ac;
}
@media screen and (min-width: 992px) {
  .schedule-dashboard__modal--body .modal-info-sidebar .location_name {
    font-size: 15px;
    line-height: 20px;
    margin: 20px 0;
  }
}
.schedule-dashboard__modal--body .modal-info-sidebar .availability-wrapper {
  margin: 10px 0;
}
.schedule-dashboard__modal--body .modal-info-sidebar .availability-wrapper .btn {
  margin-bottom: 10px;
  padding: 10px 25px;
  display: block;
  border-radius: 3px;
}
@media screen and (max-width: 991px) {
  .schedule-dashboard__modal--body .modal-info-sidebar .price {
    font-size: 10px;
  }
}
@media screen and (max-width: 991px) {
  .schedule-dashboard__modal--body .modal-info-sidebar .spots_available {
    position: absolute;
    right: 10px;
    top: 10px;
  }
}
.schedule-dashboard__modal--body .modal-info-sidebar .spots_available {
  background: #fff;
  border-radius: 3px;
  border: 1px solid #939495;
  font: 12px/18px Verdana, Geneva, sans-serif;
  margin-bottom: 15px;
  padding: 2px 5px;
  display: inline-block;
}
.schedule-dashboard__modal--body .modal-info-sidebar .spots_available.few-spots {
  border: 1px solid #ff0000;
  background: #ff0000;
  color: #fff
}
.schedule-dashboard__modal--body .modal-info-sidebar .spots_available.only-one {
  border: 1px solid #000;
  background: #000;
  color: #fff
}

.schedule-dashboard__modal--body .modal-info-sidebar .availability_note {
  margin-bottom: 10px;
}
.schedule-dashboard__modal--body .modal-info-sidebar .more_results {
  margin-top: 20px;
  text-align: center;
}
.schedule-dashboard__modal--body .modal-info-sidebar .more_results a {
  font-size: 14px;
  font-weight: bold;
  text-decoration: underline;
}
/* Location details modal styling */
.schedule-dashboard__modal--location .info {
  font: 12px/18px Verdana, Geneva, sans-serif;
  width: 100%;
}
.schedule-dashboard__modal--location .info td {
  padding: 0 0 10px;
  vertical-align: top;
}
.schedule-dashboard__modal--location .info td:first-child {
  width: 25%;
}
.schedule-dashboard__modal--location .info td table {
  margin-bottom: 10px;
}
.schedule-dashboard__modal--location .info td table td {
  padding: 0 !important;
}
.schedule-dashboard__modal--location .info td table td:first-child {
  width: 40%;
}
.schedule-dashboard__modal--location .address {
  font: 12px/18px Verdana, Geneva, sans-serif;
  margin-bottom: 20px;
  width: 50%;
}
.schedule-dashboard__modal--location .btn {
  display: block;
  margin: 0 15px 15px;
}

/* Check availability modal styling */
.schedule-dashboard__modal--availability .modal-content {
  max-width: 320px;
}
.schedule-dashboard__modal--availability .spots-availability {
  font: 12px/18px Verdana, Geneva, sans-serif;
  text-align: center;
  font-weight: bold;
  margin: 15px 0;
}
.schedule-dashboard__modal--availability .btn {
  display: block;
  margin: 15px 0;
}
.schedule-dashboard__modal--availability .btn.disabled {
  background-color: #f2f2f2;
  color: #333;
}
.schedule-dashboard__modal--availability .prices {
  font: 11px/15px Verdana, Geneva, sans-serif;
  margin: 15px 0;
  text-align: center;
}

/* Home branch unavailable modal styling */
.schedule-dashboard__modal--home-branch-unavailable .modal-content {
  max-width: 350px;
  font: 12px/16px Verdana, Geneva, sans-serif;
}
.schedule-dashboard__modal--home-branch-unavailable .schedule-dashboard__modal--body {
  padding: 15px 15px 0;
}
.schedule-dashboard__modal--home-branch-unavailable .schedule-dashboard__modal--body strong {
  font: bold 14px/18px Verdana, Geneva, sans-serif;
}
.schedule-dashboard__modal--home-branch-unavailable .schedule-dashboard__modal--body .btn {
  width: 100%;
  margin: 0 0 15px;
  font-size: 18px;
  border-width: 2px;
  border-color: #0060ad;
  border-style: solid;
}
.schedule-dashboard__modal--home-branch-unavailable .schedule-dashboard__modal--body .btn.white-blue {
  color: #0060ad;
}
