/* Change height of the home header */
@media (min-width: 500px) {
	.fullscreen-header,
	  .fullscreen-header .hentry {
		min-height: auto;
		height: 50em;
	}
}
/* Change overlay opacity */
.has-background-cover .overlay {
    opacity: 0.4;
}

/*Centred Titles*/
.page .singular-page-header .container {
  text-align: center;
}

.page .singular-page-header .entry-title {
  max-width: 100%;
}

#primary-header {
	max-height: 18em;
}
#jp-relatedposts {
    display: none !important;
}
.singular-page-header {
  background-image: url(https://aqua-safety.com/wp-content/uploads/2020/11/generic-bg3.jpg);
  background-size: cover;
  background-position: center;
}

.single.singular-featured-image-inactive .site-header:not(.scroll-header),
.page.singular-featured-image-inactive:not(.page-template-templatesfront-page-php) .site-header:not(.scroll-header),
.singular-page-header .entry-title {
  color: #ffffff;
}
.product_meta{
    display: none !important;
    }

.single-product.inactive-sidebar .site-main {
  max-width: 90%;
}
.related.products {
  display: none !important;
}
@media (min-width: 768px) {
    .site-header:not(.scroll-header) .site-branding img {
        display: none;
    }

    .site-header:not(.scroll-header) .site-branding .custom-logo-link::before {
        background-image: url(https://aqua-safety.com/wp-content/uploads/2020/12/Aqua-Safety_Logo-wide-white.png);
        background-size: 221px 70px;
        background-repeat: no-repeat;
        display: block;
        width: 221px;
        height: 70px;
        content: "";
    }
}

/* display the page header overlay on pages without a featured image */
.singular-page-header:not(.has-background-cover) {
  position: relative;
}

.singular-page-header:not(.has-background-cover)::before {
  content: "";
  display: block;
  box-shadow: inset 0 0 1000px 100px rgba(0,0,0,0.4);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.singular-page-header:not(.has-background-cover) .container {
  z-index: 1;
}

/* hide featured image in singular views */
.singular-page-header > .th-featured-image {
  display: none;
}
.fullscreen-header a {
  pointer-events: none;
  cursor: default;
}
.front-testimonial-img {
  border-radius: 0;
}
/* change width of the product image section in singular views. */
@media (min-width: 992px) {
  .singular-product > .images {
    width: 58.333333%;
  }
}
/* Removing the cart from the menu | 29523505-HC (AVS) */
#masthead #site-header-cart {
	display: none;
}
/* Aligning header photo on home page to bottom | 32648432-HC (VS) */
#fullscreen-header .th-featured-image {
    object-position: center bottom;
}

div.sticky {
    position: fixed;
 
}

/* make contact form sticky on page 3062 | XXXXXX-hc GH */
@media screen and (min-width: 768px) {
    .page-id-3062 #contact-form-3062 {
        position: sticky;
        top: 200px;
    }  
}


@media (min-width: 768px) {
    .single-product.has-regular-site-header .site-header {
        position: fixed;
        width: 100%;
        top: 0;
        margin-bottom: 0;
    }

    .single-product.has-regular-site-header .site-header:not(.scroll-header) {
        background-color: transparent;
        border: none;
        color: #fff;
    }

    .single-product.has-regular-site-header  .site-content::before {
        content: '';
        background-image: url(https://aqua-safety.com/wp-content/uploads/2020/11/generic-bg3.jpg);
        background-attachment: scroll;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 100%;
        background-size: cover;
        height: 140px;
        display: block;
        margin-bottom: 4rem;
        box-shadow: inset 0 0 0 2000px rgba(0,0,0,0.4);
    }
}


#menu-item-22 {
	background-color: #0177AD;
  color: #fff; 
  padding: 10px 20px; 
  border-radius: 5rem
}

#menu-item-22:hover {
	background-color: #00A325
}

#c-bns button:first-child, #s-bns button:first-child {
	background: #2ab574;
}