body{
  margin: 0;
  background: #fff;
  font-family: "Open Sans Light", Arial;
}

a {
  color: #63c6f4;
  text-decoration: none;
}

.hidden{
  display: none;
}

.left{
  float: left;
}

.right{
  float: right;
}

.center{
  text-align: center;
}

h1{
  text-transform: capitalize;
  font-size: 38px;
  margin-bottom: 10px;
}

.wrapper{
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

#header{
  background: #E6E6E6;
}

#header img{
  margin: 25px 0;
  width: 200px;
}

.container{
  margin: 0 auto;
  width: 960px;
  position: relative;
  overflow: hidden;
}

.container article{
  width: 100%;
  overflow: hidden;
}

article p{
  line-height: 170%;
  font-size: 16px;
}

#form-container{
  padding-top: 50px;
  padding-bottom: 50px;
}

#sign-up-form{
  width: 100%;
  padding-top: 3px;
  padding-left: 3px;
}

.form-cell{
  float: left;
}

.form-col-1,
.form-col-2{
  width: 43%;
  margin-right: 5%;
}

.form-row{
  width: 100%;
  float: left;
}

#sign-up-form input,
#sign-up-form span,
#sign-up-form select{
  padding-top: 11px;
  padding-bottom: 11px;
  padding-left: 5px;
  margin-bottom: 5px;
}

#sign-up-form span{
  margin-right: calc( 5% + 2px);
  line-height: 14px;
  font-size: 18px;
  font-family: "Open Sans Semibold", Arial;
  color: #5C5B56;
}

#sign-up-form input{
  padding-left: 5px;
  border: 1px solid #4E4F53;
  border-radius: 5px;
}

#form-fields {
  width: 80%;
  float: left;
}

#button-container {
  width: 20%;
  float: left;
}

#button-container button{
  background: #282828;
  border-radius: 5px;
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 8px 35px;
  cursor: pointer;
  width: 95%;
}

#button-container button:disabled{
  opacity: 0.2;
  cursor: default;
}

#sign-up-form input:not(button).invalid-field {
  border: 2px solid #45B7B1;
}

#sign-up-form #privacy {
  width: 95%;
  overflow: hidden;
  padding-top: 9px;
}

#sign-up-form #privacy input[type='checkbox']{
  float: left;
}

#sign-up-form #privacy #privacy-text {
  font-size: 11px;
  display: inline-block;
  float: left;
  width: 85%;
  margin-top: 5px;
  position: relative;
  top: -2px;
}

#sign-up-form #privacy div.invalid-field {
  /*background: rgba(247,99,134,0.1);*/
}

#thanks-for-signup {
  display: none;
  text-align: center;
}

#thanks-for-signup h2 {
  font-size: 32px;
  color: #63c6f4;
  margin-bottom: 0;
}

#thanks-for-signup p {
  margin-top: 5px;
}

#first{
  background: url(../images/BadgeKit-Splash-Slide.png) #029DD9 center bottom no-repeat;
  min-height: 450px;
  margin-bottom: 100px;
}

#first .text{
  width: 40%;
  margin-top: 100px;
  margin-bottom: 100px;
  color: #fff;
}


/* === Footer ======= */

footer {
  background: #E6E6E6;
  color: #4E4F53;
  padding-top: 20px;
  padding-bottom: 20px;
}

footer a {
  color: #4E4F53;
}

footer a:hover {
  color: #63c6f4;
}

#footer-logo-container {
  width: 35%;
  float: left;
}

#footer-links {
  width: 65%;
  float: right;
}

#footer-links h5 {
  font-family: "Open Sans", Arial;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 15px;
}

#footer-links section {
  float: left;
  margin-right: 10%;
}

#footer-links ul {
  list-style-type: none;
  font-family: "Open Sans", Arial;
  font-size: 12px;
  padding-left: 0;
}

.openbadges-logo {
  width: 100%;
  height: auto;
  margin-left: -20px;
}

#open-badges-logo img{
  width: 250px;
}

#supported-by {
  font-family: "Open Sans", Arial;
  font-size: 12px;
  position: relative;
  left: 55px;
  top: -15px;
  width: 100%;
}

/* === Responsive ======= */

@media only screen and (max-width: 960px) {
  .container{
    width: 94%;
    padding-left: 3%;
    padding-right: 3%;
  }
}


@media only screen and (max-width: 760px) {
  #sign-up-form button {
    padding-left: 20px;
    padding-right: 20px;
  }
  #first .text {
    width: 50%;
  }
  #open-badges-logo {
    width: 100%;
  }
  #footer-logo-container,
  #footer-links {
    width: 100%;
  }
}

@media only screen and (max-width: 640px) {
  #sign-up-form .form-col-1,
  #sign-up-form .form-col-2 {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    padding-left: auto;
    padding-right: auto;
  }

  #form-fields {
    width: 100%;
  }

  #button-container {
    width: 100%;
  }

  #button-container button {
    width: 100%;
  }

  #first {
    background: url(../images/BadgeKit-Splash-Slide-640px.png) #039DD3 center bottom no-repeat;
  }

  #first .text {
    margin-top: 50px;
  }

}

@media only screen and (max-width: 480px) {
  #form-container{
    padding-top: 20px;
    padding-bottom: 30px;
  }

  #thanks-for-signup h2 {
    font-size: 25px;
  }

  #first {
    background: url(../images/BadgeKit-Splash-Slide-480px.png) #1B9ED7 center 100% no-repeat;
    padding-bottom: 200px;
  }

  #first .text {
    width: 100%;
    position: relative;
    margin-top: 20px;
  }

  #first #sign-up-form {
    width: 98%;
  }

  #first #sign-up-form input:not(button).invalid-field {
    border: 2px solid #F56464;
  }

  #first #button-container button:disabled{
    opacity: 0.3;
    cursor: default;
  }

  #sign-up-form #privacy #privacy-text {
    width: 90%;
  }

  h1 {
    font-size: 30px;
  }

  #footer-links section {
    width: 100%;
  }
}
