.logo img{
    max-width: 300px;
    min-width: 100px;
    width: 100%;
}

a.button{
    font-family: "Oswald", sans-serif;
    padding: 1rem 2.4rem;
    font-size: 12px;
    background-color: #E12322;
    border: 1px solid #E12322;
    color: white;
    line-height: 1.5;
}
a.button:hover{
    background-color: #a82120;
    border-color: #a82120;
    text-decoration: none;
}
a.button.go-to-register{
    background-color: #7b7f83;
    border: 1px solid #7b7f83;
    color:  white;
}
a.button.go-to-register:hover{
    background-color: #E12322;
    color: white;
    text-decoration: none;
}
a.button-grey{
    background-color: #777;
    border: 1px solid #777;
}
a.button-grey:hover{
    background-color: #E12322;
    border: 1px solid #E12322;
}

.btn-primary:hover{
    background-color: #83222c;
    border-color: #83222c;
}

.color-red{color:#E12322;}
.font-corpo{
    font-size: 16px;color:  #282d3b;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after{
    background-color: #E12322;
}


.form-input.form-wide:focus{
    outline: none !important;
    border: 2px solid #E12322;
}

.contatti-map{
    height: 100%;
    min-height: 400px;
    width: 100%;
    margin: auto;
}

.contact-info i{
    background-color: #E12322;
}

.section-produttori-grid .label-group {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: .8rem;
    left: .8rem; }
.section-produttori-grid .label-group > * {
    margin-bottom: 5px; }
.section-produttori-grid .produttore-label {
    text-transform: uppercase;
    padding: 5px 11px;
    font: 600 1rem/1 "Open Sans", sans-serif;
    color: #fff; }
.section-produttori-grid .produttore-label.label-novita {
    background-color: #62b959; }
.section-produttori-grid .produttore-label.label-esaurito {
    background-color:#E12322; }
.section-produttori-grid .produttore-label.label-sale {
    background-color: sandybrown; }

.produttori-carousel .icon-right-open-big,
.produttori-carousel .icon-left-open-big{
    color: #fff;
}

.produttori-carousel .owl-dots{
    margin-top: 12px;
    display: flex;
    align-items: end;
    justify-content: center;
}
.produttori-carousel .owl-dots span{
 background-color: #fff !important;
 width: 0.7rem !important;
 height: 0.7rem !important;
}
.produttori-carousel .owl-dots .active span{
    background-color: white !important;
    border-color: white !important;
    width: 1rem !important;
    height: 1rem !important;
}

.inner-dot .owl-dots{
    margin-top: 0;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.grid-carousel .banner-image{
    margin-bottom: 0 !important;
}

.product-details .residuo p{
    margin-bottom: 0;
    color: #465157;
}

.product-details .residuo,
.product-single-details .residuo {
    margin-bottom: 5px;
}
.product-details .residuo.molti span,
.product-single-details .residuo.molti span{
    color: green;
}
.product-details .residuo.pochi span,
.product-single-details .residuo.pochi span{
    color: #FFDB58;
}
.product-details .residuo.zero span,
.product-details .residuo.zero p,
.product-single-details .residuo.zero span,
.product-single-details .residuo.zero p{
    color: #E12322;
}

.product-default.text-center .product-details,
.product-single-details.text-center .product-details{
    align-items: center !important;
}


.product-list .btn-add-cart:hover{
    background-color: #a82120;
    border-color: #a82120;
} 
.product-list h2 a{ 
    font-size: 16px;
}
.product-list li{
    font-size: 11px;
}
.product-list ul{
    margin-bottom: 5px;
}
.product-list .product-description{
    font-size: 11px;

    margin-top: 5px;
    margin-bottom: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.cat-list li a:hover{
    color: #E12322;}
.cat-list span a{
    position: relative;
    display: block;
    text-transform: uppercase;}
.cat-list span a:focus{
    text-decoration: none;}
.cat-list span a:hover{
color: #E12322;
text-decoration: none;}
.cat-list span a:after{
    font-family: 'porto';
    content: '\e81b';
    position: absolute;
    display: inline-block;
    right: .4rem;
    top: 50%;
    font-weight: 400;
    font-size: 1.5rem;
    transform: translateY(-50%); }
.cat-list span a.collapsed:after{
    content: '\e81c'; }
.cat-list .subcategory{
    text-transform: uppercase;}
.cat-list .subcategory:hover{
    text-transform: uppercase;}
.cat-list .subcategory:hover a{
    color: #E12322;}

.prod-thumbnail{
    justify-content: center;
}

.product-single-details .product-desc p{
    margin-bottom: 0;
}
      
.details-table tr:nth-child(even){
    background: #ededed
} 
.details-table td:nth-child(1){
    width: 20%;
}
.details-table tbody td{
    color: #282d3b ;
}

.details-table {
    width: 100%;
    margin: 0 0 40px;
    border: 1px solid #dae2e6;
    border-spacing: 0;
    font-size: 100%;
    empty-cells: show; }
    .details-table thead th,
    .details-table tbody td {
    border-right: 1px solid #dae2e6;
    border-bottom: 1px solid #dae2e6;
    line-height: 1.3; }
@media (max-width: 600px) {
    .details-table thead th,
    .details-table tbody td {
    padding-left: 5px;
    padding-right: 5px; } }
.details-table input[type=checkbox], .details-table input[type=radio] {
    margin: 0 auto;
}
@media (max-width: 600px) {
    .details-table thead {
        display: none;
    }
}
.details-table thead th {
    padding: .8rem 1.5rem;
    background-color: #f6f6f6;
    color: #777;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: middle;
}
.details-table tbody td {
    padding: 1.5rem 1rem;
    font-size: 1.3rem;
    text-align: left;
    vertical-align: middle;
}
.details-table tbody td:first-child {
    font-weight: 700;
    text-align: left;
}

.abonnement-table tbody td,
.order-table tbody td{
    border-right: 1px solid #dae2e6;
    border-bottom: 0;
    line-height: 1.3;
}
.abonnement-table th,
.order-table th{
    color: #E12322;
    padding: 1.5rem 1rem;
    font-size: 1.3rem;
    text-align: left;
    vertical-align: middle;
}
.details-table.abonnement-table td:nth-child(1),
.details-table.order-table td:nth-child(1){
    width: auto ;
}
.abonnement-table a.edit-abonnement:hover,
.abonnement-table a.trash-abonnement:hover,
.order-table a.edit-order:hover,
.order-table a.trash-order:hover{
    color: #E12322;
}

.add-product-review h3 {
    font-size: 1.8rem;
}
.add-product-review form {
    margin-bottom: 0;
}


.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content{
    width: fit-content;
}


.myAccount-single-tabs .nav-link.active{
    background-color: #E12322 !important;
    color:  white;
    font-weight: 700;
}

.myAccount-single-tabs .list li a:before{
    border-left-color: #E12322;
}
.myAccount-single-tabs .nav-link.active:before{
    border-left-color: white;
}

#indirizzo-fatturazione-form textarea,
#indirizzo-spedizione-form textarea{
    border-color: #e6e6e6;
    padding: 10px;
}
#indirizzo-fatturazione-form textarea:focus,
#indirizzo-spedizione-form textarea:focus{
    outline: none !important;
    border: 1px solid black;
}





/* TABLE */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after{
    transform: translate(50%,50%);
    bottom: 50%;
}

table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_desc:after{
    right: 1rem;
}

table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc{
    color: #E12322;
}
.pagination .page-item.active .page-link{
    color: #282d3b;
}

.page-item.active .page-link,.page-item.active .page-link:focus {
    z-index: 1;
    color: #fff !important;
    background-color: #E12322 !important;
    border-color: #E12322 !important;
}

#sortingTableAccountOrdini tbody td.arrivato,
#sortingTableAccountFatture tbody td.arrivato{
    color: green;
}
#sortingTableAccountOrdini tbody td.spedito,
#sortingTableAccountFatture tbody td.spedito{
    color: #ec7a19;
}
#sortingTableAccountOrdini tbody td.in-preparazione,
#sortingTableAccountFatture tbody td.in-preparazione{
    color: #282d3b;
}
#sortingTableAccountOrdini tbody td.annullato,
#sortingTableAccountFatture tbody td.annullato{
    color: #E12322;
}

.formTable .serch-container{
    z-index: 1000;
    position: absolute;
    top: 6.5rem;
    right: 4.5rem;
}

.formTable .serch-container button{
    padding: 6px 10px;
    border: none;
    border-radius: 7px;
    background: #E12322;
    color: white;
}
.formTable .serch-container button:hover{
    background: #a82120;
}

#formTableAccountFatture,#formTableAccountOrdini{
    margin-bottom: 2rem;
}

.formTable input.search:focus{
    outline: none !important;
    border: 1px solid #E12322;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid #E12322;
  -webkit-text-fill-color: black;
  -webkit-box-shadow: 0 0 0px 1000px #f8f8f8 inset;
  transition: background-color 5000s ease-in-out 0s;
}


.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}



.filter input,.filter select{
    width: 100%;
    padding: 5px 10px;
    border: 1px solid #9D9D9D;
    border-radius: 5px;
}
.filter select:focus {
    outline: none;
}

.conti{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.conti a{
    text-decoration: none;
}
.conti .operatore{
    margin-left: 5px;
    margin-right: 5px;
    color: black;
}
.conti .addendo{
    /* height: 50px;
    width: 50px; */
    padding: 10px;
    width: fit-content;
    color: white;
}
.conti .addendo .text{
    font-weight: 700;
    text-transform: uppercase;
}
.conti .addendo .price{
    margin: auto;
    font-family: "Oswald", sans-serif;
}
.conti .addendo.bg-green{
    background-color: #398717;
}
.conti .addendo.bg-green:hover{
    background-color: #2D6C12;
}
.conti .addendo.bg-orange{
    background-color: #DE650F;
}
.conti .addendo.bg-orange:hover{
    background-color: #B1500C;
}
.conti .addendo.bg-blue{
    background-color: #1D69DD;
}
.conti .addendo.bg-blue:hover{
    background-color: #1754B0;
}
.conti .addendo.bg-red{
    background-color: #E12322;
}
.conti .addendo.bg-red:hover{
    background-color: #882029;
}

.cart-link a {
    display: block;
    position: relative;
    padding-right: 2.6rem;
}
.cart-link a::before {
    display: inline-block;
    content: '\e87f';
    font-family: 'porto';
    font-size: 3.3rem;
    line-height: 1;
    margin: 2px 0 0;
    color: #141a1f;
}
.cart-link a .cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6rem;
    height: 1.6rem;
    position: absolute;
    right: 2.1rem;
    line-height: 1;
    top: -.1rem;
    border-radius: 50%;
    padding-bottom: 1px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #E12322;
    box-shadow: 0 7px 8px rgba(0,0,0, .05);
}

.header-contact.not-logged:after {
    display: none;
}

.product-default a {
    white-space: normal;
    overflow: auto;
    text-overflow: unset;
}