/*
Copyright (c) 2015, Nicripsia Internet SL www.esprestashop.com All rights reserved.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/*Resetador*/


/* Los píxeles comentados suponen los resultantes aproximados en un ancho supuesto de 980px */

/* CSS RESET */

*
{
    margin: 0;
}
/*
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video
{
    margin: 0;
    padding: 0;
    border: 0;
}*/
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section
{
    display: block;
}

#center_column
{
    line-height: 1;
}

ol, ul
{
    list-style: none;
}

blockquote, q
{
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after
{
    content: '';
    content: none;
}

table
{
    border-collapse: collapse;
    border-spacing: 0;
}

/*
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video
{
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    outline: 0 none;
}
*/

#order-opc .delivery_option LABEL > TABLE.resume td
{
    padding: 0;
}

.delivery_option_logo
{
    margin-top: 0 !important;
}

#center_column /*body*/
{
    font-family: arial,Arial,sans-serif;
    color: #000000;
}

#carritoIzquierda
{
    width:35%;    /*345px aprox*/
    margin-right:1%;
    position: relative;
    float:left;
}

#carritoDerecha
{
    position: relative;
    margin-left: 36%; /*350px aprox*/
}

#new_account_form
{
    width:100%;
    padding-top: 5px;
}

#opc_account_form
{
    width:100%;
}

.order_carrier_content
{
    background: none;
    border: none;
    padding: 0px;
}

.paiement_block, .esp_1step_gift
{
    padding: 0px;
    margin-top: 0px;
    border-top: 0 none;
    border-color: #BDC2C9;
    border-left: 1px solid #BDC2C9;
    border-right: 1px solid #BDC2C9;
    border-bottom: 1px solid #BDC2C9;
    background: none repeat scroll 0 0 #F8F8F8;
}

/* Tabla de alineación registro */
.alineacionTabla
{
    display: table;
    width: 100%;
    padding-bottom: 5px;
}

/* Botones de compra invitado y registro */
#opc_guestCheckout, #opc_createAccount
{
    font-size:12px;
}

#opc_account_choice
{
    font-size: 12px;
    padding: 15px 5px;
    text-align: center;
}

#new_account_form fieldset
{
    padding: 0;
    border-radius: 0;
}

/* (Logueado) */
#order-opc #login_form fieldset
{
    background: none repeat scroll 0 0 #F8F8F8;
    border: 1px solid #CCCCCC;
}

div.addresses
{
    padding: 0;
}

/*
.addresses ul.address .address_title
{
    width: 313px;
}
*/

/* Imágenes de transporte */
#order .delivery_option.alternate_item, #order-opc .delivery_option.alternate_item
{
    background: none repeat scroll 0 0 #F1F2F4;
    border-bottom: 0;
    border-top: 1px solid #BDC2C9;
    min-height: 70px;
    padding-bottom: 5px;
    padding-top: 5px;
}

#order .delivery_option.item, #order-opc .delivery_option.item
{
    background: none repeat scroll 0 0 #FAFAFA;
    border-top: 1px solid #BDC2C9;
    min-height: 70px;
    padding-bottom: 5px;
    padding-top: 5px;
}

#order .delivery_option label, #order-opc .delivery_option label
{
    /*height: 60px;*/
    min-height: 60px;
    display:inline;
}

#carrier_area img
{
    max-height: 60px;
    max-width: 80px;
}

#order .delivery_options_address .delivery_option_logo, #order .delivery_option_carrier .delivery_option_logo, #order-opc .delivery_options_address .delivery_option_logo
{
    padding-left: 10px;
    width: auto;    /* ¿60px? */
}

#order .delivery_option label > table.resume td + td + td, #order-opc .delivery_option label > table.resume td + td + td,  #order-opc .delivery_option label > table.resume
{
    text-align: left;
    width: auto;
}

/* Pago */
#order-opc #opc_payment_methods
{
    margin-bottom: 5px;
}

.payment_module img
{
    margin-top: 0 !important;
    float:left;
    max-height: 60px;
    max-width: 80px;
    height: auto;
    margin-right: 10px;
}

.payment_module
{
    border-top: 1px solid #BDC2C9;
    min-height: 70px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-transform: none;
}

#idPago h3, #carritoIzquierda h3
{
    background: none repeat scroll 0 0 #383838;
    color: #FFFFFF;
    font-size: 12px;
    padding: 6px 11px;
    text-shadow: 0 1px 0 #000000;
    text-transform: uppercase;
    min-height: 28px;
    margin: 0;
}

.pagoalternativo
{
    background: none repeat scroll 0 0 #F1F2F4;
}

.pagoestandar
{
    background: none repeat scroll 0 0 #FAFAFA;
}

textarea
{
    width: 99.9%;
    border: 1px solid #CCCCCC;
    height: 40px;
    resize: none;
}

/* Condiciones generales */
#condicionesGenerales
{
    text-align:center;
}

#order-detail-content
{
    margin-bottom: 0px;
}

/* Login */
form.std fieldset
{
    margin-top: 0px;
}

#new_account_form p.radio label
{
    font-size: 12px;
}

#create-account_form #SubmitCreate, #login_form #SubmitLogin
{
    float: none;
}

#order-opc #login_form fieldset p
{
    padding: 0;
    text-align: center;
    margin-top:32px;
}

p.address_delivery, p.addressesAreEquals, p.address_delivery_invoice
{
    padding-top:5px;
}

p.addressesAreEquals
{
    margin-left:0px;
}

.address_select
{
    margin-right: 10px; /* Alineación a la izquierda */
    margin-top:5px;
    width:-moz-available;   /* Firefox */
    box-sizing: border-box; /* Chrome, IE8+, Safari 5.1+, Opera */
}


label[for="id_address_delivery"], label[for="id_address_invoice"]
{
    margin-left: 10px;
    width: auto;    /* Alineación a la izquierda */
}

/* Quitar hueco extra que hay debajo de transportistas */
.hook_extracarrier
{
    margin-top: 0;
    padding: 0;
}

.address_add
{
    text-align: center;
    padding: 5px 0;
}


#carritoIzquierda #yaInscrito
{
    background: none;
    font-size: 16px;
    padding: 6;
    text-shadow: none;
    text-transform: none;
    color: #000000;
    text-align: center;
}

/* Nueva dirección en el centro */
#address_invoice_form
{
    text-align: center;
}

html body#order-opc div#page.container_9 div#columns.grid_9 div#center_column.grid_5 div#carritoIzquierda div#opc_account.opc-main-block div.addresses p#address_invoice_form.select a.button_large
{
    margin-left: 0 !important;
    text-align: center;
}

/* Margen a la derecha y ajustes de la fecha de nacimiento */
#new_account_form #days
{
    font-size: 11px;
    width: 44px;
    margin-top: 6px;
    margin-bottom: 6px;
}

#new_account_form #months
{
    margin-bottom: 6px;
    margin-top: 6px;
    font-size: 11px;
    width: 92px;
}

#new_account_form #years
{
    margin-bottom: 6px;
    margin-top: 6px;
    font-size: 11px;
    width: 57px;
}

/* Margen a la derecha y anchura del selector de país */
#new_account_form #id_country, #new_account_form #id_country_invoice, #id_state, #id_state_invoice, #seleccionTratamiento select, #carritoIzquierda select#id_address_delivery, #carritoIzquierda select#id_address_invoice
{
    margin: 1% 0 0 3%;
    width: 94%;
}

/* TextArea de datos complementarios */
#new_account_form p.textarea textarea
{
    border-radius: 5px;
    height: 32px;
    margin: 0.5% 0 0 3% !important;
    padding: 1%;
    resize: none;
    vertical-align: top;
    width: 92%;
    box-sizing: content-box;
}

/* Checkboxes */
#center_column #new_account_form p.checkbox
{
    padding-bottom: 1px;
    padding-left: 5px;
    padding-top: 1px;
}

#new_account_form p.checkbox label
{
    margin-right: 5px;
}

/* Datos complementarios y teléfonos */
#center_column #new_account_form #ptextarea, #center_column #new_account_form #ptextareainvoice
{
    height: 29px;
    margin-top: 3px;
}

#new_account_form #datoscomplementarios, #new_account_form #datoscomplementariosinvoice
{
  /*  float: left;
    margin-left: 2px;
    margin-right: 2px; */
}

/* Opciones de envío */

.delivery_option_logo
{
    width: 0;
}

/* Logotipo */
#order .delivery_option label > table.resume td, #order-opc .delivery_option label > table.resume td
{
    padding-left: 0;
    padding-right: 2px;
}

#order .delivery_option label > table.resume td + td, #order-opc .delivery_option label > table.resume td + td
{
    float: left;
    padding-left: 5px;
    padding-right: 0;
}

#idEnvio
{
    float:left;
    width: 49.5%;
    margin-right:1%;
}

#idPago
{
    float:left;
    width:49.5%;
}

#login_form_content div
{
    margin-bottom: 5px !important;
    margin-left: 0 !important;
    width: 100% !important;
}

/* Margen superior del cuadro de envíos */
#order-opc #opc_delivery_methods h3, #cuadroIdentificacion h3
{
    margin: 0;
    min-height: 28px;
    background: none repeat scroll 0 0 #383838;
    color: #FFFFFF;
    font-size: 12px;
    padding: 6px 11px;
    text-shadow: 0 1px 0 #000000;
    text-transform: uppercase;
}

.delivery_options_address
{
    width: auto;
}

/* Nuevo cliente */
#new_account_form p.text input, #new_account_form p.password input, #new_account_form p.select input, #carritoIzquierda #login_email, #carritoIzquierda #login_passwd
{
    border-radius: 5px;
    border-style: solid;
    display: table-cell !important;
    height: 16px;
    margin: 1% 0 0 3%;
    padding: 1%;
    width: 92%;
    box-sizing: content-box;
}

#new_account_form p
{
    display:table-row;
    min-height: 17px;
    font-size: 14px;
    padding: 8px 0;
    text-align: left;
    margin-bottom: 1px;
}

/* Alinear spans */
#new_account_form p.radio span, #new_account_form p.text label, #new_account_form p.password label, #new_account_form p.select label, #new_account_form p.select span, #new_account_form p.textarea label
{
    float: left;
    text-align: right;
    width: 0;
}

/* Alinear fecha de nacimiento */
#new_account_form p.select select, #opc_account_form select
{
    font-size: 13px;
    height: 28px;
    margin-right: 0;
}

/* Alinear checkboxes */
#new_account_form p.checkbox input
{
    margin-left: 0px;
}

/* Ajustar labels */
#new_account_form p.radio span, #new_account_form p.text label, #new_account_form p.password label, #new_account_form p.select label, #new_account_form p.select span, #new_account_form p.textarea label {
    float: none;
    width: auto;
}

#new_account_form p.radio span, #new_account_form p.text label, #new_account_form p.password label, #new_account_form p.select label, #new_account_form p.select span, #new_account_form p.textarea label
{
    vertical-align: middle;
    display:none !important;    /* Para que se muestre, cambiar a "table-cell" */
    float: none;
    font-size: 14px;
    padding: 6px 3px 6px 0;
    width: 100px !important;    /* Para hacer que el ancho de los nombres de los campos (nombre, apellidos, dirección) sea fijo */
    color: #000000;
}

span
{
    margin-left: 0;
}

/* Submit */
#order-opc #new_account_form p.submit
{
    display: list-item;
    list-style: none;
    width: 100%;
    text-align: center;
    margin-right: 0;
}

#submitAccount
{
    margin-top: 5px;
}

#order-opc #new_account_form p.opc-required
{
    margin-right: 10px;
    text-align: right;
    display: block;
    height: auto;
    margin-top: 20px;
    padding-bottom: 0;
}

#condicionesGenerales
{
    margin-bottom:30px;
    margin-top: 10px;
    background: none repeat scroll 0 0 #F8F8F8;
    border: 1px solid #CCCCCC;
    color: #000000;
    font-size: 12px;
    padding-top: 15px;
    text-align: center;
    float:right;
    width:100% !important;
}

#cart_summary
{
    margin-bottom:5px;
    width: 100%;
}

#message, #gift_message
{
    margin-bottom: 5px;
    padding-bottom: 0;
    box-sizing: border-box;
    width: -moz-available;
}


/* Otros */

#order-opc #left_column
{
    display: none;
}

#order-opc #center_column
{
    width: 100%;
}

#order-opc #right_column
{
    display: none;
}

#order-detail-content
{
    float: right;
    width: 100%;
}

table#cart_summary .cart_quantity
{
    padding-left: 3px;
    padding-right: 3px;
}

#cuadroIdentificacion
{
    width:100%;
    margin-bottom:5px;
    margin-right:5px;
}

#cuadroIdentificacionContent
{
    text-align:center;
    background: none repeat scroll 0 0 #F8F8F8;
    border: 1px solid #CCCCCC;
    color: #000000;
    font-size: 12px;
    /*padding: 15px;*/
    padding: 15px 5px;
}

/* Altura del warning */
#center_column .warning
{
    background: #f1f2f4 none repeat scroll 0 0;
    border: 1px solid #cccccc;
    font-size: 18px;
    margin: 0;
    padding: 10px;
    text-align: center;
}

/* Condiciones generales */
#parrafoCondicionesVenta
{
    float:left;
    text-align:left;
    padding-left:5px;
    padding-bottom:10px;
}

#parrafoBotonVolverCompra, #parrafoBotonFinCompra.pasoprevio {
    margin-top: 10px;
    padding-bottom: 10px;
    padding-right: 0;
}


#parrafoBotonFinCompra
{
    float:right;
    padding-right:5px;
    padding-bottom:10px;
}

#botonFinCompra
{
    font-size:16px;
    height:24px;
    /*line-height: 150%;*/  /* En caso de hacer más grande el botón, puede salir un fondo descuadrado en el mismo */
}

#creditosEsPrestashop
{
     clear:both;
     text-align:center;
     margin-top:5px !important;
}


/* Ajustes de global.css */
#carrier_area
{
    margin-top: 0;
}

.payment_module
{
    border-bottom: 0;
}

#opc_delivery_methods
{
    margin-bottom: 0;
}

/* Ajustes varios transportistas */

.delivery_option_carrier
{
    width: calc(100% - 50px);
}

.delivery_option_carrier, .delivery_option_carrier tr, .delivery_option_carrier tr td
{
    background: none repeat scroll 0 0 #F1F2F4;
    border: 1px solid #BDC2C9;
    padding: 2px;
    margin-top: 5px;
}

#order .delivery_option_carrier .first_item, #order-opc .delivery_option_carrier .first_item
{
    background: none;
    padding: 0;
}

.height_auto
{
    height: auto !important;
}

/* Botones */

.button_large, .address_update a
{
    vertical-align: baseline;
    outline: medium none;
    text-decoration: none;
    margin-bottom: 5px;
    
    /*background: none repeat scroll 0 0 #F4B61B !important;
    border: 1px solid #CC9900 !important;
    border-radius: 3px 3px 3px 3px !important;
    color: #000000 !important;*/
    
    cursor: pointer !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: normal !important;
    padding: 5px 7px !important;
    position: relative !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4) !important;
    text-transform: none !important;
    transition: all 0.5s ease 0s !important;
}

/* Opciones de envío */

.delivery_options
{
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    border-color: #BDC2C9;
    border-image: none;
    border-right: 1px solid #BDC2C9;
    border-style: none solid solid;
    border-width: 0 1px 1px;
    font-size: 100%;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
}

.order_carrier_content
{
    color: #000000;
    font-size: 12px;
}

/* Tabla de productos del carrito */
table#cart_summary .cart_product, table#cart_summary .cart_delete
{
    padding-left:1px;
    padding-right:1px;
}

table#cart_summary .cart_description, table#cart_summary .cart_unit, table#cart_summary .cart_total
{
    width: auto;
    /*white-space: nowrap;*/
}

/* La imagen del producto tiene un ancho máximo de 45 píxeles, de modo que se pone 49 para que haya 4 de margen */
table#cart_summary th
{
    text-transform: uppercase;
    font-size:12px;
}

table.std th, table.table_block th
{
    background: none repeat scroll 0 0 #383838;
    border: 1px solid #999999;
    color: #FFFFFF;
    padding: 2px 2px;
    text-align: center;
}

table.std td, table.table_block td
{
    border: 1px solid #999999;
}

table#cart_summary .cart_product
{
    max-width:49px;
    overflow: hidden;
    text-align: center;
    width: auto;
}

.cart_product img
{
    max-height: 45px;
    max-width: 45px;
}

.s_title_block a, .cart_description a
{
    color: #000000;
}

table#cart_summary td
{
    font-size: 13px;
    color: #000000;
    font-weight: bold;
    padding: 4px;
    vertical-align: middle;
}

table#cart_summary tr
{
    color: #000000;
    font-size: 13px;
    font-weight: bold;
    padding: 4px;
    vertical-align: middle;
    text-align: right;
}

.cart_ref, .cart_unit, .cart_total, .cart_quantity
{
    text-align: center;
}

.cart_quantity_button
{
    width:14px;
    float:left;
}

table#cart_summary .cart_quantity
{
    vertical-align: middle;
    width: 66px;
}

.cart_quantity .cart_quantity_input
{
    background-color: #FFFFFF;
    border: 1px solid #000000;
    float: right;
    padding: 0;
    text-align: center;
    width: 36px;
    height: 22px;
    font-size:13px;
}

.cart_total_price td
{
    text-align:right;
}

#total_product, #total_shipping, #total_discount, #total_tax, #total_wrapping
{
    text-align:left;
}

/*
#cart_voucher_1step, #total_price_container
{
    background: none repeat scroll 0 0 #F1F2F4;
}
*/

#cart_voucher_1step p
{
    margin-right: 5px;
    padding-bottom: 0;
}

#cart_voucher_1step input#discount_name
{
    border: 1px solid #CCCCCC;
    border-radius: 3px;
    color: #666666;
    font-size: 12px;
    height: 26px;
    padding: 0 5px;
    width: 175px;
}

/* Cuadro de comentarios */

.cuadroComentario
{
     float:right;
     width:100%;
     font-size:12px;
     color:#000000;
     padding-top:8px;
}

/* Otros (sustitución de global.css) */
#order .delivery_option_radio, #order-opc .delivery_option_radio
{
    float: left;
    margin: 21px 12px;
}

.address_delivery select, #id_address_invoice
{
    border: 1px solid #CCCCCC;
    height: auto;
    padding: 0 !important;
}


p.select label
{
    color: #000000;
    display: block;
    padding: 0;
}

.addresses ul.address li
{
    font-weight: bold;
    line-height: 18px;
    padding: 0 15px;
    text-transform: uppercase;
}

ul.address li.address_update, ul.address li.address_delete
{
    font-size: 11px;
    margin-top: 8px;
    text-transform: none;
}

table#cart_summary tr:nth-child(2n+1), table#cart_summary tr.cart_total_delivery, table#cart_summary tr.cart_total_price
{
    background: none repeat scroll 0 0 #FAFAFA;
}

#cart_voucher_1step, #total_price_container
{
    background: none repeat scroll 0 0 #F1F2F4;
}

a.cart_quantity_delete
{
    background-color: #FFFFFF;
    border: 1px solid #000000;
    color: #000000;
    display: inline-block;
    font-size: 9px;
    padding: 3px 6px;
    text-decoration: none;
    text-transform: uppercase;
}

ul.address
{
    /*background: none repeat scroll 0 0 #EEEEEE;*/
    /*border: 1px solid #CCCCCC;*/
    border-radius: 3px 3px 3px 3px !important;
    padding: 0 !important;
}

#address_delivery, #address_invoice
{
    height: auto !important;
}


.cart_total_price span#total_price
{
    display: block;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 0 5px;
    white-space: nowrap;
}

label, input, button, select, textarea
{
    font-weight: normal;
    line-height: 14px;
}

.payment_module
{
    border-left: 0 none;
    border-right: 0 none;
    font-size: 12px;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

#days, #months, #years, #id_country, #id_country_invoice, #id_state, #id_state_invoice
{
    padding: 0;
}

.clearclass
{
    clear:right;
}

.superclearclass
{
    clear:both;
}

#order-detail-content
{
    margin-top: 5px;
}

.delivery_option_title
{
    font-weight: bold;
}

.error, #order-opc #center_column .alert.alert-danger
{
    background: none repeat scroll 0 0 #FFCCCC;
    border: 1px solid #990000;
    font-size: 13px;
    margin: 0 0 10px;
    padding: 10px;
}

.error .lnk
{
    display: none;
}

.not-displayable
{
    display: none;
}

.s_title_block
{
    text-align: left;
}

.cart_description p, .cart_description a
{
    text-align: left;
    text-decoration: none;
}

/* */

.dni
{
    display: table-row;
}

.postcode
{
    display: table-row !important;
}

button, input, select, textarea
{
    margin: 0;
}

input, select
{
/*    vertical-align: middle;   */  /* No parece necesario. */
}

.cart_description
{
    text-align: left;
}

#opc_delivery_methods .delivery_options_address, #opc_delivery_methods #delivery_options, #opc_delivery_methods h3#condition_title, #opc_delivery_methods .checkbox, div.delivery_options_address, #opc_new_account form#login_form p.submit input, #order-opc #center_column, body#order-opc input#submitAccount, #order-opc .delivery_option
{
    margin: 0;
}

#phone
{
    margin-top: 10px;
}

.cart_delete
{
    text-align:center;
}

.std p.textarea textarea
{
    max-height: 100px;
    max-width: 96%;
    min-height: 20px;
    min-width: 20px;
}

.customerprivacy p, customerprivacy label
{
    float:left;
}

#account-creation_form fieldset.customerprivacy label, fieldset.customerprivacy label
{
    padding-top: 5px;
    padding-bottom: 5px;
}

#order .delivery_options_address h3, #order-opc .delivery_options_address h3,
#order-opc #opc_delivery_methods h3, #cuadroIdentificacion h3,
#idPago h3, #carritoIzquierda h3
{
    padding: 6px 11px;
    line-height: 12px;
    font-size: 12px;
    font-weight: bold;
}

#cart_title
{
    padding-top: 5px;
    padding-bottom: 5px;
}

#order-opc .paiement_block, .esp_1step_gift
{
    padding: 0;
    margin: 0;
}

#order .delivery_option label, #order-opc .delivery_option label
{
    border: 0;
}

.button_large
{
    border: 1px solid;
}

#botonFinCompra
{
    height: auto;
}

.s_title_block a
{
    font-weight: bold;
}

/*
#center_column fieldset, #center_column textarea, #center_column input
{
    border-radius: 0 !important;
}
*/

#columns
{
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

#center_column .exclusive
{
    max-height: 28px;
    margin-top: 2px;
}

.paiement_block, #login_form fieldset, .esp_1step_gift
{
    border-radius: 0;
}

form.std label, form.std p span
{
    width: auto;
}

#HOOK_PAYMENT p
{
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

#order-opc tfoot span
{
    display: block;
    float: none;
    width: auto;
}

.cart_product span, .cart_description span, .cart_ref span, .cart_unit span, .cart_quantity span, .cart_total span, .cart_delete span
{
    color: #000000;
}

#center_column h1
{
    margin-bottom: 5px;
}

.addresses.clearfix
{
    margin: 0;
}

.addresses ul.address
{
    width: 100% !important;
}

.order_carrier_content
{
    margin-left: 0;
}

#center_column .block
{
    margin: auto !important;
    max-height: 100% !important;
    padding: 0 !important;
}

#opc_account_errors
{
    width: auto !important;
}

#seleccionTratamiento input, #seleccionTratamiento label
{
    vertical-align: -6px;
}

#new_account_form p.radio label
{
    float: none;
    width: auto;
}

#cart-buttons
{
    padding-bottom: 20px;
}

/* Mensaje de advertencia antes de login en envío y pagos */
.alertaenviopagosinlogin
{
    color: #FFFFFF;
    font-size: 22px;
    padding: 1%;
}

#cuadroEnvioPago .blockUI.blockOverlay
{
    opacity: 0.85 !important;
}

/* Brillo de casilla TOS */
.casillatosparpadea
{
    background-color: #FF0000;
}

#cart_summary tfoot tr td
{
    text-align: right;
}

#cart_summary #cart_voucher_1step {
    text-align: left;
}

.title_offers {
    margin-top: 5px;
}

/* Ajustes precio unitario */
#cart_summary .cart_unit .price-percent-reduction {
    display: none !important;
}

#cart_summary .cart_unit .price {
    float: right;
}

#cart_summary .cart_unit .old-price {
    clear: right;
    float: right;
    text-decoration: line-through;
}

/* Diálogo pop-up */
.ui-dialog {
    z-index: 9999999 !important;
}

#confirmarCompraDialog {
    height: auto !important;
}

/* Display: none */
.esp1step_displaynone {
    display: none !important;
}

/* Clear both */
.esp1step_clearboth {
    clear: both !important;
}

/* Paso previo */
#order-opc #parrafoBotonVolverCompra {
    float: left;
}

/* Mostrar vales públicos */
#display_cart_vouchers {
    clear: left;
}

/* Evitar listas en precios unitarios */
#cart_summary .cart_unit li {
    list-style: none;
}

/* Cuadro negro */
#center_column .blockUI {
    cursor: not-allowed !important;
}

/* Márgenes por debajo de parte izquierda y derecha */
#carritoIzquierda, #carritoDerecha {
    margin-bottom: 5px;
}

/* Botón añadir nueva dirección, evitar descuadre en 1.5 */
#opc_account #address_invoice_form {
    margin-bottom: 10px;
    margin-top: 10px;
}

/* Estilo por defecto fuente de campos de texto */
#new_account_form p.text input, #new_account_form p.password input, #login_email, #login_passwd, #order-opc #center_column #new_account_form textarea {
    border: 1px solid #d6d4d4;
    font-size: 13px;
}

/* "Clear" en sección de envío y pago */
#cuadroEnvioPago {
    display: table;
    width: 100%;
}

/* Cuadro de regalo */
#order-opc #carritoDerecha .esp_1step_gift {
    min-height: 0 !important;
}

.esp_1step_gift br {
    display: none;
}

#gift_div {
    margin-top: 10px;
}

#gift_message {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 96%;
}

/* Ajustes login */
#login_form_content label, #login_form_content .lost_password {
    margin-left: 3%;
}

/* Borde en el formulario de registro */
#order-opc #new_account_form > fieldset {
    border: 1px solid #CCCCCC;
}

/* Alinear uniform de casilla de condiciones */
#uniform-condiciones1step {
    float: left;
    padding-left: 0;
}

/* Breadcrumb oculto */
#columns .breadcrumb {
    display: none;
}

/* Listado de errores */
#opc_account_errors ol {
    list-style: inside none disc;
    padding-left: 0;
}

/* Campos obligatorios */
.opc-required {
    display: none !important;
}

/* Política de privacidad */
#esp_1stepcheckout_account_terms_label {
    font-weight: bold;
}

#esp_1stepcheckout_account_terms_label a {
    text-decoration: underline;
}

/* Amazon Pay */
#amazonLoginOneStep img {
    margin-top: 15px;
}

#pay_with_amazon_list_button {
    display: none !important;
}

#order-opc #center_column h1#cart_title.anotherlogin, #order-opc #center_column #carritoIzquierda.anotherlogin, #order-opc #center_column #carritoDerecha.anotherlogin #idEnvio, #order-opc #center_column #carritoDerecha.anotherlogin #idPago
{
    position: absolute !important;
    visibility: hidden !important;
    left: -90000px !important;
}

#order-opc #center_column #carritoDerecha.anotherlogin {
	margin-left: 0 !important;
}

/* Stripe */
.stripe_iframe #stripe-payment-form .stripe-name, .stripe_iframe #stripe-payment-form .stripe-card-number, .stripe_iframe #stripe-payment-form .stripe-submit-button, .stripe_iframe #cardNumber-element{
    width: 100% !important;
}
body#order-opc > iframe{
    left: -20000px;
    visibility: hidden !important;
    width: 0 !important;
}

.stripe_iframe #cardCvc-element, .stripe_iframe #cardExpiry-element{
    width: 100% !important;
    max-width: 100% !important;
}

.stripe_iframe #stripe-payment-form .img-card{
    margin-top:-35px !important;
}

.stripe_iframe #stripe-loading-bar-container
{
    padding-top: 60px !important;
}

div.payment_module div#stripe-ajax-loader img#stripe-loading-bar
{
    width: 220px !important;
    max-width: 999px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    display: table !important;
    float: none !important;
}

.stripe_iframe #stripe-loading-message
{
    padding-top: 10px;
    font-size: 15px;
    text-align: center;
}

#stripe_iframe_container
{
    background: rgba(0,0,0,0.5) !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    z-index: 99999999 !important;
}

#stripe_iframe_container div.payment_module.cart-stripe-official
{
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 10px !important;
}

body#order-opc .payment_module.cart-stripe-official:not(.stripe_iframe)
{
    display: none;
}

#stripe_iframe_container > div.stripe_iframe
{
    min-height: 300px;
}

#stripe_iframe_container #stripe-ajax-loader
{
    text-align: center !important;
    font-size: 15px !important;
    margin-top: 115px !important;
}

#stripe_iframe_container #stripe-ajax-loader > img
{
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin-bottom: 10px !important;
}

/* La clase themodal-lock es de Stripe */
body.themodal-lock
{
    overflow: auto;
}

/* Más restrictiva, mobile, no fuerza altura ya que se determina por JavaScript */
body > div#stripe_iframe_container, body > div#stripe_iframe_container > div.themodal-overlay
{
    position: absolute !important;
}

div.themodal-overlay #modal_stripe
{
    margin-top: 10px;
}

/* Menos restrictiva, desktop, al ser fixed pone altura al 100% */
#page #stripe_iframe_container, #center_column #stripe_iframe_container
{
    position: fixed !important;
    height: 100% !important;
}