/* Blog card styling
.wp-block-post-template .wp-block-post .wp-block-post-date {
	display: none;
}
.columns-3 .wp-block-post {
	border: 3px solid darkgray;
	padding: 1em;
	border-radius: 4px;
	
}*/

/* Universal Styles */
a.wp-element-button:hover {
  color: #fff !important;
}

.dot {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: -8px;
}

.dot.dot-1 {
    background-color: #32312c;
    border: 2px solid #32312c;
}

.dot.dot-2 {
  background-color: #5b5847;
  border: 2px solid #5b5847;
}

.dot.dot-3 {
  background-color: #9c968a;
  border: 2px solid #9c968a;
}

.dot.dot-4 {
  background-color: white;
  border: 2px solid #9c968a;
}

.width-75 .wp-block-cover__inner-container {
  max-width: 75%;
}

.category-description{
  columns: 2;
  column-fill: balance;
  margin-bottom: 30px;
}

/*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;
}

#mega-menu-item-272516 {
	color: red;
}

/* Color Options */

.menu-item-724 ul ul{
  position: relative !important;
  margin-left: -1em !important;
}
.top-menu-class #menu-top #menu-item-724.menu-item-724 ul li ul {
  display: none;
}

.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;
}

/* Product Page Tabs  */
.woocommerce-tabs.wc-tabs-wrapper{
  border: 1px solid #d9d9d9;
  margin-top: 100px;
}
.tabs.wc-tabs{
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  line-height: 2;
}
.tabs.wc-tabs li{
  padding-right: 30px;
  padding-left: 20px;
}
.tabs.wc-tabs li.active{
  color: black;
  font-weight: bold;
  background-color: white;
  border-bottom: none;
}
.woocommerce-tabs.wc-tabs-wrapper div.woocommerce-Tabs-panel{
  padding: 30px;
}

/* Category Landing Page */
.archive.tax-product_cat .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;
  color: black;
}
.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;
}

/* 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;
}
.blue-review-link a{
  color: #847e6b;
}
#review{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

li.product a{
  border: 1px solid rgb(0 0 0 / 10%);
  flex: 1 0 auto;
}

.mobile-phone-number{
  display: none;
  background-color: black;
}
.mobile-phone-number p{
  color: white;
  margin-bottom: 0;
}
.mobile-phone-number p a{
  color: white;
}
.mobile-phone-number i{
  margin-right: 10px;
}

.cta_link{
  color: black;
}

.woocommerce-variation-add-to-cart {
  display: flex;
}
.product-type-simple form.cart{
  display: flex;
}
.woocommerce div.product form.cart .button {
  float: none;
  flex: 1;
  font-size: 18px;
}

.woocommerce-Price-amount{
  color: #847e6b;
}
.woocommerce div.product p.price{
  color: #847e6b !important;
}

#menu-top li ul{
  background: #847e6b !important;
}

li.type-product .star-rating{
  display: none !important;
}

.bottom-call-to-action{
  background-image: url(https://amishmercantile.com/wp-content/uploads/2022/10/American-Made-Furniture-Banner.jpg);
  background-position: center center;
}

.site-header .wrap.search_open{
  height: 140px;
}

.mini-cart{
  display: none;
}

.page-id-45635 .wp-container-1 p,
.page-id-45635 .wp-container-1 ul{
  max-width: 950px;
}
.page-id-45635 .wp-container-1 ul{
  margin-right: auto;
  margin-left: auto;
}

.top-header{
  background-color: white !important;
  box-shadow: 0 1px 0 rgb(0 0 0 / 10%);
}
#menu-top a{
  color: black !important;
}
#menu-top .sub-menu a{
  color: white !important;
}

.home-page-slider-button{
  display: flex !important;
  justify-content: center !important;
}
.home-page-slider-button > div{
  margin-right: 0 !important;
}
.eedee-gutenslider-prev{
  left: 30px !important;
}
.eedee-gutenslider-next{
  right: 30px !important;
}
.eedee-gutenslider-pagination{
  bottom: -5px !important;
}

.home-cta-links .gb-is-responsive-column{
  margin: 0 50px;
  max-width: 100% !important;
}

.archive .site-header{
  margin-bottom: 50px;
}
.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;
}

.top-header .wrap{
  padding-bottom: 0px !important;
}

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

/* 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;
  background-color: white !important;
  color: black !important;
}


/* See More options button */
.woocommerce a.button.inverse.alt{
  background-color: #837f6d !important;
}

/* Blog Page */
#am-blog-section{
  margin-top: 100px;
  margin-bottom: 100px;
}

/* Berlin Gardens Products Hide Price */
.product_cat-berlin-gardens .woocommerce-variation-price{
  display: none !important;
}

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

  .popupCloseButton {
    border-radius: 0;
    top: 0px;
    right: 0;
  }
@media(max-width: 1482px){
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
    padding: 0px 12px 0px 12px;
    font-size: 18px;
  }
}

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


@media ( max-width: 981px ) {

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

  }


    


    .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;
  }
  #am-blog-section ul.wp-block-post-template{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  #am-blog-section ul.wp-block-post-template li{
    width: 100%;
  }
  header .title-area{
    width: 80% !important;
  }
  .mobile-phone-number{
    display: flex;
    justify-content: center;
  }
  .mini-cart{
    display: block;
    position: absolute;
    top: 60px;
    right: 110px;
    z-index: 9;
  }
  .mini-cart a{
    color: black;
  }
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner:before,
  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner:after{
    background-color: black !important;
  }
  .reuseable-blocks-container .color-options .wp-container-3{
    padding-top: 10%;
    padding-bottom: 10%;
  }
  body.archive.tax-product_cat .site-header{
    margin-bottom: 0;
  }
  body:not(.fullwidth).woocommerce-cart .site-inner,
  body:not(.fullwidth).woocommerce-checkout .site-inner{
    width: 95%;
  }
}

@media(min-width: 860px){
  .woocommerce ul.products{
    justify-content: flex-start !important;
  }
}

@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;
  }
  #am-blog-section ul.wp-block-post-template{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px){

  .search article:nth-child(n) {
    margin: 0 0 11.5%!important;
    width: 100%!important;
  }
  .viz-banner-text{
    font-size: 36px;
  }
  #viz-jquery-slideshow-container{
    display: block !important;
  }
  .wp-block-buttons.is-content-justification-center{
    display: flex;
  }
  #business-slogan-goes-here{
    padding: 0;
  }
  .viz-slide-content div.wp-block-button{
    margin-right: 0;
  }
  
}

@media(max-width: 410px){
  .entry-content .slogan-background{
    padding: 50px 10px;
  }
}
