/*

Theme Name: Opes
Description: Bespoke WordPress theme created by Wagada Digital for Opes International.
Version: 1.0
Author: Wagada Digital
Author URI: https://www.wagada.co.uk/

*/

/**** FONTS ****/

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-Regular.eot");
  src: url("./fonts/TitilliumWeb-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/TitilliumWeb-Regular.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-Regular.woff") format("woff"),
    url("./fonts/TitilliumWeb-Regular.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-Regular.svg#TitilliumWeb-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-Light.eot");
  src: url("./fonts/TitilliumWeb-Light.eot?#iefix") format("embedded-opentype"),
    url("./fonts/TitilliumWeb-Light.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-Light.woff") format("woff"),
    url("./fonts/TitilliumWeb-Light.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-Light.svg#TitilliumWeb-Light") format("svg");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-Black.eot");
  src: url("./fonts/TitilliumWeb-Black.eot?#iefix") format("embedded-opentype"),
    url("./fonts/TitilliumWeb-Black.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-Black.woff") format("woff"),
    url("./fonts/TitilliumWeb-Black.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-Black.svg#TitilliumWeb-Black") format("svg");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-LightItalic.eot");
  src: url("./fonts/TitilliumWeb-LightItalic.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/TitilliumWeb-LightItalic.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-LightItalic.woff") format("woff"),
    url("./fonts/TitilliumWeb-LightItalic.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-LightItalic.svg#TitilliumWeb-LightItalic")
      format("svg");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-Italic.eot");
  src: url("./fonts/TitilliumWeb-Italic.eot?#iefix") format("embedded-opentype"),
    url("./fonts/TitilliumWeb-Italic.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-Italic.woff") format("woff"),
    url("./fonts/TitilliumWeb-Italic.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-Italic.svg#TitilliumWeb-Italic") format("svg");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-SemiBold.eot");
  src: url("./fonts/TitilliumWeb-SemiBold.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/TitilliumWeb-SemiBold.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-SemiBold.woff") format("woff"),
    url("./fonts/TitilliumWeb-SemiBold.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-SemiBold.svg#TitilliumWeb-SemiBold") format("svg");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-Bold.eot");
  src: url("./fonts/TitilliumWeb-Bold.eot?#iefix") format("embedded-opentype"),
    url("./fonts/TitilliumWeb-Bold.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-Bold.woff") format("woff"),
    url("./fonts/TitilliumWeb-Bold.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-Bold.svg#TitilliumWeb-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-SemiBoldItalic.eot");
  src: url("./fonts/TitilliumWeb-SemiBoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/TitilliumWeb-SemiBoldItalic.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-SemiBoldItalic.woff") format("woff"),
    url("./fonts/TitilliumWeb-SemiBoldItalic.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-SemiBoldItalic.svg#TitilliumWeb-SemiBoldItalic")
      format("svg");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-ExtraLight.eot");
  src: url("./fonts/TitilliumWeb-ExtraLight.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/TitilliumWeb-ExtraLight.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-ExtraLight.woff") format("woff"),
    url("./fonts/TitilliumWeb-ExtraLight.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-ExtraLight.svg#TitilliumWeb-ExtraLight")
      format("svg");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-ExtraLightItalic.eot");
  src: url("./fonts/TitilliumWeb-ExtraLightItalic.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/TitilliumWeb-ExtraLightItalic.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-ExtraLightItalic.woff") format("woff"),
    url("./fonts/TitilliumWeb-ExtraLightItalic.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-ExtraLightItalic.svg#TitilliumWeb-ExtraLightItalic")
      format("svg");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Titillium Web";
  src: url("./fonts/TitilliumWeb-BoldItalic.eot");
  src: url("./fonts/TitilliumWeb-BoldItalic.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/TitilliumWeb-BoldItalic.woff2") format("woff2"),
    url("./fonts/TitilliumWeb-BoldItalic.woff") format("woff"),
    url("./fonts/TitilliumWeb-BoldItalic.ttf") format("truetype"),
    url("./fonts/TitilliumWeb-BoldItalic.svg#TitilliumWeb-BoldItalic")
      format("svg");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

/**** DEFAULTS ****/

.clear {
  clear: both;
}

body {
  font-family: "Titillium Web";
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  font-weight: normal;
}

figure {
  width: 100%;
}

.wp-block-image {
  margin: 0;
}

.wp-block-image img {
  height: auto;
}

.wp-block-column {
  margin-left: auto;
  margin-right: auto;
}

#page-content {
  width: 100%;
  overflow: hidden;
}

#page-content .container {
  display: flex;
  flex-direction: column;
  padding-block: 240px;
  align-items: center;
  padding-inline: 16px;
}

#page-content .container.c-404 h2,
#page-content .container.c-404 p {
  text-align: center;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  padding-left: 1em;
}

.opes-columns-padding ul li:before,
.opes-li ul li:before {
  /* font-family: "Font Awesome 5 Free";
  font-size: 12px;
  line-height: 24px;
  display: inline;
  content: "\f0da";
  transition: all 0.5s ease;
  padding-right: 16px;
  color: #7a9b4e;
  font-weight: bold; */

  content: "\f0da"; /* Font Awesome icon */
  font-family: "Font Awesome 5 Free";
  font-size: 16px; /* Adjust the size */
  color: #7a9b4e;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Vertically center the bullet */
  transition: all 0.5s ease;
}

.opes-li-white ul li:before {
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  line-height: 24px;
  display: inline;
  content: "\f0da";
  transition: all 0.5s ease;
  color: #fff !important;
  padding-right: 16px;
  font-weight: bold;
}

.wp-block-columns {
  margin-bottom: 0 !important;
}

/**** BUTTONS ****/
.wp-block-button a {
  display: inline-flex;
  align-items: center;
  background-color: #00a3dd !important;
  line-height: 56px;
  position: relative;
  /*padding: 16px 82px 16px 28px !important;*/
  transition: all 0.5s ease;
  text-transform: uppercase;
  text-align: center;
  border-radius: 8px;
  padding: 0 0 0 16px;
  /*width: 100%;*/
}

.wp-block-button a:hover {
  /*border: 2px solid #fff;*/
  filter: brightness(1.2);
  background-color: rgba(0, 163, 221, 0.7);
}

.wp-block-button a:after {
  font-family: "Font Awesome 5 Free";
  font-size: 24px;
  line-height: 56px;
  display: block;
  background-color: #7a9b4e !important;
  content: "\f0da";
  transition: all 0.5s ease;
  padding: 0 16px;
  margin-left: 16px;
  /*position: absolute;*/
  /*right: 0;*/
  font-weight: bold;
  /*top: 50%;*/
  /*transform: translateY(-50%);*/
  border-radius: 0 8px 8px 0;
  z-index: 9;
}

.opes-blog-buttons:after {
  filter: brightness(1.2);
}

.dark-bg .wp-block-button a {
  background-color: #7a9b4e;
  border: 2px solid #fff;
}

.dark-bg .wp-block-button a:after {
  background-color: transparent !important;
  border-left: 2px solid #fff;
  right: -58px;
}

/**** COLOURS ****/
.content-row p a,
.content-row li a {
  color: #000000;
  font-weight: bold;
}

.dark-bg .content-row p a,
.dark-bg .content-row li a {
  color: #ffffff;
  font-weight: bold;
}

body .content-row .has-black-background-color {
  background-color: #000000;
}

body .content-row .has-black-color,
body .content-row p.has-black-color,
body .content-row p.has-black-color a,
body .content-row li.has-black-color a,
body .content-row .black {
  color: #000000;
}

/**** HEADER ****/
#header {
  box-sizing: border-box;
  width: 100%;
  position: fixed;
  height: 240px;
  z-index: 999;
  transition: all 0.5s ease;
}

#header.sticky {
  height: 80px;
  background-color: #ffffff;
  border-bottom: 1px solid #ccc;
  transition: height 0.5s ease;
}

#header-top-bar {
  height: 34px;
  background-color: #00a3dd;
  color: #fff;
}

#header-content {
  width: auto;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 30px 40px;
  transition: all 0.5s ease;
  display: flex;
  justify-content: space-between;
}

#header.sticky #header-content {
  padding: 10px 20px;
  transition: all 0.5s ease;
}

#logo {
  float: left;
  vertical-align: middle;
  height: 96px;
  line-height: 96px;
  transition: all 0.5s ease;
}

@media (min-width: 1024px) {
  #logo {
    height: 130px;
    line-height: 130px;
  }
}

#header.sticky #logo {
  vertical-align: middle;
  height: 50px;
  line-height: 50px;
}

#logo img {
  height: 96px;
  vertical-align: middle;
  transition: all 0.5s ease;
}

@media (min-width: 1024px) {
  #logo img {
    height: 130px;
    vertical-align: middle;
    transition: all 0.5s ease;
  }
}

#header.sticky #logo img {
  vertical-align: middle;
  height: 50px;
}

#header-contact {
  float: left;
  text-align: left;
  height: 32px;
}

#header-contact .header-contact-item {
  display: inline-block;
  position: relative;
  padding-left: 26px;
  color: #000;
  margin: 0 12px;
  line-height: 32px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

#header-contact .header-contact-item a {
  text-decoration: none;
  color: #fff;
}

#header-contact .header-contact-item .fas {
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 8px;
  color: #fff;
}

/**** NAV ****/
#nav {
  display: flex;
  justify-content: flex-end;
  line-height: 50px;
  width: calc(100% - 346px);
  transition: all 0.1s ease;
}

#header.sticky #nav {
  line-height: 54px;
  width: calc(100% - 160px);
}

#nav > ul {
  display: none;
  list-style: none;
  text-align: right;
  margin: 0;
}

#nav ul li {
  display: inline-block;
  margin-right: 26px;
  position: relative;
}

#nav ul li a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  color: #666;
  font-size: 16px;
  transition: all 0.2s ease;
}

#nav ul li:hover > a {
  color: #000;
}

#nav ul li.menu-item-has-children > a:after {
  font-family: "Font Awesome 5 Free";
  content: "\f0d7";
  position: relative;
  font-weight: bold;
  left: 5px;
}

#nav ul li.menu-item-has-children:hover > a:after {
  content: "\f078";
  font-size: 11px;
}

#nav ul li.menu-item-has-children:hover > a {
  border-radius: 20px 20px 0 0;
}

#nav ul li ul {
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  filter: brightness(1.2);
  position: absolute;
  z-index: -999;
  right: 0;
  top: 48px;
  transform: scaleY(0);
  transform-origin: top;
  margin: 0;
  padding: 24px 0 26px 0;
  min-width: 270px;
  border-radius: 0 0 6px 6px;
}

#nav ul li ul li.menu-item-has-children:hover a {
  position: absolute;
}

#nav ul li ul li.menu-item-has-children:hover ul li a {
  position: relative;
}

#nav ul li ul li:hover > ul {
  top: 28px;
  position: relative;
}

#nav ul li ul li ul {
  padding: 10px 0 22px 0 !important;
  top: 24px !important;
  right: 0 !important;
}

#nav ul li ul li ul li {
  margin: auto;
}

#header.sticky #nav ul li ul {
  top: 41px;
  right: -38px;
  padding: 40px;
}

#nav ul li.menu-item-has-children:hover > ul {
  visibility: visible;
  max-height: 2000px;
  z-index: 999;
  transform: scaleY(1);
  transition-delay: 0.3s;
}

#nav ul li ul li {
  display: flex;
  margin: -1px 0;
  padding: 6px 2px;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  text-align: right;
  justify-content: flex-end;
}

#header.sticky #nav ul li ul li {
  padding: 2px;
}

#nav ul li ul li a {
  margin: 0;
  font-size: 16px;
  line-height: 16px;
  padding: 7px 10px 7px 22px !important;
}

#header.sticky #nav ul li a {
  font-size: 16px;
}

#header.sticky #nav ul li ul li a {
  font-size: 14px;
}

#nav #mobile-nav-button {
  color: #000000;
  text-align: center;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-decoration: none;
}

#nav #mobile-nav-button:before {
  font-family: "Font Awesome 5 Free";
  content: "\f0c9";
  font-size: 32px;
  text-align: center;
  width: auto;
  transition: all 0.5s ease;
  position: relative;
  left: 0;
  top: 0;
  font-weight: 900;
}

.mm-wrapper_opened #nav #mobile-nav-button:before {
  font-family: "Font Awesome 5 Free";
  content: "\f00d";
  font-weight: 900;
}

.mm-panel,
.mm-navbar {
  /*background: #000000 !important;*/
  /*color: #fff !important;*/
  background: #ffffff !important;
  color: #000000 !important;
}

.mm-navbar__title {
  /*color: #fff !important;*/
  color: #000000 !important;
  font-weight: bold;
}

.mm-listview > li {
  cursor: pointer;
  color: #000000 !important;
  /*color: #fff !important;*/
}

/**** MAIN CONTENT ****/
#page-content {
  min-height: 500px;
}

#main-content {
  width: 90%;
  max-width: 1080px;
  margin: auto;
}

/**** PAGE HERO ****/
#page-hero {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

#page-hero .wp-block-buttons {
  align-items: flex-end !important;
  margin-top: 0.25rem;
}

#header-overlay {
  height: 100vh;
  width: 100%;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(
    174deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 20%,
    rgba(255, 255, 255, 0) 60%
  );
  background: -webkit-linear-gradient(
    174deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 20%,
    rgba(255, 255, 255, 0) 60%
  );
  background: linear-gradient(
    174deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 20%,
    rgba(255, 255, 255, 0) 60%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ffffff", GradientType=1);
}

.page-hero-content {
  position: relative;
  width: 90%;
  max-width: 1280px;
  top: 54%;
  transform: translateY(-50%);
  margin: 0 auto;
  color: #fff;
}

#page-hero .image-bg-container-wrap,
#page-hero .bx-viewport,
#page-hero .image-bg-container,
#page-hero .image-bg {
  width: 100%;
  position: absolute;
  height: 100%;
  z-index: -999;
  top: 0;
  left: 0;
}

.page-hero-content h1,
h2,
h3,
h4 {
  font-weight: unset;
  margin: 4px 0;
}

.page-hero-content h1 {
  font-size: 38px;
  font-weight: bold;
  float: right;
  text-align: right;
  background: rgba(0, 163, 221, 0.7);
  padding: 16px 34px 18px 34px;
  border-radius: 12px;
}

.page-hero-content h2 {
  clear: both;
  font-weight: normal;
  float: right;
  text-align: right;
  background: rgba(122, 155, 78, 0.7);
  line-height: 28px;
  font-size: 16px;
  padding: 24px 34px;
  max-width: 50%;
  border-radius: 12px;
}

.page-hero-content h3 {
  font-size: 24px;
}

.colour-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  padding: 0;
  mix-blend-mode: color;
}

.alternate-background-colour {
  background: rgb(255, 255, 255);
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
}

.alternate-background-colour.right {
  right: 0;
}

.alternate-background-colour.left {
  left: 0;
}

.video-bg {
  position: absolute;
  z-index: -999;
  height: 100%;
  width: 100%;
  overflow: hidden;
  opacity: 0.3;
  filter: grayscale(1);
}

.video-bg-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  height: 100%;
  width: 100%;
  padding: 0;
  padding-bottom: 56.25%;
}

.video-bg-wrapper iframe {
  height: 100%;
  min-height: 640px;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  bottom: 0;
  pointer-events: none;
}

.video-bg-player {
  /*display: none;*/
}

/* CONTENT ROW */
.content-row-container {
  width: 100vw;
  height: auto;
  min-height: 200px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1px 0;
}

.content-row {
  position: relative;
  width: 90%;
  max-width: 1280px;
  margin: 180px auto;
}

.content-row .wp-block-quote {
  margin: 40px auto;
  border-left: 0.25em solid #00a3dd;
  padding-left: 1em;
}

.content-row .wp-block-quote cite {
  color: #00a3dd;
}

.content-row .wp-block-quote p {
  margin-bottom: 18px;
}

.content-row .wp-block-pullquote {
  border: none;
}

.content-row .wp-block-pullquote p {
  font-size: 19px;
}

.content-row .wp-block-pullquote cite {
  color: #7a9b4e;
}

.content-row h1 {
  margin: -10px auto 52px auto;
  font-size: 42px;
  font-weight: 300;
}

.content-row h1:not(.has-text-color) {
  color: #333333 !important;
}

.dark-bg
  .content-row
  .wp-block-column:not(.light-bg):not([data-altbg="light-bg"])
  h1:not(.has-text-color) {
  color: #ffffff !important;
}

.content-row h2 {
  margin: 4px auto 42px auto !important;
  font-size: 32px !important;
  font-weight: bold;
}

.content-row h2:after {
  content: " " !important;
  display: block;
  position: relative !important;
  width: 40px;
  height: 4px;
  background-color: #7a9b4e;
  margin: 30px auto 40px auto;
}

.content-row h2.has-text-align-right:after,
.content-row h2.has-text-align-left:after {
  display: none;
}

.content-row h2:not(.has-text-color) {
  color: #333333 !important;
}

.dark-bg
  .content-row
  .wp-block-column:not(.light-bg):not([data-altbg="light-bg"])
  h2:not(.has-text-color) {
  color: #ffffff !important;
}

.content-row h3 {
  margin-top: 4px !important;
  font-size: 22px !important;
  font-weight: bold;
}

.content-row h3:after {
  content: " " !important;
  display: block;
  position: relative !important;
  width: 40px;
  height: 4px;
  background-color: #7a9b4e;
  margin: 10px auto 20px auto;
}

.content-row h3:not(.has-text-color) {
  color: #333333 !important;
}

.dark-bg
  .content-row
  .wp-block-column:not(.light-bg):not([data-altbg="light-bg"])
  h3:not(.has-text-color) {
  color: #ffffff !important;
}

.content-row h4 {
  margin-top: 4px !important;
  font-size: 22px !important;
  font-weight: 300;
}

.content-row h4:not(.has-text-color) {
  color: #333333 !important;
}

.dark-bg
  .content-row
  .wp-block-column:not(.light-bg):not([data-altbg="light-bg"])
  h4:not(.has-text-color) {
  color: #ffffff !important;
}

.content-row p,
.content-row ul {
  font-size: 17px;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.dark-bg
  .content-row
  .wp-block-column:not(.light-bg):not([data-altbg="light-bg"])
  p,
.dark-bg
  .content-row
  .wp-block-column:not(.light-bg):not([data-altbg="light-bg"])
  li {
  color: #ffffff;
}

.content-row ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem !important;
}

.content-row li {
  text-align: left;
}

.content-row li ul {
  margin: 5px 0;
}

.content-row p.has-large-font-size {
  font-size: 34px;
}

#page-hero .image-bg,
.content-row-container .image-bg {
  width: 100%;
  position: absolute;
  height: 100%;
  z-index: -999;
  top: 0;
  left: 0;
  opacity: 0.3 !important;
}

.content-row .wp-block-column {
  margin-left: auto;
  margin-right: auto;
}

.content-row-container.full-width .content-row {
  max-width: 100%;
  width: 100%;
  height: 100%;
}

/*.content-row-container.full-width .wp-block-columns .wp-block-column {*/
/*  padding: 0 8%;*/
/*}*/

.content-row-container.full-width.full-columns
  .wp-block-columns
  .wp-block-column {
  padding: 0 !important;
  margin: 0 !important;
}

.content-row-container.full-width
  .content-row
  .wp-block-column:not(:first-child) {
  margin-left: 0 !important;
}

@media (max-aspect-ratio: 16/9) {
  #page-hero .video-bg-wrapper iframe {
    height: 100vh;
  }

  .video-bg-wrapper {
    width: 200%;
  }
}

@media all and (max-width: 840px) {
  .video-bg-wrapper {
    width: 300%;
  }
}

@media all and (max-width: 540px) {
  .video-bg-wrapper {
    width: 500%;
  }
}

@media all and (max-width: 600px) {
  .vid-info {
    width: 50%;
    padding: 0.5rem;
  }

  .vid-info h1 {
    margin-bottom: 0.2rem;
  }
}

@media all and (max-width: 500px) {
  .vid-info .acronym {
    display: none;
  }
}

/**** CONTENT THUMBNAILS ****/
.content-thumbnail {
  height: 100%;
}

.content-thumbnail .thumbnail-box-image {
  width: calc(100% - 24px);
  border: 12px solid white;
  /*margin-bottom: 20px;*/
}

.content-thumbnail .thumbnail-box-image img {
  width: 100%;
}

.content-thumbnail .thumbnail-box-content {
  padding: 40px;
  background: #fff;
}

.content-thumbnail .thumbnail-box-content .wp-block-button__link {
  /*width: 100%;*/
  z-index: 1;
}

.content-thumbnail .thumbnail-box-content p {
  font-size: 14px;
  line-height: 24px;
}

.wp-block-buttons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.content-thumbnail .wp-block-buttons > .wp-block-button {
  display: flex;
  justify-content: center;
  width: 100%;
  isolation: isolate;
  position: relative;
}

.content-thumbnail .wp-block-buttons {
  position: absolute;
  bottom: 60px;
  width: 100%;
}

.content-thumbnail .thumbnail-box-content .wp-block-group__inner-container {
  position: relative;
  height: 100%;
  padding-bottom: 60px;
}

/**** FLIPBOXES ****/
.flipboxes {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.flipboxes .flipbox {
  flex: 1 1 100%;
  text-align: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  perspective: 1000px;
  background-color: transparent;
}

.flipbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

.flipbox:hover .flipbox-inner {
  transform: rotateY(180deg);
}

.flipbox-front,
.flipbox-back {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flipbox-front img {
  width: 100%;
}

.flipbox-back {
  transform: rotateY(180deg);
  padding: 14%;
  box-sizing: border-box;
}

.flipbox h4 {
  color: #333;
  margin-top: 4px !important;
  font-size: 18px !important;
  font-weight: bold;
}

.flipbox h4:after {
  content: " " !important;
  display: block;
  position: relative !important;
  width: 40px;
  height: 4px;
  background-color: #7a9b4e;
  margin: 10px auto 20px auto;
}

.dark-bg
  .content-row
  .wp-block-column:not(.light-bg):not([data-altbg="light-bg"])
  .flipbox
  h4:not(.has-text-color) {
  color: #333333 !important;
}

.content-row .flipbox.dark-bg h4:not(.has-text-color) {
  color: #ffffff !important;
}

.content-row .flipbox p {
  font-size: 14px;
  line-height: 24px;
}

.content-row .flipbox p:not(.has-text-color) {
  color: #333333 !important;
}

.content-row .flipbox.dark-bg p:not(.has-text-color) {
  color: #ffffff !important;
}

.flipbox .wp-block-buttons,
.flipbox .wp-block-button {
  width: 100%;
}

.flipbox .wp-block-buttons .wp-block-button a {
  border: none !important;
  /*width: calc(100% - 50px);*/
  /*padding: 10px;*/
}

.flipbox .wp-block-buttons .wp-block-button a:after {
  border: none !important;
  background-color: #7a9b4e !important;
  /*right: -48px;*/
}

/**** CTA ROW ****/
.cta-row h2 {
  font-size: 42px !important;
}

.cta-row h2:after {
  display: none;
}

.cta-row p {
  color: #333 !important;
  font-weight: normal;
  margin-top: -20px;
}

.cta-row p:not(:last-child) {
  margin-bottom: 2rem;
}

/**** TESTIMONIALS ****/
.testimonial-slider {
  overflow: visible;
}

.testimonial-slide {
  padding: 40px;
  overflow: visible;
}

.testimonial-slide:before {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f10d";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 220px;
  color: #ffffff;
  z-index: -1;
  opacity: 0.6;
}

.testimonial-slide:after {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  content: "\f10e";
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 220px;
  color: #ffffff;
  text-align: right;
  z-index: -1;
  opacity: 0.6;
}

.testimonial-slide .testimonial-content {
  width: 100%;
  max-width: 100%;
  font-size: 28px;
  line-height: 52px;
  color: #666;
  font-style: italic;
}

.testimonial-slide .testimonial-name {
  font-size: 22px;
  font-weight: bold;
}

/**** CHEMICAL PROPERTIES ****/
.chemical-properties-label {
  text-align: right;
  font-weight: bold;
  min-width: 160px;
  padding: 20px 40px 0 0;
  vertical-align: top;
}

.chemical-properties-content {
  padding: 20px 0 0 0;
}

/**** CHEMICAL PRODUCTS ****/
.chemical-product-categories,
.chemical-products.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1rem;
  margin-top: 60px;
}

.chemical-product-category {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.chemical-products-wrap {
  margin: 0 auto;
}

.chemical-products-wrap .bx-controls svg {
  width: 40px;
  height: 40px;
  fill: #333;
}

.chemical-products-wrap .bx-controls .bx-prev {
  position: absolute;
  top: 50%;
  left: -96px;
}

.chemical-products-wrap .bx-controls .bx-next {
  position: absolute;
  top: 50%;
  right: -96px;
}

.chemical-products.slider .chemical-product {
  max-width: 33%;
  display: inline-block;
}

.chemical-product-thumbnail {
  /*-webkit-box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);*/
  /*-moz-box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);*/
  /*box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);*/
  /*margin-bottom: 20px;*/
  width: calc(100% - 24px);
  border: 12px solid white;
  height: auto;
}

.chemical-product-thumbnail img {
  width: 100%;
}

.chemical-product-content {
  padding: 40px 40px 100px 40px;
  box-sizing: border-box;
  background: #fff;
  text-align: center;
  position: relative;
}

.chemical-product-content p {
  font-size: 14px;
  line-height: 24px;
}

.chemical-product-content .wp-block-buttons > .wp-block-button {
  display: block;
  width: 100%;
}

.chemical-product-content .wp-block-buttons {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  /*width: calc(100% - 80px);*/
}

/**** APPLICATIONS ****/
.application {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.application-categories,
.applications.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 4rem 2rem;
  margin-top: 60px;
}

@media (min-width: 905px) {
  .applications.grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1240px) {
  .applications.grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.application-category {
  display: block;
}

.applications-wrap {
  margin: 0 auto;
}

.applications-wrap .bx-controls svg {
  width: 40px;
  height: 40px;
  fill: #333;
}

.applications-wrap .bx-controls .bx-prev {
  position: absolute;
  top: 50%;
  left: -96px;
}

.applications-wrap .bx-controls .bx-next {
  position: absolute;
  top: 50%;
  right: -96px;
}

.applications.slider .application {
  max-width: 33%;
  display: inline-block;
}

.application-thumbnail {
  /*-webkit-box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);*/
  /*-moz-box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);*/
  /*box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);*/
  /*margin-bottom: 20px;*/
  width: calc(100% - 24px);
  border: 12px solid white;
  height: auto;
}

.application-thumbnail img {
  width: 100%;
}

.application-content {
  padding: 40px 40px 100px 40px;
  box-sizing: border-box;
  background: #fff;
  text-align: center;
  position: relative;
}

.application-content p {
  font-size: 14px;
  line-height: 24px;
}

.application-content .wp-block-buttons > .wp-block-button {
  display: block;
  width: 100%;
}

.application-content .wp-block-buttons {
  position: absolute;
  bottom: 40px;
  width: calc(100% - 80px);
}

.application-content .wp-block-buttons .wp-block-button a {
  /*width: calc(100% - 56px);*/
}

/**** BLOG ****/
/**** BLOG ****/
/**** BLOG ****/
.blog-listing.grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin: 60px 0;
}

.blog-article > a {
  display: flex;
}

.blog-thumbnail {
  width: calc(100% - 24px);
  border: 12px solid white;
  height: auto;
}

.blog-thumbnail img {
  width: 100%;
}

.blog-listing-content {
  padding: 40px 40px 80px 40px;
  background: #fff;
  text-align: center;
  position: relative;
  min-height: 280px;
}

.blog-listing-content p {
  font-size: 14px;
  line-height: 24px;
}

.blog-listing-content .wp-block-buttons > .wp-block-button {
  display: block;
  width: 100%;
}

.blog-listing-content .wp-block-buttons {
  width: calc(100% - 80px);
  position: absolute;
  bottom: 40px;
}

.blog-listing-wrap {
  margin: 0 auto;
}

.blog-listing-wrap .bx-controls svg {
  width: 40px;
  height: 40px;
  fill: #333;
}

.blog-listing-wrap .bx-controls .bx-prev {
  position: absolute;
  top: 50%;
  left: -96px;
}

.blog-listing-wrap .bx-controls .bx-next {
  position: absolute;
  top: 50%;
  right: -96px;
}

.blog-listing.slider .chemical-product {
  max-width: 33%;
  display: inline-block;
}

.loading-gif {
  display: none;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.is-loading .loading-gif {
  display: block;
}

.blog-slider {
  position: relative;
  height: 100%;
}

.blog-slider .blog-slide {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 80px;
  display: flex;
  background-size: cover;
}

.blog-slider-wrap .bx-viewport {
  margin: -1px 0;
}

.blog-slide-overlay {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(
    6deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 0) 60%
  );
  background: -webkit-linear-gradient(
    6deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 0) 60%
  );
  background: linear-gradient(
    6deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 0) 60%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
}

.blog-slide-content {
  width: 100%;
  align-self: center;
  position: relative;
  z-index: 1;
}

.blog-slide-content h3 {
  text-transform: uppercase;
  font-size: 20px !important;
  margin: 0;
}

.blog-slide-content h3:after {
  display: none;
}

.blog-slide-content p {
  font-size: 16px;
}

.blog-slide-content .wp-block-button a {
  border: none !important;
  background-color: #00a3dd !important;
  margin-right: 52px !important;
}

.blog-slide-content .wp-block-button a:after {
  border: none !important;
  background-color: #7a9b4e !important;
  /*right: -52px !important;*/
}

.blog-slider-wrap .bx-controls svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.blog-slider-wrap .bx-controls .bx-prev {
  position: absolute;
  top: 40%;
  left: 40px;
}

.blog-slider-wrap .bx-controls .bx-next {
  position: absolute;
  top: 40%;
  right: 40px;
}

/**** CASE STUDIES ****/
.case-study-listing.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 6em;
  margin: 60px 0;
}

.case-study-thumbnail {
  -webkit-box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);
  -moz-box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);
  box-shadow: 6px 6px 0px 0px rgba(255, 255, 255, 1);
  margin-bottom: 20px;
  width: calc(100% - 6px);
  height: auto;
}

.case-study-thumbnail img {
  width: 100%;
}

.case-study-listing-content {
  padding: 40px 40px 80px 40px;
  background: #fff;
  text-align: center;
  position: relative;
}

.case-study-listing-content p {
  font-size: 14px;
  line-height: 24px;
}

.case-study-listing-content .wp-block-buttons > .wp-block-button {
  display: block;
  width: 100%;
}

.case-study-listing-content .wp-block-buttons {
  width: calc(100% - 80px);
  position: absolute;
  bottom: 40px;
}

.case-study-listing-content .wp-block-buttons .wp-block-button a {
  width: calc(100% - 56px);
}

.case-study-listing-wrap {
  margin: 0 auto;
}

.case-study-listing-wrap .bx-controls svg {
  width: 40px;
  height: 40px;
  fill: #333;
}

.case-study-listing-wrap .bx-controls .bx-prev {
  position: absolute;
  top: 50%;
  left: -96px;
}

.case-study-listing-wrap .bx-controls .bx-next {
  position: absolute;
  top: 50%;
  right: -96px;
}

.case-study-listing.slider .chemical-product {
  max-width: 33%;
  display: inline-block;
}

.case-study-slider-wrap {
  width: 50%;
  max-width: 50% !important;
  position: absolute;
  top: 0;
  right: 0;
}

.case-study-slider {
  position: relative;
  height: 100%;
}

.case-study-slider .case-study-slide {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 80px;
  display: flex;
  background-size: cover;
}

.case-study-slider-wrap .bx-viewport {
  margin: -1px 0;
}

.case-study-slide-overlay {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(
    6deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 0) 60%
  );
  background: -webkit-linear-gradient(
    6deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 0) 60%
  );
  background: linear-gradient(
    6deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 0) 60%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
}

.case-study-slide-content {
  padding-top: 80px;
  padding-left: 15%;
  width: 70%;
  align-self: flex-end;
  position: relative;
  z-index: 1;
}

.case-study-slide-content h3 {
  text-transform: uppercase;
  font-size: 20px !important;
  margin: 0;
}

.case-study-slide-content h3:after {
  display: none;
}

.case-study-slide-content p {
  font-size: 16px;
}

.case-study-slide-content .wp-block-button a {
  border: none !important;
  background-color: #00a3dd !important;
  margin-right: 52px !important;
}

.case-study-slide-content .wp-block-button a:after {
  border: none !important;
  background-color: #7a9b4e !important;
  right: -52px !important;
}

.case-study-slider-wrap .bx-controls svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.case-study-slider-wrap .bx-controls .bx-prev {
  position: absolute;
  top: 40%;
  left: 40px;
}

.case-study-slider-wrap .bx-controls .bx-next {
  position: absolute;
  top: 40%;
  right: 40px;
}

/**** LEAD MAGNETS ****/
.lead-magnet.wp-block-buttons.is-content-justification-center {
  text-align: center;
}

.lead-magnet-download-button {
  text-align: center;
  padding: 60px;
}

.lead-magnet-form h2.gform_title {
  font-size: 32px;
  margin: 20px 0;
  font-weight: bold;
}

.lead-magnet-form.modal {
  display: none;
}

.lead-magnet-form .gform_button.button {
  background-color: #00a3dd;
  font-size: 18px;
  line-height: 24px;
  position: relative;
  padding: 16px 28px;
  transition: all 0.5s ease;
  text-transform: uppercase;
  text-align: center;
  border-radius: 0;
  margin: 20px auto;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.lead-magnet-form .gform_button.button:hover {
  filter: brightness(1.2);
  background-color: rgba(0, 163, 221, 0.7);
}

/**** APPLICATIONS TABLE ****/
.applications-table {
  width: 100%;
}

.applications-table th {
  background: #00a3dd;
  padding: 16px;
  color: #fff;
}

.applications-table td {
  text-align: center;
  padding: 12px;
  width: 20%;
}

.applications-table tr:nth-child(even) {
  background-color: #efefef;
}

/**** TEAM ****/

/* Slider */
.team-thumbnail-slider-wrap {
  margin: 80px auto 0 auto;
}

.team-member {
  text-align: center;
  align-self: stretch;
  position: relative;
}

.team-member img {
  max-width: 100%;
  height: auto;
  padding: 6px;
  border: 8px solid #8c8c8c;
  border-radius: 50%;
  background: #fff;
}

.team-thumbnail-slider .team-member img {
  width: 220px;
}

.team-member h4 {
  margin-top: 8px !important;
  margin-bottom: 0;
  font-weight: bold;
}

.team-member p {
  color: #223a7d;
  opacity: 0.7;
  margin-top: 12px;
  font-size: 17px;
  line-height: 28px;
  font-weight: bold;
}

.team-member a,
.team-slider a {
  text-decoration: none;
}

.team-slider-wrap {
  width: calc(100% - 300px);
  margin: 20px auto;
  position: relative;
}

.team-slider-wrap .team-slide {
  margin-right: 2px;
}

.team-slider-prev {
  width: 45px;
  height: 85px;
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  fill: #05adb7;
}

.team-slider-next {
  width: 45px;
  height: 85px;
  position: absolute;
  left: -150px;
  top: 50%;
  transform: translateY(-50%);
  fill: #05adb7;
}

.team-slide-image {
  max-width: 260px;
  float: left;
  margin-right: 40px;
}

.team-slide-image img {
  width: 100%;
}

/* Single */
.single-team-member {
  text-align: left;
  margin: 0 auto;
}

.single-team-member-image {
  float: left;
  margin-right: 80px;
}

.single-team-member-image img {
  width: 300px;
  height: auto;
  padding: 6px;
  border: 8px solid #8c8c8c;
  border-radius: 50%;
  background: #fff;
}

.single-team-member h2 span {
  color: #8c8c8c;
  font-weight: normal;
}

.single-team-member h2:after {
  margin: 30px 0;
}

.single-team-member-content p {
  max-width: 100%;
}

.single-team-member-content i {
  margin-right: 10px;
  color: #00a3dd;
}

/* Grid view */
.team-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  /*height: 780px;*/
}

.team-member-thumbnail {
  margin-bottom: 20px;
  width: calc(100% - 6px);
  max-width: 340px !important;
  height: auto;
  border: 8px solid #8f8f8f;
  border-radius: 50%;
  padding: 6px;
  background: #fff;
  position: relative;
  z-index: 99;
}

.team-member-content {
  padding: 120px 40px 60px 40px;
  background: #fff;
  text-align: center;
  position: relative;
  top: -120px;
  z-index: 0;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member-content p {
  font-size: 18px;
  line-height: 24px;
}

.team-member-content p.team-member-excerpt {
  color: #8c8c8c;
  font-size: 14px;
}

.team-member-content .wp-block-buttons > .wp-block-button {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.team-member-content .wp-block-buttons {
  width: 100%;
  position: absolute;
  bottom: 60px;
  text-align: center;
}

/**** Client Logos ****/
.client-logos-slider-wrap {
  margin: auto;
}

.client-logo {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
}

.client-logo img {
  max-width: 200px;
  max-height: 120px;
}

/**** GRAVTY FORMS ****/
.dark-bg .gform-field-label {
  color: #fff;
}

.gform_wrapper.gravity-theme .gfield input,
.gform_wrapper.gravity-theme .gfield select,
.gform_wrapper.gravity-theme .gfield textarea {
  border-radius: 20px;
  border: solid 2px #333;
  padding: 12px !important;
  font-family: "Titillium Web";
}

body .gform_wrapper.gravity-theme .gform_validation_errors > h2,
body
  .dark-bg
  .content-row
  .wp-block-column
  .gform_wrapper.gravity-theme
  .gform_validation_errors
  > h2 {
  color: #000 !important;
  font-size: 18px !important;
  text-align: center;
  padding: 0;
  margin: 32px 0 -14px 0 !important;
}

.dark-bg .gform_wrapper.gravity-theme .gfield input,
.dark-bg .gform_wrapper.gravity-theme .gfield select,
.dark-bg .gform_wrapper.gravity-theme .gfield textarea {
  border: solid 2px #fff;
  background: none;
  color: #fff;
}

.gform_button {
  background-color: #00a3dd;
  line-height: 24px;
  position: relative;
  padding: 16px 28px !important;
  transition: all 0.5s ease;
  text-transform: uppercase;
  text-align: center;
  margin-right: 52px;
  border-radius: 8px;
  cursor: pointer;
  color: #fff !important;
}

.gform_button:hover {
  /*border:2px solid #fff;*/
  filter: brightness(1.2);
  background-color: rgba(0, 163, 221, 0.7);
}

.dark-bg .gform_button {
  background-color: #7a9b4e;
  border: 2px solid #fff;
  margin-right: 58px;
}

.gform_validation_errors,
.gform_validation_errors h2 {
  color: #000;
  font-size: 14px;
}

.gform_confirmation_wrapper {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
}

/**** FOOTER ****/
#footer {
  width: 100%;
  background-color: #333;
  padding: 60px 0;
  margin-top: 0;
}

#footer-content {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-column h3 {
  color: #fff;
  border-bottom: 4px solid #7a9b4e;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.footer-column p {
  color: #fff;
}

.footer-column a {
  text-decoration: none;
  font-weight: normal;
  color: #fff;
}

.footer-column i {
  color: #00a3dd;
  margin-right: 10px;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
  color: #fff;
}

.footer-column-3 {
  display: none;
}

.footer-column-1,
.footer-column-2,
.footer-column-3 {
  box-sizing: border-box;
  padding-right: 30px;
}

.footer-column-4 {
  text-align: left;
}

#footer .footer-logos {
  display: none;
  width: 100%;
  text-align: right;
  max-width: 1280px;
  margin: 20px auto 0 auto;
}

#footer .footer-logos .footer-logo {
  max-height: 70px;
  max-width: 140px;
  margin-left: 24px;
  display: inline-block;
}

#bottom-bar {
  width: 100%;
  /*height: 40px;*/
  background-color: #00a3dd;
}

#bottom-bar-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  width: 90%;
  max-width: 1280px;
  margin: auto;
  padding: 0.5rem 0;
  /*height: 40px;*/
  /*line-height: 40px;*/
  color: #fff;
}

#bottom-bar-content a {
  text-decoration: none;
  /*font-weight: bold;*/
  color: #fff;
}

.bottom-bar-left {
  float: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.bottom-bar-left span:last-child {
  margin-right: 0;
}

.bottom-bar-right {
  float: right;
  font-size: 14px;
}

.footer-column-5-content ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  font-size: 14px;
}

.footer-column-5-content ul li a {
  white-space: nowrap;
}

/*
 * -----------------
 * Custom Blocks
 * -----------------
 */
.wp-block-button {
  /*background-color: #7a9b4e;*/
  border-radius: 8px;
}

.chemical-product {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  flex-grow: 1;
}

#page-content > div:last-child {
  display: none !important;
}

/*
 * -----------------
 * Responsive Styles
 * -----------------
 */
.opes-home-4 .wp-block-columns {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap !important;
}

.opes-home-4 .wp-block-columns .wp-block-column {
  margin: 0 !important;
}

.opes-home-5 .wp-block-columns {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap !important;
}

.opes-home-5 .wp-block-columns .wp-block-column:first-child {
  display: none;
}

.opes-home-5 .wp-block-columns .wp-block-column:first-child h2 {
  margin: 0 !important;
  padding: 0 3rem;
}

.opes-home-5 .wp-block-columns .wp-block-column:first-child p {
  padding: 0 3rem;
}

.opes-columns .wp-block-columns .wp-block-column:first-child h2,
.opes-columns .wp-block-columns .wp-block-column:last-child h2 {
  margin: 0 !important;
  padding: 0 3rem;
  text-align: start;
}

.opes-columns .wp-block-columns .wp-block-column:first-child p {
  padding: 0 3rem;
  text-align: start;
}

.opes-columns .wp-block-columns .wp-block-column:first-child ul {
  padding: 0 3rem;
  text-align: start;
}

.opes-columns .wp-block-columns .wp-block-column:first-child h2,
.opes-columns .wp-block-columns .wp-block-column:last-child h2 {
  margin: 0 !important;
  padding: 0 3rem;
}

.opes-columns .wp-block-columns .wp-block-column:last-child p,
.opes-columns .wp-block-columns .wp-block-column:last-child ul {
  padding: 0 3rem;
}

.opes-columns-padding .wp-block-columns .wp-block-column h2,
.opes-columns-padding .wp-block-columns .wp-block-column p,
.opes-columns-padding .wp-block-columns .wp-block-column ul {
  padding: 0 3rem;
  /*text-align: start;*/
}

.single-chemicals .alternate-background-colour {
  width: 0;
}

.bx-viewport {
  max-width: 250px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .flipboxes .flipbox {
    flex: 1 1 50%;
  }

  .bx-viewport {
    max-width: 540px;
  }
}

@media (min-width: 782px) {
  #page-hero .image-bg,
  .content-row-container .image-bg {
    opacity: 1 !important;
  }

  .single-chemicals .alternate-background-colour {
    width: 50%;
  }

  .opes-columns .wp-block-columns .wp-block-column:first-child h2,
  .opes-columns .wp-block-columns .wp-block-column:first-child p,
  .opes-columns .wp-block-columns .wp-block-column:first-child ul {
    text-align: end;
  }

  .opes-columns-inversed .wp-block-columns .wp-block-column:first-child h2,
  .opes-columns-inversed .wp-block-columns .wp-block-column:first-child p,
  .opes-columns-inversed .wp-block-columns .wp-block-column:first-child ul {
    text-align: start;
  }

  .opes-columns-padding
    .wp-block-columns
    .wp-block-column
    h2.has-text-align-right,
  .opes-columns-padding
    .wp-block-columns
    .wp-block-column
    p.has-text-align-right,
  .opes-columns-padding
    .wp-block-columns
    .wp-block-column
    ul.has-text-align-right {
    text-align: right;
  }
}

@media (min-width: 905px) {
  #page-hero {
    min-height: 540px;
  }

  #nav .menu {
    display: inherit;
  }

  #nav #mobile-nav-button {
    display: none;
  }

  .opes-home-4 .wp-block-columns {
    display: flex;
    flex-direction: row;
  }

  .opes-home-4 .wp-block-columns .wp-block-column {
    flex: 0 1 calc(50% - 1rem);
  }

  .chemical-product-categories,
  .chemical-products.grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-listing.grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wp-block-buttons {
    flex-direction: row;
  }

  #footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  #bottom-bar-content {
    flex-direction: row;
  }

  .bottom-bar-left {
    flex-direction: row;
    gap: 2rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .opes-home-5 .wp-block-columns {
    flex-direction: row;
    gap: 0;
  }

  .opes-home-5 .wp-block-columns .wp-block-column:first-child {
    display: flex;
    flex-direction: column;
  }

  .blog-slider-wrap {
    width: 50%;
    max-width: 50% !important;
    position: absolute;
    top: 0;
    right: 0;
  }

  .opes-home-5 .wp-block-columns .wp-block-column:first-child h2 {
    padding: 0 6rem;
  }

  .opes-home-5 .wp-block-columns .wp-block-column:first-child p {
    padding: 0 6rem;
  }

  .opes-columns .wp-block-columns .wp-block-column:first-child h2,
  .opes-columns .wp-block-columns .wp-block-column:last-child h2 {
    padding: 0 6rem;
  }

  .opes-columns .wp-block-columns .wp-block-column:first-child p {
    padding: 0 6rem;
  }

  .opes-columns .wp-block-columns .wp-block-column:first-child ul {
    padding: 0 6rem;
  }

  .opes-columns .wp-block-columns .wp-block-column:first-child h2,
  .opes-columns .wp-block-columns .wp-block-column:last-child h2 {
    padding: 0 6rem;
  }

  .opes-columns .wp-block-columns .wp-block-column:last-child p,
  .opes-columns .wp-block-columns .wp-block-column:last-child ul {
    padding: 0 6rem;
  }

  .opes-columns-padding .wp-block-columns .wp-block-column h2,
  .opes-columns-padding .wp-block-columns .wp-block-column p,
  .opes-columns-padding .wp-block-columns .wp-block-column ul {
    padding: 0 6rem;
  }

  .bx-viewport {
    max-width: 830px;
  }

  .team-member-content {
    padding: 120px 80px 120px 80px;
    min-height: 360px;
  }
}

@media (min-width: 1240px) {
  .flipboxes .flipbox {
    flex: 1 1 33.33%;
  }

  .opes-home-4 .wp-block-columns {
    flex-wrap: nowrap !important;
  }

  .opes-home-4 .wp-block-columns .wp-block-column {
    flex: 0 1 33.33%;
  }

  .chemical-product-categories,
  .chemical-products.grid {
    grid-template-columns: repeat(4, 1fr);
  }

  #footer-content {
    grid-template-columns: 25% 25% 15% 35%;
  }

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

  .footer-column-3 {
    display: inherit;
  }

  .footer-column-4 {
    text-align: right;
  }

  .bx-viewport {
    max-width: 1120px;
  }

  .team-member-content {
    min-height: 320px;
  }
}

/* About page */
.page-id-208 .image-bg,
.page-id-1602 .image-bg,
.page-id-1605 .image-bg {
  opacity: 0.1 !important;
}

.opes-image-opacity .image-bg {
  opacity: 0.36 !important;
}

/* Timeline */
/*.timeline {*/
/*    line-height: 1.4em;*/
/*    list-style: none;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    width: 100%;*/
/*    gap: 0*/
/*}*/

/*.timeline h1,*/
/*.timeline h2,*/
/*.timeline h3,*/
/*.timeline h4,*/
/*.timeline h5,*/
/*.timeline h6 {*/
/*    line-height: inherit;*/
/*}*/

/*.timeline-title {*/
/*    font-size: 1rem !important;*/
/*}*/

/*.timeline-title:after {*/
/*    display: none !important;*/
/*}*/

/*.timeline-description {*/
/*    margin: 0 !important;*/
/*}*/

/*----- TIMELINE ITEM -----*/
.timeline-item {
  padding-left: 40px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/*----- TIMELINE INFO -----*/
.timeline-info {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0 0 0.5em 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/*----- TIMELINE MARKER -----*/
.timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15px;
}

.timeline-marker:before {
  background: #7a9b4e;
  border: 3px solid transparent;
  border-radius: 100%;
  content: "";
  display: block;
  height: 15px;
  position: absolute;
  top: 3px;
  left: -3px;
  width: 15px;
  transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
  z-index: 9;
}

.timeline-marker:after {
  content: "";
  width: 3px;
  background: #ccd5db;
  display: block;
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 6px;
}

.timeline-item:last-child .timeline-marker:after {
  content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before {
  background: transparent;
  border: 3px solid #7a9b4e;
}

/*----- TIMELINE CONTENT -----*/
.timeline-content {
  padding-bottom: 40px;
}

/*.timeline-item:nth-child(odd) .timeline-content {*/
/*    transform: translateX(1.5rem);*/
/*}*/

/*.timeline-item:nth-child(even) .timeline-content {*/
/*    transform: translateX(-1.5rem);*/
/*}*/

/*.timeline-item:nth-child(odd) .timeline-info {*/
/*    transform: translateX(-1.5rem);*/
/*}*/

/*.timeline-item:nth-child(even) .timeline-info {*/
/*    transform: translateX(1.5rem);*/
/*}*/

.timeline-content p:last-child {
  margin-bottom: 0;
}

/*----- TIMELINE PERIOD -----*/
.period {
  padding: 0;
}

.period .timeline-info {
  display: none;
}

.period .timeline-marker:before {
  background: transparent;
  content: "";
  width: 15px;
  height: auto;
  border: none;
  border-radius: 0;
  top: 0;
  bottom: 30px;
  position: absolute;
  border-top: 3px solid #ccd5db;
  border-bottom: 3px solid #ccd5db;
}

.period .timeline-marker:after {
  content: "";
  height: 32px;
  top: auto;
}

.period .timeline-content {
  padding: 40px 0 70px;
}

.period .timeline-title {
  margin: 0;
}

/*----------------------------------------------
    MOD: TIMELINE SPLIT
----------------------------------------------*/
@media (min-width: 768px) {
  .timeline-split .timeline,
  .timeline-centered .timeline {
    display: table;
  }

  .timeline-split .timeline-item,
  .timeline-centered .timeline-item {
    display: table-row;
    padding: 0;
  }

  .timeline-split .timeline-info,
  .timeline-centered .timeline-info,
  .timeline-split .timeline-marker,
  .timeline-centered .timeline-marker,
  .timeline-split .timeline-content,
  .timeline-centered .timeline-content,
  .timeline-split .period .timeline-info {
    display: table-cell;
    vertical-align: top;
  }

  .timeline-split .timeline-marker,
  .timeline-centered .timeline-marker {
    position: relative;
  }

  .timeline-split .timeline-content,
  .timeline-centered .timeline-content {
    padding-left: 30px;
  }

  .timeline-split .timeline-info,
  .timeline-centered .timeline-info {
    padding-right: 30px;
  }

  .timeline-split .period .timeline-title,
  .timeline-centered .period .timeline-title {
    position: relative;
    left: -45px;
  }

  .timeline-item:nth-child(2n + 1) .timeline-info,
  .timeline-item:nth-child(2n) .timeline-info {
    transform: translateX(0);
  }

  .timeline-item:nth-child(2n) .timeline-content,
  .timeline-item:nth-child(2n + 1) .timeline-content {
    transform: translateX(0);
  }
}

/*----------------------------------------------
    MOD: TIMELINE CENTERED
----------------------------------------------*/
@media (min-width: 992px) {
  .timeline-centered,
  .timeline-centered .timeline-item,
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-marker,
  .timeline-centered .timeline-content {
    display: block;
    margin: 0;
    padding: 0;
  }

  .timeline-centered .timeline-item {
    padding-bottom: 40px;
    overflow: hidden;
  }

  .timeline-centered .timeline-marker {
    position: absolute;
    left: 50%;
    margin-left: -7.5px;
  }

  .timeline-centered .timeline-info,
  .timeline-centered .timeline-content {
    width: 50%;
  }

  .timeline-centered > .timeline-item:nth-child(odd) .timeline-info {
    float: left;
    text-align: right;
    padding-right: 30px;
  }

  .timeline-centered > .timeline-item:nth-child(odd) .timeline-content {
    float: right;
    text-align: left;
    padding-left: 30px;
  }

  .timeline-centered > .timeline-item:nth-child(even) .timeline-info {
    float: right;
    text-align: left;
    padding-left: 30px;
  }

  .timeline-centered > .timeline-item:nth-child(even) .timeline-content {
    float: left;
    text-align: right;
    padding-right: 30px;
  }

  .timeline-centered > .timeline-item.period .timeline-content {
    float: none;
    padding: 0;
    width: 100%;
    text-align: center;
  }

  .timeline-centered .timeline-item.period {
    padding: 50px 0 90px;
  }

  .timeline-centered .period .timeline-marker:after {
    height: 30px;
    bottom: 0;
    top: auto;
  }

  .timeline-centered .period .timeline-title {
    left: auto;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    transform: translateX(1.5rem);
  }

  .timeline-item:nth-child(even) .timeline-content {
    transform: translateX(-1.5rem);
  }

  .timeline-item:nth-child(odd) .timeline-info {
    transform: translateX(-1.5rem);
  }

  .timeline-item:nth-child(even) .timeline-info {
    transform: translateX(1.5rem);
  }
}

/*----------------------------------------------
    MOD: MARKER OUTLINE
----------------------------------------------*/
.marker-outline .timeline-marker:before {
  background: transparent;
  border-color: #7a9b4e;
}

.marker-outline .timeline-item:hover .timeline-marker:before {
  background: #7a9b4e;
}

/* Testimonials */
.opes-home-5 {
  /*max-height: 520px;*/
}

.opes-home-5 .wp-block-columns .wp-block-column:last-child {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.opes-testimonials-column {
  position: relative;
}

.opes-testimonials-slider {
  position: relative;
  display: flex;
  justify-content: center;
  margin-block-start: 0 !important;
  margin-inline: 0;
  /*width: 320px;*/
  width: 100%;
  padding: 80px 0 120px 0;
}

.opes-testimonials-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 320px;
  z-index: 1;
}

.opes-testimonials-slider-slides {
  position: relative;
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: start !important;
  gap: 0 !important;
  top: 0;
  left: -320px;
  /*width: 22650px;*/
}

.opes-testimonials-slider-image-slides {
  position: relative;
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: start !important;
  gap: 0 !important;
  top: 0;
  left: -100%;
  /*width: 22650px;*/
}

.opes-testimonials-slider-slides.shifting {
  transition: left 0.2s ease-out;
}

.opes-testimonials-slider-slide {
  width: 320px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 1s;
  position: relative;
}

.opes-testimonials-slider-actions {
  position: absolute;
  display: flex !important;
  gap: 1rem;
  max-width: 788px;
  bottom: 24px;
  z-index: 999999;
}

.opes-testimonials-slider-slide > * {
  width: 320px;
}

#opes-slider-prev,
#opes-slider-next {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: hsla(0, 0%, 0%, 0.6);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.2s ease-out;
  border-radius: 8px;
}

#opes-slider-prev svg,
#opes-slider-next svg {
  stroke: #ffffff;
}

#opes-slider-prev:hover,
#opes-slider-next:hover {
  opacity: 1;
}

.opes-testimonials-slider-slide .opes-button {
  max-width: 300px;
}

@media (min-width: 480px) {
  .opes-testimonials-slider {
    /*width: 480px;*/
  }

  .opes-testimonials-slider-wrapper {
    width: 480px;
  }

  .opes-testimonials-slider-slides {
    left: -480px;
    /*width: 22650px;*/
  }

  .opes-testimonials-slider-slide {
    width: 480px;
  }

  .opes-testimonials-slider-slide > * {
    width: 480px;
  }
}

@media (min-width: 906px) {
  .opes-testimonials-slider {
    /*width: 420px;*/
  }

  .opes-testimonials-slider-wrapper {
    width: 420px;
  }

  .opes-testimonials-slider-slides {
    left: -420px;
    /*width: 22650px;*/
  }

  .opes-testimonials-slider-slide {
    width: 420px;
  }

  .opes-testimonials-slider-slide > * {
    width: 420px;
  }

  .opes-testimonials-slider-actions {
    display: inherit !important;
    gap: 1rem;
  }
}

@media (min-width: 1280px) {
  .opes-testimonials-slider {
    /*width: 640px;*/
  }

  .opes-testimonials-slider-wrapper {
    width: 640px;
    /*width: 100%;*/
  }

  .opes-testimonials-slider-slides {
    /*left: -100%;*/
    left: -640px;
    /*width: 22650px;*/
  }

  .opes-testimonials-slider-slide {
    width: 640px;
    /*width: 100%;*/
  }

  .opes-testimonials-slider-slide > * {
    width: 640px;
    /*width: 100%;*/
    max-width: 640px;
  }

  .opes-testimonials-slider-actions {
    justify-content: flex-start !important;
    display: flex !important;
  }
}

/* Apply class when scrolling to the flipboxes */
.flipbox.port-view .flipbox-inner {
  transform: rotateY(180deg);
}

/* Hide chemical products thumbnail image */
.term-acrylates .chemical-product-thumbnail,
.term-alcohols .chemical-product-thumbnail,
.term-methacrylates .chemical-product-thumbnail,
.term-monomers .chemical-product-thumbnail,
.term-propylene-glycol-suppliers .chemical-product-thumbnail {
  display: none;
}

.opes-testimonials-slider-image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 100%;
}

.opes-testimonials-slider-image-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.opes-testimonials-slider-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
  min-width: 100%;
}

/**** TIMELINE ****/
@media (max-width: 904px) {
  .timeline {
    width: 100%;
    max-width: 1180px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    height: auto;
    margin: 60px auto;
    position: relative;
    opacity: 0;
    flex-direction: column;
  }

  .timeline-line {
    height: 100%;
    width: 1px;
    border-left: 1px dashed #999;
    position: absolute;
    top: -20px;
    bottom: 0;
    left: 50%;
  }

  .timeline-event {
    position: relative;
    max-width: 200px;
    width: 100%;
    flex-grow: 1;
  }

  .timeline-event-content {
    background-color: #fff;
    border: 1px solid #999;
    padding: 22px 10px;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    border-radius: 6px;
    width: 140%;
    left: -25%;
    position: relative;
    margin-bottom: 48px;
  }

  .timeline-event.timeline-active .timeline-event-content {
    width: 180%;
    left: -51%;
  }

  .timeline-event:nth-child(odd) .timeline-event-content {
    bottom: 0;
  }

  .timeline-event:nth-child(even) .timeline-event-content {
    top: 0;
  }

  .timeline-event:nth-child(odd).timeline-active {
    position: relative;
    bottom: -48px;
  }

  .timeline-event:nth-child(even).timeline-active {
    position: relative;
    top: -48px;
  }

  .timeline-event-date {
    position: absolute;
    background-color: #7a9b4e;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
  }

  .timeline-event:nth-child(odd) .timeline-event-date {
    top: -16px;
    left: -8px;
    bottom: initial;
  }

  .timeline-event:nth-child(even) .timeline-event-date {
    top: -16px;
    left: -8px;
  }

  .timeline-event-full {
    display: none;
  }

  .timeline-event-expand,
  .timeline-event-collapse {
    background-color: #00a3dd;
    color: #fff;
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999999;
    pointer-events: none !important;
    display: none;
  }

  .timeline-event-collapse {
    display: none;
  }

  .timeline-event-expand svg,
  .timeline-event-collapse svg {
    width: 32px;
    height: 32px;
  }

  .timeline-event:nth-child(odd) .timeline-event-expand,
  .timeline-event:nth-child(odd) .timeline-event-collapse {
    bottom: -16px;
    left: calc(50% - 16px);
    top: initial;
  }

  .timeline-event:nth-child(even) .timeline-event-expand,
  .timeline-event:nth-child(even) .timeline-event-collapse {
    bottom: -16px;
    left: calc(50% - 16px);
  }

  .timeline-event-connector {
    width: 1px;
    height: 180px;
    border-left: 1px dashed #aaa;
    position: absolute;
    z-index: -1;
  }

  .timeline-event:nth-child(odd) .timeline-event-connector {
    bottom: 0;
    left: 50%;
    display: none;
  }

  .timeline-event:nth-child(even) .timeline-event-connector {
    top: 0;
    left: 50%;
    display: none;
  }

  .timeline-event.timeline-active .timeline-event-connector {
    height: 228px;
  }

  .timeline-event-connector-node {
    width: 8px;
    height: 8px;
    background-color: #7a9b4e;
    border-radius: 50%;
    position: absolute;
  }

  .timeline-event:nth-child(odd) .timeline-event-connector-node {
    top: -2px;
    left: calc(50% - 4px);
  }

  .timeline-event:nth-child(even) .timeline-event-connector-node {
    bottom: -3px;
    left: calc(50% - 5px);
  }

  .timeline-event:nth-child(odd) .timeline-event-connector-node {
    top: -2px;
    left: calc(50% - 4px);
  }
}

@media (min-width: 905px) {
  .timeline {
    width: 100%;
    max-width: 1180px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    height: 360px;
    margin: 60px auto;
    position: relative;
    opacity: 0;
    flex-direction: row;
  }

  .timeline-line {
    height: 1px;
    width: 100%;
    border-top: 1px solid #999;
    position: absolute;
    top: 50%;
  }

  .timeline-event {
    position: relative;
    max-width: 200px;
    flex-grow: 1;
  }

  .timeline-event-content {
    background-color: #fff;
    border: 1px solid #999;
    padding: 22px 10px;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    border-radius: 6px;
    width: 140%;
    left: -31%;
    position: absolute;
  }

  .timeline-event.timeline-active .timeline-event-content {
    width: 180%;
    left: -51%;
  }

  .timeline-event:nth-child(odd) .timeline-event-content {
    bottom: 0;
  }

  .timeline-event:nth-child(even) .timeline-event-content {
    top: 0;
  }

  .timeline-event:nth-child(odd).timeline-active {
    position: relative;
    bottom: -48px;
  }

  .timeline-event:nth-child(even).timeline-active {
    position: relative;
    top: -48px;
  }

  .timeline-active {
    scale: 1.2;
  }

  .timeline-event-date {
    position: absolute;
    background-color: #7a9b4e;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: bold;
  }

  .timeline-event:nth-child(odd) .timeline-event-date {
    bottom: -16px;
    left: -8px;
    top: initial;
  }

  .timeline-event:nth-child(even) .timeline-event-date {
    top: -16px;
    left: -8px;
  }

  .timeline-event-full {
    display: none;
  }

  .timeline-event-expand,
  .timeline-event-collapse {
    background-color: #00a3dd;
    color: #fff;
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 99999999;
  }

  .timeline-event-collapse {
    display: none;
  }

  .timeline-event-expand svg,
  .timeline-event-collapse svg {
    width: 32px;
    height: 32px;
  }

  .timeline-event:nth-child(odd) .timeline-event-expand,
  .timeline-event:nth-child(odd) .timeline-event-collapse {
    top: -16px;
    left: calc(50% - 16px);
    bottom: initial;
  }

  .timeline-event:nth-child(even) .timeline-event-expand,
  .timeline-event:nth-child(even) .timeline-event-collapse {
    bottom: -16px;
    left: calc(50% - 16px);
  }

  .timeline-event-connector {
    width: 1px;
    height: 180px;
    border-left: 1px dashed #aaa;
    position: absolute;
    z-index: -1;
  }

  .timeline-event:nth-child(odd) .timeline-event-connector {
    bottom: 0;
    left: 50%;
  }

  .timeline-event:nth-child(even) .timeline-event-connector {
    top: 0;
    left: 50%;
  }

  .timeline-event.timeline-active .timeline-event-connector {
    height: 228px;
  }

  .timeline-event-connector-node {
    width: 8px;
    height: 8px;
    background-color: #7a9b4e;
    border-radius: 50%;
    position: absolute;
  }

  .timeline-event:nth-child(odd) .timeline-event-connector-node {
    top: -2px;
    left: calc(50% - 4px);
  }

  .timeline-event:nth-child(even) .timeline-event-connector-node {
    bottom: -3px;
    left: calc(50% - 5px);
  }
}

@media (max-width: 781px) {
  .opes-about-4 > .alternate-background-colour {
    background: transparent !important;
  }

  .opes-about-4 > .image-bg {
    width: 100% !important;
  }
}

/* Hide all chemicals image thumbnails */
.chemical-product .chemical-product-thumbnail {
  display: none;
}

.opes-slider {
  position: relative;
  margin-block-start: 0 !important;
  margin-inline: auto;
  width: 320px;
}

.opes-slider-wrapper {
  overflow: hidden;
  position: relative;
  width: 320px;
  z-index: 1;
}

.opes-slider-slides {
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  position: relative;
  gap: 0 !important;
  top: 0;
  left: -320px;
  width: 22650px;
}

.opes-slider-slides.shifting {
  transition: left 0.2s ease-out;
}

.opes-slider-slide {
  width: 320px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 1s;
  position: relative;
}

.opes-slider-actions {
  display: none !important;
  max-width: 640px;
  margin-inline: auto;
}

.opes-slider-slide > * {
  width: 320px;
}

#opes-slider-prev,
#opes-slider-next {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: hsla(0, 0%, 100%, 0.2);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease-out;
}

#opes-slider-prev svg,
#opes-slider-next svg {
  stroke: #ffffff;
}

#opes-slider-prev:hover,
#opes-slider-next:hover {
  opacity: 1;
}

.opes-slider-slide .opes-button {
  max-width: 300px;
}

@media (min-width: 480px) {
  .opes-slider {
    width: 480px;
  }

  .opes-slider-wrapper {
    width: 480px;
  }

  .opes-slider-slides {
    left: -480px;
    width: 22650px;
  }

  .opes-slider-slide {
    width: 480px;
  }

  .opes-slider-slide > * {
    width: 480px;
  }
}

@media (min-width: 906px) {
  .opes-slider {
    width: 640px;
  }

  .opes-slider-wrapper {
    width: 640px;
  }

  .opes-slider-slides {
    left: -640px;
    width: 22650px;
  }

  .opes-slider-slide {
    width: 640px;
  }

  .opes-slider-slide > * {
    width: 640px;
  }
}

@media (min-width: 1280px) {
  .opes-slider {
    width: 900px;
  }

  .opes-slider-wrapper {
    width: 900px;
  }

  .opes-slider-slides {
    left: -900px;
    width: 22650px;
  }

  .opes-slider-slide {
    width: 900px;
  }

  .opes-slider-slide > * {
    width: 900px;
  }

  .opes-slider-actions {
    justify-content: center !important;
    display: flex !important;
    flex-direction: row;
  }
}

.opes-about-slider h2 {
  margin: 0 !important;
}

.opes-about-slider .content-row h2::after {
  margin: 0 0 2rem 0 !important;
  height: 0 !important;
}

/* Timeline */
/* Mobile */
.opes-timeline-group {
  max-width: 905px;
  margin-inline: auto;
}

.opes-timeline h2,
.opes-tm h2,
.opes-timeline p,
.opes-tm p {
  margin: 0 !important;
}

.opes-tm {
  gap: 0 !important;
}

.opes-tm-row {
  align-items: stretch !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
}

.opes-tm-stack:first-child,
.opes-tm-stack:last-child {
  flex-grow: 1;
}

.opes-tm-bar {
  width: 4px;
  background-color: #7a9b4e;
}

.opes-tm-stack {
  position: relative;
  padding-block: 0.5rem;
  gap: 0 !important;
  width: calc(50% - 2px);
}

.opes-tm-row.color-blue .opes-tm-stack:first-child:after {
  content: "";
  position: absolute;
  width: 4px !important;
  inset-block: 0;
  right: -4px;
  background-color: #00a3dd;
}

.opes-tm-text {
  padding-block: 1.5rem;
}

.opes-tm-text.end {
  margin-inline-start: 1.5rem !important;
  width: calc(50% - 1.5rem - 2px) !important;
}

.opes-tm-text.start {
  margin-inline-end: 1.5rem !important;
  width: calc(50% - 1.5rem - 2px) !important;
  justify-content: flex-end;
  text-align: end;
}

.opes-tm-date {
  border-radius: 0.5rem;
  padding: 1rem;
  border: 2px solid #7a9b4e;
  background-color: hsl(86, 33%, 46%, 0.63);
  flex-shrink: 1;
}

.opes-tm-date p {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.opes-tm-hbar {
  flex-grow: 1;
  height: 2px;
  background-color: #7a9b4e;
  min-width: 1.5rem;
}

.opes-tm-hbar.color-blue {
  background-color: hsla(196, 100%, 43%, 0.63);
}

.opes-tm-date.color-blue {
  border: 2px solid hsla(196, 100%, 43%, 0.63);
  background-color: hsla(196, 100%, 43%, 0.63);
}

.opes-tm-date.color-blue p {
  color: #ffffff;
}

.opes-timeline {
  display: none;
}

/* logo */
.opes-logos figure {
  width: auto;
}

/* Desktop */
/* @media (min-width: 905px) {
  .opes-tm {
    display: none !important;
  }

  .opes-timeline {
    display: flex;
    flex-direction: column;
    gap: 0rem !important;
  }

  .opes-timeline h2:after {
    margin: 0.5rem auto 0.125rem auto !important;
  }

  .opes-timeline-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
  }

  .opes-timeline-row:first-child {
    align-items: flex-end !important;
  }

  .opes-timeline-row:last-child {
    align-items: flex-start !important;
  }

  .opes-timeline-stack {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    gap: 0 !important;
    position: relative;
  }

  .opes-timeline-stack {
    padding-inline: 3rem;
  }

  .opes-timeline-inner-row,
  .opes-timeline-inner-stack {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
  }

  .opes-timeline-bar {
    width: 100%;
    height: 4px;
    background-color: #7a9b4e;
    border-radius: 2px;
  }

  .opes-timeline-stack {
    align-self: stretch;
  }

  .opes-timeline-row:first-child .opes-timeline-stack {
    justify-content: flex-start;
  }

  .opes-timeline-row:last-child .opes-timeline-stack {
    justify-content: flex-end;
  }

  .opes-timeline-inner-row {
    border-radius: 0.5rem;
    padding: 1rem;
    border: 2px solid #7a9b4e;
    background-color: hsl(86, 33%, 46%, 0.63);
    flex-shrink: 1;
  }

  .opes-timeline-inner-row p {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
  }

  .opes-timeline-inner-row.color-blue p {
    color: #ffffff;
  }

  .opes-timeline-row:first-child .opes-timeline-inner-stack {
    margin-block-end: 3rem;
    min-height: 60px;
  }

  .opes-timeline-row:last-child .opes-timeline-inner-stack {
    margin-block-start: 3rem;
    min-height: 60px;
  }

  .opes-timeline-inner-stack-arrow {
    position: absolute;
    inset-inline: 0;
    height: 4px;
    background-color: #7a9b4e;
  }

  .opes-timeline-inner-stack-arrow.color-blue {
    background-color: #00a3dd;
  }

  .opes-timeline-row:first-child .opes-timeline-inner-stack-arrow {
    bottom: 0;
    clip-path: polygon(49% 100%, 50% 0, 51% 100%);
  }

  .opes-timeline-row:last-child .opes-timeline-inner-stack-arrow {
    top: 0;
    clip-path: polygon(50% 100%, 49% 0, 51% 0);
  }

  .opes-timeline-vertical-bar {
    width: 2px;
    height: 24px;
    background-color: #7a9b4e;
    flex-grow: 1;
  }

  .opes-timeline-vertical-bar.color-blue {
    background-color: #00a3dd;
  }

  .opes-timeline-inner-row.color-blue {
    border-color: #00a3dd;
    background-color: hsl(196, 100%, 43%, 0.63);
    color: #00a3dd;
  }

  .opes-timeline-stack.color-blue {
    position: relative;
  }

  .opes-timeline-stack.color-blue:after {
    content: "";
    position: absolute;
    height: 4px;
    bottom: -4px;
    inset-inline: 0;
    background-color: #00a3dd;
  }

  .opes-timeline-stack.color-blue:first-child:after {
    border-radius: 0 0 2px 2px;
  }

  .opes-timeline-stack.color-blue:last-child:after {
    border-radius: 0 2px 2px 0;
  }
}

.opes-ol {
  max-width: 820px;
  margin-inline: auto;
}

.dark-text,
h2.dark-text,
ul.dark-text li {
  color: #000000 !important;
}

.opes-li-white ul.dark-text li::before {
  color: #000 !important;
}

.opes-bg-03 .image-bg {
  opacity: 0.3 !important;
} */

.wp-block-list.opes-ol {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.wp-block-list.opes-ol li {
  cursor: pointer;
  padding: 0.25rem 1.5rem;
  border-radius: 0.5rem;
  background-color: #ffffff;
  transition: all 0.15s ease-in-out;
}

.wp-block-list.opes-ol li:hover {
  box-shadow: 0 4px 12px 6px rgba(0, 0, 0, 0.1);
}

.wp-block-list.opes-ol li a {
  text-decoration: none !important;
  color: #7a9b4e;
}

/* Slider */
.team-thumbnail-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 40px;
}

.team-member img {
  box-sizing: border-box;
}

.opes-full-width p,
.opes-full-width ul {
  width: 100% !important;
}

.opes-full-width p {
  margin-inline: 0 !important;
  max-width: 100% !important;
}

.opes-full-width ul {
  list-style: inherit !important;
  padding: 0 !important;
  margin-left: 1rem !important;
}

.opes-full-width li {
  padding: 0 !important;
}

ul.opes-list {
  flex-direction: row !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  padding-inline: 0 !important;
  gap: 24px;
}

ul.opes-list li {
  padding: 0.5rem 1rem !important;
  background-color: rgb(255, 255, 255, 0.12);
  border-radius: 0.25rem;
}

ul.opes-list.is-dark li {
  padding: 0.5rem 1rem !important;
  background-color: rgb(0, 0, 0, 0.12);
  border-radius: 0.25rem;
}

ul.opes-list li:before {
  display: none !important;
}

/* .wp-block-column ul {
	padding: 0 1.25rem !important;
} */

li.block-editor-block-list__block {
  display: inline-flex !important;
}

.list-inner-pad-top {
  padding-top: 20px !important;
}

.block-list-green li {
  background-color: #7a9b4e99 !important;
}

/* Updates - 13.01.2025 */
.flipboxes-wrapper .flipboxes .flipbox:nth-child(10) {
  display: none;
  opacity: 0;
  visibility: hidden;
}

@media (min-width: 600px) {
  .flipboxes-wrapper .flipboxes .flipbox:nth-child(10) {
    display: block;
    opacity: 0;
    visibility: hidden;
  }
}

@media (min-width: 1240px) {
  .flipboxes-wrapper .flipboxes .flipbox:nth-child(10) {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 781px) {
  .align-left {
    text-align: left !important;
  }
}

.opes-li-white ul li > ul > li {
  display: flex;
  align-items: center;
}

.opes-li-white ul li > ul > li::before {
  content: "\f111";
  font-weight: 400;
  font-size: 8px;
}

@media (max-width: 599px) {
  .postid-752 #page-hero h2 {
    display: none !important;
  }
}

.gap-8 {
  margin-bottom: 1.5rem !important;
}

ul.wp-block-list {
  list-style-type: none; /* Remove the default list bullet */
  padding-left: 0; /* Remove any default padding */
}

ul.wp-block-list li {
  position: relative; /* Allow absolute positioning of the bullet */
  padding-left: 25px; /* Space for the bullet */
  line-height: 1.5; /* Adjust line height to your needs */
}

.blog-slide-content h3 {
  text-transform: none !important;
}

.chemical-properties-content img {
  vertical-align: top;
}

/* updates 24.01.2025 */
.tax-chemical_category.term-13 .chemical-products.grid,
.single-chemicals.postid-907 .chemical-products.grid,
.single-chemicals.postid-900 .chemical-products.grid {
  display: flex !important;
  justify-content: center;
}

.single-chemicals.postid-907 .chemical-products.grid .chemical-product,
.single-chemicals.postid-900 .chemical-products.grid .chemical-product,
.tax-chemical_category.term-13 .chemical-products.grid .chemical-product {
  width: 25%;
  flex-grow: 0 !important;
}

.video-bg-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bg-custom .image-bg {
	background-position: 50% 25% !important;
}

.chemical-category-link{
    text-decoration: none !important;

}

.contact-row p {
    margin: 0 !important;
}

.contact-group{
  padding-bottom: 30px;
}