/* Logo */
.wp-custom-logo .site-container .title-area{
  padding-top: 0 !important;
}

.aluminum-cabinet-color-swatch {
	border: solid 2px #efefef;
}

.white-on-white {
  text-shadow: 0px 0px 12px black, 0px 0px 10px black, 0px 0px 8px black, 0px 0px 5px black, 0px 0px 3px black, 0px 0px 2px black;
}

/* Home Page Slideshow */
.home-slider-button{
  display: flex !important;
}
.home-slider-button .alignleft{
  margin-right: 0px !important;
}
.eedee-gutenslider-pagination{
  bottom: -5px !important;
}

/* Design / Inspiration Reuseable Block */
.design-link-h2 a{
  color: white;
}
.design-link-h2 a.active-hover{
  text-decoration: underline 4px #0877C7;
  text-underline-offset: 10px;
}
.design-column-hover,
.inspiration-column-hover{
  overflow: hidden;
}
.inspiration-column-hover img.active-hover{
  animation: zoom-in 1s ease 1 forwards;
}
@keyframes zoom-in{
  0% {
    transform: scale(1, 1);
  }
  100%{
    transform: scale(1.2, 1.2);
  }
}
.design-column-hover img.active-hover{
  animation: zoom-in 1s ease 1 forwards;
}
@keyframes zoom-out{
  0% {
    transform: scale(1.2,1.2);
  }
  100% {
    transform: scale(1,1);
  }
}
.design-column-hover img{
  animation: zoom-out 1s ease 1 forwards;
}
.inspiration-column-hover img{
  animation: zoom-out 1s ease 1 forwards;
}

/* Custom Popup */
#viz-custom-popup{
  background:rgba(0,0,0,.4);
  height:100%;
  position:fixed;
  text-align:center;
  top:0;
  left: 0;
  right: 0;
  bottom: 0;
  width:100%;
  z-index:999999999;
}
#viz-custom-popup .helper{
  display:inline-block;
  height:100%;
  vertical-align:middle;
}
#viz-custom-popup .popupCloseButton{
  background-color: #fff;
  border: 3px solid #999;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  font-family: arial;
  font-weight: bold;
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 20px;
  line-height: 25px;
  width: 30px;
  height: 30px;
  text-align: center;
}
#viz-custom-popup .pop-up-content{
  background-color: #fff;
  box-shadow: 10px 10px 60px #555;
  display: inline-block;
  height: auto;
  max-width: 1600px;
  min-height: 100px;
  vertical-align: middle;
  width: 50%;
  position: relative;
  padding: 25px 5%;
  cursor: default;
  max-height: 95%;
}


/*Text-only overlay*/
.entry-content .slogan-background{
    padding: 1.25em 2.375em;
    background-color: rgba(0,0,0,0.59);
}
.wp-block-genesis-blocks-gb-columns .gb-layout-column-wrap .cta-image{
    margin-bottom: 0px!important;
}
.gb-block-layout-column-inner .cta-link a{
    text-decoration: none;
}

.entry-content .see-more-reviews a{
    text-decoration: none;
}

.entry-content .products-footer a{
    text-decoration: none;
    color: black;
}
.entry-content .navigation-footer a{
    text-decoration: none;
    color: black;
}

/* Color Options */

.wp-block-group.alignfull .wp-block-columns.color-options {
  padding: 2.5px 0;
  border: 2px solid #333;
}

.wp-block-group.alignfull .wp-block-columns.color-options .wp-block-navigation .wp-block-navigation-item__content {
  color: rgba(0,0,0,.6);
  font-size: 16px;
}

/* Category Landing Page */
.page-template-category-landing-page .site-inner{
  padding-top: 0 !important;
}
.viz-banner-container{
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  margin-bottom: 50px;
}
.viz-banner-overlay{
  background-color: rgba(0,0,0,.3);
  height: 100%;
  width: 100%;
}
.viz-banner-text{
  color: white;
  text-align: center;
  font-size: 60px;
  padding: 210px 0;
  font-weight: bold;
}
.subcat-grid-container{
  margin-bottom: 50px;
}
.subcat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 0 4em;
}
.sub_cat_link{
  background-color: #e2e2e2;
  text-align: center;
  padding: 25px 0;
  margin-bottom: 30px;
}
.sub_cat_link p{
  margin-bottom: 0 !important;
  font-weight: bold;
}
.reuseable-blocks-container{
  margin-bottom: 100px;
}
.reuseable-blocks-container .color-options{
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  margin-bottom: 100px;
}
.reuseable-blocks-container .color-options .wp-container-3{
  width: 79% !important;
}
.term-bedroom .site-header,
.term-dining-room .site-header,
.term-living-room .site-header,
.term-office .site-header,
.term-outdoor .site-header,
.term-children .site-header{
  margin-bottom: 0px;
}
body:not(.fullwidth).term-bedroom .site-inner,
body:not(.fullwidth).term-dining-room .site-inner,
body:not(.fullwidth).term-living-room .site-inner,
body:not(.fullwidth).term-office .site-inner,
body:not(.fullwidth).term-outdoor .site-inner,
body:not(.fullwidth).term-children .site-inner{
  padding-top: 0 ;
}

/* Default Woocommerce Category Pages */
.woocommerce ul.products{
  justify-content: flex-start!important;
}

/* Dynamically added reviews */
.viz-reviews-container{
  width: 80%;
  margin: 50px auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
  row-gap: 30px;
}
.review-container-viz{
  background-color: #f5f5f5;
  padding: 30px;
  text-align: left;
}
.viz-quotes-container{
  width: 10%;
  margin-left: auto;
  margin-right: auto;
  margin-top: -50px;
  margin-bottom: 20px;
}
.viz-star-rating-container{
  width: 40%;
  margin: 0 auto;
}
.viz-review-content{
  color: black;
}
.viz-review-author{
  color: black;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 15px;
}
.blue-review-link{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#review{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* Style custom mobile home page slides */
#viz-jquery-slideshow-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}
#viz-jquery-slideshow-container #viz-jquery-slideshow {
  overflow: hidden;
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  height: 100%;
}
#viz-jquery-slideshow-container #viz-jquery-slideshow li {
  display: inline;
  float: left;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
/* Vertically center our buttons */
#viz-jquery-slideshow-container #btn-prev,
#viz-jquery-slideshow-container #btn-next {
    position: absolute;
    top: 150px;
    z-index: 100;
    color: #ffffff;
    font-size: 2em;
    line-height: 1;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%);
}
 
#viz-jquery-slideshow-container #btn-prev {
    left: 15px;
}
 
#viz-jquery-slideshow-container #btn-next {
    right: 15px;
}
 
/* hide the text links */
#viz-jquery-slideshow-container #btn-prev span,
#viz-jquery-slideshow-container #btn-next span {
   display: none;
}
#viz-jquery-slideshow .viz-slide-content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: black;
  text-align: center;
  padding: 30px;
  z-index: 9;
  padding-bottom: 45px;
}
#viz-jquery-slideshow .viz-slide-content h2{
  color: white;
}
#viz-jquery-slideshow .viz-slide-content a{
  padding: 15px 30px;
}

/* Search Results Page */
body .pagination{
  display: none;
}

body main#genesis-content .pagination{
  display: block;
}

body main .pagination a.page-numbers{
  background-color: #f5f5f5;
  color: #333;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  padding: 8px 12px;
  text-decoration: none;
}

body main .pagination span.page-numbers.current{
  background-color: #333;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  padding: 8px 12px;
  text-decoration: none;
}
  .pop-up-wrapper .pop-up-content {
    width: 60%;
    max-width: 90%;
    max-height: 95%;
	overflow-y: auto;
	overflow-x: hidden
}

  .popupCloseButton {
    border-radius: 0;
    top: 0px;
    right: 0;
  }


@media(max-width: 1099px){
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
    padding: 0px 15px !important;
    font-size: 17px !important;
  }
}

@media ( max-width: 981px ) {

  .pop-up-wrapper .pop-up-content {
    width: 90%;
    max-width: 90%;
    max-height: 95%;
}

  .popupCloseButton {
    border-radius: 0;
    top: 0px;
    right: 0;
  }


    


    .ws_input_wrap .close {
        display: inline;
        position: absolute;
        right: 15px;
        font-size: 34px;
        margin-top: 7px;
    }
    
      .ws_search_wrap {
        width: 100%;
      }
    
  
      .ws_search_icon:before {
        position: relative;
      }
     
     
      #ws_search_icon:before {
        position: inherit;
      }
    
    
      .flip-mobile .et_pb_row {
        display: flex;
        flex-direction: column-reverse;
      }

    #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item.mobile-menu-item {
        display: block;
    }
      
    #et_mobile_nav_menu {
        display: none;
    }

  .et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {
    padding-bottom: 24px;
  }

}

@media(max-width:959px){
  .viz-banner-container{
    max-height: 250px;
    background-size: 156%;
  }
  .viz-banner-overlay{
    max-height: 250px;
  }
  .viz-banner-text{
    padding: 108px 0;
  }
  .subcat-grid{
    grid-template-columns: 1fr 1fr;
  }
  .viz-reviews-container{
    grid-template-columns: 1fr 1fr;
  }
  .reuseable-blocks-container .color-options .wp-container-3{
    padding-top: 10%;
    padding-bottom: 10%;
  }
  header .title-area{
    width: 35%!important;
  }
  #viz-custom-popup .pop-up-content{
    width: 80%;
  }
}

@media (max-width: 768px){


    .search article:nth-child(n) {
      width: 48%;
      float: left;
      clear: both;
      margin: 0 0 2.992em;
    }
    .search article:nth-child(2n) {
      float: right;
      clear: none!important;
    }
    .viz-banner-text{
      font-size: 50px;
    }

}

@media(max-width: 600px){
  .subcat-grid{
    grid-template-columns: 1fr;
  }
  .viz-reviews-container{
    grid-template-columns: 1fr;
  }
  .entry-content .slogan-background{
    padding: 50px 50px;
  }
  .eedee-gutenslider-prev{
    left: 30px !important;
  }
  .eedee-gutenslider-next{
    right: 30px !important;
  }
}

@media (max-width: 500px){

  .search article:nth-child(n) {
    margin: 0 0 11.5%!important;
    width: 100%!important;
  }
  .viz-banner-text{
    font-size: 36px;
  }
  
}

@media(max-width:480px){
  .wp-block-eedee-block-gutenslider .has-larger-font-size{
    font-size: 18px !important;
  }
  #business-slogan-goes-here{
    padding: 0;
  }
  .viz-slide-content div.wp-block-button{
    margin-right: 0;
  }
}
	/* CSS for adding an underline on hover for links */

a:focus,
a:hover, .woocommerce-loop-product__title:hover,.woocommerce-loop-product__title:focus, .gb-block-layout-column-inner p.has-text-align-center.has-background:hover, .gb-block-layout-column-inner p.has-text-align-center.has-background:focus
 {
    color: #333; 
    text-decoration: underline;
}