/* popup bascet */
.white-popup#cartpop {
    padding: 40px 20px;
}

.cart_ul li {
    position: initial;
    padding: 0;
}

.table.cart_table {
    display: table;
}

.table.cart_table > tbody > tr {
    border-top: 1px solid #ddd;
}

.table.cart_table > tbody > tr > td {
    display: inline-block;
    border: none;
}

.table.cart_table > tbody > tr > td {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 0;
    padding-right: 0;
}

.cart_table tr td:nth-child(1) {
    width: 20%;
    text-align: left;
}

.cart_table tr td:nth-child(1) img.img-thumbnail {
    border: none;
}

.table.cart_table tr td:nth-child(2) {
    width: 80%;
    padding-left: 10px;
}

.cart_table tr td:nth-child(2) a {
    font-size: 18px;
    color: #222;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.3;
    -webkit-transition: .2s ease;
    transition: .2s ease;
    display: block;
    margin-bottom: 3px;
}

.cart_table tr td:nth-child(2) a:hover {
    color: #04A400;
}

.table.cart_table tr td:nth-child(3) {
    width: 24%;
    border: 1px solid #dadada;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
    margin-bottom: 10px;
}

.table.cart_table tr td:nth-child(3) span {
    font-size: 18px;
}

.table.cart_table tr td img.plusminus {
    padding: 6px 10px;
}

.cart_table tr td:nth-child(4) {
    width: 64%;
}

.cart_table tr td:nth-child(5) {
    width: 10%;
    text-align: right;
}

button.btn.btn-xs {
    background: #fff url(/catalog/view/theme/mirterras/image/close.svg) no-repeat center / cover;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
}

button.btn.btn-xs .fa.fa-times {
    display: none;
}

.cart_btns .btn.medium .fa.fa-share {
    display: none;
}

.cart_ul li:before {
    display: none;
}

button.mfp-close {
    color: #333;
    font-weight: bold;
}

.pull-right#cartpop {
    float: none !important;
    max-width: 600px;
}

table.table.table-bordered {
    display: table;
    border: none;
}

table.table-bordered > tbody > tr > td {
    display: inline-block;
    border: none;
    border-top: 1px solid #ddd;
}

table.table-bordered > tbody > tr > td:nth-child(1) {
    width: 81%;
}

table.table-bordered > tbody > tr > td:nth-child(2) {
    width: 18%;
    font-size: 18px;
}

.cart_btns a {
    float: left;
    width: 44%;
    text-align: center;
    margin: 0 3%;
}

.cart_btns:after {
    clear: both;
    display: table;
    content: " ";
}

.cart_btns .gost {
    font-size: 18px;
    line-height: 1.3;
    font-weight: bold;
    text-decoration: none;
    display: block;
    border: 1px solid #04A400;
    padding: 12px;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    white-space: initial;
    -webkit-transition: .4s ease;
    transition: .4s ease;
}

.cart_btns .gost:hover {
    background: #333;
    color: #fff;
    border: 1px solid #333;
}

.cart_btns .btn.medium {
    font-size: 18px;
    line-height: 1.3;
    font-weight: bold;
    text-decoration: none;
    display: block;
    /*border: 1px solid #FF3C40;*/
    padding: 12px;
    /*margin-bottom: 30px;*/
    text-align: center;
    /*border-radius: 0;*/
    cursor: pointer;
    white-space: initial;
    -webkit-transition: .4s ease;
    transition: .4s ease;
}

.cart_btns .btn.medium strong {
    font-weight: 600;
}

.polt_cart_diameter {
    margin-bottom: 2px;
}

.polt_cart_diameter img {
    width: 14px;
}

.polt_cart_weight img {
    width: 14px;
    margin-top: -5px;
}

.polt_cart_quantity img {
    width: 14px;

}


/* max-width: 767  */
@media (max-width: 767px) {
    .cart_table tr td:nth-child(1) {
        width: 15%;
    }

    .table.cart_table tr td:nth-child(2) {
        width: 85%;
    }

    .cart_btns a {
        float: none;
        width: 100%;
        margin: 0;
    }

    .cart_btns .gost {
        margin-bottom: 20px;
    }

    table.table-bordered > tbody > tr > td:nth-child(1) {
        width: 57%;
        padding-left: 0;
        text-align: left;
        font-size: 15px;
    }

    table.table-bordered > tbody > tr > td:nth-child(2) {
        width: 40%;
        padding-right: 0;
    }

    .table.cart_table tr td:nth-child(3) span {
        font-size: 16px;
    }

    .table.cart_table tr td:nth-child(3) {
        width: 44%;
    }

    .table.cart_table tr td:nth-child(4) {
        width: 46%;
    }


}

/*end max-width: 767  */

/* end popup bascet */


/*  bascet simplecheckout */
.simplecheckout-block input[type="radio"] {
    position: absolute;
    left: 0;
    top: 4px;
    display: inline-block;
    margin: 0 5px 0 0;
    padding: 0;
    border: none;
    width: 14px;
    height: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    box-shadow: none;
}

.simplecheckout-block input[type="radio"]:before {
    height: 15px;
    width: 15px;
    margin-right: 2px;
    content: " ";
    display: inline-block;
    vertical-align: baseline;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #FF3C40;
    top: 0;
    position: absolute;
    left: -2px;
    cursor: pointer;
}

.simplecheckout-block input[type="radio"]:checked:after {
    background: #FF3C40;
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    text-align: center;
    top: 4px;
    left: 2px;
    margin: auto;
}

.simplecheckout-block .radio label {
    font-size: 16px;
    color: #333;
    line-height: 1.2;
    padding-left: 20px;
}

.simplecheckout-block {
    margin-top: -15px;
    margin-bottom: 15px;
}

.simplecheckout-block::after {
    display: table;
    content: " ";
    clear: both;
}

.panel-default > .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.panel-heading {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

.simplecheckout-block {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    margin: 24px 0 20px;
}

#simplecheckout_customer {
    margin: 0;
    border: none;
    box-shadow: none;
}

#simplecheckout_shipping_address {
    margin: 0;
    border: none;
    box-shadow: none;
}

#simplecheckout_customer fieldset {
    border: none;
    padding: 0;
}

#simplecheckout_shipping_address fieldset {
    border: none;
    padding: 0;
}

select.form-control {
    background: url(/catalog/view/theme/mirterras/image/arrow_filter.svg) right 12px center no-repeat !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-top: 0;
    padding-bottom: 0;
}

.form-control {
    width: 100% !important;
    border-radius: 5px !important;
    padding: 15px 20px;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: none;
    height: 50px;
    font-size: 16px;
    color: #777;
    text-align: left;
}

#simplecheckout_comment textarea#comment {
    border: none;
}

#simplecheckout_customer .control-label.col-sm-4, #simplecheckout_shipping_address .control-label.col-sm-4 {
    width: auto;
    text-align: left;
    padding: 0 8px;
    margin: 0 0 -10px 10px;
    z-index: 11;
    background: #fff;
}

#simplecheckout_customer .form-group .col-sm-8,
#simplecheckout_shipping_address .form-group .col-sm-8 {
    width: 100%;
    padding: 0;
}

#simplecheckout_form_0 .simplecheckout-button-block {
    text-align: left;
}

#simplecheckout_form_0 .simplecheckout-button-right {
    float: left;
    text-align: left;
}

#simplecheckout_form_0 .simplecheckout-left-column {
    width: 70%;
    float: right;
    margin: 0;
    padding-left: 30px;
}

#simplecheckout_form_0 .simplecheckout-right-column {
    width: 30%;
    float: left;
    min-width: auto;
}

table.simplecheckout-cart {
    border: none;
}

#simplecheckout_cart table.simplecheckout-cart thead tr th {
    background-color: #f6f6f6 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.1;
}

#simplecheckout_cart table.simplecheckout-cart tbody tr td {
    border-left: none !important;
    border-right: none !important;
}

.simplecheckout-cart-total#total_sub_total,
.simplecheckout-cart-total#total_shipping {
    border-left: none !important;
    border-right: none !important;
}

.simplecheckout-cart-total#total_total {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

button.btn.btn-primary {
    background: #fff;
    border: none;
    padding: 10px;
}

button.btn.btn-primary:hover {
    background: #fff;
    box-shadow: none;
}

button.btn.btn-primary .fa-minus {
    background: #fff url(/catalog/view/theme/mirterras/image/c_minus.svg) no-repeat center;
    padding: 10px;
    width: 10px;
    height: 2px;
}

button.btn.btn-primary .fa-plus {
    background: #fff url(/catalog/view/theme/mirterras/image/c_plus.svg) no-repeat center;
    padding: 10px;
    width: 10px;
    height: 10px;
}

.input-group-btn:last-child > .btn {
    margin-left: 0;
}

#simplecheckout_cart .input-group.btn-block .form-control {
    min-width: 50px;
    padding: 10px;
    text-align: center;
}

button.btn.btn-danger {
    background: #fff url(/catalog/view/theme/mirterras/image/close.svg) no-repeat center / cover;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
}

#simplecheckout_cart table.simplecheckout-cart tbody tr td.name {
    text-align: left;
}

#simplecheckout_cart table.simplecheckout-cart tbody tr td.name a {
    font-size: 18px;
    color: #555;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.3;
    -webkit-transition: .2s ease;
    transition: .2s ease;
    display: block;
    margin-bottom: 3px;
}

#simplecheckout_cart table.simplecheckout-cart tbody tr td.name a:hover {
    color: #FF3C40;
}

#simplecheckout_cart table.simplecheckout-cart tbody tr td.image img {
    border-radius: 5px;
}
td.quantity {
    min-width: 90px;
    text-align: center;
}
td.image {
    width: 80px;
}
.checkout-checkout span.error {
    color: #ff0000;
    margin: -25px auto 25px;
    display: block;
}
/* max-width: 1199 */
@media (max-width: 1199px) {
    #simplecheckout_form_0 .simplecheckout-left-column {
        float: none;
        padding: 0;
        min-width: auto !important;
        max-width: 1900px !important;
        width: 100% !important;
    }

    #simplecheckout_form_0 .simplecheckout-right-column {
        width: 100%;
        float: none;
        min-width: auto !important;
        max-width: 1900px !important;
        width: 100% !important;
    }


}

/*end max-width: 1199 */


/* max-width: 767 */
@media (max-width: 767px) {
    .simplecheckout-block input[type="radio"]:before {
        width: 20px;
        height: 20px;
        top: -2px;
        left: -4px;
    }

    .simplecheckout-block input[type="radio"]:checked:after {
        width: 10px;
        height: 10px;
        top: 3px;
        left: 1px;
    }

    .simplecheckout-block .radio label {
        padding-left: 25px;
    }

    .simplecheckout-block input[type="radio"] {
        top: 6px;
    }

    .simplecheckout-block-content .radio {
        margin-bottom: 20px;
    }

    #simplecheckout_customer .control-label.col-sm-4, #simplecheckout_shipping_address .control-label.col-sm-4 {
        display: table !important;
    }

    table.simplecheckout-cart {
        display: table;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td {
        display: inline-block !important;
        border: none;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr {
        border-top: 1px solid #ddd;
        display: inline-block;
        width: 100%;
    }

    .cart-info-in table thead {
        display: none;
    }

    .table-responsive {
        border: none;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody {
        display: table-caption;
    }

    /*.cart-info-in table tbody {
        display: table-caption;
    }*/
    .cart-info table tr td {
        display: inline-block !important;
        border: none !important;
    }

    .checkout-checkout table tr {
        border-top: 1px solid #ddd;
        text-align: right;
    }

    .cart-info-in table tbody tr td.image {
        width: 22%;
    }

    .cart-info-in table tbody tr td.image img {
        max-width: 100% !important;
    }

    .cart-info-in table tbody tr td.name {
        width: 78%;
    }

    .cart-info-in table tbody tr td.price {
        width: 48%;
        text-align: right;
    }

    .checkout-checkout .cart-info .cart-info-in table tbody tr td.quantity {
        width: 52%;
        text-align: left;
    }

    .checkout-checkout .cart-info .cart-info-in table tbody tr td.quantity img.plusminus {
        padding: 10px 20px;
    }

    tr.subtotal td.name.subtotal {
        width: 60%;
        white-space: initial;
        display: inline-block !important;
    }

    tr.subtotal td.price {
        width: 40%;
    }

    table.table.table-bordered tbody tr:nth-child(1) {
        display: none;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr:nth-child(1) {
        border-top: none;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td:nth-child(1) {
        width: 30%;
        text-align: left;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td:nth-child(2) {
        width: 68%;
        padding-left: 10px;
    }

    #simplecheckout_form_0 .simplecheckout-cart td.name div.image {
        display: none;
    }

    #simplecheckout_form_0 .simplecheckout-cart td.quantity button[data-onclick*="Quantity"] {
        display: block;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td:nth-child(3) {
        display: none !important;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td:nth-child(4) {
        width: 24%;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td:nth-child(4) {
        width: 48%;
        padding-left: 0;
    }

    .simplecheckout-cart td.quantity .input-group {
        display: table;
    }

    #simplecheckout_cart .input-group.btn-block .form-control {
        min-width: 40px;
        width: 40px !important;
        height: 40px;
        padding: 4px;
        text-align: center;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td:nth-child(5) {
        display: none !important;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td:nth-child(6) {
        width: 36%;
        text-align: right;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td:nth-child(7) {
        width: 12%;
        text-align: center;
    }

    #simplecheckout_form_0 .simplecheckout-button-right {
        float: none;
        text-align: center;
    }

    #simplecheckout_cart table.simplecheckout-cart tbody tr td.image img {
        max-width: 100%;
    }


}

/*end max-width: 767 */

/* end bascet simplecheckout */

.loading {
    position: relative;
}

.loading:after {
    display: block;
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.5) url(/catalog/view/theme/mirterras/image/loading.svg) no-repeat center center / 110px auto;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    z-index: 99999;
}

.checkout-checkout .remove button {
    border-radius: 30px;
    border: transparent;
    background: #333;
    color: #fff;
    height: 18px;
    width: 18px;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 12px;
}

.checkout-checkout table thead {
    background: #f6f6f6;
}

.checkout-checkout table {
    margin-bottom: 0;
    border: 1px solid #ddd;
}

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

#confirm {
    text-align: center;
    margin-top: 30px;
}

#polt_cart_inp_qnt {
    text-align: center;
    max-width: 30px;
}