/* Brand */

:root {--white: rgb(255,255,255);--white-op-80: rgba(255,255,255,0.8);--black: rgb(0,0,0);--blue: rgb(34,50,104);--blue-op-20: rgba(34,50,104,0.2);--blue-op-10: rgba(34,50,104,0.1);--red: rgb(185,30,43);--grey-one: rgb(238,238,238);--grey-two: rgb(112,112,112);--grey-three: rgb(80,80,80);--gradient-one: linear-gradient(to right,  #606060 0%,#ffffff 100%);;--gradient-two: linear-gradient(to bottom,  rgba(33,31,94,1) 0%,rgba(33,31,93,1) 1%,rgba(0,0,0,0) 100%);;--gradient-three: linear-gradient(to bottom, #505050 1%,#707070 100%);;--gradient-four: transparent linear-gradient(180deg, rgba(96,96,96,1) 0%, rgba(96,96,96,0) 100%) 0% 0% no-repeat padding-box;;--gradient-five: transparent linear-gradient(109deg, rgba(112, 112, 112, 0) 0%, rgba(56, 56, 56, .19) 100%) 0% 0% no-repeat padding-box;;}.background-white{background:rgb(255,255,255)}.colour-white{color:rgb(255,255,255)}.background-white-op-80{background:rgba(255,255,255,0.8)}.colour-white-op-80{color:rgba(255,255,255,0.8)}.background-black{background:rgb(0,0,0)}.colour-black{color:rgb(0,0,0)}.background-blue{background:rgb(34,50,104)}.colour-blue{color:rgb(34,50,104)}.background-blue-op-20{background:rgba(34,50,104,0.2)}.colour-blue-op-20{color:rgba(34,50,104,0.2)}.background-blue-op-10{background:rgba(34,50,104,0.1)}.colour-blue-op-10{color:rgba(34,50,104,0.1)}.background-red{background:rgb(185,30,43)}.colour-red{color:rgb(185,30,43)}.background-grey-one{background:rgb(238,238,238)}.colour-grey-one{color:rgb(238,238,238)}.background-grey-two{background:rgb(112,112,112)}.colour-grey-two{color:rgb(112,112,112)}.background-grey-three{background:rgb(80,80,80)}.colour-grey-three{color:rgb(80,80,80)}.background-gradient-one{background:linear-gradient(to right,  #606060 0%,#ffffff 100%);}.background-gradient-two{background:linear-gradient(to bottom,  rgba(33,31,94,1) 0%,rgba(33,31,93,1) 1%,rgba(0,0,0,0) 100%);}.background-gradient-three{background:linear-gradient(to bottom, #505050 1%,#707070 100%);}.background-gradient-four{background:transparent linear-gradient(180deg, rgba(96,96,96,1) 0%, rgba(96,96,96,0) 100%) 0% 0% no-repeat padding-box;}.background-gradient-five{background:transparent linear-gradient(109deg, rgba(112, 112, 112, 0) 0%, rgba(56, 56, 56, .19) 100%) 0% 0% no-repeat padding-box;}


/* Custom Setup */

body.grey-swipe main {
    position: relative;
}

body.grey-swipe main:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background: url(../svg/overlay-grey.svg) center no-repeat;
    background-size: 100%;
    width: 100vw;
    height: 100%;
    z-index: -2;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    transition-delay: 0.75s;
}

body.dom-ready.grey-swipe main:after {
    opacity: 1;
    visibility: visible;
}


/* Fonts */

body {
	color: var(--grey-three);
	font-family: "Montserrat", sans-serif;
	font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6  {
	line-height: 1.1;
	padding: calc(var(--inner) / 2) 0;
	font-weight: 700;
	letter-spacing: -.1rem;
}

h1,
.h1 {
	font-size: 5.625rem;
}

h2,
.h2 {
	font-size: 2.5rem;
}

h3,
.h3 {
	font-size: 2.1875rem;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
	font-size: 1.875rem;
}

p,
address {
	font-size: 1.25rem;
	line-height: 1.5;
	padding: calc(var(--inner) / 2) 0;
}

p.p-large {
	font-size: 1.875rem;
	line-height: 1.375;
}

blockquote {
	margin: calc(var(--inner) / 2) 0;
	padding: var(--inner) calc(var(--inner) * 1.5);
	background: #f6f6f6;
}

blockquote p {
	font-weight: 700;
}

a {
	color: inherit;
    transition: .25s ease-in-out;
}

main p a:not(.exclude,.btn) {
	color: var(--red);
	font-weight: 700;
}

main p a:not(.exclude,.btn):hover {
	text-decoration: underline;
}

main ul:not(.exclude,.gform_fields,.slick-dots,.gfield_radio,.gfield_checkbox,.validation_message,.products,.tabs) {
	list-style: disc;
	padding: var(--inner-third) 0 var(--inner-third) calc(var(--inner) * 1.5);
	line-height: 1.5;
    font-size: 1.25rem;
}

main ol:not(.exclude) {
	list-style: decimal;
	padding: var(--inner-third) 0 var(--inner-third) calc(var(--inner) * 1.5);
	line-height: 1.5;
    font-size: 1.25rem;
}

main ul:not(.exclude,.gform_fields,.slick-dots,.gfield_radio,.gfield_checkbox,.validation_message,.products,.tabs) li,
main ol:not(.exclude) li {
	padding: var(--inner-sixth) 0 var(--inner-sixth) var(--inner-third);
}



/* Buttons */

.btn,
input[type=submit] {
	line-height: 1;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: inline-block;
	text-align: center;
	border: .125rem solid transparent;
	border-radius: 0;
	font-weight: 700;
	transition: all .25s ease-in-out;
	cursor: pointer;
}

.btn.btn-small {
	font-size: 1.25rem;
	padding: var(--inner-three-quarters) var(--inner);
}

.btn.btn-large {
	font-size: 3.125rem;
	padding: var(--inner-half) var(--inner);
}

.btn.btn-solid.btn-blue,
.btn.btn-outline.btn-blue:hover {
	border-color: var(--blue);
	background: var(--blue);
	color: var(--white);
}

.btn.btn-solid.btn-red,
.btn.btn-outline.btn-red:hover {
	border-color: var(--red);
	background: var(--red);
	color: var(--white);
}

.btn.btn-solid.btn-white,
.btn.btn-outline.btn-white:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--blue);
}

.btn.btn-solid.btn-blue:hover,
.btn.btn-outline.btn-blue {
	border-color: var(--blue);
	background: var(--white);
	color: var(--blue);
}

.btn.btn-solid.btn-red:hover,
.btn.btn-outline.btn-red {
	border-color: var(--red);
	background: var(--white);
	color: var(--red);
}

.btn.btn-solid.btn-white:hover,
.btn.btn-outline.btn-white {
	border-color: var(--white);
	background: transparent;
	color: var(--white);
}


/* Effects */

a.hover-shrink:hover {
    scale: .95
}



/* Tooltips */

button.tooltip {
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 2rem;
    background: var(--blue);
    transform: translate(-50%,-50%);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    border: .125rem solid var(--blue);
    z-index: 10;
}

button.tooltip:hover {
    background: var(--white);
    color: var(--blue);
}

div.tooltip {
    display: none;
    position: absolute;
    top: 0;
    left: 1.5rem;
    background: var(--white);
    width: 26rem;
    transform: translateY(-50%);
    border-radius: .5rem;
    z-index: 20;
    border: .125rem solid var(--grey-two);
}


/* Header */

header,
header .container {
	position: relative;
	z-index: 40;
    background: var(--white);
}

header a.logo {
	height: 6.25rem;
	width: auto;
	display: block;
	flex: 0 1 auto;
	margin: var(--inner-double) var(--inner) var(--inner) var(--inner);
}

header a.logo img {
	height: 100%;
	width: auto;
	display: block;
}

header nav ul li a {
	display: block;
	font-weight: 700;
	color: var(--blue);
}

header nav ul li.menu-item-has-children > button {
	display: none;
}

header nav ul li.menu-item-has-children ul.sub-menu li.menu-col > a {
    font-size: 0;
    padding: 0;
}


/* Banner Messages */

.banner-message {
    background: var(--red);
}

.banner-message p {
    color: var(--white);
    font-size: 1.5rem;
    text-align: center
}


/* Banners */

.block-banner {
    background: var(--blue);
    position: relative;
}

.block-banner:after {
    content: '';
    position: absolute;
    bottom: -5rem;
    width: 100%;
    background: var(--gradient-four);
    height: 5rem;
    z-index: -1;
    opacity: .5;
}

.block-banner > div {
    position: relative;
    overflow: hidden;
}

.block-banner .container {
    z-index: 2;
    position: relative;
}

.block-banner h1,
.block-banner .h1,
.block-banner p {
    color: var(--white);
}

.block-banner:not(.block-banner-swipe-image-below) > div.responsive-background,
.block-banner > div.banner-slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.block-banner > div.banner-slider .slick-list,
.block-banner > div.banner-slider .slick-track,
.block-banner > div.banner-slider .slick-slide,
.block-banner > div.banner-slider picture {
    height: 100% !important;
}

.block-banner .banner-slider .responsive-background img {
  transition: transform 5s ease-in-out;
  transform: scale(1);
  transform-origin: top right;
}

.block-banner .banner-slider .slick-active .responsive-background img {
  //transform: scale(1.05);
}

.block-banner .content {
    position: relative;
    z-index: 20;
    color: var(--white)
}

main .block-banner .content p a:not(.exclude,.btn) {
    color: var(--white);
}

.block-banner-home {
    position: relative;
}

.block-banner > div.banner-slider picture:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.block-banner .content > div > div {
    max-width: 62rem;
}

.section-post_slider > .responsive-background > img {
    opacity: .4;
}

.block-banner-home h1 {
    font-size: 4.375rem;
}

.block-banner-home p {
    font-size: 1.875rem;
}

.block-banner-overlay svg {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 31.25vw;
    min-height: 24rem;
    height: 100%;
    z-index: 1;
}

.block-banner-swipe-image-below .parallax-background {
	padding-bottom: 30vh;
}

.block-banner-child h1 {
    font-size: 3.125rem;
    font-weight: 500;
}

.block-banner-child p {
    font-size: 1.875rem;
}

.block-banner-side-image > div {
    min-height: 27.5rem;
    position: relative;
}

.block-banner-side-image picture {
    width: auto;
    height: calc(27.5rem - var(--inner-double));
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1
}

.block-banner-side-image picture img {
    height: 100%;
    width: auto;
}

.block-banner-side-image .content p {
    font-size: 1.875rem
}


/* Paralax Banner */

.block-banner,
.parallax-background {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-background:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}


/* Sticky Header */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: var(--white);
    transition: transform .25s ease-in-out;
    border-bottom: .063rem solid var(--grey-two);
}

header.hidden {
    transform: translateY(-100%);
}

main {
    padding-top: 8.39875rem;
}


/* Gradients */

.block-banner-home:before,
.block-banner-child:before,
.block-banner-overlay:not(.block-banner-swipe-image-below) > div:before,
.block-banner-side-image:before,
.section-post_slider > .responsive-background:before,
footer:before  {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 10rem;
    width: 100%;
    z-index: 10;
    background: var(--gradient-two);
}

.section-content_and_image > div,
.section-post_feed > div {
	position: relative;
}

.section-product_categories:before,
.section-content_and_image > div:before,
.section-post_feed > div:before,
.block-single-post:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 10rem;
    width: 100%;
    z-index: -1;
    background: var(--gradient-four);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
}

body.dom-ready .section-product_categories:before,
body.dom-ready .section-content_and_image > div:before,
body.dom-ready .section-post_feed > div:before,
body.dom-ready .block-single-post:before {
    opacity: .5;
    visibility: visible;
}



/* History */

.block-history {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.block-history:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: .5rem;
    height: 100%;
    background: #ddd;
    z-index: -10;
}

.block-history .history-item {
    padding: var(--inner);
    position: relative;
    padding-left: 5rem;
}

.block-history .history-item:before {
    content: '';
    position: absolute;
    top: calc(var(--inner) + 2rem);
    left: calc(var(--inner) * 1.5);
    height: .5rem;
    background: var(--blue);
    width: calc(5rem - var(--inner));
}

.block-history .history-item:after {
    content: '';
    position: absolute;
    top: calc(var(--inner-half) + 2rem);
    left: var(--inner-half);
    width: 1rem;
    height: 1rem;
    border-radius: 1rem;
    border: .5rem solid var(--blue)
}

.block-history .history-item:has(picture.featured-image) {
    display: flex;
    gap: var(--inner);
}

.block-history .history-item picture.featured-image {
    flex: 0 0 6.25rem;
    height: 6.25rem;
    border-radius: 6.25rem;
    border: .5rem solid var(--blue);
    overflow: hidden;
    margin-top: -1rem;
}

.block-history .history-item .year {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--blue);
    color: var(--white);
    padding: 1rem;
    display: inline-block;
}

.block-history .history-item .year-no-bg {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue);
}

.block-history .history-item h2 {
    font-size: 1.25rem;
}

.block-history .history-item p {
    color: #aaa;
}

.block-history .history-item .history-section-gallery {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: var(--inner-half);
}

.block-history .history-item .history-section-gallery a picture {
    padding-bottom: 100%;
    display: block;
}

.block-history .history-item.history-product:before,
.block-history .history-item.history-product .year {
    background: var(--red)
}

.block-history .history-item.history-product:after,
.block-history .history-item.history-product picture.featured-image {
    border-color: var(--red);
}

.block-history .history-item.history-product .year-no-bg {
    color: var(--red);
}




/* Sections */

.no-results {
    text-align: center;
    flex: 1;
    font-size: 1.25rem;
    color: var(--blue);
    font-weight: 700;
    line-height: 1.5;
}

.section-product_search {
    position: relative;
    z-index: 1000;
}

.section-product_search .content {
    color: var(--white)
}

.section-product_search form {
    margin-top: var(--inner)
}

.section-product_search input:not([type=checkbox],[type=radio]),
.section-product_search textarea,
.section-product_search select {
    width: auto;
    flex: 1
}

.section-product_search strong {
    display: block;
    padding: 0 var(--inner-half);
    font-size: 1.25rem;
    color: var(--white);
    text-transform: uppercase;
    flex: 0 0 3.75rem;
    text-align: center;
}

.section-product_search form > div {
    flex: 0 0 66.666%
}

.section-product_categories {
    position: relative;
}

.section-product_categories .content,
.section-product_categories ul {
    position: relative;
}

.section-product_categories .content > *:not(.btn) {
    color: var(--blue);
}

.section-product_categories ul {
    padding: var(--inner-quarter) 0;
}

.section-product_categories ul li {
    padding: var(--inner-quarter) var(--inner-half);
    text-align: center;
}

.section-product_categories ul li a {
    display: block;
    border: .125rem solid var(--red);
    height: 100%;
    background: var(--gradient-five);
}

.section-product_categories ul li a:hover {
    border-color: var(--blue)
}

.section-product_categories ul li h2 {
    background: var(--red);
    color: var(--white);
    font-size: 1.875rem;
    text-transform: uppercase;
    transition: .25s ease-in-out;
}

.section-product_categories ul li a:hover h2 {
   background: var(--blue)
}

.section-product_categories ul li p {
    padding: calc(var(--inner) / 2);
}

.section-product_categories ul li img,
.section-product_categories ul li svg {
    max-height: 12rem;
    width: auto;
    display: block;
    margin: auto;
}

.section-post_slider > div > div {
	position: relative;
	z-index: 20;
}

.section-post_slider > div:not(.responsive-background) {
	overflow: hidden;
	position: relative;
	z-index: 20;
}

.section-post_slider > div:not(.responsive-background):before {
	content: '';
	position: absolute;
	bottom: var(--section-padding-triple);
	right: 0;
	background: url(../svg/overlay-white.svg) center no-repeat;
	background-size: 100%;
	width: 77vw;
	height: 100%;
	opacity: .1;
}

.section-post_slider .container {
    max-width: calc(115rem + var(--inner-double) + 8rem + var(--inner-half))
}

.section-post_slider .content {
    max-width: 114.5rem;
    display: block;
    margin: auto;
    position: relative;
}

.section-post_slider .content > *:not(.btn) {
    color: var(--white);
}

.section-post_slider .content h2,
.section-content_and_image h2,
.section-post_feed h2 {
    font-size: 5.625rem;
}

.section-post_slider .post-slider {
	padding-bottom: var(--inner-half);
}

.section-post_slider .post-slider picture,
.loop-post-tile picture {
    padding-bottom: 56.25%;
}

.section-post_slider .post-slider a {
    background: var(--grey-one);
    border: .125rem solid var(--grey-one);
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--black);
}

.section-post_slider .post-slider a:hover {
    background: var(--white);
    border-color: var(--white);
}

.section-post_slider .post-slider a > div {
    padding: var(--inner-half) var(--inner);
    display: flex;
    flex-direction: column;
    height: 100%
}

.section-post_slider .post-slider a > div h3 {
    text-transform: uppercase;
    color: var(--red);
}

.section-post_slider .post-slider a > div > div {
    margin-top: auto;
    padding: var(--inner-half) 0;
    font-size: 1.125rem;
    line-height: 1.75;
    text-transform: uppercase;
}

.section-post_slider .background-grey-one .slick-arrow:after {
    background: url(../svg/chevron-red.svg) center no-repeat;
    background-size: auto 4rem;
}

.section-post_slider .background-grey-one .post-slider a {
    border-color: var(--blue)
}

.section-post_slider .background-grey-one .post-slider a picture {
    border-bottom: .125rem solid var(--blue)
}

.section-content_and_image picture {
	z-index: -2;
}

.section-downloads label {
    padding-bottom: var(--inner);
    line-height: 1.1;
}

.section-downloads h2 {
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--red);
}

.section-downloads ul li > div {
    border: .125rem solid var(--grey-two);
    background: var(--white);
}

.section-downloads ul li,
.section-downloads ul li h3 {
    font-size: 1.5625rem
}

.section-downloads ul li h3 {
    font-weight: 500;
    padding: var(--inner-half);
    flex: 1;
}

.section-downloads ul li > div div:not(.row) {
    font-weight: 500;
    padding: var(--inner-half)
}

.section-downloads ul li a.btn {
    text-transform: uppercase;
}

.section-usps picture {
    padding: var(--inner-half) 0;
}

.section-usps img {
    width: 3.75rem;
    height: auto;
    margin: auto;
}

.section-usps h2 {
    text-align: center;
    color: var(--red);
    font-size: 1.5625rem;
    line-height: 2rem
}

.section-staggered_content h2 {
    font-weight: 500;
}

.section-staggered_content .bottom-content picture {
    padding: var(--inner-half);   
}

.section-staggered_content .bottom-content picture img {
    max-height: 25rem;
    width: auto;
    margin: auto
}

.section-table table tr th,
.section-table table tr td,
.section-table table tr th:first-child,
.section-table table tr td:first-child,
.section-table table tr:last-child td{
    border-color: var(--blue);
    border-width: .125rem
}

.section-table table tr th {
    background: var(--blue);
    color: var(--white);
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: var(--inner)
}

.section-table table thead tr th:not(:last-child) {
    border-right-color: rgba(255,255,255,.4)
}

.section-table table tbody tr td {
    padding: var(--inner);
    font-size: 1.25rem
}

.section-table table tbody tr td .btn {
    width: 100%
}

.section-fixed_column {
   padding-left: 0; 
   padding-right: 0;
}

.section-fixed_column .row > div {
   padding: 0 var(--inner); 
}



/* Glossary */

.filter-banner.sticky {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
}

.banner-placeholder {
    display: none;
}

.filter-banner h2 {
	color: var(--white);
}

.filter-banner ul li a,
.filter-banner ul li span {
    display: block;
    text-align: center;
    color: var(--white);
    font-size: 1.875rem;
    font-weight: 700;
}

.filter-banner ul li a:hover {
    color: var(--red)
}

.filter-banner ul li span {
    opacity: .25;
    cursor: default;
}

.glossary-group .letter {
    font-size: 3.125rem;
    font-weight: 700;
    flex: 0 0 4.5rem;
}

.glossary-group > div:last-child {
    flex: 1;
}

.box-shadow-item > div {
    box-shadow: 0 0 1.875rem var(--grey-one);
    border: .25rem solid var(--grey-one);
    border-radius: 1rem
}

.box-shadow-item > div h2 {
    color: var(--blue)
}


/* Post Loop */

.loop-post-tile > a {
    background: var(--blue-op-10);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.loop-post-tile > a:hover {
    background: var(--grey-one);
}

.loop-post-tile > a > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.loop-post-tile > a > div > div {
    padding: var(--inner-half) 0;
}

.loop-post-tile > a > div h2 {
    color: var(--red);
    font-size: 1.875rem
}

.loop-post-tile > a > div > div:last-child {
    margin-top: auto;
    font-size: 1.25rem;
    text-transform: uppercase;
}



/* Date */

div.date {
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 700;
	border-bottom: .125rem solid var(--grey-two);
}

body.single-post div.date,
body.single-event div.date {
    padding: var(--section-padding) 0 var(--inner-half) 0;
    margin-bottom: var(--inner-half);
}


/* Single Post */

.block-single-post:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	background: url(../svg/overlay-grey.svg) center no-repeat;
	background-size: 100%;
	width: 77vw;
	height: 100%;
	z-index: -2;
}

.block-single-post .picture {
    flex: 0 0 30rem;
}

.block-single-post .picture picture {
    padding-bottom: 100%
}

.block-single-post .content-padding {
    flex: 1
}

body.single-post h1,
body.single-event h1 {
    color: var(--red);
    font-size: 3.4375rem;
}

body.single-post h2,
body.single-event h2 {
    color: var(--red);
    font-size: 1.875rem;
}

body.single-post p,
body.single-event p {
    font-size: 1.875rem;
}


/* Misc */

.post-filters select {
    width: auto;
}

.post-filters {
    gap: var(--inner)
}

.block-filters {
	flex: 0 0 30rem;
}

.block-items {
	flex: 1;
}


/* Products */

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 300;
    transform: translate(-50%,-50%);
    font-weight: 700;
    font-size: 1.5625rem;
    color: var(--blue);
}

.popup > div {
    box-shadow: 0 0 var(--inner) rgba(0,0,0,.3)
}

.popup button.close {
    position: absolute;
    top: var(--inner);
    right: var(--inner);
    background-color: var(--red);
    width: 2rem;
    height: 2rem;
}

.block-filters label {
    padding: var(--inner-half) 0;
}

.block-filters .row h2,
.block-filters .row a {
    font-size: 1.375rem;
    font-weight: 700;
    padding: 0 0 var(--inner) 0;
    letter-spacing: 0;
    line-height: 1;
}

.block-filters > div.inner {
    border: .125rem solid var(--grey-two)
}

.block-filters .category-group button {
	width: 100%;
    font-size: 1.5625rem;
    font-weight: 500;
    padding: var(--inner) 0;
    cursor: pointer;
    padding: var(--inner) 0;
    display: flex;
    justify-content: space-between;
}

.block-filters .category-group button svg {
    height: 1.5rem;
    transition: .25s ease-in-out;
}

.block-filters .category-group button.active svg {
	transform: rotate(180deg);
}

.block-filters .category-group div {
    display: none;
}

.block-filters .category-group div label {
    font-size: 1.125rem;
    font-weight: 500;
}

.block-filters .category-group div select {
    margin-bottom: var(--inner);
}

.block-taxonomy-posts .list-header {
	padding-left: calc(12.5rem + var(--inner));
}

.block-taxonomy-posts .list-header,
.block-taxonomy-posts ul li > div > div > div.row {
    text-align: center;
    font-weight: 700;
    font-size: 1.375rem
}

/*

.block-taxonomy-posts ul li > a {
    border: .125rem solid var(--grey-two);
}

.block-taxonomy-posts ul li picture {
    background: var(--white);
}

.block-taxonomy-posts ul li ul {
    background: var(--grey-one);
}

.block-items ul li a {
    background: var(--grey-one);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.block-items ul li a ul {
    padding: var(--inner-three-quarters)
}

.block-items ul li a ul li {
    padding: var(--inner-quarter)
}

.block-items ul li a div {
    margin-top: auto;
}
*/

.block-items .column-titles {
    display: none;
}

.block-filters > div.row span,
.block-filters > div.row button,
.block-items > ul > li > div ul li,
.block-items .column-titles li {
    padding: var(--inner-half);
    font-size: 1rem;
    letter-spacing: -0.0275rem;
}

.block-items ul.stats li:last-child:not(:has(a)) {
    display: none;
}

.block-filters > div.row span,
.block-filters > div button {
    padding: var(--inner) 0;
    display: block;
    font-weight: 700;
}

.block-filters > div.row button:hover {
    text-decoration: underline;
}

.block-items > ul > li > div {
    background: var(--grey-one);
    border: .125rem solid var(--blue);
    cursor: pointer;
}

.block-items > ul > li div.content-padding-full ul,
.block-items > ul > li > div button {
    display: block;
}

.block-items > ul > li > div button {
    font-weight: 700;
    color: var(--blue);
    font-size: 1.125rem;
    text-decoration: underline;
}

.block-items > ul > li:not(.open) .content-padding-full,
.block-items > ul > li > div figure figcaption {
    display: none
}

.fancybox-caption {
    font-size: 1.875rem !important;
    font-weight: 700 !important;
}


@media only screen and (min-width: 48em) {

    .block-items .column-titles {
        margin-left: 6.875rem;
        display: flex;
        padding: var(--inner-half);
        align-items: center;
    }

    .block-items > ul > li:not(.open) > div {
        align-items: center;
    }
        
    .block-items > ul > li > div figure {
        flex: 0 0 6.875rem;
        display: flex;
        align-items: center;
    }

    .block-items > ul > li.open > div figure {
        flex: 0 0 13.75rem;
    }
    
    .block-items > ul > li > div figure {
        border-right: .125rem solid var(--blue);
        background: #fff;
    }
    
    /*
    .block-items > ul > li:not(.open) > div figure img {
        width: 5rem;
        display: block;
        margin: auto;
    }
    */
    
    .block-items > ul > li > div ul li strong {
        display: none
    }
    
    .block-items > ul > li > div > div {
        flex: 1;
    }
    
    .block-items > ul > li > div ul {
        display: flex;
        align-items: center;
    }
    
    .block-items > ul > li > div ul li,
    .block-items .column-titles li {
        flex: 0 0 20%;
        font-weight: 700;
    }

    .section-product_obsolescence .block-items > ul > li > div ul li,
    .section-product_obsolescence .block-items .column-titles li {
        flex: 0 0 16.66666667%;
    }

    .block-items > ul > li > div button {
        display: none;
    }
        
} 


@media only screen and (min-width: 62em) {

    .block-items > ul > li > div figure figcaption {
        font-size: 1.875rem;
    }

    .block-filters > div.row span,
    .block-filters > div.row button,
    .block-items > ul > li > div ul li,
    .block-items .column-titles li {
        font-size: 1.375rem;
    }

}


@media only screen and (max-width: 48em) {

    .block-items > ul > li > div figure {
        background: #fff;
        border-bottom: .125rem solid var(--blue);
    }

    .block-items ul > li:has(.btn) > strong {
        display: block;
        margin-bottom: .5rem;
    }

}


@media only screen and (min-width: 36em) and (max-width: 48em) {

    .block-items > ul:not(.column-titles) {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .block-items > ul:not(.column-titles) > li {
        flex: 0 0 50%;
    }

    .block-items > ul:not(.column-titles) > li > div {
        height: 100%;
    }
    
}



.block-filters .reset-filters.hidden {
    display: none;
}


/* Single Product */

body.single-product .block-banner .row {
    align-items: flex-end;
}

body.single-product .block-banner .section-padding-triple.has-half-padding {
    padding-bottom: calc(var(--section-padding) - var(--inner-half));
}

body.single-product .block-banner .h2 {
    padding-top: var(--inner-half);
    padding-bottom: 1.25rem;
}

.product-content .thumbnail-slider picture {
    cursor: pointer;
}

.product-tabs-buttons button {
    border: .125rem solid var(--blue);
    flex: 1;
    color: var(--grey-two);
    background: var(--grey-one);
    font-size: 1.5625rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: var(--inner-half);
    display: block;
    width: 100%;
}

.product-tabs-buttons button.active {
    color: var(--white);
    background: var(--blue)
}

.product-tabs-content {
    border: .125rem solid var(--blue);
    border-top: 0
}

.product-tabs-content > div {
    padding: var(--inner-half) var(--inner);
}

.product-tabs-content > div#components {
    padding: var(--inner-half);
}

.product-tabs-content #components a {
    padding: var(--inner-half)
}

.product-tabs-content #components a h3 {
    font-size: 1.5rem
}

.product-tabs-content #components a div {
    border: .125rem solid var(--blue);
    aspect-ratio: 1/1;
    padding: var(--inner);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.product-tabs-content > div:not(.active) {
    display: none;
}

.product-tabs-content h2 {
    color: var(--red);
    padding-bottom: var(--inner-double)
}

.product-tabs-content h2 + p {
  padding-bottom: var(--inner-double);
  font-weight: 700;
  font-size: 1.5rem
}

.product-tabs-content h2:has(+ p) {
  padding-bottom: 0;
}

.product-tabs-content > div#components h2 {
    padding: var(--inner-half) var(--inner-half) var(--inner) var(--inner-half);
}

.product-tabs-content #technical-info h2 {
    padding-bottom: 0
}

.product-tabs-content p {
    font-size: 1.25rem;
}

.product-tabs-content table {
    font-size: 1.25rem
}

.product-tabs-content .table-wrapper {
    max-height: 62rem;
    overflow: scroll;
} 

.product-tabs-content table thead th {
    position: sticky;
    top: -.063rem;
    background: var(--white);
    z-index: 5;
}

.product-tabs-content table thead th:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: .125rem;
    width: 100%;
    border-bottom: .125rem solid var(--grey-two);
}

.product-tabs-content table thead .row {
    position: relative;
    padding-top: var(--inner)
}

.product-tabs-content #technical-info table thead .row {
    padding-top: var(--inner-double)    
}

.product-tabs-content table thead span {
    flex: 1;
    line-height: 1.2;
}

.product-tabs-content table thead span > span {
    display: block;
    font-size: 1rem;
    font-style: italic;
    font-weight: 500;
}

.product-tabs-content table thead tr th {
    padding: 0 0 var(--inner) 0;
    vertical-align: bottom;
}

.product-tabs-content table thead tr th {
    font-weight: 700;
}

.product-tabs-content table thead tr th:first-child,
.product-tabs-content #features table thead tr th,
.product-tabs-content #features table tbody tr td:first-child {
    text-align: left;
}

.product-tabs-content #features table tbody tr td:first-child  {
    line-height: 1.2;
}

.product-tabs-content #features table tbody tr:nth-child(even) {
    background: var(--grey-one);
}

.product-tabs-content #features table tbody tr:nth-child(even) td:first-child {
    padding: 0 var(--inner);
}

.product-tabs-content #features table tbody tr td {
    padding: calc(var(--inner) * 1.5) 0;
    text-align: center;
}

.product-tabs-content table tbody tr:first-child td {
    padding-top: var(--inner)
}

.product-tabs-content table tbody tr td:first-child {
    text-align: left;
    padding-left: 0;
}

.product-tabs-content table tbody tr td:not(:first-child) {
    text-align: center
}

.product-tabs-content table tbody tr.overline td {
    border-top: .125rem solid var(--grey-two);
    padding-top: var(--inner)
}

.product-tabs-content table tbody tr.underline td {
    border-bottom: .125rem solid var(--grey-two);
    padding-bottom: var(--inner)
}

.product-tabs-content table tbody tr.padding-top td {
    padding-top: var(--inner)
}

.product-tabs-content table tbody tr.padding-btm td {
    padding-bottom: var(--inner)
}

.product-tabs-content .feature-grid button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: .125rem solid transparent;
    padding: .5rem;
}

.product-tabs-content .feature-grid button.active {
    border-color: var(--red);
}

.product-tabs-content .feature-grid button span {
    padding: 0 0 var(--inner) 0;
    font-weight: 500;
    font-size: 1.25rem;
}

.product-tabs-content .feature-grid button img {
    max-width: 11.5rem;
    width: 100%;
}

.product-tabs-content .resource-download > * {
    font-size: 1.5625rem;
    font-weight: 500;
}

.product-tabs-content .resource-download .row {
    gap: var(--inner)
}

.product-tabs-content .resource-download:not(:last-child) {
    padding-bottom: var(--inner);
}

.product-tabs-content #components div a {
    display: flex;
    flex-direction: column;
}

.product-tabs-content #components div a:not(.exclude) img {
    width: 100%;
}

.product-tabs-content #components div p {
    text-align: center;
}

.block-single-product-form form .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: min-content;
    gap: var(--inner);
    padding: var(--inner) 0
}

.block-single-product-form form h3 {
    padding-top: var(--inner);
    color: var(--red);
}

.block-single-product-form form input[type=submit] {
    margin-top: var(--inner);
}



/* Contact Page */

.block-contact .box-shadow-item .contact-options div {
    padding: var(--inner-quarter) 0
}

.block-contact .box-shadow-item .contact-options h3 {
    font-size: 1.25rem;
    color: var(--blue)
}

.block-contact .box-shadow-item .contact-options a {
    font-size: 1.25rem;
}

.block-contact .box-shadow-item .contact-options a:hover {
    text-decoration: underline;
}

.block-contact .box-shadow-item .contact-options span {
    font-size: 1rem;
}

.block-contact .box-shadow-item .map {
    background: var(--grey-one);
    height: 100%;
    min-height: 30rem;
    display: block;
}

.block-contact .box-shadow-item > div a {
    width: auto;
}

.block-contact a:has(img) {
    display: block;
    height: 100%;
}



/* About Page */

.block-about #multiple-markers {
    height: 40rem !important;
    position: relative;
    z-index: 0
}

.block-about .tab-controls {
    transform: translateY(-100%);
    position: relative;
    z-index: 10;
    gap: var(--inner);
    overflow: hidden;
}

.block-about .tab-controls button {
    flex: 1;
    background: var(--white-op-80);
    color: var(--blue);
    font-weight: 700;
}

.block-about .tab-controls button.active {
    background: var(--white)
}

.block-about .tabs .tab:not(.active) {
	display: none;
}

.block-about .tabs .tab h2 {
	color: var(--red);
}


/* Slick Slider */

.slider-padding {
	padding: 0 var(--inner);
}

.slider-padding:has(button.slick-arrow) {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--inner);
}

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

.slick-slide > div ,
.slick-slide > div > * {
    height: 100%
}

.slick-arrow {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 0;
    padding: 0;
    z-index: 40;
    cursor: pointer;
    flex: 0 0 4rem;
    height: 4rem;
    background: transparent;
}

.slick-arrow:after {
	content: '';
	background: url(../svg/chevron.svg) center no-repeat;
	background-size: auto 4rem;
	border: none;
	width: 4rem;
	height: 4rem;
	display: block;
	text-align: center;
	transition: .25s ease-in-out;
}

.slick-arrow.slick-next:after {
	transform: rotate(-180deg);
}

.slick-dots {
	overflow: hidden;
	text-align: center;
	background: transparent;
    display: flex;
    gap: var(--inner-half);
    align-items: center;
    justify-content: center;
    padding-top: var(--inner);
}

.slick-dots li {
	display: inline-block;	
	height: 100%;
	margin: 0;
	background: transparent;
	cursor: pointer;
}

.slick-dots li button {
	display: block;
	height: var(--inner);
    width: var(--inner);
	border-radius: var(--inner);
	text-indent: -500vw;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	padding: 0;
	cursor: pointer;
	border: .125rem solid var(--white);
	background: transparent;
}

.slick-dots li.slick-active button {
	background: var(--white);
}




/* Search Results */

.block-search-results ul {
	padding: 2.5rem 1.5rem !important;
}

.block-search-results ul li {
	border-bottom: .063rem solid #707070;
}

.block-search-results ul li:first-child {
	border-top: .063rem solid #707070;
}

.block-search-results h2 {
	font-size: 1.5265rem;
	text-transform: none;
	padding-bottom: .25rem;
}

.block-search-results .btn {
	margin-top: 1.5rem;
}



/* Pagination */

.block-pagination span:not(.pagination-arrow) {
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--blue);
	text-transform: uppercase;
	display: block;
	padding: 0 var(--inner);
}

.block-pagination .pagination-arrow {
	height: 2rem;
	width: 2rem;
	background: var(--blue);
}

.block-pagination .pagination-arrow:after {
	content: '';
	background-image: url(../svg/pagination-arrow.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto .875rem;
	width: 2rem;
	height: 2rem;
	display: block;
}

.block-pagination .pagination-arrow.pagination-next:after {
	transform: scaleX(-1);
}

.block-pagination a.pagination-arrow:hover,
body:not(.is-touch) .block-pagination a.pagination-arrow:hover, 
.block-pagination span.pagination-arrow.no-page {
	opacity: .25;
}

.block-pagination span.pagination-arrow.no-page {
	cursor: initial;
}


/* Social */

.block-social {
	gap: var(--inner-half);
}

.block-social .dashicons {
	width: auto;
	height: 1.6875rem;
	color: var(--white);
	font-size: 1.6875rem;
	position: relative;
	display: block;
}

.block-social .dashicons-before:before {
    width: unset;
    height: unset;
}

.block-social .dashicons svg {
	height: auto !important;
	width: 1.6875rem !important;
	display: block;
}

.block-social .dashicons svg path {
	fill: var(--white);
	transition: .25s ease-in-out;
}


/* Footer */

footer {
    background: var(--blue);
    position: relative;
    color: var(--white)
}

footer:after {
	content: '';
	position: absolute;
	top: 0;
	left: -50vw;
	background: url(../svg/overlay-footer.svg) center no-repeat;
	background-size: 100%;
	width: 100vw;
	height: 100%;
	z-index: 5;
	opacity: .1;
}

footer > .container {
    position: relative;
    z-index: 10
}

footer .contact-us {
    background: var(--red);
    position: relative;
    z-index: 30;
}

footer .contact-us h2 {
    font-size: 5rem;
    letter-spacing: -.0625rem;
    color: var(--white);
    flex: 1;
    white-space: nowrap;
}

footer .contact-us a {
    font-size: 1.875rem;
    letter-spacing: -.0375rem;
    color: var(--white);
    font-weight: 700;
    display: block;
}

footer .contact-us > div > div {
    flex: 0 1 auto
}

footer .contact-us > div > div a:last-child {
    padding-left: var(--inner);
}

footer address {
    font-size: 1rem;
    line-height: 1.875;
}

footer address strong {
    display: block;
}

footer ul {
    padding: 0 0 0 var(--inner);
}

footer ul li a {
    display: block;
    padding: var(--inner-half) var(--inner);
    line-height: 1.875;
}

footer ul#menu-footer-menu > li > a {
    font-weight: 700;
}

footer ul#menu-footer-menu > li:last-child > a {
    padding-right: var(--inner-half)
}

footer .block-social {
    position: relative;
    z-index: 10;
    justify-content: flex-end;
    padding: 0 0 var(--inner) 0
}

footer .block-social li a {
    display: flex;
    align-items: center;
    gap: var(--inner);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

footer .block-social li a svg {
    width: auto;
    height: 3.75rem;
}

footer .footer-logo-strip img {
    height: 4rem;
    width: 100%;
}

footer .footer-logo-strip div {
    height: 4rem;
    position: relative;
    display: block;
    padding-left: var(--inner)
}


/* Back To Top */

.back-to-top-btn {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    display: none;
    z-index: 200
}



/* Responsive */

/* Larger than 1366px */
@media only screen and (min-width: 85.375em) {

	.section-content_and_image > div:after {
		content: '';
		position: absolute;
		bottom: 0;
		right: -10vw;
		background: url(../svg/overlay-blue.svg) center no-repeat;
		background-size: 100%;
		width: 60vw;
		height: 100%;
	}

}


/* Larger than 1280px */
@media only screen and (min-width: 80em) {

    .section-downloads h2 {
        padding-bottom: .3125rem;
    }

}


/* Smaller than 1280px */
@media only screen and (max-width: 80em) {

	header a.logo {
        height: 4rem;
        margin: var(--inner)
    }
    
    header nav ul li a {
        font-size: 1.25rem
    }

    .product-tabs-buttons button {
        flex: 0 0 50%;
    }

    .slider-padding {
        padding: 0 var(--inner-half);
    }

}


/* Smaller than 1222px */
@media only screen and (max-width: 76.375rem) {
    
    header nav > ul > li#menu-item-141.menu-item-has-children > ul.sub-menu,
    header nav > ul > li#menu-item-150.menu-item-has-children > ul.sub-menu {
        top: 3.466875rem;
    }

    main {
        padding-top: 6.93375rem;
    }
    
}


/* Larger than 992px */
@media only screen and (min-width: 62em) {

    .product-content .product-images {
        flex: 0 0 35rem;
        max-width: 35rem;
    }
    
    .product-content > div {
        flex: 1;
    }

	.section-downloads ul li h3 {
	    padding-left: var(--inner);
	}
    
    .block-single-post .content-padding {
        padding-left: var(--section-padding)
    }

	footer .footer-logo-strip div:after {
	    content: '';
	    height: 100%;
	    width: 50vw;
	    right: 0;
	    top: 0;
	    background: var(--white);
	    position: absolute;
	}

    .section-staggered_content .top-content {
        width: 50%;
        padding-right: 4.5rem
    }
    
    .section-staggered_content .bottom-content > div {
        margin-top: -8rem;
        padding-left: 4.5rem
    }

    body.tax-product_cat .block-banner .h2,
    body.single-product .block-banner .h2 {
        font-size: 3.125rem;
        padding-top: 1.875rem;
    }

    body.tax-product_cat .block-banner .h2 span,
    body.single-product .block-banner .h2 span {
        font-weight: 500;
    }

    .banner-content {
        flex: 1;
        padding-left: 8.75rem;
    }

    .product-content p,
    .product-content ul li,
    .banner-content p {
        font-size: 1.875rem;
    }

    .block-single-product-form form .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .block-history:before {
        left: 50%;
        transform: translateX(-50%);
    }
        
    .block-history .history-item {
        width: 50%; 
    }

    .block-history .history-item:nth-child(odd) {
        text-align: right;
        padding-right: 10rem
    }

    .block-history .history-item:nth-child(even) {
        padding-left: 10rem;
        margin-left: auto;
    }

    .block-history .history-item {
        position: relative;
    }

    .block-history .history-item:before {
        content: '';
        position: absolute;
        top: calc(var(--inner) + 2rem);
        left: calc(var(--inner) * 1.5);
        height: .5rem;
        background: var(--blue);
        width: calc(10rem - var(--inner));
    }

    .block-history .history-item:nth-child(odd):before {
        left: auto;
        right: calc(var(--inner) * 1.5);
    }

    .block-history .history-item:nth-child(odd):after {
        left: auto;
        right: var(--inner-half);
    }
        
    .block-history .history-item:nth-child(odd) picture.featured-image {
        order: 2;
    }

    body.page-template-page-about .block-banner > div {
        padding-bottom: 2.921875rem;
    }

}


/* Smaller than 992px */
@media only screen and (max-width: 62em) {

	header a.logo {
        height: 3.125rem;
    }

	.section-downloads ul {
	    display: flex;
	}

	.section-downloads ul li {
	    flex: 0 0 50%;
	}

	.section-downloads ul li > div {
	    padding: var(--inner-half) 0;
	    text-align: center;
	}

	.block-about .tab-controls {
		gap: unset;
		transform: translateY(0);
	}

	.block-about .tab-controls button {
		flex: 0 0 50%;
		border-bottom: .063rem solid var(--blue);
	}

	.block-about .tab-controls button:nth-child(odd) {
		border-right: .063rem solid var(--blue);
	}

    .block-about .tab-controls.last-item-full-width button:last-child {
        flex: 100%;
        border-right: 0;
    }

	.block-about .tab-controls button.active {
		color: var(--white);
		background: var(--blue);
	}

}


/* Larger than 768px */
@media only screen and (min-width: 48em) {

    ul#menu-top-menu > .wpml-ls-menu-item > a > span {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    ul#menu-top-menu > .wpml-ls-menu-item > a > span:after {
        content: '';
        background: url(../svg/select.svg) center no-repeat;
        background-size: 1rem;
        flex: 0 0 1rem;
        width: 1rem;
        height: 1rem;
    }

    header nav {
        display: flex;
        flex-direction: column;
    }

    header nav ul[id*="menu-main-menu"] {
        order: 2;
    }

	header > div.inner {
		padding-right: calc(var(--inner) - 1.25rem);
	}

	header button#menu-btn {
		display: none;
	}

	header nav {
		flex: 1;
	}

    header nav ul, 
    header nav ul * {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    header nav ul::-webkit-scrollbar, 
    header nav ul *::-webkit-scrollbar {
        display: none;
    }

	header nav ul:not(.sub-menu) {
		margin-left: auto;
	}

	header nav ul li a {
		padding: var(--inner) 1.25rem;
		font-size: 1.4375rem;
		position: relative;
	}

	header nav > ul > li:last-child {
		padding-right: calc(var(--inner) - 1.25rem);
	}

	header nav > ul > li > a:after {
		content: '';
		width: 0;
		height: .25rem;
		background: var(--red);
		position: absolute;
		left: 50%;
		bottom: var(--inner-half);
		transform: translateX(-50%);
		transition: .25s ease-in-out;
	}

	header nav ul li:hover > a,
	header nav ul li.current-menu-item > a,
    body.single-product header nav ul li#menu-item-141 > a,
    body.tax-product_cat header nav ul li#menu-item-141 > a,
    body.single-post header nav ul li#menu-item-139 > a,
    body.single-event header nav ul li#menu-item-147 > a {
		color: var(--red);
	}

	header nav > ul > li:hover > a:after,
	header nav > ul > li.current-menu-item > a:after,
    body.single-productheader nav ul li#menu-item-141 > a:after,
    body.tax-product_cat header nav ul li#menu-item-141 > a:after,
    body.single-post header nav ul li#menu-item-139 > a:after,
    body.single-event header nav ul li#menu-item-147 > a:after {
		width: calc(100% - 2.5rem);
	}

	header nav ul li.menu-item-has-children {
		position: relative;
	}

	header nav > ul > li.menu-item-has-children > ul.sub-menu {
		opacity: 0;
		visibility: hidden;
		position: absolute;
		top: 100%;
		background: var(--white);
		padding: calc(var(--inner) / 2);
		transition: .25s ease-in-out;
        min-width: 12.5rem;
        border: .063rem solid var(--grey-two);
        border-top: unset;
        z-index: -1;
        pointer-events: none;
	}

    header nav ul li.menu-item-has-children > ul.sub-menu {
        z-index: -1;
    }

	header nav ul li.menu-item-has-children:hover > ul.sub-menu {
		opacity: 1;
		visibility: visible;
        z-index: 20;
        pointer-events: auto;
	}

	header nav > ul > li.menu-item-has-children > ul.sub-menu li a {
		padding: calc(var(--inner) / 2);
		white-space: nowrap;
	}

	header nav > ul > li.menu-item-has-children > ul.sub-menu ul.sub-menu {
		top: calc(-1 * calc(var(--inner) / 2));
		left: 100%;
	}

}


/* Smaller than 768px */
@media only screen and (max-width: 48em) {

    main {
        padding-top: 4.785rem;
    }

	h1,
	.h1,
	.block-banner-home h1,
	body.single-post h1,
    body.single-event h1 {
		font-size: 3rem;
	}

	h2,
	.h2,
	.section-post_slider .content h2,
	.section-content_and_image h2,
	.section-post_feed h2,
	.btn.btn-large,
	.block-banner-child h1 {
		font-size: 2.25rem;
	}

	h3,
	.h3,
	.block-banner-home p,
	.section-product_categories ul li h3,
	p.p-large,
	.loop-post-tile > a > div h2,
	body.single-post h2,
    body.single-event h2,
    .product-content p {
		font-size: 1.5rem;
	}

	h4,
	h5,
	h6,
	.h4,
	.h5,
	.h6,
	body.single-post p,
    body.single-event p,
	.block-banner-child p,
    .section-usps h2 {
		font-size: 1.25rem;
	}

    .section-usps h2 br {
        display: none;
    }

	body.open {
		overflow: hidden;
	}

	header .align-items-end {
		align-items: center !important;
	}

	header a.logo {
	    height: 3.125rem;
	}

	#menu-btn {
		margin-left: auto;
		position: relative;
		height: 3rem;
		flex: 0 0 calc(2.5rem + var(--inner-double));
		padding: 0;
		text-align: center;
		transition: .25s ease-in-out;
		cursor: pointer;
		display: block;
		background: transparent;
		border-radius: 0;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		border: 0;
	}

	#menu-btn span.align {
		height: 1.875rem;
		width: 2.5rem;
		position: absolute;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%,-50%);
		transform: translate(-50%,-50%);
	}

	#menu-btn span:not(.align) {
		display: block;
		position: absolute;
		height: .375rem;
		width: 100%;
		background: var(--black);
		border-radius: 0;
		left: 0;
		transition: .25s ease-in-out;
	}

	#menu-btn:hover span:not(.align) {
		background: var(--black);
	}

	#menu-btn span:not(.align):nth-child(1) {
	  top: 0;
	}

	#menu-btn span:not(.align):nth-child(2),
	#menu-btn span:not(.align):nth-child(3) {
	  top: 50%;
	  transform: translateY(-50%);
	}

	#menu-btn span:not(.align):nth-child(4) {
	  bottom: 0;
	}

	body.open #menu-btn span:not(.align):nth-child(1) {
	  top: 0;
	  width: 0;
	  left: 50%;
	}

	body.open #menu-btn span:not(.align):nth-child(2) {
	  -webkit-transform: rotate(45deg);
	  -moz-transform: rotate(45deg);
	  -o-transform: rotate(45deg);
	  transform: rotate(45deg);
	}

	body.open #menu-btn span:not(.align):nth-child(3) {
	  -webkit-transform: rotate(-45deg);
	  -moz-transform: rotate(-45deg);
	  -o-transform: rotate(-45deg);
	  transform: rotate(-45deg);
	}

	body.open #menu-btn span:not(.align):nth-child(4) {
	  bottom: 0;
	  width: 0;
	  left: 50%;
	}

	header nav {
		padding-top: 1rem;
		position: absolute;
		z-index: 100;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		transform: translateX(-100%);
		width: 100vw;
		max-width: 100%;
		height: 100vh;
		overflow: scroll;
		background: var(--blue);
	    transition: .5s ease-in-out;
	}

	body.open header nav {
		transform: translateX(0);
	}

	header nav ul {
		display: block;
	}

	header nav ul li a {
		text-align: left;
		font-size: 1.5rem;
		color: var(--white);
		padding: 1rem;
	}

	header nav ul li.menu-item-has-children {
		position: relative;
	}

	header nav ul li.menu-item-has-children:has(button) a {
		padding-right: calc(2rem + var(--inner));
	}

	header nav ul li.menu-item-has-children > button {
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		width: 2rem;
		height: 100%;
		max-height: 3.5rem;
		z-index: 20;
		background: var(--red);
		border: 0;
	}

	header nav ul li.menu-item-has-children > button:after {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		width: .625rem;
		height: .625rem;
		background: url(../svg/menu-dropdown.svg) center no-repeat;
		background-size: .625rem;
	}

	header nav ul li.menu-item-has-children > button.open:after {
		transform: rotate(180deg) translate(50%,50%);
	}

	header nav ul li.menu-item-has-children a {
		padding-right: calc(2rem + var(--inner)) !important;
	}

	header nav > ul > li.menu-item-has-children > ul.sub-menu {
		background: rgba(255,255,255,.1);
	}

	header nav > ul > li.menu-item-has-children > ul.sub-menu li a {
		padding: .75rem 1rem;
		font-size: 1.25rem;
	}

	header nav > ul > li.menu-item-has-children > ul.sub-menu li.menu-item-has-children > a {
		padding-right: 3rem;
	}

	header nav > ul > li.menu-item-has-children > ul.sub-menu li.menu-item-has-children  > button {
		max-height: 2.75rem;
	}

	header nav > ul > li.menu-item-has-children > ul.sub-menu li a:after {
		display: none;
	}

	header nav > ul > li.menu-item-has-children > ul.sub-menu,
	header nav > ul > li.menu-item-has-children > ul.sub-menu li.menu-item-has-children ul.sub-menu {
		position: static;
		width: 100%;
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
		padding: 0;
		display: none;
	}

	.section-content_and_media .responsive-background {
		height: calc(100vw / 1.777);
	}

	.block-contact .box-shadow-item .map {
		margin-top: calc(var(--section-padding) - var(--inner-half));
	}

    .section-product_search strong {
        padding: var(--inner) 0;
        display: block;
    }
    
    .section-product_search select {
        width: 100%;
        display: block;
    }
    
    .section-product_search .btn {
        width: 100%;
        margin-top: var(--inner);
        height: 50px
    }
    
    .slider-padding {
        padding: 0 var(--inner-half)
    }
    
    .slider-padding:has(button) {
        display: block;
    }
    
    .section-product_categories ul {
        padding: 0
    }
    
    .section-product_categories ul li {
        padding: var(--inner-half)
    }

    .block-contact a:has(img) {
        height: calc(100vw / 1.777)
    }
    
    footer .contact-us h2 {
        font-size: 3rem;
    }
    
    footer .contact-us a {
        font-size: 1.375rem
    }
    
    footer .contact-us > div > div a:last-child {
        padding-left: var(--inner-quarter);
    }
    
    footer ul {
        padding: 0
    }
    
    footer ul li a {
        padding: var(--inner-half);
    }
    
    footer .block-social {
        padding: var(--inner-half)
    }

}

@media only screen and (min-width: 62em) {

    header nav ul li.mega-menu.has-4-cols > ul > li {
        flex: 0 0 25%;
    }

    header nav ul li.mega-menu.has-3-cols > ul > li {
        flex: 0 0 33.333%;
    }

}

@media only screen and (min-width: 48em) and (max-width: 62em) {
    
    header nav ul li.mega-menu.has-4-cols > ul > li,
    header nav ul li.mega-menu.has-3-cols > ul > li {
        flex: 0 0 50%;
    }

    header nav ul li.mega-menu.has-4-cols > ul > li:nth-child(odd),
    header nav ul li.mega-menu.has-3-cols > ul > li:nth-child(odd) {
       border-left: 0 !important;
       padding-left: 0 !important;
    }
    
}


@media only screen and (min-width: 48em) {

    header nav ul li a[href="#"]:hover {
        cursor: default;
    }

    header nav ul li.mega-menu {
        position: static;
    }

    header nav ul li.mega-menu > ul {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-width: 120rem;
        overflow: scroll;
        left: 0;
        padding: var(--inner-double) var(--inner) 0 var(--inner)
    }

    header nav ul li.mega-menu:hover > ul {
        height: auto;
    }

    header nav ul li.mega-menu > ul > li,
    header nav ul li.mega-menu ul li.menu-col > ul > li {
        margin-bottom: var(--inner)
    }

    header nav ul li.mega-menu > ul > li:not(:first-child) {
        border-left: .063rem solid var(--red);
        padding-left: var(--inner-half)
    }

    header nav ul li.mega-menu > ul > li > a {
        color: var(--red);
        padding-top: 0
    }

    header nav ul li.mega-menu > ul > li > a:not([href="#"]):hover {
        text-decoration: underline;
    }

    header nav ul li.mega-menu > ul > li > ul.sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        position: static;
        border: 0;
        padding: 0;
    }

    header nav ul li.mega-menu > ul > li > ul > li > a {
        font-weight: 400;
    }

    header nav ul li.menu-item-has-children ul.sub-menu li.menu-col > ul > li > a {
        color: var(--red);
        padding-top: 0;
        font-weight: 700;
    }

    header nav ul li.menu-item-has-children ul.sub-menu li.menu-col > ul > li > ul li a {
        color: var(--blue);
        font-weight: 400;
    }

    header nav ul li.menu-item-has-children ul.sub-menu li.menu-col > ul > li > ul li a:hover {
        color: var(--red);
    }
            
}


/* Smaller than 768px  */
@media only screen and (max-width: 48em) {

    header nav ul li.menu-item-has-children ul.sub-menu li.menu-col > button {
        display: none;
    }

    header nav ul li.menu-item-has-children ul.sub-menu li.menu-col > ul.sub-menu {
        display: block;
    }

    ul#menu-top-menu {
        padding-top: var(--inner-double)
    }

    ul#menu-top-menu li.menu-item-has-children > ul.sub-menu {
        display: block !important;
        background: transparent
    }

    .product-tabs-content .resource-download > *:not(.btn) {
        padding: var(--inner-half) 0
    }

    .product-tabs-content .resource-download > .btn {
        margin: var(--inner-half) 0
    }

}

