/*
Theme Name: Casa Valentina Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
	--grey: #999999;
	--wpforms-button-border-radius: 0px!important;
	--wpforms-field-border-radius: 0px!important;
}

.button:hover,
.button:active {
  -webkit-box-shadow: inset 0 0 0 100px rgb(232 229 229);
  box-shadow: inset 0 0 0 100px rgb(232 229 229);
}

.button.primary:not(.is-outline):hover,
.button.primary:not(.is-outline):active {
  color: #e30613;
}



.z-index-0 { z-index: 0; }
.margin-bottom-0 { margin-bottom: 0; }
.margin-top-0 { margin-top: 0; }
.bold { font-weight: 600; }
.bold-900 { font-weight: 900; }
.col-padding-bottom-0 { padding-bottom: 0; }
.col-padding-bottom-0-important { padding-bottom: 0 !important; }
.justify { text-align: justify; }

.row-box-shadow-5 .col-inner,
.row-box-shadow-5-hover .col-inner:hover,
.box-shadow-5,
.box-shadow-5-hover:hover { box-shadow: 0px 1px 10px 0px RGBA(0,0,0,0.11); /*box-shadow: 0px 10px 30px 0px rgb(0 0 0 / 0.20);*/ }

.is-divider {
  max-width: 50px;
  height: 2px;
}

.title-overlay { background-color: transparent; }
.breadcrumbs { font-weight: normal; }

.grecaptcha-badge { visibility: hidden; }

.shade {
  opacity: .4;
  -webkit-backface-visibility: hidden;
  backface-visibility: inherit;
}
.box:hover .shade { opacity: .6; }





/** List **/
  ul li.bullet-checkmark,
  ul li.bullet-arrow,
  ul li.bullet-star {
    border-bottom: none;
  }

  .product_meta ul li.bullet-checkmark:before,
  .product_meta ul li.bullet-arrow:before,
  .product_meta ul li.bullet-star:before {
    top: 6px;
    color: var(--grey);
  }
/** END List **/





/** Instagram title **/
.titolo-instagram a:hover { color: #E1306C; }
.titolo-instagram .icon-instagram { transform: translateY(3px); }
/** END Instagram title **/

/** Slide **/
.slide-news-label {
  background: rgb(227 6 19 / 80%);
  padding: 2px 10px;
}

.slide-btn-1 { color: #612718 !important; }
.slide-btn-2 { color: #33667d !important; }
.slide-btn-3 { color: #13363e !important; }
.slide-btn-4 { color: #4c4848 !important; }
/** END Slide **/

/** Header **/
/** Top bar **/

/** Top bar action link **/
#container-topbar-action a { color: #ffffff; }
#container-topbar-action a:hover,
#container-topbar-action a:active,
#container-topbar-action a:focus { text-decoration: underline; }
#container-topbar-action div { display: inline-block; }
#container-topbar-action div:not(:last-child) { margin-right: 16px; }
#container-topbar-action svg { 
  width: 16px;  
  margin-right: 4px;  /** era 8 **/
  vertical-align: middle;
  margin-top: -1px;
}
/** END Top bar action link **/

/** Top bar social **/
#top-bar .social-icons a {
	font-size: 16px;
	margin: 0 12px;
}

#top-bar .social-icons a:first-child,
#top-bar .social-icons a:last-child { margin: 0; }
/** END Top bar social **/
/** END Top bar **/

.logo a {
	font-size: 18px;
	font-weight: 500;
}

.header-language-dropdown .nav-dropdown {
  min-width: 150px;
  text-align: center;
}

#masthead .header-nav-main { justify-content: center; }

/** menu .header-nav-main **/
.header-nav-main .custom-mega-menu .nav-dropdown-default li.image-column > a { margin: 0 0 0 0 !important; }
.header-nav-main .custom-mega-menu .nav-dropdown-default li.image-column > a.dropdown-image-column:after { 
  content: attr(title);
  background-color: #e30613;
  color: #fff;
  display: block;
  width: 100%;
  height: 40px;
  font-size: 12px;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
}
.header-nav-main .custom-mega-menu .nav-dropdown>li.image-column { 
  width: 200px; 
  padding: 10px 5px !important;
}
.custom-mega-menu .nav-dropdown-default { padding: 0 5px; }
.header-nav-main .custom-mega-menu .nav-dropdown>li.image-column:first-child { padding: 10px 5px 5px 5px !important; }
.header-nav-main .custom-mega-menu .nav-dropdown>li.image-column:last-child { padding: 10px 5px 5px 5px !important; }

.custom-dropdown .box-text-bottom .text span { text-shadow: none; }

.custom-dropdown .box-text { padding: 0; }
.custom-dropdown .box-text .button {
	margin: 0;
	padding: 1em;
	width: 100%;
	text-align: left;
}

.cursor-pointer a {
  cursor: pointer;
}
/** END menu **/

.filter-wrap .category-filtering { display: none; }
/** END Header **/

/** contact form **/
  #form-contatto label,
  #form-richiesta-informazioni-prodotto label,
  #form-contatto .wpcf7-not-valid-tip { text-align: left; }

  #form-contatto label input:not(.wpcf7-not-valid),
  .wpcf7-form .wpcf7-response-output { margin: 0.5em 0 1em !important; }

  .wpcf7-form .flex-row .flex-col { margin-bottom: 10px; }
  .wpcf7-form .flex-row .flex-col textarea { margin-bottom: 0; }
  .wpcf7-form .flex-row .flex-col .wpcf7-not-valid-tip { position: inherit; }

  .wpcf7-form .container-checkbox-privacy,
  .wpcf7-form .wpcf7-submit { margin-top: 15px; }
  .wpcf7-form .container-checkbox-privacy input[type="checkbox"] { margin-bottom: 0; }

  /** Checkbox **/
  .wpcf7 span.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
  }

  .wpcf7 span.wpcf7-checkbox span.wpcf7-list-item {
    flex: 1 0 46%;
  }

  .wpcf7 span.wpcf7-checkbox span.wpcf7-list-item label {
    font-weight: normal !important;
  }
  /** END Checkbox **/
/** END contact form **/

/** Banner cookie **/
#moove_gdpr_cookie_modal { min-height: auto !important; }
/** END Banner cookie **/


/** Home **/
  /** Slide Home Bullet **/
  .flickity-page-dots {
    left: 10%;
    right: 10%;
  }

  .flickity-page-dots .dot {
    height: 8px;
    width: 8px;
    margin: 0 4px;
    border: 1.5px solid #111;
  }
  /** END Slide Home Bullet **/

.banner-prodotti-home .box-text .titolo-banner { margin-top: 0; }
.banner-prodotti-home .box-text a.button { 
  margin-top: .5em;
  margin-bottom: 0;
  min-width: 110px;
}
.banner-prodotti-home .box-text a.button:hover { color: #e30613 !important; }

#title-vesta-home {
  font-weight: 800;
  line-height: normal;
  letter-spacing: 1px;
  font-size: 2em;
}
.row-cataloghi .box-text a.download-box-cataloghi {
  width: 100%;
  padding: 10px 20px;
  margin-top: 0;
  margin-bottom: 0;
}
.row-cataloghi .box-text p { margin-top: 0; }
.row-cataloghi .box-text .download-icon { width: 14px; }

.btn-fiere-eventi:hover {
  border-color: #ffffff;
  background-color: #ffffff !important;
  box-shadow: none;
  color: #e30613 !important;
}
/** END Home **/

/** Citazione **/
.col-cit .simbolo-cit { 
  font-weight: bold;
  font-size: 50px;
  margin-bottom: 0;
  line-height: normal;
}
.col-cit .testo-cit {
  letter-spacing: 1px;
  font-style: italic;
}
.col-cit .autore-cit {
  opacity: 0.7;
  font-size: 80%;
}
/** END Citazione **/

/** Contatti **/
.icon-box-contatti .icon-box-img { margin-bottom: .5em; }

.wpcf7-submit { color: #ffffff; }
/** END Contatti **/

/** Footer **/

.footer-2 {
	border-top: 1px solid rgba(0,0,0,0.05);
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

/** newsletter **/
.label-input-newsletter { display: none; }
.wrapper-dati-newsletter { display: flex; }
.wrapper-dati-newsletter .wrapper-input-mail { flex-grow: 1; }

.form-newsletter { margin-bottom: 0; }
.form-newsletter #email { 
  border: 1px solid #ffffff;
  box-shadow: none;
}
.form-newsletter .wrapper-submit-btn button {
  color: #ffffff;
  margin-right: 0;
}
.form-newsletter .wrapper-newsletter-privacy-policy { font-size: 0.9em; }
.form-newsletter .wrapper-newsletter-privacy-policy label { margin-bottom: 0; }
.form-newsletter .wrapper-newsletter-privacy-policy input { margin-bottom: 0; }
/** END newsletter **/

.absolute-footer {
	color: rgb(0 0 0 / 85%);
	margin-bottom: 70px;
}

ul.links.footer-nav li { margin: .8em .5em; }

.copyright-footer svg { width: 60px; }
/** END Footer **/

/** Rivenditori **/
.row-accordion-rivenditori .accordion-inner { padding: 1em; }

table.dataTable.nowrap th,
table.dataTable.nowrap td { white-space: normal; }
/** END Rivenditori **/

/** Fiere ed Eventi **/
.data-evento {
  color: #777;
  font-size: 0.9em;
  margin-bottom: 0;
}
/** END Fiere ed Eventi **/

/** FIX bold **/
.button,
button,
input[type='submit'],
input[type='reset'],
input[type='button'],
label,
legend,
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a,
#moove_gdpr_cookie_modal .cookie-switch .cookie-slider:after,
#moove_gdpr_cookie_modal .cookie-switch .slider:after,
#moove_gdpr_cookie_modal .switch .cookie-slider:after,
#moove_gdpr_cookie_modal .switch .slider:after { font-weight: 500 !important; }
/** END FIX bold **/

/** Pagina elenco prodotti **/
.box-singolo-prodotto-categoria .nome-prodotto-categoria { color: #E30613; }

.box-singolo-prodotto-categoria .is-divider { 
  background-color: #1d353c;
  margin-top: 0.5em;
  margin-bottom: 0.1em;
}

.box-singolo-prodotto-categoria .col-product-btn .col-inner {
  display: flex;
  justify-content: space-between;
}
.box-singolo-prodotto-categoria .col-product-btn .btn-scheda-tecnica,
.box-singolo-prodotto-categoria .col-product-btn .btn-galleria { 
  display: inline-flex;
  margin-top: 0;
  color: #1d353c;
  align-items: center;
  justify-content: center;
}

.box-singolo-prodotto-categoria .col-product-btn .btn-scheda-tecnica span,
.box-singolo-prodotto-categoria .col-product-btn .btn-galleria span {
	line-height: normal;
	font-size: 105%;
}

.box-singolo-prodotto-categoria .col-product-btn .btn-scheda-tecnica { margin-right: 0.5em; }
.box-singolo-prodotto-categoria .col-product-btn .btn-galleria { margin-right: 0; }

.box-singolo-prodotto-categoria .col-product-btn .btn-scheda-tecnica:before {
  content: url(/wp-content/uploads/icona-download.svg);
  height: 12px;
  width: 12px;
  line-height: normal;
  margin-right: 4px;
}
.box-singolo-prodotto-categoria .col-product-btn .btn-galleria:after {
  content: url(/wp-content/uploads/icona-galleria.svg);
  height: 14px;
  width: 14px;
  line-height: normal;
  margin-left: 4px;
}

.section-title-normal span { border-bottom: 2px solid #112226; }

#tab-description h2 {
  margin-top: 2em;
  margin-bottom: 0.4em;
}

.badge-container .badge {
  font-size: 0.85em;
}

.badge-container .badge .badge-inner {
  color: #2d2d2d;
  background-color: rgb(255 255 255 / 80%);
}
/** END Pagina elenco prodotti **/

/** Account **/
.account-user .image,
.account-user .user-id { display: none; }
/** END Account **/

/** Social **/
.follow-icons-fiere-eventi a { 
  color: #e30613;
  margin-left: 5px !important;
  margin-right: 5px !important;
}
.follow-icons-fiere-eventi a i { line-height: normal; }
/** END Social **/





/** Single Product page **/
  .single-product .page-title .title-breadcrumbs { padding-bottom: 0; }

  .icone-tessuti img {
    width: 55px;
    margin: 10px;
  }
  .icone-tessuti img:first-child { margin-left: 0; }
  .icone-tessuti img:last-child { margin-right: 0; }

  .product_meta > span { border: 0; }

  /** Single Product Image Zoom **/
  .product-images .zoom-button {
    background-color: #ffffff;
    color: #e30613;
    transform: scale(0.9);
  }
  .product-images .zoom-button:hover { color: #ffffff; }

  .product-images .zoom-button .icon-expand { top: 0; }
  /** END Single Product Image Zoom **/

  /** Tooltip **/
  /* Tooltip container */
  .custom-tooltip {
    position: relative;
    display: inline-block;
  }

  /* Tooltip text */
  .custom-tooltip .custom-tooltip-text {
    visibility: hidden;
    width: 150px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 2px;
    line-height: normal;
    font-size: 80%;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
  }

  /* Tooltip arrow */
  .custom-tooltip .custom-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }

  /* Show the tooltip text when you mouse over the tooltip container */
  .custom-tooltip:hover .custom-tooltip-text {
    visibility: visible;
    opacity: 1;
  }
  /** END Tooltip **/

  .products .product .box .product-title a { line-height: 1; }

  /** Single Product Tab **/
  .product-footer .woocommerce-tabs { border-top: none; }
  #tab-consigli-manutenzione p:last-child { margin-bottom: 0; }
  /** END Single Product Tab **/

  /** Related products **/
  .related-products-wrapper { margin-top: 30px; }
  .related-products-wrapper .product-section-title { padding-top: 30px; }
  /** END Related products **/

  /** Single Product Attributes **/
  .woocommerce-product-attributes-item__label {
    width: 40%;
    padding-right: 10px;
    font-weight: 500;
  }
  .woocommerce-product-attributes-item__value {
    width: 60%;
    padding-left: 10px;
  }

  .single-product .woocommerce-product-attributes-item--attribute_pa_materiale,
  .single-product .woocommerce-product-attributes-item--attribute_pa_adatto-per { display: none; }

  /*
  .woocommerce-product-attributes-item--attribute_pa_tonalita th,
  .woocommerce-product-attributes-item--attribute_pa_tonalita td{ border-bottom: none; }
  */

  .woo-product-attributes-item-ul {
    margin-bottom: 0;
    list-style: none;
  }
  .woo-product-attributes-item-ul li { margin-left: 0; }
  /** END Single Product Attributes **/

  .sku { font-weight: 500; }
  .product-summary {  padding-bottom: 0; }

  /** Curtain **/
    .single-product .btn-scheda-tecnica { 
      display: inline-flex;
      margin-top: 0;
      margin-bottom: 0;
      color: #1d353c !important;
      align-items: center;
      justify-content: center;
    }
    
    .single-product .btn-scheda-tecnica span {
      line-height: normal;
      font-size: 1.1em;
    }
        
    .single-product .btn-scheda-tecnica:before {
      content: url(/wp-content/uploads/icona-download.svg);
      height: 15px;
      width: 15px;
      line-height: normal;
      margin-right: 5px;
    }
  /** END Curtain **/

  .intro-form {
    margin-bottom: 1.5em;
  }

/** END Single Product page **/





/** FIX off canvas scroll BUG **/
.off-canvas-right .mfp-content, .off-canvas-left .mfp-content {
	overflow-y: auto !important;
	overflow-x: hidden !important;
}
/** END FIX off canvas scroll BUG **/


/** Archive page **/
.woocommerce-loop-product__title {
  font-size: 1.1em;
}
.archive .product-sku { font-size: 65%; }
.archive .products .title-wrapper { line-height: normal; }

.category-filtering .widget_layered_nav_filters .widgettitle { display: none; }

.gtot-wrapper {
  font-size: 0.9em;
}

.gtot-wrapper .gtot-label {
  color: #ff6a72;
}
/** END Archive page **/



/** Image gallery **/
img.mfp-img { max-height: 90vh; }
/** END Image gallery **/

/** Floating WhatsApp banner **/
#contenitore-whatsapp-floating {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9;
}
#contenitore-whatsapp-floating a { text-decoration: none; }
#contenitore-whatsapp-floating div { 
  padding: 8px 12px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 100px;
  font-weight: 500;
  display: flex;
  align-items: center;
  -webkit-box-shadow: 0px 0px 12px 0px rgb(0 0 0 / 30%);
  -moz-box-shadow: 0px 0px 12px 0px rgb(0 0 0 / 30%);
  box-shadow: 0px 0px 12px 0px rgb(0 0 0 / 30%);
  transition: background-color 1s linear;
}
#contenitore-whatsapp-floating div:hover { 
  background-color: #128c7e;
}
#contenitore-whatsapp-floating svg { 
  width: 26px;
  min-width: 26px;
}
#contenitore-whatsapp-floating p { 
  text-align: center;
  font-size: 16px;
  line-height: 1.1;
  margin-bottom: 0;
  margin-left: 16px;
}
/** END Floating WhatsApp banner **/

/** Box categoria **/
.box-categoria .box-text { padding: 0; }
.box-categoria .box-text .button {
	margin: 0;
	padding: 1em;
	width: 100%;
	text-align: left;
}
/** END Box categoria **/

/** Stats **/
.custom-green-btn { background-color: #27ae60 !important; }
.page-id-6299 #moove_gdpr_cookie_info_bar { display: none; }
/** END Stats **/





/** Moduli ordine **/
.moduli-ordine-image-box .box-image {
  padding-top: 1em;
}

.tabbed-content .tab {
  margin: 0 25px;
}
/** END Moduli ordine **/





/* MEDIA QUERY */

@media all and (min-width: 850px) and (max-width: 1050px) {
  /** Contatti **/
  .col-testo-acquisto-prodotti .col-inner { padding: 0 !important; }
  /** END Contatti **/
}

@media all and (min-width: 850px) {
  /** contact form **/
    .wpcf7-form .flex-row:not(.single) .flex-col:nth-child(1) { margin-right: 10px; }

    .wpcf7-form .flex-row:not(.single) .flex-col:nth-child(2) {
      margin-left: 10px;
      margin-right: 10px;
    }
    .wpcf7-form .flex-row:not(.single) .flex-col:nth-child(3) { margin-left: 10px; }

    /** Checkbox **/
    .wpcf7 span.wpcf7-checkbox span.wpcf7-list-item {
      flex: 1 0 23%;
    }
    /** END Checkbox **/
  /** END contact form **/
}

@media all and (max-width: 849px) {
  #title-vesta-home { font-size: 1.6em; }

  /** Floating WhatsApp banner **/
  #contenitore-whatsapp-floating {
    bottom: 15px;
    right: 15px;
  }
  #contenitore-whatsapp-floating div { 
    padding: 14px 14px;
  }

  .when-keyboard-showing #contenitore-whatsapp-floating { display: none; }
  /** END Floating WhatsApp banner **/
}

@media all and (max-width: 550px) {
  .row-small>.col { padding: 0 15px 30px; }
}

@media all and (max-width: 500px) {
  /* Slide Home Bullet
  .flickity-page-dots .dot {
		height: 3px;
		width: 30px;
	}
  */
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
}

.archive.term-1992 .products.row,
.archive.term-1541 .products.row{
	display: none;
}

.mt-30{
	margin-top: 30px;
}

.tab-panels .flex-row .flex-col {
    margin-bottom: 10px;
}

.tab-panels .flex-row .flex-col .wpcf7-not-valid-tip{
	position: inherit;
}

.tab-panels .container-checkbox-privacy, 
.tab-panels .wpcf7-submit{
	margin-top: 15px;
}

.tab-panels .wpcf7 form .wpcf7-response-output {
	    display: none;
}

@media (min-width: 850px) {
    .tab-panels .flex-row:not(.single) .flex-col:nth-child(1) {
        margin-right: 10px;
    }
}

form.wpforms-form div .wpforms-field-label{
	font-weight: 500!important;
	font-family: Montserrat, sans-serif;
	color: #222;
	font-size: 90%;
	line-height: 1.6;
	text-align: left;
}

form.wpforms-form div.wpforms-field-readonly  .wpforms-field-label{
	font-weight: 600!important;
	font-family: Nunito, sans-serif;
	color: #112226;
	font-size: 125%;
	text-transform: uppercase;
	line-height: 1.6;
	margin: 0;
	text-align: center;
}

form.wpforms-form div.wpforms-field-readonly input{
	display: none;
}

form.wpforms-form div.wpforms-field-radio{
	text-align: left;
}