body,
html {
  min-height: 100vh;
  min-width: 100vw;
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: ghostwhite;
  overflow-x: hidden;
}

.helper-popup {
  position: fixed;
  z-index: 1;
  bottom: 30px;
  right: 30px;
}

.helper-popup img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

main {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  max-width: 100vw;
}

main .content {
  display: flex;
  width: 100%;
  margin: auto;
}

main .content .slider-left {
  margin-left: 20px;
  margin-top: auto;
  margin-bottom: auto;
}

main .content .slider-right {
  margin-right: 20px;
  margin-top: auto;
  margin-bottom: auto;
}

main .content .slider-left svg {
  width: 21px;
  height: 42px;
}

main .question-slider {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

main .question-slider i {
  font-size: 14px;
  margin-right: 5px;
  color: black;
}

main .question-slider i.success {
  color: #00b92a;
}

.form-control {
  line-height: 2.5;
  height: calc(2.5em + 0.75rem + 2px);
  margin: 0 auto;
  /* text-transform: uppercase; */
  border: none;
  transition: 0.3s border;
  border-radius: 10px;
  background: white !important;
}

.input-group {
  width: 85%;
  min-width: 250px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
}

.input-group .input-group-text {
  background: white;
  border: none;
  color: red;
  font-size: 20px;
  border-radius: 10px;
  width: 50px;
}

.input-group .input-group-text i {
  margin: auto;
}

.form-control:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 2px solid #28a745;
}

main .submit-question {
  width: 400px;
  max-width: 100%;
  margin: auto;
  line-height: 2;
}
main .submit-question.disabled {
  opacity: 0.5;
}

main .back-question {
  color: black;
  text-decoration: underline;
  font-size: 1.2rem;
}

.question-container {
  margin: auto;
  text-align: center;
}

.question-container .question-title {
  font-weight: bold;
}
.header-logo {
  text-align: center;
  padding-bottom: 20px;
}
.form-inline .form-check {
  width: auto !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: #28a745;
  background-color: #28a745;
}

.custom-radio,
.custom-checkbox {
  background: white;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid #d8d8d8;
  text-align: left;
}

.custom-radio:hover,
.custom-checkbox:hover {
  cursor: pointer !important;
  border-color: #28a745;
}
.custom-control-label {
  cursor: pointer;
}
.custom-checkbox .custom-control-label::before,
.custom-radio .custom-control-label::before {
  position: absolute;
  top: 0.7rem;
  left: -1rem;
  display: block;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  content: "";
  background-color: #fff;
  border: #adb5bd solid 1px;
}

.custom-checkbox:hover .custom-control-label::before,
.custom-radio:hover .custom-control-label::before {
  border-color: #28a745;
}
.custom-checkbox .custom-control-label::after,
.custom-radio .custom-control-label::after {
  width: 2rem;
  height: 2rem;
  top: 0.2rem;
}

.custom-radio .custom-control-input:checked~.custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e") !important; 
}
.custom-control {
  transition: background-color 0.3s ease;
}
.custom-control.checked {
  background: #28a745;
  color: white;
}
.custom-control-label {
  width: 100%;
  padding-left: 10px;
}

@media screen and (max-width: 768px) {
  #popupContainer {
    text-align: center;
  }
  .helper-popup {
    bottom: unset;
    right: unset;
    position: relative;
  }
}
