:root {
  --darkBlue: #213343;
  --lightGreen: #d4e4d5;
  --green: #6fab83;
  --midBlue: #386da3;
  --lightBlue: #90c8c0;
  --yellow: #e2e97b;
  --lightGrey: rgba(0, 0, 0, 0.4);
  --pink: #efaba1;
}
#loading-spinner {
  display: flex;
  justify-content: center;
  align-content: center;
}
.loader {
  width: 48px;
  height: 48px;
  border: 5px solid var(--lightBlue);
  border-bottom-color: var(--green);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.key {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}
.key--item {
  display: flex;
  align-items: center;
}
.key--colourblock {
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--darkBlue);
}
.key--colourblock.closed {
  background-color: var(--yellow);
}
.key--colourblock.walk {
  background-color: var(--green);
}
.key--colourblock.boat {
  background-color: var(--midBlue);
}
.key--text {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: Lato, sans-serif;
  padding: 5px;
  line-height: 1;
}

.day-container {
  border: 1px solid var(--lightBlue);
  background: #f3f9ff;
  padding: 5px 10px;
  margin: 1px -5px;
  border-radius: 10px;
  margin-bottom: 1rem;
  min-height: 90px;
}

.day-container.today {
  border: 1px solid #d21;
}

.day-container.closed {
  border: var(--yellow);
  background-color: var(--yellow);
}
.day-container.blackflag {
  border: var(--pink);
  background-color: var(--pink);
}

.today-label {
  color: red;
}
.date-container {
  padding: 8px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
}
.infoSlot {
  font-weight: normal;
  color: var(--lightGrey);
  font-size: small;
}
.infoSlot.dogs {
  padding-left: 1rem;
  background: url(/https/stmichaelsmount.co.uk/wp-content/plugins/getting-here/img/paw.svg) no-repeat;
  background-size: 0.75rem 0.75rem;
  background-position: 0 25%;
  opacity: 0.4;
  color: var(--darkBlue);
}
.infoSlot.closed {
  color: var(--darkBlue);
  opacity: 1;
}
.labels-container {
  display: flex;
  width: 100%;
  position: relative;
  justify-content: space-between;
  margin-bottom: -10px;
  text-align: center;
}

.label-icon {
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.25rem;
}

.slot-label label {
  /* Default label styling */
  position: relative;
  white-space: nowrap;
  background: white;
  z-index: 2;
  min-width: 6rem;
  display: inline-flex;
  align-content: center;
  justify-content: space-around;
  padding: 5px;
  border-radius: 5px;
  border: var(--lightGrey) solid 1px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: -0.5px;
  font-family: Lato, sans-serif;
  text-align: center;
}

.slot-label label:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 4px 4px 0;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
  z-index: 1;
  margin-left: -5px;
  bottom: -4px;
  left: 35%;
}

.slot-label label:before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 5px 5px 0;
  border-color: var(--lightGrey) transparent;
  display: block;
  width: 0;
  z-index: 0;
  margin-left: -6px;
  bottom: -5px;
  left: 35%;
}
.bar-container {
  display: flex;
  width: 100%;
  position: relative;
  padding-top: 14px;
  margin-bottom: 7px;
}
.short-session {
  display: flex;
  justify-content: center;
}

/* position the speech caret depending on which label it is */
.slot-label label:after,
.slot-label label:before {
  left: 50%;
}

.slot-label.first label:after,
.slot-label.first label:before {
  left: 10%;
}

.slot-label.last label:after,
.slot-label.last label:before {
  left: 90%;
}
.slot-label.first.last label:after,
.slot-label.first.last label:before {
  left: 50%;
}
.walk-time {
  background-color: var(--green);
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 120 120'%3E%3Cpolygon fill='%238DD397' points='120 0 120 60 90 30 60 0 0 0 0 0 60 60 0 120 60 120 90 90 120 60 120 0'/%3E%3C/svg%3E");
    background-size: contain; */
}

.boat-time {
  background-color: var(--midBlue);
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpolygon fill='%2388C3FF' points='120 0 120 60 90 30 60 0 0 0 0 0 60 60 0 120 60 120 90 90 120 60 120 0'/%3E%3C/svg%3E");
    background-size: contain; */
}
.closed-time,
.no_boat-time,
.blackflag-time {
  background-color: #baccb7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 20 20'%3E%3Cg %3E%3Cpolygon fill='%23ABC0A6' points='20 10 10 0 0 0 20 20'/%3E%3Cpolygon fill='%23ABC0A6' points='0 10 0 20 10 20'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
}

.time-slot {
  height: 15px;
}
.bar-container .time-slot:first-of-type {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.bar-container .time-slot:last-of-type {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.closed-time.time-slot,
.blackflag-time.time-slot {
  color: #333;
}

.icon {
  position: relative;
  z-index: 3;
  width: 32px;
  height: 32px;
  transform: translateY(-25%) translateX(25%);
  z-index: 10;
}

.nowrap {
  white-space: nowrap;
  line-height: 1;
}
.overlap {
  transform: translateX(10px);
}
.gh-animate {
  animation-name: animate-in;
  animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48);
  animation-duration: 0.25s;
}
.getting-here-buttons {
  display: flex;
  justify-content: space-between;
  align-content: center;
  margin: 1rem auto;
}
.getting-here-buttons button.button-dark {
  width: auto;
}
.button-dark:disabled {
  opacity: 0.2;
}
@keyframes animate-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.delay-1 {
  animation-delay: 0s;
}

.delay-2 {
  animation-delay: 0.075s;
}

.delay-3 {
  animation-delay: 0.15s;
}

.delay-4 {
  animation-delay: 0.225s;
}

.delay-5 {
  animation-delay: 0.3s;
}

.delay-6 {
  animation-delay: 0.375s;
}

.delay-7 {
  animation-delay: 0.45s;
}
