.mt-2 {
  margin-top: 2rem;
}

.thanks-result-images {
  display: block;
  padding: 0;
  text-align: center;
}

.thanks-result-images img {
  display: inline-block;
  width: auto;
  box-shadow: 0px 0px 12px 0px grey;
}

#thanks-card-form {
  display: block;
  padding: 20px;
}

#thanks-card-form .form-inner-container {
  margin: auto;
}

#thanks-card-form label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  width: 100%;
  display: block;
  opacity: 1;
  height: initial;
}

#thanks-card-form input[type="submit"] {
  display: block;
  margin: auto;
}

#thanks-card-form input[type="radio"] + label {
  display: inline;
}

#thanks-card-form input[type="radio"] {
  width: 1.25rem !important;
  height: 1.25rem !important;
  margin: 0 0.5rem 0 !important;
  padding: 0 !important;
}

#thanks-card-form input:not([type="radio"]):not([type="submit"]),
#thanks-card-form select,
#thanks-card-form textarea {
  margin: 5px 0 2rem;
}

#thanks-card-form .radio-group {
  margin: 6px 0 15px;
}

#thanks-card-form .template-option-group {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  place-content: center;
}

#thanks-card-form .template-container {
  width: 30%;
  text-align: center;
  margin-bottom: 40px;
}

#thanks-card-form .template-option-group label img {
  width: 300px;
  margin-top: 10px;
  padding: 5px;
}

#thanks-card-form input[type="radio"]:checked::before {
  position: relative;
  left: 5px;
  top: 3px;
  display: block;
  content: "";
  width: 4px;
  height: 8px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(22deg);
}

#thanks-card-form input[type="radio"] {
  margin: 0 10px 0 0;
  padding: 0;
  top: 4px;
  position: relative;
  appearance: inherit;
  border-radius: 50%;
  border: 1px solid #44197e;
  margin: 2px;
  width: 30px;
  height: 30px;
  background: 0;
  background-image: none;
  appearance: inherit;
  background: #44197e;
}

#results-container {
  display: none;
}

@media screen and (max-width: 600px) {
  #thanks-card-form .template-container {
    width: 48%;
    padding: 1px;
  }

  .thanks-result-images img {
    height: auto;
    width: 90vw;
  }
}
