/*
 * 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
 */

.js-ets-opc-address-use-selector {
    padding-left: 15px;
    padding-right: 15px;
}
.ets-opc-checkout.block-address div#delivery-addresses select.form-control {
    padding-right: 30px!important;
    min-height: 38px;
}
.ets_opc_select.ets-opc-searchable-address-ready .ets-opc-address-select,
.ets_opc_select.ets-opc-searchable-address-ready .ets_opc_select_arrow {
    display: none!important;
}
.ets-opc-searchable-address {
    position: relative;
    width: 100%;
}
.ets-opc-searchable-address-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid #b2ced2;
    color: #333;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    height: 38px;
    justify-content: space-between;
    line-height: 20px;
    padding: 0 10px;
    text-align: left;
    width: 100%;
}
.ets-opc-searchable-address-icon {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #555;
    flex: 0 0 auto;
    margin-left: 10px;
}
.ets-opc-searchable-address-panel {
    background: #fff;
    border: 1px solid #b2ced2;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    display: none;
    left: 0;
    margin-top: 2px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 50;
}
.ets-opc-searchable-address.open .ets-opc-searchable-address-panel {
    display: block;
}
.ets-opc-searchable-address-input {
    border: 1px solid #b2ced2;
    color: #333;
    font-size: 13px;
    height: 34px;
    margin-bottom: 6px;
    padding: 0 8px;
    width: 100%;
}
.ets-opc-searchable-address-options {
    max-height: 220px;
    overflow-y: auto;
}
.ets-opc-searchable-address-option {
    background: #fff;
    border: 0;
    color: #333;
    cursor: pointer;
    display: block;
    font-size: 13px;
    line-height: 18px;
    padding: 8px;
    text-align: left;
    width: 100%;
}
.ets-opc-searchable-address-option:hover,
.ets-opc-searchable-address-option:focus {
    background: #f2f8fa;
    color: #208094;
}
.ets-opc-searchable-address-empty {
    color: #999;
    display: none;
    font-size: 13px;
    padding: 8px;
}
.ets-opc-checkout .block-content:after,
.ets-opc-checkout .js-address-form.shipping_address:after,
.ets-opc-checkout .js-address-form.invoice_address:after,
.ets-opc-checkout .address-selector.js-address-selector:after {
    content: "";
    clear: both;
    display: block;
}
.yes_invoice_address {
    font-style: italic;
}
.ets-opc-checkout .js-address-form .form-control {
    border-radius: 4px !important;
    height: 40px !important;
    padding: 6px 12px !important;
    background-color: #fff !important;
    box-shadow: none !important;
}
.ets-opc-checkout .js-address-form .form-control:focus {
    border-color: #2fb5d2 !important;
}
/* Style cho tiêu đề Invoice address */
.title.yes_invoice_address {
    padding: 0 15px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: #258197 !important;
    margin-bottom: 15px !important;
    font-size: 16px !important;
}
.ets-opc-checkout .js-address-form.shipping_address,
.ets-opc-checkout .js-address-form.invoice_address {
    padding: 0 15px;
}
.ets_opc_select span.ets_opc_select_arrow svg {
    width: 16px;
    height: 16px;
}
#invoice-addresses .title,#delivery-addresses .title {
    border-bottom: 1px solid #dfe7e8;
    padding: 10px 15px 10px 0;
    font-size: 16px;
    margin-bottom: 22px;
    color: #427e8d;
    font-weight: 600;
    font-style: normal;
    font-family: Open sans;
    margin-left: 15px;
    margin-right: 15px;
}
#delivery-addresses > .form-group.row, #invoice-addresses > .form-group.row {
    margin-left: 0;
    margin-right: 0;
    padding-right: 15px;
    padding-left: 15px;
}
#delivery-addresses .form-group.row,
#invoice-addresses .form-group.row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}
.col-lg-4 .ets-opc-checkout.block-address label.form-control-label {
    width: 50%;
    text-align: left;
}
.ets-opc-checkout.block-address div#delivery-addresses .col-md-6,
.ets-opc-checkout.block-address div#invoice-addresses .col-md-6 {
    padding-left: 0;
    width: 50%;
}
.ets-opc-checkout.block-address div#delivery-addresses input.form-control,
.ets-opc-checkout.block-address div#invoice-addresses input.form-control,
.ets-opc-checkout.block-address div#delivery-addresses select.form-control,
.ets-opc-checkout.block-address div#invoice-addresses select.form-control,
.type-checkout-option input.form-control{
    background-color: transparent;
    font-size: 13px;
    border: 1px solid #b1ced4;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 40px;
}
#delivery-addresses select#use_shipping_address,
#invoice-addresses select#use_invoice_address {
    width: 100%;
    border: none!important;
    appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -webkit-appearance: none;
    font-size: 13px;
    min-height: 34px;
    height: 34px;
    background: #fff;
    color: #666;
    border-radius: 0;
    padding-left: 10px;
}
div#ets-opc label[for="use_invoice_address"],
label[for="use_another_address_for_invoice"],
label[for="use_another_address_for_invoice"] input,
.checkbox label,
.checkbox input{
    cursor: pointer;
}
.shipping_address_form {
    border: 1px solid #b1ced4;
}
.ets_opc_select select {
    background: transparent!important;
}
.ets_opc_select span.ets_opc_select_arrow {
    position: absolute;
    right: 8px;
    top: 8px;
    color: #777;
    font-size: 85%;
    width: 20px;
    height: 20px;
    pointer-events: none;
}
.ets_opc_select span.ets_opc_select_arrow svg {
    float: left;
    fill: #91a9ad;
}
.ets_opc_select {
    position: relative;
}
#ets-opc button.add_new_address {
    background: transparent;
    border: none;
    color: #437f8a;
    font-size: 14px;
    padding-left: 2px;
    font-weight: 600;
    cursor: pointer;
}
#ets-opc button.add_new_address:hover{
    color: #2fb5d2;
}
.no_invoice_address,.yes_invoice_address {
    padding: 0 15px;
    font-style: italic;
}
#ets-opc .js-address-form.invoice_address {
    padding-left: 15px;
    padding-right: 15px;
}
#delivery-addresses .form-group.row > div, #invoice-addresses .form-group.row > div,
#delivery-addresses .form-group.row > label, #invoice-addresses .form-group.row > label {
    padding-left: 0;
    padding-right: 0;
}
