@charset "utf-8";
/* =======================================

	LoginElements - STUDENTS

======================================= */
html {
	width: 100%;
	height: 100%;
	display: table;
}

body {
	-webkit-text-size-adjust: none;
	display: table-cell;
	vertical-align: middle;
	color: #ffffff;
	font-size: 14px;
	text-align: center;
	background: #edb74b url(../img/m-students_bg.jpg) center center no-repeat fixed;
	background-size: cover;
}

#container {
	display: inline-block;
}

h1 {
	padding: 0 0 40px;
	font-size: 130%;
	line-height: 120%;
	letter-spacing: 0.2em;
	background: transparent url(../img/m-dots.png) bottom center no-repeat;
}

h1 img {
	width: 339px;
	margin: 0 auto 15px;
	display: block;
}

#loginMessage {
	width: 360px;
	height: 110px;
	display: table-cell;
	vertical-align: middle;
}

#loginMessage p.msgError {
	padding: 10px 0 0 0;
	color: #b30000;
}

input#username,
input#password {
	width: 300px;
	margin: 0 auto 10px;
	padding: 15px 30px 15px 55px;
	display: block;
	color: #6a6a6a;
	font-size: 16px;
	text-align: center;
	line-height: 120%;
	letter-spacing: 0.1em;
	outline: none;
	border: 1px solid #ffffff;
	border-radius: 40px;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
}

input#username:focus,
input#password:focus {
	border: 1px solid #ffa301;
	box-shadow: 0px 0px 0px 4px rgba(255,163,1,0.4);
	-moz-box-shadow: 0px 0px 0px 4px rgba(255,163,1,0.4);
	-webkit-box-shadow: 0px 0px 0px 4px rgba(255,163,1,0.4);
	-o-box-shadow: 0px 0px 0px 4px rgba(255,163,1,0.4);
	-ms-box-shadow: 0px 0px 0px 4px rgba(255,163,1,0.4);
}

input#username {
	background: #ffffff url(../img/m-students_icon-user.png) left center no-repeat;
}

input#password {
	background: #ffffff url(../img/m-students_icon-pass.png) left center no-repeat;
}

button.submit {
	margin: 10px 0 0 0;
	padding: 10px 70px;
	display: inline-block;
	color: #ffffff;
	font-size: 16px;
	letter-spacing: 0.1em;
	text-decoration: none;
	outline: none;
	border: 2px solid #ffffff;
	border-radius: 40px;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	background-color: transparent;
	background-size: 200% 100%; 
	background-image: linear-gradient(to right, transparent 50%, rgba(255,163,1, 1) 50%);
	transition: background-position .3s cubic-bezier(0.19, 1, 0.22, 1) .1s, color .5s ease 0s, background-color .5s ease;
}

button.submit:hover {
	cursor: pointer;
	background-color: rgba(255,163,1, 1);
	background-position: -100% 100%;
	border: 2px solid  rgba(255,163,1, 1);
}

.recommend {
	margin: 20px 0 0;
}

.recommend p {
	font-size: 80%;
}

@media only screen and (max-width: 720px) {
#container {width: 80%;}
h1 {
	width: 100%;
	padding: 0 0 20px;
}
h1 img {width: 100%;}
#loginMessage {
	width: 100%;
	height: auto;
	padding: 10px 0 10px 0;
	display: block;
}
#loginMessage p br {display: none;}
input#username,
input#password {
	width: 75%;
	padding: 15px 10% 15px 15%;
}
button.submit:hover {
	cursor: pointer;
	background-color: rgba(255,163,1, 1);
	background-image: none;
}
}