html,
body {
	/*filter: grayscale(100%);*/
	/*volver todo autodeterminados gris para la veda electoral */
	height: 100%;
	margin: 0;
	padding: 0;
	color: #666;
	background-color: #f1f2f2;
	font-family: 'Roboto', sans-serif; 
}


/* Estilos header */
header {
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
	height: 110px;
	position: relative;
}
.ligasHead {
	font-family: 'Roboto', sans-serif;
	text-align: left; 
	padding: 0; 
	margin: 0;
	position: absolute;
	top: 4px; 
	right: 69px; 
  }

  .ligasHead ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 2px solid #e0e0e0; 
	padding-left: 15px; 
  }

  .ligasHead li {
	margin-bottom: 4px; 
	line-height: 1.2; 
  }
  
  
  .ligasHead a {
	text-decoration: none;
	color: #808080; 
	font-size: 14px;
	font-weight: bolder;
	transition: color 0.3s ease;
  }
  
  .ligasHead a:hover {
	color: #8a0808; 
	text-decoration: underline; 
  }
  
  .ligasHead b {
	color: #6c757d; 
	font-size: 14px;
	/* font-weight: bold; */
  }
/* Fin estilos header */

* {
	margin: 0;
	padding: 0;
}

a {
	color: #666;
	text-decoration: none;
}

a:hover {
	color: #4fda8c;
}

input {
	font: 16px/26px "Raleway", sans-serif;
}

.navbar-brand img {
	width: 450px;
	padding-left: 5%;
}

.contenido {
	min-height: calc(75vh - 75px);
	padding-bottom: 120px;
}

.form-wrap {
	background-color: #fff;
	width: 40%;
	margin: 8em auto;
	box-shadow: 0px 1px 8px #bebebe;
	-webkit-box-shadow: 0px 1px 8px #bebebe;
	-moz-box-shadow: 0px 1px 8px #bebebe;
	border-radius: 10px;
	margin-bottom: 10%;
}

.form-wrap .tabs {
	overflow: hidden;
}

.form-wrap .tabs h3 {
	float: left;
	width: 50%;
}

.form-wrap .tabs h3 a {
	padding: 0.5em 0;
	text-align: center;
	font-weight: 400;
	background-color: #e6e7e8;
	display: block;
	color: #666;
}

.form-wrap .tabs h3 a.active {
	background-color: #fff;
}

.form-wrap .tabs-content {
	padding: 1.5em;
}

.form-wrap .tabs-content div[id$="tab-content"] {
	display: none;
}

.form-wrap .tabs-content .active {
	display: block !important;
}

.form-wrap form .input {
	text-align: center;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	color: inherit;
	font-family: inherit;
	padding: 0.8em 0 10px 0.8em;
	border: 1px solid #e6eae9;
	outline: 0;
	border-radius: 10px;
	display: block;
	margin: 0 auto;
	padding-right: 2em;
	width: 80%;
	margin-bottom: 20px;
	color: #9f2241;
	font-weight: bold;
	font-size: 160%;
}

.form-wrap form .button {
	width: 30%;
	padding: 0.8em 0.8em;
	background-color: #fff;
	border: 0.5px solid #bc955c;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	border-radius: 25px;
	display: block;
	margin: 0 auto;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
	transition: box-shadow 0.3s ease;

	font-size: 16px;
	text-align: center;
	font-weight: bold;
	color: #bc955c;
}

.form-wrap form .button:hover {
	background-color: #bc955c;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
	transition: box-shadow 0.3s ease;
	color: #fff;
}

.form-wrap form .checkbox {
	visibility: hidden;
	padding: 20%;
	margin: 0.5em 0 1.5em;
}

.form-wrap form .checkbox:checked+label:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

.form-wrap form label[for] {
	position: relative;
	padding-left: 20px;
	cursor: pointer;
}

.form-wrap form label[for]:before {
	content: "";
	position: absolute;
	border: 1px solid #cfcfcf;
	width: 17px;
	height: 17px;
	top: 0px;
	left: -14px;
}

.form-wrap form label[for]:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	content: "";
	position: absolute;
	width: 9px;
	height: 5px;
	background-color: transparent;
	top: 4px;
	left: -10%;
	border: 3% solid #28a55f;
	border-top: none;
	border-right: none;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.form-wrap .help-text {
	margin-top: 0.6em;
}

.form-wrap .help-text p {
	text-align: center;
	font-size: 14%;
}

.boton1-imagen {
	width: 10%;
	height: 10%;
}

.centrar-imagenes {
	display: flex;
	justify-content: center;
}

.oculto {
	display: none;
}

/* AQUI EMPIEZAN LOS ESTILOS DEL CARGADOR---------------------------------------------------------------------------------------------*/
body {
	position: relative;

	overflow-x: hidden;
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.87);
	z-index: 9999;
	/* Asegura que esté por encima de otros elementos */
}

.loader {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10000;
	/* Asegura que esté por encima del fondo oscuro */
	/*background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco semi-transparente del cargador */
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.loader-content {
	text-align: center;
	position: relative;
}

.spinner {
	width: 100px;
	height: 100px;
	border: 2px solid transparent;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	animation: spin 1s linear infinite, colorChange 2s linear infinite;
	transform-origin: center center;
}

/* Aqui es para que el spinner cambie entre dos colores diferentes */
@keyframes colorChange {

	0%,
	100% {
		border-top: 2px solid rgb(122, 3, 3);
		/* Color 1 */
	}

	50% {
		border-top: 2px solid #eabe3f;
		/* Color 2 */
	}
}

.image-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.image-container img {
	width: 50px;
	/* Ajusta el tamaño de la imagen según tu preferencia */
	height: 50px;
	/* Ajusta el tamaño de la imagen según tu preferencia */
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* Estilo para el mensaje cuando JavaScript está deshabilitado */
noscript {
	text-align: center;
	padding: 20px;
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

/* Estilo para la clase "deshabilitado" dentro del mensaje */
.deshabilitado {
	margin-top: 20px;
}

/* Estilo para la imagen dentro de la clase "deshabilitado" */
.deshabilitado img {
	max-width: 100px;
	height: auto;
	/* Mantiene la proporción de la imagen */
}

#contenedorBoton {
	text-align: center;
	margin-top: 20px;
}

#botonRegresar {
	/* background-color: #8B0000; */
	color: #8b0000;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	cursor: pointer;
}

/*--------------------boton del segundo form--------------------*/
.boton1-imagen {
	border: none;
	background: none;
	cursor: pointer;
	outline: none;
	transition: transform 0.2s ease-in-out;
}

.boton1-imagen:hover {
	transform: scale(1.1);
	/* Escala el botón al pasar el ratón por encima */
}

/*SEGUNDOFORM---------------------------------------------------------------------------------------------------------------*/
/* Estilos personalizados para el formulario */
.container-2 {
	max-width: 45%;
	margin: 0 auto;
	padding: 40px;
	background-color: #f8f9fa;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Estilos personalizados para el botón Enviar */
.btn-primary {
	background-color: #610808;
	border-color: #610808;
}

.btn-primary:hover {
	background-color: #b30600;
	border-color: #b30600;
}

#enviarFormDos {
	display: block;
	margin: 0 auto;
	text-align: center;
}

#segundoFormu:focus {
	border-color: #b00a0a;
	box-shadow: 0 0 5px rgba(176, 10, 10, 0.5);
	outline: none;
}

input.nombreToma {
	border: none;
	background: none;
	font-size: 24px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	outline: none;
	cursor: pointer;
}

.divisor-formulario {
	height: 2px;
	background-color: #7e0606df;
	border-radius: 10px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.Cortar .txtform p {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	line-height: 1.5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8a0808;
}

.txtform-1 p {
	font-size: 16px;
	text-align: center;
	line-height: 1.5;
	color: #333;
}

/* Estilos para poner el label y el input en la misma línea */
.mb-3 {
	display: flex;
	align-items: center;
}

.mb-3 label {
	flex: 1;
	margin-right: 10px;
}

.mb-3 input {
	width: 50%;
}

.mb-3 select {
	width: 50%;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	/* Este media query es para tablets */
	header {
		height: 100px;
	}
	.ligasHead{
		display: none;
	}
	.navbar-brand img {
		width: 330px;
	}

	.contenido {
		min-height: calc(50vh - 50px);
		padding-bottom: 160px;
	}

	.form-wrap {
		width: 90%;
	}

	.form-wrap form .input {
		color: #9f2241;
		font-weight: bold;
		font-size: 100%;
	}

	.form-wrap .signup-form .button {
		width: 30%;
		height: 80px;
		font-size: 30px;
	}

	.form-wrap .signup-form .input {
		width: 80%;
		height: 80px;
		font-size: 30px;
		margin-bottom: 30px;
	}

	
	/*SEGUNDOFORM-----------------*/
	/* Estilos personalizados para el formulario */
	.container-2 {
		max-width: 90%;
		margin: 0 auto;
		padding: 20px;
		background-color: #f8f9fa;
		border-radius: 5px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	}

	input.nombreToma {
		border: none;
		background: none;
		font-size: 120%;
		font-weight: bold;
		padding: 0;
		margin: 0;
		outline: none;
		cursor: pointer;
	}

	.divisor-formulario {
		height: 2px;
		background-color: #7e0606df;
		border-radius: 10px;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.Cortar .txtform p {
		font-size: 20px;
		font-weight: bold;
		text-align: center;
		line-height: 1.5;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #8a0808;
	}

	.txtform-1 p {
		font-size: 16px;
		text-align: center;
		line-height: 1.5;
		color: #333;
	}

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

	.mb-3 label {
		margin-bottom: 10px;
	}

	.mb-3 input {
		width: 80%;
	}

	.mb-3 select {
		width: 80%;
	}
}

@media screen and (max-width: 767px) {

	/* Este media query es para celulares*/
	header {
		height: 100px;
	}

	.ligasHead{
		display: none;
	}

	.navbar-brand img {
		width: 380px;
	}
	.contenido {
		min-height: calc(50vh - 50px);
		padding-bottom: 160px;
	}

	.form-wrap {
		width: 90%;
	}

	.form-wrap form .input {
		color: #9f2241;
		font-weight: bold;
		font-size: 100%;
	}

	.form-wrap .signup-form .button {
		width: 40%;
		height: 60px;
		font-size: 18px;
	}

	.form-wrap .signup-form .input {
		width: 80%;
		height: 80px;
		font-size: 18px;
		margin-bottom: 30px;
	}

	.form-wrap img {
		width: 100%;
		height: auto;
		max-width: 100%;
		display: block;
		margin: 20px auto;
	}

	
	
	/*SEGUNDOFORM-----------------*/
	/* Estilos personalizados para el formulario */
	.container-2 {
		max-width: 90%;
		margin: 0 auto;
		padding: 20px;
		background-color: #f8f9fa;
		border-radius: 5px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	}

	input.nombreToma {
		border: none;
		background: none;
		font-size: 120%;
		font-weight: bold;
		padding: 0;
		margin: 0;
		outline: none;
		cursor: pointer;
	}

	.divisor-formulario {
		height: 2px;
		background-color: #7e0606df;
		border-radius: 10px;
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.Cortar .txtform p {
		font-size: 20px;
		font-weight: bold;
		text-align: center;
		line-height: 1.5;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #8a0808;
	}

	.txtform-1 p {
		font-size: 16px;
		text-align: center;
		line-height: 1.5;
		color: #333;
	}

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

	.mb-3 label {
		margin-bottom: 10px;
	}

	.mb-3 input {
		width: 80%;
	}

	.mb-3 select {
		width: 80%;
	}
}


