/*Variables para los colores*/
:root {
	--color-primary: lightblue;
	--color-secondary: #000;
	--color-tertiary: #fff;
	--color-quaternary: #ccc;
	--color-icons-container: #d0131f;
	--color-btn-check: #d0131f;
	--color-btn-not_check: #afafaf;
	--color-btn-buscar: #d0131f;
	--color-rojo-portada: #d0131f;
	--form-background: #fff;
	--input-select-background: trasparent;
	--input-color-font: #000000;
	--color-inputs-background: #f0f0f0;
	--placeholder-color-font: #b0b0b0;
}
@import url("https://fonts.googleapis.com/css2?family=Style+Script&display=swap");
.search-bar {
	@media (min-width: 768px) {
		padding: 1rem;
	}
	width: fit-content;
}

/* Form Layout */
.search-bar-form {
	width: 100%;
	height: 100%;
	max-width: fit-content;
}

/* Form Head */
/* Tabs */
.search_input_tab_hidden {
	display: none;
}

.search-bar-form-container-options {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	flex-direction: row;
	width: fit-content;
	height: 3em;
	padding: 0 1.2em;
	outline: none;
}

/* tab inputs */
.section_form_opts_btns_container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	padding: 0.5em;
	background-color: var(--color-btn-not_check);
	border-radius: 5px 5px 0 0;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	color: var(--color-tertiary);
	transition: all ease 0.3s;
	cursor: pointer;
}

.section_form_opts_btns {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 0.2em;
}

/* Form body */
/* Form body Layout */
.search-bar-container {
	display: grid;
	grid-template-columns: 1fr;
	width: fit-content;
	height: 100%;
	background-color: var(--color-tertiary);
	border-radius: 1rem;
	gap: 1em;
	padding: 0;
	box-shadow:
		rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
		rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
	@media (min-width: 768px) {
		padding: 1rem 1rem;
	}
}

/* Form body styles */
.search_bar_body_input {
	background-color: var(--input-select-background);
	color: var(--color-secondary);
	width: 100%;
	min-width: 6rem;
	height: 100%;
	padding: 0.5em;
	border: none;
	outline: none;
	color: var(--input-color-font);
	cursor: pointer;
}

/* Form body inputs container */
.search-bar-input-group-container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 100%;
	color: var(--color-icons-container);
	@media (min-width: 768px) {
		gap: 1em;
	}
	@media (max-width: 768px) {
		/* width: 33%; */
		display: block;
	}
}

/* Form body inputs styles */

/* From body inputs with icons styles */
.input-with-icon {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	width: fit-content;
	min-width: fit-content;
	padding: 0.5em;
	border: 1px ridge;
	border-radius: 8px;
	outline: none;
}

/* Form body input search */
.search-codigo_input {
	width: 100%;
}

/* Form footer */
/* Submit */
.search-bar-button {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0.3em;
	border: none;
	border-radius: 5px;
	background-color: var(--color-btn-buscar) !important;
	color: var(--color-tertiary) !important;
	outline: none;
	cursor: pointer;
	position: absolute;
	width: 7em;
	height: 2.5em;
	box-shadow:
		rgba(0, 0, 0, 0.4) 0px 2px 4px,
		rgba(0, 0, 0, 0.3) 0px 7px 13px -3px,
		rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

/* SVGs */
.arrendar_style {
	width: 1em;
}

.svg_icons_tabs {
	width: 1em;
	height: 1em;
	fill: var(--color-tertiary);
}

/*checked*/
.search_input_tab_hidden[type="radio"]:checked
	+ .section_form_opts_btns_container {
	background-color: var(--color-btn-check);
	transition: all ease 0.5s;
	padding-top: 0.7em;
	cursor: pointer;
}

input[type="text"].search_bar_body_input {
	/* background-color: var(--input-select-background); */
	border: none;
	outline: none;
	/* color: black; */
}

.search-bar-container {
	display: flex;
}

.search-codigo_input {
	height: 3.4em;
	width: 100%;
}

/*Contenedor principal de los iconos e inputs*/
/*inputs*/
.select-menu .select-btn {
	display: flex;
	height: 55px;
	background: #fff;
	padding: 8px;
	font-size: 1em;
	font-weight: 400;
	border-radius: 8px;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/*Icono flecha*/
.select-menu > .select-btn > .arrow_down {
	font-size: 0.75em;
	color: var(--input-color-font);
	transition: 0.3s;
}

/*Icono flecha*/
.option > .arrow_down {
	font-size: 0.75em;
	margin-right: 4px;
}

/*ul*/
.select-menu .options {
	position: absolute;
	padding: inherit;
	margin-top: 5px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	display: none;
	width: 14em;
	z-index: 5;
	overflow: auto;
	max-height: 12em;
}

/*ul active*/
.select-menu.active .options {
	display: block;
}

/*icono flecha active*/
.select-menu.active .select-btn .arrow_down {
	transform: rotate(180deg);
}

/*li*/
.options .option {
	display: flex;
	height: 2rem;
	cursor: pointer;
	padding: 0 1em;
	align-items: center;
	background: var(--color-tertiary);
}

/*li hover*/
.options .option:hover {
	background: #f2f2f2;
}

/*span-li*/
.option .option-text {
	font-size: 0.875em;
	color: var(--input-color-font);
	padding: 0.5em;
}

/*input*/
.select-btn > input.btn-text {
	border: none;
	font-size: 1em;
	padding-left: inherit;
	cursor: pointer;
	color: var(--input-color-font);
}

/*input focus*/
.btn-text:focus {
	outline: none;
	border: none;
}

/*placeholder input*/
input::placeholder {
	color: var(--placeholder-color-font);
}

/*Medidas @media screen*/
@media screen and (min-width: 320px) and (max-width: 480px) {
	.search-bar {
		width: 100%;
	}

	.search-bar-form {
		max-width: none;
	}

	.search-bar-container {
		flex-direction: column;
		width: 100%;
		padding: 0rem 0rem;
	}

	.input-with-icon {
		min-width: 100%;
	}

	.select-menu {
		width: 100%;
	}
}

.img-asesor {
	/* width: 10rem; */
	height: 30rem !important;
	object-fit: cover;
}
.inmobiliaria-asesor {
	width: 15rem;
	/* padding: 2rem; */
	text-align: center;
	background: linear-gradient(to bottom, #e0e0e0, #8f8f8f);
}
.name_asesor {
	color: var(--color-rojo-portada);
	font-size: 3rem;
	position: absolute;
	font-family: "Style Script";
	bottom: 0;
	width: 100%;
	text-shadow: 1px 1px 2px #000;
	background: linear-gradient(to bottom, #ffffff00, #ffffff8f);
	letter-spacing: 5px;
}

.carousel-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0);
	border: none;
	cursor: pointer;
	padding: 10px;
	z-index: 10;
}
.asesores-carousel {
	position: relative;
	overflow: hidden;
	width: 20rem;
	margin: auto;
	border: solid 3px var(--color-rojo-portada);
	border-radius: 10px;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease;
	width: 100%;
}

.inmobiliaria-asesor {
	min-width: 100%;
	box-sizing: border-box;
}

.prev {
	left: 10px;
}

.next {
	right: 10px;
}
