
.help-block {
    font-size: 85%;
}

@media (max-width: 767px) {
    .container-large {
        /*margin: auto auto;*/
    }
}
@media (min-width: 768px) {
    .container-large {
        margin: 0 10%;
        width: 750px
    }
}
@media (min-width: 992px) {
    .container-large {
        margin: 0 85px;
        width: auto;
    }
}
@media (min-width: 1200px) {
    .container-large {
        margin: 0 8%;
        width: auto;
    }
}

.form_ajax_error {
    border-color: #a94442;
}

.form_ajax_error + .help-block {
    color: #a94442;
}
.ckbox.form_ajax_error {
    color: #a94442;
    border-bottom: 3px solid #a94442;
    padding-bottom: 7px;
}


.mfp-bg {
    opacity: 0.5;
}

.grecaptcha-badge {
    display: none;
}
.google-recaptcha-label {
    font-size: 14px;
    opacity: 0.9;
    a {
        color: $white;
        text-decoration: underline;
    }
}


.entry {
    margin: 0 0 30px;
    padding: 0 0 30px;
}

.alert {
    padding: 8px 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.alert.red {
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.alert.green {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {

    padding: 5px 4px;
    font-size: 12px;
}
.product-desc .add_to_cart.btn {
    padding: 2px 8px;
    font-size: 12px;
}
@media (max-width: 991px) {
    .product-desc .add_to_cart.btn {
        padding: 5px 8px;
    }
}

.cart.table-riepilogo td {
    padding: 5px!important;
}

@media (max-width:991px) {
    .cart td {
        padding: 12px 0px!important;
    }
}


.informativa-wrapper {
    height: 300px;
    padding: 20px;
    overflow-y: auto;
    border-top: 1px solid #888;
    /* border-radius: 6px; */
    border-bottom: 1px solid #888;
    margin-bottom: 30px;
}

.quantity {
    margin-right: 20px;
}

/*.promo*/

.promo.promo-dark, .promo.promo-light {
    padding: 14px 160px 14px 14px;
}

.promo.promo-dark a.button, .promo.promo-light a.button {
    right: 14px;
    font-size: 16px;
    padding: 0 20px;
}


.form-login-checkout {
    border: 1px solid #AD0101;
    padding: 30px 50px 10px;
    margin-top: -2px;
}


.media-object {
    margin: 0 auto;
}


.table-dark tr {
    background-color: rgba(0,0,0,0.05);
}
.table-dark tr th {
    border-bottom:1px solid #ABAFA2!important;

}
.table-dark tr td {
    border-top-color: #ABAFA2!important;
}


@media (max-width: 991px) {
    #page-menu nav {
        background-color: #AD0101;
        width: 300px;
    }
}
@media (min-width: 992px) {
    #page-menu nav li a {
        font-size: 13px;
    }
}


.button {
    white-space: normal;
    height: auto!important;
}

.button.button-small {
    line-height: 24px;
}


#top-cart .top-cart-content {
    width: 350px;
}
#top-cart .top-cart-content .top-cart-item {
    display: flex;
    align-items: center;
}
#top-cart .top-cart-content .top-cart-item-desc {
    flex-grow: 3;
}
.top-cart-item-desc span.top-cart-item-quantity {
    bottom: 0;
    top: initial;
}
/* **************** CART ******************* */

#checkcoupon_form #coupon-input {
    display: inline-block;
    width: auto;
    min-width: 220px;
    margin-right: 20px;
    height: 43px;
}

#checkcoupon_form .style-msg {
    margin-bottom: 0;
    margin-right: 20px;
}

#checkcoupon_form .style-msg .sb-msg {
    padding: 12px 20px;
    line-height: 19px;
}

.payment-choser label {
    min-height: 54px;
}


@media (max-width: 991px) {


    table.cart thead {
        display: none;

    }

    table.cart:not(.table-riepilogo) tbody tr td {
        display: block;
    }

    table.cart tbody tr td[data-title] {
        text-align: right!important;
        padding-left: calc(40% + 10px)!important;
        position: relative;
        overflow: hidden;
        height: auto;
        border-bottom: 1px solid #f0f0f0;
    }

    table.cart tbody tr td[data-title]:before {
        content: attr(data-title);
        text-align: left!important;
        display: block;
        font-weight: bold;
        position: absolute;
        left: 0px;
        top: 0px;
        padding: 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 40%;
        height: 100%;
        background-color: #f9f9f9;

    }
}
@media (max-width: 767px) {
    table.cart .quantity .qty, table.cart .quantity .plus, table.cart .quantity .minus {
        float: left;
        width: 33%;
    }
    table.cart .quantity .qty {
        border-top: none;
        border-bottom: none;
        border-left: 1px solid #DDD;
        border-right: 1px solid #DDD;
    }
    #checkcoupon_form .pull-right {
        float: none!important;
        text-align: right;
    }
    #checkcoupon_form .style-msg {
        margin-right: 0px;
        margin-top: 12px;

    }
    .payment-choser label {
        display: block;
        margin-right: 0!important;
        margin-left: 0!important;
    }
}


@media (max-width: 550px) {
    #checkcoupon_form {
        float: none!important;
    }
    #checkcoupon_form #coupon-input {
        display: block;
        width: 100%;
        margin-right: 0px;
        margin-bottom: 8px;
    }

    table.cart:not(.table-riepilogo) tbody tr td:not([data-title]) {
        text-align: center;
    }
}

@media (max-width: 450px) {
    table.cart .button, #checkcoupon_form .pull-right.button {
        display: block;
        width: 100%;
        text-align: center;

    }
    .js-empty-cart, .js-empty-cart + .button {
        display: block;
        float: none!important;
        text-align: center;
    }
}



/******************* LAYOUT DIVS PRODOTTI *********************/

.row-flex {
    display: flex;
    flex-wrap: wrap;
}

.bi_product_div {
    width: calc(33.3333% - 20px);
    border: 1px solid #ccc;
    padding: 16px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) and (max-width:991px) {
    .bi_product_div {
        width: calc(50% - 20px);
    }
}
@media (max-width: 767px) {
    .bi_product_div {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.bi_product_div .media-heading {
    padding: 8px 6px;
    opacity: 1;
    margin-bottom: 10px;
    background: #f9f9f9;
}
.bi_product_div .media-object {
    padding-top: 0;
}
.bi_product_div .bi_product_div_title {
    margin-bottom:0px;
    font-weight: 500;
}
.bi_product_div .bi_product_div_description {
    margin-bottom: 14px;
}
.bi_product_div .bi_product_div_actions .sm-form-control {
    width: calc(100% - 50px);
    display: inline-block;
    height: 35px;
    font-size: 14px;
    padding: 4px 14px;
}
.bi_product_div .bi_product_div_actions .bi_product_div_label_qty {
    width: calc(100% - 50px);
    display: inline-block;
    font-weight: bold;
}
.bi_product_div .bi_product_div_actions .add_to_cart {
    vertical-align:baseline;
}

#banner-spedizione-gratuita {
    position: fixed;
    bottom: 50px;
    z-index: 999;
}
#banner-spedizione-gratuita .sheet {
    position: relative;
    background: #ad0101;
    padding: 10px 24px;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
}
#banner-spedizione-gratuita .sheet img {
    width: 60px;
    margin-top: 10px;
}

#banner-spedizione-gratuita .sheet:after {
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 10px;
    right: 10px;
    left: auto;
    width: 100%;
    top: 80%;
    max-width: 300px;
    background: #777;
    box-shadow: 0 14px 20px #666;
    transform: rotate(3deg);

}

body > .zopim:nth-child(2) {
    bottom: 50px!important;
}
@media (max-width: 991px) {
    #banner-spedizione-gratuita {
        bottom: 0;
        width: 100%;
    }
    #banner-spedizione-gratuita .sheet div {
        display: inline-block;
        float: left;
    }
    #banner-spedizione-gratuita .sheet img {
        width:30px;
        margin-top: 0;
        margin-right: 12px;
        vertical-align: sub;
    }
}

@media (max-width: 649px){
    body > .zopim {
        bottom: 50px!important;
    }
}

@media (max-width: 479px) {
    #banner-spedizione-gratuita .sheet div {
        display: none;
    }
}
@media (max-width: 399px) {
    body > .zopim:nth-child(2) {
        bottom: 80px!important;
    }
}

#zoorateMicrodata p {
    font-size: 11px;
    text-align: center;
}
.widget_merchant {
    text-align: center;
    margin-top: 20px;
}

.filter-button-group {
    width: auto;
}
.filter-button-group .button-small i {
    margin-right: 1px;

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

.reviews .review {
    width: calc(50% - 10px);
    padding: 20px;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .reviews .review {
        width: 100%;
    }
}
.reviews .review .rating {
    color: #b5a371;
    font-size: 18px;
    margin-bottom: 10px;
}

.reviews .review p {
    font-size: 15px;
    margin-top: 15px;
    font-family: "Crete Round", serif;
    line-height: 1.6!important;

}

button[disabled], html input[disabled] {
    cursor: default;
    opacity: 0.5!important;
}
