/* GENERAL */
.formX body {
  background: lightgrey;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.5px;
}
.formX *:focus {
  outline-color: #00BF8F;
}

/* SECTION WRAPPER */
.formX .wrapper {
  width: 90%;
  margin: 0 auto;
}

/* TYPOGRAPHY */ 
.formX h1 {
  font-size: 30px;
  font-family: 'Libre Baskerville', serif;
  margin-bottom: 10px;
}
.formX form p {
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  margin: 50px 0 20px; 
  line-height: 1.6;
}
.formX form p,
.formX label[for="comfort"],
.formX label[for="explain"] {
  padding-bottom: 6px;
  border-bottom: 2.5px solid #00BF8F;
}

/* HEADER */
.formX header {
  position: relative;
  padding: 120px 0px 30px;
  color: #fff;
 // background: linear-gradient(to bottom, green 5%, lightgreen 30%, green 100%);
  //background-size: cover;
  //background-position: bottom;
}

/* SECTION */
.formX section {
  background: #ffffff;
  padding: 20px 0;
}

/* FORM STYLES */
.formX .input-wrap {
  padding: 5px;
  margin-bottom: 10px;
}
.formX select {
  display: block;
  margin-bottom: 50px;
}
.formX input[type="checkbox"],
.formX input[type="radio"] {
  margin-right: 5px;
}
.formX label[for="comfort"],
.formX label[for="explain"] {
  display: block;
  margin-bottom: 20px;
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  line-height: 1.6;
}
.formX input[type="text"],
.formX textarea {
  width: 80%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #00BF8F;
  background: #DAEAE6;
  margin-bottom: 15px;
}
.formX input[type="text"] {
  width: 500px;
  max-width: 90%;
}
.formX .input-wrap.select-box {
  border: 1px solid #00BF8F;
  background: #DAEAE6;
  width: 50%;
  height: 34px;
  padding: 0px 10px;
  margin-bottom: 50px;
}
.formX input[type="date"],
.formX input[type="time"] {
  border: 1px solid #00BF8F;
  background: #DAEAE6;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.5px;
  height: 34px;
  padding: 0 10px;
  margin-bottom: 50px;
  width: 50%;
}
.formX .input-wrap.select-box:hover {
  background: #00BF8F;
}
.formX textarea {
  min-height: 100px;
}
.formX select {
  border: none;
  background: transparent;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.5px;
  height: 34px;
  width: 100%;
}
.formX select:hover {
  cursor: pointer;
}
.formX input[type="submit"] {
  display: block;
  margin: 20px auto 50px;
  height: 34px;
  width: 125px;
  font-family: 'Lato', sans-serif;
  letter-spacing: 0.5px;
  background: #008463;
  border: 0px solid;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.25px;
}
.formX input[type="submit"]:hover {
  background: #00BF8F;
  cursor: pointer;
}

/* SLIDER */
.formX input[type="range"] {
  position: relative;
  margin: 0 90px;
  max-width: 35%;
}
.formX input[type="range"]:before,
.formX input[type="range"]:after {
  position: absolute;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  top: -2px;
  color: #008463;
}
.formX input[type="range"]:before {
  left: -100px;
}
.formX input[type="range"]:after {
  right: -120px;
}
.formX input[type="range"] {
  -webkit-appearance: none !important;
  height: 10px;
  width: 250px;
  margin: 26px 0px 50px 100px;
  background: #DAEAE6;
  border: 1px solid #00BF8F;
  border-radius: 10px;
  display: block;
}
.formX input[type="range"]:focus {
  outline: none;
}
.formX input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  background: #008463;
  height: 15px;
  width: 15px;
  border: 4px solid #00BF8F;
  border-radius: 20px;
  box-shadow: 0 0 0 1px #00BF8F, 0 0 8px #008463 inset;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.15s;
}
.formX input[type="range"]::-webkit-slider-thumb:hover,
.formX input[type="range"]::-webkit-slider-thumb:active {
  height: 20px;
  width: 20px;
  border: 6px solid #008463;
  background: #fff;
  box-shadow: 0 0 0 0px #00BF8F, 0 0 8px #00BF8F inset;
}

.formX input[type="radio"] {
  height: 15px;
  width: 15px;
}
.formX input[type="radio"]:checked {
  height: 20px;
  width: 20px;
}
.formX #submit_button:hover {
  background: lightblue;
}