html,
body,
div,
input,
span,
a,
select,
textarea,
option,
h1,
h2,
h3,
h4,
main,
aside,
article,
section,
header,
p,
footer,
nav,
pre {
  box-sizing: border-box;
  font-family: Tahoma, Geneva, sans-serif;
}
/* html {
  background: #f8f9f9
    linear-gradient(0deg, #f8f9f9 0%, #f8f9f9 80%, #51b47c 80%, #51b47c 100%)
    no-repeat;
  padding: 30px;
  height: 100%;
} */
input,
textarea,
select {
  outline: 0;
}
@media screen and (max-width: 720px) {
  .survey-form .group {
    flex-flow: column !important;
  }
  .survey-form .group label {
    width: 80vw !important;
    display: flex;
    margin: 10px !important;
    justify-content: space-between;
  }
}

.group label {
  display: inline-block;
  height: 32px;
  width: 100%;
  box-sizing: border-box;
  /* border: 1px solid #ff4c03; */
  border-radius: 6px;
  background-color: #fff;
  color: #e71c24;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 17px;
  text-align: center;
  justify-content: center;
  padding-top: 7px;
  cursor: pointer;
}
.group label:hover {
  background-color: #ff4c03;
  color: #fff;
}
.group input[type='radio']:checked + label {
  background-color: #ff4c03;
  color: #fff;
}
.group input[type='checkbox']:checked + label {
  background-color: #ff4c03;
  color: #fff;
}

h1 {
  margin: 0;
  padding: 35px 25px 25px 25px;
  font-size: 20px;
  color: #6a737f;
  font-weight: 600;
}
h1 i {
  padding-right: 10px;
  font-size: 24px;
}
.survey-form {
  background-color: #fff3ee;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}
.survey-form .fields {
  position: relative;
  /* padding: 20px; */
}
.survey-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #c7c9cb 50%),
    linear-gradient(135deg, #c7c9cb 50%, transparent 50%),
    linear-gradient(to right, #dfe0e0, #dfe0e0);
  background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px,
    calc(100% - 40px) 10px;
  background-size: 5px 5px, 5px 5px, 1px 25px;
  background-repeat: no-repeat;
}
.survey-form select option:first-child {
  display: none;
}
.survey-form input[type='date']::-webkit-calendar-picker-indicator {
  color: #ddd;
  filter: invert(0.8);
}
.survey-form input[type='text'],
.survey-form input[type='email'],
.survey-form input[type='date'],
.survey-form input[type='tel'],
.survey-form select {
  display: flex;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid #dfe0e0;
  width: 100%;
  flex-basis: 100%;
  /* height: 47px; */
}
.survey-form input[type='text']:focus,
.survey-form input[type='email']:focus,
.survey-form input[type='tel']:focus,
.survey-form input[type='date']:focus,
.survey-form select:focus {
  border: 1px solid #c6c7c7;
}
.survey-form input[type='text']::placeholder,
.survey-form input[type='email']::placeholder,
.survey-form input[type='tel']::placeholder,
.survey-form input[type='date']:invalid,
.survey-form textarea::placeholder,
.survey-form select:invalid {
  color: #858688;
}
.survey-form textarea {
  resize: none;
  margin-top: 15px;
  padding: 15px;
  border: 1px solid #dfe0e0;
  width: 100%;
  height: 150px;
}
.survey-form textarea:focus {
  border: 1px solid #c6c7c7;
}
.survey-form .buttons {
  display: flex;
  padding: 20px;
  border-top: 1px solid #eceff2;
  align-items: center;
  justify-content: center;
}
.survey-form .btn {
  display: inline-block;
  padding: 10px 20px;
  border: 0;
  background-color: #ff4c03;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  margin-right: 5px;
  text-decoration: none;
  font-size: 14px;
}
.survey-form .btn:hover {
  background-color: #000;
  color: white;
}
.survey-form .btn.alt {
  background-color: #ea8b85;
  border: 1px solid #ea8b85;
  color: white;
}
.survey-form .btn.alt:hover {
  background-color: #000;
  border: 1px solid #fff;
  color: white;
}
.survey-form input[name='email'] {
  position: relative;
  display: block;
}
.survey-form .field {
  display: inline-flex;
  position: relative;
  width: 100%;
  padding-bottom: 20px;
}
.survey-form label,
.survey-form p {
  font-size: 14px;
  font-weight: 600;
  color: #626262;
}
.survey-form .field i {
  position: absolute;
  color: #dfe2e5;
  top: 25px;
  left: 15px;
  z-index: 10;
}
.survey-form .field i ~ input {
  padding-left: 45px !important;
}
.survey-form .responses {
  padding: 15px;
  margin: 0;
}
.survey-form .fields .wrapper {
  display: flex;
  justify-content: space-between;
}
.survey-form .fields .wrapper > div {
  width: 100%;
}
.survey-form .fields .wrapper .gap {
  width: 35px;
}
.survey-form .steps {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  width: calc(100% - 35px);
  align-self: center;
  margin: 0 auto;
}
.survey-form .steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  /* background-color: #fff; */
  margin: auto 0;
  top: 0;
  bottom: 0;
  z-index: 0;
}
.survey-form .steps .step {
  width: 25px;
  height: 25px;
  background-color: #f2f4f7;
  border: 3px solid #f2f4f7;
  border-radius: 50px;

  z-index: 1;
}
.survey-form .steps .step.current {
  background-color: #8cc6f2;
}
.survey-form .steps .step.complete {
  background-color: #6ecba4;
}
.survey-form .rating {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}
.survey-form .rating input[type='radio']:checked,
.survey-form .rating input[type='radio']:not(:checked) {
  position: absolute;
  left: -9999px;
}
.survey-form .rating input[type='radio']:checked + label,
.survey-form .rating input[type='radio']:not(:checked) + label {
  display: flex;
  position: relative;
  font-size: 14px;
  justify-content: center;
  align-items: center;
  width: 31px;
  height: 31px;
  cursor: pointer;
  color: #8e939b;
  z-index: 10;
}
.survey-form .rating input[type='radio']:checked + label:before,
.survey-form .rating input[type='radio']:not(:checked) + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #dfe0e0;
  border-radius: 100%;
  background: #fff;
  z-index: -1;
}
.survey-form .rating input[type='radio']:checked + label:after,
.survey-form .rating input[type='radio']:not(:checked) + label:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 31px;
  height: 31px;
  border-radius: 100%;
  background: #c9704c;
  z-index: -1;
}
.survey-form .rating input[type='radio']:not(:checked) + label:after {
  opacity: 0;
}
.survey-form .rating input[type='radio']:checked + label {
  color: #fff;
}
.survey-form .rating input[type='radio']:checked + label:after {
  opacity: 1;
}
.survey-form .rating-footer {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #8e939b;
  padding: 15px 0 25px;
}
.survey-form .group {
  display: flex;
  flex-flow: row;
  /* justify-content: center; */
  justify-content: space-between;
  /* padding-bottom: 15px; */
}
.survey-form .group label {
  /* display: flex; */
  font-weight: 500;
  height: auto;
  align-items: center;
  margin: 25px;
  padding: 20px;
  width: 15vw;
  font-size: 18px;
}
.survey-form .group input[type='radio'],
.survey-form .group input[type='checkbox'] {
  appearance: none;
  display: none;
  cursor: pointer;
  width: 16px;
  height: 16px;
  padding: 2px;
  background-clip: content-box;
  border: 1px solid #dfe0e0;
  background-color: #eef1f1;
  border-radius: 50%;
  margin-right: 10px;
}
.survey-form .group input[type='radio']:hover,
.survey-form .group input[type='checkbox']:hover {
  border: 1px solid #d2d3d3;
}
.survey-form .group input[type='radio']:checked,
.survey-form .group input[type='checkbox']:checked {
  border: 1px solid #d2d3d3;
  background-color: #2996ed;
  display: none;
}
.survey-form .group input[type='checkbox'] {
  border-radius: 0;
}
.survey-form .step-content {
  display: none;
}
.survey-form .step-content.current {
  display: block;
}
.survey-form .result {
  padding: 25px;
}
.survey-form .result h3 {
  color: #6a737f;
}
.survey-form .result p {
  font-weight: 500;
}
