

.niceform, .niceform *, .niceform *:before, .niceform *:after{
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
  color: #384047;
  background: transparent;
}


.niceform form {
  width: 90%;
  margin: 10px auto;
  padding: 10px 20px;
  background: #f4f7f8;
  border-radius: 8px;
  text-align:center;
}

.niceform h1 {
  margin: 0 0 30px 0;
  text-align: center;
}

.niceform input[type="text"],
.niceform input[type="password"],
.niceform input[type="date"],
.niceform input[type="datetime"],
.niceform input[type="datetime-local"],
.niceform input[type="email"],
.niceform input[type="number"],
.niceform input[type="search"],
.niceform input[type="tel"],
.niceform input[type="time"],
.niceform input[type="url"],
.niceform input[type="color"],
.niceform textarea,
.niceform select {
  background: rgba(255,255,255,0.1);
  border: none;
  font-size: 16px;
  height: auto;
  margin: 0;
  outline: 0;
  padding: 15px;
  width: 100%;
  background-color: #e8eeef;
  color: #8a97a0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
  margin-bottom: 10px;
}

.niceform input[type="color"]{
   padding: 15px;
   height: 4em;;
}

.niceform input[type="radio"],
.niceform input[type="checkbox"] {
  margin: 0 4px 8px 0;
}

.niceform select {
  padding: 6px;
  height: 32px;
  border-radius: 2px;
}

.niceform button {
  padding: 19px 39px 18px 39px;
  color: #FFF;
  background-color: #4bc970;
  font-size: 18px;
  text-align: center;
  font-style: normal;
  border-radius: 5px;
  width: 100%;
  border: 1px solid #3ac162;
  border-width: 1px 1px 3px;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.1) inset;
  margin-bottom: 10px;
}

.niceform button:hover {
	background-color: #2ba950;
	font-size: 20px;
	cursor: pointer;
}

.niceform button.halfwidth {
  padding: 19px 39px 18px 39px;
  width: 30%;
  clear:none;
  margin-right:3em;
}

.lastbutton {
  clear:right;
}



.niceform fieldset {
  margin-bottom: 30px;
  border: none;
}

.niceform legend {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.niceform label {
  display: block;
  margin-bottom: 8px;
}

.niceform label.light {
  font-weight: 300;
  display: inline;
}

.niceform .number {
  background-color: #5fcf80;
  color: #fff;
  height: 30px;
  width: 30px;
  display: inline-block;
  font-size: 0.8em;
  margin-right: 4px;
  line-height: 30px;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
  border-radius: 100%;
}

@media screen and (min-width: 480px) {

  .niceform form {
    max-width: 90%;
  }

}
