body {
  color: var(--text);
  line-height: 1.52;
  font-weight: 400;
  font-family: var(--fontNormal) ;

  p {
    line-height: 1.75 !important;
  }
}

.ui-widget {
  line-height: 1.52;
  font-weight: 400;
  font-family: var(--fontNormal), sans-serif ;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black);
    font-family: var(--fontBold), sans-serif;
    font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

h4,
h5,
h6 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 1.5rem;
  line-height: 1;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.15;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 60em) {
  h1 {
    font-size: 2rem;
    font-weight: 700;
 }

  h2 {
    font-size: 1.6rem;
    font-weight: 700;
  }

  h3 {
    font-size: 1.25rem;
    font-weight: 700;
  }
}




h2 a {
    text-decoration: none;
    font-weight: 800;
    display: revert;
}

h2 a:hover,
h2 a:focus {
    text-decoration: underline;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

h3 a {
    text-decoration: none;
}

h3 a:hover,
h3 a:focus {
    text-decoration: underline;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1em;
}

/* Alignment */
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.text-justify {
  text-align: justify;
}
.text-nowrap {
  white-space: nowrap;
}
.text-lowercase {
  text-transform: lowercase;
}
.text-uppercase {
  text-transform: uppercase;
}
.text-capitalize {
  text-transform: capitalize;
}

img.align-right,
img.align-left {
  float: none;
  margin: 0 0 1rem;
}

@media screen and (max-width: 60em) {
  img.align-right {
    float: right;
    margin: 0 0 1rem 1rem;
  }

  img.align-left {
    float: left;
    margin: 0 1rem 1rem 0;
  }
}

/* Links */
a {
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

a.link--url {
  overflow-wrap: anywhere;
}

a.link--url .extlink-nobreak {
  white-space: normal;
}

a:hover {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    color: var(--primaryDark);
    text-decoration-skip: ink;
    -webkit-text-decoration-skip: ink;
}

a:focus-visible {
  outline: 4px solid black;
  background: black !important;
  color: yellow !important;
  box-shadow: 0px 0px 0px 8px black;
  outline-offset: 9px;
}

a.button {
  margin: 0;
  padding: 0.33rem 0.75rem;
  border: 1px solid;
  border-radius: 0.75rem;
  margin: 0 0.25rem 0 0;
  text-decoration: none;
  display: inline-block;

  &:hover,
  &:focus-visible {
    border: 1px solid var(--highlightTeal);
    background: var(--highlightTeal);
    color: var(--white);
  }

  &:focus-visible {
    border: 1px solid transparent
  }
}

a.button.button-telephone:before {
  display: inline-block;
  margin: 0 0.5rem 0 0;
  content: "\e900";
  font-family: 'icomoon';
  position: relative;
  top: 2px;
}

a.button.mailto:before {
  display: inline-block;
  margin: 0 0.5rem 0 0;
  content: "\e901";
  font-family: 'icomoon';
  position: relative;
  top: 2px;
}

a.button.button-refresh:before {
  display: inline-block;
  margin: 0 0.5rem 0 0;
  content: "\e914";
  font-family: 'icomoon';
  position: relative;
  top: 2px;
}

a.mailto svg.mailto {
  display: none;
}

a.button + a.button {
  margin-left: 0.5rem;
}

a.print-page,
a.print__link--pdf {
  margin: 0;
  padding: 0.33rem 0.75rem;
  border: 1px solid;
  border-radius: 0.75rem;
  margin: 0 0.25rem 0 0;
  text-decoration: none;
}

a.print-page:before,
a.print__link--pdf:before {
  display: inline-block;
  margin: 0 0.33rem 0 0;
  content: "\e902";
  font-family: 'icomoon';
  position: relative;
  top: 0px;
}

b,
strong {
  font-weight: 700;
  font-family: var(--fontBold);
}

/* Lists */
ol,
ul {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ol ul,
ul ol,
ul ul {
  margin-bottom: 0;
}

ul li > p:last-child {
  margin-bottom: 0;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
    margin: 0;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline {
  padding-left: 0;
  list-style: none;
  margin-left: -0.25rem;
}

.list-inline > li {
  display: inline-block;
  padding-left: -0.25rem;
  padding-right: 0.25rem;
}

/* Flex list */
.list-flex {
    display: flex;
    flex-wrap: wrap;
}

.list-flex > li {
    margin-bottom: 1rem;
}


/* Field-name body & Basic Paragraph lists */
.field--name-field-content ul {
    list-style: none;
    padding: 0;
}

.field--name-field-content ul li {
    list-style-type: none;
    margin-bottom: 8px;
    position: relative;
    padding-left: 32px;
    line-height: 1.5;
}

.field--name-field-content ul li:before {
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e908";
  position: relative;
  top: 1px;
  margin-right: 0.5rem;
  color: var(--primary);
  position: absolute;
  left: 0.25rem;
  top: 0.33rem;
  font-weight: 900;
}

.field--name-field-content ul li li:before {
  content: "\25CB";
  left: 0;
}

ol ol {
  list-style: lower-alpha;
}

ol ol ol {
  list-style: lower-roman;
}

abbr[data-original-title],
abbr[title] {
  cursor: help;
  border-bottom: 1px dotted #777777;
}

.visually-hidden {
  background: white !important;
  color: black !important;
}

table {
  margin-bottom: 2rem;
  border-collapse: collapse;
}

thead th {
  font-family: var(--fontBold), sans-serif;
  text-align: left;
  padding: 0.25rem 0.25rem 0.25rem 0.5rem;
  border-bottom: 2px solid;
  vertical-align: top;
}

tbody td,
tbody th {
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-bottom: 1px solid var(--primary);
  vertical-align: top;
}

tbody th {
  border-right: 1px solid var(--primary);
}

table.sticky-header {
  background-color: var(--background) !important;
  border: 0;
}

table.sticky-header th {
  padding: 0.5rem 0.7rem;
}

/* Headers Row Column */
/* Standard Tables */

table {
  border-collapse: collapse;
  table-layout: auto;
}

caption {
  text-align: left;
  font-style: italic;
  padding: 0.25em 0.5em 0.5em 0.5em;
}

th,
td {
  padding: 0.25em 0.5em 0.25em 1em;
  vertical-align: text-top;
  text-align: left;
  scroll-snap-align: start;
}

th {
  vertical-align: bottom;
}

tbody td {
  padding-top: 1rem;
  padding-bottom: 0.75rem;
  line-height: 1.5;

  a {
    display: inline-block;
  }
}

/* Fixed Headers */
th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}

.view table td:first-child,
table tbody tr th {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 1;
}

.view table td:first-child,
table tbody tr th {
  vertical-align: top;
  color: inherit;
}

/* Scrolling wrapper */

table {
  overflow: auto;
  scroll-snap-type: both mandatory;
  max-height: 60rem;
}

table:focus,
table:focus-within {
  box-shadow: 0 0 .5em rgba(0,0,0,.5);
  outline: .1em solid rgba(0,0,0,.1);
}

@media all and (min-width: 50rem) {
  table {
      background: none;
  }
}

table thead th {
}

table thead th:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: black;
  position: absolute;
  bottom: -2px;
  left: 0;
}

/* Strictly for making the scrolling happen. */
.view tbody td:first-child,
table tbody tr th {
  min-width: 8rem;
}

@media all and (min-width: 50rem) {
  .view tbody td:first-child,
  table tbody tr th {
    
  }
}
  
table tbody td:not(:first-child) {
  
}

/* Mapping */
.leaflet-container a.leaflet-popup-close-button {
  color: var(--text);
}

.geolocation-map-wrapper {
  padding: 4px;
  background: white;
  border: 2px solid #cecece;
  border-radius: 4px;
}

/* Quotes */
blockquote,
.paragraph blockquote {
  border-left: 0.5rem solid var(--primary);
  padding: 1rem 0 0.1rem 1rem;
  margin-left: 0;
  margin-bottom: 2em;
  font-style: italic;
  font-size: 1.25rem;
}

.paragraph blockquote.comkit {
  padding-right: 180px;
  background: url('../../images/backgrounds/eye-green.png') top 1rem right 1rem;
  background-repeat: no-repeat;
  background-size: 100px;
  float: right;
  width: 60%;
  margin: 0 0 1rem 2rem !important;
  padding-right: 120px !important;
  background-color: var(--backgroundAlt);
  border-radius: 1rem;
  border: 0 !important;
  padding-left: 2rem !important;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primaryDark);
  font-style: normal;
}

.paragraph blockquote.comkit h2,
.paragraph blockquote.comkit h3 {
  color: var(--primaryDark);
  font-weight: 900;
  font-size: 1.5rem;
}

.paragraph blockquote.comkit strong {
  font-family: var(--fontAlt);
}

.hiddenText {
  position: absolute;
  z-index: -1;
  visibility: hidden;
}

ul.buttons {
list-style: none;
margin: 0;
padding: 0;
display: flex;

  li {
    margin: 0 1em 0 0;
    padding-left: 0 !important;
    &:before {
      display: none;
    }
    &:first-child {
       .button {
         background: var(--primary);
         color: var(--white);
       }
     }
     a {
        display: block;
        border-radius: 1em;
        padding: 1em 2em;
     }

  }
}

ul.bordered {
  li {
       border-top: 1px solid var(--backgroundAlt);
       padding-top: 0.5em;
       &:before {
         top: 0.75em !important;
       }
    }
}

.bordered-container .para-section {
    margin: 0;
    padding: 1.25em 2em 2em;
    
     .list .entry {
        border: 0;
        padding: 0;
        box-shadow: none;

        .subhead {
              font-size: 0.875em;
             text-transform: uppercase;
             font-weight: 600;
             opacity: 0.667;
             margin-bottom: 0.5em;
        }
    }
}



.bordered-container.white .para-section {
    background: white !important;
    border: 1px solid var(--backgroundGreyDark);
    border-radius: 1em;
    border-top: 6px solid var(--highlightTeal);

    .list .entry {
      border: 0;
      padding: 0;
    }
}

.bordered-container.grey .para-section {
    background: var(--backgroundAlt) !important;
    border: 1px solid var(--backgroundAlt);
    border-radius: 1em;

    .list .entry {
        background: transparent !important;
        border: 0;
        padding: 0;
    }
}

@media screen and (min-width: 81rem) {
  .bordered-container .para-section {
    margin: 0 2em;
    max-width: 81rem;
    max-width: min(100%, 81rem);
  }
}



/* Coloured Text */
span.red {
  color: var(--highlightRed);
}

span.amber {
  color: var(--highlightOrange);
}

span.green {
  color: var(--highlightGreen);
}
