/* Base */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: table;
}

/* Content */
#content {
  padding-top:10px;
  font-family: 'Source Sans Pro', sans-serif;
  background: url(../images/background.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

/* Card */
.card {
  padding: 40px;
  width: 900px;
  background-color: #F7F7F7;
  margin: 0 auto 10px;
  border-radius: 2px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.card a {
  text-decoration: none;
  color: #666;
  font-weight: 400;
  text-align: center;
  display: inline-block;
  opacity: 0.6;
  transition: opacity ease 0.5s;
}

.card a:hover {
  opacity: 1;
}

.card h1 {
  font-weight: 400;
  text-align: center;
  font-size: 2.3em;
  color: #1383c6;
}

.card h1 span {
  color: #f26721;
}

.card img {
  width: 90%;
  height: 90%;
}

.card input[type=submit] {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  position: relative;
}

.card input[type=text],
input[type=password] {
  height: 44px;
  font-size: 16px;
  width: 100%;
  margin-bottom: 10px;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-top: 1px solid #c0c0c0;
  padding: 0 8px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.card input[type=text]:hover,
input[type=password]:hover {
  border: 1px solid #b9b9b9;
  border-top: 1px solid #a0a0a0;
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Checkbox */
.list {
  list-style-type: none;
  padding: 0;
}

.list__item {
  margin: 0 0 .7rem 0;
  padding: 0;
}

label {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: left;
}

input[type=radio],
input[type=checkbox] {
  -webkit-box-flex: 0;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  margin-right: 10px;
  float: left;
}

.error{
	font-size:14px;
	font-family:Arial,sans-serif;
	font-weight:700;
	height:25px;
	padding:0 8px;
	padding-top: 10px;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	border:0;
	color:#fff;
	text-shadow:0 1px rgba(0,0,0,.1);
	background-color:#ff1215;
}

.success{
	font-size:14px;
	font-family:Arial,sans-serif;
	font-weight:700;
	height:25px;
	padding:0 8px;
	padding-top: 10px;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	border:0;
	color:#fff;
	text-shadow:0 1px rgba(0,0,0,.1);
	background-color:green;
}

/* Media Query */
@media screen and (max-width: 800px) {
  .card {
    width: 70% !important;
  }

  .card img {
    width: 90%;
    height: 90%;
  }
}