/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



/*Ajustes*/
.separate-containers .inside-article {
   padding-top:0px;    
    padding-bottom: 0px;}
.separate-containers .site-main { 
    margin-top:0;    
    margin-bottom:0;}

/*Variables*/
:root {
--texto: #003359;
--tamano-titulo-banner: 50px;
--tamano-titulo: 32px;
--tamano-sub-titulo: 16px;
--tamano-parrafo: 14px;
--button-height: 35px;
--button-background: #003359;
--borde: 1px solid #003359;
--button-radius: 0px;
--letter-spacing: 1.2px;
}

/*Tipografia*/
.woocommerce, button, select, span.prdctfltr_filter_title{
	font-family: "Casanova", Sans-serif;
}

/*Woocommerce*/
/*Mensajes*/
/*Info, error y mensaje*/
.woocommerce-error, .woocommerce-info, .woocommerce-message,
.xoo-cp-success{
	background-color: #003359 !important;
    border-left: 10px solid #003359 !important;
    color: white !important;
}
.xoo-cp-success a, .xoo-cp-success a:hover, .xoo-cp-success a:visited{
    color: white !important;
}

/*Mi cuenta*/
/*Navegacion*/
.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 20px 0;
    border-bottom: var(--borde) !important;
    font-size: 14px;
    color: var(--texto);
}
/*Borde de navegacion*/
.woocommerce-MyAccount-navigation ul {
    margin: 0;
    border-top: var(--borde) !important;
    list-style-type: none;
}

/*Texto p, texto en direcciones, h3, detalles de cuenta, registro, titulo login y registro*/
.woocommerce-MyAccount-content p,
.u-columns.woocommerce-Addresses.col2-set.addresses,
.woocommerce-MyAccount-content h3,
form.woocommerce-EditAccountForm.edit-account,
form.woocommerce-form.woocommerce-form-register.register p,
div#customer_login h2{
	color: var(--texto);
}

/*detalles de la cuenta ("Cambio de contraseña")*/
form.woocommerce-EditAccountForm.edit-account fieldset legend{
	margin-bottom: 10px;
}
form.woocommerce-EditAccountForm.edit-account fieldset{
	margin-top: 20px;
}

/*links*/
.woocommerce-MyAccount-content a{
	color: var(--texto);
	font-weight: bold;
}

/*botones*/
.woocommerce-MyAccount-content button,
form.woocommerce-form.woocommerce-form-register.register button,
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
.woocommerce button.button{
	background-color: var(--button-background) !important;
	color: white !important;
	text-transform: uppercase !important;
}

/*Carrito*/
/*Eliminar producto*/
.woocommerce a.remove{
	color: var(--texto) !important;
}
.woocommerce a.remove:hover {
    color: red!important;

}
/*precio en carrito y tienda*/
span.woocommerce-Price-amount.amount {
	color: var(--texto) !important;
	font-weight:600!important;
}
/*TItulo total del carrito*/
.cart_totals h2 {
	color: var(--texto) !important;
	font-size:22px!important;
	font-weight:400!important;
}
/*Titulos de tabla*/
.woocommerce table.shop_table th {
    background-color: rgba(0,0,0,.0)!important;
    padding: 20px!important;
    border-bottom: var(--borde) !important;
	color: var(--texto) !important;
	font-size:16px!important;
	font-weight:400!important;
}
/*color link nombre de producto*/
td.product-name a{
	color: var(--texto) !important;
	font-weight:100!important;
}
/*Borde resto de la tabla*/
.woocommerce table.shop_table td {
    border-bottom: var(--borde) !important;
	background-color: transparent!important;
	color: var(--texto) !important;
}
/*boton cupon y actualizar carrito*/
.woocommerce .cart .button { 
	border: var(--borde) !important;
	color: white !important;
	transition: all 0.2s !important;
	margin-left:20px!important;
	background-color: var(--button-background) !important;
	text-transform: uppercase !important;
}
.woocommerce .cart .button:hover {
background-color:#003359!important;
	color:#fff!important;
}
/*Boton finalizar compra*/
a.checkout-button.button.alt.wc-forward {
	border: var(--borde) !important;
	color: white !important;
	background-color: var(--button-background) !important;
	transition: all 0.2s !important;
	text-transform: uppercase !important;
}
a.checkout-button.button.alt.wc-forward:hover {
	background-color:#003359!important;
	color:#fff!important;
}
/*input del cupon*/
.woocommerce-cart input#coupon_code {
    width: 165px !important;
}
/*tamaño de imagen*/
.woocommerce-cart table.cart img{
	width: 90px !important;
}

/*popup carrito*/
td.xoo-cp-ptitle a{
    color: var(--texto) !important;
    font-size: 16px !important;
}
span.xcp-totxt,
tr.popup_titulos th,
td.xoo-cp-remove .xoo-cp-remove-pd{
    color: var(--texto) !important;
}
.popup_related h2{
    color: var(--texto) !important;
}
.xcp-btn{
    border: var(--borde) !important;
	color: white !important;
	background-color: var(--button-background) !important;
	transition: all 0.2s !important;
	text-transform: uppercase !important;
	border-radius: 0px!important;
}

/*Checkout*/
/*boton cupon*/
form.checkout_coupon.woocommerce-form-coupon button{
	background-color: var(--button-background) !important;
	color: white !important;
	text-transform: uppercase !important;
}
/*Titulos h3, cupon p*/
.woocommerce-checkout h3,
form.checkout_coupon.woocommerce-form-coupon p{
	color: var(--texto) !important;
	font-size:16px!important;
}
/*width ciudad, pais, zip*/
@media only screen and (min-width: 950px) {
.woocommerce-checkout p#billing_country_field,
.woocommerce-checkout p#billing_state_field,
.woocommerce-checkout p#billing_postcode_field{
	width: 33.33%;
	display: inline-block !important;
}
.woocommerce-checkout p#billing_phone_field,
.woocommerce-checkout p#billing_company_field{
	width: 50%;
	display: inline-block !important;	
}
}
/*ajuste tamaño zip y estado*/
input#billing_postcode,
input#billing_state{
	height: 40px !important;
}
p#billing_country_field label{
    margin-bottom: 9px !important;
}
p#billing_country_field span.select2.select2-container.select2-container--default, p#billing_state_field span.select2.select2-container.select2-container--default
{
    margin-top: -10px;
}

/*Formulario*/
.woocommerce input[type="text"], .woocommerce input[type="email"],.woocommerce input[type="url"], .woocommerce input[type="password"],.woocommerce input[type="search"],.woocommerce input[type="tel"],.woocommerce textarea,.woocommerce select {
	color: var(--texto) !important;
    background-color: transparent!important;
    border: var(--borde) !important;
}
.woocommerce input[type="text"]::placeholder,
.woocommerce input[type="email"]::placeholder,
input[type="tel"]::placeholder{
	color: var(--texto) !important;
	opacity: 0.6 !important;
}
/*Label campos*/
.woocommerce form .form-row label {
    color: var(--texto) !important;
	font-weight:500!important;
	font-size:16px!important;
}
/*Boton checkout*/
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    float: none;
    width: 100%;
	margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
	border: var(--borde) !important;
	background-color: var(--button-background) !important;
	color: white !important;
    font-weight: 600!important;
    font-size: 16px!important;
	text-transform: uppercase !important;
}
.woocommerce #payment #place_order:hover , .woocommerce-page #payment #place_order:hover, .woocommerce button.button:hover, .woocommerce input.button:hover  {
	background-color: var(--button-background) !important;
	color:#fff!important;
}
/*Requerido*/
.required{
	color: var(--texto) !important;
}

/*estilo del pais*/
.select2-container--default .select2-selection--single {
    background-color: #fff!important;
    border: var(--borde) !important;
    border-radius: 0px!important;
	padding-top:10px!important; 
}
.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 40px!important;
    margin: 0 0 -4px!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px!important;
    position: absolute!important;
    top: 8px!important;
    right: 1px;
    width: 20px;
}
span#select2-billing_country-container,
.woocommerce-checkout li.select2-results__option{
	color: var(--texto) !important;
}
.woocommerce-checkout input.select2-search__field{
	background-color: white;
	border: var(--borde) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected]{
	background-color: var(--button-background) !important;
	color: white !important;
}
/*link privacy policy*/
a.woocommerce-privacy-policy-link{
	color: var(--texto) !important;
	font-weight: bold;
}
/*login*/
form.woocommerce-form.woocommerce-form-login.login{
	color: var(--texto) !important;
}
/*Labels*/
p.woocommerce-form-row.woocommerce-form-row--wide.form-row.form-row-wide label, span.required {
    color: var(--texto) !important;
}
/*login boton*/
button.woocommerce-button.button.woocommerce-form-login__submit{
	background-color: var(--button-background) !important;
	color: white !important;
	text-transform: uppercase !important;
}
/*lost password*/
.lost_password a{
	color: var(--texto) !important;
	font-weight: bold;
}
/*Recuerdame*/
.woocommerce-account label.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
    color: var(--texto) !important;
	width: 100%;
}
/*reset password*/
form.woocommerce-ResetPassword.lost_reset_password {
   color: var(--texto) !important;
    font-size:14px;
}

/*filtro*/
/*color de titulos*/
span.prdctfltr_filter_title,
.prdctfltr-bars:before,
span.prdctfltr_regular_title,
.prdctfltr_checkboxes{
	color: var(--texto) !important;
}

/*floating cart*/

.fixed-add-to-cart form.variations_form.cart{
    display: block !important;
    margin-bottom: 0px !important;
}
@media only screen and (min-width: 650px) {
.fixed-add-to-cart .single_variation_wrap {
    width: 316px !important;
    display: inline-block;
}
.fixed-add-to-cart table.variations {
    width: 330px !important;
    display: inline-block;
    margin-bottom: 0px !important;
}
.fixed-add-to-cart table.variations select {
    height: 48px !important;
    margin-top: 0px;
}
.fixed-add-to-cart .button{
    margin-top: -4px !important;
}
.fixed-add-to-cart input.input-text.qty.text {
    margin-top: -4px;
    height: 48px !important;
}
.fixed-add-to-cart a.reset_variations{
    display: none !important;
}
.fixed-add-to-cart .variations select{
    min-width: 94% !important;
}
}
@media only screen and (max-width: 655px) {
.fixed-add-to-cart table.variations {
    margin-bottom: 5px !important;
}
 .fixed-add-to-cart form.cart table.variations td.label{
    width: 100px !important;
}
 .fixed-add-to-cart form.cart .variations select{
    min-width: 208px !important;
}

}