body {
  margin: 0;
}

* {
  font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
  /* display: none; */
}

html {
  margin-top: 0 !important;
}

*:disabled,
.fieldset--disabled {
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
}

#avinet-login,
#admin-login,
#avinet-login-step2 {
  background-color: white;
  width: 100%;
  max-width: 900px;
  padding: 80px 50px;
  border-radius: 20px;
  margin-top: 40px;
}

#avinet-login * {
  font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
}

#login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-form {
  display: flex;
  /* align-items: center; */
  flex-direction: column;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
}

.form-message {
  padding: 20px;
  border: 1px solid black;
  white-space: pre-line;
}

.form-message p {
  padding-bottom: 0;
}

#form-logo {
  width: 100%;
  max-width: 550px;
  height: auto;
}

.form-logo__container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 70px;
  width: 100%;
}

#login-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

  box-sizing: content-box;
  background: white;
}

.login-form__buttons {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.login-form__btn {
  font-size: 26px;
  background: none;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  color: #58595b;
  cursor: pointer;
  padding: 0;
}

.login-form__btn--active {
  color: black;
}

.login-form__btn--active::after {
  content: "";
  width: 100%;
  height: 2px;
  background: #4ce6e6;
  display: block;
}

.login-form__forms {
  max-width: 550px;
  width: 100%;
}

.form-link {
  font-size: 18px;
  background: transparent;
  /* color: gray; */
  color: #58595b;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid #4ce6e6;
  padding: 0;
  width: fit-content;
}

.form-link--bold {
  font-weight: bold;
}

.form-instructions {
  display: none;
}

.instructions-list {
  list-style: decimal;
}

.instructions-list li {
  margin-left: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
  position: relative;
}

.form-message {
  padding: 20px;
  border: 1px solid black;
}

.form-row .bold-label {
  font-weight: 700;
}

.form-message p {
  padding-bottom: 0;
}

.form-row textarea {
  color: #4e4e4e;
  margin: 0;
  font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
  box-sizing: border-box;
  font-size: 15px;
  margin-bottom: 0;
  margin-top: 0;
  background-color: #ffff;
  border: 1px solid #58595b;
  padding: 20px;
  width: 100%;
  height: 192px;
}

.form-button {
  font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
  box-sizing: border-box;
  margin-bottom: 8px;
  background: #0c5c66;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: 0px solid #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 30px;
  transition: all 0.5s ease;
  width: fit-content;
  cursor: pointer;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row input[type="email"] {
  font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
  color: #4e4e4e;
  box-sizing: border-box;
  max-width: 100%;
  font-size: 15px;
  margin-bottom: 0;
  margin-top: 0;
  background-color: #ffff;
  padding: 0 20px;
  height: 40px;
  border: 1px solid #58595b;
  width: 100%;
}

.hide-password {
  height: 30px;
  width: 30px;
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
}

.hide-password img {
  display: block;
  height: 100%;
  width: 100%;
}

#contact_phone_val {
  display: none;
}

.form-full-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.form-row input[type="checkbox"] {
  transform: scale(1.5);
  padding: 10px;
  margin-top: 6px;
  margin-right: 10px;
  cursor: pointer;
}

.form-row input {
  margin: 0;
}

.form-row select,
.select-inner {
  padding: 1rem;
  border-radius: 15px;
  appearance: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  border: 1px solid #bbb;
}


.form-row select option {
  display: none;
}

.form-row select:focus,
.select-inner--active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.form-row--select select:focus + .select-dropdown,
.select-dropdown:active,
.select-inner--active + .select-dropdown {
  background: white;
  opacity: 1;
  pointer-events: all;
  overflow: hidden;
  z-index: 9999;
}

.select-container {
  width: 100%;
}

.select-container::after {
  content: "";
  background-image: url("/wp-content/themes/Divi-Child/images/icons8-expand-arrow-50.png");
  background-repeat: no-repeat;
  background-size: 20px;
  display: block;
  position: absolute;
  right: 1rem;
  top: 1rem;
  height: 20px;
  width: 20px;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
}

.form-full-label input[type="checkbox"] {
  margin-right: 0;
}

.select-dropdown {
  /* visibility: hidden; */
  pointer-events: none;
  opacity: 0;
  width: 100%;
  border: 1px solid #bbb;
  border-radius: 15px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  position: absolute;
  background: white;
}

.select-dropdown li {
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

.select-dropdown li:hover {
  background: #bbb;
}

.select-dropdown li button {
  height: 100%;
  width: 100%;
  padding: 1rem;
  background: none;
  border: 0;
  text-align: left;
  font-size: inherit;
  cursor: pointer;
}
.select-dropdown li:not(:first-child) {
  border-top: 1px solid #bbb;
}

@media all and (max-width: 1068px) {
  .form-instructions {
    display: block;
  }
}
