body {
  font-family: 'Lato', Calibri, Arial, sans-serif;
  color: #fff;
  background: #2980b9;
}

.logo-regi {
  padding: 2em 0em;
  background: #2980b9;
  text-transform: uppercase;
  width: 200px;
  margin: auto;
}

.logo-regi h1 {
  text-align: center;
  font-weight: 900;
  font-size: 2.5em;
}

footer {
  padding: 82px 0 0;
  /*background: #4e97cc;*/
  font-weight: 100;
}

footer li {
  font-weight: 100;
  color: #bdc3c7;
  font-size: 15px;
}

footer a {
  font-weight: 100;
  color: #bdc3c7;
  font-size: 13px;
}

footer a:hover {
  font-weight: 100;
  color: #95a5a6;
}

.af-wrapper {
  width: 94%;
  max-width: 500px;
  border: 3px solid #fff;
  min-width: 280px;
  margin: 80px auto 80px auto;
  position: relative;
  padding: 20px;
  font-family: 'Lato', Calibri, Arial, sans-serif;
  color: #333;
  font-weight: 100;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

.af-wrapper h3 {
  margin: 0px;
  color: #fff;
  padding: 10px;
  font-weight: 100;
  font-size: 22px;
  text-align: center;

}

.af-show {
  position: absolute;
  top: 30px;
  right: 155px;
  cursor: pointer;
  padding: 3px 0px;
  width: 190px;
  text-align: center;
  font-weight: bold;
  border: 1px solid #A8BC65;
  color: #6d7649;
  border-radius: 4px;
  background: #e4efc0;
  text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.4);
  background: #cae082;
  background: -moz-linear-gradient(top, #cae082 0%, #abbd73 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cae082), color-stop(100%, #abbd73));
  background: -webkit-linear-gradient(top, #cae082 0%, #abbd73 100%);
  background: -o-linear-gradient(top, #cae082 0%, #abbd73 100%);
  background: -ms-linear-gradient(top, #cae082 0%, #abbd73 100%);
  background: linear-gradient(top, #cae082 0%, #abbd73 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cae082', endColorstr='#abbd73', GradientType=0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.af-show:hover {
  color: #535B31;
}

.af-show-input {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 190px;
  height: 24px;
  opacity: 0;
}

.af-show-input:checked ~ .af-show {
  background: #cae082;
  color: #535B31;
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.af-form {
  padding: 10px 0px;
}

.af-form:before,
.af-form:after {
  content: "";
  display: table;
}

.af-form:after {
  clear: both;
}

.af-outer {
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

.af-inner {
  padding: 3px 20px 3px 20px;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

#af-showreq:checked ~ .af-form .af-outer.af-required {
  background: #fffde3;
}

#af-showreq:checked ~ .af-form .af-outer:not(.af-required) .af-inner {
  opacity: 0.4;
}

.af-form label {
  display: block;
  display: -moz-box;
  -moz-box-orient: horizontal;
  -moz-box-pack: end;
  -moz-box-align: center;
  -webkit-box-orient: horizontal;
  -webkit-box-pack: end;
  -webkit-box-align: start;
  box-orient: horizontal;
  box-pack: end;
  box-align: left;
  height: 20px;
  float: left;
  padding-right: 3%;
  width: 30%;
  min-width: 80px;
  font-size: 13px;
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: left;
}

.af-inner select {
  border: 3px solid #fff;
  padding: 8px;
  font-weight: bold;
  color: #fff;
  width: 80%;
  background: none;
  margin-right: 235px;
}

.af-form .af-required label {
  color: #fff;
}

.af-form input[type=Password],
.af-form input[type=email] {

  border: 3px solid #fff;
  font-weight: 100;
  color: #444;
  /*width: 80%;*/
  background: none;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0);
}

.af-form input:focus {
  background: #f9fcef;
  outline: none;
}

.af-form input[type="submit"] {
  border: 3px solid #fff;
  color: #fff;
  display: inline-block;
  margin-top: 30px;
  margin-left: 35%;
  padding: 8px 40px;
  font-weight: 100;
  font-family: 'Lato', Calibri, Arial, sans-serif;
  background: #2980b9;
  font-size: 13px;
}

.af-form input[type="submit"]:active {
  background: #e74c3c;
}

.af-form input[type="submit"]:hover {
  background: #e74c3c;
}

::-webkit-validation-bubble {
  z-index: 100000;

}

@media screen and (max-width: 780px) {
  .af-wrapper {
    background-position: 220px 60px;
  }

  .af-wrapper h3 {
    padding-bottom: 50px;
  }

  .af-show {
    top: 66px;
    right: auto;
    left: 30px;
  }
}

@media screen and (max-width: 385px) {
  .af-wrapper {
    background: #fff;
  }
}

@media screen and (max-width: 330px) {
  .af-form label,
  .af-form input[type=text],
  .af-form input[type=email],
  .af-form input[type=date] {
    width: 100%;
  }

  .af-form label {
    -moz-box-pack: center;
    -webkit-box-pack: center;
    box-pack: center;
    text-align: center;
  }
}
