/* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) at http://cssreset.com */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, button, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0; padding: 0; border: 0; font-size: 100%;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol { list-style: decimal; }
ul { list-style: disc; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* Reset all tags to use border-box box sizing, but allow different box sizing within content to override. */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

/*********** end of reset styles. ***********************************************************/

html {
    height: 100%;
	background-image:url("../img/enter.jpg");
    background-repeat: no-repeat;
    background-position: left center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body {
    height: 100%;
	text-align: center;
}

body, input, textarea, select, button {
    font-family: Helvetica, Geneva, sans-serif;
}

#title {
	color: black;
	font-size: 1.4rem;
	line-height: 100%;
	font-weight: 900;
	margin-bottom: .4rem;
}

/*  Below for removing the yellow background Chrome adds when it uses autofill to populate the fields.
    From: https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete */
@-webkit-keyframes autofill {
    to {
        color: #FFFFFF;
        background: rgba(0,0,0,1);
    }
}

input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}
/* ***************************************/

.login-box {
	display: inline-flex;
	width: 20rem;
	max-width: 90%;
	margin-top: 9rem;
    padding: .5rem;
    border: 1px solid #aaaaaa;
    background: rgba(255,255,255,0.60);
    font-size: 1rem;
    line-height: 100%;
}

.login-box, .login-box button, .login-box input, .login-box .message {
    border-radius: .3rem;
}

.login-box > form {
    width: 100%;
}

.login-box input {
    display: inline-block;
    vertical-align: top;
    font-size: 1.4rem;
    height: 2.5rem;
    padding: 0 .6rem;
    margin-bottom: .3rem;
    background-color: #000000;
    color: #fff;
    width: 100%;
    border: 0;
}

.login-box button {
    display: inline-block;
    height: 2rem;
    padding: 0 .6em;
    margin-bottom: .3rem; 
    cursor: pointer;
    font-size: 1.3rem;
    color: #fff;
    width: 100%;
	box-shadow: inset 0px 1px 0px 0px #9acc85;
	border: 1px solid #3b6e22;
	background-color: #74ad58;
}

.login-box .message {
    text-align: left;
    color: white;
    background-color: rgb(231,0,0);
    padding: .3rem .6rem .2rem;
}