html, body {
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: verdana;
  font-size: 13px;
  color: #777;
}

#header {
  background-color: #990000;
  border-bottom: 30px solid #d3d3d3;
  height: 83px;
}

#header img {
  max-width: 100%;
  height: auto;
}

#main-login {
  max-width: 400px;
  border: 1px solid #000;
  margin: 0; auto;
  width: 90%;
}

#page {
  width: 100%;

}

#main {
  margin: 54px 0 0 0;
  width: 100%;

}

#main-login {
      margin: 0 auto 0px;
      margin-bottom: 30px;
}

#main--heading {
  background-color: #990000;
  color: #fff;
  margin: 0;
  padding: 10px;
  text-align: center;
}

#main--heading h1 {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

#main--heading h1 small {
  font-weight: 200;
}

#main--content {
  padding: 10px;
}

#main-form-inputs {
  margin-bottom: 10px;
}

#main-form-inputs label {
  width: 110px;
  max-width: 100%;
  display: inline-block;
}

#main-form-inputs .form-group {
  margin-bottom: 10px;
}

#terms_of_service_container {

    padding: 5px 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    background: #FFFFDD;
}


#username, #password {
  border: 1px solid #ccc;
  width: 257px;
  max-width: 100%;
  background: #ffd;
  font-size: 1.1em;
  color: #000;
  padding: 3px;
  min-height: 1.5em;
}



.info, .errors {
    clear: both;
    margin: 18px 10px;
    padding: 10px 20px 20px 80px;


    font-size: 13px;
    line-height: 1.5;
}


.checkboxes label {
  display: block;

  white-space: nowrap;
  width: auto;
}
.checkboxes input {
  vertical-align: middle;
  margin: 0 7px 0 0;
}
.checkboxes label span {
  vertical-align: middle;
}


a, a:hover, a:active, a:visited {
  color: #990000;
}

#main--content button {
  letter-spacing: 0;
  background: #990000;
  color: #fff;
  border: 1px solid #ddd;
  padding: 10px 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}

#footer {
width: 350px;
max-width: 100%;
margin: 0 auto 1em;
padding: 0 0 1px 0;
background: transparent;
color: #999;
text-align: center;
line-height: 1.2em;
font-size: 10px;
}


#footer div#copyright {
border-top: 1px solid #ccc;
display: block;
padding-top: 10px;
margin: 1em 5px .5em;
overflow: hidden;
}






.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}


@-webkit-keyframes bounce {
  from, 20%, 53%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  40%, 43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0,-4px,0);
    transform: translate3d(0,-4px,0);
  }
}

@keyframes bounce {
  from, 20%, 53%, 80%, to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  40%, 43% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -30px, 0);
    transform: translate3d(0, -30px, 0);
  }

  70% {
    -webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }

  90% {
    -webkit-transform: translate3d(0,-4px,0);
    transform: translate3d(0,-4px,0);
  }
}

.bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
}
