:root {
  --primary: #0A2240;
  --secondary: #006693;
  --lighter-blue: #74CEE2;
  --lightest-blue: #E5F0F4;
  --dark-green: #2d6d69;
  --libby-purple: #631a35;
  --libby-purple-light: #a61c49;
  --red: #EE523B;
  --grey: #CCC;
  --l-grey: #f3f3f4;
  --d-grey: #545454;
  --base: #222222;
  --white: #FFF;
}


/* Only apply focus outlines for keyboard (Tab) navigation */

/*
:focus-visible {
  outline: 2px solid var(--red); 
  outline-offset: 2px; 
  transition: none;
}


:focus {
  outline: thin dotted;
  transition: none;
}*/

:focus-visible {
    outline: -webkit-focus-ring-color auto 1px;
}

:focus {
    outline: -webkit-focus-ring-color auto 5px;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
input[type="search"]:focus,
.main-navigation .btn-toggle:focus,
input[type="submit"]:focus,
[tabindex]:focus {
 outline: -webkit-focus-ring-color auto 5px;
  outline-offset: 2px; /* Offset the outline */
  /* Optionally, add a box-shadow or background change for stronger indication */
  /* box-shadow: 0 0 5px 2px rgba(0, 95, 204, 0.7); */
  transition: none;
}

.copyright a:focus, .overlay .cancel:focus::after {
 outline: -webkit-focus-ring-color auto 5px;
  outline-offset: 2px; /* Offset the outline */
  transition: none;
}

@font-face {
  font-family: 'Raleway';
  src: url('../fonts/Raleway-VariableFont_wght.ttf') format('truetype');  /* Safari, Android, iOS */
  font-weight: 100 900;
  font-style: normal;
}


video {
    width: 100%;
}

input[type="submit"] {
  color: transparent !important;
  position: relative;
}

.wp-block-media-text.contain .wp-block-media-text__media img {
  object-fit: contain;
}

#ctrbCounters-2 .ctrbCounters .counter .counterNumber {
  font-weight: 700 !important;
}

.ctrbCounters.columns-3.columns-tablet-2.columns-mobile-1 {
  width: 100%;
  margin: 0 auto;
}

span.prefix {
    display: block;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}


@media (max-width: 768px) {

  #ctrbCounters-2 .ctrbCounters .counter {
      height: auto !important;
  }
  .ctrbCounters.columns-3.columns-tablet-2.columns-mobile-1 {
    display: block;
  }
}



.wp-block-button.is-style-outline .wp-block-button__link {
  border: 1px solid;
}

/* Theme colours */
.has-primary-color, .wp-block-button .wp-block-button__link.has-primary-color {
  color: var(--primary);
}

.wp-block-button .wp-block-button__link.has-primary-color:hover {
  color:white;
}



.has-dark-green-background-color {
  background-color: var(--dark-green);
}

.wp-block-button .wp-block-button__link.has-dark-green-background-color {  
  background-color: var(--dark-green);
}

.has-dark-green-color, .wp-block-button .wp-block-button__link.has-dark-green-color{
  color: var(--dark-green);
}

.wp-block-button .wp-block-button__link.dark-green-color:hover {
  color: var(--dark-green);
}


.has-libby-purple-color {
  color: var(--libby-purple);
}

.has-libby-purple-background-color {
  background-color: var(--libby-purple);
}

.wp-block-button .wp-block-button__link.has-libby-purple-background-color {
  background-color: var(--libby-purple);
}

.has-libby-purple-light-color {
  color: var(--libby-purple-light);
}

.has-libby-purple-light-background-color {
  background-color: var(--libby-purple-light);
}

.wp-block-button .wp-block-button__link.has-libby-purple-light-background-color {
  background-color: var(--libby-purple-light);
}


.has-primary-background-color {
  background-color: var(--primary);
}

.wp-block-button .wp-block-button__link.has-primary-background-color {  
  background-color: var(--primary);
}

.has-lighter-blue-color, .has-lighter-blue-color a {
  color: var(--lighter-blue);
}

.has-lighter-blue-color, .has-lighter-blue-color a:hover {
  color: var(--lighter-blue);
  opacity: 0.8;
}

.has-lighter-blue-background-color {
  background-color: var(--lighter-blue);
}

.wp-block-button .wp-block-button__link.has-lighter-blue-background-color {  
  background-color: var(--lighter-blue);
}


.has-lightest-blue-color {
  color: var(--lightest-blue);
}

.has-lightest-blue-background-color {
  background-color: var(--lightest-blue);
}

.wp-block-button .wp-block-button__link.has-lightest-blue-background-color {  
  background-color: var(--lightest-blue);
}


.has-secondary-color, .has-secondary-color a {
  color: var(--secondary);
}

.wp-block-button .wp-block-button__link.has-secondary-background-color {
  background-color: var(--secondary);
}

.has-secondary-background-color {
  background-color: var(--secondary);
}

.has-red-color {
  color: var(--red);
}

.has-red-background-color {
  background-color: var(--red);
}

.wp-block-button .wp-block-button__link.has-red-background-color {
  background-color: var(--red);
}

.has-grey-color {
  color: var(--grey);
}

.has-grey-background-color {
  background-color: var(--grey);
}

.has-l-grey-color {
  color: var(--l-grey);
}

.has-l-grey-background-color {
  background-color: var(--l-grey);
}

.has-d-grey-color {
  color: var(--d-grey);
}

.has-d-grey-background-color {
  background-color: var(--d-grey);
}

.has-base-color,
.has-base-color.has-text-color {
  color: var(--base);
}

.has-base-background-color {
  background-color: var(--base);
}

.has-white-color,
.has-white-color.has-text-color a {
  color: var(--white);
}

.has-white-background-color {
  background-color: var(--white);
}

.wp-block-button .wp-block-button__link.has-white-background-color {
  background-color: var(--white);
}

.wp-block-button .wp-block-button__link.has-white-background-color:hover {
  background-color: var(--white);
  opacity: 0.8;
}

.has-background-dim {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.5;
  /*default*/
}

.has-background-dim.has-background-dim-10 {
  opacity: 0.1;
}

.has-background-dim.has-background-dim-20 {
  opacity: 0.2;
}

.has-background-dim.has-background-dim-30 {
  opacity: 0.3;
}

.has-background-dim.has-background-dim-40 {
  opacity: 0.4;
}

.has-background-dim.has-background-dim-50 {
  opacity: 0.5;
}

.has-background-dim.has-background-dim-60 {
  opacity: 0.6;
}

.has-background-dim.has-background-dim-70 {
  opacity: 0.7;
}

.has-background-dim.has-background-dim-80 {
  opacity: 0.8;
}

.has-background-dim.has-background-dim-90 {
  opacity: 0.9;
}

.has-background-dim.has-background-dim-100 {
  opacity: 1;
}



.owl-nav .owl-prev {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;"><circle fill="%23006693" cx="20" cy="20" r="20"/><path fill="%23ffffff" d="M28.8,22.2h-12.2l3.4,3.4c.9.9.9,2.2,0,3.1-.9.9-2.2.9-3.1,0l-7.1-7.1c-.5-.5-.6-1.2-.6-1.5s0-1,.6-1.5l7-7c.9-.9,2.2-.9,3.1,0,.9.9.9,2.2,0,3.1l-3.3,3.3h12.2c1.2,0,2.2,1,2.2,2.2s-1,2.2-2.2,2.2Z"/></svg>');
}

.owl-nav .owl-next {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" style="enable-background:new 0 0 40 40;"><circle fill="%23006693" cx="20" cy="20" r="20"/><path fill="%23ffffff" d="M11.2,17.8h12.2l-3.4-3.4c-.9-.9-.9-2.2,0-3.1.9-.9,2.2-.9,3.1,0l7.1,7.1c.5.5.6,1.2.6,1.5s0,1-.6,1.5l-7,7c-.9.9-2.2.9-3.1,0-.9-.9-.9-2.2,0-3.1l3.3-3.3h-12.2c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2Z"/></svg>');
}

.owl-nav [class*=owl-] {
  display: block;
  cursor: pointer;
  width: 1.75rem;
  height: 1.75rem;
  background-size: 1.75rem;
  background-repeat: no-repeat;
}

.owl-nav .owl-prev {
  position: absolute;
  top: calc(50%);
  left: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.owl-nav .owl-next {
  position: absolute;
  top: calc(50% - .5rem);
  left: 100%;
  -webkit-transform: translate(-100%, -50%);
  -ms-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}

figure.wp-block-gallery.wp-block-gallery.stockists.owl-carousel {
  display: block;
  padding: 0 50px;
}

figure.wp-block-gallery.wp-block-gallery.stockists.owl-carousel .owl-item img {
  max-height: 65px;
}

figure.wp-block-gallery.wp-block-gallery.stockists.owl-carousel .owl-item {
  display: flex;
  align-items: center;
  justify-content: center; /* Optional: Centers items horizontally as well */
  height: 100%; /* Ensure the item takes the full height of the carousel */
}

figure.wp-block-gallery.wp-block-gallery.stockists.owl-carousel .owl-stage {
  display: flex;
  align-items: center; /* Vertically align items */
  justify-content: center; /* Optional: Horizontally center items */
  height: 100%; /* Ensure the stage takes the full height of the carousel */
}


/* Fade scroll/load animations */
.animate {
  opacity: 0
}

.fade {
  opacity: 1;
  transition: opacity .5s 0.5s
}

.on-scroll--bottom {
  opacity: 0;
  transform: translateY(200px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform
}

.on-scroll--left, .on-scroll--top {
  -webkit-backface-visibility: hidden;
  opacity: 0;
  will-change: transform
}

.fade--bottom {
  animation: 1s forwards fade-bottom
}

@keyframes fade-bottom {
  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

.on-scroll--top {
  transform: translateY(-20px);
  backface-visibility: hidden
}

.fade--top {
  animation: 1s forwards fade-top
}

@keyframes fade-top {
  100% {
    opacity: 1;
    transform: translateY(0)
  }
}

.on-scroll--left {
  transform: translateX(-20px);
  backface-visibility: hidden
}

.fade--left {
  animation: 1s forwards fade-left
}

@keyframes fade-left {
  100% {
    opacity: 1;
    transform: translateX(0)
  }
}

.on-scroll--right {
  opacity: 0;
  transform: translateX(20px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform
}

.fade--right {
  animation: 1s forwards fade-right
}

@keyframes fade-right {
  100% {
    opacity: 1;
    transform: translateX(0)
  }
}

.delay-200 {
  animation-delay: .2s !important
}

.delay-400 {
  animation-delay: .4s !important
}

.delay-600 {
  animation-delay: .6s !important
}

.delay-800 {
  animation-delay: .8s !important
}

.delay-1000 {
  animation-delay: 1s !important
}

.delay-1200 {
  animation-delay: 1.2s !important
}

.delay-1400 {
  animation-delay: 1.4s !important
}

.delay-1600 {
  animation-delay: 1.6s !important
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html {
  font: 400 16px/1.6 'Raleway', Arial, sans-serif;
  color: var(--base);
  -webkit-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
  word-break: break-word;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

.wp-block-image.icon img {
  margin-bottom: 15px;
}

ul.social-media-icons.wp-block-navigation {
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  width: 100%;
  position: relative;
  list-style-type: none;
}

ul.social-media-icons.wp-block-navigation li {
  margin-right: 20px;
}
ul.social-media-icons.wp-block-navigation li img {
  width: 40px;
}

ul.social-media-icons.wp-block-navigation li img:hover {
  opacity:0.8;
}


body {
  margin: 0 auto;
  background: var(--white);
}

#main-content .features .wp-block-column {
  overflow: visible;
}

#main-content .features .wp-block-column p:last-of-type {
  margin-bottom:0;
}

#main-content .wp-block-column {
  position: relative;
  /*overflow: hidden;*/
}

#main-content #foundation .wp-block-column{
  overflow: hidden;
}

/* Standard Width of Group blocks */
.wp-block-group>div:first-of-type,
.wp-block-cover .wp-block-cover__inner-container,
#signup-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  z-index: 1;
  position: relative;
}

.site-header > .wp-block-group>div:first-of-type {
  padding: 0rem;
}

/* Narrow Width of Group blocks */
.wp-block-group.narrow>div:first-of-type,
.wp-block-cover.narrow .wp-block-cover__inner-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Narrower Width of Group blocks */
.wp-block-group.narrower>div:first-of-type,
.wp-block-cover.narrower .wp-block-cover__inner-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Width of "wide" Group blocks */
.wp-block-group.alignwide>div:first-of-type,
.wp-block-cover.alignwide .wp-block-cover__inner-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Width of "full-wide" Group blocks */
.wp-block-group.alignfull>div:first-of-type,
.wp-block-cover.alignfull .wp-block-cover__inner-container {
  max-width: initial;
  margin: 0 auto;
  padding: 0;
}

.wp-block-cover.no-padding-bottom .wp-block-cover__inner-container, .wp-block-cover.no-padding-bottom {
  padding-bottom: 0;
}

#main-content > .main-banner.wp-block-cover {
  padding-top:0;
  padding-bottom:0;
}


.wp-block-cover.libby .wp-block-cover__image-background {
  background: url(/wp-content/uploads/libby-app-icon-1.svg) no-repeat;
  background-size: 83%;
  background-position: -40% 7% !important;
}
.wp-block-cover.libby{
  background: rgb(33 13 30 / 76%);
}


@media screen and (max-width: 1024px) {
  .wp-block-cover.libby .wp-block-cover__image-background {
    background-size: 53px;
    background-position: 2rem 15px !important;
    background: #631A35;
    background-image: none !important;
  }
}

.main-banner.wp-block-cover .wp-block-column p:last-of-type {
  margin-bottom: 0;
}

.site-header .wp-block-group.alignwide>div:first-of-type,
.wp-block-cover.alignwide>div:first-of-type,
.wp-block-cover.narrow>div:first-of-type {
  padding: 0;
}

.site-footer .wp-block-group>div:first-of-type {
  padding-top: 0;
  padding-bottom: 0;
}


.wp-block-search__button-inside button {
  display: inline-block;
  margin: 0;
  padding: 0;
  border-radius: 0 2px 2px 0;
  line-height: 0;
  outline: 0;
  vertical-align: middle;
  width: 2rem;
  height: calc(2rem - 2px);
  background: var(--primary);
  position: absolute;
  top: 0;
  right: 0;
}

.wp-block-search__button-inside input {
  margin: 0 !important;
  padding: 0 .6rem;
  line-height: 1;
  outline: 0;
  width: 100%;
  height: calc(2rem - 2px);
  font-size: .875em;
  border: 0;
  border-radius: 2px 0 0 2px;
  font-weight: 400;
  background: var(--l-grey);
}

#search .popup {
  max-width: 400px;
  max-height: 550px;
  width: calc(100% - 2rem);
  overflow: auto;
  padding: 1.5rem;
  background: var(--white);
  border: none;
  border-radius: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 4px;
  -webkit-box-shadow: 0 8px 20px -4px rgba(0, 0, 0, .15);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, .15);
}

.overlay .cancel {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.wp-block-search__button-inside button svg.search-icon {
  fill: var(--white);
}
.wp-block-search__button-inside button .search-icon {
  display: inline;
  line-height: 1;
  vertical-align: middle;
  width: 1.5rem;
  height: auto;
  fill: var(--grey);
  transform: rotate(-90deg);
}

nav.woocommerce-MyAccount-navigation ul {
  margin: 0;
  list-style: none;
}

/*
h1::selection,
h2::selection,
h3::selection,
h4::selection,
p::selection,
li::selection,
a::selection,
span::selection {
  background: var(--primary);
}

h1.has-primary-color::selection,
h2.has-primary-color::selection,
h3.has-primary-color::selection,
h4.has-primary-color::selection,
p.has-primary-color::selection,
li.has-primary-color::selection,
a.has-primary-color::selection,
span.has-primary-color::selection {
  background: var(--secondary);
}
*/

h1,
h2,
h3,
h4 {
  font-weight: 700;
  margin: 0 0 1rem 0;
  padding: 0;
  color: var(--base);
}

time.updated {
  display: none;
}

span.byline {
  display: none;
}

.search-results a.post-thumbnail img {
      margin: 1rem 0rem 1rem 0rem;
}

@media (min-width: 768px) {
  h3.break-last-word {
    display: inline;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  h3.break-last-word span.last-word {
    display: inline-block;
  }
}


h1 {
  font-size: 2em;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

h2 {
  font-size: 1.8em;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

h2.has-small-font-size {
  font-size: 1.3em;
}

.lower-title-border:after {
  width: 75px;
  height: 4px;
  background: var(--secondary);
  content: '';
  position: relative;
  display: block;
  margin: 15px auto 30px auto;
}

.lower-title-border-left:after {
  width: 75px;
  height: 4px;
  background: var(--secondary);
  content: '';
  position: relative;
  display: block;
  margin: 15px auto 30px 0;
}

h3 {
  font-size: 1.4em;
  line-height: 1.25;
  margin: 0 0 1rem 0;
}

h3.has-medium-font-size {
  font-size: 1.1rem;
}

h3.has-small-font-size {
  font-size: 1rem;
}

h3.double-line-min-height {
  min-height: 46px;
}

h4 {
  font-size: 1em;
  line-height: 1.6;
  margin: 0 0 0.4rem 0;
}

#main-content p+h2, #main-content p+h3 {
  margin-top: 3rem;
}

.border-radius-20 {
  border-radius: 20px;
}

#main-content .features .wp-block-column {
  position: relative;
  overflow: visible;
  padding: 20px 15px;
  border-radius: 6px;
  box-shadow: 4px 0px 7px #d9d9d9;
  border: 1px solid #dfdfdf;
}

.is-style-rounded img {
  border-radius: 100%;
}

.popup p:last-of-type {
  margin-bottom:0;
}

p {
  font-size: 0.9em;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

p.bullet-step {
  font-size: 1.1em;
  padding-left: 44px;
  position: relative;
}

p.bullet-step span {
  background: #22a59d;
  width: 30px;
  height: 30px;
  display: inline-grid;
  text-align: center;
  line-height: 25px;
  border-radius: 25px;
  font-weight: 700;
  color: white;
  margin-right: 8px;
  position: absolute;
  left: 0;
}

p.has-small-font-size {
  font-size: .85em;
}

p.has-medium-font-size {
  font-size: 1.2em;
}

p.has-large-font-size {
  font-size: 1.4em;
}

p.has-x-large-font-size {
  font-size: 1.6em;
  line-height: 1.25;
}

b,
strong {
  font-weight: 700;
}

hr.wp-block-separator {
  background-color: var(--grey);
  border: 0;
  height: 1px;
  width: 5rem;
  margin: 0 auto;
}

hr.wp-block-separator.is-style-wide {
  width: 100%;
}

hr.wp-block-separator.is-style-dots {
  background-color: transparent;
  border-top: 5px dotted var(--grey);
}

img {
  max-width: 100%;
  width: initial;
  height: auto;
  display: block;
  margin: 0 auto;
}

figure {
  margin: 0;
}

figure.alignleft img {
  margin: 0;
}

figure.alignright img {
  margin: 0 0 0 auto;
}

figure.aligncenter img {
  margin: auto;
}

figure.alignwide img,
figure.alignfull img {
  width: 100%;
}

svg {
  display: block;
}

ul,
main ul.list-no-style {
  list-style-type: none;
  font-size: 1em;
  margin: 0;
  padding: 0;
}

main ul,
ol {
  list-style-type: disc;
  font-size: 0.9em;
  margin: 0 0 2rem 2rem;
  padding: 0;
  line-height: 1.6;
}

main ul li ul,
ol li ol {
  margin-bottom: 0;
}

ol {
  list-style-type: decimal;
}

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

ol.upper-alpha {
  list-style-type: upper-alpha;
}

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

ol.upper-roman {
  list-style-type: upper-roman;
}

a {
  text-decoration: none;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  color: var(--primary);
}

main a {
  text-decoration: underline;
}

a:hover,
a:focus,
a:active {
  cursor: pointer;
  text-decoration: none;
  color: var(--primary);
}

a:focus {
    outline: -webkit-focus-ring-color auto 5px;
    outline-offset: 2px;
}

/* Example: Making the focus outline more noticeable */
a:focus-visible {
  outline: -webkit-focus-ring-color auto 5px;
  outline-offset: 2px;
}

/*
a:hover, a:active {
  outline: 0;
}*/

#main-content #contact-strip .wp-block-column {
      overflow: hidden;
}

/* Breadcrumbs */
.ah-breadcrumb {
  width: 100%;
  margin: .5rem auto 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}

.ah-breadcrumb li {
  display: inline-block;
  margin: 0 .25rem;
  font-size: .9em;
}



/* Home page */

.blue-gradient {
  background: #0A2240;
  background: linear-gradient(180deg,rgba(10, 34, 64, 1) 0%, rgba(0, 102, 147, 1) 100%);
}

.blue-gradient:after {
  content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 230px;
    background: url(/wp-content/uploads/overdrive-books-home-strip.png) no-repeat center bottom;
    background-size: cover;
}


.wp-block-cover.blue-gradient {
  padding: 0rem 0rem 10rem 0rem;
  position: relative;
}

.blue-gradient .has-background-dim {
  display: none;
}



.wp-block-group.bottom-book-strip{
  position: relative;
}

.bottom-book-strip:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 263px;
  background: url(/wp-content/uploads/Section_2_brickwork-covers.png) no-repeat center bottom;
  background-size: cover;
  background-position: top center;
}


.sg-content {
  width: 100% !important;
  padding: 0;
}

.sg-content {
    padding: 1.5em 0px 2em !important;
}

.sg-type-group .sg-group-item {
  width: 50% !important;
}


input.sg-input {
  margin-bottom: 0 !important;
}

.sg-body {
  padding-bottom: 0 !important;
}

.sg-question-title label {
  color: var(--base);
}

.sg-progress-bar {
  display: none;
}
.sg-survey .sg-add-another-button, .sg-survey .sg-browse-btn, .sg-survey .sg-button, .sg-survey .sg-configurator-btn, .sg-survey .sg-file-field input[type=button] {
  font-size: 19px;
}

.sg-survey input[type="submit"].sg-button {
  padding: 1rem 1.6rem;
  background: var(--secondary);
  color: white !important;
  width: 100%;
}

.sg-survey-form {
  width: 100% !important;
}


@media (max-width: 768px) {

  .sg-type-group .sg-group-item {
      width: 100% !important;
  }
  .sg-content, .sg-question-options {
    padding: 0 !important;
  }

}
/* Tabbed area */

.wp-block-group.five-items.tabbed-content {
  display: none;
}
.wp-block-group.five-items.tabbed-content.active {
  display: grid;
}

.is-content-justification-center.wp-block-buttons.tabbed-filter-buttons {
  margin-bottom: 70px;
}

.tabbed-filter-buttons .wp-block-button {
  background:transparent;
  border-bottom: 2px solid var(--secondary);
  border-radius: 0;
}

.tabbed-filter-buttons .wp-block-button .wp-block-button__link{
  color: var(--secondary);
  background:transparent;
  border-radius: 0;
  transition: none;
}

.tabbed-filter-buttons .wp-block-button .wp-block-button__link:hover {
  color: var(--secondary);
  background:transparent;
}

.tabbed-filter-buttons .wp-block-button.active {
  border-bottom: 2px solid #8EC549;
  background:transparent;
}

.tabbed-filter-buttons .wp-block-button.active .wp-block-button__link {
  font-weight: 700;
}

.tabbed-content .wp-block-image {
  /*overflow: hidden; */
}

.tabbed-content .wp-block-image img {
  transition: 0.2s;
}


.tabbed-content .wp-block-image:hover img {
  transition: 0.2s;
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}



/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: var(--l-grey);
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: var(--secondary);
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Video (YouTube)
--------------------------------------------------------------*/
.wp-block-embed__wrapper {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.wp-block-embed__wrapper iframe, .wp-block-embed__wrapper video {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* cross-browser fix */
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 0;
  display: inline-block;
  margin: 0;
  padding: 1.4rem 1.6rem;
  background: var(--primary);
  border-radius: 4px;
  font: 400 .9em/0 'Raleway', Arial, sans-serif;
  text-transform: uppercase;
  line-height: 0;
  white-space: nowrap;
  color: var(--white);
  cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: var(--primary);
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: var(--base);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
input[type="file"],
textarea,
select {
  color: var(--d-grey);
  border: 1px solid var(--base);
  border-radius: 0;
  margin: 0 0 1.5em 0;
  padding: .75rem 1rem;
  width: 100%;
}

input[type="file"] {
  border: 0;
  padding: 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: var(--base);
}

/* contact 7 forms */
span.required {
  color: var(--secondary);
  font-size: 0.8em;
}

span.wpcf7-not-valid-tip {
  color: var(--secondary);
}

span.wpcf7-list-item {
  display: block;
}

/*--------------------------------------------------------------
## Site logo
--------------------------------------------------------------*/
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 2;
  -webkit-box-shadow: 0 8px 20px -4px rgba(0, 0, 0, .15);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, .15);
}

@media (max-width: 1024px) {
  .site-header {
    position: relative;
  }
}

.site-branding {
  padding: 1.15rem 1.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-branding img {
  width: 200px;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.site-branding a:hover img {
  opacity: .75;
}

.top-nav {
  display: none;
}

/* Social Media */
.menu-social-media-container ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: .25rem;
  list-style-type: none;
    margin-left: 0;
}

.menu-social-media-container img {
  width: 1.5rem;
  margin: 0.4em;
}

/* Language Selector */
.menu-languages img {
  display: inline-block;
  margin: 0 .2rem 0 0;
  vertical-align: top;
      border: 1px solid #F5F5F5;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/* Hide/show nav*/
.btn-content {
  display: none;
  width: 100%;
  background: var(--primary);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
  top: 0;
}

.btn-content a {
  color: var(--white);
  text-decoration: none;
  line-height: 1.8;
  text-transform: uppercase;
}

.main-navigation .btn-toggle {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  border-radius: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 1em;
  line-height: 0;
  /*outline: none;*/
  cursor: pointer;
  padding: 2rem 1rem;
  margin: 0;
  z-index: 2;
}

.main-navigation .btn-toggle i.bar {
  position: relative;
  display: block;
  width: 2rem;
  height: 3px;
  background: var(--white);
  -webkit-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  transition: all .2s ease-out;
}

.main-navigation .btn-toggle i.bar::before,
.main-navigation .btn-toggle i.bar::after {
  content: '';
  width: 2rem;
  height: 3px;
  background: var(--white);
  position: absolute;
  left: 0;
  -webkit-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  transition: all .2s ease-out;
}

li.search-icon a {
      padding: 10px;
    width: 2rem;
    height: 2rem;
}

li.search-icon {
  position: relative;
}


li.search-icon a:before {
  content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20.9 20' style='enable-background:new 0 0 20.9 20;' fill='%23006693'%3E%3Cpath d='M20.4,17.3l-4.9-4.7c1.1-1.6,1.7-3.6,1.4-5.7C16.4,3.4,13.3.5,9.6,0,4-.6-.6,3.9,0,9.2c.5,3.6,3.5,6.5,7.3,7,2.2.3,4.3-.2,5.9-1.3l4.9,4.7c.6.6,1.7.6,2.3,0,.6-.6.6-1.6,0-2.2ZM3.2,8.1c0-2.8,2.3-5,5.2-5s5.2,2.2,5.2,5-2.3,5-5.2,5-5.2-2.2-5.2-5Z'/%3E%3C/svg%3E") center no-repeat;
    background-size: 1.2rem 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
  }

  @media (max-width: 1200px) {
    li.search-icon a:before {
       background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20.9 20' style='enable-background:new 0 0 20.9 20;' fill='%23ffffff'%3E%3Cpath d='M20.4,17.3l-4.9-4.7c1.1-1.6,1.7-3.6,1.4-5.7C16.4,3.4,13.3.5,9.6,0,4-.6-.6,3.9,0,9.2c.5,3.6,3.5,6.5,7.3,7,2.2.3,4.3-.2,5.9-1.3l4.9,4.7c.6.6,1.7.6,2.3,0,.6-.6.6-1.6,0-2.2ZM3.2,8.1c0-2.8,2.3-5,5.2-5s5.2,2.2,5.2,5-2.3,5-5.2,5-5.2-2.2-5.2-5Z'/%3E%3C/svg%3E") center no-repeat;
    
    }

    li.search-icon a {
        position: relative;
        display: block;
        width: 100%;
    }
  }


.main-navigation .btn-toggle i.bar::before {
  top: -10px;
}

.main-navigation .btn-toggle i.bar::after {
  bottom: -10px;
}

.main-navigation .btn-toggle.btn-toggle-expand i.bar {
  background: rgba(0, 0, 0, 0);
}

.main-navigation .btn-toggle.btn-toggle-expand i.bar::before {
  top: 0;
  -webkit-transform: rotateZ(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotateZ(-135deg);
}

.main-navigation .btn-toggle.btn-toggle-expand i.bar::after {
  bottom: 0;
  -webkit-transform: rotateZ(135deg);
  -ms-transform: rotate(135deg);
  transform: rotateZ(135deg);
}

.main-navigation li a {
  display: block;
  padding: .75rem;
  border-bottom: 1px solid rgba(225, 225, 225, .2);
  line-height: 1.25;
}

@media (max-width: 1024px) {
 .main-navigation li a {
  font-weight: 500;
}
}



.main-navigation li:last-child a {
  border: 0;
}

.main-navigation .sub-menu {
  display: none;
}

.main-navigation .sub-menu a {
  text-transform: none;
}

.main-navigation .menu-item-has-children {
  position: relative;
}

.main-navigation .menu-item-has-children:after {
    background: url(/wp-content/themes/ibtonline/img/chevron-down-white.svg) no-repeat 50% 50%;
    background-size: 10px;
    position: absolute;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    top: .25rem;
    content: "";
    z-index: 111;
    cursor: pointer;
}

@media (max-width: 1200px) {
  .main-navigation .menu-item-has-children:after {
    background-color: rgba(0, 102, 147, 0.5);
    width: 2rem;
    height: 2.25rem;
  }
}


/* Offset anchor links by 100px for fixed headers, only for anchors targeted from .tabbed-filter-buttons */
/* Add scroll-margin-top to anchor targets for fixed header offset */
[id] {
  scroll-margin-top: 100px;
}

.content-module {
  padding: 1rem;
}

.wp-block-group.module-box > .wp-block-group__inner-container{
  padding: 2.5rem 2.5rem !important;
}

#contact-strip.wp-block-cover .wp-block-cover__inner-container {
  padding: 1rem 2.5rem;
}

#contact-strip .wp-block-cover__image-background {
  padding-top:0;
  padding-bottom: 0;
}

#contact-strip .wp-block-group__inner-container{
  padding-top:0;
  padding-bottom: 0;
}

/*--------------------------------------------------------------
## col and Modules
--------------------------------------------------------------*/
/* quotations */
blockquote {
  display: block;
  margin: 0 0 .75rem 0;
  padding: 0;
  font-style: normal;
  quotes: "\201C""\201D";
}

blockquote p:before {
  content: open-quote;
  margin-right: .1rem
}

blockquote p:after {
  content: close-quote;
}

blockquote p {
  color: var(--white);
  font-size: 1.15rem;
}

.quotee {
  font-size: 1em;
  font-style: normal;
  font-weight: 700;
}

address {
  font-style: normal;
}

iframe,
object,
embed {
  max-width: 100%;
}

/* col */
.wp-block-columns,
figure.wp-block-gallery.wp-block-gallery,
.wp-block-media-text, .wp-block-group.five-items, .wp-block-grid {
  display: grid;
  gap: 1.5rem;
  grid-auto-flow: row;
}

.inline {
  display:inline-grid;
}

.wp-block-grid.inline {
  display: inline-grid;
  vertical-align: middle;
}

.border-top {
  border-top: 1px solid var(--grey);
}

.border-bottom {
  border-bottom: 1px solid var(--grey);
}

.wp-block-grid.vertical-padding {
  padding: 2rem 0rem;
}

.wp-block-grid.vertical-padding figure img {
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  position: relative;
}
.wp-block-grid.large-gaps {
  gap: 3rem;
}


.wp-block-media-text {
  gap: 0;
  margin: 1.75rem 0 0 0;
}


@media screen and (max-width: 768px) {
  .wp-block-media-text.is-stacked-on-mobile{
    grid-template-columns: 100% !important;
  }
}



.wp-block-media-text__media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.wp-block-media-text .wp-block-media-text__content {
  display: grid;
  align-content: center;
  padding: 1.75rem;
}

.is-not-stacked-on-mobile,
.wp-block-media-text.is-not-stacked-on-mobile {
  grid-auto-flow: column;
}

.slim-gutter {
  gap: .5rem;
}

.large-gutter {
  gap: 3rem;
}

/* without gutter */
.no-gutter {
  gap: 0;
}

.no-gutter-bottom {
  row-gap: 0;
}

/* center text */
.has-text-align-center {
  text-align: center;
}

/* text right */
.has-text-align-right {
  text-align: right;
}

/* text left */
.text-left {
  text-align: left;
}

/* justify per row */
.align-right {
  justify-content: flex-end;
}

.align-center {
  justify-content: center;
}

/* vertical alignment (grid parent) */
.are-vertically-aligned-top {
  align-items: start;
}

.are-vertically-aligned-center {
  align-items: center;
}

.are-vertically-aligned-bottom {
  align-items: end;
}

.are-vertically-aligned-stretch {
  align-items: stretch;
}

/* vertical alignment (grid child) */
.is-vertically-aligned-top {
  align-self: start;
}

.is-vertically-aligned-center {
  align-self: center;
}

.is-vertically-aligned-bottom {
  align-self: end;
}

.is-vertically-aligned-stretch {
  align-self: stretch;
}

/* base classes for all media - mobile first */
/*even columns*/
.two-items, .columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.three-items, .columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.four-items, .columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.five-items, .columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.six-items, .columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

/*uneven columns as fractions*/
.one-of-three {
  grid-template-columns: 33.3fr 76.7fr;
}

.one-of-four {
  grid-template-columns: 25fr 75fr;
}

.one-of-five {
  grid-template-columns: 20fr 80fr;
}

.one-of-six {
  grid-template-columns: 16.6fr 83.4fr;
}

.two-of-five {
  grid-template-columns: 40fr 60fr;
}

/*reverse uneven columns as fractions*/
.two-of-three {
  grid-template-columns: 76.7fr 33.3fr;
}

.three-of-four {
  grid-template-columns: 75fr 25fr;
}

.four-of-five {
  grid-template-columns: 80fr 20fr;
}

.five-of-six {
  grid-template-columns: 83.4fr 16.6fr;
}

.three-of-five {
  grid-template-columns: 60fr 40fr;
}

/* Switch 2 column order */
.switcharoo:nth-of-type(1),
.reverse .wp-block-media-text__content:nth-of-type(1) {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 2;
  order: 2;
}

.switcharoo:nth-of-type(2),
.reverse .wp-block-media-text__media:nth-of-type(2) {
  -webkit-box-ordinal-group: 1;
  -ms-flex-order: 1;
  order: 1;
}

/* slider */
.slider {
  display: block;
}

.slider .wp-block-heading {
  font-size: 3.5em;
  line-height: 1.25;
}

.wp-block-cover {
  padding: 4rem 0;
  position: relative;
}

.wp-block-cover div.wp-block-cover__image-background {
  padding: 0;
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  z-index: -1;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 0 !important;
}

.wp-block-cover.mv__cover-overflow {
  padding: 0;
  max-height: 40rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 500px;
  width: 100%;
}

.mv__cover-overflow video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wp-block-cover.mv__cover-overflow video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv__cover-overflow .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
}

.heading-only {
  margin: 0 0 2rem 0;
}

.blog .latest-news h2,
.archive .latest-news h2 {
  font-size: 1.15em
}

.blog .latest-news p,
.archive .latest-news p {
  font-size: .85em;
}

.post-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  bottom: 0;
  width: 100%;
  padding: 2rem 0;
}

.post-pagination .next-post {
  text-align: right;
}

.latest-news .outer-link {
  display: block;
  border: 1px solid var(--d-grey);
  border-radius: 4px;
  color: var(--base);
  position: relative;
  text-decoration: none;
}

.single-post img.attachment-post-thumbnail.size-post-thumbnail {
    margin-bottom: 30px;
}

.latest-news .outer-img {
  position: relative;
  overflow: hidden;
}

.latest-news .outer-link img {
  border-radius: 4px 4px 0 0;
  -webkit-transition: -webkit-transform .75s;
  transition: -webkit-transform .75s;
  -o-transition: transform .75s;
  transition: transform .75s;
  transition: transform .75s, -webkit-transform .75s;
  width: 100%;
  aspect-ratio: 5 / 2;
    object-fit: cover;
}

.latest-news .outer-link:hover img {
  -webkit-transition: all .5s ease-out;
  -o-transition: all .5s ease-out;
  transition: all .5s ease-out;
  -webkit-transform: scale(1.15);
  -ms-transform: scale(1.15);
  transform: scale(1.15)
}

.latest-news .inner-content {
  font-size: 1.15em;
  padding: 1.5rem;
  height: 100%;
}

.latest-news .inner-content h3 {
    font-size: 1em;
    line-height: 1.25;
    margin: 0 0 0.5rem 0;
    color: var(--primary);
}

.latest-news .inner-content p {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.latest-news .inner-content ul {
font-size: 0.8rem;
margin: 1rem 0 1rem 1rem;
}

.latest-news .category {
  display: block;
  background: var(--primary);
  padding: .5rem 1.75rem;
  border-radius: 0 4px;
  position: absolute;
  top: 0;
  right: 0;
  font-size: .75em;
  text-transform: uppercase;
  color: var(--white);
}

.latest-news .read {
  display: block;
  margin: 1.75rem 0 0 0;
  font-size: .9em;
  color: var(--primary);
  text-transform: uppercase;
}

.latest-news .outer-link:hover .read {
  color: var(--primary);
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.pagination {
  margin: 2rem 0 0 0;
  text-align: center;
  font-size: .9em;
  display: block;
  position: relative;
  height: 60px;
  box-sizing: content-box;
}

.pagination .page-numbers {
  padding: 1rem 1.3rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.15em;
  line-height: 1.6;
}

.pagination a:hover,
.pagination .page-numbers.current {
  background: var(--b-cyan);
}

.pagination .page-numbers.next {
  position: relative;
  left: 1px;
}

.pagination .page-numbers.next::before,
.pagination .page-numbers.prev::before {
  content: ">";
  position: relative;
  top: -.1rem;
}

.pagination .page-numbers.prev::before {
  content: "<";
}

/* Popup / Modal */
.overlay {
  position: fixed;
  /*! margin: auto; */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.75);
  -webkit-transform: translateY(-10%);
  transform: translateY(-10%);
  visibility: hidden;
  opacity: 0;
  height: 0;
  z-index: 100;
}

.overlay .cancel {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#search.overlay .cancel {
z-index: 0;
}



.overlay .cancel::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" fill="%23FFFFFF"><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>') center no-repeat;
  background-color: var(--primary);
  background-size: 1.5rem;
  position: absolute;
  top: -1px;
  right: 0;
  -webkit-transition: all .2s ease-out;
  transition: all .2s ease-out;
}

.overlay:target {
  visibility: visible;
  -webkit-transition: all 400ms;
  transition: all 400ms;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
  height: auto;
}

.overlay.wp-block-group.alignfull>div:first-of-type {
  position: static;
}

.popup {
  max-width: 1000px;
  max-height: 500px;
  width: calc(100% - 4.8rem);
  overflow: auto;
  padding: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: #e7e7e7;
}

#team-members a {
  text-decoration: none;
}

#team-members img{
  transition: 0.2s;
}


#team-members a:hover img {
  transition: 0.2s;
  opacity: 0.8;
}

/* buttons */
.wp-block-button {
  background: var(--base);
  border-radius: 4px;
}

.wp-block-button .wp-block-button__link {
  display: block;
  padding: 0.4rem 2rem;
  background-color: transparent;
  border-radius: 4px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--white);
  white-space: normal;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.wp-block-button .has-primary-background-color:hover {
  background: var(--secondary);
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .has-secondary-background-color:hover {
  background: var(--primary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: transparent;
  color: var(--primary);
}

.wp-block-buttons.is-content-justification-center {
  justify-content: center;
}

.wp-block-buttons.is-content-justification-right {
  justify-content: flex-end;
}

.wp-block-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1em;
}

.cta {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 98;
}

.cta .wp-block-button__link {
  border: 2px solid var(--white);
  padding: .5rem 1rem;
  font-size: .9em;
  letter-spacing: 2px;
}

/*table styling*/
.wp-block-table {
  max-width: calc(100vw - 2rem);
  margin: 0 0 2rem 0;
  padding: 1rem 0;
  word-break: keep-all;
  overflow-x: scroll;
}

.wp-block-table table {
  border-collapse: collapse;
  display: table;
  /*width: fit-content;*/
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
}

.wp-block-table table td,
.wp-block-table table th {
  border: 1px solid var(--d-grey);
  padding: 1.5rem 1.75rem;
}

.wp-block-table table thead {
  color: var(--primary);
  background: transparent;
}

.wp-block-table table th, .wp-block-table table thead td {
  text-align: left;
  border-top: none;
  font-weight: 700;
}

.wp-block-table table td {
  /*white-space: nowrap;*/
  border-bottom: none;
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.3;
}

.wp-block-table table td:first-of-type,
.wp-block-table table th:first-of-type {
  border-left: none;
}

.wp-block-table table td:last-of-type,
.wp-block-table table th:last-of-type {
  border-right: none;
}

.is-style-stripes table {
  font-size: .9em
}

.is-style-stripes table th, .is-style-stripes table thead td, .is-style-stripes table thead td:first-child {
  font-size: 1.2em
}

.is-style-stripes table td:first-child {
  font-size: 1em;
}

.is-style-stripes table td,
.is-style-stripes table th {
  padding: .5rem;
}

.is-style-stripes table tr:nth-child(even) {
  background: var(--l-grey);
}

/* footer */
.site-info {
  padding: 4rem 0;
}

.site-info .site-logo img {
  max-width: 14rem;
}

.site-info h2 {
  margin: 0 0 1rem 0;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.3;
}

.site-info p,
.site-info li a {
  font-size: .875em;
  line-height: 2.25;
}

.menu-footer-bottom-container {
  display: inline-block;
}

.menu-footer-bottom-container li:before {
  content: "|";
  padding: 0 .375rem 0 0;
}

.menu-footer-bottom-container li:first-child:before{
  content: "";
  padding: 0;
}

.copyright {
  display: block;
  padding: .25rem 0 .45rem 0;
  width: 100%;
  background: var(--primary);
  color: var(--white);
}

.copyright ul,
.copyright p {
  margin: 0;
  padding: 0;
}

.copyright ul {
  display: flex;
  gap: 1rem;
}

.copyright ul li,
.copyright p {
  display: inline-flex;
  font-size: .875em;
  line-height: 2.25;
  gap: .5rem;
}

.copyright p {
  display: block;
}

.copyright a,
.copyright li a {
  color: var(--white);
}

/* Main content */
.module {
  margin: 0 0 3.5rem 0;
}

.module a h2 {
  display: block;
  font-size: 1.85em;
  line-height: 1.25;
  color: var(--primary);
}

/* Cookie popup */
.cookie-banner {
  position: fixed;
  display: none;
  width: 100%;
  bottom: 0;
  /*! padding: 1rem 2rem; */
  z-index: 99;
  left: 0;
  -webkit-box-shadow: 0px 1px 23px 1px rgb(0 0 0 / 36%);
  box-shadow: 0px 1px 23px 1px rgb(0 0 0 / 36%);
}

.cookie-banner.wp-block-group.alignwide>div:first-of-type {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.cookie-banner a {
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner a:hover {
  text-decoration: none;
}

.cookie-banner .wp-block-button .wp-block-button__link {
  padding: .5rem 1rem;
  text-decoration: none;
  font-size: .7em;
  border: 1px solid var(--secondary);
  border-radius: 3px;
}

.cookie-banner .wp-block-button .wp-block-button__link:hover {
  background: var(--secondary);
  border-color: var(--white);
}

.cookie-banner p {
  font-size: .85em;
  margin: 0;
}

p.cookies-status {
  font-weight: 700;
  font-size: 0.8em;
  color: var(--primary);
}

.timeline {
  position: relative
}

.timeline:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 100%;
  background: var(--primary)
}

.timeline:after {
  content: "";
  display: block;
  clear: both
}

.timeline .timeline-container {
  position: relative;
  padding: 0 0 0 1.5rem
}

.timeline .timeline-container:before {
  content: "";
  position: absolute;
  width: .6rem;
  height: .6rem;
  top: .6rem;
  left: -.35rem;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(29, 66, 138, 0.3)
}

.timeline .timeline-container h3 {
  font-size: 1.2em
}

.timeline .timeline-container p {
  margin: 0 0 1.5rem 0;
  font-size: .9em
}

.timeline .timeline-container .time {
  padding: .375rem 1rem;
  display: inline-block;
  background: var(--primary);
  border-radius: 1rem;
  box-shadow: 0 0 0 3px rgba(29, 66, 138, 0.3);
  font-weight: 400;
  font-size: .9em;
  color: var(--white);
  letter-spacing: .5px
}

/* tablet (medium) screens */
@media (min-width: 768px) {
  html {
    font-size: 18px;
    word-break: keep-all;
  }

  .wp-block-group>div:first-of-type,
  .wp-block-cover .wp-block-cover__inner-container,
  .wp-block-group.narrow>div:first-of-type,
  .wp-block-group.alignwide>div:first-of-type,
  .wp-block-cover>div:first-of-type,
  .wp-block-cover .wp-block-cover__inner-container,
  .wp-block-cover.alignwide .wp-block-cover__inner-container,
  .wp-block-cover.narrow .wp-block-cover__inner-container {
    padding: 3rem 2rem;
  }

  /*even columns*/
  .t-one-item {
    grid-auto-flow: row;
  }

  .t-two-items,
  .wp-block-media-text {
    grid-template-columns: repeat(2, 1fr);
  }

  .t-three-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .t-four-items {
    grid-template-columns: repeat(4, 1fr);
  }

  .t-five-items {
    grid-template-columns: repeat(5, 1fr);
  }

  .t-six-items {
    grid-template-columns: repeat(6, 1fr);
  }

  /*uneven columns as fractions*/
  .t-one-of-two {
    grid-template-columns: 50fr 50fr;
  }

  .t-one-of-three {
    grid-template-columns: 33.3fr 76.7fr;
  }

  .t-one-of-four {
    grid-template-columns: 25fr 75fr;
  }

  .t-one-of-five {
    grid-template-columns: 20fr 80fr;
  }

  .t-one-of-six {
    grid-template-columns: 16.6fr 83.4fr;
  }

  .t-two-of-five {
    grid-template-columns: 40fr 60fr;
  }

  /*reverse uneven columns as fractions*/
  .t-two-of-three {
    grid-template-columns: 76.7fr 33.3fr;
  }

  .t-three-of-four {
    grid-template-columns: 75fr 25fr;
  }

  .t-four-of-five {
    grid-template-columns: 80fr 20fr;
  }

  .t-five-of-six {
    grid-template-columns: 83.4fr 16.6fr;
  }

  .t-three-of-five {
    grid-template-columns: 60fr 40fr;
  }

  .t-align-right {
    justify-content: flex-end;
  }

  .t-align-left {
    justify-content: flex-start;
  }

  .t-align-center {
    justify-content: center;
  }

  .t-has-text-align-center {
    text-align: center;
  }

  .t-has-text-align-right {
    text-align: right;
  }

  .t-has-text-align-left {
    text-align: left;
  }

  .timeline:before {
    left: 50%
  }

  .timeline .timeline-container {
    width: 50%;
    padding: 0 2.5rem;
    float: left;
    text-align: right;
    clear: both
  }

  .timeline .timeline-container h3 {
    margin: 0 0 .5rem 0
  }

  .timeline .timeline-container:nth-child(even) {
    float: right;
    text-align: left;
    clear: both
  }

  .timeline .timeline-container:before {
    left: initial;
    right: -.3rem
  }

  .timeline .timeline-container:nth-child(even):before {
    left: -.3rem
  }

  .timeline .timeline-container .time {
    position: absolute;
    top: 0;
    right: -6.5rem
  }

  .timeline .timeline-container:nth-child(even) .time {
    top: 0;
    right: initial;
    left: -6.5rem
  }

  .main-navigation li a {
    border-bottom: 0;
    line-height: 1.6;
  }

  .site-branding {
    padding: 2.2rem 2rem;
  }

  .site-branding img {
    width: 200px;
  }

  .main-navigation .btn-toggle {
    padding: 3rem 2rem;
  }

  .main-navigation .btn-toggle i.bar,
  .main-navigation .btn-toggle i.bar::before,
  .main-navigation .btn-toggle i.bar::after {
    width: 2.25rem;
  }

  .main-navigation .btn-toggle i.bar::before {
    top: -12px;
  }

  .main-navigation .btn-toggle i.bar::after {
    bottom: -12px;
  }

  .slider .owl-dots,
  .slider .owl-nav {
    text-align: center;
    -webkit-tap-highlight-color: transparent
  }

  .slider .owl-dots {
    position: absolute;
    bottom: 1em;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0)
  }

  .slider .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1
  }

  .slider .owl-nav {
    top: 0
  }

  .slider .owl-dots .owl-dot span {
    display: block;
    width: 1rem;
    height: 1rem;
    margin: 0 .2rem;
    background: var(--white);
    border: 1px solid var(--d-grey);
    border-radius: 100%;
    -webkit-backface-visibility: visible;
    background-size: 16px 19px;
    -webkit-transition: opacity .2s ease;
    -o-transition: opacity .2s ease;
    transition: opacity .2s ease;
  }

  .slider .owl-dots .owl-dot.active span,
  .slider .owl-dots .owl-dot:hover span {
    background: var(--d-grey);
    border-radius: 100%;
  }

  .slider .owl-nav [class*=owl-] {
    display: inline-block;
    cursor: pointer;
    width: 42px;
    height: 82px;
    background-size: 11px 20px;
    background-size: 42px 82px;
  }

  .slider .owl-nav .owl-prev,
  .slider .owl-nav .owl-prev:hover {
    background: url(/wp-content/themes/ibtonline/img/chevron-left.svg) no-repeat;
    background-size: 11px 20px;
    background-size: 42px 82px;
  }

  .slider .owl-nav .owl-next,
  .slider .owl-nav .owl-next:hover {
    background: url(/wp-content/themes/ibtonline/img/chevron-right.svg) no-repeat;
    background-size: 11px 20px;
    background-size: 42px 82px;
  }

  .slider .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    left: 98%;
    -webkit-transform: translate(-98%, -50%);
    -ms-transform: translate(-98%, -50%);
    transform: translate(-98%, -50%)
  }

  .slider .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 2%;
    -webkit-transform: translate(-2%, -50%);
    -ms-transform: translate(-2%, -50%);
    transform: translate(-2%, -50%)
  }

  .slider .owl-nav [class*=owl-]:hover {
    opacity: .8
  }

  .list-three-cols {
    -moz-columns: 2;
    -webkit-columns: 2;
    columns: 2;
    -moz-column-gap: 1rem;
    -webkit-column-gap: 1rem;
    column-gap: 1rem;
  }

  .list-three-cols li {
    page-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
  }
  
  .menu-footer-bottom-container {
    margin-left: 1rem;
  }
  
  .menu-footer-bottom-container li:first-child:before {
    content: "|";
    padding: 0 .375rem 0 0;
  }
  
  .copyright p {
    display: inline;
  }
  
}

/* desktop */
@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }

  h1 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 2.2em;
  }

  h2.has-small-font-size {
    font-size: 1.3em;
  }

  .wp-block-group>div:first-of-type,
  .wp-block-cover .wp-block-cover__inner-container,
  .wp-block-group.narrow>div:first-of-type,
  .wp-block-group.alignwide>div:first-of-type,
  .wp-block-cover>div:first-of-type,
  .wp-block-cover .wp-block-cover__inner-container,
  .wp-block-cover.alignwide .wp-block-cover__inner-container,
  .wp-block-cover.narrow .wp-block-cover__inner-container {
    padding: 4rem 2.5rem;
  }

  .site-header .wp-block-group.alignwide>div:first-of-type {
    padding: 0 2.5rem;
  }

  .site-header > .wp-block-group>div:first-of-type {
    padding: 0 2.5rem;
  }




  /*even columns*/
  .d-two-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .d-three-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .d-four-items {
    grid-template-columns: repeat(4, 1fr);
  }

  .d-five-items {
    grid-template-columns: repeat(5, 1fr);
  }

  .d-six-items {
    grid-template-columns: repeat(6, 1fr);
  }

  /*uneven columns as fractions*/
  .d-one-of-two {
    grid-template-columns: 50fr 50fr;
  }

  .d-one-of-three {
    grid-template-columns: 33.3fr 76.7fr;
  }

  .d-one-of-four {
    grid-template-columns: 25fr 75fr;
  }

  .d-one-of-five {
    grid-template-columns: 20fr 80fr;
  }

  .d-one-of-six {
    grid-template-columns: 16.6fr 83.4fr;
  }

  .d-two-of-five {
    grid-template-columns: 40fr 60fr;
  }

  /*reverse uneven columns as fractions*/
  .d-two-of-three {
    grid-template-columns: 76.7fr 33.3fr;
  }

  .d-three-of-four {
    grid-template-columns: 75fr 25fr;
  }

  .d-four-of-five {
    grid-template-columns: 80fr 20fr;
  }

  .d-five-of-six {
    grid-template-columns: 83.4fr 16.6fr;
  }

  .d-three-of-five {
    grid-template-columns: 60fr 40fr;
  }

  /* Switch 2 column order */
  .switcharoo:nth-of-type(1),
  .reverse .wp-block-media-text__media:nth-of-type(2) {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 1;
    order: 1;
  }

  .switcharoo:nth-of-type(2),
  .reverse .wp-block-media-text__media:nth-of-type(1) {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 2;
    order: 2;
  }

  .d-align-right {
    justify-content: flex-end;
  }

  .d-align-left {
    justify-content: flex-start;
  }

  .d-align-center {
    justify-content: center;
  }

  .d-has-text-align-center {
    text-align: center;
  }

  .d-has-text-align-right {
    text-align: right;
  }

  .d-has-text-align-left {
    text-align: left;
  }

  .top-nav {
    display: block;
    width: 100%;
    margin: 0;
    font-size: .85em;
  }

  .site-header .one-item>.wp-block-column {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  .site-branding {
    padding: 1.5rem 0;
    justify-content: flex-start;
  }

  .site-branding img {
    width: 185px;
  }

  .btn-toggle,
  .btn-toggle2 {
    display: none;
  }

  .btn-content {
    display: inline !important;
  }

  .main-navigation {
    position: relative;
    z-index: 2;
  }

  .main-navigation .btn-content {
    background: transparent;
    padding: 0;
  }

  #primary-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
   align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    margin: 0;
    width: 100%;
    position: relative;
  }

  #primary-menu li a i {
    color: var(--secondary);
}

#primary-menu li.search-icon  {
  background: #F5F5F5;
  margin-left: 3rem;
}

  #primary-menu li {
    margin: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    position: relative;
  }

  #primary-menu li a {
    display: block;
    margin: 0;
    padding: 0.5rem 0.7rem;
    white-space: nowrap;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    color: var(--base);
    font-size: .875em;
    text-decoration: none;
    text-transform: none;
  }

  #primary-menu li.btn-nav a {
    margin: 0 0 0 1.25rem;
    padding: 1.4rem 1.6rem;
    background: var(--primary);
    border-radius: 4px;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    line-height: 0;
  }

  #primary-menu li.btn-nav a:hover {
    background: var(--secondary);
    color: var(--white);
  }

  #primary-menu li a:hover {
    color: var(--primary);
  }

  #primary-menu .current-menu-parent a,
  #primary-menu .current_page_item a {
    color: var(--primary);
  }

  /* sub menu drop-down */
  #primary-menu .menu-item-has-children:after {
    background-image: url(/wp-content/uploads/chevron-down.svg);
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  #primary-menu .menu-item-has-children a {
    padding-right: 2.25em;
  }

  #primary-menu .sub-menu {
    position: absolute;
    min-width: 180px;
    display: none;
    margin: 0 0 0 .75rem;
  }

  #primary-menu li:hover .sub-menu,
  #primary-menu li:focus-within .sub-menu {
    display: block !important;
  }

  #primary-menu li .sub-menu li a,
  #primary-menu li .sub-menu li:last-of-type a {
    margin: 0;
    padding: .5rem .7rem;
    background: var(--primary);
    display: block;
    color: var(--white);
    border-top: 1px solid var(--white);
    border-radius: 0;
    text-align: left;
    white-space: normal;
    line-height: 1.4;
    font-size: 0.8rem;
  }

  #primary-menu li .sub-menu li.current-menu-item a,
  #primary-menu li .sub-menu li a:hover,
  #primary-menu li .sub-menu li:last-of-type a:hover {
    background: var(--white);
    color: var(--primary);
  }

  #primary-menu li.menu-languages {
    position: absolute;
    top: -2.9rem;
    right: 0;
    font-size: .775em;
    z-index: 10;
  }

  #primary-menu li.menu-languages a {
    padding: .3rem .3rem .3rem .3rem;
    color: var(--white);
    line-height: 1.6;
    text-align: right;
    text-transform: none;
  }

  #primary-menu li.menu-languages.menu-item-has-children:after {
    position: static;
  }

  #primary-menu li.menu-languages .sub-menu {
    margin: 0;
    min-width: initial;
    width: 100%;
  }

  #primary-menu li.menu-languages .sub-menu li a {
    padding: .25rem .4rem;
    color: var(--base);
    background: var(--white);
    font-size: .875em;
    border-color: var(--grey);
  }

  #primary-menu li.menu-languages .sub-menu li a:hover {
    background: var(--l-grey);
    color: var(--base);
  }

  .wp-block-table {
    overflow-x: hidden;
  }

  .text-block-right {
    padding: 0 0 0 5rem;
  }

  .text-block-left {
    padding: 0 5rem 0 0;
  }

  .wp-block-cover.has-parallax .wp-block-cover__inner-container {
    background-attachment: fixed;
  }

  .list-three-cols {
    -moz-columns: 3;
    -webkit-columns: 3;
    columns: 3;
    -moz-column-gap: 4rem;
    -webkit-column-gap: 4rem;
    column-gap: 4rem;
  }

  .latest-news .outer-link {
 
    height: 100%;
    /* equal height columns */
  }

  .latest-news .read {
    position: absolute;
    bottom: 1.75rem;
  }
}


@media (max-width: 768px) {
#contact-strip .wp-block-cover__image-background {
  background-position: 100% 50% !important;
}

  .hide-mobile {
    display: none;
  }

  .tabbed-filter-buttons .wp-block-button .wp-block-button__link {
      padding: 0;
  }

  .wp-block-columns.d-two-items .wp-block-image {
    margin: 2rem 0;
  }

  .copyright {
    padding: 1rem 0 1rem 0;
  }

  .wp-block-grid.t-five-items.d-five-items img {
    max-width: 200px;
    width: 100%;
  }

    .wp-block-grid.large-gaps {
      gap: 2rem;
  }

figure.wp-block-gallery.wp-block-gallery, .wp-block-media-text, .wp-block-group.five-items, .wp-block-grid {
      gap: 0.5rem;
  }
}

/* --- Cookie CSS from cookie-modal.css --*/
.cookies-modal-button {
    color: #70cde3;
    background-color: #2b445c;
    padding: 0
}

.cookies-modal-button:hover {
    text-decoration: underline;
    cursor: pointer
}

.modal-backdrop {
    z-index: 20;
    position: fixed;
    top: 0;
    width: 100%;
    height: 105%;
    background-color: rgba(10,34,64,.7)
}

.CookieSettingsModal {
    background-color: #fff;
    margin: auto;
    width: 60%;
    z-index: 1000;
    border-radius: 12px;
    opacity: 1!important;
    margin-top: 4rem;
    padding: 3%;
    font-family: "LinetoBrown","Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
    padding-bottom: 1rem
}

.CookieSettingsModal header {
    text-align: center;
    display: inline-block;
    width: 92%;
}

.close {
    font-size: 4.5rem;
    display: inline-block;
    text-align: right;
    width: 7%;
    background: #fff;
	color: #000;
	padding: 0;
}

.close:hover {
	background: #fff;
}

.modal-body {
    border-bottom: solid 2px #d3d3d3;
    border-top: solid 2px #d3d3d3;
    padding: 1rem 0;
    overflow-y: auto;
    max-height: calc(100vh - 300px)
}

.modal-body p, .modal-body label {
    margin: 0 0 1rem 0;
    color: #000;
    font-size: 1.0rem;
    line-height: 1.3rem;
}

.modal-body label {
    font-weight: 700;
}

.modal-body p, .cookie-description {
    font-weight: 500;
}

.cookie-description {
    padding: 4px 0 4px 18px
}

.modal-body a {
    color: #0B60FF;
    text-decoration: underline;
    cursor: pointer
}

.cookie-policy,.privacy-policy {
    margin: 0
}

.CookieSettingsModal .save-button {
    margin: 2rem auto 1rem auto;
    display: block;
    text-align: center;
    width: 20rem;
    border-radius: 4px;
    background: #8ec448;
    padding: 1.5rem .5rem;
    font-weight: bold;
    font-size: 18px;
    border: solid 1px #75ab2f;
	color: #000;
}

@media screen and (max-width: 1024px) {
    .CookieSettingsModal {
        width:90%
    }

    .CookieSettingsModal header {
        width: 92%
    }

    .save-button {
        font-size: 15px
    }
}

@media screen and (max-width: 530px) {
    .CookieSettingsModal header {
        width:87%
    }
}

@media screen and (max-width: 320px) {
    .modal-body {
        height:41rem
    }
}

@media screen and (max-width: 320px) {
    .modal-body {
        height:30rem
    }
}

.cookie-banner-nongdpr {
    position: fixed;
    inset-block-end: 0;
    z-index: 9999;
    inline-size: 100%;
    background-color: #fff;
    box-shadow: 0 0 5px 5px rgba(0,0,0,.15)
}

.cookie-banner-nongdpr a {
    color: #0B60FF;
    text-decoration: underline;
    cursor: pointer
}

.banner-body {
    max-inline-size: 920px;
    margin: auto;
    padding-inline:24px;padding-block:24px;display: flex;
    flex-direction: row;
    gap: 8px
}

.banner-body a {
    text-decoration: underline;
    cursor: pointer
}

.banner-body .close {
    align-self: start;
    line-height: 16px
}


/* --- GDPR MODAL OVERRIDES --- */
.cookie-popup {
  background: #fff;
  border-radius: 2px;
  bottom: 1rem;
  -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  left: 16px;
  right: 16px;
  max-width: 600px;
  padding: 2rem;
  position: fixed;
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.8s ease 0s;
  transition: -webkit-transform 0.8s ease 0s;
  -o-transition: transform 0.8s ease 0s;
  transition: transform 0.8s ease 0s;
  transition: transform 0.8s ease 0s, -webkit-transform 0.8s ease 0s;
  will-change: transform;
  z-index: 1000;
  display: none;
}
.check-group {
  text-align: left;
  margin: 20px 0;
}
.check-group label {
  font-weight: 600;
  display: inline;
  font-family: 'proxima_novabold', "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 18px;
  color: #3e474c;
}
.check-group p {
  padding: 6px 0 0 26px;
  line-height: 24px;
}
input[type="checkbox"] {
  margin: 0;
}
.cookie-popup.cookie-popup--uses-badge:hover,
.cookie-popup.cookie-popup--uses-badge.cookie-popup--uses-link:hover {
  bottom: 2rem;
}
.cookie-popup.cookie-popup--uses-badge.cookie-popup--uses-link.cookie-popup--is-sticky {
  bottom: 0.6rem;
}
.cookie-popup--uses-badge > h2,
.cookie-popup--uses-badge > p,
.cookie-popup--uses-badge > form {
  display: none;
}
.cookie-popup--is-sticky {
  border-radius: 2px;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: transform 0.8s ease 0s;
  transition: transform 0.8s ease 0s;
}
.cookie-popup--is-sticky {
  background: #ffffff;
  bottom: 1rem;
  height: auto;
  padding: 2rem;
  width: 100%;
}
.cookie-popup--uses-badge.cookie-popup--is-sticky > h2,
.cookie-popup--uses-badge.cookie-popup--is-sticky > p,
.cookie-popup--uses-badge.cookie-popup--is-sticky > form {
  display: block;
}
.cookie-popup.cookie-popup--uses-link {
  background: #fff;
  bottom: 0;
}
.cookie-popup.cookie-popup--uses-link {
  background: #24a931;
  bottom: 0.6rem;
}
.cookie-popup.cookie-popup--uses-link.cookie-popup--is-sticky {
  background: #fff;
}
.cookie-popup--is-sticky.cookie-popup--uses-link {
  -webkit-transform: translateY(-1rem);
  -ms-transform: translateY(-1rem);
  transform: translateY(-1rem);
}
.cookie-popup > h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1d9ad2;
}
.cookie-popup p {
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  font-family: inherit;
}
.cookie-popup a {
  font-weight: 600 !important;
}
.cookie-popup a:hover {
  text-decoration: underline;
}
.cookie-popup a:hover {
  text-decoration: underline;
}
.cookie-popup__save {
  background: #83d734;
  border: none !important;
  border-radius: 40px;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #ffffff !important;
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  font-family: 'proxima_novabold', "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}
.cookie-popup > form,
.cookie-popup__save-wrapper {
  margin-top: 1.06667rem;
}
.cookie-popup__save:hover,
.cookie-popup__save:active {
  opacity: 0.85;
}
.cookie-popup-label {
  color: #fff;
  cursor: pointer;
  left: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  white-space: nowrap;
}
.cookie-popup--is-sticky .cookie-popup-label {
  display: none;
}
.cookie-popup__cancel {
  margin: 8px 24px;
  cursor: pointer;
  font-family: 'proxima_novabold', "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: 16px;
  display: none;
}
/* --- END GDPR MODAL OVERRIDES --- */

/* --- GDPR MODAL OVERRIDES --- */
#gdpr-modal-overlay {
  width: 100%;
  height: 100%;
  z-index: 2;
  /* places the modal overlay between the main page and the modal dialog*/
  background: rgba(17, 17, 17, 0.2);
  opacity: 0.7;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  margin: 0;
  padding: 0;
}
.modalCloseButton {
  float: right;
  position: absolute;
  top: 10px;
  right: 10px;
  height: 38px;
  width: 38px;
  cursor: pointer;
  display: none;
  background: #D8DADF;
  border-radius: 50px;
  transition: all 200ms ease-in-out;
}
.modalCloseButton svg#cancel path {
  stroke: #5A6169;
}
.modalCloseButton:focus,
.modalCloseButton:hover {
  background: #cacdd4;
  transform: scale(1.03);
}
.screen-reader-offscreen {
  position: absolute;
  right: -999px;
  width: 1px;
  height: 1px;
  top: auto;
}
.cookie-popup {
  background: #fff;
  font-family: "Metropolis", -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
  border-radius: 2px;
  right: 0;
  bottom: 0;
  -webkit-box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  max-width: 600px;
  padding: 2rem;
  position: fixed;
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.8s ease 0s;
  transition: -webkit-transform 0.8s ease 0s;
  -o-transition: transform 0.8s ease 0s;
  transition: transform 0.8s ease 0s;
  transition: transform 0.8s ease 0s, -webkit-transform 0.8s ease 0s;
  will-change: transform;
  z-index: 1000;
  display: none;
}
.cookie-popup h2 {
  font-size: 24px;
  color: #111111;
  padding: 10px 0;
}
.cookie-popup p {
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}
.cookie-popup a {
  color: #A61C49;
}
.cookie-popup a:focus,
.cookie-popup a:hover {
  text-decoration: underline;
}
.check-group {
  text-align: left;
  margin: 20px 0;
}
.check-group label {
  font-family: "Museo Slab";
  display: inline;
  font-size: 18px;
  margin-left: 10px;
}
.check-group p {
  padding: 6px 0 0 46px;
  color: #444444;
}
[type="checkbox"]:not(:checked) {
  position: absolute;
  left: -9999px;
}
[type="checkbox"]:not(:checked) + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}
[type="checkbox"]:not(:checked) + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25em;
  height: 1.25em;
  border: 2px solid #ccc;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
[type="checkbox"]:not(:checked) + label:after {
  content: '';
  position: absolute;
  top: 0.15em;
  left: 0.22em;
  font-size: 1.3em;
  line-height: 0.8;
  color: #29CFC3;
  transition: all 0.2s;
  opacity: 0;
  transform: scale(0);
}
[type="checkbox"]:not(:checked):focus + label:before {
  border: 2px dotted blue;
}
[type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
[type="checkbox"]:checked + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}
[type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25em;
  height: 1.25em;
  border: 2px solid #29CFC3;
  background: #29CFC3;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
[type="checkbox"]:checked + label:after {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  width: 4px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
[type="checkbox"]:checked:focus + label:before {
  border: 2px dotted blue;
}
[type="checkbox"]:disabled:not(:checked) + label:before {
  box-shadow: none;
  border-color: #ddd;
  background-color: #ddd;
}
[type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #ddd;
  background-color: #ddd;
}
[type="checkbox"]:disabled:checked + label:after {
  border-color: #999;
}
[type="checkbox"]:disabled + label {
  color: #aaa;
}
label:hover:before {
  border: 2px solid #4778d9 !important;
}
.cookie-popup.cookie-popup--uses-badge:hover,
.cookie-popup.cookie-popup--uses-badge.cookie-popup--uses-link:hover {
  bottom: 2rem;
}
.cookie-popup.cookie-popup--uses-badge.cookie-popup--uses-link.cookie-popup--is-sticky {
  bottom: 0.6rem;
}
.cookie-popup--uses-badge > h2,
.cookie-popup--uses-badge > p,
.cookie-popup--uses-badge > form {
  display: none;
}
.cookie-popup--is-sticky {
  border-radius: 2px;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: transform 0.8s ease 0s;
  transition: transform 0.8s ease 0s;
}
.cookie-popup--uses-badge.cookie-popup--is-sticky > h2,
.cookie-popup--uses-badge.cookie-popup--is-sticky > p,
.cookie-popup--uses-badge.cookie-popup--is-sticky > form {
  display: block;
}
.cookie-popup.cookie-popup--uses-link {
  background: #fff;
  bottom: 0;
}
.cookie-popup.cookie-popup--uses-link {
  background: #24a931;
  bottom: 0.6rem;
}
.cookie-popup.cookie-popup--uses-link.cookie-popup--is-sticky {
  background: #fff;
}
.cookie-popup--is-sticky.cookie-popup--uses-link {
  -webkit-transform: translateY(-1rem);
  -ms-transform: translateY(-1rem);
  transform: translateY(-1rem);
}
.cookie-popup__save {
  background: #A61C49;
  border: none !important;
  border-radius: 5px;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #ffffff !important;
  font-family: "Metropolis", -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
  font-size: 17px;
  padding: 10px 20px;
  margin: 20px 0;
  cursor: pointer;
  -webkit-appearance: none;
}
.cookie-popup__save:focus,
.cookie-popup__save:hover,
.cookie-popup__save:active {
  background: #e0487a;
}
.cookie-popup > form,
.cookie-popup__save-wrapper {
  margin-top: 1.06667rem;
}
.cookie-popup__save-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  margin-top: 30px;
}
.cookie-popup-label {
  color: #fff;
  cursor: pointer;
  left: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  white-space: nowrap;
}
.cookie-popup--is-sticky .cookie-popup-label {
  display: none;
}
.cookie-popup__cancel {
  margin: 8px 24px;
  cursor: pointer;
  font-size: 16px;
  color: #111111;
  -webkit-appearance: none;
  border: none;
  font-family: inherit;
  display: none;
  background: none;
}
.cookie-popup__cancel:focus,
.cookie-popup__cancel:hover {
  text-decoration: underline;
}
#bkgOverlay {
  background: rgba(17, 17, 17, 0.2);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  display: none;
}
@media (max-width: 600px) {
  .cookie-popup--is-sticky {
    bottom: 0 !important;
    left: 0;
    right: 0;
    height: 80%;
    overflow-y: auto;
    overflow-x: hidden;
  }
}
/* --- END GDPR MODAL OVERRIDES --- */

.modal-body [type="checkbox"]:checked, .modal-body [type="checkbox"] {
	position: unset;
	left: unset;
}