/*!
Theme Name: mercurysafety
Theme URI: http://alistairmonaghan.com/
Author: alistairmonaghan.com
Author URI: http://alistairmonaghan.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
- Normalize
- Box sizing
# Base
- Typography
- Elements
- Links
- Forms
## Layouts
# Components
- Navigation
- Posts and pages
- Comments
- Widgets
- Media
- Captions
- Galleries
# plugins
- Jetpack infinite scroll
# Utilities
- Accessibility
- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/


/*--------------------------------------------------------------
#Fonts
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
========================================================================== */

/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15;
-webkit-text-size-adjust: 100%;
}

/* Sections
========================================================================== */

/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}

/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}

/* Grouping content
========================================================================== */

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace;
font-size: 1em;
}

/* Text-level semantics
========================================================================== */

/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
}

/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted;
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace;
font-size: 1em;
}

/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

sub {
bottom: -0.25em;
}

sup {
top: -0.5em;
}

/* Embedded content
========================================================================== */

/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}

/* Forms
========================================================================== */

/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
text-transform: none;
}

/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}

/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}

/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}

/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*		`fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
}

/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}

/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto;
}

/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
padding: 0;
}

/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}

/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}

/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}

/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}

/* Interactive
========================================================================== */

/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}

/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}

/* Misc
========================================================================== */

/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}

/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
box-sizing: inherit;
}

html {
box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
color: #404040;
font-size: 1rem;
line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
clear: both;
}

p {
padding: 0;
margin: 5px 0 1.5em 0;
}

dfn,
cite,
em,
i {
font-style: italic;
}

blockquote {
margin: 0 1.5em;
}

address {
margin: 0 0 1.5em;
}

pre {
background: #eee;
font-family: "Courier 10 Pitch", courier, monospace;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1.6em;
}

code,
kbd,
tt,
var {
font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
border-bottom: 1px dotted #666;
cursor: help;
}

mark,
ins {
background: #fff9c0;
text-decoration: none;
}

big {
font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
background: #fff;
}

ul,
ol {
margin: 0 0 40px 0;
}

ul {
list-style: disc;
}

ol {
list-style: decimal;
}

li > ul,
li > ol {
margin-bottom: 0;
margin-left: 1.5em;
}

dt {
font-weight: 700;
}

dd {
margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
max-width: 100%;
}

img {
height: auto;
max-width: 100%;
}

figure {
margin: 1em 0;
}

table {
margin: 0 0 1.5em;
width: 100%;
}

/* Links
--------------------------------------------- */

a:hover,
a:focus,
a:active {
color: #191970;
}

a:focus {
outline: thin dotted;
}

a:hover,
a:active {
outline: 0;
}

/* Forms
--------------------------------------------- */

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
display: block;
width: 100%;
}

.main-navigation ul {
display: none;
list-style: none;
margin: 0;
padding-left: 0;
}

.main-navigation ul ul {
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
float: left;
position: absolute;
top: 100%;
left: -999em;
z-index: 99999;
}

.main-navigation ul ul ul {
left: -999em;
top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
display: block;
left: auto;
}

.main-navigation ul ul a {
width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
left: auto;
}

.main-navigation li {
position: relative;
}

.main-navigation a {
display: block;
text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
display: block;
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
text-align: end;
flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
display: block;
}


.updated:not(.published) {
display: none;
}


.page-links {
clear: both;
margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
word-wrap: break-word;
}

.bypostauthor {
display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
margin: 0 0 1.5em;
}

.widget select {
max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
border: none;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
margin-bottom: 1.5em;
max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
display: block;
margin-left: auto;
margin-right: auto;
}

.wp-caption .wp-caption-text {
margin: 0.8075em 0;
}

.wp-caption-text {
text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
margin-bottom: 1.5em;
display: grid;
grid-gap: 1.5em;
}

.gallery-item {
display: inline-block;
text-align: center;
width: 100%;
}

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

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

.gallery-columns-4 {
grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
}

.screen-reader-text:focus {
background-color: #f1f1f1;
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
clip-path: none;
color: #21759b;
display: block;
font-size: 0.875rem;
font-weight: 700;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

/*rtl:ignore*/
float: left;

/*rtl:ignore*/
margin-right: 1.5em;
margin-bottom: 1.5em;
}

.alignright {

/*rtl:ignore*/
float: right;

/*rtl:ignore*/
margin-left: 1.5em;
margin-bottom: 1.5em;
}

.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 1.5em;
}


/* now the fun begins */

html, body {
width: 100%;
height: 100%;
}

/* =================================
   CUSTOM FONTS
================================= */

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropean-Bold.woff2') format('woff2'),
        url('fonts/CenturyGothicPaneuropean-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Paneuropean ExtBd';
    src: url('fonts/CenturyGothicPaneuropean-ExtraBold.woff2') format('woff2'),
        url('fonts/CenturyGothicPaneuropean-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Paneuropean';
    src: url('fonts/CenturyGothicPaneuropean.woff2') format('woff2'),
        url('fonts/CenturyGothicPaneuropean.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}







/* Body font – regular by default */
body {
    font-family: 'Century Gothic Paneuropean', sans-serif;
    font-weight: 400;
    color: #262626;
    background: #fff;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Century Gothic Paneuropean', sans-serif;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0 !important;
    line-height: normal;
}

a {
    font-weight: bold;
}

.logo {
    max-width: 300px;
}

/* phosphurous icons */
.ph,.ph-fill {
    font-size: 60px;
}

.cta {
    display: block;
    border-radius: 999px;
    padding: 10px 20px;
    color: white;
     width: fit-content;
     text-decoration: none;
}

.cta {
    transition: background 0.6s ease;
}

.cta:hover {
    background: var(--hover-colour) !important;
    color: white;
}


b,strong {
font-weight: 700;
}

p {
font-weight: 500;
}

a {
color: #333333; /* dark */
text-decoration: underline;
}
a:hover {
color: #3f8acb; /* blue */
text-decoration: none;
}

.white {
color: white;
}


h3 {
font-size: 18pt;
line-height: 24pt;
}


.bg {
position: relative;
background-color: white;
}

/* contact container */


.contact-form-container {
    background: #f2f5f8;
    padding: 40px;
    margin: 40px 0;
    border-radius: 12px;
}

.contact-form-container h2 {
    margin-top: 0;
}


.flex-c {
display: flex;
align-items: start;
justify-items:  center;
align-content: center;
justify-content: center;
flex-wrap: wrap;
}
.flex-inline {
display: inline-flex; /* 👈 key change */
}
.flex-c-rev {
flex-direction: row-reverse;
}
.flex-c-justify {
justify-content: space-between;
}
.flex-right {
    display: flex;
    align-content: flex-end;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-end;
}

/* home content */


.home-top {
    background: #3f8acb;
    width: 100%;
    padding: 0;
    margin: 0;
}

.home-text {
    width: 50%;
    text-align: left;
}
.home-text {
    color: white;
}
.home-text h1 {
    color: white !important;
}

.home-img {
    width: 48%;
    margin-left: 2%;
}

.home-img img {
    width: 100%;
    height: auto;
    display: block;
}

.padder {
position: relative;
padding: 5% 10%;
}
.padder-left {
position: relative;
text-align: left;
}
.padder-img {
padding: 10% 500px 10% 5%;
}

.white-bg {
background: white;
color: #333333;
}
.dark-grey-bg {
color: white;
background: #333333;
}

.tl-corner {
position: absolute;
top: 0;
left: 0;
background: #26bfb2;
width: 180px;
height: 150px;
clip-path: polygon(0 0, 0 96%, 100% 0);
}

.br-corner {
position: absolute;
z-index: 10;
bottom: 0;
right: 0;
background: #26bfb2;
width: 180px;
height: 150px;
clip-path: polygon(100% 100%, 10% 100%, 100% 0);
}

.br-arrow {
/* Positioning and shape properties (unchanged) */
position: absolute;
z-index: 10;
bottom: 0;
right: 0;
background: #26bfb2;
width: 180px;
height: 150px;
clip-path: polygon(100% 100%, 10% 100%, 100% 0);
padding: 10px;

/* --- Centering the Icon --- */
display: flex; /* 1. Enable Flexbox */
justify-content: flex-end; /* 2. Center horizontally */
align-items: flex-end; /* 3. Center vertically */

/* Optional: Style the icon (you might need to adjust size and color) */

font-size: 24px; /* Example size */
}

.fa-white {
color: white;
  display: inline-block;
  transition: transform 0.5s ease;
}
.fa-teal {
  color: #26bfb2;
  display: inline-block;
  transition: transform 0.5s ease;
}

a:hover .fa-teal {
  transform: translateX(8px);
}

.corner-small {
width: 90px;
height: 70px;
}

.teal {
color: #26bfb2;  
}

/* ------- header ------- */

header.top {
    padding: 1% 3%;
}

header .strap {
font-size: 14pt;
font-weight: 700;
padding: 0;
margin: 0 0 10px 0;
color: #3d89cb;
}

.mobile-logo {
max-width: 300px;
margin: 0 auto 30px auto;
}

.pipe {
color: silver;
margin: 0 5px
} 
.mercurysafety_logo {
max-width: 300px;
}

.post-edit-link {
    display: none;
}

/* ------- menu -------- */

#nav-icon {
background: none;
}

/* desktop menu */
.navbar {
padding: 10px 3%;
background: #e9f7ff;
}


#nav-icon {
display: none;
}

.mobile-logo {
display: none;
}


.menu-items li {
display: inline-block;
position: relative; 
}

/* submenu (ul ul) */
.menu-items ul ul {
display: none; 
position: absolute; 
top: 100%;
left: -15px;
width: 100%;
min-width: 250px; 
z-index: 1000; 
background: #e9f7ff; 
padding: 10px;
text-align: left;
}

/* submenu items (li) */
.menu-items ul ul li {
display: block; 
padding: 10px;
}

/* Remove pipe for submenu items */
.menu-items ul ul li::after {
content: ""; 
}

/* Make the submenu visible on hover */
.menu-items li:hover > ul {
display: block; 
}

/* Add down arrow to menu items with submenus */
.menu-item-has-children > a::after {
    content: "\25BE";
    display: inline-block;
    margin-left: 8px;
    font-size: 14px;
    vertical-align: middle;
    line-height: 1;
    position: relative;
    top: -1px;
    transition: transform 0.3s ease;
}

/* Optional: rotate arrow when hovering */
.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}


/* header-info */
.header-info {
padding: 10px 3%;
background: #91c1e5;
    display: flex;
    justify-content: space-between;
}
.header-info p {
    padding: 0;
    margin: 0;
    color: white;
    font-weight: bold;
}


#main {
padding: 0;
margin: 0;
}

.menu ul {
padding: 0;
margin: 0;
list-style: none;
}
.menu li {
display: inline;
}
.menu a {
color: #262626;
text-decoration: none;
font-weight: 500;
}
.menu a:hover {
color: #3f8acb;
}
[aria-current]:not([aria-current="false"]) {
color: #3f8acb;
font-weight: bold;
}

/* automatically add pipes */
.menu li::after {
content: " | ";
padding: 0 0.5em;
color: silver;
}

/* Remove pipe from the last item */
.menu li:last-child::after {
content: "";
}


/* header-shop */
.header-shop a {
    color: white;
    font-weight: bold;
}
#shop-menu {
    padding: 0;
    margin: 0;
}


/* ------- video -------  */
.video-container {
position: relative; /* Essential for positioning the button relative to the video */
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
}

.video-container video {
width: 100%;
height: 100%;
display: block;
object-fit: cover; /* Ensures the video covers the container */
}

.sound-toggle-btn {
position: absolute; 
top: 15px; 
right: 15px; 
background: rgba(0, 0, 0, 0.5);
border: none;
padding: 8px;
cursor: pointer;
z-index: 10;
color: white; 
}

.sound-toggle-btn:hover {
background: rgba(38, 191, 178, 1);
}

#soundIcon {
display: inline-block;
width: 1.2em;
height: 1.2em; 
line-height: 1; /* Helps with vertical alignment */
text-align: center; /* Ensures the icon is centered within the fixed width */
font-size: 1.2em; /* Defines the size of the icon */
padding-top: 3px;
}


/* Homepage product layout */

.home-products {
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}

.home-products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px 0;
    width: 100%;
}

/* Individual product */

.home-product {
    width: calc(50% - 35px);
    min-width: 0;
}

/* Product title */

.home-product-title {
    font-size: 20pt;
    line-height: 1.2;
    font-weight: bold;
    color: #292929;
    margin: 0 0 20px 0 !important;
    padding: 0;
}

/* Clickable area */

.home-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Image container */

.home-product-image {
    width: 100%;
    aspect-ratio: 1.86 / 1;
    overflow: hidden;
    position: relative;
    border: 4px solid red;
}

/* Image */

.home-product-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.5s ease;
}

/* Hover zoom */

.home-product-link:hover .home-product-img {
    transform: scale(1.1);
}

/* Description */

.home-product-description {
    font-size: 11pt;
    line-height: 1.4;
    color: #111;
    margin: 22px 2px 0;
}

.home-product-description p {
    margin: 0 0 10px;
}

/* fix for double worded titles */


/* Tablet */


/* Mobile */


/* Reduced motion */


/* ------- home carousel ------ */
.home_carousel {
color: white;
background-image: url('img/mercurysafety-carousel-bg.png');
background-position: top center;
background-size: cover;
background-repeat: no-repeat;
}
.home_carousel ul {
text-align: left;
font-weight: 400;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
flex-direction: column;
align-items: center;
text-align: left;
}
.owl-nav {
display: flex;
justify-content: space-between;
}
.item {
padding: 5% 14%;
}
.owl-prev span {
font-size: 50pt;
position: absolute;
top: 30%;
left: 20px;
}
.owl-next span {
font-size: 50pt;
position: absolute;
top: 30%;
right: 20px;
}
.owl-dots {
padding: 10px 0;
}
.owl-carousel .owl-stage { display: flex; align-items: center; }

.home_carousel a {
    color: white;
    font-weight: 700;
    text-decoration: none;
}
.home_carousel a:hover {
    text-decoration: underline;
}

/* ------- more services ------- */


.dark-grey-bg a {
color: white;
text-decoration: none;
font-weight: 700;
}
.dark-grey-bg a:hover {
color: #26bfb2;
text-decoration: none;
}

.more i {
font-size: 30px;
margin-left: 20px;;
}

/* ------- get a quote ------- */
.quote {
background-image: url('img/mercurysafety-quote-bg.png');
background-position: top center;
background-size: cover;
background-repeat: no-repeat;
}
.fluentform .text-danger {
color: white !important;
}
.ff-el-group .ff-text-left .ff_submit_btn_wrapper {
text-align: center;

}
.fluentform input, .fluentform textarea, .fluentform button {
border-radius: 0 !important;
}
.ff-btn-submit {
margin: 0 auto;
text-align: center;
}
.ff-message-success {
font-weight: 400;
}

/* error message */
.fluentform .ff-el-is-error .text-danger {
    font-size: 12px;
    margin-top: 4px;
    color: red !important;
    font-weight: 700;
}

/* ------- our team ------- */

.team-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-member {
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.team-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

/* Default: text left, image right */
.team-member .team-content {
    flex-direction: row;
}

/* Alternate: image left, text right on even items */
.team-member:nth-child(even) .team-content {
    flex-direction: row-reverse;
}

.team-text {
    flex: 1;
}

.team-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #26bfb2;
    position: relative;
    transition: transform 0.4s ease;
    overflow: hidden;
}

/* ✅ Zoom ONLY when hovering the image */
.team-image:hover {
    transform: scale(1.05);
}

/* Overlay */
.team-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ✅ Overlay ONLY when hovering the image */
.team-image:hover::after {
    opacity: 1;
}

.page-template-page-our-team h2 {
    color: #26bfb2;
    padding-bottom: 0;
    margin-bottom: 0;
}

.page-template-page-our-team h3 {
    font-size: 14pt;
}

/* ------- footer ------- */

.footer-left-content img {
max-width: 200px;
margin-bottom: 10px;
}
.footer-left-content h3 {
font-size: 14pt;
font-weight: 700;
}


.custom-website-footer {
width: 100%;
background-color: #c8e5fc;
color: #262626; /* dark */
}

/* Inner wrapper for flex containment */
.footer-inner-wrapper {
display: flex; /* Enable Flexbox */
width: 100%;
margin: 0 auto; /* Center the wrapper */
}

/* Left Side: ACF Content */
.footer-left-content {
flex-basis: 50%; /* Set width to 50% */
display: flex; /* Make it a flex container to align its content */
align-items:flex-start;
padding: 5%; /* Add some internal spacing */
flex-direction: column;
text-align: left;
justify-content: center;
}


/* Right Side: Google Map Embed Container */
.footer-right-map {
flex-basis: 50%; /* Set width to 50% */
width: 100%;
height: auto; 
padding: 0;
}

/* **New:** Ensure the map canvas fills its container */
#map-canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 400px !important;
    background: #eee;
}

.copyright {
padding: 1% 3%;
background: #fff;
text-align: center;
}
.copyright p {
    padding: 0;
    margin: 0;
}

/* menu fix */


/* search / menu fix */
/* Navigation layout */


.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Menu */

.menu-items {
    display: flex;
    align-items: center;
}

/* faqs */
.faq_container,.custom_list {
max-width: 600px;
}

.faq_item {
overflow: hidden;
background: white;
margin-bottom: 10px;
border-radius: 10px;
}

.faq_question {
display: flex;
align-items: center;
font-weight: 600;
font-size: 1.1em;
cursor: pointer;
transition: color 0.3s ease;
padding: 5px 10px;
text-align: left;
}

.faq_question:hover {
/* color: #8a2be2; */
}

.faq_icon {
font-size: 1.5em;
min-width: 20px;
text-align: center;
transition: transform 0.3s ease;
color: #3f8acb;
transform-origin: center;
font-family: Arial, sans-serif;
}

.faq_q {
margin-left: 15px;
color: #3f8acb;
}

/* When active, rotate the icon */
.faq_item.active .faq_icon {
transform: rotate(180deg);
color: #3f8acb;
transform-origin: center;
}

/* Answer panel styling */
.faq_answer {
max-height: 0;
opacity: 0;
overflow: hidden;
color: #414D8B;
padding: 0 20px 0 45px;
box-sizing: border-box;
text-align: left;
transition:
max-height 0.4s ease,
opacity 0.4s ease,
padding 0.4s ease;
}

/* Expanded answer */
.faq_item.active .faq_answer {
max-height: 750px;
opacity: 1;
padding: 0 30px 10px 45px;
}


/* Woo commerce */

.product_meta .posted_in {
    display: block !important;
}

/* WooCommerce single product layout */
.single-product div.product {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4%;
}

/* Product image column */
.single-product div.product div.images {
    float: none !important;
    width: 48% !important;
    margin: 0 !important;
}

/* Product information column */
.single-product div.product div.summary {
    float: none !important;
    width: 48% !important;
    margin: 0 !important;
}

/* Make image fill its own column */
.single-product .woocommerce-product-gallery__image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
}

/* see above but responsive */
/* Responsive WooCommerce product layout */


.woocommerce img, .woocommerce-page img {
    max-width: 300px;
}

.tagged_as {
    display: block;
}

.woocommerce .price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-weight: bold;
    color: #333333;
    font-size: 18pt;
    padding: 0;
    margin: 0;
}


/* Always show quantity up/down arrows in Chrome, Safari, Edge, and Opera */
.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button {
    opacity: 1 !important;
    -webkit-appearance: inner-spin-button !important;
    appearance: auto !important;
    margin: 0;
}

/* Ensure Firefox displays the number input arrows */
.woocommerce .quantity input[type="number"] {
    -moz-appearance: number-input !important;
    appearance: auto !important;
}

/* woocommerce search */
/* WooCommerce navigation search - always visible */

.nav-search {
    display: flex !important;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-search form {
    display: flex !important;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 999px;
    overflow: hidden;
    background: white;
}

.nav-search form input[type="search"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 180px !important;
    height: auto;
    padding: 10px 15px;
    border: none !important;
    outline: none;
    box-shadow: none !important;
    background: transparent;
    margin: 0;
}

.nav-search form button[type="submit"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    border: none !important;
    background: transparent !important;
    padding: 10px 12px;
    margin: 0;
    cursor: pointer;
}

.nav-search form button[type="submit"] i {
    display: inline-block !important;
    font-size: 24px; /* EDIT ICON SIZE */
    line-height: 1;
}

/* custom icons for sub menu */

/* Shop menu Phosphor icons */
#shop-menu .shop-menu-icon {
    color: #fff;
    font-size: 20px;
    margin-right: 3px;
    vertical-align: middle;
}


/* =========================================
   FLEXIBLE CONTENT
========================================= */

.flexible-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}


/* =========================================
   1. TEXT FULL WIDTH
========================================= */

.text-full-width {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 60px;
}

.text-full-width .flex-text {
    width: 100%;
}


/* =========================================
   2 & 3. TWO COLUMN LAYOUTS
========================================= */

.flex-section.text-left-image-right,
.flex-section.text-right-image-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    width: 100%;
    margin-bottom: 60px;
}


/* TEXT COLUMN */

.flex-section .flex-text {
    flex: 1 1 0;
    min-width: 0;
}


/* IMAGE COLUMN */

.flex-section .flex-image {
    flex: 1 1 0;
    min-width: 0;
}

.flex-section .flex-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* TEXT LEFT / IMAGE RIGHT */

.text-left-image-right {
    flex-direction: row;
}


/* TEXT RIGHT / IMAGE LEFT */

.text-right-image-left {
    flex-direction: row-reverse;
}


/* =========================================
   4. FULL WIDTH IMAGE
========================================= */

.image-full-width {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 60px;
}

.image-full-width img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */


/* =========================================
   MOBILE RESPONSIVE
========================================= */


/* =================================
   WOOCOMMERCE PRODUCT SEARCH
================================= */

body.search-results .site-main {
    width: 100%;
}

/* Product grid */
body.search-results ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 30px 0 !important;
    padding: 0 !important;
}

/* Individual product cards */
body.search-results ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 20px;
    box-sizing: border-box;
}

/* Product images */
body.search-results ul.products li.product img {
    width: 100% !important;
    height: 250px !important;
    object-fit: contain;
    margin: 0 0 15px !important;
}

/* Product titles */
body.search-results .woocommerce-loop-product__title {
    font-size: 18px !important;
    font-weight: bold;
    padding: 10px 0 !important;
}

/* Product prices */
body.search-results ul.products li.product .price {
    font-weight: bold;
    color: #3f8acb !important;
    font-size: 24pt !important;
}

/* Product buttons */
body.search-results ul.products li.product .button {
    display: inline-block;
    margin-top: 15px;
}

/* Tablet */


/* Mobile */


/* Fix missing first product image on search results */

body.search-results ul.products::before,
body.search-results ul.products li.product::before {
    display: none !important;
    content: none !important;
}

/* Ensure product images are visible */
body.search-results ul.products li.product img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

/* fix for search results page? */
/* Match WooCommerce search results to All Products grid */

body.search-results ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;
    width: 100%;
}

body.search-results ul.products.columns-4 li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box;
}


/* Responsiveness
========================================================================== */

@media (max-width: 1032px) {

/* General layout
========================================================================== */

.flex-c,
.flex-right,
.header-info {
    display: block;
    text-align: center;
}

/* new 24.11.26 update */
.nav-search {
        display: block !important;
    margin: 0 auto;
}

.header-contact .cta {
    margin: 0 auto;
}

.home-text {
    width: auto;
    text-align: left;
}

.padder {
    padding: 5%;
}

.home-products {
    padding: 0;
}

.menu li {
    display: block;
    margin: 5px 0;
    list-style: none
}

.strap a {
    display: block;
}


/* Responsive navigation
========================================================================== */

.nav-container {
    padding: 0;
    margin: 0;
}

.navbar {
    position: relative;
    height: 0;
    padding: 0;
}

/* Burger icon */

.navbar button,
.mobile-logo {
    display: block;
}

#nav-icon {
    width: 40px;
    height: 40px;
    cursor: pointer;
    border: 0;
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;
    box-sizing: border-box;
    padding: 0;
}

/* Burger icon lines */

#nav-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 25px;
    background: #333333;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

/* Icon 3 */

#nav-icon span:nth-child(1) {
    top: 12px;
    left: 8px;
}

#nav-icon span:nth-child(2),
#nav-icon span:nth-child(3) {
    top: 19px;
    left: 8px;
}

#nav-icon span:nth-child(4) {
    top: 26px;
    left: 8px;
}

/* Animated burger icon */

#nav-icon.open span:nth-child(1) {
    top: 21px;
    width: 0%;
    left: 50%;
}

#nav-icon.open span:nth-child(2) {
    transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}


/* Mobile menu panel
========================================================================== */

.navbar .menu-items {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    height: 100vh;
    width: 100%;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);

    z-index: 9998;

    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;

    visibility: visible;
    opacity: 1;
}

/* Open menu */

.navbar .menu-items.open {
    transform: translateX(0) !important;
}

/* Menu lists */

.menu-items ul {
    display: block;
    text-align: left;
    padding: 0;
    margin: 0;
}

.menu-items li {
    display: block;
    list-style: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

/* Menu links */

.navbar .nav-container a {
    display: block;
    color: #6f6f6f;
    font-weight: 500;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 8px 0;
    margin: 0;
}

/* Submenus */

.menu-items ul ul {
    display: block;
    position: static;
    background: none;
    padding: 0;
    margin: 0;
    min-width: unset;
}

/* Indent submenu items */

.menu-items ul ul li {
    display: block;
    padding: 0 0 5px 20px;
}

/* Remove desktop pipe separators */

.menu-items li::after {
    content: none;
    display: none;
}

/* Menu container */

.menu-main-container {
    margin: 0 auto;
}

}



/* MOBILE NAVIGATION
================================================ */

@media screen and (max-width: 1032px) {

    /* Navigation wrapper */
    .navbar {
        position: relative;
        height: 0;
        padding: 0;
    }

    .nav-container {
        padding: 0;
        margin: 0;
    }

    /* Burger button */
    #nav-icon {
        display: block !important;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 10001;
    }

    /* Mobile menu - hidden by default */
    .navbar .menu-items {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);

        z-index: 9999;

        transform: translate3d(-100%, 0, 0);
        transition: transform 0.3s ease-in-out;

        visibility: hidden;
        pointer-events: none;
    }

    /* Menu open */
    .navbar .menu-items.open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
    }

    /* Mobile logo */
    .mobile-logo {
        display: block;
        max-width: 220px;
        height: auto;
        margin: 0 auto 30px;
    }

    /* Menu list */
    .menu-main-container {
        margin: 0 auto;
        width: 100%;
    }

    .menu-items ul {
        display: block;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .menu-items li {
        display: block;
        list-style: none;
        font-size: 1.5rem;
        font-weight: 500;
        padding: 0;
        margin: 0;
    }

    /* Menu links */
    .menu-items a {
        display: block;
        color: #404040;
        font-size: 1.2rem;
        font-weight: 500;
        text-decoration: none;
        padding: 8px 0;
    }

    /* Submenus */
    .menu-items ul ul {
        display: block;
        position: static;
        background: none;
        padding: 0;
        margin: 0;
        min-width: unset;
        text-align: center;
    }

    .menu-items ul ul li {
        padding: 0 0 5px 15px;
    }

    /* Remove desktop separators */
    .menu-items li::after {
        content: none;
        display: none;
    }

    /* Burger stays above overlay */
    #nav-icon.open {
        z-index: 10001;
    }

}


@media screen and (max-width: 768px) {

.home-product {
    width: 100%;
    min-width: 0;
}
}

/* =================================
   GLOBAL FONT SETTINGS
================================= */

/* Main font */
body {
    font-family: 'Century Gothic Paneuropean', sans-serif;
    font-weight: 400;
}

/* General text */
body p,
body li,
body a,
body label,
body button,
body input,
body select,
body textarea,
body .woocommerce {
    font-family: 'Century Gothic Paneuropean', sans-serif;
}

/* Headings */
body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: 'Century Gothic Paneuropean', sans-serif;
    font-weight: 700;
}

/* Bold text */
body strong,
body b {
    font-weight: 700;
}

/* WooCommerce product titles */
.woocommerce-loop-product__title {
    font-family: 'Century Gothic Paneuropean', sans-serif !important;
    font-weight: 700 !important;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/CenturyGothicPaneuropean-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('../fonts/CenturyGothicPaneuropean-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}


/* ==========================================
   MERCURY SAFETY - EQUAL HEIGHT PRODUCT GRID
   ========================================== */

/* Product grid */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 20px;
}

/* Individual product cards */
.woocommerce ul.products li.product {
    display: grid !important;
    grid-template-rows: 1fr auto;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    height: 100%;
}

/* Product image, title and price */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
    display: block;
}

/* Add to basket button */
.woocommerce ul.products li.product > a.add_to_cart_button {
    align-self: end;
    justify-self: start;
    margin-top: 15px !important;
}

/* Responsive columns */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}


/* Mercury Safety - WooCommerce product grid */

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 20px;
    width: 100%;
}

/* Remove WooCommerce clearfix */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

/* Reset WooCommerce column positioning */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last {
    display: flex !important;
    flex-direction: column;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    height: 100%;
}

/* Product information */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
    display: block;
    flex-grow: 1;
}

/* Add to basket */
.woocommerce ul.products li.product > a.add_to_cart_button {
    margin-top: auto !important;
    align-self: flex-start;
}

/* Responsive */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    header.top {
        padding-top: 50px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

.woocommerce-tabs {
    margin: 20px 0;
}

@media (max-width: 1032px) {

    .navbar {
        height: auto;
        padding: 10px 3%;
    }

    .nav-container {
        justify-content: center;
    }

    .nav-search {
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }

}


/* Align WooCommerce product prices and basket buttons */

.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

/* Product image, title and price container */
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Push price to the bottom */
.woocommerce ul.products li.product .price {
    display: block;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 15px;
}

/* Consistent spacing above Add to basket */
.woocommerce ul.products li.product > a.button {
    margin-top: 15px !important;
    align-self: flex-start;
}

/* WooCommerce - Mobile Single Product Layout */

@media (max-width: 1032px) {

    /* Stack product image and content vertically */
    .single-product div.product {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* Full-width product gallery and summary */
    .single-product div.product div.images,
    .single-product div.product div.summary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    /* Product gallery */
    .single-product div.product div.images {
        order: 1;
        margin-bottom: 25px !important;
    }

    /* Maintain image proportions */
    .single-product div.product div.images img {
        max-width: 100%;
        height: auto;
    }

    /* Product title, price and description */
    .single-product div.product div.summary {
        order: 2;
    }

    /* Product information tabs */
    .single-product div.product .woocommerce-tabs {
        order: 3;
        width: 100% !important;
    }

    /* Related products and upsells */
    .single-product div.product .up-sells,
    .single-product div.product .related {
        order: 4;
        width: 100% !important;
    }

}
