/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/* Protocolo de publicación */

/*		Reemplazos en BD - hecho
		Dirigir el enlace del logo a la página de inicio - hecho
		Yoast SEO - hecho
		UpdraftPlus - hecho
		Añadir recaptcha v3 - hecho
		Certificado SSL - hecho
		Formularios - hecho
*/
.grecaptcha-badge{
	 display: none !important;
}

#us_form_search_s::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #333;
  opacity: 1; /* Firefox */
}

#us_form_search_s:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #333
}

#us_form_search_s::-ms-input-placeholder { /* Microsoft Edge */
  color: #333
}


/* Boton whatsapp */

#button-whatsapp {
    position: fixed;
    bottom: 30px;
	right: 30px;
	margin-right: 0 !important;
	z-index: 9999;
}
#button-whatsapp a{
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 80px;
    text-align: center;
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
    border-radius: 45px;
    background-color: #1ba41b;
}
#button-whatsapp a img {
    display: inline-block;
    max-width: 30px !important;
}


/*Solbyte CSS*/

.page-id-7675 article.w-grid-item:hover {
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
    transition: none!important;
}

.slider-home .l-section-h.i-cf {
    padding-top: 30px!important;
}

.titles-strong strong {
    font-weight: 700;
    color: #323078;
}

.banners-row .vc_column-inner {
    padding-left: 0.2rem!important;
    padding-right: 0.2rem!important;
}

h3.ult-new-ib-title.ult-responsive {
    font-size: 45px;
    font-weight: 200!important;
}

.marcas-logos {
    padding: 0.7rem;
}

.shadow_on_hover {
	-webkit-box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 0%);
	box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 0%);
	transition: box-shadow 0.3s ease-in-out;
}

.w-grid-item:hover .shadow_on_hover img {
	-webkit-box-shadow: 0px 0px 20px 5px rgb(0 0 0 / 20%);
    box-shadow: 0px 0px 20px 5px rgb(0 0 0 / 20%);
}

.marcas-logos:hover {
    -webkit-box-shadow: 0px 0px 20px 5px rgb(0 0 0 / 20%);
    box-shadow: 0px 0px 20px 5px rgb(0 0 0 / 20%);
    transition: box-shadow 0.3s ease-in-out;
}

p.w-iconbox-title {
    text-transform: uppercase;
    font-weight: 700;
}

.w-post-elm.post_custom_field.usg_post_custom_field_1.type_text.has_text_color {
    padding: 1em 0em 1em 1em;
}

.motorbikes_home .w-grid-item-h {
    -webkit-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.4);
}

.reviews-row:hover {
    -webkit-box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.3);
}

#us_grid_2 .w-grid-item {
    padding: 1rem!important;
}

.banners-home {
    display: none!important;
}

.reviews-home {
    display: none!important;
}


/* Form home */

.form-group.files-false {
    margin-top: 0.4em;
}

.col-xs-3 {
    width: 33.33333333%;
    float: left;
}

.col-xs-6 {
    width: 50%;
    float: left;
}

.col-xs-12 {
    margin: 0.5em 0em 0.5em 0em;
}

.form-group {
    margin-right: 1em;
}

input[type="checkbox"] {
    margin-bottom: 8px;
}


/* Form interno motos */

.row-bikes {
    text-align: left!important;
    font-size: 15px;
}

.block-submit-bikes {
    text-align: left;
}


/* Marcas */

article.w-grid-item:hover {
    /*-webkit-box-shadow: 0px 0px 20px 5px rgb(0 0 0 / 20%);
    box-shadow: 0px 0px 20px 5px rgb(0 0 0 / 20%);
    transition: box-shadow 0.3s ease-in-out;*/
}


/* pagina producto moto */

.motorbikes-technical .w-vwrapper.us_custom_f833c2c3.align_left.valign_middle {
    margin-bottom: 1em;
}

.motorbikes-technical .w-vwrapper.us_custom_f833c2c3.align_left.valign_middle:last-child {
    margin-bottom: 0em;
}

.general-bikes .vc_col-sm-4 {
    display: block;
}


/* marcas MOTOS page */

.info-brand {
    text-align: center;
    min-width: 20%;
}

.motos-page.l-main {
    margin-top: 50px;
    margin-bottom: 100px;
    display: flex;
    flex-direction: row;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.single-moto-brand {
    display: flex;
    min-height: 400px;
    padding-right: 0;
    /* margin: 1rem; */
    padding-bottom: 0;
    margin-top: 1.5rem;
    gap: 50px;
    /* width: 45%; */
    padding: 1rem;
    background-color: white;
    /* flex-wrap: wrap; */
    border: 2px solid #8080804f;
}

.single-moto-brand>.entry-content {
    width: 100%;
}

.single-moto-brand>.entry-content>h6 {
    width: fit-content;
    /* border-bottom: 4px solid #323078; */
}

.entry-title {
    width: inherit;
    border-bottom: 4px solid #2a287c;
    padding: 10px;
}

#models-list {
    overflow: auto;
    /* background-color: #d5d1c838; */
    list-style: none;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    column-gap: 100px;
    margin-left: 0;
    padding: 1rem;
    width: 100%;
    align-content: flex-start;
}

.section-motos-modelo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modelos-section-motos {
    display: flex;
    gap: 2rem;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.form-section-pers {
    padding: 2rem;
    background: #e8e8e8;
}

.modelo-moto {
	display:grid;
	grid-template-columns:1fr;
	grid-template-rows: 1fr 1fr 300px;
	height:400px;
    /* width: 30%; */
    padding: 2rem;
    border: solid 1px #80808012;
    background: #e8e8e85c;
    box-shadow: 0px 0px 20px 0px #00000014;
}
.modelo-moto p{
	margin:0;
}

.modelo-moto p:empty{
	display:block;
}

.modelo-moto a {
	margin-top:1rem;
}

.modelo-moto img{
	width:100%;
	height:100%;
	object-fit:cover;
	object-position:center;
}

.modelo-moto > h5 {
	margin-bottom: 5px !important;
}

.section-single-model-header {
    background: url(https://www.motodesguacesredia.com/wp-content/uploads/2021/06/cabecera-contacto.jpg) no-repeat 40%/ cover!important;
}

.section-single-model-header.all {
    padding: 0;
}

.header-single-model-title {
    color: white;
}

.contacto-modelos {
    background: #f7f7f7;
}

.container-card {
    display: flex;
    flex-direction: column;
    width: 45%;
    margin: 20px;
}

#motos_page_section_header h2{
	padding-bottom:0;
}
.moto-page-main > section:first-child{ padding:4rem 2.5rem 80px 2.5rem; }



.model_date{
	display:flex;
	flex-direction:row;
	justify-content:space-between;
}
.model_date span:first-child{
	width:30%;
	font-size:22px !important;
}

.model_date span:last-child{
	width:70%;
	text-align:right;
	font-weight:500;
	color:#322070;
}




@media screen and (max-width: 1600px) {
    body .us_custom_27c42ee1 {
        font-size: 25px!important;
        margin-top: 2.2rem!important;
    }
    #models-list {
        flex-wrap: nowrap;
        max-height: 600px;
    }
}

@media screen and (max-width: 1500px) {
    h3.ult-new-ib-title.ult-responsive {
        font-size: 40px;
        font-weight: 200!important;
        line-height: 1;
    }
}

@media screen and (max-width: 1300px) {
    h3.ult-new-ib-title.ult-responsive {
        font-size: 35px;
        font-weight: 200!important;
        line-height: 1;
        margin-bottom: 1.5rem;
    }
    body .us_custom_5d5fc94f {
        max-height: 100%!important;
        min-height: 100%!important;
        margin-top: 0!important;
        padding-bottom: 0!important;
        background: url(https://www.motodesguacesredia.com/wp-content/uploads/2021/05/slider_ppal-2.jpg) no-repeat center center / cover!important;
    }
}

@media screen and (max-width: 1200px) {
    .single-moto-brand {
        flex-wrap: wrap;
    }
    .info-brand {
        text-align: start;
    }
}

@media screen and (max-width: 1025px) {
    .modelo-moto {
        width: 40%;
    }
    .footer-rows .vc_col-sm-3 {
        width: 50%;
    }
    .footer-rows .vc_col-sm-3:first-child {
        margin-bottom: 4rem;
    }
	
	#motos_page_section_header{
		padding:1.5rem 0 !important;
	}
	
	.moto-page-main > section:first-child{ 
		padding:4rem 2.5rem 0px 2.5rem;
		background: url(https://www.motodesguacesredia.com/wp-content/uploads/2021/06/cabecera-contacto.jpg) no-repeat center / cover!important;
	}
	
}
@media screen and (max-width: 999px) {
     .modelo-moto {
        width: 75%;
    }
}

@media screen and (max-width: 890px) {
     .modelo-moto {
        width: 80%;
    }
    .container-card {
        width: 100%;
        margin: 0;
    }
    #models-list {
        max-height: none;
    }
    .single-moto-brand {
        margin: 0;
        margin-bottom: 70px;
        /* border-top: 5px solid blue; */
    }
}

@media screen and (max-width: 768px) {
         .modelo-moto {
        width: 100%;
    }
    .container-card {
        width: 100%;
        margin: 0;
    }
    .single-moto-brand {
        margin: 0;
        margin-bottom: 70px;
        /* border-top: 5px solid blue; */
    }
    #models-list {
        flex-wrap: nowrap;
        max-height: none;
    }
    h3.ult-new-ib-title.ult-responsive {
        font-size: 25px;
        font-weight: 200!important;
        margin-bottom: 2rem;
    }
    .marcas-motos .vc_col-sm-2.wpb_column.vc_column_container {
        width: 33%!important;
    }
    .general-bikes .vc_col-sm-4 {
        width: 100%;
        margin-top: 1rem
    }
    .general-bikes .vc_col-sm-8 {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .vc_col-sm-4.wpb_column.vc_column_container.banners-row {
        max-height: 250px!important;
    }
    h3.ult-new-ib-title.ult-responsive {
        font-size: 35px;
        font-weight: 200!important;
    }
    .g-cols>div:not([class*=" vc_col-"]) {
        width: 100%;
        margin: 0 0 0.2rem;
    }
    body .us_custom_5d5fc94f {
        max-height: 100%!important;
        min-height: 100%!important;
        margin-top: 0!important;
        padding-bottom: 0!important;
        background: url(https://www.motodesguacesredia.com/wp-content/uploads/2021/05/slider_ppal-2.jpg) no-repeat bottom right / cover!important;
    }
    .marcas-motos .vc_col-sm-2.wpb_column.vc_column_container {
        width: 50%!important;
    }
    .col-xs-3 {
        width: 100%;
        float: left;
    }
    .col-xs-6 {
        width: 100%;
        float: left;
    }
    .col-xs-12 {
        width: 100%;
    }
}


/**
 * VEHICULO
 * */
.product-template-default.single.single-product .entry-title {
	border-color: rgba(42, 40, 124, .15);
	padding: .2em 0 !important;
}

.product-template-default.single.single-product .price .amount bdi{
	font-size: 1.5em !important;
	font-weight: 500;
	color: cornflowerblue;
}
.product-template-default.single.single-product .w-post-elm.add_to_cart .quantity,
.product-template-default.single.single-product .w-post-elm.add_to_cart .stock.in-stock,
.product-template-default.single.single-product .w-post-elm.add_to_cart .out-of-stock {
	display: none
}
.product-template-default.single.single-product .w-post-elm.product_field.attributes [class^="woocommerce-product-attributes-item--attribute_pa"],
.product-template-default.single.single-product .woocommerce-product-attributes-item--attribute_pa,
.vehiculo-template-default .woocommerce-product-attributes-item--attribute_pa {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #E0E0E0;
	padding: .2em 0;
	font-size: .9rem;
}

.product-template-default.single.single-product .w-post-elm.product_field.attributes [class^="woocommerce-product-attributes-item--attribute_pa"]:last-child,
.product-template-default.single.single-product .woocommerce-product-attributes-item--attribute_pa:last-child,
.vehiculo-template-default .woocommerce-product-attributes-item--attribute_pa:last-child {
	border-bottom: none;
	padding-bottom: 0
}

/**
 * BLOCKS
 * */

.pieza_carrusel_buttons {
    DISPLAY: grid;
    grid-template-columns: 42% 58%;
    align-items: stretch;
    align-content: center;
    justify-content: stretch;
    justify-items: stretch;
    grid-gap: 2px;
    justify-content: stretch;
    justify-items: stretch;
}
.pieza_carrusel_buttons > div,
.pieza_carrusel_buttons > a {
	DISPLAY: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	align-content: center;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	justify-content: center !important;
	justify-items: center !important;
	text-align: center !important;
	font-size: .8rem !important;
}

.pieza_carrusel_buttons > div,
.pieza_carrusel_buttons > a {
	width: 100%;
}

/**
SPARE PART FORM
 */
#consulta_recambio h2 {
    margin: 0;
}

#consulta_recambio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    grid-template-areas: "recambio personal" "vacio envio";
}

#columna_recambio {
    grid-area: recambio
}

#columna_personal {
    grid-area: personal
}

#columna_recambio > *,
#columna_personal > * {
    margin-bottom: .5rem
}

#columna_recambio label,
#columna_personal label {
    font-weight: 400 !important;
    color: #999999
}

#columna_envio {
    grid-area: envio
}

#columna_envio {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#columna_envio input[type="checkbox"] {
    margin: 0;
    width: 2rem;
    height: 2rem;
    background-position: center center !important;
    background-size: auto 80% !important;
    background-repeat: no-repeat !important;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
}

#columna_envio input[type="checkbox"]:checked {
	background-color: var(--color-content-primary);
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgaGVpZ2h0PSIzMiIgaWQ9ImNoZWNrIiB2aWV3Qm94PSIwIDAgMzIgMzIiIHdpZHRoPSIzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMSAxNCBMNSAxMCBMMTMgMTggTDI3IDQgTDMxIDggTDEzIDI2IHoiLz48L3N2Zz4=) !important;
    background-position: center center !important;
    background-size: auto 80% !important;
    background-repeat: no-repeat !important;
}

#consulta_recambio_submit {
    display: flex;
    align-items: center;
    flex-direction: row-reverse
}

#consulta_recambio {

}

/**
 *  RECAMBIO
**/

.w-post-elm.add_to_cart .woocommerce-message .button, 
.w-post-elm.add_to_cart .woocommerce-info .button {
	
}

.w-post-elm.add_to_cart .woocommerce-error .button {
	display: block !important;
	float: left !important;
	clear: both !important;
	margin-bottom: .5em;
	width: 100%;
}

:not(.w-wc-notices)>.woocommerce-error {
    padding: 1rem 1.5rem;
    overflow: hidden;
    background: var(--color-content-primary);
	background: #e35858;
    margin: 0 0 1.5rem;
	color: white;
	font-size: .75em !important;
	line-height: 1.15 !important;
}

/**
 * CHECKOUT
**/

.woocommerce .button.cancel,
.woocommerce .button#submit_redsys_payment_form {
	background: var(--color-content-primary) !important;
}

@media screen and (max-width:768px) {
	#consulta_recambio {
		grid-template-columns: 1fr;
		grid-template-areas:  "recambio" "personal" "vacio" "envio"
	}
}

.us-woo-cart_compact .woocommerce .shop_table.cart td, .us-woo-cart_compact .woocommerce .shop_table.cart th {
	font-size: .85rem;
    vertical-align: middle;
	line-height: 1.15;
}

.us-woo-cart_compact .woocommerce .shop_table.cart td small.tax_label {
	display: inline-block;
    line-height: 1.15;
}

.woocommerce .cart_totals:not(.w-cart-totals) {
    font-size: .85rem;
}

.woocommerce .shop_table.cart .product-subtotal {
    width: 7rem;
}