
* {
  margin: 0;
  padding: 0;
  font-family: "Adobe Hebrew", sans-serif;
}

.body-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #232931;
}

.nav-bar-container {
  position: sticky;
  top: 0;
  padding: 0.25rem 0 0.25rem 0.5rem;
  width: 100%;
  display: flex;
  background-color: #EEEEEE;
}

.nav-bar-container img {
    width: 130px;
    height: auto;
}

.sign-container {
  margin: 1rem;
  width: 100%;
  height: calc(100vh - 2rem - 35px);
  top: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign-wrapper {
  position: relative;
  width: 250px;
  border-radius: 1.2rem;
  color: #646464;
  background-color: #ffffff;
}

.sign-btns-wrapper {
  width: 100%;
  min-height: 50px;
  height: 3vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sign-in {
  border-top-left-radius: 1.2rem;
  font-size: 1.2rem;
}

.sign-up {
  border-top-right-radius: 1.2rem;
  font-size: 1.2rem;
}

.sign-btn-container {
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign-btn-container:hover {
  background-color: rgba(204, 204, 204, 0.95);
}

.sign-btn-container label{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sign-in-up-radio-btns {
  visibility: hidden;
  width: 0;
}

.form-heading {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #646464;
}

.form-div-sign-in-container {
  /*display: none;*/
  margin: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-div-sign-in-container form {
  margin: 0;
  width: 100%;
}

.form-div-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text-fields {
  position: relative;
  width: 100%;
  height: 40px;
  /*overflow: hidden;*/
}

.text-fields input[type="text"] {
  display: block;
  width: calc(100% - 30px);
  padding: 15px;
  border: 0;
  outline: 0;
  -webkit-appearance: none;
  transition: 0.3s;
}

.text-fields input[type="password"] {
  display: block;
  width: calc(100% - 30px);
  padding: 15px;
  border: 0;
  outline: 0;
  -webkit-appearance: none;
  transition: 0.3s;
}

.text-fields input[type="text"]:focus {
  background: rgba(234, 234, 234, 0.95);
}

.text-fields input[type="password"]:focus {
  background: rgba(234, 234, 234, 0.95);
}

.form-div-sign-up-container {
  display: none;
  margin: 0;
  width: 100%;
  /*display: flex;*/
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-div-sign-up-container form {
  margin: 0;
  width: 100%;
}

.date {
  width: 100%;
  display: flex;
  justify-content: stretch;
  /*overflow: hidden;*/
  color: #777777;
  background-color: rgba(255,255,255, 1);
}

.date > span {
  padding: 15px;
  max-width: 57px;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.date label{
  width: calc(100% - 57px);
}

.date input{
  display: block;
  letter-spacing: 0.5rem;
  width: 100%;
  justify-self: stretch;
  padding: 15px;
  border: 0;
  outline: 0;
  -webkit-appearance: none;
  transition: 0.3s;
}

.gender {
  width: 100%;
  display: flex;
  justify-content: stretch;
  /*overflow: hidden;*/
  color: #777777;
  background-color: rgba(255,255,255, 1);
}

.gender > span {
  padding: 15px;
  max-width: 57px;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gender-radio-btns {
  width: calc(100% - 57px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.gender-radio-btns label {
  flex-grow: 1;
  flex-basis: 0;
  padding-bottom: 10px;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gender-radio-btns label:hover {
  background-color: rgba(238, 238, 238, 0.5);
  /*background-color: rgba(22, 126, 86, 0.8);*/
}

.gender-radio-btns input:checked + label {
  color: #ffffff;
  background-color: rgba(180, 175, 175, 0.5);
  /*background-color: rgba(15, 89, 60, 0.8);*/
}

.gender-radio-btns input {
  visibility: hidden;
  width: 0;
}

.text-fields > label {
  position: relative;
  width: 100%;
  height: 100%;
}


#location-class-id label .location-dropdown-content {
  position: absolute;
  width: 180px;
  margin: 0;
  padding: 0;
  top: -40px;
  /*right: 0;*/
  /*bottom: 0;*/
  left: 70px;
  border-bottom-left-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  background-color: #e0e0e0;
  overflow: hidden;
}

#location-class-id:hover .location-dropdown-content {
  display: flex;
}

.location-dropdown-content .location-dropdown-label {
  width: 100%;
  height: 30px;
  font-size: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.location-dropdown-label:hover {
  background-color: #444444;
  color: #e0e0e0;
}

.text-fields > label > i {
  display: none;
  position: absolute;
  top: calc((100% - 2rem) / 2);
  right: -2rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.5rem;
  /*display: flex;*/
  justify-content: center;
  align-items: center;
}

#message-check {
  color: #167e56;
}

#message-cross {
  color: indianred;
}


.text-field-sign-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 30px);
  padding: 15px;
  -webkit-appearance: none;
  /*color: white;*/
  /*background-color: #ABA194;*/
  background-color: rgba(22, 126, 86, 1);
  border-bottom-left-radius: 1.2rem;
  border-bottom-right-radius: 1.2rem;
  transition: 0.3s;
}

.text-field-sign-btn:hover {
  /*background-color: #8A8278FF;*/
  background-color: rgba(15, 89, 60, 1);
  cursor: pointer;
}

.text-field-sign-btn button {
  background: transparent;
  width: 100%;
  height: 100%;
  outline: 0 transparent;
  border: 0 transparent;
  font-family: "Adobe Hebrew", sans-serif;
  font-size: 1rem;
  color: #EEEEEE;
}

.text-fields label .error-tooltip {
  position: absolute;
  top: -1.75rem;
  padding: 0.2rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #EEEEEE;
  border: 0.05rem solid black;
  border-radius: 0.5rem;
  color: #12121f;
  box-shadow: 0 3px 10px 0 rgba(0,0,0,0.4);
  z-index: 1000;
}

.text-fields label .error-tooltip i {
  position: relative;
  padding: 0 0.1rem;
  font-size: 1rem;
  color: #ef9a44;
}

.text-fields label .error-tooltip span {
  font-family: 'Quicksand', sans-serif;
  position: relative;
  max-width: 9rem;
  padding: 0 0.1rem;
  font-size: 0.75rem;
}

.text-fields label .error-tooltip::after {
  content: " ";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
  z-index: 1;
}

.sign-out-wrapper {
  width: 250px;
  border-radius: 1.2rem;
  color: #646464;
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sign-out-label-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
}

.sign-out-label-container label {
  margin: 0.5rem;
  font-size: 1.2rem;
}

.sign-out-warning-message {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

.sign-out-warning-message label {
  margin: 0.5rem;
  font-size: 1rem;
  color: indianred;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sign-out-wrapper a {
  margin: 0.5rem;
}

@media (min-width:420px) {

  .nav-bar-container img {
    width: 150px;
    height: auto;
  }

  .sign-wrapper, .sign-out-wrapper {
    width: 320px;
  }

  .sign-in, .sign-up, .sign-out-label-container label {
    font-size: 1.3rem;
  }

  .sign-out-warning-message label {
    font-size: 1.1rem;
  }

  .form-heading{
    font-size: 1.2rem;
  }

  .text-fields {
  height: 50px;
}

  .text-fields input[type="text"], .text-fields input[type="password"] {
    font-size: 1rem;
  }

  .gender, .gender span, .date, .date span {
    font-size: 1rem;
  }

  .gender-radio-btns label {
  padding-bottom: 15px;
  padding-top: 15px;
}

  #location-class-id label .location-dropdown-content {
  width: 220px;
  top: -40px;
  left: 100px;
}

  .location-dropdown-content .location-dropdown-label {
    font-size: 1rem;
  }

  .text-fields label > i {
  right: -3rem;
}

  .text-fields label > .error-tooltip > span {
  max-width: 12rem;
  font-size: 0.85rem;
}

  .text-field-sign-btn {
    font-size: 1rem;
  }

  .text-field-sign-btn button {
  font-size: 1.25rem;
}

}

@media (min-width:481px) {
  /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */

  .nav-bar-container img {
    width: 200px;
    height: auto;
  }

  .sign-wrapper, .sign-out-wrapper {
    width: 380px;
  }

  .sign-in, .sign-up, .sign-out-label-container label {
    font-size: 1.4rem;
  }

  .sign-out-warning-message label {
    font-size: 1.25rem;
  }

  .form-heading {
    font-size: 1.5rem;
  }

  .text-fields {
  height: auto;
}

  .text-fields input[type="text"], .text-fields input[type="password"] {
    font-size: 1.2rem;
  }

  .gender, .gender span, .date, .date span {
    font-size: 1.2rem;
  }

  #location-class-id > label > .location-dropdown-content {
  width: 280px;
  top: -40px;
  left: 100px;
}

  .location-dropdown-content .location-dropdown-label {
    height: 35px;
    font-size: 1.15rem;
  }

    .text-fields label > .error-tooltip > span {
  max-width: none;
  font-size: 1rem;
}

  .text-field-sign-btn {
    font-size: 1.3rem;
  }

}


@media (min-width: 680px) {
  .sign-wrapper, .sign-out-wrapper {
    width: 450px;
  }

  #location-class-id > label > .location-dropdown-content {
    width: 350px;
  }

  .location-dropdown-content .location-dropdown-label {
    height: 40px;
    font-size: 1.25rem;
  }

}