/*
Theme Name: The Stubby Cooler Company
Version: 1.0
Author: Cloud Three
Author URI: https://cloudthree.com.au/
*/
 
.alignnone {
margin: 5px 20px 20px 0;
}
 
.aligncenter,
div.aligncenter {
display: block;
margin: 5px auto 5px auto;
}
 
.alignright {
float:right;
margin: 5px 0 20px 20px;
}
 
.alignleft {
float: left;
margin: 5px 20px 20px 0;
}
 
a img.alignright {
float: right;
margin: 5px 0 20px 20px;
}
 
a img.alignnone {
margin: 5px 20px 20px 0;
}
 
a img.alignleft {
float: left;
margin: 5px 20px 20px 0;
}
 
a img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto
}
 
.wp-caption {
background: #fff;
border: 1px solid #f0f0f0;
max-width: 96%; /* Image does not overflow the content area */
padding: 5px 3px 10px;
text-align: center;
}
 
.wp-caption.alignnone {
margin: 5px 20px 20px 0;
}
 
.wp-caption.alignleft {
margin: 5px 20px 20px 0;
}
 
.wp-caption.alignright {
margin: 5px 0 20px 20px;
}
 
.wp-caption img {
border: 0 none;
height: auto;
margin: 0;
max-width: 98.5%;
padding: 0;
width: auto;
}
 
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
margin: 0;
padding: 0 4px 5px;
}
 
/* Text meant only for screen readers. */
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}
 
.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;
color: #21759b;
display: block;
font-size: 14px;
font-size: 0.875rem;
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000; /* Above WP toolbar. */
}
 
/* ninja forms preset */
 
.ninja-forms-form-wrap .ninja-forms-error-msg {
color: #ff0000;
margin-bottom: 5px;
}
 
.ninja-forms-form-wrap .ninja-forms-required-items {
margin-bottom: 5px;
font-weight: bold;
}
 
.ninja-forms-form .text-wrap input,
.ninja-forms-form .textarea-wrap textarea,
.ninja-forms-form .list-dropdown-wrap select {
font-size: 14px;
padding: 10px 10px;
border: 1px solid #cccccc;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
background-color: #ffffff;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 100%;
}
 
.ninja-forms-form .submit-wrap input {
line-height: 41px;
text-align: center;
background-color: #ffffff;
padding: 0 32px;
border: 2px solid #cccccc;
-webkit-transition: background-color 0.3s, color 0.3s;
-moz-transition: background-color 0.3s, color 0.3s;
transition: background-color 0.3s, color 0.3s;
cursor: pointer;
font-size: 14px;
}
 
.ninja-forms-form .submit-wrap input:hover {
color: #ffffff;
background-color: #cccccc;
}
.nf-form-fields-required {
  display: none;
}
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

#lightbox-image {
  max-width: 100%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  z-index: 10000;
}
#banner h2{
  color: #fff;
}
#products .listing li .image img{
  max-width: 270px;
  max-height: 270px;
}
.swiper-backface-hidden .swiper-slide h4{
  margin-top: 20px;
}
#clients .listing li blockquote span
{
  font-size: 3em;
  height: 40px;
  display: block;
}
.wp-block-separator
{
  max-width: 1300px;
}
#content .section {
padding-top: 20px;
padding-bottom: 20px;
}
#content:first-of-type .section {
padding-top: 50px;
}
#header, #banner{
  margin-bottom: 70px;
}
#banner, #slider{
  margin-top: -70px;
}
#header .right #navigation ul .sub-menu li{
  margin-left: 0;
}
#header .right #navigation .sub-menu{
  display: none;
  position: absolute;
  min-width: 200px;
  top: 40px;
  z-index: 999999;
}
.productsSlider .swiper-wrapper{
  justify-content: center;
}
.textImage{
  margin-bottom: 0;
}
#header .right #navigation ul li a{
  padding-bottom:20px; 
  display: block;
}
#header .right #navigation .sub-menu li a{
  padding: 10px;
  background: #000;
}
#header .right #navigation ul li.menu-item-has-children:hover .sub-menu{
  display: block;
}
#header .right #navigation>ul>li:before{
  bottom: 0.5em;
}
.megaMenudisplay{
  display: none;
  position: absolute;
  background: #000;
  color: #fff;
  column-gap: 40px;
  
  max-width: 1280px;
  z-index: 999999;
  padding: 40px;
  right: -30px;
}
#header .megaMenu:hover .megaMenudisplay{
  display: flex;
  
}
.megaMenudisplay .items{
  display: flex;
  column-gap: 20px;
  
}

.megaMenudisplay .items .item{
  width:200px;
  height: 300px;
  background: blue;
  display: flex;
  text-align: center;
  align-items: end;
  padding-bottom: 0px;
}
#header #navigation .megaMenudisplay .items .item a{
  text-align: center;
  width: 100%;
  margin: 0;
  padding-bottom: 40px;
  color: #fff;
  height: 100%;
  align-items: flex-end;
  display: flex;
  justify-content: center;
}
#header .words{
  min-width: 350px;
}
#header .words h4{
  color: #fff;
}
#header .words p{
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
  text-align: left;
  line-height: 1.68;
  letter-spacing: 0.05em;
}

#header .right #navigation ul li.megaMenu.menu-item-has-children:hover .sub-menu
{
  display: none !important;
}
.megaMenudisplay .items .item h3{
  display: block;
  margin: 0;
}
.home #banner{
  margin-bottom: 0;
}
@media only screen and (max-width : 1300px) {
  #header .words{
    display: none;
  }
}
@media only screen and (max-width : 991px) {
  #products .listing li .image img{
    max-width: 190px;
    max-height: 190px;
  }
  #header .megaMenu .megaMenudisplay{
    right: -110px;
  }
}