:root {
  --primary: #d11f39;
  --secondary: red;
  --l-grey: #f1f1f1;
  --d-grey: #7c7c7c;
  --white: #FFF;
  --black: #000000;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html {
  font: 300 16px/1.5 'Roboto', Arial, sans-serif;
  color: var(--black);
  -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);
}

/* Narrow Width of blocks */
.narrow>div:first-of-type {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.alignwide.narrow>div:first-of-type {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.alignfull.narrow>div:first-of-type{
  max-width: 1200px;
  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;
}

.alignwide.no-vertical-padding>div:first-of-type, .alignfull.no-vertical-padding>div:first-of-type {
  padding-top:  0 !important;
  padding-bottom:  0 !important;
}

.no-vertical-padding, .no-vertical-padding>div:first-of-type {
  padding-top:  0 !important;
  padding-bottom:  0 !important;
}

.alignwide.no-top-padding>div:first-of-type, .alignfull.no-top-padding>div:first-of-type {
  padding-top:  0 !important;
}

.wp-block-button.ask-expert {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 9;
        box-shadow: 0px 0px 10px 2px #00000080;
}

.wp-block-button.ask-expert a {
    padding: 0.5rem 2rem;
 font-size: 18px;
}

.wp-block-group.magazine-group {
  margin-bottom:  20px;
}

.magazine-group .wp-block-image, .magazine-group .wp-block-file {
  display: inline-block;
    vertical-align: middle;
        max-width: calc(100% - 156px);

}


.wp-block-file.download{
max-width: calc(100% - 50px) !important;
display: inline-block;
    vertical-align: middle;
}

.wp-block-file.download a {
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    background: url(../img/download-icon.png) no-repeat;
    background-size: 40px 40px;
    background-position: 0% 50%;
    padding: 10px 0px 10px 50px;
    display: inline-block;
}



.magazine-group .wp-block-image img, .magazine-group .wp-block-file a {
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;

}

.magazine-group .wp-block-image img{
max-width: 150px;
}

.magazine-group .wp-block-image img:hover {
  opacity:  0.8;
}

.magazine-group .wp-block-file a:hover {
 text-decoration: underline;
}

.has-image .wp-block-getwid-video-popup__button{
    -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
transform: scale(1);
}


.has-image .wp-block-getwid-video-popup__button:hover{
transform: scale(1.2);
}

a.wp-block-file__button {
    display: inline-block;
    vertical-align: middle;
    padding: 0.2rem 1.2rem;
    font-size: 0.8em;
    background: var(--primary);
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all .3s ease;
    margin-left: 20px;
    -o-transition: all .3s ease;
}

.wp-block-file {
     /* margin-bottom: 25px;*/
     margin-bottom: 0;
     padding-left: 10px;
}

a.wp-block-file__button:hover {
  color:  white;
  opacity:  0.8;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  margin: 0 0 1rem 0;
  padding: 0;
  color: var(--primary);
}

h1 {
  font-size: 2.5em;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

h2 {
  font-size: 2em;
  margin: 0 0 1rem 0;
  line-height: 1.15;
}

h3 {
  font-size: 1.5em;
  line-height: 1.25;
  margin: 0 0 1.5rem 0;
}

h4 {
  font-size: 1em;
  line-height: 1.5;
  margin: 0 0 0.4rem 0;
}

p {
  font-size: 1em;
  line-height: 1.5;
  margin: 0 0 1.3rem 0;
  padding: 0;
  font-weight:  400;
}

.site-branding a.custom-logo-link {
    display: inline-block;
    vertical-align: middle;
}

p.site-title {
  display: inline-block;
    vertical-align: middle;
    margin: 0;
    color: black;
    padding-left: 25px;
    line-height: 1;
}

p.site-title a {
  color: black;
    font-weight: 600;
    font-size: 0.7em;
}

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 {
  background-color: var(--d-grey);
  border: 0;
  height: 1px;
  margin: 2rem 0;
}

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.list,
ol.list {
  list-style-type: square;
  font-size: 1em;
  margin: 0 0 2rem 2rem;
  padding: 0;
  line-height: 1.6;
}

ol.list {
  list-style-type: decimal;
}

ul {
  list-style-type: none;
  font-size: 1em;
  margin: 0;
  padding: 0;
}

#main-content ul {
      list-style-type: disc;
    font-size: 1em;
    padding-left: 40px;
    margin-bottom: 20px;
    font-weight:  400;
}

#main-content ul ul {
    list-style-type: circle;
      margin-bottom: 0px;
}

a {
  text-decoration: none;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  color: var(--primary);
}

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;
}

/* Resources image gallery */

.slick-next, .slick-prev {
    width: 40px;
    height: 40px;
}

.slick-next:before, .slick-prev:before {
    font-size: 40px;
}


/*Getwid timeline */

.wp-block-getwid-content-timeline-item__content-wrapper p {
  font-size: 0.8em;
}

.has-card-left .wp-block-getwid-content-timeline-item__content-wrapper p, .has-card-right .wp-block-getwid-content-timeline-item__content-wrapper p {
    display: inline-block;
    width: calc(100% - 180px);
    vertical-align: middle;
    font-size: 0.8em;
}

.wp-block-getwid-content-timeline-item__content-wrapper p:last-of-type  {
  margin-bottom:  0;
}

.has-card-left .wp-block-getwid-content-timeline-item__content-wrapper p {
  padding-left: 20px;
}

.has-card-right .wp-block-getwid-content-timeline-item__content-wrapper p {
  padding-right: 20px;
}

.has-card-right .wp-block-getwid-content-timeline-item__content-wrapper p:last-of-type {
  margin-bottom:  0;
}

.wp-block-getwid-content-timeline-item__content-wrapper figure {
  display: inline-block;
   vertical-align: middle;
}

.wp-block-getwid-content-timeline-item__content-wrapper {
    padding: 30px;
}


.wp-block-getwid-content-timeline-item__content-wrapper img {
  display:  inline-block;
      vertical-align: middle;
    width: 175px;
}

/*--------------------------------------------------------------
# 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.2rem 2rem;
  background: var(--primary);
  font: 700 .9em/0 'Roboto', 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(--black);
}

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"],
textarea,
select {
  color: var(--d-grey);
  border: 1px solid var(--black);
  border-radius: 0;
  margin: 0 0 1.5em 0;
  padding: .75rem 1rem;
  width: 100%;
}

textarea{
height: 180px;

}

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(--black);
}

/* 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: relative;
  top: 0;
  width: 100%;
  z-index: 3;
  -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 {
  margin: .6rem 1.25rem;

  /*! justify-content: center; */
}

.site-branding img {
  width: 3rem;
  -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: .9rem;
}

/* Language selector */
.menu-languages-container {
  position: relative;
  cursor: pointer;
  text-align: left;
}

.menu-languages-container ul {
  position: absolute;
  right: 0;
  z-index: 3;
}

.menu-languages-container li.menu-item-has-children {
  background: url(/wp-content/uploads/chevron-down-1.svg) no-repeat right center;
  background-size: 10px;
  font-size: .9em;
  line-height: 1.55;
}

.menu-languages-container ul li a {
  display: block;
  padding: 1rem 1rem;
  color: var(--black);
  min-width: 10.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
}

.menu-languages-container a img {
  display: inline;
  vertical-align: middle;
  margin-right: .45rem;
  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 .5rem;
  -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(--black);
}

.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;
  -webkit-box-shadow: 0 8px 14px -4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 8px 14px -4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  top: 0;
  border-top: 1px solid rgba(225, 225, 225, .6);
}

.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;
}

/*--------------------------------------------------------------
## 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%;
}


li.blocks-gallery-item {
    width: 50%;
    text-align: center;
    list-style-type: none;
    display: inline-block;
}

.blocks-gallery-grid {
  padding: 0;
}

figure.wp-block-gallery {
    width: 100%;
}

/* col */
.wp-block-columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row;
  flex-flow: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -1.5rem;
  /*gutter*/
}

.wp-block-columns .wp-block-column {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
      min-width: 0;
}

.wp-block-columns .wp-block-column.bg-pattern{

    background: url(/wp-content/uploads/pattern-bg-2.png) no-repeat;
    background-size: cover;
    background-position: 50% !important;
    background-size: 100%;

}

.wp-block-column {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

/* without gutter */
.wp-block-columns.no-gutter {
  margin-left: 0;
  /*no-gutter*/
}

.wp-block-columns.no-gutter .wp-block-column {
  padding-left: 0;
  margin-bottom: 0;
}

.wp-block-columns.no-gutter-bottom .wp-block-column {
  margin-bottom: 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 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.align-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* vertical alignment */
.is-vertically-aligned-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.is-vertically-aligned-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.is-vertically-aligned-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.is-vertically-aligned-blackline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
}

/* horizontal alignment */
.h-align-height .module,
.h-align-height .module-box {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  height: 100%;
}

/* base classes for all media - mobile first */
.one-item>.wp-block-column,
.one-of-one>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
}

.two-items>.wp-block-column,
.one-of-two>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
}

.three-items>.wp-block-column,
.one-of-three>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.3333%;
  flex: 0 0 33.3333%;
  /* IE11 < */
  -ms-flex: 0 0 calc(100% / 3);
  flex: 0 0 calc(100% / 3);
}

.four-items>.wp-block-column,
.one-of-four>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
}

.five-items>.wp-block-column,
.one-of-five>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 20%;
  flex: 0 0 20%;
}

.six-items>.wp-block-column,
.one-of-six>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 16.66666666666667%;
  flex: 0 0 16.66666666666667%;
  /* IE11 < */
  -ms-flex: 0 0 calc(100% / 6);
  flex: 0 0 calc(100% / 6);
}

.two-of-three>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 66.6666%;
  flex: 0 0 66.6666%;
  /* IE11 < */
  -ms-flex: 0 0 calc(100% / 3 * 2);
  flex: 0 0 calc(100% / 3 * 2);
}

.three-of-four>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
}

.three-of-five>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
}

.five-of-six>.wp-block-column:first-of-type {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 83.3333%;
  flex: 0 0 83.3333%;
  /* IE11 < */
  -ms-flex: 0 0 calc(100% / 6 * 5);
  flex: 0 0 calc(100% / 6 * 5);
}

/* Switch 2 column order */
.switcharoo:nth-of-type(1) {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

.switcharoo:nth-of-type(2) {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}


.wp-block-columns.no-bottom-margin .wp-block-column {
  margin-bottom:  0 !important;
}

.no-bottom-margin {
  margin-bottom:  0 !important;
}

/* 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;
}

.hero .message p {
  font-size: 1.4em;
  line-height: 1.6;
  margin: 0 0 2rem 0;
  color: var(--primary);
}

.hero.main-img .message h1 {
  margin: 0;
}

.hero img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

a {
 /* display: block; */
}

.text-block-right,
.text-block-left {
  padding: 2rem 0 0 0;
}

.grey {
  background: var(--l-grey);
}

.red-col {
  color: var(--primary);
}

.black {
  background: var(--black);
  border-bottom: 2px solid var(--primary);
}

.black p {
  color:  white;
}

.white {
  background: var(--white);
}

.wp-block-cover div[role=img], .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%;
}

.wp-block-cover {
  padding: 4rem 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.wp-block-cover.bg-overlay {
  background-color: var(--primary);
  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;
  width: calc(100vw - 4rem);
  padding: 2rem;
  background: var(--white);
  background: rgba(255, 255, 255, .85);
  border-radius: 0px;
  position: relative;
  z-index: 2;
}

.module-box {
    position: relative;
}

.module-box img {
  width: 100%;
}

.tiles .module-box h3 {
   position: absolute;
    top: 0px;
    width: 100%;
    padding: 15px;
    font-size: 1.5em;
        text-shadow: 0px 0 4px rgb(0 0 0 / 55%);
    background: rgba(0,0,0,0.4);
    color:  white;
}

.tiles .module-box p {
  color: var(--white);
  font-size: 0.8em;
    margin: 0 0 0.7rem 0;
        font-weight: 500;
}

.tiles .wp-block-buttons .wp-block-button:last-of-type{
    margin-top: 15px;
}

.tiles .module-box p:first-of-type{
  font-size: 1em;
}

.tiles .module-box {
  padding-bottom:  22%;
  MIN-HEIGHT: 300PX;
}


.tiles .module-box:after {
 content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 74%;
    background-color: #181818;
    background: -moz-linear-gradient(bottom,rgba(0,0,0,1) 30%,rgba(24,24,24,0) 80%);
    background: -webkit-linear-gradient(bottom,rgba(0,0,0,1) 30%,rgba(24,24,24,0) 80%);
    background: linear-gradient(to top,rgba(0,0,0,1) 30%,rgba(24,24,24,0) 100%);
}

.tiles .module-content {
    position: absolute;
    bottom: 30px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    z-index:  1;
}

.hexagon {
  text-align: center;
}

.hexagon a {
  display: block;
  padding: 1rem .75rem;
}

.hexagon a:hover {
  background: rgba(0, 0, 0, .015);
  border-radius: 3px;
}

.hexagon h3 {
  margin: .5rem 0 .25rem 0;
}

.hexagon a:hover h3 {
  color: var(--primary);
}

.hexagon a img {
  margin: auto;
  -webkit-transform: scale(0.94);
  -ms-transform: scale(0.94);
  transform: scale(0.94);
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.hexagon a:hover img {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hexagon p {
  margin: 0 0 .5rem 0;
  line-height: 1.4;
  color: var(--black);
}

.heading-only {
  margin: 0 0 2rem 0;
}

.blog .latest-news h2 {
  font-size: 1.15em
}

.blog .latest-news p {
  font-size: .85em;
}

/* Support & Resources */
.border-top {
  border-top: 1px solid var(--d-grey);
}

.latest-news .outer-link {
  display: block;
  border: 1px solid var(--d-grey);
  border-radius: 4px;
  color: var(--black);
  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;
}

/* buttons */
.wp-block-button a {
  display: inline-block;
  padding: 0.6rem 2rem;
  background: var(--primary);
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
}

.wp-block-button a:hover {
  background: var(--black);
  color: var(--white);
}

.wp-block-button.yellow a {
  background: var(--primary);
}

.wp-block-button.yellow a:hover {
  background: var(--primary);
}

.wp-block-buttons.is-content-justification-center {
  text-align: center;
}

.wp-block-buttons .wp-block-button {
  display: inline-block;
  margin-right: 2rem;
}

.wp-block-buttons .wp-block-button:last-of-type {
  margin: 0;
}

/*table styling*/
.wp-block-table {
  max-width: calc(100vw - 2rem);
  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-footer {
  background: var(--black);
  color: var(--white);
  position: relative;
}

.site-footer:before{
content: "";
    position: absolute;
    left: 30px;
    top: 00px;
    background: url(/wp-content/uploads/footer-logo.svg) no-repeat left bottom;
    width: 250px;
    height: 250px;
    background-size: cover;
  }

.site-footer a,
.site-footer li a {
  color: var(--white);
}

.site-info {
  padding: 4rem 0 .5rem 0;
}

.site-info .logo {
  position: relative;
  bottom: 1.25rem
}

.site-info .logo img {
  margin: auto;
}

.site-info h2 {
  margin: 0 0 1.75rem 0;
  font-size: .95em;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  position: relative;
}

.site-info h2::after {
  content: "";
  background: var(--white);
  position: absolute;
  top: 1.75rem;
  left: 0;
  width: 2rem;
  height: 1px;
}

.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;
}

.site-info .menu-social-media-container ul {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.site-info .menu-social-media-container ul li {
  margin: 1.75rem 1.5rem .75rem 0;
}

.site-info .menu-social-media-container img {
  width: 1.15rem;
}

.copyright {
  display: block;
  padding: .25rem 0 .45rem 0;
  width: 100%;
  background: var(--black);
  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 .5rem 2rem;
  background: var(--primary);
  color: var(--white);
  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-buttons {
    display: inline-block;
}
.cookie-banner a {
  display: inline;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner .wp-block-columns .wp-block-column {
  margin-bottom:  0;
}

.cookie-banner .wp-block-button a {
  padding: .6rem 1rem;
  text-decoration: none;
  background: var(--white);
  color: var(--black);
      font-size: 0.7em;
}

.cookie-banner wp-block-button a:hover {
  opacity: .8;
}

.cookie-banner p {
  color: var(--white);
  font-size: .75em;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner .close {
  color: var(--black);
}


 .owl-carousel .hero .hero-caption {
    position: absolute;
    margin-left:  auto;
    margin-right:  auto;
    left:  0;
    right:  0;
      top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
    width: 42%;
    min-width: 450px;
    padding: 20px;
    border: 16px solid;
    border-image-slice: 1;
    border-width: 17px;
    border-image-source: linear-gradient(to left, rgb(193 29 53 / 70%), rgb(7 1 2 / 70%));
    box-shadow: 0px 0px 12px 0px #000000;
  }

   .owl-carousel .hero img {
    min-height:  400px;
   }

 .hero-caption > .wp-block-group__inner-container{

    width: 100%;
    padding: 50px 50px;
    background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(111,16,30,0.7) 60%, rgba(142,21,39,0.7) 81%, rgba(209,31,57,0.7) 100%);
    box-shadow: 0px 0px 12px 0px #000000;
}


  .owl-carousel .hero .hero-caption p {
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 1rem;
  }

    .owl-carousel .hero .hero-caption h2, .owl-carousel .hero .hero-caption p {
      color: white;
    }



.owl-nav [class*=owl-] {
  display: flex;
  cursor: pointer;
  width: 4rem;
  height: 4rem;
  padding: 1rem;
  position:absolute;
  align-items: center;
  justify-content: center;
}

.owl-nav .owl-prev:after,
.owl-nav .owl-next:after {
  content: "";
  display: flex;
  width: 2rem;
  height: 2rem;
  border-right: 2px solid var(--d-grey);
  border-bottom: 2px solid var(--d-grey);
  transform: rotate(135deg);
  position: relative;
}

.owl-nav [class*=owl-] {
    width: 6rem;
    height: 6rem;
}

.owl-nav .owl-prev:after, .owl-nav .owl-next:after {
       width: 25px;
    height: 25px;
}

.owl-nav .owl-next:after {
  transform: rotate(-45deg);
}

.owl-nav .owl-prev {
  top: 50%;
  left: -50px;
  transform:translate(1%,-50%);
      color: transparent;
}

.owl-nav .owl-next {
  top: 50%;
  right: -50px;
  transform:translate(1%,-50%);
      color: transparent;
}


.image-gallery.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}



.owl-carousel .owl-stage {
    display: flex;
}

.image-gallery.owl-carousel .owl-wrapper {
    display: flex !important;
}
.image-gallery.owl-carousel .owl-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: initial;
}

.image-gallery .blocks-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
        margin-right: -2px;
}

.image-gallery .owl-item, .image-gallery .blocks-gallery-item, .image-gallery .blocks-gallery-item figure{
    width: 100%;
    height: 560px;
}

.owl-dots {
    position: absolute;
    width: 100%;
    text-align: center;
    margin-top: 50px;
}




@media (max-width: 768px) {
  .owl-carousel .hero .hero-caption {
    width: 100%;
    min-width: 100%;
    padding: 10px;
  }
  .owl-carousel .hero .hero-caption p {
    font-weight: 500;
    font-size: 1em;
    margin-bottom: 0.9rem;
}

  .owl-carousel .hero .hero-caption h2 {
        font-size: 1.5em;
  }

  .hero-caption > .wp-block-group__inner-container {
    width: 100%;
    padding: 20px 20px;
  }
  .owl-carousel .hero .hero-caption {
    border-width:  9px;
  }
}





/* tablet (medium) screens */
@media (min-width: 768px) {
  html {
    font-size: 18px;
  }



.tiles .module-box {
  padding-bottom:  22%;
  MIN-HEIGHT: 488PX;
}


  .narrow>div:first-of-type,
  .alignwide>div:first-of-type,
  .alignfull>div:first-of-type {
    padding: 3.5rem 2rem;
  }

  .t-one-item>.wp-block-column {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .t-two-items>.wp-block-column,
  .t-one-of-two>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
  }

  .t-three-items>.wp-block-column,
  .t-one-of-three>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3333%;
    flex: 0 0 33.3333%;
    /* IE11 < */
    -ms-flex: 0 0 calc(100% / 3);
    flex: 0 0 calc(100% / 3);
  }

  .t-four-items>.wp-block-column,
  .t-one-of-four>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
  }

  .t-five-items>.wp-block-column,
  .t-one-of-five>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
  }

  .t-six-items>.wp-block-column,
  .t-one-of-six>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66666666666667%;
    flex: 0 0 16.66666666666667%;
    /* IE11 < */
    -ms-flex: 0 0 calc(100% / 6);
    flex: 0 0 calc(100% / 6);
  }

  .t-two-of-three>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.6666%;
    flex: 0 0 66.6666%;
    /* IE11 < */
    -ms-flex: 0 0 calc(100% / 3 * 2);
    flex: 0 0 calc(100% / 3 * 2);
  }

  .t-three-of-four>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
  }

  .t-three-of-five>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
  }

  .t-five-of-six>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 83.3333%;
    flex: 0 0 83.3333%;
    /* IE11 < */
    -ms-flex: 0 0 calc(100% / 6 * 5);
    flex: 0 0 calc(100% / 6 * 5);
  }

  .hero .switcharoo:nth-of-type(1) {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  .hero .switcharoo:nth-of-type(2) {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }

  .t-align-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .t-align-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: 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 {
    margin: 1rem 2rem;
    display:  block;
  }

  .site-branding img {
    width: 4.15rem;
  }

  .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;
  }

  .site-info .logo img {
    margin: 0;
  }

  .site-info .menu-social-media-container ul {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .hero img {
    height: 100vh;
  }

  .hero .wp-block-button a {
    padding: 0.6rem 2rem;
  }

  .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: rgba(255,255,255,0.3);
    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(--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
  }


  /* hero slider */
   .owl-carousel .hero .hero-caption {
    position: absolute;
    margin-left:  auto;
    margin-right:  auto;
    left:  0;
    right:  0;
      top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
    width: 42%;
    min-width: 450px;
    padding: 20px;
    border: 16px solid;
    border-image-slice: 1;
    border-width: 17px;
    border-image-source: linear-gradient(to left, #c11d35, #070102);
  }

  .owl-carousel .hero .hero-caption p {
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 1rem;
  }


  .wp-block-cover {
    padding: 4rem 0;
  }

  .wp-block-cover .module-box {
    padding: 3rem;
  }

  .wp-block-cover {
    padding: 4rem 0;

    background-position:50%;max-height: 680px !important;
    background-size: cover;
  }

  .wp-block-cover .module-box {
    display: block;
    width: 100%;
        background: rgb(255 255 255 / 86%);
        box-shadow: 0px 0px 12px 0px #888888;
  }

  .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;
  }

  .site-info {
    padding: 4rem 0 .5rem 0;
  }

  .copyright {
    padding: .25rem 0 .45rem 0;
  }
}


#primary-menu li a{
    font-size: 0.8em;
        padding: 0.5rem 0.8rem;
}


/* desktop */
@media (min-width: 1366px) {
  html {
    font-size: 20px;
  }


.site-branding{
  display: flex;
}

  p.site-title {
  display: inline-block;
    vertical-align: middle;
    margin: 0;
    color: black;
    padding-left: 25px;
    line-height: 1;
}

p.site-title a{
  font-size: 0.75em;
}

  h1 {
    font-size: 3.15em;
  }

  h2 {
    font-size: 2.2em;
  }

  .narrow>div:first-of-type,
  .alignwide>div:first-of-type,
  .alignfull>div:first-of-type {
    padding: 3.5rem 2.5rem;
  }

  .site-header .alignfull>div:first-of-type {
    padding: 0 2.5rem;
  }

  .wp-block-columns {
    margin-left: -2.5rem;
  }

  .wp-block-columns .wp-block-column {
    padding-left: 2.5rem;
    margin-bottom: 2.5rem;
  }

  /* slim gutter */
  .wp-block-columns.slim-gutter {
    margin-left: -.5rem;
  }

  .wp-block-columns.slim-gutter .wp-block-column {
    padding-left: .5rem;
    margin-bottom: .5rem;
  }

  .d-one-item>.wp-block-column {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .d-two-items>.wp-block-column,
  .d-one-of-two>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
  }

  .d-three-items>.wp-block-column,
  .d-one-of-three>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3333%;
    flex: 0 0 33.3333%;
    /* IE11 < */
    -ms-flex: 0 0 calc(100% / 3);
    flex: 0 0 calc(100% / 3);
  }

  .d-four-items>.wp-block-column,
  .d-one-of-four>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
  }

  .d-five-items>.wp-block-column,
  .d-one-of-five>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
  }

  .d-six-items>.wp-block-column,
  .d-one-of-six>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66666666666667%;
    flex: 0 0 16.66666666666667%;
    /* IE11 < */
    -ms-flex: 0 0 calc(100% / 6);
    flex: 0 0 calc(100% / 6);
  }

  .d-two-of-three>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.6666%;
    flex: 0 0 66.6666%;
    /* IE11 < */
    -ms-flex: 0 0 calc(100% / 3 * 2);
    flex: 0 0 calc(100% / 3 * 2);
  }

  .d-three-of-four>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
  }

  .d-three-of-five>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
  }

  .d-five-of-six>.wp-block-column:first-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 83.3333%;
    flex: 0 0 83.3333%;
    /* IE11 < */
    -ms-flex: 0 0 calc(100% / 6 * 5);
    flex: 0 0 calc(100% / 6 * 5);
  }

  /* Switch 2 column order */
  .switcharoo:nth-of-type(1) {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  .switcharoo:nth-of-type(2) {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }

  .d-align-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .d-align-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: 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;
    background: var(--l-grey);
    font-size: .85em;
  }

  .site-header .one-item>.wp-block-column {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  .site-branding {
    margin: 0.5rem 0;
    display: inline-block;
    vertical-align: middle;
  }

  .site-branding img {
    width: 110px;
  }

  .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%;
  }

  #menu-top-nav{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -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, #menu-top-nav 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;
  }

   #menu-top-nav li {
    font-size: .8rem;
  }

  #menu-top-nav li a {
    text-transform: uppercase;
  }

  #menu-top-nav li a:hover {
      color: var(--primary);
  }

  #menu-top-nav li a:hover img {

  }

  #menu-top-nav li.phone a {
    color: var(--primary);
    font-weight:  700;
        font-size: .9rem;
  }

   #menu-top-nav li.location img {
        display: inline-block;
        width: 20px;
        vertical-align: middle;
        margin-right: 10px;
  }



  #primary-menu li a{
    display: block;
    margin: 0;
    padding: 0.5rem 0.9rem;
    white-space: nowrap;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    color: var(--black);
    font-weight: 500;
    letter-spacing: 0.1em;
  }


  #menu-top-nav 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(--black);
    font-size: 0.9em;
    font-weight: 300;
    letter-spacing: 0.1em;
  }


  #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 {
   /* background: url(/wp-content/uploads/chevron-down.svg) no-repeat calc(100% - 1rem) 1.5rem;
    background-size: 10px;*/
  }

  #primary-menu .menu-item-has-children a {
   /* padding-right: 2.25em;*/
  }

  #primary-menu .sub-menu {
    position: absolute;
    display: none;
    margin: 0 0 0 1rem;
    width:  250px;
  }

  ul.sub-menu .sub-menu {
      right: -250px;
      top: 0;
      display: none;
  }

  #primary-menu > li:hover > ul.sub-menu {
    display: block;
  }

  #primary-menu > li > ul.sub-menu > li:hover > ul.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 .3rem;
    background: var(--primary);
    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;
    font-size: 0.8em;
  }

  #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);
  }

  .site-info .wp-block-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }


 .owl-carousel .hero figure {
    height: calc(100vh - 200px);
    overflow: hidden;
  }


 .owl-carousel .hero figure:before{
      content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(left, rgba(0,0,0,0.6) 0%, rgba(56,83,138,0.6) 100%);
    background: -webkit-linear-gradient(left, rgba(0,0,0,0.6) 0%,rgba(56,83,138,0.6) 100%);
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%,rgba(56,83,138,0.6) 100%);
  }

  /*.owl-carousel .hero figure:after{
content: "";
    position: absolute;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    right: 0;
    top: 0px;
    background: url(/wp-content/uploads/footer-logo.svg) no-repeat;
    height: 800px;
    background-size: cover;
    background-position: center !important;
  }*/

 .owl-carousel .hero img {
    height: 100%;
  }

  .owl-carousel .hero .hero-caption {
    position: absolute;
    margin-left:  auto;
    margin-right:  auto;
    left:  0;
    right:  0;
      top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
   width: 42%;
    min-width: 450px;
    padding: 12px;
   border: 16px solid;
    border-image-slice: 1;
    border-width: 23px;
    border-image-source: linear-gradient(to left, rgb(193 29 53 / 70%), rgb(7 1 2 / 70%));
  }

  .owl-carousel .hero .hero-caption p {
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 1rem;
  }

    .owl-carousel .hero .hero-caption h2, .owl-carousel .hero .hero-caption p {
      color: white;
    }

  .hero figure {
    height: calc(100vh - 200px);
    overflow: hidden;
  }

  .hero img {
    height: 100%;
  }

  .hero .wp-block-button a,
  .wp-block-button a {
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius:  0;
  }

  .text-block-right {
    padding: 0 0 0 5rem;
  }

  .text-block-left {
    padding: 0 5rem 0 0;
  }

  .wp-block-cover.cyan-overlay {
    background-size: 60%;
  }

  .wp-block-cover.cyan-overlay::after {
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(14, 110, 128, 0)), color-stop(60%, rgba(14, 110, 128, 1)));
    background-image: -o-linear-gradient(left, rgba(14, 110, 128, 0) 0%, rgba(14, 110, 128, 1) 60%);
    background-image: linear-gradient(90deg, rgba(14, 110, 128, 0) 0%, rgba(14, 110, 128, 1) 60%);
  }

  .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;
  }
}

@media (min-width: 1560px) {
  #primary-menu li a{
    font-size: 0.9em;
  }
}

@media (min-width: 1720px) {
  p.site-title {
    display: inline-block;
  }
}
