@import url(https://fonts.googleapis.com/css?family=Roboto:bold);

html {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	min-height: 100%;
}

body {
	background: #fff;
	color: #333;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url(/cas/images/fondo-degradado2022.jpg);
	min-height: 100%;
}

img.user {
	position: relative;
	top: 39px;
	left: -107px;
}

img.password {
	position: relative;
	top: 39px;
	left: -108px;
}

.centrado {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	width: 360px;
	padding: 8% 0 0;
	margin: auto;
	background: white;
	opacity: 0.6;
}

.status {
	position: fixed;
	botton: 50px;
	width: 500px;
}

.accepted-page {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	width: 100%;
	padding: 8% 0 0;
	margin: auto;
}

input:-webkit-autofill, input:-webkit-autofill:focus input:-webkit-autofill
	{
	-webkit-text-fill-color: #6E6259;
	-webkit-box-shadow: 0 0 0px 1000px #FFF transparent inset;
	transition: background-color 5000s ease-in-out 0s;
}

.accepted-form {
	z-index: 1;
	background: transparent;
	max-width: 100%;
	/*margin: 0 auto 100px;*/
	padding: 45px;
}

.form {
	z-index: 1;
	background: transparent;
	max-width: 360px;
	/*margin: 0 auto 100px;*/
	padding: 45px;
	text-align: center;
}

form>div {
	background: transparent;
	opacity: 0.35;
	margin-bottom: 15px;
}

form div input {
	font-family: "Roboto", sans-serif;
	outline: 0;
	width: 100%;
	border: 0;
	color: #6E6259;
	padding: 15px;
	padding-left: 20px;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: 700;
}

form div input[type="checkbox"] {
	font-family: "Roboto", sans-serif;
	outline: 0;
	width: 100%;
	border: 0;
	color: #6E6259;
	padding: 15px;
	padding-left: 20px;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: 700;
}

form div input:focus {
	outline: none !important;
	border-color: #719ECE;
	box-shadow: 0 0 10px #719ECE;
}

form div select {
	font-family: "Roboto", sans-serif;
	outline: 0;
	width: 100%;
	border: 0;
	color: #6E6259;
	padding: 15px;
	padding-left: 60px;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: 700;
}

form div input.requiered {
	font-family: "Roboto", sans-serif;
	outline: 0;
	width: 100%;
	border: 0;
	color: #6E6259;
	padding: 15px;
	padding-left: 60px;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: 700;
	background-color: antiquewhite;
}

form div input.error {
	font-family: "Roboto", sans-serif;
	outline: 0;
	width: 100%;
	border: 0;
	color: #6E6259;
	padding: 15px;
	padding-left: 60px;
	box-sizing: border-box;
	font-size: 12px;
	font-weight: 700;
	background-color: red;
}

#divUser>input {
	padding-left: 60px;
	/*   background: url(/cas/images/user.png) no-repeat 15px 10px;  */
	background-size: 25px, 25px, auto;
}

#divUser>input.error {
	/*   background: url(/cas/images/user.png) no-repeat 15px 10px;  */
	background-size: 25px, 25px, auto;
	background-color: #D52B1E;
}

#divPassword>input {
	padding-left: 60px;
	/*  background: url(/cas/images/lock.png) no-repeat 15px 10px;  */
	background-size: 25px, 25px, auto;
}

#divPassword>input.error {
	/*   background: url(/cas/images/lock.png) no-repeat 15px 10px; */
	background-size: 25px, 25px, auto;
	background-color: red;
}

nav {
	padding-top: 15px;
}

form div select option {
	font-family: "Roboto", sans-serif;
	background: inherit!import;
}

form button {
	font-family: "Roboto", sans-serif;
	/*text-transform: uppercase;*/
	outline: 0;
	background: #D52B1E;
	width: 47%;
	border: 0;
	padding: 15px;
	color: #FFFFFF;
	font-size: 12px;
	-webkit-transition: all 0.3 ease;
	transition: all 0.3 ease;
	cursor: pointer;
}

form input[type="checkbox"] {
	float: left;
	vertical-align: top;
}

form label {
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	color: #6E6259;
	display: block;
	float: left;
	padding-top: 15px;
	padding-left: 2px;
}

form button.left {
	float: left;
}

form input[type="reset"] {
	float: left;
	vertical-align: top;
	font-family: "Roboto", sans-serif;
	/*text-transform: uppercase;*/
	outline: 0;
	background: #D52B1E;
	width: 47%;
	border: 0;
	padding: 8px;
	color: #FFFFFF;
	font-size: 12px;
	-webkit-transition: all 0.3 ease;
	transition: all 0.3 ease;
	cursor: pointer;
}

form input[type="submit"] {
	float: right;
	vertical-align: top;
	font-family: "Roboto", sans-serif;
	/*text-transform: uppercase;*/
	outline: 0;
	background: #D52B1E;
	width: 47%;
	border: 0;
	padding: 8px;
	color: #FFFFFF;
	font-size: 12px;
	-webkit-transition: all 0.3 ease;
	transition: all 0.3 ease;
	cursor: pointer;
}

form input[type="submit"].cancel {
	float: left;
	vertical-align: top;
	font-family: "Roboto", sans-serif;
	/*text-transform: uppercase;*/
	outline: 0;
	background: #D52B1E;
	width: 47%;
	border: 0;
	padding: 8px;
	color: #FFFFFF;
	font-size: 12px;
	-webkit-transition: all 0.3 ease;
	transition: all 0.3 ease;
	cursor: pointer;
}

.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

.vacio {
	
}

form button:hover, form button:active, form button:focus {
	background: red;
}

form .message {
	font-family: "Roboto", sans-serif;
	text-align: right;
	clear: both;
	margin: 15px 0px 0;
	color: #D52B1E;
	font-size: 12px;
}

form .message a {
	font-family: "Roboto", sans-serif;
	color: #D52B1E;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
}

form .message a:hover {
	color: red;
	text-decoration: underline;
}

form .register-form {
	display: none;
}

.container {
	position: relative;
	z-index: 1;
	max-width: 300px;
	margin: 0 auto;
}

.container:before, .container:after {
	content: "";
	display: block;
	clear: both;
}

.container .info {
	margin: 50px auto;
	text-align: center;
}

.container .info h1 {
	margin: 0 0 15px;
	padding: 0;
	font-size: 36px;
	font-weight: 300;
	color: #1a1a1a;
}

.container .info span {
	color: #4d4d4d;
	font-size: 12px;
}

.container .info span a {
	color: #000000;
	text-decoration: none;
}

.container .info span .fa {
	color: #EF3B3A;
}

.tooltip {
	transform: translate(+85%, -175%);
	width: 140px;
	visibility: hidden;
	background-color: #373739;
	color: #fff;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	cursor: default;
	text-shadow: none;
	text-align: center;
	overflow: visible;
	padding: 10px 15px;
	border: 1px solid #6d6e71;
	border-top-color: #373739;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, .15);
	-webkit-transition: opacity .3s ease-in .3s;
	transition: opacity .3s ease-in .3s;
	position: absolute;
	overflow: hidden;
	opacity: 0;
}

.tooltip:after {
	content: ' ';
	position: absolute;
	top: -10px;
	left: 50%;
	display: block;
	height: 0;
	width: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #373739;
	margin-left: -10px;
}

form div input:hover+.tooltip, form div input:focus+.tooltip, form div input:active+.tooltip
	{
	visibility: visible;
	opacity: 1;
	margin-top: 20px;
}

input::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	font-family: "Roboto", sans-serif;
	color: #6E6259;
	font-size: 12px;
	font-weight: 600;
}

.info, .errors, .success {
	font-family: "Roboto", sans-serif;
	clear: both;
	margin: 18px 0;
	padding: 20px 20px 20px 100px;
	font-size: 12px;
	line-height: 1.5;
	text-align: left
}

.info {
	background: url(../images/info.png) no-repeat 20px 18px;
	color: #000000;
	padding-bottom: 45px;
}

.errors {
	background: url(../images/error.gif) no-repeat 20px 18px;
	color: #d52b1e;
	padding-bottom: 45px;
}

/**errors tooltip**/
.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 99999;
	opacity: 0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}

.modalDialog:target {
	opacity: 1;
	pointer-events: auto;
}

.modalDialog>div {
	width: 400px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
}

.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close:hover {
	background: #00d9ff;
}

.success {
	background: url(../images/confirm.gif) no-repeat 20px 18px;
	color: #4D4F53;
	padding-bottom: 45px;
}

#content .errors h2, #content .success h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	line-height: 48px;
	font-weight: 400;
	margin: 0 18px 0 0;
	padding: 0;
}

#content .success h2 {
	color: #008 !important;
}

#content .errors h2 {
	color: #b00 !important;
}

#content .success h2 {
	color: #060 !important;
}

/* highlight errors */
.error {
	background: #FFEFEF;
	color: #b00;
}

/* mark as required */

/*   .required {background:#ffd;}*/
.error {
	background: #ffefef;
}

form .reboot-form {
	display: none;
}

input[type="date"]:before {
	content: attr(placeholder) !important;
	color: #aaa;
	margin-right: 0.5em;
}

input[type="date"]:focus:before, input[type="date"]:valid:before {
	content: "";
}

/* Popup container - can be anything you want */
.popup {
	position: relative;
	display: inline-block;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* The actual popup */
.popup .popuptext {
	visibility: hidden;
	width: 160px;
	background-color: #555;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 8px 0;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -80px;
}

form .modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	padding-top: 100px;
	/* Location of the box */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
}

/* Modal Content */
form .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 40%;
	text-align: center;
	font-family: 'Roboto';
}

/* The Close Button */
form .close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

form .close:hover, .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	padding-top: 100px;
	/* Location of the box */
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgb(0, 0, 0);
	/* Fallback color */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
}

/* Modal Content */
.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 40%;
	text-align: center;
	font-family: 'Roboto';
}

/* The Close Button */
.close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover, .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

label.invalid {
	background-color: transparent;
	color: red;
}

/* Show Passwd */
.showPasswd {
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	color: #6E6259;
	float: left;
}

/* responsive login styles*/
.login-page.responsive .form div {
	width: 100%;
}

.login-page.responsive .form {
	width: 80%;
	margin: 0 auto;
	text-align: left;
	padding: unset;
}

.login-page.responsive .form .login-form {
	position: relative;
}

.login-page {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	width: 100%;
	padding: 8% 0 0;
	margin: auto;
	max-width: 360px;
}

.login-page.responsive .login-form img {
	position: relative;
	top: 39px;
	left: 15px;
	width: 25px;
	height: 25px;
}

.login-page.responsive .login-form .errors {
	background-position-x: left;
	padding-left: 70px;
	padding-bottom: 20px;
	width: auto !important;
}

@media ( max-width : 640px) {
	* {
		box-sizing: border-box;
	}
	
	html {
		position: absolute;
		width: 100%;
		height: 100%;
		min-height: 360px;
	}
	
	body {
		position: relative;
		width: 100%;
		height: 100%;
		display: grid;
		align-items: center;
		margin: 0;
		min-height: 360px;
	}
	.login-page {
		position: relative;
		left: unset;
		top: unset;
		transform: unset;
		-webkit-transform: unset;
		width: 100%;
		padding: 10% 0 10px 0;
		margin: 0 auto;
		max-width: 360px;
		
	}
	.login-page.responsive, .login-page.responsive .form {
		max-width: unset;
	}
	.login-page.responsive .form div input {
		box-shadow: 0px 0px 3px 3px;
	}
	.login-page.responsive #cas {
		background-position-x: -20px;
	}
	.login-page.responsive .login-form .errors {
		background: transparent;
		padding: unset;
		padding-top: 8%;
	}
}