label.required-fail,
p.required-fail {
    color: red;
}
input.required-fail,
select.required-fail,
.dropdown.bootstrap-select.required-fail {
    border: solid 1px red;
    --tw-ring-color: red;
}

input:focus,
.bootstrap-select .dropdown-toggle:focus {
  outline-color: #4c7215!important;
}

.alert-danger {
    color: red;
    width: 100%;
    border: solid 1px red;
    border-radius: 5px;
    background-color:#ffe2e2;
    padding: 10px;
    margin-top: 10px;
    display: none;
}
.container {
    width: 100vw;
    height: 100vh;
    display:none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.7);
    z-index: 1;
    position: absolute;
    &:hover {
      cursor: pointer;
      .cradle-wrap {
        .sphere {
          background: #F2CE14;
        }
        &:first-child {
          transform: rotate(120deg);
          .sphere {
            background: #60BB46;
          }
        }
        &:last-child {
          transform: rotate(240deg);
          .sphere {
            background: #ac0101;
          }
        }
      }
    }
  }
  .cradle-wrap {
    position: absolute;
    &:first-child {
      transform: rotate(120deg);
    }
    &:last-child {
      transform: rotate(240deg);
    }
  }
  .cradle {
    margin: 0 auto;
    width: 175px;
    height: 50px;
    position: relative;
    animation-name: turn;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-delay: 0;
    animation-iteration-count: infinite;
  }
  .sphere {
    background: #333;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    position: absolute;
    top: 0px;
    animation-name: slide;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-delay: 0;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-play-state: running;
    transition: background 0.3s ease;
  }

  .lang-selector {
    justify-content: end;
    display: none;
  }

  .header {
    border-top: none;
  }

  .dropdown.bootstrap-select {
    width: 100% !important;
    padding: 2px;
  }

  .btn-default {
    border: none !important;
  }

  html {
    font-family: unset !important;;
    -webkit-text-size-adjust: unset !important;;
    font-size: unset !important;
  }

  @keyframes slide {
      0% {left: 0px; width: 50px; height: 50px; opacity: 1;}
      100% {left: 150px; top: 12px; width: 25px; height: 25px; opacity: 0.2;}
  }
  @keyframes turn {
      0% {transform: rotate(0deg);}
      100% {transform: rotate(360deg);}
  }

 /* reordering to have placeholder beside birth year */

 form div.grid div:nth-child(1) {
  order: 1;
 }

 form div.grid div:nth-child(10) {
  order: 2;
 }

 form div.grid div:nth-child(2) {
  order: 3;
 }

 form div.grid div:nth-child(3) {
  order: 4;
 }

 form div.grid div:nth-child(4) {
  order: 5;
 }

 form div.grid div:nth-child(5) {
  order: 6;
 }

 form div.grid div:nth-child(6) {
  order: 7;
 }

 form div.grid div:nth-child(7) {
  order: 8;
 }

 form div.grid div:nth-child(8) {
  order: 9;
 }

 form div.grid div:nth-child(9) {
  order: 10;
 }

 form div.grid div:nth-child(11) {
  order: 11;
 }