@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: #78c898 url(../img/m-teachers_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 #27885d;
     box-shadow: 0px 0px 0px 4px rgba(100,200,89,0.6);
     -moz-box-shadow: 0px 0px 0px 4px rgba(100,200,89,0.6);
     -webkit-box-shadow: 0px 0px 0px 4px rgba(100,200,89,0.6);
     -o-box-shadow: 0px 0px 0px 4px rgba(100,200,89,0.6);
     -ms-box-shadow: 0px 0px 0px 4px rgba(100,200,89,0.6);
}

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

input#password {
     background: #ffffff url(../img/m-teachers_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(100,200,89, 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(100,200,89, 1);
     background-position: -100% 100%;
     border: 2px solid  rgba(100,200,89, 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(100,200,89, 1);
     background-image: none;
}
}