:root {
  --bt-aqua: #2aa5b6;
  --bt-aqua-light: #d1e8ec;
  --bt-white: #ffffff;
  --bt-grey: #999999;
  --bt-light-grey: #e0e0e0;
  --bt-black: #000000;
  --bt-gray-800: #343a40;

--bt-font-sans-serif: Arial, Helvetica, sans-serif;

--theme-body-font-family: "Inter", var(--bt-font-sans-serif, Arial, Helvetica, sans-serif);
--theme-heading-font-family: "Inter", var(--bt-font-sans-serif, Arial, Helvetica, sans-serif);
--sq-component-heading-font-family: var(--theme-heading-font-family);
  --theme-body-color:#ffffff;

  --bt-border-thin: 1px solid var(--bt-light-grey);
  --bt-border-arrow: 0.125rem solid var(--bt-aqua);

  --bt-header-height: 60px;
  --bt-header-mobile-height: 44px;
  --bt-header-content-width: 1200px;
  --bt-header-mobile-gutter: 0.75rem;
}
/* -------------------------------------------------------
   Base
------------------------------------------------------- */

html {
  background: var(--bt-white);
}


/* -------------------------------------------------------
   Header shell
------------------------------------------------------- */

.p-header,
.header,
header {
  background: var(--bt-aqua) !important;
}

header {
  z-index: 99990 !important;
}


/* -------------------------------------------------------
   Top government / logo / search bar
------------------------------------------------------- */

.dsg--global-bar {
  position: relative !important;
  z-index: 99990 !important;

  top: auto !important;
  right: auto !important;
  left: auto !important;

  width: 100% !important;
  max-width: none !important;
  height: var(--bt-header-height);

  background: var(--bt-white) !important;
  overflow: visible !important;

  &::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;

    width: 100vw;
    transform: translateX(-50%);

    background: var(--bt-white);
    pointer-events: none;
  }
}


/* -------------------------------------------------------
   Global bar logo
------------------------------------------------------- */

.dsg--global-bar__logo {
  position: absolute !important;
  z-index: 2;

  top: 50% !important;
  left: max(0px, calc((100vw - 1200px) / 2)) !important;
  transform: translateY(-50%) !important;

  display: flex;
  align-items: center;

  width: auto;
  height: var(--bt-header-height);

  background: transparent !important;

  a {
    display: flex;
    align-items: center;
    height: var(--bt-header-height);

    &::before {
      border: 2px solid var(--bt-white);
    }
  }
}

#mainsitelogo {
  display: block;
  width: 110px;
  height: auto;
}


/* -------------------------------------------------------
   Global bar inner
------------------------------------------------------- */

.dsg--global-bar__inner {
  position: relative;
  z-index: 99990 !important;

  display: flex;
  align-items: center;

  width: 100%;
  max-width: var(--bt-header-content-width);
  height: var(--bt-header-height);
  min-height: var(--bt-header-height);

  margin-left: auto !important;
  margin-right: auto !important;

  background: transparent !important;
  overflow: visible !important;

  &::before {
    background: transparent !important;
  }
}


/* -------------------------------------------------------
   Global bar search/action area
   No transform here because the search modal lives inside this
   element, and transform can break position: fixed overlays.
------------------------------------------------------- */

.dsg--global-bar__actions {
  position: absolute !important;
  z-index: 99990 !important;

  top: 0 !important;
  right: 24px !important;
  bottom: auto !important;
  left: auto !important;

  display: flex;
  align-items: center;

  height: var(--bt-header-height);

  background: transparent !important;
  overflow: visible !important;
  transform: none !important;
}

.dsg--global-bar__actions__title {
  color: var(--bt-white);
}

.dsg--global-bar__actions > ul,
.dsg--global-bar__actions > ul > li,
.dsg--global-bar__actions > ul > li > a {
  display: flex;
  align-items: center;
  height: var(--bt-header-height);
}

.dsg--global-bar__actions > ul,
.dsg--global-bar__actions > ul > li {
  overflow: visible !important;
}

.dsg--global-bar__actions > ul {
  margin: 0;
  padding: 0;
}

.dsg--global-bar__actions > ul > li > a {


  &::before {
    background-color: var(--bt-white);
  }
}

.dsg--global-bar__actions svg {
  display: block;
}


/* -------------------------------------------------------
   Local navigation
------------------------------------------------------- */

.dsg--local-bar {
  background: var(--bt-aqua) !important;
}

.dsg--local-bar ul li::before {
  display: none;
  background-color: var(--bt-white);
}

.dsg--local-bar ul li a {
  color: var(--bt-white);
}

.dsg--local-bar ul li a.active,
.dsg--local-bar ul li a:focus,
.dsg--local-bar ul li a:hover {
  background: var(--bt-gray-800);
  color: var(--bt-white) !important;
  outline-offset: -0.125rem;
}

.dsg--local-bar ul li a:hover::before,
.dsg--local-bar ul li a:hover::after {
  display: none;
}

.downarrowcolour {
  stroke: var(--bt-white) !important;
}


/* -------------------------------------------------------
   Header icons / mobile menu
------------------------------------------------------- */

.homeiconsvghouse {
  fill: var(--bt-white) !important;
}

.homeiconsvg {
  stroke: var(--bt-white) !important;
}

.dsg--home-link-head a {
  color: var(--bt-white);

  &::before {
    border: 2px solid var(--bt-white) !important;
  }
}

.dsg--local-mobile svg .st0 {
  fill: var(--bt-white);
}

.dsg--local-popup {
  background-color: var(--bt-gray-800);
}


/* -------------------------------------------------------
   Global search overlay
   Full viewport search panel
------------------------------------------------------- */

.dsg--global-search {
  position: fixed !important;
  z-index: 99999 !important;

  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  max-width: none !important;
  height: 100vh !important;
  max-height: none !important;

  background: var(--bt-white) !important;
  overflow-y: auto;
  box-sizing: border-box;
}

.dsg--global-search__inner {
  width: 100% !important;
  max-width: 1200px;
  min-height: 100vh;

  margin-left: auto;
  margin-right: auto;

  padding: 4rem 1.5rem 2rem;
  box-sizing: border-box;

  background: var(--bt-white);
}

.dsg--global-search .dsg-close {
  position: absolute;
  z-index: 100000;

  top: 1.5rem;
  right: 1.5rem;
}


/* -------------------------------------------------------
   Mobile header
------------------------------------------------------- */

@media (max-width: 767.98px) {
  .dsg--global-bar {
    height: var(--bt-header-mobile-height) !important;
    min-height: var(--bt-header-mobile-height) !important;
  }

  .dsg--global-bar__logo,
  .dsg--global-bar__actions {
    display: flex;
    align-items: center;

    height: var(--bt-header-mobile-height) !important;
  }

  .dsg--global-bar__logo {
    top: 50% !important;
    left: var(--bt-header-mobile-gutter) !important;
    transform: translateY(-50%) !important;

    a {
      display: flex;
      align-items: center;

      height: var(--bt-header-mobile-height) !important;
      line-height: 1;
    }
  }

  #mainsitelogo {
    width: auto;
    max-height: 24px;
  }

  .dsg--global-bar__actions {
    top: 0 !important;
    right: var(--bt-header-mobile-gutter) !important;
    transform: none !important;
  }

  .dsg--global-bar__actions > ul,
  .dsg--global-bar__actions > ul > li,
  .dsg--global-bar__actions > ul > li > a {
    display: flex;
    align-items: center;

    height: var(--bt-header-mobile-height) !important;
    line-height: 1;
  }

  .dsg--global-search__inner {
    max-width: none;
    min-height: 100vh;
    padding: 3.5rem 1rem 2rem;
  }

  .dsg--global-search .dsg-close {
    top: 1rem;
    right: 1rem;
  }
}


.dsg--sub-footer__links ul li:before {
    content: '\00a0\00a0|\00a0\00a0';
    color: var(--bt-white);
}


.dsg--sub-footer__links .footerdisclaimer {

    color: var(--bt-black)!important;

}



/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-4,
.display-5,
.display-7,
span,
p,
a {
  font-weight: 400 !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
a.home-link,
.dsg--footer__column h3,
.dsg--footer__column ul li a,
.dsg--sub-footer,
.dsg--content .dsg--smalltiles__tile a span,
.dsg--content .dsg--image-tiles__heading,
.dsg--content .dsg--image-tiles__tile__content p,
.dsg--content .dsg--tiles__heading,
.dsg--content .dsg--tiles__tile h3,
.dsg--home__video__text h1,
.dsg--home__video__text p,
.dsg--local-bar ul li a,
.bluemessagebox h1,
.dsg--card .dsg--card-column--title,
.item-title {
  font-family: var(--theme-heading-font-family) !important;
  font-weight:300!important;

}

.dsg--content h1 {
  line-height: 4rem;
}

.dsg--content p {
  max-width: none;
}

.intro-text {
  color: var(--bt-aqua);
}

.dsg--local-bar ul li a {
  font-family: var(--theme-heading-font-family) !important;

}

.dsg--sub-footer {
  background-color: var(--bt-aqua);
}

.dsg--sub-footer__links ul li a {
text-transform:none;
    color: var(--bt-black);
    font-size:1rem;
}

.dsg--local-bar ul li a.active,
.dsg--local-bar ul li a:focus,
.dsg--local-bar ul li a:hover {
  background: var(--bt-gray-800);
  color: var(--bt-white) !important;
  outline-offset: -0.125rem;
}

