html, body, div, h1, h2, h3, h4, h5, h6, p, img, dl,
dt, dd, ol, ul, li, table, tr, td, form, object, embed,
article, aside, canvas, command, details, figcaption,
figure, footer, group, header, hgroup, mark, menu,
meter, nav, output, progress, section, summary,
time, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}
html {
  font-size: 100%;
  font-family:Open Sans, arial, helvetica, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1;
  direction: ltr;
}
a {
  color: #15c;
  text-decoration: none;
}
a:active {
  color: #d14836;
}
ol, ul {
  list-style: none;
  line-height: 17px;
  margin: 0 0 1em;
}
li {
  margin: 0 0 .5em;
}
#wrapper{
	max-width: 400px;
	margin:50px 40px 0;
}

#signin-box{
	background-color: #f6f6f6;
	padding: 40px;
	margin: 0 auto 25px;
	max-width: 350px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}
#signin-box #icon {
	background:#e1e1e1;
	width: 120px;
	height: 120px;
	margin: 0px auto 30px;
	display: block;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

#signin-box .reauth {
	display: inline-block;
	height: 29px;
	line-height: 29px;
	margin: 0;
}
#logo {
	text-align:center;
	margin-bottom:30px;
	font-size:40px;
	font-family: Arial, sans-serif; 
	color:#666;
}
input[type=email],
input[type=password],
input[type=text],
.button
{
	height: 50px;
	margin: 0;
	display:block;
	background: #fff;
	border: 1px solid #d9d9d9;
	border-top: 1px solid #c0c0c0;
	border-radius: 1px;
	font-size: 16px;
	-webkit-appearance: none;
}
input[type=checkbox]
{
	margin: 20px 5px 0 0;

}
input[type=email],
input[type=password],
input[type=text]
{
	padding: 0 4%;
	width:92%;
}
input[type=email]:hover,
input[type=password]:hover,
.button:hover{
	border: 1px solid #b9b9b9;
	border-top: 1px solid #a0a0a0;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
input[type=email]:focus,
input[type=password]:focus,
.button:focus{
	outline: none;
	border: 1px solid #4d90fe;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}
#Passwd {margin-top:-1px;}
#Passwd:focus {z-index:1;}
#Email:focus {z-index:2; position:relative}
#error {
	color:#dd4b39;
	font-size:16px;
	margin:15px 0 5px;
	display:inline-block;
}

.button {
  background: #fff;
  border: 1px solid #dcdcdc;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #333;
  cursor: default;
  font-family: arial, sans-serif;
  font-weight: bold;
  height: 50px;
  line-height: 47px;
  margin: 0;
  min-width: 72px;
  outline: 0;
  text-align: center;
  white-space: nowrap;
  width:100%;
  margin:30px 0 0px;
}
.button.blue {
  background: -moz-linear-gradient(top, #4d90fe, #4787ed);
  background: -ms-linear-gradient(top, #4d90fe, #4787ed);
  background: -o-linear-gradient(top, #4d90fe, #4787ed);
  background: -webkit-linear-gradient(top, #4d90fe, #4787ed);
  background: linear-gradient(top, #4d90fe, #4787ed);
  border: 1px solid #3079ed;
  color: #fff;
}
.button.blue:hover {
  background: -moz-linear-gradient(top, #4d90fe, #357ae8);
  background: -ms-linear-gradient(top, #4d90fe, #357ae8);
  background: -o-linear-gradient(top, #4d90fe, #357ae8);
  background: -webkit-linear-gradient(top, #4d90fe, #357ae8);
  background: linear-gradient(top, #4d90fe, #357ae8);
  border: 1px solid #2f5bb7;
  color: #fff;
}

@media only screen and (min-width: 40em) {
	#wrapper{margin:100px auto 0}
	#signin-box{
		padding: 50px;
	}
}