/*
 * Copyright ETS Software Technology Co., Ltd
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future.
 *
 * @author ETS Software Technology Co., Ltd
 * @copyright  ETS Software Technology Co., Ltd
 * @license    Valid for 1 website (or project) for each purchase of license
 */

@media (max-width: 1199px){
    div#login_g_recaptcha_response_2 {
        width: 237px;
        max-width: 100%;
        height: 61px;
        min-height: 61px;
        overflow: hidden;
    }
    div#login_g_recaptcha_response_2 iframe {
        transform: scale(0.78);
        -webkit-transform: scale(0.78);
        transform-origin: left top;
        -webkit-transform-origin: left top;
    }
    .ets-opc-checkout .cart-item .product-line-grid,
    .cart-item .product-line-grid {
        flex-wrap: wrap;
    }
    .ets-opc-checkout .product-line-grid .product-line-grid-left {
        width: 100px;
        min-width: 100px;
    }
    .ets-opc-checkout .product-line-grid .product-line-grid-body {
        width: calc(100% - 100px);
    }
    .ets-opc-checkout .product-line-grid-right.product-line-actions {
        width: 100%;
    }
}
@media (min-width: 768px){
    .hidden_desktop{
        display: none;
    }
    .form_total_price span.product-price {
        margin-top: 0;
    }
}
@media (max-width: 991px){
    .type-checkout-option.guest .col-sm-6 .form-control-label,
    .type-checkout-option.create .col-sm-6 .form-control-label,
    .type-checkout-option.guest .col-sm-6 .ets-opc-field-right,
    .type-checkout-option.create .col-sm-6 .ets-opc-field-right,
    .type-checkout-option.guest .col-sm-6 .col-md-4,
    .type-checkout-option.create .col-sm-6 .col-md-4,
    .type-checkout-option.guest .col-sm-6 .col-md-8,
    .type-checkout-option.create .col-sm-6 .col-md-8 {
        width: 100%;
        max-width: 100%;
        text-align: left;
        float: none;
    }
}
@media (max-width: 767px){
    .ets-opc-checkout.block-address div#delivery-addresses .col-md-6, .ets-opc-checkout.block-address div#invoice-addresses .col-md-6 {
        padding-left: 15px;
        width: 100%;
    }
    .form_info_price_mobile > .row > div.form_total_price {
        width: 40%;
    }
    .cart-voucher.ets-cart-voucher {
        padding-top: 15px;
    }
    .ets-opc-checkout .delivery-options-list {
        padding-left: 15px;
        padding-right: 15px;
    }
    .ets-opc-checkout .block-promo .promo-code form {
        padding: 0;
    }
    .ets-opc-checkout .block-promo .promo-code .ets-opc-promo-field .ets-opc-icon-scissors.ets-opc-icon-svg {
        width: 36px;
    }
    .ets-opc-checkout .block-promo .promo-code .ets-opc-promo-field .ets-opc-icon-scissors.ets-opc-icon-svg svg {
        width: 20px;
        height: 20px;
        max-width: 20px;
        max-height: 20px;
    }
    .ets-opc-checkout .block-promo .promo-code .ets-opc-promo-field .promo-input {
        padding-left: 38px;
    }
    .ets-opc-checkout .block-promo .promo-code form {
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
    }
    .ets-opc-checkout .block-promo .ets-opc-promo-field + button,
    #ets-opc-checkout-form .promo-code .btn-primary {
        min-width: 0;
        width: 100%;
        padding: 0 12px;
        margin-top: 8px;
    }
    .ets-opc-checkout.block-shopping-cart .block-promo {
        margin-bottom: 5px;
    }
    .ets-opc-checkout.block-shipping .block-content {
        padding-left: 0;
        padding-right: 0;
    }
    .hidden_mobile {
        display: none!important;
    }
    .ets-opc-checkout.block-address label.form-control-label {
        width: 100%;
        text-align: left;
        margin-bottom: 4px;
        padding-top: 0;
    }
    #ets-opc-checkout-form .btn-primary[name="submitCompleteMyOrder"] {
        min-width: 0;
        width: 100%;
    }
    .ets-opc-checkout .product-line-grid .product-line-grid-body {
        padding-left: 15px;
    }
    .ets-opc-checkout .product-line-grid-right .qty, .ets-opc-checkout .product-line-grid-right .price {
        margin-top: 0;
        font-size: 14px;
    }
    .product-line-grid-right .on_mobile {
        width: 100px;
    }
    .ets-opc-checkout .product-line-grid-right .cart-line-product-actions .remove-from-cart {
        margin-top: 0;
        line-height: 1.2;
    }
    .ets-opc-checkout .product-line-grid-right.product-line-actions {
        padding: 10px 0 0;
        position: static;
    }
    .product-line-grid-right .qty:before,
    .product-line-grid-right .form_price:before,
    .product-line-grid-right .form_total_price:before{
        content: attr(data-title);
        display: block;
        font-size: 14px;
        margin-bottom: 8px;
    }
    .form_info_price_mobile > .row > div:not(:first-child) {
        border-left: 1px solid #eee;
        text-align: center;
    }
    .form_info_price_mobile > .row {
        display: flex;
        display: -webkit-flex;
    }
    .form_info_price_mobile > .row > div.form_total_price {
        text-align: center;
        font-size: 14px;
    }
    .product-line-info.attribute {
        font-size: 85%;
        color: #999;
        margin-bottom: 0!important;
    }
    #ets-opc-checkout-form .product-price {
        line-height: 1.7;
    }
    #ets-opc-checkout-form .form_info_price_mobile .product-price {
        margin-bottom: 0;
    }
    .ets-opc-checkout .product-line-grid-body .product-line-info {
        margin-bottom: 5px;
    }
    .ets-opc-checkout .product-line-info.attribute .label {
        font-size: inherit;
        color: inherit;
    }
    .ets_remove_cart {
        position: absolute;
        top: 1px;
        right: 0px;
        width: 30px;
        height: 30px;
    }
    .ets-opc-checkout .cart-item:first-child .ets_remove_cart {
        top: 1px;
    }
    .ets-opc-checkout ul.cart-items {
        padding-top: 0;
    }
    #ets-opc-checkout-form .row.delivery-option label, #ets-opc-checkout-form .payment-options label {
        cursor: pointer;
        text-align: left;
    }
    #ets-opc-checkout-form .row.delivery-option:not(:last-child) {
        margin-bottom: 15px;
    }
    #ets-opc-checkout-form {
        padding: 15px 15px 0;
    }
    .ets-opc-checkout .input-group.bootstrap-touchspin {
        max-width: 100%;
    }
    #customer-login label.form-control-label, #customer-login label.form-control-label,
    div#customer-login label.form-control-label{
        text-align: left;
        width: 100%;
        padding-top: 0;
    }
    .form_info_price_mobile > .row > div {
        width: 30%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .ets-opc-checkout .product-line-grid-right .qty {
        padding-right: 5px;
        padding-left: 5px;
    }
    body#checkout .form-group {
        margin-bottom: 5px;
    }
    .product-line-grid-qty .qty {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 479px){
    .ets-opc-checkout .product-line-grid .product-line-grid-body,
    form#ets-opc-checkout-form.layout.layout_3 .product-line-grid-body,
    form#ets-opc-checkout-form.layout.layout_4 .product-line-grid-body {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0px;
    }
    .ets-opc-checkout .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up,
    .ets-opc-checkout .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down{
        width: 22px;
    }
    #ets-opc-checkout-form .bootstrap-touchspin input.form-control, #ets-opc-checkout-form .bootstrap-touchspin input.input-group {
        max-width: 100%;
    }
    .ets-opc-checkout .input-group.bootstrap-touchspin input.js-cart-line-product-quantity {
        padding: 0 22px;
        font-size: 13px;
    }
    .ets-opc-checkout .promo-code .ets-opc-icon-scissors:after {
        font-size: 23px;
    }
}
@media (max-width: 767px){
    .ets-opc-checkout.block-additional-info .input-checkboxs,
    .ets-opc-checkout.block-additional-info .input-radios {
        padding-top: 0;
    }
    .ets-opc-checkout .block-promo .promo-code {
        padding: 0;
    }
    .ets-opc-checkout label.form-control-label {
        padding-right: 5px;
        width: 100%;
        padding-top: 0;
        text-align: left;
    }
    .ets-opc-checkout .product-line-grid .product-line-grid-left {
        width: 70px;
        padding-right: 0;
        min-width: 70px;
        margin-right: 10px;
    }
}
@media (max-width: 767px){
    .ets-opc-checkout .delivery-options .col-sm-1 {
        padding-left: 15px;
        width: auto;
        padding-right: 15px;
    }
    .ets-opc-checkout .delivery-options .col-sm-1 .custom-radio {
        margin-right: 0;
    }
    .ets-opc-checkout .form_total_price {
        padding-right: 15px;
    }
}
@media (max-width: 767px){
    .ets-opc-col .ets-opc-checkout .col-md-8 {
        padding-left: 15px;
    }
    #ets-opc-checkout-form.layout:not(.layout_4):not(.layout_2) .type-checkout-option .ets-opc-field-right, #ets-opc-checkout-form.layout:not(.layout_4):not(.layout_2) .ets-opc-checkout .form-group .form-control-label + .col-md-8, #ets-opc-checkout-form.layout:not(.layout_4):not(.layout_2) .ets-opc-checkout .ets-opc-field-right {
        padding-bottom: 14px;
        width: 100%;
    }
    .delivery-options .right_content {
        padding-left: 45px;
    }
    #ets-opc-checkout-form .form_total_price span.product-price {
        margin-top: 5px;
    }
    .ets-opc-col .product-discount .regular-price {
        margin: 0 3px;
    }
    .ets-opc-checkout .product-line-grid-right.product-line-actions {
        justify-content: center;
    }
    .ets-opc-col .product-line-grid .product-line-grid-actions {
        position: absolute;
        right: 0;
        top: 0;
        text-align: center;
    }
    .cart-item .product-line-grid {
        flex-wrap: wrap;
    }
    .ets-opc-checkout .product-line-grid .product-line-grid-body,
    form#ets-opc-checkout-form.layout.layout_3 .product-line-grid-body,
    form#ets-opc-checkout-form.layout.layout_4 .product-line-grid-body {
        width: calc(100% - 80px);
    }
    .ets-opc-col .product-line-grid .product-line-grid-qty,
    .ets-opc-col .product-line-grid .product-line-grid-price,
    .product-line-grid-qty,
    .product-line-grid-price {
        width: 50%;
        text-align: center;
        padding: 0 5px;
        padding-bottom: 0;
    }
    .ets-opc-col .product-line-grid-price .has-discount .discount {
        margin: 0 2px;
        padding: 0 5px;
    }
    .ets-opc-col .product-line-grid-qty .qty {
        max-width: 100%;
        display: block;
    }
    .ets-opc-col .product-line-grid-qty .qty:before,
    .ets-opc-col .product-line-grid-right.product-line-actions:before {
        content: attr(data-title);
        font-size: 13px;
        font-weight: normal;
        display: block;
        line-height: 12px;
        color: #777;
        text-align: center;
        margin-bottom: 5px;
        margin-top: 5px;
    }
    #ets-opc-checkout-form .form_price .product-price {
        margin-top: 4px;
    }
    .product-line-grid .product-line-grid-right.product-line-actions {
        width: 100%;
        padding-top: 10px;
        padding-bottom: 0;
        text-align: center;
    }
    .ets-opc-checkout .has-discount .discount {
        margin: 0 2px;
        padding: 5px;
        line-height: 1;
    }
    .type-checkout-option .ets-opc-field-right,
    .ets-opc-checkout .form-group .form-control-label + .col-md-8,
    .ets-opc-checkout .ets-opc-field-right {
        width: 100%;
    }
}
