/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

.image-overlay {
  display: none;
}

.img-magazzino {
  max-width: 100px;
  width: 100px;
  ;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: right;
}


/*Add your own styles here:*/

#cart-icon {
  color: #969696;
  /* line-height: 100px;
  height: 116;
  */
}

.header-scrolled #cart-icon {
  line-height: 78px !important;
  /*height: 58;*/

}

#cart-icon:before {
  /*font-family: 'entypo-fontello';
    content: url('https://icongr.am/entypo/shopping-cart.svg?size=21&color=969696');
    */
  /* font-family: 'Font Awesome 6 Free';
    content: "\f07a";
    font-display: swap;
    color: #969696;
    top: 9px;
  position: relative;
  */
}

.content_title_material {
  border: 1px solid #000;
}

.content_title_material h3 {
  color: #969696;
  font-size: 20px;
  padding: 7px 0 0 7px;
}

button.add-to-cart {
  cursor: pointer;
  background-color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  border: 2px solid #000;
  padding: 2px 10px;
  font-family: 'static', Helvetica, Arial, sans-serif;
  color: #000;
}



input.quantity-input,
input.carrello-quantita {

  margin-bottom: 0 !important;
}

h2 {
  font-weight: 500;
  font-size: 40px;
  margin-bottom: 15px;
  font-family: 'Atkinson Hyperlegible', sans-serif;
  color: #fff;
  text-align: center;
}

/* Need not body and h2 css  */

.material-essenza {
  width: 100%;
}

#filters_mat {
  text-align: center;
  margin-bottom: 30px;
}

.no-button-filter_mat {
  background-color: #fff;
  border: 0;
  color: #969696;
  font-size: 25px;
  font-family: 'static', Helvetica, Arial, sans-serif;
  position: relative;
  padding: 0 20px;

}



.no-button-filter_mat:not(:last-child)::after {
  content: "/";
  color: #969696;
  position: absolute;
  right: -4px;
  top: 1px;
}

.content_content_material {
  border: 1px solid #ccc;
}

.content_content_material p {
  padding: 10px;
}

.content_content_material p i {
  margin-left: 5px;
}

.content_content_material h4 {
  color: #969696;
  padding: 10px;
  font-size: 20px;

}

.justify-content-between {
  justify-content: space-between;
  display: flex;
}

.arrow-up-mat {
  width: 0;
  height: 0;
  border-left: 7px solid transparent !important;
  border-right: 7px solid transparent !important;

  border-bottom: 5px solid #fff !important;
  position: absolute;
  bottom: 0px;
  z-index: 2;
  left: 0;
  right: 0;
  margin: auto;
}

.content_first_mat {
  border-top: 1px solid #969696;
  padding-top: 30px;
  padding-bottom: 30px;
}

.content_first_mat p {
  margin-bottom: 0;
  padding-bottom: 0;
}

.content_table {
  color: #969696;
}

.content_table table {
  border: 7px solid #ebebeb;
  background-color: #fff;
}

.content_table table thead {
  border-bottom: 5px solid #ebebeb;
  border-top: 5px solid #ebebeb;
}

th.codice_blocco {
  text-transform: uppercase !important;
  font-size: 16px;
  font-weight: 900;
  color: #000;
}

.th-img {
  width: 110px;
  vertical-align: middle;
}

.content_table th {
  text-transform: initial !important;
  color: #969696;
}

.content_table tbody tr td {
  background-color: #fcfcfc;
  color: #969696;
}

.filter_list h5 {
  background-color: #32557f;
  border: 1px solid #32557f;
  color: #fff;
  padding: 5px 10px;
  text-transform: uppercase;
}

.filter_list h5 span {
  text-decoration: underline;
  font-size: 23px;
}

#filters select {
  text-transform: uppercase;
  font-family: 'static', Helvetica, Arial, sans-serif;
}

.spec_mat_mag {
  color: #000;
  font-family: 'static', Helvetica, Arial, sans-serif;
  font-size: 14px;
  justify-content: space-between;
  display: flex;
  margin-bottom: 5px;
}



/* accordion-1 */
.accordion {
  position: relative;
  margin-bottom: 5px;
}



.accordion .head_acc {

  padding: 10px 0px 10px;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background-color: #fff;

}



.accordion h3 {
  padding-left: 30px;
  position: relative;
  margin-bottom: 0;
}

.accordion h3:before {
  position: absolute;
  content: "";
  width: 10px;
  background-color: #969696;
  height: 2px;
  top: 17px;
  left: 11px;
}

.accordion h3:after {
  position: absolute;
  content: "";
  height: 10px;
  background-color: #969696;
  width: 2px;
  top: 13px;
  left: 15px;

}

.accordion.active h3:after {
  display: none;
}


.accordion .content_acc {
  background-color: #fff;
  /* display: none;*/
  padding-bottom: 5px;

}

/*Fine accordion*/

.buttons_single_material {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}

.buttons_single_material a {
  border: 2px solid #b09779;
  font-size: 15px;
  padding: 2px 5px;
  display: inline-block;
  margin-bottom: 10px;

}

a.border_brown {

  color: #969696;

}

a.bkg_grey {

  background-color: #606060;
  color: #fff;
  display: block;
  width: 100%;
  text-align: center;
  padding-bottom: 5px;



}

a.bkg_brown:hover {
  color: #000;
}

button.rimuovi-articolo,
button.invia-preventivo {
  background-color: #b09779;
  color: #fff;
  border: 2px solid #b09779;
  padding: 2px 5px;

}

/*MODAL CARRELLO*/
.cart-modal {
  display: none;
  /* Nasconde la modal di default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.cart-modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 0px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cart-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.cart-modal-close:hover,
.cart-modal-close:focus {
  color: #000;
  text-decoration: none;
}

.cart-modal-button {
  background-color: #b09779;
  color: #fff;
  border: 2px solid #b09779;
  padding: 2px 5px;
  cursor: pointer;
  margin-top: 10px;
}

.cart-modal-button:hover {
  color: #000
}

/*FINE MODAL CARRELLO*/
.content_first_mat p span {
  color: #000;
}

#desc_single_mat {
  margin-bottom: 10px;
}

.mfp-ready .mfp-figure {
  opacity: 1 !important;
  transition: none !important;
}

img.mfp-img {
  background-color: #fff;
  padding: 40px !important;
  width: 90%;
}

.mfp-title {
  color: #000 !important;
  text-align: center;
  font-family: 'static', Helvetica, Arial, sans-serif;
  font-size: 22px !important;

}

.mfp-figure::after {

  top: 0px;
  bottom: 0px;


  padding: 40px;
  width: 90%;
  margin: auto;
}

#big.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
}

#big.owl-carousel .owl-nav .owl-next,
#thumbs.owl-carousel .owl-nav .owl-next {
  position: absolute;
  right: 0;
}

#big.owl-carousel .owl-nav button i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #ebebeb;
  align-content: center;
  display: grid;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 10px;

}

#thumbs.owl-carousel .owl-nav {
  position: absolute;
  top: 20%;
  width: 100%;
}

#thumbs.owl-carousel .owl-nav button i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ebebeb;
  align-content: center;
  display: grid;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 10px;

}


#top .avia-post-nav {
  display: none;
}

@media (max-width:767px) {
  .buttons_single_material {
    display: block;
  }

  .buttons_single_material a {

    display: block;

    text-align: center;
  }

  .responsive #top .logo {

    width: 64%;
  }

  .responsive #top #header_main>.container .main_menu .av-main-nav>li>a {
    min-width: 0;
    padding: 0 0 0 14px;
  }

  #cart-icon {
    margin-top: 3px !important;
  }

  #cart-icon i {

    font-size: 17px;

  }
}


.carrello-table { width: 100%; border-collapse: collapse; } 
.carrello-table th, .carrello-table td { padding: 8px; text-align: left; border-bottom: 1px solid #ddd; } 
@media screen and (max-width: 768px) { 
  .carrello-table thead { display: none; } 
  .carrello-table, .carrello-table tbody, .carrello-table tr, .carrello-table td { display: block; width: 100%; } 
  .carrello-table tr { margin-bottom: 1rem; border: 1px solid #ccc; padding: 10px; border-radius: 8px; } 
  .carrello-table td { text-align: right; position: relative; padding-left: 50%; } 
  .carrello-table td::before { content: attr(data-label); position: absolute; left: 10px; top: 8px; font-weight: bold; text-align: left; } 
}


.search-box{
  position: relative;
}
.search-box i{
position: absolute;
right: 8px;
  top: 13px;
}
.search-box input::placeholder{
  color: #000;
}