#cart {
    font-size: 14px;
}

#cart .cart-top {
    background-color: #f2f2f2;
    border-bottom: 1px solid #cfcfcf;
    font-weight: 200;
    font-size: 16px;
    line-height: 30px;
    color: #000000;

    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 30px;
    margin-top: 15px;
}

#cart .cart-top .container-fluid {
    background: transparent url("../images/cart/bg_top.jpg") no-repeat -30px center;
    max-width: 1637px;
}

#cart .cart-top .title {
    font-size: 22px;
}

#cart .cart-breadcrumb {
    color: #000;
}

#cart .cart-breadcrumb.affix {
    top: 0;
    width: 100%;
    background-color: #FFF;
    z-index: 99;
    border-bottom: 1px solid #cfcfcf;
}

#cart .cart-breadcrumb .container .go-to-checkout-bar {
    padding: 10px 15px;
}

#cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul {
    border-bottom: 0;
}

#cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul li a, #cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul a:hover,
#cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul a:visited, #cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul a:focus {
    background-color: #FFF;
    padding: 0;
    color: #000;
    border: 0;
}

#cart .cart-breadcrumb .container .go-to-checkout-bar .element {
    float: left;
    margin-right: 10px;
    font-size: 14px;
    color: #000;
}

#cart .cart-breadcrumb .container .go-to-checkout-bar .element.highlight, #cart .cart-breadcrumb .container .go-to-checkout-bar .element.active {
    font-weight: bold;
}

#cart .cart-breadcrumb .container .go-to-checkout-bar .element a, #cart .cart-breadcrumb .container .go-to-checkout-bar .element a:visited {
    color: #000;
}

#cart .cart-breadcrumb .container .go-to-checkout-bar .element.blocked {
    color: #888;
}

#cart .cart-breadcrumb .container .go-to-checkout-bar .element.highlight a, #cart .cart-breadcrumb .container .go-to-checkout-bar .element.highlight a:visited,
#cart .cart-breadcrumb .container .go-to-checkout-bar .element.highlight a:hover, #cart .cart-breadcrumb .container .go-to-checkout-bar .element.highlight a:focus,
#cart .cart-breadcrumb .container.go-to-checkout-bar .element.highlight {
    color: #000;
}

#cart .cart-step .btn-danger, #cart .cart-step .btn-danger:hover, #cart .cart-step .btn-danger:focus, #cart .cart-step .btn-danger:visited {
    color: #FFF !important;
    text-decoration: none !important;
}

#cart .cart-step {
    padding: 50px 0;
    border-bottom: 1px solid #cfcfcf;
    color: #000;
}

#cart #shipping-address /*#cart #billing-address*/
{
    background: #f2f2f2 url("../images/cart/bg-step-billing.jpg") 70% center no-repeat;
    background-size: auto 100%;
}

#cart #payments {
    background: #FFF url("../images/cart/bg-step-payments.jpg") 90% center no-repeat;
    background-size: auto 100%;
}

#cart #riep-order {
    background: #f2f2f2;
}

#cart #riep-costs {
    background: #f8f8f8;
    border-bottom: 0px;
}

#cart #close-order {
    background: #64a70c;
    border-bottom: 0px;
}

#cart .cart-step > .container-fluid {
    max-width: 1637px;
}

#cart .cart-step h2 {
    color: #000;
    font-weight: 600;
    font-size: 30px;
}

#cart .cart-step h2.thin {
    color: #000;
    font-weight: 200;
    font-size: 30px;
}

#cart .cart-step .cart-step-main-content {
    padding-left: 35px;
    padding-right: 15px;
    font-size: 16px;
    font-weight: normal;
    color: #000;
}

#cart .cart-step .cart-step-main-content.cart-main {
    padding-top: 0;
}

#cart .cart-step .cart-step-main-content a, #cart .cart-step .cart-step-main-content a:hover,
#cart .cart-step .cart-step-main-content a:visited, #cart .cart-step .cart-step-main-content a:focus {
    color: #000;
    text-decoration: underline;
}

#cart .cart-step .cart-step-main-content .text {
    padding-bottom: 40px;
}

#cart .cart-step .cart-step-main-content h3 {
    color: #000;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 20px;
}

#cart .cart-step .cart-step-main-content address {
    font-size: 16px;
}

#cart .cart-step .cart-step-main-content address.alternative-addr {
    float: left;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 2px solid #cfcfcf;
}

#cart .cart-step .cart-step-main-content address.alternative-addr:last-of-type {
    margin-right: 0px;
    border-right: 0px;
}

#cart .cart-step .btn-info.gray, #cart .cart-step .btn-info.gray:hover, #cart .cart-step .btn-info.gray:visited, #cart .cart-step .btn-info.gray:focus {
    color: #000;
    text-decoration: none;
    background-image: none;
    background-color: #cfcfcf;
    border-color: #cfcfcf;
    border-radius: 0;
    height: 40px;
    line-height: 30px;
}

#cart .cart-step .btn-info.gray.btn-add-address {
    width: 100%;
    max-width: 243px;
}

#cart .cart-step .cart-step-main-content .paytipes-box {
    border: 2px solid #cfcfcf;
    padding: 40px;
    padding-bottom: 10px;
    background-color: #FFF;
    width: 100%;
    max-width: 1000px;
}

#cart .cart-step .cart-step-main-content .paytipes-box .form-group {
    margin-bottom: 40px;
}

#cart .cart-step .cart-step-main-content .paytipes-box .form-group input[type='radio'] {
    margin-top: 15px;
}

#cart #riep-order.cart-step .cart-step-main-content a, #cart #riep-order.cart-step .cart-step-main-content a:visited,
#cart #riep-order.cart-step .cart-step-main-content a:focus, #cart #riep-order.cart-step .cart-step-main-content a:hover {
    text-decoration: none;
}

#cart .cart-step .total-row {
    background-color: #a2a2a2;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    font-size: 18px;
}

#cart .cart-step .total-row .total {
    color: #000;
}

#cart .cart-step .terms-of-sale {
    display: flex;
}

#cart .cart-step .terms-of-sale textarea {
    min-height: 230px;
}

#cart .cart-step .terms-of-sale .form-group {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#cart #close-order .close-btn {
    cursor: pointer;
}

#cart .btn-continue-shop-2 {
    background-color: #fff;
    color: #64a70c;
    border: 1px solid #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 6px 10px;
}

#cart .btn-continue-shop-2:hover {
    text-decoration: none;
}


.modal-alert-billing, .modal-alert-missing-sale-cond {
    font-size: 16px;
}

.modal-alert-billing h4, .modal-alert-missing-sale-cond h4 {
    font-weight: 600;
    font-size: 20px;
    color: #a94442;
}

.modal-alert-billing .btn-primary.black, .modal-alert-missing-sale-cond .btn-primary.black {
    background-color: #000;
    border-color: #000;
    color: #FFF;
    text-decoration: none;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 34px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
}

@media (max-width: 1670px) {

    #cart .cart-top .container-fluid {
        background-position: right center;
        background-size: auto 100%;
    }
}

@media (max-width: 1199px) {
    /* desktop normale */

}

@media (max-width: 991px) {
    /* tablet */

    #cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul li a, #cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul a:hover,
    #cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul a:visited, #cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul a:focus {
        font-size: 13px;
        line-height: 13px;
    }

    #cart .cart-breadcrumb .container .go-to-checkout-bar .element {
        font-size: 13px;
        line-height: 13px;
        margin-right: 5px;
    }

    #cart .cart-breadcrumb .container .go-to-checkout-bar .element.highlight, #cart .cart-breadcrumb .container .go-to-checkout-bar .element.active {
        font-size: 13px;
        line-height: 13px;
    }

    #cart #billing-address {
        background-image: none;
    }

    #cart #payments {
        background-image: none;
    }

    #cart .cart-step .cart-step-main-content {
        font-size: 16px;
    }

    #cart .cart-step .cart-step-main-content .text {
        padding-bottom: 20px;
    }

    #cart .cart-step .terms-of-sale {
        font-size: 14px;
    }

    #cart #riep-order.cart-step .cart-step-main-content .row-data {
        font-size: 13px;
    }

    #cart #riep-order.cart-step .cart-step-main-content h4 {
        font-size: 14px;
    }

    #cart #riep-order.cart-step .cart-step-main-content .single-price, #cart #riep-order.cart-step .cart-step-main-content .total-row-price {
        font-size: 12px;
    }

    #cart .content-btn {
        text-align: center;
        margin-bottom: 20px;
    }

    #cart .btn-continue-shop-2 {
        float: none;
    }
}

@media (max-width: 767px) {
    /* smartphone */

    #cart .cart-top .container-fluid {
        background-position: center center;
    }

    #cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul li a, #cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul a:hover,
    #cart .cart-breadcrumb .container.go-to-checkout-bar #navbar-cart ul a:visited, #cart .cart-breadcrumb .container .go-to-checkout-bar #navbar-cart ul a:focus {
        font-size: 10px;
        line-height: 10px;
    }

    #cart .cart-breadcrumb .container .go-to-checkout-bar .element {
        margin-right: 6px;
        margin-bottom: 4px;
        font-size: 10px;
        line-height: 10px;
    }

    #cart .cart-breadcrumb .container .go-to-checkout-bar .element.highlight, #cart .cart-breadcrumb .container .go-to-checkout-bar .element.active {
        font-size: 10px;
        line-height: 10px;
    }

    #cart .cart-step {
        padding: 20px 0;
        font-size: 14px;
    }

    #cart .cart-step h2, #cart .cart-step h2.thin {
        font-size: 18px;
        margin-top: 0;
    }

    #cart .cart-step .cart-step-main-content {
        padding-left: 20px;
        font-size: 14px;
    }

    #cart .cart-step .cart-step-main-content .text {
        padding-bottom: 15px;
    }

    #cart .cart-step .cart-step-main-content h3 {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 18px;
    }

    #cart .cart-step .cart-step-main-content address {
        font-size: 13px;
    }

    #cart .cart-step .cart-step-main-content address.alternative-addr {
        float: none;
        margin-right: 0;
        padding-right: 0;
        border-right: 0;
    }

    #cart .cart-step .cart-step-main-content .paytipes-box {
        padding: 0px;
        border: 0;
    }

    #cart .cart-step .cart-step-main-content .paytipes-box .form-group {
        margin-bottom: 20px;
    }

    #cart .cart-step .cart-step-main-content .paytipes-box .form-group input[type='radio'] {
        margin-top: 0px;
    }

    #cart .cart-step .total-row {
        font-size: 14px;
    }

    #cart .cart-step .terms-of-sale {
        display: block;
    }

    #cart .cart-step .terms-of-sale .form-group {
        position: static;
        margin-top: 15px;
        transform: none;
    }

    #cart #riep-order.cart-step .cart-step-main-content .img-thumbnail {
        max-width: 150px;
        margin: auto;
        display: block;
    }
}