@font-face {
  font-family: 'FibraOne-UltraBold';
  src: url('../../build-front/fonts/FibraOne-UltraBold.eot');
  src: url('../../build-front/fonts/FibraOne-UltraBold.eot?#iefix') format('embedded-opentype'),url('../../build-front/fonts/FibraOne-UltraBold.woff2') format('woff2'),url('../../build-front/fonts/FibraOne-UltraBold.woff') format('woff'),url('../../build-front/fonts/FibraOne-UltraBold.ttf') format('truetype');
}

.poll-form { padding: 3rem; max-width: 100%; }

.poll-form form { width: 100% }

.poll-form h2 {
  color: #0c57a5!important;
  font-family: FibraOne-UltraBold;
  font-weight: 500;
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
}

.poll-form .poll-message {
  text-align: center;
  width: 100%;
  margin-top: 5em;
}

.poll-form label, .poll-form p {
  color: #212529;
  font-family: FibraOne-UltraBold;
  font-size: 18px;
  margin-bottom: 10px;
  margin-block-start: 3px;
}

.poll-form p {
  text-align: center;
  width: 100%;
}

.poll-form .content-textarea {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.poll-form .form-actions button {
  background-color: #ffc62d;
  color: #0c57a5;
  font-family: FibraOne-UltraBold;
  border: none;
  border-radius: 50rem;
  text-transform: uppercase;
  padding: 23px 2.5rem 20px;
  font-size: 14px;
  display: inline-flex;
  transition: all ease-in 0.2s;
}

.poll-form .form-actions button:hover { background-color: #f9b500; }

.poll-form .range {
  display: flex;
  justify-content: space-between;
  min-width: 500px;
  width: 97%;
  margin: 2em auto;
  position: relative;
}

.poll-form .range label {
  text-align: center;
  margin-top: 0;
  width: 1.3125rem;
  padding-top: 1.8em;
  padding-left: 0;
}

.poll-form input[type=radio]+label:before {
  z-index: 4;
  background-color: #ffffff;
}

.poll-form input[type=radio]+label:after {
  z-index: 5;
}

.poll-form .range div {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
}

.poll-form .range:after {
  content: '';
  position: absolute;
  left: 20%;
  top: 10px;
  width: 60%;
  height: 1px;
  background-color: #b9c6d7;
}

form p.poll-green {
  color: #048864;
}

form p.poll-red {
  color: #dc3545;
}

.poll-form .range input { z-index: 9; }

.poll-form .range div.no-line:after { display: none; }

.poll-form .range-extremes {
  width: 15%;
  text-align: center;
}

.poll-form .range-extremes p {
  font-size: 20px;
}

.poll-form .poll-comment {
  display: none;
}

.poll-form textarea {
  min-height: 200px;
  border-radius: 5px;
  padding: .5rem 1rem;
  border: 0;
}

.poll-form .actions {
  text-align: center;
}

#pollNPS {
  max-width: 70vw;
  height: 80vh;
  max-height: 80vh;
}

#pollNPS iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#pollNPS .close-button {
  top: 0;
  position: absolute;
  right: 0;
  font-size: 32px;
  width: 32px;
  color: #0c57a5;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 992px) {
  .poll-form { padding: 1rem; }
}

@media (max-width: 768px) {
  .poll-form h2 {
    font-size: 1.2em;
  }

  .poll-form p {
    font-size: 1em;
  }

  .poll-form .range {
    display: block;
    min-width: unset;
    margin-top: 0;
    margin-bottom: 0;
  }

  .poll-form .range:after {
    display: none;
  }

  .poll-form .range-extremes {
    width: 100%;
    text-align: center;
  }

  .poll-form .range-extremes p {
    margin: 10px 0;
  }

  .poll-form input[type=radio]+label {
    padding-top: 0;
    padding-left: 1.8em;
    margin-bottom: 5px;
    margin-top: 5px;
  }

  .poll-form input[type=radio]+label:before {
    top: -.1625rem;
  }

  #pollNPS {
    max-width: 100%;
  }
}
