form {
    box-sizing: border-box;
    width: 100%;
    max-width: 900px;
    margin: 25px auto;
    padding: 55px;
}



form .form-row {
    display: inline-block;
    text-align: left;
    
    margin: 25px auto 0;
}

#form {
  position: relative;
  margin-top: 100vh;
  text-align: center;
  width: 100%;
  line-height: 32px;
  font-size: 18px;
}

p.explanation {
    padding: 15px 20px;
    line-height: 1.5;
    background-color: #FFFFE0;
    font-size: 13px;
    margin-top: 40px;
    color: #6B6B48;
    border-radius: 3px;
    border-bottom: 2px solid #ECECD0;
    font-family: 'Muli', sans-serif;
}


.fleft {
    float: left;
}

form h3 {
 letter-spacing: 10px;
}

form button {
  letter-spacing: 8px;
  color: #eaeaea;
  font-size: 14px;
  padding: 24px 40px;
  background-color: #333;
  border: 2px solid gold;
  -webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
  -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
  transition: all 0.4s ease 0s;
  text-transform: uppercase;
  border-radius: 8px;
}

form button:hover {
  background: none;
  background-color: gold;
  border-radius: 0px;
  color: #333;
  transition: all 0.4s ease 0s;
}



form .form-title-row {
    margin: 0 auto 10px;
}

form .form-row > label span {
    display: block;
    box-sizing: border-box;
    color:  #5f5f5f;
    padding: 0 0 12px;
    font-weight: 600;
    min-width: 305px;
    font-size: 16px;
    font-family: 'Muli', sans-serif;
}

form input {
    color:  #5f5f5f;
    box-sizing: border-box;
    box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
    padding: 12px 18px;
    border: 1px solid #dbdbdb;
    
}

form input[type=text],
form input[type=tel],
form input[type=email],
form input[type=password],
form input[type=number],
form textarea {
    max-width: 400px;
    width: 100%;
}

form input[type=radio],
form input[type=checkbox] {
    box-shadow: none;
    width: auto;
    margin-top: 12px;
}

form textarea {
    color:  #5f5f5f;
    box-sizing: border-box;
    box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
    padding: 12px 18px;
    border: 1px solid #dbdbdb;
    min-height: 80px;
}

form select {
    background-color: #ffffff;
    color:  #5f5f5f;
    font-family: 'Muli', sans-serif;
    box-sizing: border-box;
    max-width: 400px;
    width: 100%;
    box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
    padding: 12px 18px;
    border: 1px solid #dbdbdb;
}

form .form-radio-buttons > div {
    margin-bottom: 10px;
}

form .form-radio-buttons label span {
    margin-left: 8px;
    color:  #5f5f5f;
}

form .form-radio-buttons input {
    width: auto;
}

textarea:focus, input:focus{
    outline: 0;
}

input:focus:invalid,
textarea:focus:invalid{
    border:1px solid #F5192F;
    box-shadow:0 0 4px #F5192F;
}

input:focus:valid,
textarea:focus:valid{
    border: 1px solid #64C364;
    box-shadow: 0 0 4px #64C364;
}

p.explanation {
    padding: 15px 20px;
    line-height: 1.5;
    background-color: #FFFFE0;
    font-size: 13px;
    margin-top: 40px;
    color: #6B6B48;
    border-radius: 3px;
    border-bottom: 2px solid #ECECD0;
    font-family: 'Muli', sans-serif;
}

.pdf button {
  letter-spacing: 8px;
  color: #eaeaea;
  font-size: 14px;
  padding: 24px 40px;
  background-color: #333;
  border: 2px solid gold;
  -webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
  -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
  transition: all 0.4s ease 0s;
  text-transform: uppercase;
  border-radius: 8px;
}

.pdf button:hover {
  background: none;
  background-color: gold;
  border-radius: 0px;
  color: #333;
  transition: all 0.4s ease 0s;
}

@media (max-width: 800px) {

	form .form-row {
	    max-width: 100%;
	}

	form .form-row > label span {
		width: 100%;
	}

}