:root {
  --primary: #003c80;
  --secondary: #0066dd;
  --highlight: #fdf035;
  --mid-blue: #287ab4;
  --b-grey: #e7edf3;
  --d-grey: #d3d3d3;
  --base: #1a1a1a;
  --white: #fff;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html {
  font: 300 16px/1.5 "Barlow", Arial, sans-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);
}

/* Narrow Width of blocks */
.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;
}

h1,
h2,
h3,
.h3,
h4 {
  font-weight: 700;
  margin: 0 0 1rem 0;
  padding: 0;
  color: var(--primary);
  font-family: "Barlow Condensed", sans-serif;
}

h1,
.h1 {
  font-size: 5em;
  margin: 0 0 1rem 0;
  line-height: 1;
}

h2 {
  font-size: 3em;
  margin: 0 0 1rem 0;
  line-height: 1.15;
}

h2.has-medium-font-size {
  font-size: 1.75em !important;
}

h3,
.h3 {
  font-size: 1.75em;
  line-height: 1.25;
  margin: 0 0 1rem 0;
}

h4 {
  font-size: 1.2em;
  line-height: 1.5;
  margin: 0 0 0.4rem 0;
}

h5 {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--secondary);
  font-weight: 400;
  margin-top: 0;
}

p {
  font-size: 0.9em;
  line-height: 1.6;
  margin: 0 0 2rem 0;
  padding: 0;
}

p.has-small-font-size {
  font-size: 0.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: disc;
  font-size: 0.9em;
  margin: 0 0 2rem 2rem;
  padding: 0;
  line-height: 1.6;
}

ol.list {
  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;
}

ul {
  list-style-type: none;
  font-size: 0.9em;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.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;
}

.no-padding-all {
  padding: 0 !important;
}

.no-padding .wp-block-group__inner-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.no-padding-bottom .wp-block-group__inner-container {
  padding-bottom: 0 !important;
}

.sm-padding {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.no-pad-left {
  padding-left: 0 !important;
}

.right-pad {
  padding-right: 5rem;
}

.no-bottom-margin {
  margin-bottom: 0 !important;
}

.mt-2 {
  margin-top: 2rem !important;
}

/* Breadcrumbs */
.ah-breadcrumb {
  width: 100%;
  margin: 0.5rem auto 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}

.ah-breadcrumb li {
  display: inline-block;
  margin: 0 0.25rem;
  font-size: 0.9em;
}

.secondary {
  color: var(--secondary);
}

.highlight,
.highlight p {
  color: var(--highlight) !important;
}

.mid-blue {
  color: var(--mid-blue) !important;
}

.texture-ctas h4 {
  background: url(/wp-content/uploads/bg-nav-3.jpg) repeat-x center;
  color: var(--white);
  padding: 0.25rem 1rem;
}

.mb-lg {
  margin-bottom: 3rem;
}

.mb-md {
  margin-bottom: 2rem;
}

.mb-sm {
  margin-bottom: 0.5rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.margin-0 {
  margin: 0;
}

.full-btn .wp-block-button,
.full-btn a {
  width: 100%;
}

.mt-raise {
  margin-top: -50px;
}

.box-shadow {
  -webkit-box-shadow: 2px 5px 12px 2px rgba(0, 0, 0, 0.71);
  box-shadow: 2px 5px 12px 2px rgba(0, 0, 0, 0.71);
}

.overflow-img {
  height: calc(100% + 150px);
  margin-top: -100px;
}

.overflow-img img {
  height: 100%;
}

.bg-flex {
  margin: 0 auto;
}

.mid-foot {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}

.mid-foot .wp-block-column {
  margin-bottom: 0 !important;
}

.socials a i {
  font-size: 1.9em;
}

.socials a {
  display: inline;
  margin-right: 1rem;
}

.phone-foot a {
  font-size: 1.9em;
}

.site-footer h4 {
  font-size: 1em;
}

.hidden-mob {
  display: none;
}

.hidden-lg {
  display: block;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  -khtml-opacity: 0.7;
  opacity: 0.7;
  z-index: 100;
  display: none;
}
.featured-popup-cont a {
  text-decoration: none;
  font-size: 0.8rem;
}
.popup {
  width: 100%;
  margin: 0 auto;
  display: none;
  position: absolute;
  height: 100%;
  top: 0;
}
.featured-popup-cont {
  display: none;
  max-width: 1260px;
  width: 90%;
  min-height: 120px;
  margin: 0 auto;
  background: white;
  position: fixed;
  z-index: 999;
  padding: 30px 30px;
  border-radius: 0px;
  box-shadow: 0 2px 5px #000;
  text-align: center;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: 0 auto;
}
.featured-popup-cont p {
  clear: both;
  color: #555555;
  font-size: 20px;
  font-family: sans-serif;
  margin: 0;
}

.featured-popup-cont h3 {
  margin: 0;
  font-size: 20px;
  line-height: 30px;
}
.featured-popup-cont p a.popup-link {
  display: inline-block;
  float: none;
  text-align: center;
  text-shadow: none;
  opacity: 1;
  margin: 0 0 0 0.6rem;
  padding: 1rem 1.3rem;
  background: var(--primary);
  border-radius: 4px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  line-height: 0;
  font-size: 0.9em;
  text-transform: none;
}

.featured-popup-cont p a.permclose {
  display: block;
  margin: 14px 0px 0px 0px;
  font-size: 17px;
}

.featured-popup-cont p a.close.popup-link {
  background: none;
  color: #f78f1e;
  margin-top: 10px;
  text-decoration: underline;
  display: block;
  width: auto;
}

.featured-popup-cont .x {
  float: right;
  height: 35px;
  left: 22px;
  position: relative;
  top: -25px;
  width: 34px;
}
.featured-popup-cont .x:hover {
  cursor: pointer;
}

.featured-links-wrapper {
  /* display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 10px 20px;*/

  max-height: 500px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .featured-links-wrapper {
    /* grid-template-columns: 1fr 1fr;
    grid-gap: 10px 10px;*/
  }
}

ul.links-list {
  margin: 0;
  padding: 0;
}
ul.links-list li {
  display: inline-block;
  width: 100%;
  margin-bottom: 8px;
  line-height: normal;
}
/* default */
ul.links-list {
  -moz-column-count: 4;
  -webkit-column-count: 4;
  column-count: 4;
}
/* < 800px */
@media screen and (max-width: 799px) {
  ul.links-list {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
  }
}
/* < 400px */
@media screen and (max-width: 399px) {
  ul.links-list {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
}

/*--------------------------------------------------------------
# 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(--b-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;
}

.iframe-container {
  overflow: hidden;
  /* 16:9 aspect ratio */
  padding-top: 56.25%;
  position: relative;
}
.iframe-container iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.cat-pdf,
.cat-pdf iframe {
  min-height: 70vh;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* cross-browser fix */
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 0;
  display: inline-block;
  margin: 0;
  padding: 1.4rem 1.6rem;
  background: var(--primary);
  border-radius: 4px;
  font: 400 0.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 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.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"],
textarea,
select {
  color: #666;
  border: 1px solid var(--base);
  border-radius: 0;
  margin: 0 0 1.5em 0;
  padding: 0.75rem 1rem;
  width: 100%;
}

.sf-field-taxonomy-brand select {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mid-blue) 50%),
    linear-gradient(135deg, var(--mid-blue) 50%, transparent 50%) !important;
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em !important;
  background-size: 5px 5px, 5px 5px, 1px 1.5em !important;
  background-repeat: no-repeat !important;
}

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: relative;
  top: 0;
  width: 100%;
  z-index: 2;
  -webkit-box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.15);
}

.site-header .alignfull {
  padding: 0;
}

.site-branding {
  /* margin: .6rem 1.25rem;*/
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /*! justify-content: center; */
}

.site-branding img {
  width: 10rem;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  max-width: 15rem;
}

.site-branding a:hover img {
  opacity: 0.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: 0.65rem 1rem 0.65rem 0;
}

.menu-social-media-container ul li:last-of-type {
  margin-right: 0;
}

.menu-social-media-container img {
  width: 0.9rem;
}

/* Language selector */
.menu-languages-container {
  position: relative;
  cursor: pointer;
  text-align: left;
}

.menu-languages-container > ul {
  position: absolute;
  right: 0;
  z-index: 3;
  top: -2.275rem;
  max-width: 12.8rem;
}

.menu-languages-container li.menu-item-has-children {
  background: url(/wp-content/uploads/icon-submenu.svg) no-repeat right center;
  background-size: 10px;
  font-size: 1em;
  line-height: 1.55;
}

.menu-languages-container ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--primary);
  min-width: 9.45rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1em;
line-height: 1.55;
  border: 1px solid var(--d-grey);
}

.menu-languages-container a img {
  display: inline;
  vertical-align: middle;
  margin-right: 0.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: 0.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-top: 0;
}

.menu-languages-container ul.sub-menu a:hover {
  color: var(--primary);
  background: var(--b-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, 0.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: 1.9rem 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 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.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 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  transition: all 0.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: 0.75rem;
  border-bottom: 1px solid rgba(225, 225, 225, 0.5);
  line-height: 1.25;
}

.main-navigation li:last-child a {
  border: 0;
}

/*--------------------------------------------------------------
## col and Modules
--------------------------------------------------------------*/
/* quotations */
blockquote {
  display: block;
  margin: 0 0 0.75rem 0;
  padding: 0;
  font-style: normal;
  quotes: "\201C""\201D";
}

blockquote p:before {
  content: open-quote;
  margin-right: 0.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 */
div.wp-block-columns,
ul.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*/
  gap: 0;
  align-items: initial;
}

.wp-block-columns .wp-block-column {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.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 */
div.is-vertically-aligned-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

div.is-vertically-aligned-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

div.is-vertically-aligned-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

div.is-vertically-aligned-baseline {
  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;
}

/* 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(--b-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;
}

.home .slider {
  max-width: 1400px;
  margin: 0 auto;
}

.home .slider .narrow.no-padding > div:first-of-type {
  padding-top: 0 !important;
  margin-top: -150px;
  padding-bottom: 2rem !important;
}

.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;
}

.text-block-right,
.text-block-left {
  padding: 2rem 0 0 0;
}

.bg-texture {
  padding: 1.5rem;
  -webkit-box-shadow: 2px 5px 12px 2px rgba(0, 0, 0, 0.71);
  box-shadow: 2px 5px 12px 2px rgba(0, 0, 0, 0.71);
  background: url(/wp-content/uploads/bg-nav-3.jpg) center;
}

.bg-texture-inner > div {
  padding-top: 1.5rem !important;
  padding-bottom: 0rem !important;
  -webkit-box-shadow: 2px 5px 12px 2px rgba(0, 0, 0, 0.71);
  box-shadow: 2px 5px 12px 2px rgba(0, 0, 0, 0.71);
  background: url(/wp-content/uploads/bg-nav-3.jpg) center;
}

.texture-box {
  padding-left: 0;
  padding-right: 0;
}

.texture-box-inner {
  margin: 0;
  padding: 1rem 4rem;
}

.grey {
  background: var(--b-grey);
}

.white {
  background: var(--white);
}

.white-text {
  color: var(--white);
}

.wp-block-cover {
  padding: 4rem 0;
  position: relative;
}

.wp-block-cover div[role="img"],
.wp-block-cover div.wp-block-cover__image-background {
  padding: 0;
  background-position: center;
  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 {
  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, 0.5))
  );
  background-image: -o-linear-gradient(
    left,
    rgba(244, 171, 28, 0) 0%,
    rgba(244, 171, 28, 0.5) 50%
  );
  background-image: linear-gradient(
    90deg,
    rgba(244, 171, 28, 0) 0%,
    rgba(244, 171, 28, 0.5) 50%
  );
}

.wp-block-cover .module-box {
  display: block;
  width: calc(100vw - 4rem);
  padding: 2rem;
  background: var(--white);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  position: relative;
  z-index: 2;
}

.hexagon {
  text-align: center;
}

.hexagon a {
  display: block;
  padding: 1rem 0.75rem;
}

.hexagon a:hover {
  background: rgba(0, 0, 0, 0.015);
  border-radius: 3px;
}

.hexagon h3 {
  margin: 0.5rem 0 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 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.hexagon a:hover img {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.hexagon p {
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
  color: var(--base);
}

.heading-only {
  margin: 0 0 2rem 0;
}

.blog .latest-news h2 {
  font-size: 1.15em;
}

.blog .latest-news p {
  font-size: 0.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(--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 0.75s;
  transition: -webkit-transform 0.75s;
  -o-transition: transform 0.75s;
  transition: transform 0.75s;
  transition: transform 0.75s, -webkit-transform 0.75s;
  width: 100%;
}

.latest-news .outer-link:hover img {
  -webkit-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  transition: all 0.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: 0.5rem 1.75rem;
  border-radius: 0 4px;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.75em;
  text-transform: uppercase;
  color: var(--white);
}

.latest-news .read {
  display: block;
  margin: 1.75rem 0 0 0;
  font-size: 0.9em;
  color: var(--primary);
  text-transform: uppercase;
}

.latest-news .outer-link:hover .read {
  color: var(--primary);
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

/* buttons */
.wp-block-button a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--highlight);
  border-radius: 5px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 1.4em;
  font-family: "Barlow Condensed", sans-serif;
}

.wp-block-button a:hover {
  background: var(--base);
  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;
}

/* Search */

.search-bar.wp-block-columns .wp-block-column {
  margin-bottom: 0;
  font-family: "Barlow Condensed", sans-serif;
}

.wp-block-search__input {
  max-width: 21rem;
}

.wp-block-search__button {
  float: left;
  z-index: 1111;
  position: relative;
}

.cta-call {
  margin-bottom: 0;
}

.cta-call a {
  color: var(--highlight);
  font-size: 2em;
  font-weight: 700;
}

.quote-button {
  float: right;
}

.search-col {
  position: relative;
}

.search-col p {
  margin: 0;
}

.search-col i {
  position: absolute;
  left: 3rem;
  top: 0.75rem;
  font-size: 2.5em;
  color: var(--white);
  z-index: 1;
}

.site-footer .search-col i {
  font-size: 3em;
}

.wp-block-search__button,
.wp-block-search__button:hover {
  background: transparent;
  font-size: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
}

.wp-block-search .wp-block-search__input {
  border: none;
  border-radius: 10px;
  font-weight: 600;
  margin: 0.5rem 0 !important;
}

/*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: 0.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: 0.5rem;
}

.is-style-stripes table tr:nth-child(even) {
  background: var(--b-grey);
}

/* footer */
/*.site-footer {
  background: var(--primary);
  color: var(--white);
}*/

.all-brands {
  justify-content: end;
}

.site-footer h2 {
  font-size: 2.5rem;
}

.site-footer a:not(.wp-block-button__link),
.site-footer li a {
  color: var(--secondary);
}

.site-info {
  padding: 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;
}*/

.inner-wide > .wp-block-group__inner-container {
  /*  max-width: 1200px;
  margin: 0 auto;*/
  padding-top: 3rem !important;
  padding-bottom: 1rem !important;
}

.site-info .d-five-items .wp-block-column {
  padding-left: 2rem;
}

.site-info p,
.site-info li {
  font-size: 0.725em;
  line-height: 1.75em;
}

.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 0.75rem 0;
}

.site-info .menu-social-media-container img {
  width: 1.15rem;
}

.copyright {
  display: block;
  padding: 0.25rem 0 0.45rem 0;
  width: 100%;
  background: var(--white);
  color: var(--base);
  text-transform: uppercase;
}

.copyright ul,
.copyright p {
  margin: 0;
  padding: 0;
}

.copyright ul li,
.copyright p {
  display: inline-block;
  font-size: 0.6em;
  line-height: 1.4;
}

.copyright a,
.copyright li a {
  color: var(--base);
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--base);
}

.copyright li:nth-child(1) a {
  margin-left: 0px;
  padding-left: 0px;
  border-left: 0px solid var(--base);
}

/* 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 0.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 a {
  display: inline;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner .wp-block-button a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  background: var(--white);
  color: var(--base);
  font-size: 14px;
}

.cookie-banner .wp-block-button.close a {
  margin-right: 10px;
}

.cookie-banner .wp-block-button.reject a {
  margin-left: 10px;
  margin-right: 0;
}

.cookie-banner .wp-block-button a:hover {
  opacity: 0.8;
}

.cookie-banner p {
  color: var(--white);
  font-size: 0.85em;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner .close {
  color: var(--base);
}

/* Banner */

.page-banner-text {
  margin-top: -3rem;
}

.white-title-box {
  background: var(--white);
  -webkit-box-shadow: 2px 5px 12px 2px rgba(0, 0, 0, 0.71);
  box-shadow: 2px 5px 12px 2px rgba(0, 0, 0, 0.71);
  padding: 0.75rem 1rem 0.25rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.white-title-box h3,
.white-title-box .h3 {
  margin-bottom: 0;
}

/* Filters */

.sf-field-search input {
  margin-bottom: 0;
}

li[data-sf-field-input-type="checkbox"] .sf-input-checkbox {
  vertical-align: top;
  margin-top: 10px;
}

.sf-field-search label {
  width: 100%;
}

.searchandfilter li[data-sf-field-input-type="checkbox"] label {
  width: calc(100% - 20px);
}

.sf-field-search h4 {
  position: relative;
  display: inline-block;
}

.sf-field-search h4:after {
  font-family: "Font Awesome 5 Free";
  content: "\f002";
  right: -50px;
  position: absolute;
  top: 5px;
  color: var(--primary);
}

.searchandfilter h4 {
  font-size: 1.1em;
  color: var(--secondary);
}

.sf-label-checkbox {
  color: var(--primary);
  font-size: 0.9em;
}

.sf-field-search h4 {
  font-size: 1.3em;
}

.searchandfilter input[type="text"],
.searchandfilter select {
  -webkit-box-shadow: 2px 5px 6px 2px rgba(0, 0, 0, 0.41);
  box-shadow: 2px 5px 6px 2px rgba(0, 0, 0, 0.41);
  border-radius: 10px;
  background: var(--white);
  width: 100%;
}

.search-filter-results {
  padding: 1.5rem 2.5rem 1.5rem 1.5rem;
  border-radius: 10px;
  background: url(/wp-content/uploads/bg-nav-3.jpg) center;
  width: 100%;
}

.found {
  background: var(--b-grey);
  padding: 0.25rem;
  margin: 0 auto 2rem;
  min-width: 70%;
  display: table;
  text-align: center;
  border-radius: 10px;
  text-transform: uppercase;
}

.found:nth-child(n + 2) {
  display: none !important;
}

.single-cat img {
  border: 3px solid var(--white);
  margin-bottom: 0.5rem;
  border-radius: 3px;
  max-height: 13rem;
  width: auto !important;
}

.single-cat .inner-wrap {
  text-align: center;
}

.single-cat .inner-wrap a {
  width: 50%;
  float: left;
}

.single-cat .inner-wrap h4,
.single-cat .inner-wrap h4 a {
  color: var(--white);
  width: 100%;
  font-size: 1.1rem;
}

.single-cat .inner-wrap h4 {
  padding: 0 1rem;
}

.single-cat .inner-wrap svg {
  fill: var(--white) !important;
  max-height: 1.5rem;
  margin: 0.5rem auto;
}

.single-cat .inner-wrap svg:hover {
  fill: var(--highlight) !important;
}

.sidebar-inner {
  background: var(--primary);
  padding: 1.5rem;
  -webkit-box-shadow: 2px 5px 6px 2px rgba(0, 0, 0, 0.41);
  box-shadow: 2px 5px 6px 2px rgba(0, 0, 0, 0.41);
  border-radius: 10px;
}

.sidebar-inner p {
  max-width: 85%;
}

.sidebar-inner h2 {
  margin-bottom: 0;
}

.sidebar-inner p:not(.highlight) {
  color: var(--white);
}

.call-box {
  background: var(--white);
  border-radius: 10px;
  text-align: center;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.sidebar-inner .call-box p {
  color: var(--base);
  max-width: 100%;
  margin-bottom: 0;
}

.call-box h3 {
  margin-bottom: 0;
}

.cta-boxes .module-box {
  background: var(--b-grey);
}

.cta-boxes .module-box h4 {
  padding: 0.5rem 1rem;
}

.wp-block-getwid-content-timeline img {
  margin-bottom: 0.5rem;
}

.wp-block-getwid-content-timeline p {
  margin-bottom: 0;
}

.fancybox-iframe {
  margin-top: 5rem;
  max-height: calc(100vh - 10rem);
  overflow-y: scroll;
}

.fancybox-toolbar {
  opacity: 1 !important;
  visibility: visible !important;
}

.fancybox-button {
  background: var(--highlight) !important;
}

.fancybox-button svg path {
  fill: var(--primary) !important;
}

.fancybox-button--close:before {
  content: "Close window ";
  position: absolute;
  right: calc(100% + 10px);
  top: 23px;
  color: #fff;
}

.fancybox-navigation,
.fancybox-button--play,
.fancybox-button--thumbs,
.fancybox-infobar {
  display: none !important;
}

.modal-header {
  background: url(/wp-content/uploads/bg-nav-3.jpg) center;
  text-align: center;
  padding: 0.5rem;
  justify-content: center;
  display: flex;
  align-items: center;
}

.modal-header * {
  display: flex;
  margin: 0 0.5rem;
}

.modal-header img {
  height: 3rem;
}

.modal-header .call-link,
.modal-footer .call-link {
  color: var(--highlight);
  font-size: 1.5em;
  font-weight: 700;
}

.modal-footer .call-link {
  margin-right: 1.5rem;
}

.modal-header .call-link i {
  margin-top: 10px;
}

.modal-footer {
  background: url(/wp-content/uploads/bg-nav-3.jpg) center;
  text-align: center;
  padding: 0.5rem;
  justify-content: center;
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.catalogs .owl-nav,
.products .owl-nav {
  position: relative;
  margin: 3rem 0;
}

.productsalt .owl-nav {
  margin: 0;
}

.catalogs .owl-nav .owl-prev,
.products .owl-nav .owl-prev {
  color: #fff;
  width: 25%;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}

.catalogs .owl-nav .owl-next,
.products .owl-nav .owl-next {
  color: #fff;
  width: 25%;
  font-size: 1.2em;
  position: absolute;
  right: 0;
  top: 0;
  text-align: right;
}

.products .owl-nav .owl-prev,
.products .owl-nav .owl-next {
  color: var(--mid-blue);
}

.catalogs .owl-nav i,
.products .owl-nav i {
  font-size: 1.8em;
}

.products .owl-nav i {
  color: var(--primary);
}

.products .owl-item {
  padding: 0 0.5rem;
}

.cat-btn {
  text-align: center;
  margin-top: 2rem;
}

.cat-btn-alt {
  margin-top: 0;
}

.cat-btn a {
  width: 50%;
  margin: 0 auto;
}

.single-team {
  text-align: center;
  position: relative;
}

.single-team .team-hover {
  display: none;
  position: absolute;
  left: 2.5rem;
  top: 102%;
  width: 150%;
  background: var(--b-grey);
  padding: 0.75rem;
  text-align: center;
z-index: 1;
}

.single-team:nth-child(n + 4) .team-hover {
  left: unset;
  right: 0;
}

.single-team .team-hover:after {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;

  border-bottom: 25px solid var(--b-grey);
  top: -24px;
  left: 70px;
  content: "";
  position: absolute;
}

.single-team:nth-child(n + 4) .team-hover:after {
  right: 70px;
  left: unset;
}

.team-block:hover {
  margin-bottom: 5rem;
}

.single-team h4 {
  margin-bottom: 0;
}

.role {
  font-weight: 700;
  font-size: 0.9em;
  color: var(--primary);
}

.experience {
  display: block;
  font-size: 0.9em;
}

.single-team:hover .team-hover {
  display: block;
}

.exp {
  text-transform: uppercase;
  font-size: 1.4em;
  color: var(--primary);
  padding-right: 1rem;
  border-right: 2px solid var(--mid-blue);
  float: left;
}

.single-team .exp span {
  color: var(--mid-blue);
  font-size: 1.4em;
}

.team-hover .contact-details {
  float: center;
  color: var(--mid-blue);
  padding: 0.3rem 1rem;
}

.team-hover .contact-details a {
  display: inline;
}

.team-hover .contact-details a span {
  color: var(--mid-blue);
  font-weight: 700;
  font-size: 1em;
}

.team-hover .contact-details .tel {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  display: block;
}

.team-hover .contact-details i {
  color: var(--primary);
  font-size: 25px;
  margin-right: 0.5rem;
}

.fancybox-is-open .fancybox-bg {
  opacity: 0.5 !important;
}

.fancybox-content {
  max-width: 80% !important;
}

/* tablet (medium) screens */
@media (min-width: 768px) {
  html {
    font-size: 18px;
  }

  .narrow > div:first-of-type,
  .alignwide > div:first-of-type,
  .alignfull > div:first-of-type {
    padding: 4rem 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: 0rem 2rem;
  }

  .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: 1.25rem .5rem;
  }*/

  .slider .owl-dots,
  .slider .owl-nav {
    -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 {
    bottom: 50px;
    position: absolute;
    left: 0;
    right: 0;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--primary);
  }

  .slider .owl-nav i {
    font-size: 2rem;
    color: var(--mid-blue);
  }

  .nav-label {
    vertical-align: super;
    position: relative;
  }

  .owl-prev .nav-label {
    padding-left: 10px;
  }

  .owl-next .nav-label {
    padding-right: 10px;
  }

  .owl-prev .nav-label:after {
    position: absolute;
    top: -5px;
    left: 5px;
  }

  .site-id-1 .owl-prev .nav-label:after {
    content: "Anterior";
  }

  .site-id-2 .owl-prev .nav-label:after {
    content: "Previous";
  }

  .owl-next .nav-label:after {
    position: absolute;
    top: -5px;
    right: 5px;
    text-align: right;
  }

  .site-id-1 .owl-next .nav-label:after {
    content: "Siguiente";
  }

  .site-id-2 .owl-next .nav-label:after {
    content: "Next";
  }

  .slider .owl-dots .owl-dot span {
    display: block;
    width: 1rem;
    height: 1rem;
    margin: 0 0.2rem;
    background: var(--white);
    border: 1px solid var(--d-grey);
    border-radius: 100%;
    -webkit-backface-visibility: visible;
    background-size: 16px 19px;
    -webkit-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
  }

  .slider .owl-dots .owl-dot.active span,
  .slider .owl-dots .owl-dot:hover span {
    background: var(--d-grey);
    border-radius: 100%;
  }

  .slider .owl-nav [class*="owl-"] {
    display: inline-block;
    cursor: pointer;
    width: 50%;
    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%);
    text-align: right;
  }

  .slider .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 1%;
    -webkit-transform: translate(-2%, -50%);
    -ms-transform: translate(-2%, -50%);
    transform: translate(-2%, -50%);
    text-align: left;
  }

  .slider .owl-nav [class*="owl-"]:hover {
    opacity: 0.8;
  }

  .wp-block-cover .module-box {
    padding: 3rem;
  }

  .wp-block-cover {
    background-position: top left;
  }

  .wp-block-cover .module-box {
    display: block;
    width: 100%;
    background: var(--white);
  }

  .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 0.5rem 0;
  }

  .copyright {
    padding: 0.25rem 0 0.45rem 0;
  }

  .site-footer h2 {
    font-size: 1.5rem;
  }
}

/* desktop */
@media (min-width: 1366px) {
  .hidden-mob {
    display: block;
  }

  .hidden-lg {
    display: none;
  }

  /* Main body */

  #main-content {
    padding-top: 190px;
  }

  html {
    font-size: 20px;
  }

  h1 {
    font-size: 3.25em;
  }

  h2,
  .h2 {
    font-size: 3em;
  }

  .narrow > div:first-of-type,
  .alignwide > div:first-of-type,
  .alignfull > div:first-of-type {
    padding: 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: -0.5rem;
  }

  .wp-block-columns.slim-gutter .wp-block-column {
    padding-left: 0.5rem;
    margin-bottom: 0.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;
  }

  .site-header {
    position: fixed;
  }

  .top-nav {
    display: block;
    width: 100%;
    margin: 0;
    background: url(/wp-content/uploads/bg-nav-3.jpg) repeat-x center;
    font-size: 0.85em;
  }

  .site-header .one-item > .wp-block-column {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  .site-branding {
    margin: 0;
    display: inline-block;
    vertical-align: middle;
  }

  .site-branding img {
    width: auto;
  }

  .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%;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
  }

  #primary-menu li {
    font-size: 0.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 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: var(--primary);
    font-size: 1.1em;
  }

  /*  #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 {
    background: url(/wp-content/uploads/chevron-down.svg) no-repeat
      calc(100% - 1.25rem) 1.7rem;
    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;
    text-align: start;
    padding: 0.5rem;
    background: var(--primary);
  }

  #primary-menu li.menu-item-4124 .sub-menu {
    width: 500px;
  }

  #primary-menu li:hover .sub-menu {
    display: block;
  }

  #primary-menu li .sub-menu li {
    width: 100%;
    display: inline-block;
    vertical-align: top;
  }

  #primary-menu li.menu-item-4124 .sub-menu li {
    width: 49%;
  }

  #primary-menu li .sub-menu li a,
  #primary-menu li .sub-menu li:last-of-type a {
    margin: 0;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
    background: var(--primary);
    display: block;
    color: 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 {
    background: var(--white);
    color: var(--primary);
  }

  .menu-languages-container ul li a,
  .menu-languages-container ul.sub-menu li a {
    border: 0;
  }

  .menu-languages-container ul.sub-menu {
    display: inline;
  }

  .site-info .wp-block-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .hero figure {
    max-height: 750px;
    overflow: hidden;
  }

  .hero img {
    height: auto;
  }

  .hero .wp-block-button a,
  .wp-block-button a {
    display: inline-block;
    /*   padding: 1.25rem 4rem;*/
  }

  .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;
  }

  .fancybox-slide {
    padding: 44px 150px;
  }
}

@media (max-width: 768px) {
  .menu-main-navigation-container .sub-menu,
  .inner-phone {
    display: none;
  }
}

@media (max-width: 1366px) {
  .site-branding img {
    width: auto;
    padding: 0.4rem;
    max-height: 3.95rem;
  }

  .top-nav {
    position: absolute;
    top: 5px;
    right: 90px;
  }

  #primary-menu .menu-item-has-children {
    position: relative;
  }

  #primary-menu .menu-item-has-children:after {
    background: url(/wp-content/themes/ibtonline/img/chevron-down-white.svg)
      no-repeat 50% 50%;
    background-size: auto;
    background-size: 10px;
    position: absolute;
    top: 5px;
    right: 0;
    width: 30px;
    height: 35px;
    content: "";
    z-index: 111;
  }

  ul.sub-menu li a {
    font-size: 0.85em;
  }

  .btn-content {
    overflow-y: scroll;
    max-height: 80vh;
  }
}

@media (max-width: 768px) {
  h1,
  .h1 {
    font-size: 2.5em;
  }

  h2,
  .h2 {
    font-size: 1.75em;
  }

  h3 {
    font-size: 1.25em;
  }

  .owl-carousel .owl-item .hero img,
  .page-banner .wp-block-cover {
    min-height: 350px !important;
  }

  .narrow > div:first-of-type,
  .home .slider .narrow.no-padding > div:first-of-type {
    padding: 3rem;
  }

  .nav-label {
    display: none;
  }

  .cat-btn a {
    width: 100%;
    margin-top: 3rem;
  }

  .about-block .wp-block-buttons,
  .view-all .wp-block-button {
    justify-content: center;
  }

  .view-all .wp-block-button {
    margin: 1.5rem auto 0 !important;
    text-align: center;
  }

  .right-pad {
    padding-right: 1.5rem;
  }

  .g-flex .right-pad {
    margin: 1.5rem;
    max-width: calc(100% - 1.5rem);
    padding: 1.5rem;
  }

  .site-footer img {
    margin-top: 1.5rem;
  }

  .site-footer h2 {
    margin: 0 auto;
    font-size: 1.75rem;
    text-align: center;
  }

  .sidebar-inner {
    max-width: 100%;
  }

  .call-box {
    font-size: 0.8em;
  }

  .products .owl-nav {
    margin: 0 0 2rem;
  }

  .search-filter-results {
    padding: 1.5rem;
  }

  .found {
    min-width: 100%;
  }

  .searchandfilter label:not(.sf-label-checkbox) {
    width: 100%;
  }

  .team-block p {
    margin-bottom: 0;
  }

  .single-team .team-hover {
    display: inline-block;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    background: transparent;
    text-align: center;
    padding: 0;
  }

  .single-team .team-hover:after,
  .team-hover .contact-details i {
    display: none;
  }

  .texture-box-inner {
    padding: 1rem;
  }

  .wp-block-getwid-content-timeline-item .wp-block-column {
    flex-basis: 100% !important;
  }

  .fancybox-content {
    max-width: 95% !important;
  }

  .fancybox-content .wp-block-button,
  .modal-header img {
    display: none !important;
  }

  .fancybox-slide {
    padding: 45px 10px 20px;
  }
}
