/* Cargando */

div.background-loader {
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	opacity: 0.2;
	background-color: black;
	z-index: 998;
}

div.loader {
	display: none;
	position: absolute;
	left: 50%;
  	top: 50%;
  	z-index: 999;
  	width: 100px;
  	height: 100px;
  	margin: -75px 0 0 -60px;
  	border: 13px solid #e1e1e1;
  	border-radius: 50%;
  	border-top: 13px solid #428bca;
  	-webkit-animation: spin 2s linear infinite;
  	animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Cargando */

/* Olvide mi contraseña */
#contentLogin #form .password-change {
	float: right;
	margin: 0;
	padding: 0;
}

#contentLogin #form a.password-change:hover {
	cursor: pointer !important;
	margin: 0 !important;
	background-color: transparent !important;
	background-position: 0 !important;
}

/* Olvide mi contraseña */

/* Fondo cambio de contraseña */

body.background-password-change {
	background-image: url(../images/login_bg.jpg);
	background-size: cover;
	background-repeat: no-repeat; 
	background-attachment: fixed;
}

body.background-password-update {
	background-color: #EEE;
}
/* Fondo cambio de contraseña */

/* Solicitud de cambio de contraseña */ 

#modal-request-password-change #modal-logo {
	width: 50%;
	padding: 15px;
	margin: auto auto 20px auto;
	background-color: transparent;
}

#modal-request-password-change #modal-logo img {
	width: 100%;
	height: 100%;
}

#modal-request-password-change #modal-error {
	display: none;
}

#modal-request-password-change #modal-email input[type="text"] {
	margin: 10px 0 20px 0;
	width: 100%;
	padding: 0 0 2px 5px;
	box-sizing: border-box;
	border: none;
	border-bottom: 2px solid #B9B1AF;
}

#modal-request-password-change #modal-cancel a {
	margin-left: 5%;
	cursor: pointer;
}

#modal-request-password-change #modal-submit button#btn-submit {
	border: 0;
	padding: 0;
	margin-top: -15px;
	margin-left: 77%;
	color: #fff;
	background-color: #0056b3;
	cursor: pointer;
	height: 50px;
	width: 100px;
}

#modal-request-password-change #modal-submit button#btn-submit:hover {
	background-color: #013c7b;
	transition: all 0.5s ease;
}

#modal-request-password-change .modal-footer {
	display: none;
	text-align: center;
	cursor: pointer;
}

/* Solicitud de cambio de contraseña */

/* Token invalido */

#modal-invalid-token .modal-header img {
	float: right;
	width: 10%;
}

#modal-invalid-token .modal-footer {
	text-align: center;
	cursor: pointer;
}

/* Token invalido */

/* Aplicar cambio de contraseña */

#modal-apply-password-change .modal-header img {
	float: right;
	width: 10%;
}

#modal-apply-password-change #modal-error {
	display: none;
}

#modal-apply-password-change #modal-terms {
	float: right;
}

#modal-apply-password-change input#password, 
#modal-apply-password-change input#confirmPassword {
	margin: 20px 0 20px 0;
	width: 38%;
	padding: 0 0 2px 5px;
	box-sizing: border-box;
	border: none;
	border-bottom: 2px solid #B9B1AF;
}

#modal-apply-password-change #modal-submit button#btn-submit {
	margin-top: 10px;
	border: 0;
	padding: 0;
	color: #fff;
	background-color: #0056b3;
	cursor: pointer;
	height: 50px;
	width: 100px;
}

#modal-apply-password-change #modal-submit button#btn-submit:hover {
	background-color: #013c7b;
	transition: all 0.5s ease;
}

#modal-apply-password-change .modal-footer {
	display: none;
	text-align: center;
	cursor: pointer;
}

/* Aplicar cambio de contraseña */

/* Actualizar contraseña */

#modal-password-update .modal-header img {
	float: right;
	width: 10%;
}

#modal-password-update #modal-error {
	display: none;
}

#modal-password-update #modal-terms {
	float: right;
}

#modal-password-update input#currentPassword,
#modal-password-update input#password, 
#modal-password-update input#confirmPassword {
	margin: 20px 0 20px 0;
	width: 38%;
	padding: 0 0 2px 5px;
	box-sizing: border-box;
	border: none;
	border-bottom: 2px solid #B9B1AF;
}

#modal-password-update #modal-cancel a {
	cursor: pointer;
}

#modal-password-update #modal-submit button#btn-submit {
	margin-top: -15px;
	margin-left: 23%;
	border: 0;
	padding: 0;
	color: #fff;
	background-color: #0056b3;
	cursor: pointer;
	height: 50px;
	width: 100px;
}

#modal-password-update #modal-submit button#btn-submit:hover {
	background-color: #013c7b;
	transition: all 0.5s ease;
}

.modal-submit-disabled button,
.modal-submit-disabled button:hover {
	background-color: #d6d8d9 !important;
	color: #000 !important;
}

#modal-password-update .modal-footer {
	display: none;
	text-align: center;
	cursor: pointer;
}

/* Actualizar contraseña */

@media (max-width: 620px) {
	#modal-apply-password-change .modal-header img,
	#modal-password-update .modal-header img {
		width: 15%;
	}
	
	#modal-apply-password-change input#password, 
	#modal-apply-password-change input#confirmPassword,
	#modal-password-update input#currentPassword,
	#modal-password-update input#password, 
	#modal-password-update input#confirmPassword {
		width: 35%;
	}
	
	#modal-password-update #modal-submit button#btn-submit {
		margin-left: 18%;
	}
}

@media (max-width: 576px) {
	#modal-apply-password-change .modal-header img,
	#modal-password-update .modal-header img  {
		width: 15%;
	}
	
	#modal-apply-password-change #modal-terms,
	#modal-password-update #modal-terms {
		float: left;
	}
	
	#modal-apply-password-change input#password, 
	#modal-apply-password-change input#confirmPassword,
	#modal-password-update input#currentPassword,
	#modal-password-update input#password, 
	#modal-password-update input#confirmPassword {
		width: 100%;
	}
	
	#modal-request-password-change #modal-submit button#btn-submit,
	#modal-password-update #modal-submit button#btn-submit {
		margin-left: 60%;
	}
}

@media (max-width: 360px) {
	#modal-apply-password-change .modal-header img,
	#modal-password-update .modal-header img {
		width: 20%;
	}
}