html {
  font-family: 'Public Sans', sans-serif;
}
body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
}


/* Navigation styles */
nav {
  max-width: 100vw;
  display: flex;
  justify-content: space-between;
  height: 5rem;
  align-items: center;
  padding: 1.25rem 2.5rem;
  padding-bottom: 0;
}
div.menu  {
  margin-top: 0.3rem;
}
#nav-menu {
  display: none;
  background-color: #ffffff;
  z-index: 2;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
#nav-menu a {
  font-size: 2.25rem;
  font-weight: 200;
  line-height: 3.75rem;
  color: #000000;
  text-decoration: none;
  padding-top: 1.5rem;
}
#nav-menu a.navitem-selected  {
  font-weight: 400;
}
@media screen and (max-height: 800px) {
  #nav-menu a {
      padding-top: 0;
      padding-bottom: 1rem;
  }
  #nav-menu #close-btn {
      padding-bottom: 0;
      margin-bottom: 0;
  }
}
@media screen and (max-width: 900px) {
  #nav-menu a {
      font-size: 1.5rem;
      padding-top: 0.55rem;
      padding-bottom: 2rem;
      line-height: 2rem;
      max-width: 90vw;
      text-align: center;
  }
}

#nav-menu a:hover {
  color: #00d0b8;
}
#nav-menu a:after{
  display: block;
  content: '';
  border-bottom: solid 3px #00d0b8;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}
#nav-menu a:hover:after {
  transform: scaleX(1);
}
#open-btn {
  display: block;
}
#close-btn {
  display: none;
  border: none;
  align-self: end;
  margin: 1.75rem 3.563rem;
  border-bottom: 2px solid transparent;
}
@media screen and (max-width: 900px) {
  #close-btn {
    margin: 0.875rem 1.75rem;
  }
}
#close-btn:after{
  display: block;
  content: '';
  border-bottom: solid 3px #00d0b8;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}
#close-btn:hover {
  cursor: pointer;
}
#close-btn:hover:after {
  transform: scaleX(1);
}
#nav-menu.active{
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
}
#open-btn.active{
  display: none;
}
#close-btn.active{
  display: block;
}


 /* logo styles */
.brand{
  display: flex;
  flex-direction: column;
  font-weight: 200;
  font-size: 1rem;
  line-height: 2.25rem;
}
.brand a {
  text-decoration: none;
  line-height: 1rem;
}
.brand a.logolink  {
  line-height: 0;
}
.brand span {
  margin-top: -0.7rem;
  color: #000000;
  opacity: 0.7;
}


/* hr styles and other miscellaneous detail styles*/
hr {
  border-bottom: none;
  border-top: 1px solid #dbdbdb;
  margin: 4rem 0;
}
.section hr  {
  margin: 4rem 27%;
}
@media screen and (max-width: 900px) {
  hr:not(.product-feature) {
    display: none;
  }
}

/* for features */
@media screen and (max-width: 899px) {
  div.page-wrapper > div.cms-body > div:last-child.split-block-full {
    padding-bottom: 3.5rem;
  }
}
@media screen and (min-width: 900px) {
  div.page-wrapper > div.cms-body > div:last-child.split-block-full {
    padding-bottom: 0;
  }
}


/* hide empty p tags created by wysiwig editor */
p:empty {
  display:none;
}


/* button styles */
button {
  background-color: inherit;
  border: 1px solid;
  width: auto;
  padding: 0 1.25rem;
  height: 2.25rem;
  font-size: 1rem;
  font-weight: 300;
  color: #292524;
  border-color: #292524;
}
button:not(#open-btn) {
  margin-top: 0.9rem;
}
button:hover {
  cursor: pointer;
  border: solid #FFC9B5 1px;
  background-color: #FFC9B5;
  transition: 0.3s ease-in-out;
}
@media screen and (max-width: 900px) {
  /* decrease spacing on feature */
  button:not(#open-btn) {
    margin-top: 0;
  }
}


/* page heading section styles */
.heading {
  font-size: 1.5rem;
  color: #000000;
  line-height: 2.25rem;
  text-align: center;
  font-weight: 200;
}
.page-header {
  margin-top: 0;
  margin-left: 19%;
  margin-right: 19%;
}
.page-without-title .page-header {
  margin-top: 3.5rem;
  margin-bottom: 5.2rem;
}
@media screen and (max-width: 900px) {
  .header {
    margin: 0 1.25rem;
  }
  .page-without-title .page-header {
    margin-top: 1.7rem;
    margin-bottom: 5.2rem;
  }
}
.page-header h1, .text-side h1 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 3rem;
}
.page-header h2 {
  font-size: 2.25rem;
  font-weight: 200;
  line-height: 3rem;
}
.page-header-button-wrapper {
  display: flex;
  flex-direction: row-reverse;
}
@media screen and (min-width: 900px) {
  /* extra top margin on headings that follow feature, to account for feature colour bg */
  div.split-block-full + h2.heading  {
    margin-top: 3rem;
  }
  /* extra top margin on features that follow heading, to account for feature colour bg */
  h2.heading + div.split-block-full {
    margin-top: 3rem;
  }
  /* less top margin on product features that follow heading, to account for product feature white bg */
  h2.heading + div.split-block {
    margin-top: -2rem;
  }
  /* less top margin on headings that follow section, to account for section white bg */
  div.section + h2.heading {
    margin-top: -1rem;
  }
  div.title-feature-outer + div.section {
    margin-top: 5rem;
  }
}
@media screen and (min-width: 1100px) {

  div.page-header + div.product-feature {
    margin-top: -1.5rem;
  }
}
@media screen and (max-width: 899px) {
  /* extra top margin on headings that follow feature, to account for feature colour bg */
  div.split-block-full + h2.heading  {
    margin-top: 3rem;
  }
  /* extra top margin on features that follow heading, to account for feature colour bg */
  h2.heading + div.split-block-full {
    margin-top: 2rem;
  }
  /* more top margin on headings that follow section, to account for lack of hr on mobile */
  div.section + h2.heading {
    margin-top: 3rem;
  }
}

/* 4k support: NOTE min width for 4K behavour is 1921 not 1920! */
@media screen and (min-width: 1921px) {
  .page-header {
    margin-left: auto;
    margin-right: auto;
    max-width: 138rem;  /* restrict with to match content */
    text-align: center;
  }
  .page-header h2 {
    margin-left: 19%;
    margin-right: 19%;
  }
}

.page-header a {
  font-size: 2.25rem;
  font-weight: 200;
  line-height: 3rem;
  color: #0576a6;
}
@media screen and (max-width: 900px) {
  nav  {
    padding: 1.25rem;
  }
  .page-header {
    margin: 1.7rem 1.25rem;
  }
  .page-header h1 {
    font-size: 1rem;
    line-height: 1rem;
  }
  .page-header h2 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .page-header a {
    font-size: 1.5rem;
  }
  /* user added headings */
  h2.heading  {
    font-size: 1rem;
    text-align: left;
    margin: 1rem 1.25rem 0.5rem;
    font-weight: 400;
  }
}


/* teaser list styles */
.teaser-list-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.teasers  {
  margin-top: 3rem;
}
@media screen and (min-width: 1921px) {
  .teaser-list-section, .teasers {
    margin-left: auto;
    margin-right: auto;
  }
  .teaser-list-section  {
    max-width: 138rem;
  }
  .teasers  {
    max-width: 138rem;
  }
}

/* also used by articles */
.text-block {
  margin: 1.5rem 27%;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 2rem;
}
.text-block b {
  font-weight: 500;
}
.text-muted {
  color: #555555;
}
.blog-link {
  margin-bottom: 3%;
  color: #000000 !important;
  text-decoration: none;
}
.blog-link h3 {
  font-weight: 200;
  font-size: 1.5rem;
  line-height: 2.25rem;
  margin-bottom: 0.625rem;
}
.blog-link p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5rem;
  margin-top: 0;
  padding-bottom: 3%;
}
@media screen and (max-width: 900px) {
  .text-block {
    margin: 1.25rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}


/* section / article styles / bullet list styles */
.section {
  /*change bg color*/
  padding: 0;
}
.section a {
  color: #0576a6;
}
.section-img {
  margin: 2% 19%;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}
.text-block-video {
  margin: 1.5rem 19%;
}
/* text block in article */
.section .text-block:last-child  {
  padding-bottom: 1.25rem;
}
@media screen and (max-width: 900px) {
  .section-img{
    margin: 2rem 1.25rem;
  }
  .text-block-video {
    margin: 2rem 1.25rem;
  }
}
.section-img img {
  width: 100%;
  height: 100%;
}
.caption {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5rem;
  font-style: italic;
}
.section ul {
  margin: 1.5rem;
  padding: 0;
  list-style-image: url("/static/images/bullet.PNG");
}


/* image grid styles */
.image-grid-outer {
  margin-top: 3.5rem;
}
.image-grid-section {
  margin: 1.7rem 10%;
  margin-top: 0;
}
.image-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width:100%;
  margin: 0 10% 0 0;
}
.image-grid-item  {
  width: 20%;
  align-self: center;
}
.image-grid-item-inner  {
  max-height: 11.5rem;
  max-width: 12rem;
  margin: 2rem auto;
}
.image-grid-item img  {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 767px) {
  .image-grid-item  {
    width: 50%;
  }
}
@media screen and (min-width: 1921px) {
  .image-grid-outer {
    margin-left: auto;
    margin-right: auto;
    max-width: 138rem;
  }
}


/* Contact Us Styles */
.contact-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-location {
  margin: 1.5rem;
  margin-top: 0;
}
.contact-location h2{
  font-size: 2rem;
  font-weight: 200;
  margin-top: 0;
}
.contact-location address {
font-size: 1.125rem;
  font-weight: 300;
  line-height: 2rem;
  font-style: normal;
  padding-bottom: 2.5rem;
}
@media screen and (max-width: 950px) {
  .contact-wrapper {
    justify-content: unset;
  }
  .contact-location {
    margin: 1.25rem;
    margin-top: 0;
  }
}
@media screen and (max-width: 896px) {
  br.glasgow  {
    display: none;
  }
}


/* Footer styles */
footer {
  background-color: #435861;
  max-width: 100%;
  padding: 1.2rem 19% 2.5rem 19%;
  color: #ffffff;
}
@media screen and (max-width: 900px) {
  footer {
    padding: 0 1rem 2.5rem 1rem;
  }
  .footer-main{
    flex-direction: column-reverse;
  }
}
.footer-main{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-main h2 {
  font-size: 2rem;
  font-weight: 200;
}
.footer-main a {
  color: #ffffff;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5rem;
}
.footer-locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-locations address{
  margin-right: 6.25rem;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5rem;
}
.footer-contact{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.telephone {
  text-decoration: none;
  font-weight: 700!important;
}
.footer-bottom{
  font-size: 1rem;
  margin-top: 1.563rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a {
  color: #ffffff;
}
footer a:hover  {
  color: #00d0b8;
}
