/*
Theme Name: Habitar
Author: Patricio A
Author URI: https://elinous.cl/
Theme URI: https://elinous.cl/
Tags: full-site-editing, block-patterns
Text Domain: habitar
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}


/* 7 contact */
.wpcf7-form {
	input[type="text"] , input[type="email"] , input[type="tel"] , textarea , select{
		background:transparent;
		border:0;
		padding:1rem;
		border:1px solid #ECECEC;
		border-radius:10px;
		outline:none;
		font-size:1.25rem;
		font-family:var(--wp--preset--font-family--uni-neue);
		width:100%;
		box-sizing: border-box;

		&.wpcf7-not-valid {
			border-bottom:3px solid #ff6a6a;
		}
	}

	 textarea {
		max-height:124px;
	}	
	
/* 	Ocultar mensaje de error */
	span.wpcf7-not-valid-tip {
		display:none;
	}
/* 	Mensaje final */
	div.wpcf7-response-output {
		border:0;
		border-bottom:3px solid #ffb900;
		display:inline-block;
	}
	
	.wp-element-button.enviar {
		background: var(--wp--preset--color--contrast);
		display: block;
		width: 100%;
	}
}
.wpcf7-form br {
		display:none;
}
.wpcf7-form p {
	display:flex;
	flex-wrap:wrap;
}
.wpcf7-form label {
	padding:5px 10px;
	display:block;
	margin-bottom:10px;
	span.title-input {
		color: var(--wp--preset--color--contrast);
		font-family: var(--wp--preset--font-family--staatliches);
		font-weight: 400;
		font-size: 1rem;
		margin-bottom: 10px;
		display: block;
	}
	&.w-50 {
		width:50%;
		box-sizing: border-box;
	}
	&.w-100 {
		width:100%;
		box-sizing: border-box;
		textarea {
			width:100%;
			
		}
	}
}


/* css personalizado */
.mt-contacto {
	top: -88px;
    position: relative;
}
.ml-box {
		left: -88px;
    position: relative;
}
.hero-servicio {
	
}

.hero-servicio .wp-block-cover {
	    overflow: inherit !important;
	align-items: end;
}

.hero-servicio .wp-block-cover .wp-block-cover__background , .hero-servicio .wp-block-cover .wp-block-cover__image-background {
	border-radius: 10px;
}

.hero-servicio .wp-block-cover .content-hero {
	margin-bottom:-100px;
}

.hero-section-home {
	min-height:600px;
}

.icon-link , .icon-link  a {
	display:flex;
	align-items:center;
	gap:.5rem;
}

.wp-site-blocks {
	overflow:hidden;
}

.whatsapp-btn {
	position: fixed;
    bottom: 11%;
    z-index: 9999999999999;
    right: 2%;
}

@media (max-width: 480px)   {
	
	
	.wp-block-navigation__responsive-container .wp-block-navigation-item__content  {
		color:#fff !important;
	}

	.no-border-end {
		border-right:0 !important;
	}
	.pd-none {
		padding: 0 !important;
	}

	.pl-none {
		padding-left:0 !important;
	}
	.pd-end-none {
		padding-right:0 !important;
	}
	.px-none {
		padding-left: 0 !important;
		padding-right:0 !important
}
	
	.ml-box {
		left: 0px;
		top:-20px;
		position: relative;
	}
	.wpcf7-form label.w-50 {
		width:100%;
	}
}
