/*CSS HANDLER */
#userPanel.dropdownList {
  right: 0px;
}

#loginbox fieldset label[for="login_username"],
#loginbox fieldset label[for="login_password"] {
  overflow: hidden;
  display: inline-block;
}

#loginbox label > span {
  position: relative;
  float: left;
  padding-left: 25px;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: 0em;
  text-align: left;
  color: var(--border-main9);
}

#loginbox label > span img {
  width: 22px;
}

#loginbox,
#user_requests {
  display: flex;
  width: 291px;
  height: 40px;
  justify-content: center;
  text-align: center;
  margin-left: 50px;
}

#user_requests {
  position: absolute;
  bottom: 0;
}

.submit_pass button {
  width: 249px;
  height: 35px;
  background: var(--table_row);
  border: 2px solid var(--border-main) !important;
  color: var(--bg_text);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0em;
  text-align: center;
  border-radius: 5px !important;
  margin: 5px 0;
}

.popUpLogin {
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 395px;
  height: 336px;
  background: var(--bgColor2);
  border-radius: 12px;
  border: 2px solid var(--border-main);
  cursor: pointer;
  padding-top: 90px;
}

.popUpLogin input {
  width: 249px;
  height: 30px;
  border: none;
  border-bottom: 2px solid var(--border-main) !important;
  color: var(--bg_text);
  background: transparent;
  padding-left: 5px;
  font-size: 14px;
  appearance: none;
  background-image: linear-gradient(to right, transparent, transparent),
    linear-gradient(to top, transparent, transparent);
  background-origin: border-box;
  background-clip: content-box, border-box;
  caret-color: var(--bg_text);
}

.popUpLogin input::selection,
.popUpLogin input:-webkit-autofill,
.popUpLogin input:-webkit-autofill:hover,
.popUpLogin input:-webkit-autofill:focus,
.popUpLogin input:-webkit-autofill:active {
  background-color: var(--table_header) !important;
  box-shadow: 0 0 0px 1000px var(--bgColor2) inset !important;
  border: none !important;
  -webkit-text-fill-color: var(--bg_text) !important;
  border-bottom: 2px solid var(--border-main) !important;
  text-shadow: none;
}

.popUpLogin legend {
  color: var(--textColor);
  font-size: 20px;
  font-weight: 500;
  margin-top: -50px;
}

.popUpLogin legend:after {
  content: " ";
  display: inline-block;
  height: 2px;
  left: 158px;
  top: 60px;
  position: absolute;
  width: 75px;
  background: var(--border-main);
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9;
  cursor: pointer;
}

.closeLoginPopUp {
  float: right;
  margin-top: -90px;
  margin-right: 4px;
  background: transparent;
  font-size: 16px !important;
}

.closeLoginPopUp::before {
  content: url(/res/Client/img/header_footer/cancel.svg);
}

#req_pwd {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: 0em;
  color: var(--textColor) !important;
}

@media (max-width: 991px) {
  .popUpLogin {
    width: 355px;
    padding-top: 80px;
  }

  .closeLoginPopUp {
    margin-top: -80px;
  }

  .popUpLogin legend:after {
    content: " ";
    display: inline-block;
    height: 1.8px;
    left: 137px;
    top: 55px;
    position: absolute;
    width: 75px;
    background: var(--border-main);
  }

  #loginbox,
  #user_requests {
    margin: 0 30px;
  }

  .closeLoginPopUp {
    font-size: 14px !important;
  }
}
