/*
Theme Name: DiviChild
Theme URL: https://viztech360.com
Description: Child of the divi theme
Theme Author: Wen
Author URL: https://viztech360.com
Template: Divi
Version: 1.0.4
Text Domain: childdivi
*/


#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item.mobile-menu-item {
    display: none;
}
  
.ws_search_wrap {
    display: none;
    width: 68%;
}

.ws_search_wrap input {
    width: 100%;
}

.et-cart-info, .ws_input_wrap .close {
display: none;
}

.ws_search_icon:before {
    font-family: ETmodules!important;    
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 0;
    direction: ltr;
    content: "\55";
    font-size: 17px;
    
    position: absolute;
    color: white;
  }




/* End Centered Footer Credits */

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

/* Product styling */

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3, .woocommerce-page ul.products li.product .price, .woocommerce-page ul.products li.product .price del, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .price del {
  text-align: center;
}

.single-product.et_full_width_page.woocommerce-page ul.products li.product:nth-child(4n+1), .single-product.et_left_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n+1), .single-product.et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n+1) {
  clear: none;
}

.woocommerce div.product div.images.woocommerce-product-gallery {
  width: 58%;
  position: sticky;
  position: -webkit-sticky;
  top: 0px;
}

.woocommerce div.product div.summary, .woocommerce-page div.product div.summary {
width: 38%;
}


.woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex-grow: 1;
}
.woocommerce-variation.single_variation {
  margin-top: 20px;
}


.woocommerce div.product form.cart .variations tr  {
  width: 100%;
  display: block;
  cursor: pointer;
  background: #ebebeb;
}

.woocommerce #content-area div.product form.cart .variations tr.variation-label {
    padding: 2em 0;
    margin-top: 20px;
}
.woocommerce #content-area div.product form.cart .variations tr.variation-label:first-child {
  margin-top: 0;
}
.woocommerce div.product form.cart .variations tr:not(.variation-label) {
    display: none;
}
.woocommerce div.product form.cart .variations tr.open {
  display: block;
}

.addons-parent {
  color: #707070;
  background: #ebebeb;
  border-radius: 0;
  padding: 25px 16px;
  margin: 20px 0;
}
.addons-parent h3 {
  margin: 0;
  padding: 10px 0 10px;
  font-family: "Helvetica",Verdana,Arial,sans-serif;
  font-size: 20px;
  cursor: pointer;
  color: #707070;
  text-transform: uppercase;
  font-weight: normal;
}
.addons-parent.addon_open {
  border-bottom: none;
}

div.product-addon {
  background: #ebebeb;
  padding: 10px;
  margin: 0;
}
.wc-pao-addon {
  margin-top: 0;
}

.woocommerce-variation-add-to-cart {
  margin-top: 20px;
}

.woocommerce .toggle_close h3 {
  cursor: pointer;
}
.woocommerce .product_toggle {
  width: 100%;
  color: #707070;
  background: #ebebeb;
  border-radius: 0;
  padding: 10px;

}

.woocommerce .product_toggle h3 {
  text-align: left;
  margin: 22px 0;
  font-family: "Helvetica",Verdana,Arial,sans-serif;
  color: #707070;
  font-size: 20px;
  text-transform: uppercase;
  padding-bottom: 0;
  font-weight: normal;
}
.woocommerce .product_toggle > h3:before, .addons-parent h3:after {
  content: "\43";
  font-family: 'ETmodules';
  font-weight: 900;
  right: 20px;
  left: auto;
  position: relative;
  float: right;
  font-size: 32px;
}
.woocommerce .toggle_open > h3:before, .addons-parent.addon_open h3:after {
  content: "\42" !important;
}

.woocommerce .toggle_content label.radio-inline {
  width: 49%;
  font-size: 12px;
  margin-left: 0;
  padding-left: 0;
}
.woocommerce div.product form.cart .variations td {
  display: block;
  width: 100%;
}

.woocommerce div.product form.cart .variations td select {
  background-color: white;
  width: 100%;
  padding-right: 1em !important;
}

div.swatch-wrapper.selected {
  background: #ebebeb;
    border: 4px solid #ebebeb;
    padding: 0;
}


.swatch-wrapper  {
  background: #ebebeb;
  border: 4px solid #ebebeb;
  padding: 0;
  float: left;
  margin: 0 5px 5px 0;
}
.swatch-wrapper img.swatch-img, .swatch-wrapper a  {
  border-radius: 50%;
  border: 2px solid #ebebeb;
  outline: none;
}

.swatch-wrapper.selected a {
  border: 2px solid #857d69;
}
.swatch-wrapper.selected img.swatch-img {
  border: 0px solid #857d69;
}
.swatch-wrapper:hover {
border: 4px solid #ebebeb;
}


.wc-pao-addon-name {
  display: block;
}
.wc-pao-addon-container p.form-row {
  float: left;
}
.woocommerce form .wc-pao-addon-container .form-row-wide, .woocommerce-page form .wc-pao-addon-container .form-row-wide {
  clear: none;
}
.woocommerce .product_cat-square-one .toggle_content input[type=radio] {
  visibility: hidden;
}
.woocommerce .toggle_content .optionChecked img {
  border: 1px solid #707070;
}
.made-by-button {
color: #707070;
border: 2px solid #707070;
padding: 10px 20px;
font-size: 1.5em;
font-weight: bold;
cursor: pointer;
text-align: center;
display: block;
width: 100%;
}

/* End Product styling */

/* Search page styling */

.search #sidebar, #main-content .container:before {
  display: none;
}

.search #left-area {
  width: 100%;
  padding-right: 0;
}
.search article {
    float: left;
    margin: 0 3.8% 2.992em 0;
    padding: 0;
    position: relative;
    width: 22.05%;
    margin-left: 0;
    clear: none;
}
.search article p {
  display: none;
}
.search article h2.entry-title {

 font-size: 15px;
 font-weight: bold;
 padding-top: 10px;
 text-align: center;

    text-transform: uppercase;
}
.search article:nth-child(4n+1) {
  clear: both;
}

.search article:nth-child(4n) {
  margin-right: 0;
}




/* Gravity Form Styling */

body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), body .gform_wrapper textarea, body .gform_wrapper select, body .gform_wrapper.gf_browser_chrome select  {
  background: #eee;
  border: none;
  padding: 10px;
}
body .gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text], .gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container select {
  margin-bottom: 0;
}
body .gform_wrapper li.hidden_label input {
  margin-top: 0px;
}
.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit] {
  
  background-color:transparent;
  color: #b87a27;
  border-color: #b87a27;
  font-size: 20px;
    font-weight: 500;
    padding: 0.3em 1em;
    line-height: 1.7em !important;
    background: transparent;
    position: relative;
    border: 2px solid;
    border-radius: 3px;
}
.gform_wrapper .gform_footer input[type=submit]:hover {
  
  background: rgba(0,0,0,0.05);
  cursor: pointer;
  padding: 10px 15px 10px 15px;
  border: none;
  color: #000000!important;
  border: 2px solid transparent;
  padding: 0.3em 1em;
}
.gform_wrapper h3.gform_title {
font-size: 30px!important;
}
#gform_confirmation_message_2 {
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}
body #gform_wrapper_4.gform_wrapper ul li.gfield {
  margin-top: 24px;
}




  /* End Add to cart styles for variable products \ design center */
  
/* Add to cart inverse buttons */

.woocommerce a.button.alt.inverse.single_add_to_cart_button {
    background-color: white;
    color: black;
    border: 2px solid black;
    border-width: 2px !important;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
}

.woocommerce #main-content a.button.alt.inverse.single_add_to_cart_button:hover {
  background-color: black;
  color: white !important;
  border: 2px solid black;
  
}

/* Design center icon */

.itsdesigncenter {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: 15%;
}

mark.count {
  display: none;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {

  text-align: center;
  background-color: #e2e2e2;
  padding: 25px 30px;
  color: black;
}
@media (max-width: 1178px){
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link{
    padding: 0px 10px 0px 10px;
  }
}

@media (min-width: 981px){

    .mobile_search {
        display: none;
    }

    .ws_top_search {
    
        margin: -18px 0 0 22px;
        position: relative;
        display: block;
        width: 75%;
        cursor: pointer;
    }
  
  
    .search_open .ws_search_icon:before {
      content: "\4d";
      font-size: 28px;
    }
    .search_open .ws_top_search {
      margin: -30px 0 0 22px;
    }
  
    .et_header_style_left #main-header .search_open #et-top-navigation {
      display: none;
    }
  
    .search_open .ws_search_wrap {
      display: block;
      text-align: center;
      margin: 0;
    }
    .ws_input_wrap {
      width: 90%; margin: 0 auto;
    }
    
    .et_header_style_left #main-header .logo_container {
      width: 16%;
      text-align: center;
      justify-content: center;
      align-items: center;
      display: flex;
      position: relative;
      padding-left: 0;
    }
  
    .et_header_style_left .logo_container img {
      max-width: 130px;
    }
  
    #main-header .et_menu_container.container {
      padding: 10px 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .et_header_style_left #main-header #et-top-navigation, .et_header_style_split #et-top-navigation {
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 68%;
    }
  
    .et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
      padding-left: 0 !important;
    }
  
    ul.right-menu li {
      line-height: 1em;
      font-family: Arial, Helvetica, sans-serif;
    }
  
    ul.right-menu li a {
      font-size: 16px;
      font-style: normal;
      text-decoration: none;
      letter-spacing: 1px;
      color: #4d4d4d;
    }
    div.right-menu-wrapper {
      width: 16%;
      display: flex;
      justify-content: left;
      align-items: center;
    }
    div.right-menu-wrapper .cart-icon {
      display: inline-flex;
      margin-left: 10px;
      color: #707070;
    }
    ul.right-menu {
       display: inline-flex; text-align: center; margin-top: 20px; padding-bottom: 20px;
    }
  
    .right-menu ul.submenu {
      visibility: hidden;
      opacity: 0;
      display: block;
      position: absolute;
      top: 65px;
      width: 175px;
      background: white;
      right: 80px;
      text-align: right;
      padding: 10px;
      line-height: 2;
      border: 1px solid lightgray;
  
    }
    .right-menu ul.submenu li {
      line-height: 1.5;
    }
  
    ul.right-menu:hover ul.submenu {
      visibility: visible;
      opacity: 1;
    }
  
    .woocommerce div.product div.images, .woocommerce-page div.product div.images {
      width: 58%;
    }
  
    .woocommerce div.product div.summary, .woocommerce-page div.product div.summary {
    width: 38%;
    }


}

@media ( max-width: 981px ) {

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

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

  .woocommerce div.product div.images.woocommerce-product-gallery {
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    margin: 0 auto;
    background: white;
    z-index: 1;
  
}

.woocommerce div.product div.images, .woocommerce-page div.product div.images, .woocommerce div.product div.summary, .woocommerce-page div.product div.summary, .woocommerce div.product div.images.woocommerce-product-gallery {
  width: 100%;
    float: none;
}

  #main-header #et_mobile_nav_menu {
    display: none;
  }
    
div.mobile_search {
    display: block;
    border-top: 1px solid #373756;
    border-bottom: 1px solid #373756;
    padding: 5px 10px;
  }
  
  .mobile-search input.et-search-field {
    width: 100%;
    border: none;
    font-size: 18px;
    padding: 10px 0;
  }
  .mobile-search .search-submit {
    border: none;
    background: none;
    position: absolute;
    right: 35px;
    margin-top: 0;
    padding: 10px 0;
  }
  .icon-search:before {
    content: "\55";
    font-size: 22px;
    color: #373756;
    font-family: ETmodules!important;
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 0;
  }

    .ws_input_wrap .close {
        display: inline;
        position: absolute;
        right: 15px;
        font-size: 34px;
        margin-top: 7px;
      }
      .ws_search_wrap {
        width: 100%;
      }
    
      .et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation {
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .ws_search_icon:before {
        position: relative;
      }
     
     
      #ws_search_icon:before {
        position: inherit;
      }
    
      .right-menu-wrapper {
        display: none !important;
      }
    
      .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: 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;
}
}

@media (max-width: 500px){

  .search article:nth-child(n) {
    margin: 0 0 11.5%!important;
    width: 100%!important;
  }
  
  }