.scc-footer__link,
.scc-masthead__img {
  cursor: pointer;
}


.visually-hidden {
  position: absolute;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* .vc-container:focus {
  border: 4px yellow solid;
} */

.flex-button-wrap {
  display: flex;
  align-items: center;
}

.flex-button-wrap button {
  margin-right: 20px;
}

.button-spacer {
  margin-right: 10px;
}

.vc-highlight {
  background-color: #00604d !important;
}

.vc-weekday {
  color: #00604d !important;
}

.vc-day-content:focus,
.vc-day-content:hover {
  background-color: #087e66 !important;
  color: #fff !important;
}

.background-color {
  background: #00604d;
  color: white;
}

.sis-ct-timeslot-none:hover {
  background-color: white;
  cursor: default;
  color: #0b0c0c;
}


.info-button {
  display: block;
  background: transparent;
  margin: 5px 0;
  
}

.info-button i {
  color: grey;
  font-size: 18px !important;
}

.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: table;
  transition: opacity 0.3s ease;
}

.modal-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.modal-container {
  max-width: 500px;
  margin: 0px auto;
  padding: 20px 30px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  transition: all 0.3s ease;
  font-family: Helvetica, Arial, sans-serif;
}

.modal-header h3 {
  margin-top: 0;
  color: #42b983;
}

.modal-body {
  margin: 20px 0;
}

.modal-default-button {
  background: #00604d;
  color: white;
}

.govuk-heading-l {
  line-height: 35px;
}

.scc-lineage__item+.scc-lineage__item:before {
  -moz-user-focus: none;
}

.sis-onlinebookingapplication-template select {
  font-size: 14px !important;
  padding-right: 1px;
}

@media(max-width: 640px) {
  .flex-button-wrap {
    flex-direction: column-reverse;
  }

  .button-spacer {
    margin-right: 0;
  }

  /* .booking-link:focus-visible { outline: none; } might be a fix for NOM12 */
}

@media (max-width: 991px) {
  .custom-table {
    display: flex;
    border: none;
  }

  .custom-table thead,
  .custom-table tbody {
    width: 25%;
  }

  .custom-table tbody {
    display: flex;
  }
  
  .custom-table thead tr,
  .custom-table tbody tr {
    display: flex;
    flex-direction: column;
  }
  
  .custom-table thead tr th,
  .custom-table tbody tr td {
    height: 100px;
  }
}

@media (max-width: 599px) {
  .custom-table thead,
  .custom-table tbody {
    width: 50%;
  }
}