/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/extra/
Description: Divi Child Theme
Author: KeyWeb
Author URI:     https://www.elegantthemes.com
Template:       Divi
Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

#main-content .container:before {background: none;}

/*** Hide Sidebar ***/
#sidebar {display:none;}
 
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100%;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}

div.accessHeader { display: inline-block; }
div.socialHeader { display: inline-block; margin-left: 20px; }
div.socialBox { display: inline-block;  }
div.socialFooter { display: inline-block;  }

a.iconRoundedSocial.headerIcon {
	background-color: #ffffff;
	color: #000000;	
	border-radius: 50%;
    margin-left: 4px;
    padding: 4px 4px;
    width: 30px;
    text-align: center;
    font-size: 18px;
    display: inline-block;
}

a.iconRoundedSocial.boxIcon {
	background-color: #ffffff;
	color: #000000;	
	border: 1px solid #000000;
	border-radius: 50%;
    margin-left: 4px;
    padding: 4px 4px;
    width: 34px;
    text-align: center;
    font-size: 18px;
    display: inline-block;
}

a.iconRoundedSocial.footerIcon {
	background-color: #000000;
	color: #ffffff;	
	border-radius: 50%;
    margin-left: 4px;
    padding: 4px 4px;
    width: 30px;
    text-align: center;
    font-size: 18px;
    display: inline-block;
}


/* ICONA LENTE SEARCH HEADER */

.customSearch #s {
  color: #ffffff;
  border: 1px solid #ffffff;
  background-color: #000000;
  padding: 4px;
}


  .customSearch button.submitSearch {
    height: 26px;
    border: 0;
    background-color: #000000;
    color: #ffffff;
  }

  .customSearch button.submitSearch i {
    font-size: 16px;
  }

  .et_pb_row_3 {
    box-shadow: none !important;
}

.headerProd {
  width: 100%; height: 300px; background: #ffffff; overflow-y: hidden;
}

  .headerProd.collezioni_vezzosi {
    width: 100%; height: 90vh; background: #000000; overflow-y: hidden;
  }

    .headerProd .titoloHeader {
      position: absolute;
      top: 45%;
      font-size: 4.8em;
      color: #ffffff;
      left: 50%;
      z-index: 1000;
      margin: 0 auto;
      font-family: 'Playfair Display',Georgia,"Times New Roman",serif;
    }
      .headerProd .titoloHeader > div {
        position: relative; left: -50%;
      }

      .headerProd .titoloHeader a.ancora {
        position: absolute;
        font-size: 16px;
        color: #ffffff !important;
        left: -50%;
        margin-top: 50px;
        width: 100%;
        text-align: center;
      }

      .headerProd .titoloHeader .iconAncora {
        content: attr(data-icon);
        font-family: "ETmodules"!important;
        line-height: inherit;
        font-size: inherit!important;
        opacity: 1;
        margin-left: -1.3em;
        right: auto;
        display: inline-block;
      }

    .headerProd img {
      width: 100%;
    }

      .headerProd.collezioni_vezzosi img {
        opacity: 0.5;
      }

.sidebarGrid {
  float: left;
  width: 20%;
}

.flexFrid {
  display: flex; /* or inline-flex */
  flex-flow: row wrap;
}


.flexFrid .itemFlex {
  display: flex;
  flex-flow: row wrap;
  width:23%;
  height: 330px;
  padding: 20px;
  /* background-color: #ffffff; */
  border-radius: 0;
  /* box-shadow: 0px 5px 83px 0px rgba(9,29,62,0.08); */
  margin: 5px;
  color: #000000;
  overflow: hidden;
  position: relative;
}

  .flexFrid .itemFlex.noPadding {
    padding: 0;
    height: auto;
  }

  .flexFrid .itemFlex > a {
    order: -1;            /* Shift image before other content (in visual order) */
    /* align-self: center; */
    margin: 0 auto;
    width: 100%;
  }

  .flexFrid .itemFlex > a img {
    width:100%;
  }

  .flexFrid .itemFlex h2 {
    clear:both;
    display:block;
    width: 100%;
    margin-top: 0;
    margin-bottom: 2px;
  }

  .flexFrid .itemFlex .et_pb_button_module_wrapper {
    bottom: 15px;
    position: absolute;
  }

.flexFrid .itemFlex h2::before {
    transition: all 0.5s ease;
    margin-bottom: 6px;
    width:0%;
    height: 1px;
    background-color: #000000;
    content: " ";
    display: block;
    position: absolute;
    left: 0;
}

  .flexFrid .itemFlex h2:hover::before, .flexFrid .itemFlex:hover h2::before {
    width:100%;
  }

  .flexFrid .itemFlex .titleGridProd {
    margin-top: 0; /* margin-top: auto; */
    transition: all 0.5s ease;
    z-index: 3;
    position: relative;
    top: -30px;
    padding: 12px;
    left: 0;
    width: 100%;
    min-height: 150px;
    /* background-color: #ffffff; */
  }

  .flexFrid .itemFlex .titleGridProd .intGridProd {
    margin-top: 0; /* margin-top: auto; */
    border-left: 1px solid #000000;
    padding: 22px 4px 4px 12px;
    width: 100%;
  }

  .flexFrid .itemFlex .titleGridProd:hover {
    /* background-color: rgba(35, 177, 94, 0.6); */
  }

  .flexFrid .itemFlex .titleGridProd h2 {
    font-weight: 300;
    color: #000000;
  }

    .flexFrid .itemFlex .titleGridTax {
      margin-top: 0; /* margin-top: auto; */
      transition: all 0.5s ease;
      z-index: 2;
      position: relative;
      bottom: 0;
      padding: 16px;
      left: 0;
      width: 100%;
      background-color: #ffffff;
    }

    .flexFrid .itemFlex .titleGridTax:hover {
      /* background-color: rgba(35, 177, 94, 0.6); */
    }

    .flexFrid .itemFlex .titleGridTax h2 {
      font-weight: 300;
      color: #000000;
    }

  .flexFrid .itemFlex .itemFlex > a > img {
    cursor: pointer;
  }

  .flexFrid .itemFlex .itemFlex:hover > a > img {
    transform: scale(1.5);
  }

  .flexFrid .itemFlex .titleGridProd:hover h2 {
    color: #333333;
  }

    .flexFrid .itemFlex .titleGridTax:hover h2 {
      color: #333333;
    }
  
  .flexFrid .itemFlex .boolNew {
    position: absolute;
    z-index: 3;
    background: #9e9e9e;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    padding: 4px;
  }

  .iconGridProd small {
    color: #666666;
    font-size: 14px;
    font-weight: 300;
  }

    .iconGridProd small a {
      color: #666666;
      font-size: 14px;
      font-weight: 300;
    }

  .iconGridProd a.linkType {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    width:100%;
    display: block;
  }

  .iconGridProd a.linkType div {
    vertical-align: super;
    display: inline-block;
  }

  .iconGridProd a.linkType img {
    margin-right: 10px;
  }



  .iconGridProd h3.titleLinkAttach {
    background-color: #18a64b;
    padding: 6px;
    color: #ffffff;
    margin-bottom: 6px;
    width:100%;
    display: block;
  } 

  .iconGridProd a.linkAttach {
    padding: 6px;
    color: #333333;
    font-size: 14px;
    margin-bottom: 3px;
    width:100%;
    display: block;
    border-bottom: 1px solid #cccccc;
    cursor: pointer;
  } 

  .iconGridTax {
    width:290px;
    height: 168px;
    display:block;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .iconGridTax img {
    filter: none;
    -webkit-filter: grayscale(0%); /* Chrome 19+ & Safari 6+ */
    height: 100%;
  }

    .iconGridTax:hover img {
      
      filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
      filter: gray; /* IE6-9 */
      -webkit-filter: grayscale(100%);
    }
  
  .iconGridTax a.linkType {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    width:100%;
    display: block;
  }

    .iconGridTax a.linkType div {
      vertical-align: super;
      display: inline-block;
    }

    .iconGridTax a.linkType img {
      margin-right: 10px;
    }



    .iconGridTax h3.titleLinkAttach {
      background-color: #18a64b;
      padding: 6px;
      color: #ffffff;
      margin-bottom: 6px;
      width:100%;
      display: block;
    } 

    .iconGridTax a.linkAttach {
      padding: 6px;
      color: #333333;
      font-size: 14px;
      margin-bottom: 3px;
      width:100%;
      display: block;
      border-bottom: 1px solid #cccccc;
      cursor: pointer;
    } 


  p#breadcrumbs {
    width: 80%;
    max-width: 1080px;
    margin: auto;
    position: relative;
    padding: 10px 0px !important;
    border-bottom: 1px solid #cccccc;
  }


  .contentBread {
    font-size: 28px;
    font-family: 'Raleway', serif;
    color: #666666;
    font-weight: 300;
  }

  .contentBread .linkBread {
    display: inline-block;
    text-transform: uppercase;
    color: #000000;
    margin-right: 10px;
    font-weight: 300;
    font-family: 'Raleway', serif;
  }

    .contentBread a.linkBread {
      text-transform: uppercase;
      text-decoration: underline;
    }

      .contentBread a.linkBread:hover {
        color: #666666;
        text-decoration: none;
      }

      ul.piediList {
        list-style-type: none;
        text-align: center;
      }

      ul.piediList li {
        display: inline-block;
        text-align: center;
        margin: 10px;
      }

  /* TAB SCHEDA DETTAGLIO */
  ul.et_pb_tabs_controls {

  }

    ul.et_pb_tabs_controls li {
      background-color: #666666;
      padding: 10px 20px;
      font-size: 16px;
    }
      ul.et_pb_tabs_controls li a {
        color: #fff;
        font-size: 16px;
      }

    ul.et_pb_tabs_controls li.et_pb_tab_active {
      background-color: #000000 !important;
    } 
    
    ul.et_pb_tabs_controls li.et_pb_tab_active a {
      color: #fff !important;
    } 

    .divColorSky {
      display: inline-block;
      width: 70px;
      height: 100px;
      margin-right: 10px;
      margin-bottom: 10px;
    }

      .divColorSky a {
        display: inline-block;
      }

      .divColorSky .thumbColorSky {
        border-radius: 50%;
        overflow: hidden;
        width: 70px;
        height: 70px;
      }

      .divColorSky .labelColorSky {
        border-radius: 50%;
        overflow: hidden;
        width: 70px;
        height: 70px;
      }

    .titleBar h4 {
      text-align:center;
      font-size: 2.6em;
      margin-bottom: 1em;
    }

.barber h3.titleSidbarFilter {
  color: #000000;
}

.barber form label {
  color: #000000;
}

.accessContent {
  color: #ffffff;
}

  .accessContent a {
    color: #ffffff;
    text-decoration: underline;
  }

  .accessContent img.iconHeader {
    max-width: 20px;
    vertical-align: middle;     
  }


  .wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 10px;
    background-color: #000000;
}

.wpml-ls-statics-footer a {
  color: #444444;
  background-color: #ffffff00;
  border-bottom: 1px solid #000000;
}

.wpml-ls-statics-footer .wpml-ls-current-language>a {
  color: #444444;
  background-color: #ffffff00;
  border-bottom: 1px solid #ffffff;
}

  @media only screen and (min-width: 1168px) {
    .flexFrid .itemFlex {
      width:48%;
      height: 260px;
      padding: 10px;
    }
  }
  
  @media (min-width: 981px) {
  
    .flexFrid .itemFlex {
      width:23%;
      height: 290px;
      padding: 20px;
    }
  }
  
  
  @media only screen and (max-width: 768px) {

    div.socialHeader {
      display: none;
    }

    .headerProd {
      width: 100%; height: 170px;
    }

      .headerProd.collezioni_vezzosi {
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
      }


      .headerProd .titoloHeader {
        position: absolute;
        top: 30%;
        font-size: 2.5em;
        color: #ffffff;
        left: 50%;
        z-index: 1000;
        width: 100%;
        text-align:center;
        margin: 0 auto;
        font-family: 'Playfair Display',Georgia,"Times New Roman",serif;
      }

      .headerProd .titoloHeader a.ancora {
        font-size: 12px;
        margin-top: 15px;
    }

    .customSearch #s {
      width: 120px;
    }
    

    .two-cols .et_pb_column {
      width: 50% !important;
    }

    .flexFrid .itemFlex {
      width:100%;
      height: 260px;
      padding: 20px;
    }

    .sidebarGrid {
      float: left;
      width: 100%;
    }

    .contentGrid {
      float: left;
      width: 100%;
    }

    .contentBread {
      font-size: 18px;
      font-weight: 300;
      line-height: 24px;
    }
  
  }