:root {
  --primary: #41ac47;
  --primary-lighter: #D9EEDA;
  --secondary: #26313A;
  --grey: #CCC;
  --l-grey: #EFEFEF;
  --d-grey: #545454;
  --base: #333;
  --white: #FFF;
}

@font-face {
    font-family: "OpenSans-Bold";
    src: url("../fonts/OpenSans-CondBold.ttf");
}

/* Theme colours */
.has-primary-color {
  color: var(--primary);
}

.has-primary-background-color {
  background-color: var(--primary);
}

.has-primary-border-color {
    border: 3px solid var(--primary);
    border-radius: 10px;
}

.has-primary-lighter-color {
  color: var(--primary-lighter);
}

.has-primary-lighter-background-color {
  background-color: var(--primary-lighter);
}

.has-secondary-color {
  color: var(--secondary);
}

.has-secondary-background-color {
  background-color: var(--secondary);
}

.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);
}

.has-background-dim {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}


.wp-block-image figure.aligncenter{
      margin-bottom: 1rem;
}

.wp-block-getwid-accordion {
  margin-bottom: 2em;
}

.home .wp-block-getwid-content-slider-slide.slick-slide {
    padding: 1em;
}
.home .wp-block-getwid-content-slider-slide.slick-slide h3{
    font-size: 1.2em;
    line-height: 1.25;
    margin: 0 0 0.5rem 0;
}

/* Fade animations */

.animate {
  opacity: 0;
}

.fade {
  opacity: 1;
  transition: opacity 0.7s ease;
  transition-delay: 0.7s;
}

.on-scroll--bottom {
  opacity: 0;
  transform: translateY(20px);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: transform;
}

.fade--bottom {
  animation: fade-bottom 1s ease forwards;
}

@keyframes fade-bottom {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.on-scroll--top {
  opacity: 0;
  transform: translateY(-20px);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: transform;
}

.fade--top {
  animation: fade-top 1s ease forwards;
}

.resources-page--first-animate + div {
  transform: none;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  will-change: unset;
}

.resources-page--first-animate + div.fade { opacity: 1; }

@keyframes fade-top {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.on-scroll--left {
  opacity: 0;
  transform: translateX(-20px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.fade--left {
  animation: fade-left 1s ease forwards;
}

@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: fade-right 1s ease forwards;
}

@keyframes fade-right {
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.delay-200 {
  animation-delay: 0.2s !important;
}

.delay-400 {
  animation-delay: 0.4s !important;
}

.delay-600 {
  animation-delay: 0.6s !important;
}

.delay-800 {
  animation-delay: 0.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;
}

.delay-1800 {
  animation-delay: 1.8s !important;
}

.delay-2000 {
  animation-delay: 2s !important;
}


.alignleft img {
      margin-left: 0;
}

.green-arrow-dark{
  position:relative;
}

figure.wp-block-image {
  margin-bottom: 20px;
}


.adjustable-height-col{

}

.wp-block-group.module-box {
    padding: 1.5rem;
}

.slick-next:before, .slick-prev:before {
    font-size: 30px;
}

.slick-next, .slick-prev {
    width: 30px;
    height: 30px;
}

.green-arrow-dark:after{
content: '';
    background: url(/wp-content/uploads/green-arrow-down.png) no-repeat;
    width: 100%;
    height: 80px;
    background-position: 50% 100%;
    position: absolute;
    background-size: cover;
    z-index: 99;
    bottom: -6px;
}

.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;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html {
  font: 300 16px/1.5 'Crimson Text', serif;
  color: var(--base);
  -webkit-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow-x: hidden;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  margin: 0 auto;
  background: var(--white);
}

#main-content .wp-block-column {
  position: relative;
}

.wp-block-cover.absolute {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
}

section.wp-block-group.module-box {
    padding: 5rem 2.5rem;
}



/* Narrow Width of blocks */

.alignwide.narrow>div:first-of-type, .narrow>div:first-of-type  {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.alignwide.narrower>div:first-of-type, .narrower>div:first-of-type  {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.alignwide.narrowest>div:first-of-type, .narrowest>div:first-of-type  {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
}

#foundation .hero .wp-block-group__inner-container {
      background: rgb(255 255 255 / 50%)
}

#foundation .hero h1 {
    text-transform: uppercase;
    margin-bottom: 1rem;
}
#foundation .hero p {
   font-family: 'Open Sans', sans-serif;
}

#foundation .hero p:last-child {
  margin-bottom: 0;
}

.narrow>div:first-of-type {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Width of "wide" blocks */
.alignwide>div:first-of-type {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Width of "full-wide" blocks */
.alignfull>div:first-of-type {
  max-width: 1800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.site-header .alignfull>div:first-of-type {
  padding: 0;
}

.site-footer .alignfull>div:first-of-type {
  padding-top: 0;
  padding-bottom: 0;
}

p::selection, h1::selection, h2::selection, h3::selection, h4::selection, li::selection, a::selection, span::selection {
    background: var(--primary);
}

p.has-primary-color::selection, h1.has-primary-color::selection, h2.has-primary-color::selection, h3.has-primary-color::selection, h4.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-family: 'OpenSans-Bold', sans-serif;
  font-weight: 700;
  margin: 0 0 1rem 0;
  padding: 0;
  color: var(--base);
}

h1 {
  font-size: 2.5em;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

h2 {
  font-size: 1.9em;
  margin: 0 0 1.5rem 0;
  line-height: 1.15;
}

h3 {
  font-size: 1.75em;
  line-height: 1.25;
  margin: 0 0 1rem 0;
}

h3.has-small-font-size {
  font-size: 1.2em;
}

h4 {
  font-size: 1em;
  line-height: 1.5;
  margin: 0 0 0.4rem 0;
}

p {
  font-size: 1em;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  padding: 0;
  font-weight: 400;
}

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;
}

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;
}

.img-margin img {
  margin: 2rem 0 3rem 0;
}

svg {
  display: block;
}

figure {
  margin: 0;
}

ul,
main ul.list-no-style {
  list-style-type: none;
  font-size: 1em;
  margin: 0;
  padding: 0;
}

ul#menu-footer-mini-menu-1 li a, ul#menu-footer-mini-menu-2 li a{
     font-size: .9em;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
}

main ul,
ol {
    list-style-type: disc;
    font-size: 0.9em;
    margin: 0 0 1rem 1rem;
    padding: 0;
    line-height: 1.6;
}

.categories-list ul {
  list-style-type: none;
  margin:0;
}

.categories-list ul li a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  padding: 0rem 1rem;
}

.categories-list ul li a:hover {
    color: var(--primary);
}

.categories-list ul li {
  margin-bottom: 5px;
  padding: 5px 0;
}

.categories-list ul li.active {
  background:  var(--secondary);
}

.categories-list ul li.active a{
    color: var(--primary);
}

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: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

/* 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;
}

/*--------------------------------------------------------------
# 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: bold;
  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 {
  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);
  text-transform: uppercase;
  line-height: 0;
  color: var(--white);
  cursor: pointer;

      font-family: 'Open Sans', sans-serif;
    padding: 1.25rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
}

.wpcf7 input[type="submit"]:hover {
  background:var(--secondary);
}

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: 999;
  -webkit-box-shadow: 0 8px 20px -4px rgba(0, 0, 0, .15);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, .15);
}

.site-header .alignfull {
  padding: 0;
}

.site-branding {
  padding: .6rem 1.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-branding img {
  width: 175px;
  -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;
}

.menu-social-media-container ul li {
  margin: .65rem 1rem .65rem 0;
}

.menu-social-media-container ul li:last-of-type {
  margin-right: 0;
}

.menu-social-media-container img {
  width: 35px;
}

/* Language selector */
.menu-languages-container {
  position: relative;
  top: 0;
  cursor: pointer;
}

ul#menu-languages li {
    display: inline-block;
}

.menu-languages-container ul {
  /* position: absolute; */
  right: 0;
  top: 0;
  z-index: 3;
}



.menu-languages-container ul .sub-menu {
  position: relative;
}

.menu-languages-container ul li a {
  display: inline-block;
  padding: .5rem 0.3rem;
  color: var(--white);
  background: none;
  background-size: 8px;
  font-size: .9em;
  line-height: 1.55;
  text-align: right;
}

.menu-languages-container ul .sub-menu li a {
  text-align: left;
}

.menu-languages-container a img {
  display: inline;
  vertical-align: middle;
  margin-right: 0;
  position: relative;
  bottom: 1px;
}

.menu-languages-container ul.sub-menu {
  display: none;
  border: 1px solid var(--d-grey);
}

.menu-languages-container:hover ul.sub-menu {
  display: block;
}

.menu-languages-container ul.sub-menu li a {
  display: block;
  padding: .5rem 1rem;
  -webkit-box-shadow: 0px 4px 12px -3px rgb(0 0 0 / 20%);
  box-shadow: 0px 4px 12px -3px rgb(0 0 0 / 20%);
  background-color: var(--white);
  border-bottom: 1px solid var(--d-grey);
  text-decoration: none;
  color: var(--base);
}

.menu-languages-container ul.sub-menu li:last-child a {
  border: 0;
}

.menu-languages-container ul.sub-menu a:hover {
  color: var(--primary);
  background: var(--l-grey);
}

/*--------------------------------------------------------------
# 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;
}

.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, .5);
  line-height: 1.25;
}

.main-navigation li:last-child a {
  border: 0;
}

.main-navigation .sub-menu {
  display: none;
  background: var(--base);
}

.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: 2rem;
  top: .25rem;
  content: "";
  z-index: 111;
  cursor: pointer;
}

/*--------------------------------------------------------------
## 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 {
  display: grid;
  gap: 1.5rem;
  grid-auto-flow: row;
  /*grid-template-columns: repeat(auto-fit, minmax(min(5rem, 100%), 1fr));*/
  /*grid-template-columns: repeat(auto-fill, minmax(min(5rem, 100%), 1fr));*/
}

.wp-block-columns.is-not-stacked-on-mobile {
  grid-auto-flow: column;
}

/* without gutter */
.wp-block-columns.no-gutter {
  gap: 0;
}

.wp-block-columns.no-gutter-bottom {
  row-gap: 0;
}

.wp-block-columns.slim-gutter {
  gap: .5rem;
}

.wp-block-columns.large-gutter {
  gap: 2.5rem;
}

/* 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*/
.wp-block-columns.two-items {
  grid-template-columns: repeat(2, 1fr);
}

.wp-block-columns.three-items {
  grid-template-columns: repeat(3, 1fr);
}

.wp-block-columns.four-items {
  grid-template-columns: repeat(4, 1fr);
}

.wp-block-columns.five-items {
  grid-template-columns: repeat(5, 1fr);
}

.wp-block-columns.six-items {
  grid-template-columns: repeat(6, 1fr);
}

/*uneven columns as fractions*/
.wp-block-columns.one-of-three {
  grid-template-columns: 33.3fr 76.7fr;
}

.wp-block-columns.one-of-four {
  grid-template-columns: 25fr 75fr;
}

.wp-block-columns.one-of-five {
  grid-template-columns: 20fr 80fr;
}

.wp-block-columns.one-of-six {
  grid-template-columns: 16.6fr 83.4fr;
}

.wp-block-columns.two-of-five {
  grid-template-columns: 40fr 60fr;
}

/*reverse uneven columns as fractions*/
.wp-block-columns.two-of-three {
  grid-template-columns: 76.7fr 33.3fr;
}

.wp-block-columns.three-of-four {
  grid-template-columns: 75fr 25fr;
}

.wp-block-columns.four-of-five {
  grid-template-columns: 80fr 20fr;
}

.wp-block-columns.five-of-six {
  grid-template-columns: 83.4fr 16.6fr;
}

.wp-block-columns.three-of-five {
  grid-template-columns: 60fr 40fr;
}

/* Switch 2 column order */
.switcharoo:nth-of-type(1) {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 2;
  order: 2;
}

.switcharoo:nth-of-type(2) {
  -webkit-box-ordinal-group: 1;
  -ms-flex-order: 1;
  order: 1;
}

/* slider */
.hero .message {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /*justify-content: center;*/
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--l-grey);
  position: relative;
  padding: 4rem;
  z-index: 1;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.slider {
  display: block;
}

.hero .message p {
  font-size: 1.4em;
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

.hero.main-img .message h1 {
  margin: 0;
}

.hero img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.wp-block-columns, .wp-block-gallery {
  display: grid;
  gap: 1.5rem;
  grid-auto-flow: row;
  /*grid-template-columns: repeat(auto-fit, minmax(min(5rem, 100%), 1fr));*/
  /*grid-template-columns: repeat(auto-fill, minmax(min(5rem, 100%), 1fr));*/
}

.wp-block-gallery {
      -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 60px;
}


.wp-block-cover {
  padding: 4rem 0;
  position: relative;
}

.wp-block-cover div[role=img] {
  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%;
}

.wp-block-cover.bg-overlay {
  position: relative;
}

.wp-block-cover.bg-overlay::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(244, 171, 28, 0)), color-stop(50%, rgba(244, 171, 28, .5)));
  background-image: -o-linear-gradient(left, rgba(244, 171, 28, 0) 0%, rgba(244, 171, 28, .5) 50%);
  background-image: linear-gradient(90deg, rgba(244, 171, 28, 0) 0%, rgba(244, 171, 28, .5) 50%);
}

.wp-block-cover .module-box {
  display: block;
  padding: 2rem;
  background: var(--white);
  background: rgba(255, 255, 255, .85);
  border-radius: 3px;
  position: relative;
  z-index: 2;
}

.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%);
}

.mv__cover-overflow .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
}

.heading-only {
  margin: 0 0 2rem 0;
}

.blog .latest-news h2 {
  font-size: 1.15em
}

.blog .latest-news p {
  font-size: .85em;
}

.post-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  bottom: 0;
  width: 100%;
  padding: 0px 40px 0 0px;
}

.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;
}

.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%;
}

.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 .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 */
/* 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: 2;
}

.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%);
}

.overlay .cancel::after {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 36px;
  border-radius: 0 0 0 4px;
  background: url(/wp-content/uploads/close-icon.svg) center no-repeat;
  background-color: var(--primary);
  background-size: 20px 20px;
  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;
}

.popup h3 {
  color: var(--primary);
  font-weight: 700;
}

.popup {
  max-width: 1000px;
  max-height: 550px;
  min-width: 400px;
  min-height: 200px;
  width: 70%;
  overflow: auto;
  padding: 2rem;
  background: var(--grey);
  border: none;
  border-radius: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.popup .wp-block-columns>.wp-block-column h3 {
  margin-top: 12px;
  font-size: 1.2rem;
}

.popup p,
.popup ul,
.popup ol {
  font-size: .85em;
  margin-bottom: 1.25rem;
}

.popup p:last-child,
.popup ul:last-child,
.popup ol:last-child {
  margin-bottom: .5rem;
}

.popup .content {
  max-height: 400px;
  overflow: auto;
}

/* buttons */
.wp-block-button {
  background: var(--primary);
  border-radius: 8px;
}

.wp-block-button a {
  display: block;
  font-family: 'Open Sans', sans-serif;
  padding: 1.25rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  color: var(--white);
  /*white-space: nowrap;*/
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  font-size: 1em;
  transition: all .3s ease;
}

.wp-block-button:hover {
  background: var(--secondary);
}

.wp-block-button__link {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
}

.wp-block-button .has-primary-background-color:hover {
  background: var(--secondary);
}

.wp-block-button .has-secondary-background-color:hover {
  background: var(--primary);
}

footer .wp-block-button:hover {
  background:var(--primary);
}

footer .wp-block-button .has-primary-background-color:hover {
  background:var(--primary);
  opacity: 0.8;
}

.wp-block-button.is-style-outline {
  background: transparent;
  border: 4px solid var(--base);
}

.wp-block-button.is-style-outline a {
  color: var(--base);
}

.wp-block-button.is-style-outline:hover {
  border-color: var(--primary);
}

.wp-block-button.is-style-outline a:hover {
  background: transparent;
  color: var(--primary);
  border-radius: 0;
}

.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;
}

.wp-block-buttons .wp-block-button:last-of-type {
  margin: 0;
}

.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: 1.15em;
  letter-spacing: 2px;
}

/*table styling*/
.wp-block-table {
  max-width: calc(100vw - 2rem);
  margin: 0 0 2rem 0;
  padding: 1rem 0;
}

.wp-block-table table {
  border-collapse: collapse;
  overflow-x: auto;
  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 {
  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: 100;
  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 {
  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 h2 {
  margin: 0 0 1.75rem 0;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.3;
}

.site-info p,
.site-info li {
  font-size: .725em;
  line-height: 2.25;
}

.site-info p {
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.copyright {
  display: block;
  padding: .25rem 0 .45rem 0;
  width: 100%;
  background: var(--base);
  color: var(--white);
}

.copyright ul,
.copyright p {
  margin: 0;
  padding: 0;
}

.copyright ul li,
.copyright p {
  display: inline-block;
  font-size: .6em;
  line-height: 1.4;
}

.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.alignfull>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 a {
  padding: .5rem 1rem;
  text-decoration: none;
  font-size: .7em;
}

.cookie-banner .wp-block-button a:hover {
  /*background: var(--white);*/
  opacity: .8;
}

.cookie-banner p {
  font-size: .85em;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner .close {
  color: var(--white);
  background: var(--primary);
}

@media (max-width: 768px){

  .wp-block-getwid-content-slider-slide__wrapper .wp-block-columns, .featured-product.wp-block-columns {
  display: block;
}

  .owl-carousel {
    height: 500px;
  }
  
}



/* tablet (medium) screens */
@media (min-width: 768px) {
  html {
    font-size: 18px;
  }

  .absolute-slider {
  max-width: 100%;
  position: absolute;
}

  .narrow>div:first-of-type,
  .alignwide>div:first-of-type,
  .alignfull>div:first-of-type {
    padding: 4rem 2rem;
  }

  .wp-block-columns,
  .wp-block-columns.is-not-stacked-on-mobile {
   /* grid-auto-flow: column;*/
    position: relative;
  }

  /*even columns*/
  .wp-block-columns.t-one-item {
    grid-auto-flow: row;
  }

  .wp-block-columns.t-two-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .wp-block-columns.t-three-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .wp-block-columns.t-four-items {
    grid-template-columns: repeat(4, 1fr);
  }

  .wp-block-columns.t-five-items {
    grid-template-columns: repeat(5, 1fr);
  }

  .wp-block-columns.t-six-items {
    grid-template-columns: repeat(6, 1fr);
  }

  /*uneven columns as fractions*/
  .wp-block-columns.t-one-of-two {
    grid-template-columns: 50fr 50fr;
  }

  .wp-block-columns.t-one-of-three {
    grid-template-columns: 33.3fr 76.7fr;
  }

  .wp-block-columns.t-one-of-four {
    grid-template-columns: 25fr 75fr;
  }

  .wp-block-columns.t-one-of-five {
    grid-template-columns: 20fr 80fr;
  }

  .wp-block-columns.t-one-of-six {
    grid-template-columns: 16.6fr 83.4fr;
  }

  .wp-block-columns.t-two-of-five {
    grid-template-columns: 40fr 60fr;
  }

  /*reverse uneven columns as fractions*/
  .wp-block-columns.t-two-of-three {
    grid-template-columns: 76.7fr 33.3fr;
  }

  .wp-block-columns.t-three-of-four {
    grid-template-columns: 75fr 25fr;
  }

  .wp-block-columns.t-four-of-five {
    grid-template-columns: 80fr 20fr;
  }

  .wp-block-columns.t-five-of-six {
    grid-template-columns: 83.4fr 16.6fr;
  }

  .wp-block-columns.t-three-of-five {
    grid-template-columns: 60fr 40fr;
  }

  .hero .switcharoo:nth-of-type(1) {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 1;
    order: 1;
  }

  .hero .switcharoo:nth-of-type(2) {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 2;
    order: 2;
  }

  .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;
  }

  .main-navigation li a {
    border-bottom: 0;
    line-height: 1.5;
  }

  .site-branding {
    padding: 1rem 2rem;
  }

  .site-branding img {
    width: 270px;
  }

  .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;
  }

  .hero img {
    height: 100vh;
  }

  .hero .wp-block-button a {
    padding: 1.25rem .5rem;
  }

  .slider .owl-dots,
  .slider .owl-nav {
    text-align: center;
    -webkit-tap-highlight-color: transparent
  }

  .slider .owl-dots {
    position: absolute;
    bottom: 4em;
    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 white;
    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;
  }

  .home section.wp-block-group.slider.owl-carousel:after {
    content: '';
    background: url(/wp-content/uploads/iso-green-arrow.png) no-repeat;
    width: 100%;
    height: 90px;
    background-position: 50% 100%;
    position: absolute;
    background-size: cover;
    z-index: 99;
    bottom: -6px;
}


  .slider .owl-dots .owl-dot.active span,
  .slider .owl-dots .owl-dot:hover span {
    background: var(--primary);
    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
  }

  .wp-block-cover .module-box {
    display: block;
    width: 100%;
    background: var(--white);
    padding: 3rem;
  }

  .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;
  }

  .copyright {
    padding: .25rem 0 .45rem 0;
  }
}



/* desktop */
@media (min-width: 1200px) {
  html {
    font-size: 20px;
  }

  h1 {
    font-size: 3em;
  }

  h2 {
    font-size: 1.9em;
  }




  .wp-block-column.adjustable-height-col {
    min-height: 600px;
}

  .narrow>div:first-of-type,
  .alignwide>div:first-of-type,
  .alignfull>div:first-of-type {
    padding: 5rem 2.5rem;
  }

.green-arrow-dark.alignfull>div:first-of-type, 
.green-arrow-dark.alignwide>div:first-of-type {
  padding: 5rem 2.5rem 7rem 2.5rem;
}


  .site-header .alignfull>div:first-of-type {
    padding: 0 2.5rem;
  }

  /*even columns*/
 .wp-block-columns.two-items, .wp-block-gallery.columns-2  {
  grid-template-columns: repeat(2, 1fr);
}

.wp-block-columns.three-items, .wp-block-gallery.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.wp-block-columns.four-items, .wp-block-gallery.columns-4  {
  grid-template-columns: repeat(4, 1fr);
}

.wp-block-columns.five-items, .wp-block-gallery.columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.wp-block-columns.six-items, .wp-block-gallery.columns-6 {
  grid-template-columns: repeat(6, 1fr);
}


  /*uneven columns as fractions*/
  .wp-block-columns.d-one-of-two {
    grid-template-columns: 50fr 50fr;
  }

  .wp-block-columns.d-one-of-three {
    grid-template-columns: 33.3fr 76.7fr;
  }

  .wp-block-columns.d-one-of-four {
    grid-template-columns: 25fr 75fr;
  }

  .wp-block-columns.d-one-of-five {
    grid-template-columns: 20fr 80fr;
  }

  .wp-block-columns.d-one-of-six {
    grid-template-columns: 16.6fr 83.4fr;
  }

  .wp-block-columns.d-two-of-five {
    grid-template-columns: 40fr 60fr;
  }

  .wp-block-columns.d-two-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .wp-block-columns.d-three-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .wp-block-columns.d-four-items {
    grid-template-columns: repeat(4, 1fr);
  }

  /*reverse uneven columns as fractions*/
  .wp-block-columns.d-two-of-three {
    grid-template-columns: 76.7fr 33.3fr;
  }

  .wp-block-columns.d-three-of-four {
    grid-template-columns: 75fr 25fr;
  }

  .wp-block-columns.d-four-of-five {
    grid-template-columns: 80fr 20fr;
  }

  .wp-block-columns.d-five-of-six {
    grid-template-columns: 83.4fr 16.6fr;
  }

  .wp-block-columns.d-three-of-five {
    grid-template-columns: 60fr 40fr;
  }

  /* Switch 2 column order */
  .switcharoo:nth-of-type(1) {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 1;
    order: 1;
  }

  .switcharoo:nth-of-type(2) {
    -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: 200px;
  }

  .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: flex-end;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -ms-flex-line-pack: center;
    align-content: center;
    margin: 0;
    width: 100%;
  }

  #primary-menu li {
    font-size: .9rem;
    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: 1rem;
    white-space: nowrap;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    color: var(--base);
    font-size: .8em;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
  }

 /* #primary-menu li:last-of-type 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:last-of-type a:hover {
    background: var(--primary);
    color: var(--white);
  }*/

  #primary-menu li:first-child a {
    margin-left: 0;
  }

  #primary-menu li:last-child a {
    margin-right: 0;
  }

  #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: .5rem;
  }

  #primary-menu .menu-item-has-children a {
    padding-right: 2.25em;
  }

  #primary-menu .sub-menu {
    position: absolute;
    display: none;
    margin: 0 0 0 1rem;
    min-width: 170px;
  }

  #primary-menu li:hover .sub-menu {
    display: block;
  }

  #primary-menu li .sub-menu li a,
  #primary-menu li .sub-menu li:last-of-type a {
    margin: 0;
    padding: .5rem .6rem;
    background: var(--secondary);
    display: block;
    color: var(--white);
    border-top: 1px solid var(--white);
    border-radius: 0;
    text-align: left;
    white-space: normal;
    text-transform: capitalize;
    line-height: 1.4;
  }

  #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 {
    color: var(--primary);
  }

  .hero figure {
    max-height: 750px;
    overflow: hidden;
  }

  .hero img {
    height: auto;
  }

  .hero .wp-block-button a,
  .wp-block-button a {
        padding: 0.6rem 1.8rem;
  }

  .text-block-right {
    padding: 0 0 0 5rem;
  }

  .text-block-left {
    padding: 0 5rem 0 0;
  }

  .wp-block-cover.has-parallax div[role=img] {
    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 {
    display: -ms-grid;
    display: grid;
    grid-auto-rows: 1fr;
    height: 100%;
    /* equal height columns */
  }

  .latest-news .read {
    position: absolute;
    bottom: 1.75rem;
  }
}
