/* Estilo solo para el estado inválido */
#ContentPlaceHolder1_CorreoE.invalid {
	background-color: #ffdddd !important;
	animation: shake 0.5s; /* Opcional: efecto de vibración */
}


/* Opcional: Animación de vibración */
@keyframes shake {
	0%, 100% {
		transform: translateX(0);
	}

	20%, 60% {
		transform: translateX(-5px);
	}

	40%, 80% {
		transform: translateX(5px);
	}
}

/*form styles*/
.msform {	
	margin: 0px auto;
	text-align: center;
	position: relative;
}

fieldset{
	height: 68vh;
	overflow-x: hidden;
	overflow-y: auto;
}

.msform fieldset {
	padding: 20px 30px;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	position: relative;
	text-align: end;
}
/*Hide all except first fieldset*/
.msform fieldset:not(:first-of-type) {
	display: none;
}

/*inputs*/
.msform input, .msform textarea {
	padding: 15px;
	/* border: none; */
	/* border-bottom: 1px solid #085c9f; */
	   width: 90%; 
	/* box-sizing: border-box; */
	/* color: #2C3E50; */
	/* font-size: 13px; */
	margin: 0 auto;
	margin-bottom: 10px;
}


.msform select {
	/* border: none; */
	/* border-bottom: 1px solid #085c9f; */
	width: 90%;
	/* box-sizing: border-box; */
	/* color: #2C3E50; */
	/* font-size: 13px; */
	margin: 0 auto;
	margin-bottom: 10px;
}

#CheckBox1{
    width:auto !important;
}

.botoninicR {
	display: flex;
	justify-content: flex-start;
	margin-top: 15px;
}

/*buttons*/
.msform .action-button {
    width: auto;
    background: #085c9f;
    color: white;
    border: 0 none;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px 15px;
}

	.msform .action-button:hover {
		color: #fff;
		background-color: #0069d9;
		border-color: #0062cc;
	}
   
/*headings*/
.fs-title {
	font-size: 15px;
	text-transform: uppercase;
	color: #2C3E50;
	margin-bottom: 10px;
}
.fs-subtitle {
	font-weight: normal;
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
}
#progressbar {
	margin-bottom: 2vh 0;
	overflow: hidden;
	/*CSS counters to number the steps*/
	counter-reset: step;
}
#progressbar span {
	list-style-type: none;
	color:#085c9f;
	text-transform: uppercase;
	font-size: 9px;
	width: 25%;
	float: left;
	position: relative;
}
#progressbar span:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: #333;
	background: white;
	border-radius: 50%;
	margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar span:after {
	content: '';
	width: 100%;
	height: 2px;
	background:#085c9f;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; /*put it behind the numbers*/
}
    #progressbar span:first-child:after {
        /*connector not needed before the first step*/
        content: none;
    }
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
    #progressbar span.active:before, #progressbar li.active:after {
        background: #085c9f;
        color: white;
    }

/*Boton ingresar*/
.btn1 {
	display: flex;
	flex-direction: column;
	min-width: 200px;
	max-width: 200px;
}

/*Botones login*/

.btn {
	color: #ffffff !important;
	border-color: #085c9f !important;
	background-color: #085c9f !important;
}

	.btn:hover {
		color: #fff !important;
		background-color: #0069d9 !important;
		border-color: #0062cc !important;
	}

/*-----------------*/

/*Modales*/

.modal-dialog {
	top: 20rem;
}

[type="checkbox"] {
	width: 14px !important;
}

/*-------- Adaptividad ---------*/

.seccion-adaptativa {
	/* Desktop - altura fija con scroll */
	height: auto;
	overflow-y: auto;
	max-height: 100%;
	/* Móviles - altura más pequeña */
	@media (max-width: 768px) {
		height: 95vh;
		-webkit-overflow-scrolling: touch;
		padding: 10px 10px;
	}
	/* Tablets - ajuste intermedio */
	@media (min-width: 769px) and (max-width: 1024px) {
		height: auto;
		padding: 10px 10px;
		max-height: 100%;
	}
}

/*Responsive time*/

@media (max-width: 900px) {

	.botoninicR {
		display: flex;
		justify-content: flex-start;
		margin-top: 5px;
	}

}

@media (max-width: 768px) {

	.msform fieldset {
		padding: 10px 10px;
	}

}