@import url(https://fonts.googleapis.com/css?family=Baloo+2);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #173F5F;
}

.middle {
  width: 460px;
  margin: 0 auto;
}

h1 {
  margin: 50px 0 0 0;
  color: #fff;
  font-family: 'Baloo 2';
  font-size: 48px;
  font-weight: normal;
  text-align: center;
}

#fancy-inputs {
  float: left;
  width: 100%;
  margin: 0 0 50px 0;
}
#fancy-inputs label.input {
  float: left;
  width: 460px;
  height: 42px;
  margin: 50px 0 0 0;
  position: relative;
  clear: both;
}
#fancy-inputs label.input span {
  width: 100%;
  height: 40px;
  line-height: 40px;
  position: absolute;
  left: 0;
  cursor: text;
}
#fancy-inputs label.input span span {
  position: absolute;
  top: 0;
  z-index: 1;
  font-family: 'Baloo 2';
  font-size: 22px;
  color: #fff;
  text-indent: 10px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
}
#fancy-inputs label.input span:before {
  content: '';
  width: 0%;
  height: 3px;
  background-color: #F6D55C;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 99;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
}
#fancy-inputs label.input span:after {
  content: '';
  width: 0%;
  height: 3px;
  background-color: #F6D55C;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 99;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
}
#fancy-inputs input {
  float: left;
  width: 460px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-bottom: 3px solid #fff;
  background-color: transparent;
  color: #fff;
  font-family: 'Baloo 2';
  font-size: 22px;
  position: relative;
  z-index: 99;
}
#fancy-inputs input:focus {
  outline: 0;
}
#fancy-inputs input.white {
  background-color: #173F5F;
}
#fancy-inputs input:focus + span span {
  cursor: initial;
  position: absolute;
  top: -35px;
  color: #F6D55C;
}
#fancy-inputs input:focus + span:before {
  width: 50%;
}
#fancy-inputs input:focus + span:after {
  width: 50%;
}
#fancy-inputs span.fixed span {
  top: -35px;
}

#fancy-radio {
  float: left;
  width: 100%;
  margin: 0 0 30px 0;
}
#fancy-radio label.radio {
  float: left;
  width: auto;
  line-height: 30px;
  margin: 0 0 10px 0;
  color: #fff;
  font-family: 'Baloo 2';
  font-size: 22px;
  cursor: pointer;
  position: relative;
  clear: both;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
}
#fancy-radio label.radio:before {
  content: '';
  float: left;
  width: 29px;
  height: 29px;
  margin: 0 5px 0 0;
  background-color: #fff;
  border-radius: 100%;
  font-size: 22px;
  text-indent: 40px;
}
#fancy-radio label.radio:after {
  content: '';
  width: 5px;
  height: 5px;
  background-color: #2C3E50;
  border-radius: 100%;
  position: absolute;
  top: 12px;
  left: 12px;
  opacity: 0;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
}
#fancy-radio label.radio.selected:after {
  width: 15.5px;
  height: 15.5px;
  top: 7px;
  left: 7px;
  opacity: 1;
}
#fancy-radio label.radio:hover {
  text-indent: 5px;
}

.btn {
  float: left;
  width: 100%;
  height: 50px;
  line-height: 50px;
  margin: 0 0 50px 0;
  background-color: #F6D55C;
  color: #fff;
  font-family: 'Baloo 2';
  font-size: 22px;
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
}
.btn:hover {
  background-color: #374b60;
}

.success {
  padding: 1em;
  font-family: 'Baloo 2';
  font-size: 22px;
  color: #fff;
  margin-bottom: 0.75rem;
  margin-top: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #A2AD00;
  border: 1px solid #A2AD00;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.error {
  padding: 1em;
  font-family: 'Baloo 2';
  font-size: 22px;
  color: #fff;
  margin-bottom: 0.75rem;
  margin-top: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #E37222;
  border: 1px solid #E37222;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  overflow: hidden;
  margin-bottom: 8%;
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
