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

/*Add your own styles here:*/

.cmplz-cookiebanner .cmplz-buttons {
    flex-direction: row-reverse;
}

.owl-dot span {
	background: white !important;
}

.owl-dot.active span {
	background: var(--color-content-primary);
}

div#cmplz-document, div#cmplz-document * {
    font-size: inherit;
    max-width: inherit;
}

/** FORMULARIO DE CONTACTO **/

textarea#mensaje {
    height: auto !important;
}

#cabecera form label:not([for="aceptacion"]) {
    position: absolute;
    z-index: -1;
}

#cabecera form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#cabecera input#form-contact {
    margin-top: 0.5rem;
}

#cabecera label[for="aceptacion"],
footer label[for="aceptacion"]{
    display: inline-table;
}

#cabecera span.wpcf7-form-control-wrap,
footer span.wpcf7-form-control-wrap{
    display: inline-block;
}

/** FOOTER **/

footer form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    grid-template-areas: "Nombre Telefono Email" "Mensaje Mensaje Mensaje" "Acepto Enviar Redes";
	gap: 1rem;
}

footer form .nombre {
    grid-ara: Nombre;
}

footer form .telefono {
    grid-area: Telefono;
}

footer form .email {
    grid-area: Email;
	width: 100%;
}

footer form .mensaje {
    grid-area: Mensaje;
    width: 100%;
}

footer form label[for="aceptacion"] {
    grid-area: Acepto;
	font-size: 0.909rem;
	width: 100%;
}

footer form input.wpcf7-form-control.wpcf7-submit.has-spinner {
    grid-area: Enviar;
}

footer form .redes {
    grid-area: Redes;
	display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    width: 100%;
}

.redes a {
    border: 1px solid;
    height: 50px;
    width: 50px;
    display: block;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer form label:not([for="aceptacion"]) {
    position: absolute;
    z-index: -1;
}

footer form .mensaje span.wpcf7-form-control-wrap {
    width: 100%;
}

footer form input[type="checkbox"] {
    background: none;
    border: 1px solid white !important;
    border-radius: 7px;
}

section.negative h2 strong {
	color: var(--color-content-bg-grad);
}

h2 strong {
    color: var(--color-content-primary);
}

/** HOME **/

.fases_method .wpb_wrapper {
    height: 100% !important;
}

.fases_method .g-cols {
    height: 100%;
}

.fases_method {
    transition: all 0.5s ease-in-out;
}

.fases_method:hover {
    transform: translateY(-20px);
}

.type-us_portfolio .image-event {
    transition: all 0.5s ease-in-out;
}

.type-us_portfolio:hover .image-event {
    opacity: 0;
    pointer-events: none;
}

.libros_home .owl-carousel .owl-stage-outer {
	overflow: visible !important;
}

.libros_home .owl-carousel .owl-nav button {
    position: static;
    transform: translateY(0%);
}

.libros_home .owl-nav {
    display: flex;
    position: absolute;
    top: -3rem;
    right: 0;
}

.product .title_book {
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.product:hover .title_book {
    opacity: 1;
    pointer-events: none;
}

.owl-next:after {
    content: url(/wp-content/uploads/2024/07/Vector-2.svg);
}

.owl-prev:after {
    content: url(/wp-content/uploads/2024/07/Vector-3.svg);
}

/* CONTACTO */

.contact-us label:not([for="aceptacion"]) {
    position: absolute;
    z-index: -1;
}

.contact-us form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.contact-us label[for="aceptacion"] span.wpcf7-form-control-wrap {
    display: inline-table;
}

.contact-us label[for="aceptacion"] {
	margin-bottom: 1rem;
}

body.page-id-12 footer#page-footer section:nth-child(1) {
    display: none;
}

/** PRODUCTO **/
.woocommerce div.product .product_title {
    font-size: 3rem;
}

.w-tabs.style_default.layout_hor>.w-tabs-list .w-tabs-item {
    border-width: 2px 2px 2px 0x;
    border-top: 2px solid var(--color-content-primary);
}

button.w-tabs-item {
    border-left: 2px solid var(--color-content-primary) !important;
    border-right: 2px solid var(--color-content-primary) !important;
    color: var(--color-content-primary) !important;
}

.w-tabs.style_default>.w-tabs-list .w-tabs-item.active {
    background: var(--color-content-bg-grad);
    color: var(--color-content-primary);
    border-color: currentColor;
    border-bottom-width: 0px;
}

button.w-tabs-item.active::before {
    content: " ";
    position: absolute;
    bottom: -2px;
    z-index: 9;
    left: 0;
    right: 0;
    background: black !important;
    height: 2px;
}

.w-tabs.style_default>.w-tabs-list {
    background: var(--color-content-bg-alt)  !important;
    border-radius: 20px 20px 0 0;
}

.w-tabs-section-content {
    border: 2px solid var(--color-content-primary);
    padding: 2rem;
    border-radius: 0 0 20px 20px;
}

.w-tabs-list-h button:first-child {
    border-radius: 20px 0 0 0;
}

.w-tabs-list-h button:last-child {
    border-radius: 0 20px 0 0;
}

/* TIENDA */

.wc-block-components-sidebar.wc-block-checkout__sidebar.wp-block-woocommerce-checkout-totals-block.is-sticky * {
    border-color: white !important;
}

.quantity {
    border: 2px solid white;
}

a.wc-block-components-checkout-return-to-cart-button {
	display: none !important;
}

.wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label {
    font-size: 0.8rem !important;
}

.wc-block-components-form .wc-block-components-text-input input:-webkit-autofill+label, .wc-block-components-form .wc-block-components-text-input.is-active label, .wc-block-components-text-input input:-webkit-autofill+label, .wc-block-components-text-input.is-active label {
    transform: translateY(.2em) scale(.875) !important;
}
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
    background: none;
    border: 2px solid;
}
button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover {
    background: white;
    color: black;
}

.post-149 .imagen_producto {
	filter: brightness(1.5);
}

.w-grid-item-h:hover .w-vwrapper.usg_vwrapper_1.text-events.align_center.valign_middle {
	opacity: 1;
}

.w-vwrapper.usg_vwrapper_1.text-events.align_center.valign_middle {
	opacity: 0;
}

@media (max-width: 850px) {
	span.wpcf7-form-control-wrap:not([data-name="aceptacion"]) {
		width: 100%;
	}
}

@media (max-width:767px) {
	footer form {
		display: flex;
		flex-direction: column;
	}
	footer form .redes {
		justify-content: center;
		margin-bottom: 1rem;
	}
	.nombre, .telefono {
		width: 100%;
	}
}
