*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


body {
  font-family: 'Merriweather', serif;
  color: #2d3945;
  background-color: #ffffff;
}

h1 {
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  display: block;
  margin: 0;
  padding: 23px 0;
  font-size: 18px;
  font-weight: 400;
  background-color: #e3cfc5;
}


form {
  max-width: 90%;
  margin: 0 auto 0;
  display: block;
}

section h2 {
  margin: 24px auto 10px;
  text-align: center;
  font-size: 19px;
}

section p {
  margin: 0 auto 38px;
  text-align: center;
  font-size: 14px;
  color: #aaafb4;
  font-weight: 300;
}

section {
  border-bottom: solid 4px #e3cfc5;
}

fieldset {
  border: none;
  border-top: solid 2px #e3cfc5;
  margin: 3px 0 20px;
  padding: 0;
}

legend {
  display: block;
  padding: 1.4em 0;
  float: left;
  width: 100%;
  font-size: 18px;
  font-weight: bold;
}

label {
  display: block;
  margin: 4px 0;
  font-size: 14px;
  color: #495d70;
  font-weight: lighter;
}


input[type="text"],
input[type="email"],
input[type="tel"],
input[type="street"],
textarea,
select {
  background-color: #eff0f1;
  border: none;
  font-size: 14px;
  height: auto;
  outline: 0;
  padding: 17px;
  width: 100%;
  border-radius: 4px;
  color: #bec2c5;
  font-weight: 300;
  margin: 10px 0;
  -webkit-transition: border .4s linear;  
  -moz-transition: border .4s linear;  
  -o-transition: border .4s linear; 
  -ms-transition: border .4s linear;  
  transition: border .4s linear; 
  -webkit-transition: background-color .4s linear;  
  -moz-transition: background-color .4s linear;  
  -o-transition: background-color .4s linear; 
  -ms-transition: background-color .4s linear;  
  transition: background-color .4s linear; 
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="street"]:focus,
textarea:focus,
select:focus {
  border: 2px solid #46698b;
  background-color: #e3cfc5;
}

input[type='checkbox'],
input[type='radio'] {
  display:none;
}

label.checkbox:before {
  content:'';
  display:inline-block;
  vertical-align: middle;
  width:18px;
  height:18px;
  font-weight:bold;
  text-align: center;
  color:transparent;
  border: none;
  background-color:#eff0f1;
  margin: 0 10px 0 0;
  border-radius: 4px;
}

input[type='checkbox']:checked + label.checkbox:before {
  content: "✔";
  color:#46698b;
  border: 2px solid #46698b;
}

label.radio:before {
  content:'';
  display:inline-block;
  vertical-align: middle;
  width:18px;
  height:18px;
  font-size:1.33rem;
  font-weight:bold;
  text-align: center;
  color:transparent;
  border: none;
  background-color:#eff0f1;
  margin: 0 10px 0 0;
  border-radius: 100%;
}

input[type='radio']:checked + label.radio:before {
  box-shadow: inset 0px 0px 0px 3px #eff0f1;
  border: 2px solid #46698b;
  background-color: #46698b;
}

#name,
#mail {
  font-size: 12px;
  text-align: right;
  font-style: italic;
}

select {
  height: 50px;
  -webkit-appearance: none;
  background: url("../images/arrow.png") no-repeat 95%;
  background-color: #eff0f1;
}

input#zip {
  width: 55%;
}

label.newsletter {
  line-height: 1.8em;
}

label.format {
  margin-top: 15px;
}

label.checkbox,
label.radio {
  display: inline-block;
  margin: 7px 0px;
}

label.topics {
  margin-top: 20px;
}

textarea {
  padding: 30px;
}

button {
  padding: 19px 39px 18px 39px;
  color: #ffffff;
  background-color: #e3cfc5;
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
  font-style: normal;
  border-radius: 5px;
  width: 100%;
  border: 0;
  margin: 18px 0 0;
}

#copyright {
  text-align: center;
  font-size: 12px;
  font-style: italic;
  color: #aaafb4;
  margin: 12px 0 0;
  padding: 10px 0 205px;
  background-color: #46698b; 
}



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

  form {
    max-width: 600px;
  }
  
  section {
    padding: 40px 0 10px;
  }
  
  section h2 {
    font-size: 24px;
  }

  legend {
    padding: 2.5em 0 1.2em;
  }
  
 .contact_info label {
    display: inline-block;
    vertical-align: middle;
    width: 25%;
    float: left;
    margin: 25.5px 0;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="street"],
  select {
    width: 75%;
    float: right;
  }
  
  input[type="text"]#zip {
    float: left;
    width: 25%;
  }
  
  fieldset {
    margin: 3px 0 41px;
  }
  
  .newsletter_field {
    margin: 3px 0 25px;
  }
  
  label.format {
    margin-top: 18px;
  }
  
  #copyright {
    margin: 2px 0 0;
    padding: 15px 0 305px;
  }
  
  form {
    margin: 0 auto 0;
  }
  
  .clearfix::after {
    content: "";
    display: table;
    clear: both;
  }
  

}
