/* Chaning the colours? Look in custom-properties.scss */

.underline {
  --bottom-spacer: 1.5;
  --bottom-push: 3;
  position: relative;
  display: inline-block;
  margin-bottom: calc(1.618rem * var(--bottom-push));
}

.underline::before {
  content: "";
  background-color: var(--brand-color-c);
  height: 5px;
  width: 36%;
  min-width: 3rem;
  position: absolute;
  bottom: calc(-1.618rem * var(--bottom-spacer));
}

.underline--third-left::before {
  left: 0;
}

.underline--third-right::before {
  right: 0;
}

.underline-fancy {
  position: relative;
}

.underline-fancy::after {
  content: "";
  background-color: var(--brand-color-c);
  height: 3px;
  position: absolute;
  bottom: -0.618rem;
  left: 2%;
  right: 20%;
  -webkit-animation: slidein 1.2s;
          animation: slidein 1.2s;
}

@-webkit-keyframes slidein {
  0% {
    right: 100%;
    opacity: 0.75;
    height: 1px;
  }

  50% {
    right: 60%;
  }

  65% {
    right: 16%;
    opacity: 0.9;
  }

  80% {
    right: 20%;
  }

  85% {
    right: 17%;
  }

  80% {
    right: 20%;
  }

  90% {
    right: 17%;
  }

  100% {
    right: 19%;
    opacity: 1;
    height: 2px;
  }
}

@keyframes slidein {
  0% {
    right: 100%;
    opacity: 0.75;
    height: 1px;
  }

  50% {
    right: 60%;
  }

  65% {
    right: 16%;
    opacity: 0.9;
  }

  80% {
    right: 20%;
  }

  85% {
    right: 17%;
  }

  80% {
    right: 20%;
  }

  90% {
    right: 17%;
  }

  100% {
    right: 19%;
    opacity: 1;
    height: 2px;
  }
}

:hover.underline--none,
:hover.underline--0 {
  text-decoration: none;
  cursor: pointer !important;
}

.accreditation {
  max-width: 100%;
}

.accreditation a {
  display: block;
  width: 100%;
  max-width: 300px;
}

.accreditation--center {
  margin-left: auto;
  margin-right: auto;
}

.accreditation a:hover,
.accreditation a:focus {
  outline: var(--brand-color-a) 3px solid;
}

/*
    Shape A: Is a bottom right corner cutoff.
*/

.shape-a {
  --peel-bg-colour: var(--rgb-brand-color-d);
  background: linear-gradient(135deg, rgba(var(--peel-bg-colour), 1) calc(100% - 1rem), rgba(var(--peel-bg-colour), 0) calc(100% - 1rem));
  transition: all 200ms;
}

.shape-a.brand-color-a {
  --peel-bg-colour: var(--rgb-brand-color-a);
}

.shape-a.brand-color-b {
  --peel-bg-colour: var(--rgb-brand-color-b);
}

.shape-a.brand-color-c {
  --peel-bg-colour: var(--rgb-brand-color-c);
}

.shape-a.brand-color-d {
  --peel-bg-colour: var(--rgb-brand-color-d);
}

.shape-a.brand-shade-a {
  --peel-bg-colour: var(--rgb-brand-shade-a);
}

.shape-a.brand-shade-b {
  --peel-bg-colour: var(--rgb-brand-shade-b);
}

.shape-a.brand-shade-c {
  --peel-bg-colour: var(--rgb-brand-shade-c);
}

a.shape-a:hover {
  filter: drop-shadow(2px 4px 6px var(--drop-shadow-color));
}

.lottie {
  width: 100%;
  height: auto;
  height: 56.25vw;
}

.table__row:nth-child(1) .group {
  background-color: #6d6bb9;
}

.table__row:nth-child(2) .group {
  background-color: #a06bb9;
}

.table__row:nth-child(3) .group {
  background-color: #b96b8c;
}

.table__row:nth-child(4) .group {
  background-color: #b96b6b;
}

.table__row:nth-child(5) .group {
  background-color: #b9906b;
}

.table--border {
  border: 1px solid;
  border-radius: 1rem;
}

.table-header-shape {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
          clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  line-height: 1.2;
}

.no-l2-1 {
  margin-top: 1rem !important;
}

.no-l2plus-1 {
  margin-top: 1rem !important;
}

.form .form-control {
  border: var(--brand-color-f) 1px solid;
}

.map {
  width: auto;
  min-height: 400px;
  max-height: 800px;
}

.icon {
  position: relative;
}

.icon--light .svg {
  fill: white;
}

.icon--dark .svg {
  fill: black;
}

.ccfs-scale {
  font-size: calc( var(--baseFontSize) * var(--charCountOffsetPercent, 1));
}

.no-scale {
  --baseFontSize: calc(2rem);
  font-size: calc( var(--baseFontSize) * var(--charCountOffsetPercent, 1));
}

.fs-heading {
  --baseFontSize: calc(3rem);
}

.svg--silhouette {
  width: 100%;
  max-width: 526px;
}

.svg-fill-light svg {
  fill: var(--brand-shade-b);
}

.svg-fill-dark svg {
  fill: var(--brand-shade-c);
}

.svg-fill-a svg {
  fill: var(--brand-color-a);
}

.svg-fill-c svg {
  fill: var(--brand-color-c);
}

