@charset "UTF-8";

section.radio {
  display: flex;
  flex-flow: row wrap;
}

section.radio > div.radio {
  flex: 1;
  padding: 0.5rem;
}

input.radio {
  display: none;
}
input.radio:not(:disabled) ~ label.radio {
  cursor: pointer;
}

/* input.radio:not(:disabled) ~ label.radio:hover { */
  /* background-color: #6690f4; */
  /* color: white; */
/* } */

input.radio:disabled ~ label.radio {
  color: #bcc2bf;
  border-color: #bcc2bf;
  box-shadow: none;
  cursor: not-allowed;
}

.radio .row .col-6:first-child {
  padding: 0 calc(var(--bs-gutter-x) * .5) 0 0 ;
}
.radio .row .col-6:last-child {
  padding: 0 0 0 calc(var(--bs-gutter-x) * .5) ;
}

label.radio {
  display: block;
  background: white;
  border: 2px solid #56368b;
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
  box-shadow: 0px 3px 10px -2px rgba(161, 170, 166, 0.5);
  position: relative;
}
label.radio:hover svg {
  fill: white;
}

input.radio:checked + label.radio {
  background: #56368b;
  color: white;
}
input.radio:checked + label.radio svg {
  fill: white;
}
label.radio svg {
  fill: #4e5e6a;
  width: 2.2em;
  height: 2.2em;
  stroke-width: 1;
}
input.radio:checked + label.radio::after {
  color: black;
  font-family: FontAwesome;
  border: 2px solid #56368b;
  content: "";
  font-size: 18px;
  position: absolute;
  top: -14px;
  right: 7px;
  height: 30px;
  width: 30px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0px 2px 5px -2px rgba(0, 0, 0, 0.25);
}

p.radio {
  margin: 5px 0 0 0 !important;
}

@media only screen and (max-width: 767px) {
  section.radio {
    flex-direction: column;
  }
}
