/* Gender */

#edit-container, #edit-container--2{
  position: relative;
  min-height: 390px;
  background-image: url('/sites/default/files/images/babynamegenerator/gender.jpg');
  background-repeat: no-repeat ! important;
  background-position: center center;
  background-size: contain;
  max-width: 274px;
  margin: auto;
}

#edit-container input[type="checkbox"], #edit-container--2 input[type="checkbox"] {
  display: none;
}

label[for="edit-gender-boy"], label[for="edit-gender-boy--2"] {
    position: absolute;
    top: 80px;
    left: 64px;
    width: 40px;
    text-align: center;
    padding: 11px 5px ! important;
    border-radius: 50px;
    font-weight: bold;
    cursor:pointer;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

label[for="edit-gender-girl"], label[for="edit-gender-girl--2"] {
    position: absolute;
    top: 78px;
    right: 65px;
    width: 40px;
    text-align: center;
    padding: 12px 5px ! important;
    border-radius: 50px;
    font-weight: bold;
    cursor:pointer;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#edit-gender-boy:checked + label{
  background-color: #01397f;
  color: #fff;
}

#edit-gender-boy--2:checked + label{
  background-color: #01397f;
  color: #fff;
}

#edit-gender-girl:checked + label{
  background-color: #e583b1;
  color: #fff;
}

#edit-gender-girl--2:checked + label{
  background-color: #e583b1;
  color: #fff;
}

/* Length */

#edit-container-02, #edit-container-02--2{
  position: relative;
  min-height: 390px;
  background-image: url('/sites/default/files/images/babynamegenerator/length.jpg');
  background-repeat: no-repeat ! important;
  background-position: center center;
  background-size: contain;
  max-width: 274px;
  margin: auto;
}

#edit-container-02 input[type="checkbox"], #edit-container-02--2 input[type="checkbox"] {
  display: none;
}

label[for="edit-length-short"], label[for="edit-length-short--2"] {
  position: absolute;
  top: 87px;
  left: 92px;
  width: 88px;
  text-align: center;
  padding: 35px 22px ! important;
  height: 90px;
  border-radius: 50%;
  font-weight: bold;
  cursor:pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

label[for="edit-length-long"], label[for="edit-length-long--2"] {
  position: absolute;
  bottom: 98px;
  right: 95px;
  width: 88px;
  height: 90px;
  text-align: center;
  padding: 35px 22px ! important;
  border-radius: 50%;
  font-weight: bold;
  cursor:pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#edit-length-short:checked + label[for="edit-length-short"] {
  background-color: #F6AD3F;
  color: #fff;
}

#edit-length-short--2:checked + label[for="edit-length-short--2"] {
  background-color: #F6AD3F;
  color: #fff;
}

#edit-length-long:checked + label[for="edit-length-long"] {
  background-color: #EDE361;
  color: #fff;
}

#edit-length-long--2:checked + label[for="edit-length-long--2"] {
  background-color: #EDE361;
  color: #fff;
}

/* First Letter */

.form-item-first-letter{
  margin: 0px !important;
}

#edit-container-01, #edit-container-01--2{
  min-height: 412px;
  background-image: url('/sites/default/files/images/babynamegenerator/first-letter.jpg');
  background-repeat: no-repeat ! important;
  background-position: center center;
  background-size: contain;
  position: relative;
  max-width: 310px;
  margin: auto;
}

#edit-container-03, #edit-container-03--2{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: absolute;
  top: 132px;
  left: 28px;
}

#edit-container-01 input[type="radio"], #edit-container-01--2 input[type="radio"] {
  display: none;
}

#edit-container-01 label{
  margin: 3px 11px ! important;
  width: 25px;
  padding: 2px;
  text-align: center;
  border-radius: 50px;
  border: 1px solid blue;
  font-weight: bold;
  background-color: transparent;
  cursor:pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#edit-container-01--2 label{
  margin: 3px 11px ! important;
  width: 25px;
  padding: 2px;
  text-align: center;
  border-radius: 50px;
  border: 1px solid blue;
  font-weight: bold;
  background-color: transparent;
  cursor:pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

#edit-container-01 input[type="radio"]:checked + label {
  background-color: green;
  border: 1px solid green;
  color: #fff;
}

#edit-container-01--2 input[type="radio"]:checked + label {
  background-color: green;
  border: 1px solid green;
  color: #fff;
}