@import "fonts.css";

* {
	margin: 0;
	padding: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
	--main-color: #652D86;
	--secondary-color: #F6F6F6;
	--third-color: #7AB700;
}

html {
	scroll-behavior: smooth;
}

body {
	font-size: 16px;
	font-family: Inter, arial;
}

img {
	width: 100%;
}

h1, h2 {
	color: var(--main-color);
	font-family: AmorSansPro, arial;
}

header {
	padding: 16px 10px;
	background-color: var(--main-color);
	width: 100%;
	z-index: 900;
}
.header__content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header__middle {
	display: none;
	grid-gap: 10px;
}
.header__middle a {
	font-size: 12px;
	color: #fff;
	text-decoration: none;
}
.header__middle a:hover {
	text-decoration: underline;
}
.header__logo {
	width: 130px;
}
.header__menu__icon {
	width: 26px;
}
.header__phone {
	display: none;
	align-items: center;
	grid-gap: 5px;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	margin-right: 5px;
}
.header__phone:hover {
	text-decoration: underline;
}
.header__phone img {
	width: 14px;
}
.header__whatsapp {
    align-items: center;
    grid-gap: 4px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
	display: none;
}
.header__whatsapp:hover {
    text-decoration: underline;
}
.header__whatsapp__img {
    width: 40px;
    margin-left: 5px;
    content: url('../img/icons/wa.png');
    transition: content 0.3s ease-in-out;
}
.header__whatsapp:hover .header__whatsapp__img {
    content: url('../img/icons/wa_hover.png');
}
.header__afiliarme {
	display: none;
	padding: 6px 10px;
	border-radius: 20px;
	font-size: 14px;
	text-decoration: none;
	background-color: #fff;
	color: var(--main-color);
}
.header__afiliarme:hover {
	color: #fff;
	background-color: var(--third-color);
}

.header__menu {
	display: none;
	position: fixed;
	top: 68px;
	right: 0;
	width: 100%;
	height: 100vh;
	background-color: #fff;
	padding: 40px 20px;
}
.header__menu__list {
	display: flex;
	flex-direction: column;
	grid-gap: 30px;
}
.header__menu__list a {
	font-size: 18px;
	color: #000;
	font-family: InterSemiBold;
	text-decoration: none;
}
.header__menu__list .yastas {
	font-size: 20px;
}
.header__menu__buttons {
	position: absolute;
	left: 50%;
	bottom: 150px;
	transform: translate(-50%);
	margin-top: 60px;
	display: flex;
	justify-content: space-between;
	grid-gap: 10px;
	border-top: 1px solid #EFEFEF;
}
.header__menu__btn {
    display: block;
    width: 130px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px solid var(--main-color);
    border-radius: 20px;
    padding: 8px 0;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    color: var(--main-color);
}
.header__menu__btn.af {
	color: #fff;
	background-color: var(--main-color);
}

span.yastas {
	font-family: AmorSansProBoldItalic;
}

#btnMenuClose {
	display: none;
}

.bg__menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.2;
	z-index: 1;
}


.dot {
    height: 15px;
    width: 15px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}
.medios__img {
    width: 57px;
    margin-bottom: 14px;
}

footer {
	padding: 20px;
}
.footer__rrss {
	display: block;
	text-align: center;
	padding: 40px 20px;
	background-color: var(--secondary-color);
}
.social__networks{
	display: flex;
	grid-gap: 40px;
	justify-content: center;
}
.footer__rrss img {
	width: 42px;
}
.footer__links {
	padding: 20px 0;
}
.footer__links {
	display: flex;
	grid-gap: 30px;
	flex-direction: column;
}
.footer__links a {
	color: #000;
	text-decoration: none;
}
.footer__links span {
	display: none;
}
.footer__line {
	width: 100%;
	margin: 20px auto;
	border-top: 1px solid #EFEFEF;
}
.footer__yastas {
	font-size: 14px;
	padding: 20px 0;
}
.footer__yastas img {
	width: 120px;
	margin-bottom: 10px;
}
.footer__yastas__gentera {
	font-size: 14px;
	margin-bottom: 10px;
}
.footer__yastas__gentera img {
	width: 93px;
	margin-bottom: 0;
}
.footer__esr {
	padding-bottom: 20px;
}
.footer__esr img {
	width: 100px;
}


/* Estilos del modal */
.modal {
	padding: 10px;
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo en la pantalla */
    z-index: 1000; /* Por encima de otros elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    justify-content: center;
    align-items: center;
    opacity: 0; /* Comienza invisible */
    transition: opacity 0.3s ease-in-out; /* Transición de opacidad */
}

/* Mostrar modal con animación */
.modal.show {
    display: flex; /* Mostrar modal cuando esté visible */
    opacity: 1; /* Visible */
}

/* Contenido del modal */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 350px;
    width: 100%;
    position: relative;
}

/* Encabezado del modal */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f4f4f4;
    padding-bottom: 10px;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
	color: gray;
}

/* Cuerpo del modal */
.modal-body {
    padding: 20px 0;
}

/* Pie del modal */
.modal-footer {
	display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

/* Estilos del modal 2 */
.modal3 {
	padding: 10px;
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo en la pantalla */
    z-index: 1000; /* Por encima de otros elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    justify-content: center;
    align-items: center;
    opacity: 0; /* Comienza invisible */
    transition: opacity 0.3s ease-in-out; /* Transición de opacidad */
}

/* Mostrar modal con animación */
.modal3.show {
	display: flex; /* Mostrar modal cuando esté visible */
    opacity: 1; /* Visible */
}
.modal3__header {
	text-align: right;
}
.modal3-body {
	padding-bottom: 10px;
}

/* Estilos para los botones en el footer */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-close {
    background-color: #6c757d;
    color: white;
}

.btn-accept {
    background-color: #007bff;
    color: white;
}

.txt_right {
	text-align: right;
}

td.active {
	font-weight: bold;
}

td.active {
	font-weight: bold;
}

td {
	padding: 0 9px;
}

.container_map {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

.container_map iframe {
    width: 100%;
    height: 400px;
    position: relative;
    border: 0;
	margin-top: 10px;
}

.left_container{
    margin: auto;
    max-width: 700px;
    padding: 20px;
}

.client__container{
    margin: auto;
    max-width: 750px;
    padding: 20px;
}

.whatsapp {
	position: fixed;
	right: 10px;
	bottom: 10px;
}

.whatsapp__img {
	width: 64px;
}

.group_buton {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.container_medium {
	width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.search-container {
	display: flex;
    align-items: center;
    flex-grow: 1; /* Ocupar el espacio restante */
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 10px;
    box-sizing: border-box;
	margin-bottom: 20px;
	width: 100%;
}

.search-input {
    border: none;
    outline: none;
    flex-grow: 1;
    padding: 5px;
    font-size: 16px;
    border-radius: 20px;
}

.search-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.search-icon {
    width: 18px;
    height: 18px;
}

.mi_ubicacion__btn {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
	width: 90%;
	margin: auto;
	border: 0px solid var(--main-color);
	border-radius: 30px;
	padding: 13px 0;
	text-decoration: none;
	text-align: center;
	font-size: 17px;
	font-family: InterSemiBold;
	color: var(--main-color);
	margin-bottom: 10px;
	cursor: pointer;
	background-color: var(--main-color);
	color: #fff;
}
.mi_ubicacion__btn:hover {
	color: #fff;
	background-color: var(--main-color);
}

.mi_ubicacion__btn img {
    filter: brightness(0) invert(1); /* Cambia el color a blanco */
}

.directory__pages {
    display: none;
    padding: 0 20px;
    margin-top: -20px;
    margin-bottom: 20px;
}
.directory__pages__content {
    display: flex;
    justify-content: center;
}
.directory__pages a {
    width: 120px;
    border-radius: 30px;
    border: 2px solid var(--third-color);
    text-decoration: none;
    text-align: center;
    font-family: InterSemiBold;
    font-size: 14px;
    color: #fff;
    max-width: 350px;
    padding: 8px 0;
    background-color: var(--third-color);
}
.directory__pages a.disabled {
    border-color:#ccc;
    background-color: #ccc;
}

.bg-gray {
    background-color: var(--secondary-color);
}

@media screen and (min-width: 360px) {

	.header__menu__btn {
		width: 150px;
	}
	.header__whatsapp{
		display: none;
	}
	.header__left{
		margin:auto;
	}
	.footer__rrss {
		padding: 50px 20px;
	}

}


@media screen and (min-width: 500px) {

	header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 900;
	}

	.header__menu {
		width: 360px;
	}
	.footer__links {
		justify-content: center;
		flex-direction: row;
		flex-wrap: wrap;
		width: 460px;
		margin: auto;
	}
	.footer__line {
		width: 460px;
	}
	.footer__yastas {
		text-align: center;
	}
	.footer__esr {
		text-align: center;
	}
	.header__whatsapp{
		display: none;
	}

	.mi_ubicacion__btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: 90%;
		margin: auto;
		border: 0px solid var(--main-color);
		border-radius: 30px;
		padding: 13px 0;
		text-decoration: none;
		text-align: center;
		font-size: 17px;
		font-family: InterSemiBold;
		color: var(--main-color);
		margin-bottom: 10px;
		cursor: pointer;
		background-color: var(--main-color);
		color: #fff;
	}
	.mi_ubicacion__btn:hover {
		color: #fff;
		background-color: var(--main-color);
	}

	.mi_ubicacion__btn img {
		filter: brightness(0) invert(1);
		/* Cambia el color a blanco */
	}

	.mi_ubicacion__btn:hover img {
		filter: brightness(0) invert(1); /* Cambia el color a blanco */
	}

	.directory__mini__ping{
		display: inline-block;
	}

	.header__logo {
		width: 100px;
	}

}

@media screen and (min-width: 768px) {

	.header__left{
		margin: 0;
	}
	.header__middle {
		display: flex;
        align-items: center;
	}
	.header__right {
		grid-gap: 6px;
		display: flex;
	}
	.header__menu__icon {
		display: none;
	}
	.header__phone {
		display: flex;
	}
	.header__phone span {
		display: none;
	}
	.header__afiliarme {
		display: block;
		font-size: 12px;
	}
	.header__whatsapp{
		display: block;
	}
	.footer__links {
		width: 680px;
	}
	.footer__line {
		width: 680px;
	}
	.footer__line.esr {
		display: none;
	}
	.whatsapp__img {
        width: 76px;
    }

	.medios__img {
		margin-bottom: 16px;
	}

	/* Grupo de botones */
	.group_buton {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}
	.mi_ubicacion__btn {
		width: 290px;
		margin: auto 5px;
	}

	.search-container {
		margin-bottom: auto;
		width: auto;
	}
}

@media screen and (min-width: 1000px) {

	.header__content {
		padding: 0 16px;
		margin: auto;
	}
	.header__middle {
		grid-gap: 14px;
	}
	.header__middle a {
		font-size: 14px;
	}
	.header__phone img {
		width: 16px;
	}
	.header__afiliarme {
		font-size: 14px;
	}
	.footer__rrss {
		padding: 70px 0;
	}

}

@media screen and (min-width: 1200px) {

	header {
		padding: 16px 0;
	}
	.header__right {
		grid-gap: 12px;
	}
	.header__logo {
		width: 130px;
	}
	.header__phone span {
		display: block;
	}
	.header__afiliarme {
		font-size: 16px;
		padding: 8px 20px;
	}
	.header__middle {
		grid-gap: 18px;
	}
	.header__middle a {
		font-size: 16px;
	}
	.header__middle .yastas {
		font-size: 20px;
	}
	.header__phone {
		font-size: 16px;
	}
	.whatsapp {
		right: 20px;
		bottom: 20px;
	}
	footer {
		padding-top: 40px;
	}
	.footer__rrss img {
		width: 40px;
	}
	.footer__links {
		width: 1050px;
		grid-gap: 26px;
	}
	.footer__links .sep4 {
		display: none;
	}
	.footer__links span {
		display: block;
	}
	.footer__yastas {
		margin-bottom: 0;
		padding-top: 30px;
		font-size: 14px;
	}
	.footer__yastas img {
		width: 140px;
		margin-bottom: 10px;
	}
	.footer__yastas__gentera {
		margin-bottom: 10px;
	}
	.footer__yastas__gentera img {
		width: 100px;
		margin-bottom: 0;
	}
	.footer__esr {
		padding-bottom: 30px;
	}
	.footer__line {
		width: 1180px;
	}

	.medios__img {
        margin-bottom: 20px;
    }

}

/*CCRH*/
.campana {
	position: fixed;
    bottom: 120px;
	right: 5px;
	z-index: 2;
}
.campana img {
	width: 100px;
	height: auto;
}
