@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,700&display=swap");

:root {
	--color-principal: #293c7d;
	--color-secundario: #4899d2;
	--tercer-color: #212529;

	--header-height-lg: calc(100vh - 183px); /* 96 Top nav + 95 Bottom nav = 191px */
	--header-img: url("../assets/img/header-bg-sm.webp");
	--header-height-md: 35vh;

	--scroll-top-margin: 100px;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	touch-action: pan-y; /* Controla el comportamiento del scroll vertical */
}

.no-focus:-webkit-any-link:focus-visible,
.no-focus:-webkit-any-link:focus {
	outline-offset: 0px !important;
	outline: -webkit-focus-ring-color auto 0px !important;
	box-shadow: none !important;
}

.no-focus:focus-visible,
.no-focus:focus {
	outline-offset: 0px !important;
	outline: -webkit-focus-ring-color auto 0px !important;
	box-shadow: none !important;
}

/* #servicios:before {
	content: "";
	display: block;
	height: 100px;
	margin: -100px 0 0;
} */

.offcanvas-start {
	width: 700px !important;
}

#creditDiv {
	display: none;
	height: 89px;
}

#creditDiv .credit-span {
	padding-top: 2px;
	font-size: 20px;
}

#creditDiv button {
	height: 30px;
	margin-top: 11px;
}

#initial-loader {
	z-index: 10000;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-principal);
	/* text-shadow: 1px 1px 1px rgb(255, 255, 255); */
}

#initial-loader .initial-loader-img {
	width: 70%;
	max-width: 450px;
}

/* ESTILOS DE ETIQUETAS -------------------------------- */
body {
	font-family: Titillium Web, Helvetica !important;
	font-size: 120%;
	/* padding: 10px;
	padding-bottom: 50px; */
}

main {
	margin-top: 20px !important;
	animation: fade-in 2s;
	margin: 0% 3%;
}

/* #balance-section {
	margin: 0% 3%;
} */

/* titulos */
h2 {
	color: var(--tercer-color);
	font-size: 2rem;
	font-weight: 300;
	border-bottom: 1px dotted var(--color-secundario);
	line-height: 1.5;
	font-weight: 600;
	margin: 40px 0px 20px 0px;
	text-transform: uppercase;
}

h3 {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--color-principal);
	padding: 5px;
	border-bottom: 3px dotted var(--color-principal);
}

/* links */
a {
	color: var(--color-principal);
	text-decoration: none;
}

/* parrafos */
p a {
	font-weight: 600;
}
/* Hidde audio elements */
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-current-time-display {
	display: none !important;
}

/* footer */
footer {
	margin-top: 50px;
	padding: 25px;
	font-size: 1.3rem;
}
footer .fab {
	color: var(--color-principal);
	font-size: 1.5rem;
}

/* ESTILOS DE IDS -------------------------------- */
/* menu */
#navbar {
	background-color: white !important;
	padding: 25px 3%;
	border-bottom: 4px solid var(--color-secundario);
	position: -webkit-sticky !important;
}
#navbar li {
	text-align: right;
}
#navbar li .nav-link {
	color: var(--color-principal) !important;
	font-weight: 600;
	font-size: 1.2rem;
}
#navbar li .nav-link:hover {
	color: var(--color-secundario) !important;
}
#navbar .navbar-brand img {
	width: 70%;
	max-height: 30px;
}

#navbar .active {
	border-bottom: 2px solid var(--color-secundario);
}

#navbar #cerrar-sesion-navbar {
	color: #6c757d !important;
}

#navbar #cerrar-sesion-navbar:hover {
	color: #dc3545 !important;
}

#navbar #actualizar-navbar,
#navbar #descargar-app-navbar {
	color: #4899d2 !important;
}

/* efecto de animación blink  */
.blink {
	animation: blink 1.5s infinite;
}

@keyframes blink {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.8;
	}
	100% {
		opacity: 1;
	}
}

/* recargar */
#form-recargar {
	background-color: var(--color-principal);
	margin-top: 8px;
	padding: 20px;
	text-align: center;
	scroll-margin-top: var(--scroll-top-margin);
}
#form-recargar p {
	color: white;
	font-weight: bold;
	font-size: 2rem;
	line-height: 1;
}
#form-recargar select,
#form-recargar input {
	margin: 5px;
	border: none;
}

#como-funciona p {
	padding: 15px !important;
	text-align: justify;
}

/* operadoras */
#servicios .card-img-top {
	min-height: 70px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

#servicios .card-body p {
	margin-bottom: 0px;
}

#servicios .card-body .continue {
	font-weight: 600;
	color: white;
}

/* preguntas frecuentes */
#preguntas-frecuentes ul {
	padding: 0;
	list-style: none;
}
#preguntas-frecuentes ul li {
	margin-bottom: 30px;
}
#preguntas-frecuentes ul li i {
	font-size: 1.2rem;
}
#preguntas-frecuentes ul li a img {
	width: 100%;
	max-width: 800px;
}

/* galeria */
#galeria img {
	width: 100%;
}

#galeria img:hover {
	border: 5px solid white;
	transition: transform 0.5s;
	transform: scale(1.01);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* contacto */
#contacto label {
	margin-top: 8px;
}

#contacto iframe {
	padding-top: 30px;
	min-height: 500px;
}

/* CLASES -------------------------------------------*/
/* header */
.header a {
	text-shadow: none;
}

.header__banner {
	display: flex;
	width: 100%;
	background-size: cover;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 0% 5%;
	text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.56);
}

.header .header__banner--index {
	height: var(--header-height-lg);
	background-image: var(--header-img);
	background-position: center;
}
.header .header__banner--index .header__tittle {
	color: white;
	padding: 0;
	margin: 0;
	font-weight: bold;
	font-size: 5vw;
	line-height: 1.2;
}
.header .header__banner--index .header__text {
	padding: 0;
	font-weight: 300;
	font-size: 2.5vw;
	color: white;
	margin-bottom: 0;
}

.header .header__banner--servicios {
	height: var(--header-height-md);
	background-image: url("../assets/img/operadoras-bg-sm.jpg");
	background-position: bottom center;
}

.header .header__banner--nuestros-numeros {
	height: var(--header-height-md);
	background-image: url("../assets/img/nuestros-numeros-bg-sm.jpg");
	background-position: top right;
}

.header .header__banner--galeria {
	height: var(--header-height-md);
	background-image: url("../assets/img/galeria-bg-sm.jpg");
	background-position: center;
}

.header .header__banner--preguntas-frecuentes {
	height: var(--header-height-md);
	background-image: url("../assets/img/preguntas-frecuentes-bg-sm.jpg");
	background-position: center right;
}

.header .header__banner--contacto {
	height: var(--header-height-md);
	background-image: url("../assets/img/contacto-bg-sm.jpg");
	background-position: center;
}

/* galeria */
.grid-galeria {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}

#navbar .icons:hover {
	color: var(--color-secundario);
}

/* TRANSICIONES ----------------------------------------- */
@keyframes fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* MEDIA QUERIES ----------------------------------------- */

@media (max-width: 468px) {
	#balance-container p {
		font-size: 0.9rem !important;
		font-weight: bold !important;
	}
}

@media (min-width: 468px) {
	#offcanvas-left > .offcanvas-body {
		font-size: 1.25rem;
	}

	#navbar .nav-item {
		border: none !important;
	}

	.mobile-bottom-nav__item {
		font-weight: bold;
		font-size: 1rem !important;
	}
}

@media (min-width: 576px) {
	#navbar .nav-item {
		border: none !important;
	}

	.mobile-bottom-nav__item {
		font-weight: bold;
		font-size: 1rem !important;
	}
}

@media (min-width: 768px) {
	#navbar #descargar-app-navbar {
		display: none;
	}

	.header__banner--index {
		background-image: url("../assets/img/header-bg.webp") !important;
	}
}

.mobile-bottom-nav {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	will-change: transform;
	transform: translateZ(0);
	display: flex;
	height: 55px;
	/* box-shadow: 0 -2px 5px -2px var(--color-principal); */
	/* background-color: #fff; */
}
.mobile-bottom-nav__item {
	/* flex-grow: 1; */
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 0.8rem;
}

[hidden] {
	display: none !important;
}

/* Balance */
#balance-section {
	position: sticky;
	top: 0px;
	z-index: 100;
}

/* Operator cards */

.operator-logo {
	max-width: 60%;
	max-height: 30px;
}

.operator-card {
	height: 100px;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	background-image: linear-gradient(to right bottom, #f0f0f0, #f4f4f4, #f7f7f7, #fbfbfb, #ffffff);
}

.operator-card:hover {
	/* transform scale(1.1); */
	transition: transform 0.5s;
	transform: scale(1.05);
	border: 2px solid rgb(255, 255, 255) !important;
	cursor: pointer;
}

.card-icons {
	border-radius: 0px 0px 5px 5px;
	bottom: 0px;
}

.filter-grey {
	filter: grayscale(100%);
}

.text-overflow-elipsis {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
