/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

:root {
  --grey: #666666;
}

.bold {
  font-weight: bold;
}

.padding-bottom-0 {
  padding-bottom: 0;
}

.img-rotonda img {
  border-radius: 50%;
}

/** BUG fix bottone aggiungi al carrello e scegli opzione **/
a.product_type_simple,
.product .box-text-products .button {
  background-color: transparent;
  color: #1e5118;
  font-size: 0.8em;
  border: none;
}

a.product_type_simple:before,
.product .box-text-products .button:before {
  content: "";
  height: 2px;
  background-color: currentColor;
  opacity: 0.3;
  transition: all 0.3s;
  position: absolute;
  bottom: 2px;
  left: 20%;
  width: 60%;
}

a.product_type_simple:hover,
.product .box-text-products .button:hover {
  color: #333;
  box-shadow: none;
}

a.product_type_simple:hover:before,
.product .box-text-products .button:hover:before {
  left: 0%;
  width: 100%;
  opacity: 1;
}

/**/

.product .box-text-products .add_to_cart_button,
.product .box-text-products .button {
  margin-top: 0;
}

/** Loop prodotti categorie **/
.product .box-text-products .prodotti-categorie-price-wrapper {
  font-size: 1.1em;
}

.product .box-text-products .prodotti-categorie-price-wrapper .price {
  font-weight: bold;
  color: #151515;
}

.product .box-text-products .prodotti-categorie-price-wrapper .price small {
  font-weight: normal;
}

/** END Loop prodotti categorie **/

.header-search-form input[type="search"],
.search-box-404-page input[type="search"] {
  background-color: rgb(250 255 249);
  border-color: #1e5118;
}

.header-search-form .icon-search,
.search-box-404-page .icon-search,
.cart-price {
  color: #1e5118;
}

.archive-product-code {
  font-size: 0.8em;
  text-transform: lowercase;
}

.archive-product-code .codice {
  font-weight: bold;
}

/** Single product SKU **/
#sku-single-product {
  font-size: 0.8em;
}

#sku-single-product .sku_wrapper {
  text-transform: lowercase;
  border-top: none;
}

.cart-product-sku {
  font-size: 0.8em;
}

/** Single product SKU **/

.tolerance-note {
  color: var(--grey);
  font-size: .9em;
}

.singolo-prodotto-price-start-from {
  padding-right: 6px;
}

.banner-tempo-realizzazione {
  max-width: 280px;
  margin-bottom: 1.3em;
}

.autocomplete-suggestion .search-price {
  display: none;
}

.wpc-edit-icon {
  text-transform: lowercase;
  letter-spacing: normal;
  padding: 0 0.8em;
  margin-top: 6px;
  background-size: unset;
  background-image: none;
}

.woocommerce-cart td.product-price {
  padding-top: 4px;
}

.awspc-variation .awspc-variation-label,
.awspc-variation .awspc-variation-value {
  width: auto;
  text-transform: initial;
}

#billing_address_2_field>label {
  width: auto;
  opacity: 1;
}

.checkout_coupon p:first-child {
  display: none;
}

.checkout_coupon {
  padding: 20px 30px 20px;
}

.optional {
  display: none;
}

.cart-discount {
  background-color: rgba(255, 174, 0, 0.2);
}

.cart-collaterals .coupon input[type="submit"] {
  border: 1px solid #1e5118;
  color: #1e5118;
  text-shadow: none;
}

.cart-collaterals .coupon input[type="submit"]:hover {
  color: #ffffff;
  background-color: #286d21;
}

.woocommerce-error,
label.error {
  background: #ffdcdc !important;
  font-size: 1em;
  padding: 10px 20px;
  width: 100%;
  color: #de0000 !important;
}

.woocommerce-error li {
  margin-bottom: 0;
}

.payment_method_stripe label {
  display: inline-block !important;
}

.stripe-icon {
  float: left;
}

.woocommerce-additional-fields {
  display: inline-block;
  width: 100%;
}

#order_comments_field {
  padding: 0 0 0 20px;
  border-left: 4px solid #286d21;
}

.titoli-chi-siamo {
  font-size: 1.2em;
  margin-bottom: 0.8em !important;
}

.row-feature-chi-siamo .box-text p,
.wc-bacs-bank-details-account-name {
  font-size: 1rem;
}

.product-title a {
  font-size: 1.1rem;
}

.single-product .product-title {
  margin-bottom: 0;
}

.box-excerpt {
  font-size: 0.8rem;
  margin-top: 10px !important;
}

.wc-bacs-bank-details-heading {
  font-size: 1.4rem;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-size: 1.6rem;
}

.woocommerce-order-received .wc-item-meta li p {
  display: inline-block;
}

.woocommerce-order-received .woocommerce-customer-details h2 {
  font-size: 1.2rem;
}

.section-title-normal span {
  border-bottom: 2px solid #ffae00;
}

.woocommerce-message .success-color {
  background: #ddffd9;
  padding: 12px;
  border: 1px solid #286d21;
  border-radius: 6px;
}

.woocommerce-notices-wrapper .woocommerce-info .message-container,
.cart-container .woocommerce-info .message-container {
  background: #fff2d5;
  padding: 12px;
  border: 1px solid #ffae00;
  border-radius: 6px;
  color: #966700;
}

.woocommerce-notices-wrapper .woocommerce-info .message-container span,
.cart-container .woocommerce-info .message-container span {
  color: #966700;
}

/* simbolo valuta scheda prodotto */
.product-summary .woocommerce-Price-currencySymbol {
  vertical-align: baseline;
  margin-top: 0;
  margin-left: 2px;
}

/* */

/* pulsanti e icone */
a.checkout-button:after,
#place_order:after,
#ppcp-hosted-fields button:after {
  font-family: "Font Awesome 5 Free";
  padding-left: 10px;
  transition: padding-left 0.5s ease-out;
}

a.checkout-button:after {
  content: "\f061";
}

#place_order:after,
#ppcp-hosted-fields button:after {
  content: "\f00c";
}

a.checkout-button:hover:after,
#place_order:hover:after,
#ppcp-hosted-fields button:hover:after {
  padding-left: 20px;
}

/* */

/** Checkout **/
label .required:not(:first-child) {
  display: none !important;
}

.woocommerce-checkout .woocommerce-form-login {
  background: rgb(245, 245, 245);
  padding: 10px 20px;
}

#billing_address_2_field>label,
#shipping_address_2_field>label {
  display: block;
  opacity: 1;
  overflow: auto;
  width: auto;
}

.payment_methods li+li {
  border-top: none;
}

.payment_methods li:last-child {
  border-bottom: 1px solid #ececec;
}

#tabella-scelta-spedizione {
  display: table;
}

#tabella-scelta-spedizione tbody {
  display: table-row-group;
}

#tabella-scelta-spedizione tr {
  display: table-row;
}

/* #tabella-scelta-spedizione td {
  display: table-cell;
} */

#tabella-fee-totale {
  margin-top: 20px;
}

#tabella-fee-totale,
#tabella-fee-totale tr,
#tabella-fee-totale th,
#tabella-fee-totale td {
  border: 0;
}

#tabella-fee-totale .fee th,
#tabella-fee-totale .fee td {
  border-top: 1px solid #286d21;
}

.woocommerce-checkout .order-total th,
.woocommerce-checkout .order-total td {
  border-top: 2px solid #286d21 !important;
  border-bottom: 2px solid #286d21 !important;
}

.woocommerce-checkout .woocommerce-NoticeGroup-updateOrderReview .woocommerce-info .message-container:not(.success-color) {
  background: #ffdcdc;
  padding: 10px 20px;
  color: #de0000;
}

#place_order,
#ppcp-hosted-fields button {
  background-color: #27ae60;
  width: 100%;
}

#place_order:hover,
#ppcp-hosted-fields button:hover {
  background-color: #286d21;
}

/** Pagina pagamento cliente ordine manuale **/

.woocommerce-order-pay .cart-header {
  margin-bottom: 20px;
}

.woocommerce-order-pay .checkout-breadcrumbs {
  display: none;
}

.woocommerce-order-pay .wc_payment_methods {
  list-style: none;
}

/** END Pagina pagamento cliente ordine manuale **/
/** END Checkout **/

a.remove,
a.icon-remove {
  line-height: 22px !important;
}

.elenco-con-spunte {
  list-style: none;
  padding-inline-start: 20px;
}

.elenco-con-spunte li:before {
  content: "\f00c";
  display: inline-block;
  font-family: FontAwesome;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 18px;
  line-height: 18px;
  width: 25px;
  text-align: left;
  color: #286d21;
}

.riga-contenitore-info-servizio-personalizzato .colonna-info-testo {
  text-align: right;
}

.woocommerce-cart .header-nav-main .header-divider,
.woocommerce-cart .header-nav-main .cart-item {
  display: none;
}

.pum-container {
  margin: 50px;
}

/** Banner spesa gestione **/
.box-spesa-gestione {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #362700;
  background: rgb(255, 225, 67);
  background: linear-gradient(45deg,
      rgba(255, 225, 67, 1) 0%,
      rgba(255, 203, 67, 1) 100%);
  padding: 10px 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.box-spesa-gestione p {
  line-height: normal;
  margin: 0px;
}

.box-spesa-gestione img {
  height: 30px;
  margin-right: 20px;
}

/** END Banner spesa gestione **/

.giustifica {
  text-align: justify;
}

/** Coronavirus **/
.woocommerce-checkout table.shop_table .note-spedizione td {
  text-align: left;
}

/** END Coronavirus **/

/** 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;
  height: auto;
}

#contenitore-whatsapp-floating p {
  text-align: center;
  font-size: 15px;
  line-height: normal;
  margin-bottom: 0;
  margin-left: 12px;
}

/** END Floating WhatsApp banner **/

.grecaptcha-badge {
  visibility: hidden;
}

/** checkout **/
.delivery-by-appointment-desc {
  font-weight: normal;
  display: flex;
  margin-top: 10px;
  text-align: left;
  font-size: 0.8em;
}

.delivery-by-appointment-desc img {
  width: auto;
  margin-right: 10px;
  height: 30px;
}

.delivery-by-appointment-desc p {
  margin-top: 0;
}

#order_comments {
  min-height: 90px;
}

/** END checkout **/

/** Cookie banner **/
#moove_gdpr_cookie_modal {
  min-height: auto !important;
}

/** END Cookie banner **/

/** Menu mobile **/
/** Custom icon **/
.mobile-nav .nav-icon a {
  display: block;
}

.mobile-nav .nav-icon a:after {
  content: "\e012";
  font-weight: 400;
  position: absolute;
  right: -10px;
  top: 53%;
  transform: translate(0px, -50%);
  font-size: 15px;
  color: #000000;
  font-family: "fl-icons" !important;
}

.custom-menu-icon-bar {
  width: 30px;
  display: block;
  height: 2px;
  background: #000;
  margin: 9px 0;
  border-radius: 24px;
}

.custom-menu-icon-bar:nth-child(2) {
  width: 19px;
}

/** END Custom icon **/

.nav-sidebar.nav-vertical>li+li {
  border-top: none;
}

/** END Menu mobile **/

/** contact form **/
.wpcf7-form .flex-row .flex-col {
  margin-bottom: 10px;
}

.wpcf7-form .flex-row .flex-col select,
.wpcf7-form .flex-row .flex-col textarea {
  margin-bottom: 0;
}

.container-form-centrato .container-form-lp select {
  text-align: center !important;
}

.wpcf7-form .flex-row .flex-col .wpcf7-not-valid-tip {
  position: inherit;
}

.wpcf7-form .container-checkbox-privacy,
.wpcf7-form .button.wpcf7-submit {
  margin-top: 15px;
}

.wpcf7-form .container-checkbox-privacy input[type="checkbox"] {
  margin-bottom: 0;
}

.wpcf7-form .wpcf7-response-output {
  margin: 0.5em 0 1em !important;
}

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
  border-color: #b5b5b5;
}

/** END contact form **/

/** Landing page **/

.wpcf7-form input[type="checkbox"] {
  margin-bottom: 0;
}

/** Custom Font **/
@font-face {
  font-family: "BaskOldFace";
  src: url("/wp-content/themes/flatsome-child/fonts/BaskOldFace.woff2") format("woff2"),
    url("/wp-content/themes/flatsome-child/fonts/BaskOldFace.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.custom-lp-font {
  font-family: "BaskOldFace", sans-serif;
}

.paragrafo-citazione-lp {
  margin-bottom: 0.8em;
}

.paragrafo-descrizioni-secondarie-lp {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
}

.simbolo-citazione-lp {
  font-size: 10rem;
  line-height: 1;
  margin-bottom: -0.5em;
}

.nome-citazione-lp {
  font-size: 1.8rem;
  margin-bottom: 0;
}

/** END Custom Font **/

.container-form-centrato .container-form-lp,
.container-form-centrato .container-form-lp input,
.container-form-centrato .container-form-lp textarea {
  text-align: center;
}

.container-form-lp input,
.container-form-lp textarea {
  border: 1px solid #959595;
}

.container-form-lp textarea {
  min-height: 110px;
}

.title-servizi {
  font-size: 1.1rem;
}

.black-color {
  color: #000;
}

.green-color {
  color: #1e5118;
}

.titolo-grazie-lp {
  margin-bottom: 0;
  font-size: 10rem;
  letter-spacing: 10px;
}

/** END Landing page **/

/** Uni CPO **/
/* .single-product .summary #uni_cpo_options {
  margin-bottom: 1em;
} */

/* .single-product .summary .price-wrapper {
  margin-bottom: 2em;
} */

.woocommerce-mini-cart .uni-cpo-cart-action {
  display: none;
}

.uni-cpo-cart-action.uni-cpo-action-edit-inline:before {
  color: #000000;
}

img.lunghezza-larghezza {
  max-width: 250px;
  margin: 0 auto 1rem;
}

@media all and (max-width: 549px) {
  .lunghezza-larghezza-wrapper .uni-col-content {
    flex-direction: column;
    gap: 0;
  }
}

.uni-cpo-note-wrapper {
  margin-top: 1.5rem;
}

body .uni-cpo-note-wrapper textarea {
  min-height: auto;
  resize: none;
  max-height: 5.8rem;
  height: 5.8rem !important;
}

.cpo-cart-item-edit-form textarea[name="uni_cpo_note"] {
  resize: vertical;
  height: 4rem;
  min-height: 4rem;
}

/** END Uni CPO **/

.single-product .product-type-simple:not(.cpo-enabled-product) .summary .price-wrapper {
  margin-bottom: 1.5em;
}

.single-product .product-type-variable .summary .price-wrapper {
  margin-bottom: 1em;
}

/** Cart **/
.widget_shopping_cart_content .wc-forward:nth-child(2) {
  display: none;
}

.woocommerce-mini-cart li a:not(.remove) {
  line-height: normal;
  font-size: 0.9em;
}

a.remove,
a.icon-remove {
  color: #d81313;
  font-size: 28px !important;
  border: none;
}

.button-continue-shopping {
  font-size: 0.7em;
}

.variation dt,
.variation dd {
  text-transform: capitalize;
}

/** END Cart **/

/** Account **/
.my-account .account-user .image,
.my-account .account-user .user-id,
.woocommerce-MyAccount-navigation-link--ppcp-paypal-payment-tokens {
  display: none !important;
}

.my-account .dashboard-links a {
  padding: 12px 0;
}

.my-account .dashboard-links a:hover {
  background-color: #286d21;
}

.my-account .woocommerce-orders-table__cell-order-actions a.woocommerce-button {
  text-transform: none;
  font-size: 0.9em;
  margin: .5em;
}

.my-account .woocommerce-orders-table__cell-order-actions .track-button {
  text-transform: none;
  font-size: 0.9em;
  padding: 0 1.2em;
  margin: .5em;
}

/** END Account **/

/** ul / li list style **/
ul li.bullet-checkmark,
ul li.bullet-arrow,
ul li.bullet-star {
  border-bottom: none;
}

/** END ul / li list style **/

/** Upsell / related **/
.upsells-wrapper,
.related-products-wrapper {
  border-top: none;
}

/** END Upsell / related **/

/** Footer **/
.menu-menu-copyright-container ul.links li {
  margin: 0 0.4em 1.5em;
}

/** END Footer **/

/** HurryTimer **/
.hurrytimer-sticky {
  z-index: 999;
}

.hurrytimer-headline {
  margin-top: 0;
}

/** END HurryTimer **/

/** Thank you page **/
/** Order received checkmark animation **/
.my-checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #7ac142;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.my-checkmark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 1.5em auto;
  box-shadow: inset 0px 0px 0px #7ac142;
  animation: fill 0.4s ease-in-out 0.4s forwards,
    scale 0.3s ease-in-out 0.9s both;
}

.my-checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {

  0%,
  100% {
    transform: none;
  }

  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 50px #7ac142;
  }
}

/** END Order received checkmark animation **/

.woocommerce-bacs-bank-details .wc-bacs-bank-details {
  padding-left: 40px;
}

.woocommerce-customer-details--phone,
.woocommerce-customer-details--email {
  margin-bottom: 0;
}


/** Coupon **/
.clip-board {
  display: inline;
  text-align: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  cursor: pointer;
  font-weight: bold;
  padding: 3px 10px;
  border: 3.5px dashed white;
  border-radius: 0.5rem;
  color: #fcdf1a;
  text-wrap: nowrap;
}

/** END Coupon **/


/** END Thank you page **/

@media only screen and (max-width: 48em) {

  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .titolo-grazie-lp {
    font-size: 4rem;
  }
}

@media all and (min-width: 850px) {

  /** contact form **/
  .wpcf7-form .flex-row.flex-row-2-col .flex-col:first-child {
    margin-right: 5px;
  }

  .wpcf7-form .flex-row.flex-row-2-col .flex-col:nth-child(2) {
    margin-left: 5px;
  }

  .wpcf7-form .flex-row.flex-row-3-col .flex-col:first-child {
    margin-right: 5px;
  }

  .wpcf7-form .flex-row.flex-row-3-col .flex-col:nth-child(2) {
    margin-right: 5px;
    margin-left: 5px;
  }

  .wpcf7-form .flex-row.flex-row-3-col .flex-col:nth-child(3) {
    margin-left: 5px;
  }

  /** END contact form **/
}

@media (max-width: 849px) {
  .shop_table .product-remove a {
    line-height: 20px !important;
  }

  .simbolo-citazione-lp {
    font-size: 6rem;
  }

  .nome-citazione-lp {
    font-size: 1.4rem;
  }

  /** Checkout **/
  .woocommerce-checkout .woocommerce-form-login-toggle .message-container {
    text-align: left !important;
  }

  /** END Checkout **/

  /** 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 (max-width: 767px) {

  /** Banner spesa gestione **/
  .box-spesa-gestione {
    flex-direction: column;
  }

  .box-spesa-gestione img {
    margin: 0px 0px 10px;
  }

  /** END Banner spesa gestione **/
}

@media (max-width: 549px) {
  .woocommerce-order-received .page-title-inner {
    background: #286d21;
    padding-bottom: 20px;
  }

  .woocommerce-order-received .checkout-breadcrumbs a {
    color: #ffffff;
  }

  .riga-contenitore-info-chi-siamo .colonna-info-immagine .img {
    margin: auto;
  }

  .riga-contenitore-info-chi-siamo .colonna-info-testo {
    text-align: center;
  }

  /** Cart **/
  /** Breadcrumbs **/
  .woocommerce-cart .breadcrumbs {
    padding: 0;
  }

  /** END Breadcrumbs **/
  /** END Cart **/
}

/** (impostazioni) Nei Cookies Footer ALI **/
#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice button.change-settings-button {
  margin-bottom: 10px;
  margin-right: 2px;
}

/* Stile banner coupon */
.coupon-alert {
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  background-color: rgba(6, 147, 227, 0.122);
  border-radius: 0.25rem;
  color: #225f82;
  border: 3px dashed rgba(33, 94, 130, 0.459);
}



/*** SPAN MESSO CON JS PER INSERIMENTO IMG GUIDA ***/
#product-info-H-L {
  width: 250px;
  display: block;
  margin: 0.3rem auto;
}

/*** GESTION LARGHEZZA CAMPI LUNGHEZZA LARGHEZZA SOLO PER I PRODOTTI CHE HANNO ENTRAMBI I CAMPI ***/
.single-product:has(#uni_cpo_lunghezza-field):has(#uni_cpo_larghezza-field) #uni_cpo_lunghezza,
.single-product:has(#uni_cpo_lunghezza-field):has(#uni_cpo_larghezza-field) #uni_cpo_larghezza {
  width: 49% !important;
  display: inline-block;
  margin-top: 0.4rem;
  margin: .4rem auto !important;
}

@media screen and (max-width: 400px) {

  .single-product:has(#uni_cpo_lunghezza-field):has(#uni_cpo_larghezza-field) #uni_cpo_lunghezza,
  .single-product:has(#uni_cpo_lunghezza-field):has(#uni_cpo_larghezza-field) #uni_cpo_larghezza {
    width: 100% !important;
  }
}