/*Cart*/
.hidden {
    display:none
}
.page-template-page-cdek {
    background:#f3f3f3
}
.page-template-page-cdek.woocommerce-order-received {
    background:#fff
}
.page-template-page-cdek .main-content > .woocommerce-message {
    margin: 0 auto;
    max-width: 1200px;
    box-sizing: border-box;
}
.page-template-page-cdek .u-bi--bread, .page-template-page-cdek > header, .page-template-page-cdek > footer,
.page-template-page-cdek > footer > div {
    background-color:#fff
}
.page-template-page-cdek > footer > .h-container {
    margin-top:0;
    padding-top:21px
}
.page-template-page-cdek.woocommerce-cart .main-content .woocommerce {
    display:flex;
    align-items: flex-start;
}
.page-template-page-cdek .woocommerce > form, .page-template-page-cdek .cart-collaterals {
    border-radius:8px;
    background-color:#fff;
}
.page-template-page-cdek .woocommerce table.shop_table {
    margin:0;
    border:none
}
.page-template-page-cdek .cart-collaterals {
    padding:23px 28px 25px 25px;
    flex-basis:38%
}
.page-template-page-cdek .woocommerce > form .shop_table tr th,
.page-template-page-cdek .woocommerce > form .shop_table tr td {
    padding:25px 15px
}
.page-template-page-cdek .woocommerce > form .shop_table tr th.first,
.page-template-page-cdek .woocommerce > form .shop_table tr td.first {
    padding-left:25px
}
.page-template-page-cdek .woocommerce > form .shop_table tr th.last,
.page-template-page-cdek .woocommerce > form .shop_table tr td.last {
    padding-right:25px
}
.page-template-page-cdek .woocommerce table.shop_table th {
    color:#999;
    font-size:16px;
    text-align:center
}
.page-template-page-cdek .woocommerce table.shop_table th.first {
    color:#000;
    font-size:25px;
    text-align:left
}
.page-template-page-cdek .woocommerce table.shop_table th.first span {
    color:#999;
    font-weight: normal;
}
.page-template-page-cdek .woocommerce table.shop_table td {
    line-height:1.2
}
.page-template-page-cdek.woocommerce-cart table.cart .product-thumbnail {
    min-width:100px;
    max-width:155px;
}
.page-template-page-cdek.woocommerce-cart table.cart .product-thumbnail img {
    width:100%
}
.page-template-page-cdek .product-title a.product-name {
    color:#000;
    font-weight: bold;
    font-size:16px
}
.page-template-page-cdek .product-title .cut-opener {
    display:inline-block;
    font-size:13px;
    border-bottom: 1px dashed #f00;
}
.page-template-page-cdek .product-title .mobile-price, .page-template-page-cdek .product-favorite,
.page-template-page-cdek .remove-mobile, .page-template-page-cdek .cart_totals-mobile,
.page-template-page-cdek .woocommerce table.shop_table .cart-mobile-header{
    display:none
}
.page-template-page-cdek .product-title .wd_product_excerpt {
    color:#333;
    font-size:13px;
    height:100px;
    overflow:hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 95%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 95%);
    margin:0
}
.page-template-page-cdek .product-title .wd_product_excerpt.rolled {
    height:auto !important;
    overflow:visible;
    -webkit-mask-image:none;
    mask-image:none
}
.page-template-page-cdek .product-title .wd_product_excerpt ul {
    padding:0;
    margin-left: 15px;
}
.page-template-page-cdek .product-price {
    white-space:nowrap;
    font-weight: bold;
    font-size:16px
}
.page-template-page-cdek .product-quantity .l-product__configurator-field.quantity span,
.page-template-page-cdek .product-quantity .l-product__configurator-field.quantity input {
    background-color:#fff;
    font-size:13px;
    border:none
}
.page-template-page-cdek .remove-product a.remove {
    white-space: nowrap;
    display: flex;
    align-items: center;
    width:auto
}
.page-template-page-cdek .remove-product a b{
    border: 1px solid #f00;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    line-height: 20px;
    margin-right: 2px;
}
.page-template-page-cdek .remove-product a span {
    font-size:11px;
    border-bottom: 1px dashed #f00;
}
.page-template-page-cdek .remove-product a.remove:hover {
    background:none;
    color:#f00 !important;
}
.page-template-page-cdek .remove-product a.remove:hover b{
    background:#f00;
    color:#fff;
}
.page-template-page-cdek .cart-collaterals {
    width:auto;
    margin-left:2%
}
.page-template-page-cdek .cart-collaterals .cart_totals {
    float:none;
    width:100%
}
.page-template-page-cdek .cart-collaterals .cart_totals .blockUI.blockOverlay {
    opacity:0.5 !important;
}
.page-template-page-cdek .checkout-button {
    color:#000 !important;
    background-color:#FFCC33 !important;
    border-bottom:2px solid #E4B00F !important;
    font-size:17px !important;
}
.page-template-page-cdek p.small {
    color: #777;
    font-size: 12px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 25px;
    margin-bottom: 0;
}
.page-template-page-cdek .wd_title_cart {
    display:flex;
    align-items: center;
    justify-content:space-between;
}

.page-template-page-cdek .wd_title_cart h2 {
    font-size:20px
}

.page-template-page-cdek .wd_title_cart span {
    font-size:14px
}

.page-template-page-cdek .cart-subtotal {
    font-size:13px;
    color:#999
}
.page-template-page-cdek .cart-subtotal .woocommerce-Price-amount {
    white-space: nowrap;
}
.page-template-page-cdek .total.order-total th,
.page-template-page-cdek .total.order-total .woocommerce-Price-amount {
    font-size:18px;
    line-height:1.5
}
.page-template-page-cdek .cart-subtotal th, .page-template-page-cdek .order-total th{
    width:100%;
    text-align:left;
    font-weight:normal;
    font-size:15px;
    white-space: nowrap;
}
.page-template-page-cdek .cart-subtotal td, .page-template-page-cdek .order-total td {
    text-align:right;
    font-weight:bold;
    padding-bottom:25px
}

.page-template-page-cdek .order-total td, .page-template-page-cdek .order-total th{
    font-size:13px;
    font-weight:bold !important;
    border-top:1px solid #ccc !important;
    padding-top:25px;
    padding-bottom:0
}
.page-template-page-cdek .is-legacy-checkout #order_review {
    display:block;
}

@media(max-width:1199px) {
    .page-template-page-cdek.woocommerce-cart .main-content .woocommerce {
        flex-wrap:wrap
    }
    .page-template-page-cdek .cart-collaterals {
        width:100%;
        flex-basis: 100%;
        margin-left:0
    }
    .page-template-page-cdek .cart_totals table {
        width:100%
    }
}


@media(max-width:768px) {
    .page-template-page-cdek .woocommerce table.cart, .page-template-page-cdek .woocommerce table.cart tr {
        display:flex;
    }
    .page-template-page-cdek .woocommerce table.cart {
        flex-wrap: wrap;
    }
    .page-template-page-cdek .woocommerce table.cart thead {
        flex-basis: 100%;
        border-bottom:1px solid #ccc;
    }
    .page-template-page-cdek .woocommerce table.cart thead th {
        color:#000;
        font-size:18px;
    }
    .page-template-page-cdek .woocommerce table.shop_table .cart-mobile-header {
        display:block;
    }
    .page-template-page-cdek .woocommerce table.cart tbody tr {
        flex-wrap:wrap;
        border-bottom:10px solid #f3f3f3
    }
    .page-template-page-cdek .woocommerce > form .shop_table tr td {
        border-top:none
    }
    .page-template-page-cdek .woocommerce > form .shop_table tr th.first,
    .page-template-page-cdek .woocommerce > form .shop_table tr td.first {
        padding-left:5%
    }
    .page-template-page-cdek .woocommerce > form .shop_table tr th.last,
    .page-template-page-cdek .woocommerce > form .shop_table tr td.last {
        padding-right:1%
    }
    .page-template-page-cdek .woocommerce table.cart .product-thumbnail {
        display:block !important;
        flex-basis:30%;
        min-width:unset;
    }
    .page-template-page-cdek .woocommerce table.cart .product-title {
        flex-basis:50%
    }
    .page-template-page-cdek .product-title .mobile-price, .page-template-page-cdek .product-favorite,
    .page-template-page-cdek .remove-mobile{
        display:block;
        font-weight:bold;
        font-size:24px;
        clear:both
    }
    .page-template-page-cdek .woocommerce table.cart thead > tr:last-of-type, .page-template-page-cdek .woocommerce table.cart .product-price,
    .page-template-page-cdek .woocommerce .remove-product a.remove
    {
        display:none
    }
    .page-template-page-cdek .woocommerce table.cart .product-quantity {
        flex-basis:33%;
        padding:20px 5%;
        border:none;
        border-top:1px solid #ccc;
    }
    .page-template-page-cdek .woocommerce table.cart .product-quantity .h-quantity-control {
        padding:0
    }
    .page-template-page-cdek .woocommerce table.cart .product-quantity .h-quantity-control__placeholder {
        top:-3px;
    }
    .page-template-page-cdek .woocommerce table.cart .remove-product,
    .page-template-page-cdek .woocommerce table.cart .product-favorite {
        flex-basis:28%;
        padding:20px 0;
        border-top:1px solid #ccc;
    }
    .page-template-page-cdek .woocommerce table.cart .remove-product a.remove-mobile,
    .page-template-page-cdek .woocommerce table.cart .product-favorite a{
        display:block;
        text-align:center;
        color:#999
    }
    .page-template-page-cdek .cart_totals {
        display:none
    }
    .page-template-page-cdek .cart-collaterals {
        padding:0
    }
    .page-template-page-cdek .cart_totals-mobile {
        display:flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        background-color:#fff;
        position:fixed;
        left:0;
        right:0;
        bottom:0;
        padding:10px;
        z-index:1000;
        -webkit-box-shadow: 0px -2px 5px 0px rgba(34, 60, 80, 0.2);
        -moz-box-shadow: 0px -2px 5px 0px rgba(34, 60, 80, 0.2);
        box-shadow: 0px -2px 5px 0px rgba(34, 60, 80, 0.2);
    }
    .page-template-page-cdek .cart_totals-mobile .woocommerce-Price-amount {
        font-size:25px
    }
    .page-template-page-cdek .cart_totals-mobile .wc-proceed-to-checkout {
        padding:0
    }
    .page-template-page-cdek .cart_totals-mobile a.checkout-button {
        margin-bottom:0;
        font-size:16px
    }
}
@media (max-width:379px) {
    .page-template-page-cdek .cart_totals-mobile .woocommerce-Price-amount {
        font-size:20px;
        white-space:nowrap;
    }
    .page-template-page-cdek .cart_totals-mobile a.checkout-button {
        font-size:13px !important;
    }
}
/*Checkout*/
.page-template-page-cdek a.back-to-cart {
    padding: 1rem 0;
    font-size: 14px;
    display: block;
}

.page-template-page-cdek .is-legacy-checkout {
    padding:0
}
.page-template-page-cdek .woocommerce-NoticeGroup {
    flex-basis: 100%;
}
.page-template-page-cdek .is-legacy-checkout .qmax_checkout_block_wrapp{
    margin-bottom: 1rem;
    padding:1rem;
    background:#fff
}
.page-template-page-cdek .woocommerce-checkout #payment{
    background:#fff
}
.page-template-page-cdek .is-legacy-checkout .accordion-heading {
    padding:1rem 0;
}
.page-template-page-cdek .is-legacy-checkout h3.heading-title {
    font-size:20px;
}
.page-template-page-cdek .is-legacy-checkout h3.heading-title span {
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    margin-right: 5px;
    width: 20px;
    display: inline-block;
    text-align: center;
    line-height: 20px;
    padding:4px;
}
.page-template-page-cdek .is-legacy-checkout .accordion-heading small {
    color: #666;
    font-weight: normal;
}
.page-template-page-cdek .is-legacy-checkout .form-row {
    padding:0 1rem 1rem;
    box-sizing:border-box;
}
.page-template-page-cdek .is-legacy-checkout .form-row-first {
    float:none;
    width:100%
}
.page-template-page-cdek .is-legacy-checkout .form-row label {
    font-size:20px;
    font-weight: bold;
}
.page-template-page-cdek .is-legacy-checkout .form-row label.checkbox {
    line-height: 1.5;
    color: #666;
    font-weight: normal;
    font-size:15px
}
.page-template-page-cdek .is-legacy-checkout .form-row input {
    border:1px solid #bbb;
    padding:.5rem
}
.page-template-page-cdek .woocommerce form .form-row.woocommerce-validated input {
    border-color:#FFCD30 !important;
}
.page-template-page-cdek .woocommerce form .form-row.woocommerce-invalid input {
    border-color:#E04242 !important;
    border-radius: 3px;
}
.page-template-page-cdek .woocommerce form .form-row.woocommerce-validated .woocommerce-input-wrapper {
    position:relative;
    display:block;
    font-size:18px;
}
.page-template-page-cdek .woocommerce form .form-row label .optional {
    color:#999;
    font-weight: normal;
}
.page-template-page-cdek .woocommerce form .form-row input {
    padding:1rem .5rem
}
.page-template-page-cdek .is-legacy-checkout .form-row.woocommerce-validated .woocommerce-input-wrapper:after {
    font-family:"FontAwesome";
    content:"\f00c";
    position:absolute;
    right:10px;
    top:16px;
    color:#FFCD30;
}
#order_comments_field .woocommerce-input-wrapper:after{
    display:none
}
.page-template-page-cdek .is-legacy-checkout li.active .form-row.woocommerce-validated .woocommerce-input-wrapper:after{
    right:10px;
    top:17px;
}

.page-template-page-cdek .is-legacy-checkout li.active .woocommerce-validated#billing_city_field .woocommerce-input-wrapper:after {
    top:8px;
    right: 10px;
}

.page-template-page-cdek .checkout_content #billing_postcode_field,
.page-template-page-cdek .checkout_content #billing_address_1_field,
.page-template-page-cdek .checkout_content #billing_city_field {
    display:none;
}

.page-template-page-cdek .checkout_content li.active #billing_address_1_field,
.page-template-page-cdek .checkout_content li.active #billing_city_field {
    display:block;
}

.page-template-page-cdek .is-legacy-checkout #shipping_method {
    border:none !important;
    margin-bottom:0;
}
.page-template-page-cdek .woocommerce ul#shipping_method li {
    outline-color: #fff;
    margin: 1rem;
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    flex-basis: 100%;
    border: 2px solid #e8e8e8;
    box-sizing: border-box;
    border-radius: 8px;
    background-color:#f5f5f5
}

.page-template-page-cdek .is-legacy-checkout ul#shipping_method li > label {
    padding: 1rem 2rem 1rem 1rem;
    box-sizing: border-box;
    height:100%;
    width:100%;
    z-index:11;
}
.page-template-page-cdek .is-legacy-checkout ul#shipping_method li > label b{
    font-size:20px;
    font-weight: bold;
    display:block
}
.page-template-page-cdek .is-legacy-checkout ul#shipping_method li > label span {
    display:inline-block
}
.page-template-page-cdek .is-legacy-checkout ul#shipping_method li label .woocommerce-Price-amount, span.woo-noprice {
    color:#888;
    margin-top:10px
}
span.woo-noprice {
    font-weight: 700;
}
#shipping_method li#flat_rate #billing_city_field {
    display:none
}
.page-template-page-cdek #delivery_points {
    padding: 0 1rem;
    margin: 0 1rem;
    border: 2px solid #FFCD30;
    border-top: none;
    background:#F9F5EA;
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
}

.page-template-page-cdek .woocommerce ul#shipping_method li.active {
    background:#F9F5EA;
    border: 2px solid #FFCD30;
    height:auto;
}

.page-template-page-cdek .woocommerce ul#shipping_method li .virus-warning {
    display:none;
    font-size:14px
}

.page-template-page-cdek .woocommerce ul#shipping_method li.active .virus-warning {
    display:block
}

.page-template-page-cdek .woocommerce ul#shipping_method li.edostavka.active {
    background:#F9F5EA;
    border-bottom:none;
    margin-bottom:0;
    border-radius: 8px 8px 0 0;
}
.page-template-page-cdek .woocommerce ul#shipping_method li#edostavka-package-door-door.active,
.page-template-page-cdek .woocommerce ul#shipping_method li#edostavka-oversize-express-door-door.active {
    border-radius:8px;
    border-bottom: 2px solid #FFCD30;
}

.is-legacy-checkout #shipping_method li:hover {
    background: #FEFAEF;
    border-color:#FDCC32
}

.is-legacy-checkout #shipping_method input[type='radio'],
.is-legacy-checkout #shipping_method label,
.is-legacy-checkout #checkout_dop input[type='radio']{
    cursor: pointer;
}

.is-legacy-checkout #shipping_method input[type='radio'],
.is-legacy-checkout #checkout_dop input[type='radio']{
    position: absolute;
    top: 3px;
    right: 0;
    height: 22px;
    width: 22px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    z-index:10
}

.is-legacy-checkout #shipping_method input[type='radio']::before,
.is-legacy-checkout #checkout_dop input[type='radio']::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 3px solid #e8e8e8;
}

.is-legacy-checkout #shipping_method input[type='radio']:checked::before,
.is-legacy-checkout #checkout_dop input[type='radio']:checked::before{
    background-color:#FCCC2E;
    border: 2px solid #FCCC2E;
}

.is-legacy-checkout #shipping_method input[type='radio']:checked::after,
.is-legacy-checkout #checkout_dop input[type='radio']:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
    transform: translate(-50%, -50%);
    visibility: visible;
}

.is-legacy-checkout #shipping_method #billing_city_field .select2-selection__rendered {
    color:#000;
    padding:0
}
.is-legacy-checkout #shipping_method #billing_city_field .select2-selection__arrow {
    display:none
}

.page-template-page-cdek .checkout_content .delivery-block .form-row {
    background:#F9F5EA;
}
.page-template-page-cdek .checkout_content .delivery-block #shipping_method .form-row {
    width:100%
}
.page-template-page-cdek .woocommerce-checkout-review-order-table {
    margin: 1rem 0 0;
    padding: 1rem 0 0;
}
.page-template-page-cdek .woocommerce-checkout-review-order-table > div {
    display:flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: .5rem 1rem;
    font-size: 20px;
    color: #000;
}
.page-template-page-cdek .woocommerce-checkout-review-order-table .order-total {
    border-top:1px solid #999;
    font-weight: bold;
    font-size: 25px;
    margin:1rem 0
}
.page-template-page-cdek .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
    white-space: nowrap;
}
.page-template-page-cdek .woocommerce-page #payment .terms {
    margin:0 1rem 0.5rem;
    font-size:12px;
    color:#444;
    line-height:1.7
}
.page-template-page-cdek .woocommerce-page #payment .terms a {
    color:#f00;
    font-weight: bold;
}
.page-template-page-cdek .woocommerce #payment #place_order {
    border:none;
    padding:1.5rem 1rem;
    width:100%
}
.page-template-page-cdek .woocommerce form .form-row .woocommerce-input-wrapper .description {
    background:#f7f9fb;
    color:#f00;
    border:none;
    padding:0;
    margin:0;
    font-size:12px
}
.page-template-page-cdek .woocommerce form .form-row .woocommerce-input-wrapper .description::before {
    display:none
}
.page-template-page-cdek #qm_window_photo {
    color: #000;
    background-color: #FFCC33;
    border-bottom: 2px solid #E4B00F;
    font-size: 14px;
    margin-right:1rem;
    text-transform: uppercase;
}
.page-template-page-cdek .qm_window_photo_info {
    font-size:12px
}
.page-template-page-cdek .is-legacy-checkout .form-row.photo-block {
    padding-bottom:0
}

.page-template-page-cdek .photo-block label {
    line-height: 1.5 !important;
    font-size: 16px !important;
    margin: 1rem 0;
    font-weight: normal !important
}
@media(min-width:1199px) {
    .page-template-page-cdek form.checkout {
        display:flex;
        flex-wrap:wrap;
        justify-content: space-between;
        flex-shrink: 0;
        flex-grow: 0;
    }
    .page-template-page-cdek > div {
        min-width:0;
        box-sizing: border-box;
    }
    .page-template-page-cdek form.checkout > .left-checkout {
        flex-basis:60%;
    }
    .page-template-page-cdek form.checkout > div:last-of-type {
        flex-basis:38%;
        margin-top:73px
    }
    .page-template-page-cdek .qmax_checkout_block_wrapp {
        border-radius: 8px;
        padding:0 1rem
    }
    .page-template-page-cdek .woocommerce-checkout-review-order-table {
        margin:0
    }
    .page-template-page-cdek .is-legacy-checkout .form-row label {
        font-size:13px;
        font-weight: bold;
    }
}
@media (max-width:767px) {
    .page-template-page-cdek .checkout_content {
        margin: 0 1rem
    }
    .page-template-page-cdek .is-legacy-checkout .qmax_checkout_block_wrapp {
        padding: 1rem 0
    }
    .page-template-page-cdek .is-legacy-checkout .h-container {
        max-width: 100%;
        padding:0;
        margin-top:0
    }
    .page-template-page-cdek .woocommerce form .form-row input {
        padding:.5rem
    }
    .page-template-page-cdek .is-legacy-checkout .form-row.woocommerce-validated .woocommerce-input-wrapper:after {
        top:11px;
    }
}


/*File upload*/
@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}

@keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}

.is-legacy-checkout .progress {
    overflow: hidden;
    height: 20px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.is-legacy-checkout .progress-bar {
    float: left;
    width: 0%;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #ffffff;
    text-align: center;
    background-color: #428bca;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition: width 0.6s ease;
    transition: width 0.6s ease;
}

.is-legacy-checkout .progress-striped .progress-bar {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}

.is-legacy-checkout .progress.active .progress-bar {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
}

.is-legacy-checkout .progress-bar-success {
    background-color: #5cb85c;
}

.is-legacy-checkout .progress-striped .progress-bar-success {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.is-legacy-checkout .progress-bar-info {
    background-color: #5bc0de;
}

.is-legacy-checkout .progress-striped .progress-bar-info {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.is-legacy-checkout .progress-bar-warning {
    background-color: #f0ad4e;
}

.is-legacy-checkout .progress-striped .progress-bar-warning {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.is-legacy-checkout .progress-bar-danger {
    background-color: #d9534f;
}

.is-legacy-checkout .progress-striped .progress-bar-danger {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
}

.is-legacy-checkout .media,
.is-legacy-checkout .media-body {
    overflow: hidden;
    zoom: 1;
}

.is-legacy-checkout .media,
.is-legacy-checkout .media .media {
    margin-top: 15px;
}

.is-legacy-checkout .media:first-child {
    margin-top: 0;
}

.is-legacy-checkout .media-object {
    display: block;
}

.is-legacy-checkout .media-heading {
    margin: 0 0 5px;
}

.is-legacy-checkout .media > .pull-left {
    margin-right: 10px;
}

.is-legacy-checkout .media > .pull-right {
    margin-left: 10px;
}

.is-legacy-checkout .media-list {
    padding-left: 0;
    list-style: none;
}

.is-legacy-checkout .qm_window_photo_info, .is-legacy-checkout .file-list-wrap {
    font-size: 12px;
}

.is-legacy-checkout .file-list-wrap .fa-trash-o {
    color: red;
    cursor: pointer;
    margin: 5px;
}

.is-legacy-checkout .file-list-wrap {
    margin: 1em 0;
}

.is-legacy-checkout .file-list-wrap p {
    margin-bottom: 5px;
}
#edostavka_map {
    height:400px
}
#local_pickup p.form-row {
    display:none !important;
}
#ranges_method #billing_city_field, #qmax_method #billing_city_field, #mcad_method #billing_city_field {
    display:none
}
#qmax_shipping_km_field {
    align-items: center;
}
@media(max-width:400px) {
    #qmax_shipping_km_field {
        flex-wrap: wrap
    }
}
#qmax_shipping_km_field .quantity {
    display:flex;
    max-width: 25%;
    position: relative!important;
    margin: 0 2rem 1rem 0 !important;
}
#qmax_shipping_km_field .quantity .plus {
    top: 0;
    background-color: #fff;
    background:url(../../red20/dist/img/ic-plus.png) bottom no-repeat
}

#qmax_shipping_km_field .quantity .minus, #qmax_shipping_km_field .quantity .plus {
    cursor: pointer;
    position: absolute;
    left: auto;
    border: 0;
    right: 0;
    color: #fff !important;
    text-indent: 0;
    font-family: arial !important;
    font-size: 0 !important;
    content: "";
    display: inline-block;
    width: 30px;
    height: 18px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    -webkit-appearance: none;
    transition: all .3s ease-in-out 0;
    -moz-transition: all .3s ease-in-out 0;
    -webkit-transition: all .3s ease-in-out 0;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius:0
}

#qmax_shipping_km_field .quantity .minus {
    bottom: 0;
    margin: 0;
    background-color: #fff;
    background:url(../../red20/dist/img/ic-minus.png) top no-repeat
}
#qmax_shipping_km_field input[type=number] {
    border: 2px solid #fff;
    border-radius: 3px;
    box-shadow: 0 0 4px rgba(0,0,0,.27);
    -webkit-appearance: none;
    height: 35px;
    padding: 0 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 30px;
    width: 100%;
    max-width:60px
}
#qmax_shipping_km_field label {
    line-height: 14px;
    font-size: 13px;
    font-weight: normal;
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 0 10px 2px 0;
    color: #333;
}
#checkout_dop {
    list-style: none;
    margin:0;
    padding:0;
}
#checkout_dop li {
    display:grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 1rem;
}
#checkout_dop li > label {
    background: #f5f5f5;
    border: 2px solid #e8e8e8;
    height: auto;
    border-radius: 8px;
    padding:1rem;
    margin:5px;
    position:relative;
    cursor: pointer;
}
#checkout_dop li > label.active {
    background: #F9F5EA;
    border: 2px solid #FFCD30;
}
.is-legacy-checkout #checkout_dop input[type='radio'] {
    right:5px;
    top:5px
}
#checkout_dop .dop-block-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5em;
    list-style: none outside;
}
#checkout_dop .dop-block-price {
    display: block;
    color: #888;
    margin-top: 10px;
    font-weight: 700;
}
@media (max-width:479px) {
    .woocommerce ul#shipping_method li label {
        font-size:15px
    }
}
.extra-info {
    margin:1rem 0 2rem !important;
}

.extra-info input[type="checkbox"]:checked,
.extra-info input[type="checkbox"]:not(:checked)
{
    position: absolute;
    left: -9999px;
}

.extra-info input[type="checkbox"]:checked + label,
.extra-info input[type="checkbox"]:not(:checked) + label{
    display: inline-block;
    position: relative;
    padding-left: 28px;
    line-height: 20px;
    cursor: pointer;
    font-size: 13px;
}

.extra-info input[type="checkbox"]:checked + label:before,
.extra-info input[type="checkbox"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #dddddd;
    background-color: #ffffff;
}
.extra-info input[type="checkbox"]:checked + label:before {
    background-color:#FFCC33;
}

.extra-info input[type="checkbox"]:checked + label:before,
.extra-info input[type="checkbox"]:not(:checked) + label:before {
    border-radius: 2px;
}

.extra-info input[type="checkbox"]:checked + label:after,
.extra-info input[type="checkbox"]:not(:checked) + label:after {
    content: "";
    position: absolute;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.extra-info input[type="checkbox"]:checked + label:after,
.extra-info input[type="checkbox"]:not(:checked) + label:after {
    left: 3px;
    top: 4px;
    width: 10px;
    height: 5px;
    border-radius: 1px;
    border-left: 4px solid #000;
    border-bottom: 4px solid #000;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.extra-info input[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
}

.extra-info input[type="checkbox"]:checked + label:after {
    opacity: 1;
}
.qmax_customer_extra_info {
    justify-content: space-around !important;
}
.bd-old-price-wrap .woocommerce-Price-amount {
    color: #999 !important;
}
.woocommerce-cart .bd-old-price-wrap .woocommerce-Price-amount {
    display:block;
    font-size: 16px !important;
}

#checkout_dop_new {
    padding:0 10px
}
#checkout_dop_new > li {
    list-style:none;
    display:grid;
    grid-template-columns: 2fr 4fr 1fr 3fr;
    grid-gap:15px;
    background: #FFFFFF;
    border: 1px solid #E1E1E1;
    box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-bottom:20px;
    padding:20px;
    align-items: center;
}
#checkout_dop_new > li.active, #checkout_dop_new > li:hover {
    border: 1px solid #FFCD30;
    box-shadow: 0px 0px 19px rgba(255, 205, 48, 0.25);
}
.zamer-name, .zamer-price {
    display:flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
}
.zamer-name img {
    margin-right:10px
}
.zamer-price {
    justify-content: flex-end;
}
.zamer-link {
    font-weight: 500;
    font-size: 13px;
    color: #F12727;
    text-align: center;
}
.zamer-link a {
    border-bottom: 1px dotted #F12727;
    cursor: pointer;
}
.zamer-link a:after {
    content:"";
    background-image: url(../../img/arrow-down.svg);
    width: 7px;
    height: 4px;
    position: relative;
    top: -2px;
    left: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    display:inline-block;
}
.zamer-button {
    background: #FCCC2E;
    border-radius: 4px;
    padding:15px 40px;
    color: #382F11;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    border:1px solid #FCCC2E;
    width:100%;
    overflow: hidden;
    box-sizing: border-box;
}
#checkout_dop_new > li.active .zamer-button {
    background: #FFFFFF;
    border: 1px solid #F12727;
    color: #F12727;
}
.zamer-button:before {
    content:"Добавить";
}
#checkout_dop_new > li.active .zamer-button:before {
    content:"Удалить ";
}


#zamer-hint-container {
    border-radius: 17px;
    padding: 0 15px;
}
.red-zamer {
    color: #F12727;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
}
#zamer-hint ul li.wide-red {
    background: #FEE7E7;
}
#zamer-hint ul li.wide-green {
    background: #ECF7EC;
}

#zamer-hint ul {
    padding: 10px
}

#zamer-hint ul li {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 10px;
    list-style: none;
    color: #161616;
    font-size: 14px;
    border-radius: 8px;
    margin: 10px 0;
    padding: 10px 0 20px;
}

#zamer-hint ul li.zamer-usual {
    border-bottom: 1px solid #E9E9E9;
}

#zamer-hint ul li.wide-red, #zamer-hint ul li.wide-green {
    grid-template-columns: 1fr;
    padding: 20px
}

#zamer-hint ul li > div:last-child {
    font-weight: 700;
    text-align: right;
}

#zamer-hint ul li.wide-red > div, #zamer-hint ul li.wide-green > div {
    font-weight: normal;
    text-align: left;
}
.zamer-dismiss a {
    width:100%;
    background: #FCCC2E;
    border-radius: 4px;
    padding:15px 40px;
    color: #382F11;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    border:1px solid #FCCC2E;
    overflow: hidden;
    box-sizing: border-box;
}
.zamer-dismiss a:hover {
    color: #382F11;
    opacity: .85;
}

@media(min-width: 768px) {
    .zamer-link .popover {
        max-width: 640px
    }
    .zamer-popup-header, #zamer-hint ul li.zamer-dismiss {
        display: none
    }
}

@media(max-width:767px){
    #checkout_dop_new li {
        grid-template-columns: 1fr 2fr 2fr;
    }
    #checkout_dop_new li > * {
        font-size:13px
    }
    .zamer-name span {
        cursor: pointer;
        border-bottom:1px dotted #000
    }
    .zamer-link {
        display:none
    }
    .zamer-button {
        padding:10px 15px
    }
    #zamer-hint ul {
        padding:0
    }
    #zamer-hint ul li {
        grid-template-columns: 1fr;
        line-height: 17px;
        padding:5px 0 10px;
        margin:5px 0
    }
    #zamer-hint ul li > div:last-child {
        text-align: left;
    }
}
@media(max-width:400px){
    #checkout_dop_new li > * {
        font-size:11px
    }
    .zamer-button {
        padding:10px 5px
    }
    #zamer-hint ul li {
        font-size:11px;
        line-height: 14px;
    }
    #zamer-hint ul li.wide-red, #zamer-hint ul li.wide-green {
        padding:10px
    }
    .zamer-dismiss a {
        padding:5px 10px
    }
}