#save:hover,
#cancel:hover {
  background-color: var(--color90);
}

#form {
  flex-direction: column;
  background-color: var(--white);
  width: 100%;
  max-height: 100%;
}

fieldset {
  border: none;
}

fieldset:disabled input,
fieldset:disabled textarea {
  color: var(--black);
  opacity: 1;
  cursor: text;
}

.inputbox {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: row;
  font-size: 1.2rem;
  height: 56px;
  text-align: top;
  margin-bottom: 2px;
}

.white {
  background-color: var(--white);
}

.rowbox {
  display: flex;
  flex-direction: row;
  height: fit-content;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 5px;
}

.rowboxbig {
  display: flex;
  flex-direction: row;
  padding-bottom: 5px;
  margin-top: 3px;
  height: auto;
  min-height: 200px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  font-size: 1.2rem;
  height: 100%;
  width: 100%;
  padding-left: 12px;
  font-weight: 400;
  border: 0;
  background-color: var(--color96);

  background-image: url("/icn/chevrondown.svg");
  background-repeat: no-repeat;
  background-position: right 20px center;
}

select:focus {
  outline: none;
  border: 1px solid var(--color50);
}

::placeholder {
  color: var(--color50);
  opacity: 1;
  /* Firefox */
}

input:-internal-autofill-selected {
  color: var(--color50) !important;
}

input:not(.login),
textarea {
  display: inline-block;
  box-sizing: border-box;
  font-size: 1rem;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  font-weight: 400;
  border: 0;
  background-color: var(--color96);
  color: var(--black)
}

textarea {
  padding-top: 10px;
  min-height: 200px;
  resize: vertical;
}

label {
  display: inherit;
  width: 120px;
  font-size: 1rem;
  justify-content: flex-end;
  font-weight: 400;
  padding-right: 10px;
  line-height: 42px;
}

.areabox label {
  display: inherit;
  width: 100px;
  font-size: 1rem;
  justify-content: flex-end;
  font-weight: 300;
  padding-right: 10px;
  padding-top: 10px;
}

textarea:focus,
input:focus {
  outline: none;
  background-color: var(--color97);
  border-left: 3px solid var(--color50);
}

.hide {
  display: none;
  height: 42px;
}

#edit:hover,
#save:hover {
  background-color: var(--color90);
}

#cancel:hover {
  background-color: var(--color90);
}

input:-webkit-autofill:hover,
input:-webkit-autofill:active,
input:-webkit-autofill:focus,
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px var(--color97) inset !important;
}

.login_box {
  width: 480px;
  height: fit-content;
  background: #fff;
 /* box-shadow: 0 24px 64px #999; */
  margin-top: 75px;
  border-radius: 12px;
  padding: 30px;
  position: relative;
}

.login_box h2 {
  padding: 0;
  color: var(--black);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 15px;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

input {
  max-width: 100%;
  height: 42px;
  padding-left: 20px;
  font-size: 16px;
  color: var(--black);
  margin-bottom: 15px;
  border-radius: 10px;
}

button {
  display: inline-block;
  background-color: var(--color60);
  border: none;
  padding: 0px 20px 0px 20px;
  height: 48px;
  width: -moz-fit-content;
  width: fit-content;
  line-height: 48px;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  margin-bottom: 15px;
}

.login_box button {
  display: block;
  background-color: indigo;
  color: white;
  border: none;
  padding: 0px 40px 0px 40px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 21px;
  justify-content: center;
}

/* form styling for small screens */
@media screen and (max-width: 700px) {

  .rowchk,
  .rowbox,
  .rowboxbig {
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    align-items: start;
    margin-top: 10px;
  }

  select {
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
    padding: 15px;
  }

  input {
    height: 42px;
    margin-top: 5px;
  }

  .rowbox {
    height: fit-content;
    margin-top: 5px;
  }

  textarea {
    margin-top: 5px;
  }

  .rowbox label,
  .rowboxbig label {
    justify-content: flex-start;
    text-align: left;
    width: auto;
    font-size: 0.8rem;
    height: 20px;
    padding-top: 0px;
    line-height: 0.8rem;
  }

  label[for='submit'] {
    width: 100%;
    padding: 0;
    height: 42px;
    font-size: 1rem;
    border: none;
    background-color: var(--color90);
    color: var(--bg);
    display: flex;
    justify-content: center;
    line-height: 42px;
  }
}