
html{
  background-color: #e1e1e1;
  font-family: Helvetica, Arial, sans-serif;
}
.header {
  background-color: #002f65;
  height: 90px;
  color: #fff;
  margin: auto;
  width: 570px; 
}

.formtext { color: #5f5f5f; margin-bottom:10px; }

.loginerror {
  color: #d4004c
}
.form-log-in-with-email {
  margin-top: 30px;
}

.form-login{
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  font: bold 14px sans-serif;
  text-align: center;
}

.form-login p {
  margin-bottom: 0.5em;
}

.form-log-in-with-email{
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-right: 130px;
  text-align: center;
}

.form-log-in-with-email .form-white-background{
  width: 570px;
  box-sizing: border-box;
  background-color: #f1f1f1;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 30px 80px 10px;
  margin-bottom: 32px;
}

.form-log-in-with-email .form-row{
  text-align: left;
  margin-bottom: 23px;
}

.form-log-in-with-email .form-title-row{
  text-align: center;
  margin-bottom: 20px;
}

.form-log-in-with-email h1{
  display: inline-block;
  box-sizing: border-box;
  color:  #4c565e;
  font-size: 24px;
  padding: 0 30px 15px;
  border-bottom: 2px solid #D4004C;
  margin:0;
  hyphens: auto;
}

.form-log-in-with-email h2{
  color:  #4c565e;
  font-size: 20px;
  margin-top:10px;
  margin-bottom: 30px;
}

.form-log-in-with-email .form-row > label span{
  display: inline-block;
  box-sizing: border-box;
  color:  #5f5f5f;
  width: 125px;
  text-align: right;
  padding-right: 25px;
}

.form-row input {
  font-size: 17px;
}

.form-log-in-with-email input{
  color:  #5f5f5f;
  box-sizing: border-box;
  width: 230px;
  box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
  padding: 10px 10px;
  border: 1px solid #dbdbdb;
}

.form-log-in-with-email button{
  display: block;
  border-radius: 2px;
  background-color:  #011e4a;
  color: #ffffff;
  font-weight: bold;
  box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
  padding: 15px 35px;
  border: 0;
  margin: 30px auto 0;
  cursor: pointer;
}

.form-log-in-with-email .form-forgotten-password,
.form-log-in-with-email .form-create-an-account{
  text-decoration: none;
  padding: 4px 8px;
  font-weight: normal;
}

.form-log-in-with-email .form-forgotten-password{
  color:  #003064;
  font-weight: bold;
}



.form-sign-in-with-social{
  display: inline-block;
  max-width: 180px;
  box-sizing: border-box;
  vertical-align: top;
  text-align: center;
  margin-top: 70px;
}

.form-sign-in-with-social .form-title-row{
  margin-bottom: 50px;
}

.form-sign-in-with-social .form-title{
  box-sizing: border-box;
  color:  #4c565e;
  font-size: 24px;
  padding: 15px 20px;
  border-bottom: 2px solid #6caee0;
}

.form-sign-in-with-social .form-google-button{
  color:  #ffffff;
  display: block;
  width: 145px;
  height: 40px;
  font-size: 12px;
  line-height: 40px;
  background-color:  rgba(222, 110, 60, 0.9);
  box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  margin: 8px auto;
  text-decoration: none;
}

.form-sign-in-with-social .form-facebook-button{
  color:  #ffffff;
  display: block;
  width: 145px;
  height: 40px;
  font-size: 12px;
  line-height: 40px;
  background-color:  rgba(75, 136, 194, 0.9);
  box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  margin: 8px auto;
  text-decoration: none;
}

.form-sign-in-with-social .form-twitter-button{
  color:  #ffffff;
  display: block;
  width: 145px;
  height: 40px;
  font-size: 12px;
  line-height: 40px;
  background-color:  rgba(123, 195, 226, 0.9);
  box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  margin: 8px auto;
  text-decoration: none;
}

/*	Making the form responsive. Remove these media queries
  if you don't need the form to work on mobile devices. */

@media (max-width: 900px) {

  .form-login{
      margin: 20px auto;
  }

  .form-log-in-with-email{
      position: relative;
      display: block;
      margin: 0 0 50px;
  }

  .form-log-in-with-email .form-white-background{
      margin: 0 auto 32px;
  }

  .form-log-in-with-email:after{
      bottom: -80px;
      left: 50%;
      margin-left: -25px;
  }

  .form-sign-in-with-social{
      margin-top: 60px;
  }

}

@media (max-width: 600px) {
  .header {
    width: 300px; 
  }
  
  .form-log-in-with-email .form-white-background{
      width: 300px;
      padding-left: 35px;
      padding-right: 35px;
  }

  .form-log-in-with-email .form-row > label span{
      display: block;
      text-align: left;
      padding: 0 0 10px;
  }

  .form-log-in-with-email .form-email,
  .form-log-in-with-email .form-password{
      display: block;
      margin: 0 auto;
  }

  .form-log-in-with-email:after{
      bottom: -80px;
      left: 50%;
      margin-left: -25px;
  }

  .form-log-in-with-email .form-forgotten-password,
  .form-log-in-with-email .form-create-an-account{
      display: block;
      margin: 5px auto;
      max-width: 180px;
  }
}

.copybutton {
  margin: 0 0 -7px 10px;
  opacity: 0.6;
}
.copybutton:hover {
  opacity: 1.0;
}
.cpysuccess {
  position: absolute;
  right: 30px;
  top: 168px;
  display: none;
  font-size: 0.8em;
  width: 60px;
  text-align: center;
}
form.regsuccess { 
  margin-top: 20px; 
  margin-bottom: 20px; 
}
form.regsuccess a, form.regsuccess a:link, form.regsuccess a:visited, div.form-login a {
  color: #003064;
  text-decoration: none;
  font-weight: bold;
}
form.regsuccess a:hover, div.form-login a:hover {
  text-decoration: underline;
}

.center { text-align:center; }