/* 
    Created on : 13 apr 2023, 00:42:54
    Author     : Gianluca Metello
*/

.sticky-cart {
    position: fixed !important;
    z-index: 2222;
    top: 10px;
    right: 0;
}

.back-blank {
    background-color:#FFF;
    padding: 5px;
    border: 1px solid lightgrey;
    border-radius: 4px 0 0 4px;
}

body.archive .sw-variation-wrapper {
    display:none;
}

body.archive img.size-woocommerce_thumbnail,  
body.post-type-archive img.size-woocommerce_thumbnail {
    max-height: 300px !important;
    width: auto !important;
    margin: auto;
}

.variation_helmet {
    width: 100%;
    min-height: 55px;
}

.variation_helmet .content_list {
    list-style: none;
    display: flex;
}

.variation_helmet .content_list .element_list {
    padding: 5px;
}

.variation_helmet .content_list .element_list img {
    max-height: 50px;
}

.table.variations  {
    margin-top:20px !important;
}

/*div:not(.sw-quickview-bottom) table.variations tbody tr:first-child {
    display:none;
}*/
/* Nasconde tutta la riga che contiene il label "Colore" */
table.variations tr:has(th label[for="pa_colore"]) {
    display: none !important;
}


.errore_modello_taglia {
    display:none;
    padding: 10px;
    color: red;
    font-weight: bold;
}

.item-brand span {
    display:none;
}

.sw-custom-variation span {
    padding: 2px 5px;
}

.woocommerce div.product div.images img {
    max-height: 600px;
    width: auto !important;
    margin: auto;
}

.red-border {
    border: 2px solid red !important;
}

.main_loader_add_to_cart {
    position:fixed;
    top:50%;
    left: 50%;
    z-index: 99999;
    margin-left: -65px;
    margin-top: -65px;
     display:none;
}

.obscure_loader {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: grey;
    opacity: 0.1;
    position: fixed;
    z-index: 999;
    display:none;
}

body.archive .item .item-wrap .item-detail .products-thumb {
    height: 250px;
}

body.archive .item .item-wrap .item-detail .products-thumb a img {
    max-height: 240px !important;
}

body.single-product .item .item-wrap .item-detail .products-thumb a img {
    height: 240px;
    width: auto !important;
    margin: auto;
}

/** LOADER **/

#container_loader {
  width: 100px;
  height: 125px;
  margin: auto auto;
}

.loading-title {
  display: block;
  text-align: center;
  font-size: 20;
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  padding-bottom: 15px;
  color: #888;
}

.loading-circle {
  display: block;
  border-left: 5px solid;
  border-top-left-radius: 100%;
  border-top: 5px solid;
  margin: 5px;
  animation-name: Loader_611;
  animation-duration: 1500ms;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.sp1 {
  border-left-color: #F44336;
  border-top-color: #F44336;
  width: 40px;
  height: 40px;
}

.sp2 {
  border-left-color: #FFC107;
  border-top-color: #FFC107;
  width: 30px;
  height: 30px;
}

.sp3 {
  width: 20px;
  height: 20px;
  border-left-color: #8bc34a;
  border-top-color: #8bc34a;
}

.sw-brand-container-slider .slider .item-brand-cat .item-image a img {
    max-height: 50px !important;
    width:  120px !important;
}

div.elementor-grid-tablet-3 .products-loop img {
    height: 120px;
}

.products-loop .item .item-wrap .item-detail .item-content h4 a {
    height: 30px;
}

.jet-filter-items-dropdown__active__item, .jet-checkboxes-list__label, .jet-active-filter__val {
    text-transform: uppercase;
}

.sale-off {
    display:none;
}

    .item-price span > .amount, .item-price del, .item-price > .amount,
    .woocommerce div.product p.price, .woocommerce div.product span.price {
        color: #ee312a !important;
    }
    
    .product_detail .content_product_detail .add_to_cart_button, .product_detail .content_product_detail .product_type_external, .product_detail .content_product_detail .product_type_grouped, .product_detail .content_product_detail .single_add_to_cart_button {
         color: #ee312a !important;
    }
    
/*    .elementor-element-188a55f4 {
        margin-top: 50px !important;
    }*/
    
    nav.woocommerce-pagination[aria-label='Imaginazione del prodotto'] {
        display: none !important;
    }
    
/*    select.jet-sorting-select {
        margin-top: 50px;
    }*/

@keyframes Loader_611 {
  0% {
    transform: rotate(0deg);
    transform-origin: right bottom;
  }

  25% {
    transform: rotate(90deg);
    transform-origin: right bottom;
  }

  50% {
    transform: rotate(180deg);
    transform-origin: right bottom;
  }

  75% {
    transform: rotate(270deg);
    transform-origin: right bottom;
  }

  100% {
    transform: rotate(360deg);
    transform-origin: right bottom;
  }
}

/* media query */

/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {

    #form_preventivo ul {
        margin:0;
    }
    
    #form_preventivo li {
        display:block;
        width: 100%;
    }
    
    #form_preventivo input[type="text"],  #form_preventivo select {
        width:100% !important;
        margin-top:5px;
        margin-bottom:5px;
    }
    
    #form_preventivo button {
        margin: 5px 0 5px 0 !important;
        width: 100% !important;
    }
    
    #header .elementor-widget-container {
        margin-top: 25px !important;
    }
    
    .elementor-element-5ab3838 {
        margin-top:20px !important;
    }
    
    
      
}

.box-shop .products-nav .catalog-ordering, .products-wrapper .products-nav .catalog-ordering {
        margin-top:50px !important;
    }
    
    div.jet-smart-filters-sorting.jet-filter {
        margin-top:50px !important;
    }