@charset "UTF-8";
/* blue # */
/* orange #CD671D */
/*very light blue*/
/*blue*/
/* 2400px */
/* 1504px */
/* 1200px */
/* 912px */
/* 592px */
/* 592px */
html {
  font-size: 16px;
  font-size: clamp(1rem, 0.5vw + 0.6rem, 1.3rem);
}

@font-face {
  font-family: "coconlight";
  src: url("cocon-light-webfont.woff2") format("woff2"), url("cocon-light-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  margin-top: 1rem;
}

h1, h2, h3, h4 {
  font-family: "coconlight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: hsl(189, 86%, 32%);
  line-height: 1.1;
}

h1 span, h2 span, h3 span {
  display: block;
  font-size: 0.7em;
}

h1 {
  font-size: 2.2rem;
  margin: 0 0 0.2rem 0;
}
@media only screen and (min-width: 37em) {
  h1 {
    font-size: 2.8rem;
  }
}
@media only screen and (min-width: 94em) {
  h1 {
    font-size: 3rem;
  }
}

h2 {
  font-size: 1.8rem;
  margin: 0rem 0 0.5rem 0;
}
@media only screen and (min-width: 37em) {
  h2 {
    font-size: 2rem;
  }
}
@media only screen and (min-width: 94em) {
  h2 {
    font-size: 2.2rem;
  }
}

h3 {
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem 0;
}
@media only screen and (min-width: 37em) {
  h3 {
    font-size: 1.6rem;
  }
}
@media only screen and (min-width: 94em) {
  h3 {
    font-size: 1.7rem;
  }
}

h4 {
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem 0;
}
@media only screen and (min-width: 37em) {
  h4 {
    font-size: 1.4rem;
  }
}

h2 + h3 {
  margin-top: 0rem;
}

h3 + p {
  margin-top: 0rem;
}

h4 + p {
  margin-top: 0rem;
}

h1 a, h2 a, h3 a, h4 a {
  text-decoration: none;
}

a {
  color: hsl(188, 86%, 32%);
  background-color: transparent;
  text-decoration: underline;
  font-weight: normal;
}

a:visited {
  color: hsl(188, 86%, 32%);
}

a:hover {
  color: hsl(25, 75%, 46%);
  text-decoration: none;
}

a.current {
  color: hsl(25, 75%, 46%);
}

a:active, a:focus {
  color: hsl(25, 75%, 46%);
}

/* Format the expanding box */
details {
  background: hsl(189, 86%, 95%);
  border: 1px solid hsl(189, 86%, 32%);
  border-radius: 5px;
  margin-bottom: 1rem;
}

summary {
  cursor: pointer;
  font-weight: bold;
  padding: 0.6rem 1rem;
}

details[open] {
  padding: 0.6rem 1rem 0.75rem 1rem;
}

details[open] summary {
  margin-bottom: 0.5rem;
  padding: 0;
}

details[open] > *:last-child {
  margin-bottom: 0;
}

/* Lists */
ol,
ul {
  padding-left: 3rem;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  text-align: left;
  font-size: 0.8em;
}
@media only screen and (min-width: 37em) {
  table {
    font-size: 0.9em;
  }
}
@media only screen and (min-width: 57em) {
  table {
    font-size: 1em;
  }
}

th, td {
  padding: 0.3em;
  border: 1px solid hsl(189, 86%, 32%);
  vertical-align: top;
}

th {
  text-align: left;
  color: #fff;
  background-color: hsl(189, 86%, 32%);
  font-weight: normal;
}

tr:nth-child(odd) {
  background-color: hsl(189, 86%, 95%);
}

tr:nth-child(even) {
  background-color: #fff;
}

table p {
  padding: 0;
  margin: 0;
}

th:first-child {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  left: 0px;
  z-index: 3;
}

td:first-child {
  position: -webkit-sticky;
  position: sticky;
  left: 0px;
  z-index: 2;
}

th {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 2;
}

table caption {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Misc body elements */
hr {
  color: hsl(189, 86%, 32%);
  border-top: 1px;
  margin: 1rem auto;
  clear: both;
}

mark {
  padding: 2px 5px;
  border-radius: 5px;
  background: #FFDD33;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 0.9rem;
  color: hsl(0, 0%, 40%);
  text-align: center;
  margin-bottom: 1rem;
}

/* Images */
img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 5px;
}

img.left {
  margin-right: 1rem;
}

img.right {
  margin-left: 1rem;
}

img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

blockquote {
  margin: 2rem 0 2rem 2rem;
  padding: 0.4rem 0.8rem;
  border-left: 0.35rem solid hsl(189, 86%, 32%);
  opacity: 0.8;
  font-style: italic;
}

cite {
  font-size: 0.9rem;
  color: hsl(0, 0%, 40%);
  font-style: normal;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.4;
  color: hsl(0, 0%, 31%);
  background-color: #fff;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 2500px;
}

/* Make the header bg full width, but the content inline with body */
header {
  background-color: #fff;
  background-image: url(/assets/images/aban_logo_strapline_teal.svg), url(/assets/images/inverness_and_mountains.jpg);
  background-repeat: no-repeat, no-repeat;
  background-size: clamp(9rem, 13vw + 8rem, 22rem), cover;
  background-position: 0.5rem 0.5rem, right 50% bottom 60%;
  text-align: center;
  width: 100vw;
  /* max-width: 100%; */
  height: 200px;
  height: clamp(14rem, 20vh + 10rem, 60vh);
}

/* Format navigation */
nav {
  font-family: "coconlight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 2;
  padding: 0 0 0.5rem 0;
  margin: 0 0.5rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  grid-area: nav;
}
@media only screen and (min-width: 57em) {
  nav {
    display: unset;
  }
}
@media only screen and (min-width: 57em) {
  @supports (display: grid) {
    nav {
      position: relative;
      margin: 0 0 0 1rem;
      width: 10rem;
    }
  }
}

nav a, nav a:visited {
  margin: 0.4rem 0.3rem 0 0;
  padding: 0.4rem 0.3rem;
  line-height: 1.1;
  border-radius: 5px;
  background-color: hsl(189, 86%, 32%);
  color: hsl(0, 0%, 99%);
  display: inline-block;
  text-decoration: none;
  transition: 0.4s;
}
@media only screen and (min-width: 57em) {
  nav a, nav a:visited {
    width: 10rem;
    margin: 0.5rem 1rem 0 0;
  }
}

nav a:hover {
  background-color: hsl(25, 75%, 46%);
  color: hsl(0, 0%, 99%) !important;
}

nav a.current:hover {
  text-decoration: none;
  background-color: hsl(25, 75%, 46%);
  color: hsl(0, 0%, 99%) !important;
}

nav a:link.current, nav a:visited.current {
  background-color: hsl(25, 75%, 46%);
  color: hsl(0, 0%, 99%) !important;
}

/* Format Main section */
main {
  max-width: 100vw;
  margin: 0;
  padding: 0 0.5rem;
}
@media only screen and (min-width: 57em) {
  main {
    padding: 0 1rem;
  }
}

article {
  margin: 0;
  max-width: 62rem;
  padding: 0 0.5rem;
}
@media only screen and (min-width: 57em) {
  article {
    padding: 0 1rem;
  }
}

aside {
  margin: 0;
  padding: 0 0.5rem;
}
@media only screen and (min-width: 57em) {
  aside {
    padding: 0 1rem;
  }
}

footer {
  background-color: hsl(189, 86%, 32%);
  padding: 0;
  color: hsl(0, 0%, 99%);
  font-size: 0.9rem;
  text-align: center;
}

footer a, footer a:visited {
  color: hsl(0, 0%, 99%);
  text-decoration: underline;
}

/* ===========================================
   Responsive iframes and embeds
   wrap iframe in a <div class="">
   =========================================== */
.youtube-container {
  max-width: 2000px;
  margin: 0 auto;
}

iframe.youtube {
  aspect-ratio: 16/9;
  width: 100%;
  block-size: auto;
}

.embededVideo {
  clear: both;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  margin: 0.5em 0 1em 0;
}

.embededVideo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.embededHtml {
  clear: both;
  position: relative;
  margin: 0.5em 0 1em 0;
}

.embededHtml iframe {
  width: 100%;
}

figure.right30 {
  float: none;
}
@media only screen and (min-width: 37em) {
  figure.right30 {
    float: right;
    clear: right;
    margin: 0 0 0 1rem;
    max-width: 30%;
  }
}

figure.right50 {
  float: none;
}
@media only screen and (min-width: 37em) {
  figure.right50 {
    float: right;
    clear: right;
    margin: 0 0 0 1rem;
    max-width: 50%;
  }
}

figure.fullWidth {
  max-width: 100%;
  text-align: center;
  clear: both;
  margin: 1rem auto;
}

iframe {
  border: none;
  padding: 0;
  margin: 0;
  background-color: #fff;
}

img.icon {
  width: 1rem;
  height: 1rem;
  margin: 0 0.5rem;
}

.clearleft {
  clear: left;
}

.clearright {
  clear: right;
}

.clearboth {
  clear: both;
}

.left {
  float: left;
}

.right {
  float: right;
}

.center {
  text-align: center;
}

.center50 {
  text-align: center;
  width: 50%;
}

.border {
  border: solid 2px hsl(189, 86%, 32%);
}

.clean-link a {
  text-decoration: none;
  background-image: none;
  background-position: 0;
  background-repeat: no-repeat;
  background-size: 0;
}

.small-text {
  font-size: 0.8em;
}

.large-text {
  font-size: 1.2em;
}

.meta {
  font-size: 0.9em;
  font-weight: normal;
  color: hsl(0, 0%, 40%);
  margin-bottom: 0.2rem;
  display: inline;
}

.supporters {
  clear: both;
  background-color: hsl(189, 86%, 32%);
  margin: 1rem 0 -1rem 0;
  padding: 0;
  color: hsl(0, 0%, 40%);
  font-size: 0.9rem;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  grid-gap: 0.3rem;
}

.supporters img {
  object-fit: scale-down;
  width: 100%;
  height: 18vw;
  padding: 0.3rem;
}

@media only screen and (min-width: 37em) {
  .supporters img {
    height: 8vw;
  }
}
.titleImage {
  float: none;
  padding: 0.5rem;
  margin-bottom: 1rem;
}
@media only screen and (min-width: 37em) {
  .titleImage {
    float: right;
    margin-left: 0.5rem;
    max-width: 50%;
  }
}

.titleImage img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
}

.featured-box {
  overflow: auto;
  background-color: hsl(189, 86%, 95%);
  border: solid 0px hsl(189, 86%, 32%);
  border-radius: 5px;
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
}

.invisible-box {
  overflow: auto;
  background-color: transparent;
  border: 0px;
  border-radius: 5px;
  padding: 0;
  margin-bottom: 1rem;
}

.image-with-text figure {
  max-inline-size: 100%;
  margin: 0rem;
}

@media only screen and (min-width: 500px) {
  .image-with-text figure {
    max-inline-size: 50%;
    margin-left: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    float: right;
  }
}
/* -------Image galleries-------- */
.galleryContainer {
  clear: both;
  -webkit-columns: 260px;
  -webkit-column-gap: 1rem;
  columns: 260px;
  column-gap: 1rem;
  margin: 1rem 0 0 0;
  padding: 0;
}

.galleryBox {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  background-color: #fff;
  margin: 0 0 1rem 0;
  padding: 0;
}

.galleryBox img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
}

.caption {
  font-size: 0.9rem;
  color: hsl(0, 0%, 40%);
  text-align: center;
  margin-bottom: 1rem;
}

ul.crumbs {
  list-style: none;
  margin: 0 0 0.5rem 0;
  padding: 0;
}

.crumbs li {
  display: inline;
  margin: 0;
  font-size: 0.8rem;
}

nav {
  grid-area: nav;
}

header {
  grid-area: header;
}

main {
  grid-area: main;
}

article {
  grid-area: article;
}

aside {
  grid-area: aside;
  align-self: start;
}

.supporters {
  grid-area: supporters;
}

footer {
  grid-area: footer;
}

@media only screen and (min-width: 37em) {
  .homePage {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr auto auto;
    grid-template-areas: "header header" "nav nav" "main main" "supporters supporters" "footer footer";
  }
}
@media only screen and (min-width: 57em) {
  .homePage {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 11rem 1fr 1fr 1fr;
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "header header header header" "nav main main main" "supporters supporters supporters supporters" "footer footer footer footer";
  }
}

@media only screen and (min-width: 37em) {
  .singlePage {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "header header" "nav nav" "main main" "footer footer";
  }
}
@media only screen and (min-width: 57em) {
  .singlePage {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 11rem 1fr 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "header header header header" "nav main main main" "footer footer footer footer";
  }
}

@media only screen and (min-width: 57em) {
  .entryPage {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 11rem 1fr;
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "header header" "nav article" "nav aside" "footer footer";
  }
}
@media only screen and (min-width: 75em) {
  .entryPage {
    display: grid;
    grid-gap: 0.5rem;
    grid-template-columns: 11rem 1fr;
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "header header" "nav article" "nav aside" "footer footer";
  }
}

.prime-feature-box {
  border-radius: 5px;
  background-color: hsl(189, 86%, 95%);
  padding: 1rem;
  margin: 0 0 1rem 0;
}

.second-feature-box {
  border-radius: 5px;
  background-color: rgb(247.54125, 232.145625, 221.14875);
  padding: 1rem;
  margin: 0 0 1rem 0;
}

.summary-container {
  -webkit-columns: 300px;
  -webkit-column-gap: 2rem;
  -moz-columns: 300px;
  -moz-column-gap: 2rem;
  columns: 300px;
  column-gap: 2rem;
  margin: 0 0 1rem 0;
}

.logo-container {
  -webkit-columns: 200px;
  -webkit-column-gap: 1rem;
  -moz-columns: 200px;
  -moz-column-gap: 1rem;
  columns: 200px;
  column-gap: 2rem;
  margin: 0 0 1rem 0;
}

.summary {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
  background-color: hsl(189, 86%, 95%);
  margin-bottom: 2rem;
  border-radius: 5px;
}

.summary.no-background-color {
  background-color: #fff;
}

.summary img {
  display: block;
  margin: 0 auto;
  border-radius: 5px 5px 0 0;
}

.summary-content {
  margin: 0 0 0.5rem 0;
  padding: 1.5rem;
  text-align: left;
}

.summary h2 {
  font-size: 1.7rem;
}

.summary h3 {
  font-size: 1.4rem;
}

/* Team cards */
.card-container {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-gap: 2rem;
}

.card-container > .card {
  display: flex;
  flex-direction: column;
  background-color: hsl(189, 86%, 95%);
  border-radius: 5px;
  text-align: center;
}

.card > img {
  margin-bottom: 0.5rem;
  align-self: center;
  border-radius: 5px 5px 0 0;
}

.card h3, .card p {
  padding: 0 1rem;
}

.card > .link {
  margin-top: auto;
  padding: 0;
  border: none;
  border-radius: 1rem;
  align-self: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  grid-gap: 2rem;
  margin-bottom: 2rem;
}

.grid-container > .box {
  display: flex;
  flex-direction: column;
  background-color: hsl(189, 86%, 95%);
  border-radius: 5px;
}

.box > .bottom {
  margin-top: auto;
  padding: 0 1rem 1rem 1rem;
  border: none;
}

.box img {
  margin-bottom: 0.5rem;
  align-self: center;
  border-radius: 5px 5px 0 0;
}

.box-content {
  padding: 1rem;
  text-align: left;
}

input, button, textarea, select {
  font: inherit;
}

/* Buttons */
a button,
button,
input[type=submit],
input[type=reset],
input[type=button] {
  border: none;
  border-radius: 5px;
  background: hsl(188, 86%, 32%);
  font-size: 1rem;
  color: hsl(0, 0%, 99%);
  padding: 0.7rem 0.9rem;
  margin: 0.5rem 0;
  transition: 0.3s;
}

button:focus,
button:enabled:hover,
input[type=submit]:focus,
input[type=submit]:enabled:hover,
input[type=reset]:focus,
input[type=reset]:enabled:hover,
input[type=button]:focus,
input[type=button]:enabled:hover {
  background-color: hsl(25, 75%, 46%);
  color: hsl(0, 0%, 99%);
}

/* Button Class style */
.button a {
  border-radius: 5px;
  border: none;
  background-color: hsl(188, 86%, 32%);
  color: hsl(0, 0%, 99%);
  text-decoration: none;
  cursor: pointer;
  padding: 0.7rem 0.9rem;
  margin: 0 auto 0.5rem auto;
  display: inline-block;
}

.button a:link {
  text-decoration: none;
}

.button a:hover {
  background-color: hsl(25, 75%, 46%);
  color: hsl(0, 0%, 99%);
}

/* Format forms */
textarea,
select,
input {
  font-size: 1rem;
  font-family: inherit;
  float: right;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  color: hsl(0, 0%, 31%);
  background: #fff;
  border: 1px solid hsl(189, 86%, 32%);
  border-radius: 5px;
  box-shadow: none;
  box-sizing: border-box;
  width: 80%;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.formContainer {
  background-color: hsl(189, 86%, 95%);
  padding: 0.5rem;
  max-width: 65rem;
  border-radius: 5px;
}

/* hide honeypot data field */
input#additional {
  display: none;
}

input[type=text], [type=email], select, textarea {
  resize: vertical;
  margin-top: 0.5rem;
}

input[type=submit] {
  background-color: hsl(188, 86%, 32%);
  color: hsl(0, 0%, 99%);
  margin-right: 0.5rem;
  padding: 0.2rem 0.4rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  float: left;
  white-space: normal;
}

input[type=submit]:hover {
  background-color: hsl(25, 75%, 46%);
}

label {
  padding: 0.5rem 0.5rem 0.5rem 0;
  display: inline-block;
  float: left;
  width: 18%;
  margin-top: 0.5rem;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

ul.errors {
  background-color: hsl(25, 75%, 46%);
  color: #fff;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media (max-width: 37em) {
  label, input[type=text], [type=email], select, textarea {
    width: 100%;
    margin-top: 0;
  }
}
