/* @group Contact Gallery
------------------------------------ */

.contact-gallery__container {
	padding-top: 8.3rem;
	padding-bottom: 9.1rem;
}

.contact-gallery__title {
	text-align: center;
}

.contact-gallery__title h2 {
	text-transform: uppercase;
	color: var(--teal);
	font-weight: 700;
	line-height: 1em;
	letter-spacing: 0.01em;
	margin-bottom: 2.4rem;
}

.contact-gallery__box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.contact-gallery__box .contact-box {
	position: relative;
}

.contact-gallery__box .contact-box::after {
	content: "";
	position: absolute;
	height: 100%;
	width: 0.1rem;
	top: 0;
	right: -3.3rem;
	background-color: var(--main-grey);
	opacity: 0.3;
}

.contact-gallery__box .contact-box:last-of-type::after {
	background-color: transparent;
}

.contact-gallery__box .contact-box .box {
	display: block;
}

.contact-gallery__box .contact-box .img-box {
	position: relative;
	border-radius: 0.4rem;
}

.contact-gallery__box .contact-box .txt-box h3 {
	color: var(--main-white);
	font-size: 2.4em;
	font-weight: 600;
	line-height: 1.25em;
	display: inline-block;
}

.contact-gallery__box .contact-box ul.collection li {
	color: var(--main-white);
	font-size: 1em;
	font-weight: 600;
	line-height: 1.5em;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	opacity: 0.5;
}

.contact-gallery__box .contact-box .txt-box li {
	font-size: 1.4em;
	font-weight: 300;
	letter-spacing: -0.01em;
	line-height: 1.3em;
	display: block;
	color: var(--main-white);
}

@media only screen and (min-width: 961px) {
	.contact-gallery {
		background: url("../../img/layout/contact/background.svg"), rgba(0, 33, 77, 1);
		background-position: top left;
		background-repeat: no-repeat;
	}
	.contact-gallery__title {
		margin-bottom: 9.6rem;
	}
	.contact-gallery__box .contact-box {
		position: relative;
		flex: 0 1 calc(25% - 6.6rem);
	}
	.contact-gallery__box .contact-box .box {
		max-width: 28rem;
		margin: 0 auto;
	}
	.contact-gallery__title h2 {
		font-size: 7.5em;
		max-width: 56.7rem;
		margin: 0 auto 4.1rem;
	}
	.contact-gallery__title p {
		font-size: 2.2em;
		line-height: 1.2em;
		max-width: 76.1rem;
	}
	.contact-gallery__box .contact-box .img-box {
		height: 29.5rem;
		margin: 0 0 1.45rem;
	}
	.contact-gallery__box .contact-box .txt-box h3 {
		margin: 0 0 0.75rem;
	}
	.contact-gallery__box .contact-box ul.collection {
		margin: 0 0 0.75rem;
	}
}

@media only screen and (min-width: 0) and (max-width: 960px) {
	.contact-gallery {
		background: url("../../img/layout/contact/background-mobile.svg"), rgba(0, 33, 77, 1);
		background-position: bottom right;
		background-size: cover;
		background-repeat: no-repeat;
	}
	.contact-gallery__title {
		margin-bottom: 5.4rem;
	}
	.contact-gallery__title h2 {
		font-size: 5em;
		max-width: 34.5rem;
		margin: 0 auto 1.7rem;
	}
	.contact-gallery__title p {
		font-size: 1.8em;
		max-width: 30.5rem;
	}
	.contact-gallery__box {
		flex-wrap: wrap;
		column-gap: 0;
	}
	.contact-gallery__box .contact-box {
		flex: 0 1 calc(50% - 1.25rem);
		margin-bottom: 2.18rem;
	}
	.contact-gallery__box .contact-box::after {
		right: -1.25rem;
	}
	.contact-gallery__box .contact-box:nth-child(odd) {
		margin-right: 1.25rem;
	}
	.contact-gallery__box .contact-box:nth-child(even) {
		margin-left: 1.25rem;
	}
	.contact-gallery__box .contact-box:nth-child(even)::after {
		background-color: transparent;
	}
	.contact-gallery__box .contact-box .img-box {
		height: 16.2rem;
		margin: 0 0 0.98rem;
	}
	.contact-gallery__box .contact-box .txt-box {
		padding-left: 0.75rem;
	}
	.contact-gallery__box .contact-box ul.collection {
		margin: 0 0 0.5rem;
	}
	.contact-gallery__box .contact-box ul.collection li {
		opacity: 1;
	}
	.contact-gallery__box .contact-box .txt-box h3 {
		font-size: 1.6em;
		margin: 0 0 0.33rem;
	}
}

/* @end */

/* @group Contact Form
------------------------------------ */

.contact-form {
	position: relative;
	background-color: var(--main-white);
	border-top: 0.1rem solid rgba(201, 202, 204, 0.3);
}
.contact-form::before {
	content: "";
	width: 100%;
	height: 0.1rem;
	background-color: rgba(201, 202, 204, 0.3);
	display: inline-block;
	position: absolute;
	left: 0;
}
.contact-form__img .img-box {
	border-radius: 0.4rem;
}
.contact-form__info h3 {
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.04em;
	font-size: 1.4em;
	line-height: 1.42em;
	color: #fff;
}
.contact-form__info h2 {
	font-weight: 600;
	letter-spacing: -0.02em;
	font-size: 5em;
	line-height: 1.16em;
	color: var(--main-blue);
	margin-bottom: 0.5rem;
}
.contact-form__info p {
	color: var(--font-black);
	font-size: 1.8em;
	line-height: 1.33em;
	max-width: 47.2rem;
}
.page-template-contact form label:last-of-type {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0;
}
.page-template-contact form label {
	display: block;
	margin-bottom: 1rem;
}
.page-template-contact form input[type="text"] {
	height: 5.2rem;
	display: inline-block;
	width: 100%;
	background-color: var(--light-grey);
	border-radius: 0.4rem;
	padding: 0 1.8rem;
	font-size: 1.4em;
	line-height: 1.42em;
	font-weight: 400;
	color: var(--font-black);
}
.page-template-contact form input[type="submit"] {
	background-color: var(--teal);
	color: var(--main-blue);
	text-transform: uppercase;
	color: var(--main-blue);
	width: 15.4rem;
	font-weight: 600;
	font-size: 1.4em;
	line-height: 5.2rem;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.55);
	border-radius: 0.4rem;
	cursor: pointer;
}
.page-template-contact form select,
.page-template-contact form textarea {
	display: inline-block;
	width: 100%;
	background-color: #fff;
	border-radius: 0.4rem;
	font-size: 1.4em;
	line-height: 1.42em;
	font-weight: 400;
	color: var(--font-black);
	background-color: var(--light-grey);
}
.page-template-contact form input[list] {
	height: 5.2rem;
	padding: 0 1.8rem;
	cursor: pointer;
}
.page-template-contact form select {
	height: 5.2rem;
	padding: 0 1.8rem;
	background-image: url("../../img/layout/property/arrow-select.png");
	background-position: 98% center;
	background-repeat: no-repeat;
	background-size: 2rem auto;
	cursor: pointer;
}
.page-template-contact form option {
	padding: 0 1.8rem;
}
.page-template-contact form textarea {
	padding: 1.5rem 1.8rem;
	height: 8rem;
}

.page-template-contact form legend {
	color: var(--font-black);
	letter-spacing: -0.01em;
	font-size: 1.2em;
	line-height: 1.33em;
	opacity: 0.5;
}
.page-template-contact form fieldset {
	position: relative;
}
.page-template-contact .wpcf7-form-control-wrap.prop {
	background-color: #fff;
	border: 0.1rem solid var(--light-grey);
	border-radius: 0.4rem;
	padding: 0 1.2rem;
	width: 100%;
	display: flex;
	align-items: center;
	box-shadow: 0px 3px 6px 1px rgba(24, 58, 107, 0.15);
	height: 6.2rem;
	margin-bottom: 6.2rem;
	color: #101010;
	cursor: pointer;
	position: relative;
}
.page-template-contact .wpcf7-form-control-wrap.prop input {
	background-color: #fff;
}
.page-template-contact form span:not(.wpcf7-spinner) {
	display: block;
	width: 100%;
	margin-bottom: 1rem;
}
.page-template-contact .contact-form legend {
	position: relative;
	top: -3.5rem;
	right: -100%;
	transform: translateX(-10rem) !important;
	display: inline-block;
	width: 10rem;
}
.page-template-contact form fieldset input[type="text"] {
	display: inline-block;
	width: 100%;
	height: 4.5rem;
	color: var(--font-black);
	font-size: 1.6em;
	line-height: 0.1em;
	font-weight: 600;
	background-color: transparent;
}
.page-template-contact form fieldset input::placeholder {
	color: #101010;
}
.page-template-contact form fieldset.active-dropdown ul {
	visibility: visible;
	pointer-events: all;
	opacity: 1;
}
.page-template-contact form fieldset ul {
	position: absolute;
	top: 8rem;
	width: 100%;
	box-shadow: 0px 0px 16px 2px rgba(0, 0, 0, 0.2);
	border-radius: 0.4rem;
	background-color: #fff;
	padding: 1.2rem 1.4rem;
	opacity: 0;
	transform: translateY(-10%);
	pointer-events: none;
	transition: all 0.7s;
	z-index: 3;
}
.page-template-contact form fieldset ul li {
	font-size: 1.2em;
	line-height: 1.6em;
	letter-spacing: -0.01em;
	color: var(--font-black);
	font-weight: 300;
	cursor: pointer;
}
.page-template-contact form .wpcf7-form-control-wrap.prop {
	margin-bottom: 6.2rem;
}
.page-template-contact .wpcf7-not-valid {
	border-bottom: 2px solid rgba(183, 16, 37, 1);
	font-size: 1.2em;
	padding: 0.5rem 0;
}
.page-template-contact .wpcf7-not-valid::placeholder {
	color: rgba(183, 16, 37, 1);
}
.page-template-contact .wpcf7 form .wpcf7-not-valid-tip,
.page-template-contact .wpcf7 form .wpcf7-response-output {
	display: none;
}
.page-template-contact .wpcf7 form.sent .wpcf7-response-output {
	display: block;
	border-color: var(--main-blue);
	color: var(--main-blue);
	font-size: 1.4rem;
	padding: 1.2rem;
	margin: 2rem 0;
	line-height: 1.8rem;
}
@media only screen and (min-width: 961px) {
	.contact-form {
		padding-top: 6.5rem;
	}
	.contact-form::before {
		top: 6.5rem;
	}
	.contact-form__info {
		padding: 19.3rem 6.2rem 15rem 5.8rem;
	}
	.contact-form__info::before {
		content: "";
		width: 0.1rem;
		height: 100%;
		background-color: var(--secundary-grey);
		display: inline-block;
		position: absolute;
		top: 0;
		right: 0;
	}
	.contact-form__location {
		margin-top: 3.5rem;
	}
	.page-template-contact form {
		margin-top: 5.4rem;
	}
	.contact-form__img {
		padding: 8rem 6rem 6rem;
	}
	.contact-form__img .img-box {
		width: 100%;
		max-width: 61rem;
		height: 78rem;
	}
	.page-template-contact form fieldset {
		margin-bottom: 6.2rem;
	}
}
@media only screen and (min-width: 961px) and (max-width: 1440px) {
}
@media only screen and (min-width: 0) and (max-width: 960px) {
	.contact-form {
		padding-top: 4.9rem;
	}
	.contact-form__info {
		padding-top: 5.5rem;
		padding-bottom: 5rem;
	}
	.contact-form__location {
		margin-top: 4.4rem;
	}
	.contact-form__info h2 {
		font-size: 3.6em;
		line-height: 1.16em;
		max-width: 26.6rem;
	}
	.contact-form__info p {
		max-width: 30.6rem;
	}
	.page-template-contact form {
		margin-top: 5rem;
	}
	.contact-form__img {
		padding: 0 2rem 7rem;
	}
	.contact-form__img .img-box {
		width: 100%;
		height: 40rem;
	}
	.page-template-contact form fieldset {
		margin-bottom: 4.8rem;
	}
}

/* @end */

/* Animaciones */

.contact-gallery h2,
.contact-gallery a,
.contact-gallery .contact-box {
	opacity: 0;
}

.contact-gallery.animateActive h2,
.contact-gallery.animateActive a,
.contact-gallery.animateActive .contact-box {
	animation: fadeDown 1.8s forwards;
}

.contact-gallery.animateActive h2 {
	animation-delay: 0.3s;
}
.contact-gallery.animateActive a {
	animation-delay: 0.6s;
}
.contact-gallery.animateActive .contact-box:nth-child(1) {
	animation-delay: 0.9s;
}
.contact-gallery.animateActive .contact-box:nth-child(2) {
	animation-delay: 1.2s;
}
.contact-gallery.animateActive .contact-box:nth-child(3) {
	animation-delay: 1.5s;
}
.contact-gallery.animateActive .contact-box:nth-child(4) {
	animation-delay: 1.8s;
}

.contact-form h2,
.contact-form p,
.contact-form label,
.contact-form a,
.contact-form legend {
	opacity: 0;
}

.contact-form.animateActive h2,
.contact-form.animateActive p,
.contact-form.animateActive label,
.contact-form.animateActive a,
.contact-form.animateActive legend {
	animation: fadeLeft 1.8s forwards;
}

.contact-form.animateActive h2 {
	animation-delay: 0.3s;
}
.contact-form.animateActive p {
	animation-delay: 0.5s;
}
.contact-form.animateActive label:nth-child(1) {
	animation-delay: 0.7s;
}
.contact-form.animateActive label:nth-child(2) {
	animation-delay: 0.8s;
}
.contact-form.animateActive label:nth-child(3) {
	animation-delay: 0.9s;
}
.contact-form.animateActive label:nth-child(4) {
	animation-delay: 1s;
}
.contact-form.animateActive label:nth-child(5) {
	animation-delay: 1.1s;
}
.contact-form.animateActive a {
	animation-delay: 1.3s;
}
.contact-form.animateActive legend {
	animation-delay: 1.5s;
}

.contact-form .contact-form__img {
	opacity: 0;
}
.contact-form.animateActive .contact-form__img {
	animation: fadeRight 1s forwards;
}
.contact-form.animateActive .contact-form__img {
	animation-delay: 1s;
}

@media only screen and (min-width: 0) and (max-width: 960px) {
	.contact-form.animateActive .contact-form__img {
		animation-delay: 0.3s;
	}
}

.wpcf7-form-control-wrap {
	position: relative;
	z-index: 2;
}
.select-multiple {
	position: relative;
}
.selected-options {
	width: 100%;
	background-color: var(--light-grey);
	border-radius: 0.4rem;
	font-size: 1.4em;
	line-height: 1.42em;
	font-weight: 400;
	color: var(--font-black);
	height: 5.2rem;
	padding: 0 1.8rem;
	background-image: url(../../img/layout/property/arrow-select.png);
	background-position: 98% center;
	background-repeat: no-repeat;
	background-size: 2rem auto;
	cursor: pointer;
	display: flex;
	align-items: center;
}
.select-multiple .options-list {
	position: absolute;
	top: 4.2rem;
	left: 0;
	width: 100%;
	background-color: var(--main-white);
	z-index: 2;
	opacity: 0;
	pointer-events: none;
	padding-top: 1rem;
}
.active-menu .options-list {
	opacity: 1;
	pointer-events: all;
	border: 0.1rem solid #fff;
}
.select-multiple .options-list li {
	cursor: pointer;
	padding: 0.75rem 1.8rem;
	color: var(--font-black);
}
.select-multiple .options-list li.selected {
	background-color: var(--main-blue);
	color: var(--main-white);
}
