/* Account UI: login/register page layout and header user-menu icons. */

/* Grid (login/register layout) */
.lm-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.lm-col-1 { width: 8.3333333333%; }
.lm-col-2 { width: 16.6666666667%; }
.lm-col-3 { width: 25%; }
.lm-col-4 { width: 33.3333333333%; }
.lm-col-5 { width: 41.6666666667%; }
.lm-col-6 { width: 50%; }
.lm-col-7 { width: 58.3333333333%; }
.lm-col-8 { width: 66.6666666667%; }
.lm-col-9 { width: 75%; }
.lm-col-10 { width: 83.3333333333%; }
.lm-col-11 { width: 91.6666666667%; }
.lm-col-12 { width: 100%; }

.lm-text_center {
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .lm-col-lg-1 { width: 8.3333333333%; }
  .lm-col-lg-2 { width: 16.6666666667%; }
  .lm-col-lg-3 { width: 25%; }
  .lm-col-lg-4 { width: 33.3333333333%; }
  .lm-col-lg-5 { width: 41.6666666667%; }
  .lm-col-lg-6 { width: 50%; }
  .lm-col-lg-7 { width: 58.3333333333%; }
  .lm-col-lg-8 { width: 66.6666666667%; }
  .lm-col-lg-9 { width: 75%; }
  .lm-col-lg-10 { width: 83.3333333333%; }
  .lm-col-lg-11 { width: 91.6666666667%; }
  .lm-col-lg-12 { width: 100%; }
}

@media screen and (max-width: 1024px) {
  .lm-col-md-1 { width: 8.3333333333%; }
  .lm-col-md-2 { width: 16.6666666667%; }
  .lm-col-md-3 { width: 25%; }
  .lm-col-md-4 { width: 33.3333333333%; }
  .lm-col-md-5 { width: 41.6666666667%; }
  .lm-col-md-6 { width: 50%; }
  .lm-col-md-7 { width: 58.3333333333%; }
  .lm-col-md-8 { width: 66.6666666667%; }
  .lm-col-md-9 { width: 75%; }
  .lm-col-md-10 { width: 83.3333333333%; }
  .lm-col-md-11 { width: 91.6666666667%; }
  .lm-col-md-12 { width: 100%; }
}

@media screen and (max-width: 768px) {
  .lm-col-sm-1 { width: 8.3333333333%; }
  .lm-col-sm-2 { width: 16.6666666667%; }
  .lm-col-sm-3 { width: 25%; }
  .lm-col-sm-4 { width: 33.3333333333%; }
  .lm-col-sm-5 { width: 41.6666666667%; }
  .lm-col-sm-6 { width: 50%; }
  .lm-col-sm-7 { width: 58.3333333333%; }
  .lm-col-sm-8 { width: 66.6666666667%; }
  .lm-col-sm-9 { width: 75%; }
  .lm-col-sm-10 { width: 83.3333333333%; }
  .lm-col-sm-11 { width: 91.6666666667%; }
  .lm-col-sm-12 { width: 100%; }
}

@media screen and (max-width: 500px) {
  .lm-col-xsm-1 { width: 8.3333333333%; }
  .lm-col-xsm-2 { width: 16.6666666667%; }
  .lm-col-xsm-3 { width: 25%; }
  .lm-col-xsm-4 { width: 33.3333333333%; }
  .lm-col-xsm-5 { width: 41.6666666667%; }
  .lm-col-xsm-6 { width: 50%; }
  .lm-col-xsm-7 { width: 58.3333333333%; }
  .lm-col-xsm-8 { width: 66.6666666667%; }
  .lm-col-xsm-9 { width: 75%; }
  .lm-col-xsm-10 { width: 83.3333333333%; }
  .lm-col-xsm-11 { width: 91.6666666667%; }
  .lm-col-xsm-12 { width: 100%; }
}

/* Header user menu (menu item CSS classes are set in Appearance → Menus) */
.xoo-el-username-menu img.avatar,
.xoo-el-firstname-menu img.avatar {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  padding: 4px;
}

.lamoud_icon_after a span {
  padding-right: 12px !important;
}

.lamoud_tosee_icon:before,
.lamoud_logout_icon:before,
.az_upload_icon::before,
.lamoud_icon_heart:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 10px;
  left: 0;
  padding: 0 8px;
}

.az_upload_icon:before {
  content: "\f574";
}

.lamoud_tosee_icon:before {
  content: "\f02e";
}

.lamoud_logout_icon:before {
  content: "\f2f5";
}

.lamoud_icon_heart:before {
  content: "\f004";
}

.lamoud_icon_after:after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid;
  border-top: 2px solid;
  position: absolute;
  top: 16px;
  right: 0;
  margin: 0 8px;
  transform: rotate(400deg);
}

ul.sub-menu {
  margin-top: 5px !important;
}

.lamoud_icon_after :hover {
  color: #fff !important;
}

.lamoud_custom_login_btn {
  position: absolute;
}

.lamoud_custom_login_btn > a {
  color: #fff !important;
}

.lamoud_custom_login_btn:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: "\f406";
  position: absolute;
  top: 0px;
  right: 0;
  padding: 0 10px;
  font-size: 20px;
  color: #fff;
}

/* Login / register pages */
.lm-login-form-content {
  background: #fff;
  margin: 0;
  padding: 8px;
  padding-top: 40px;
  position: relative;
}

#lm-log-back {
  position: absolute;
  display: none;
  top: 5px;
  left: 5px;
  cursor: pointer;
  transition: 0.5s ease;
  color: #2bc48a;
}

#lm-log-back.active {
  display: block;
}

#lm-log-back:hover {
  color: #1d2327;
}

.lm-login-form-content .lm-login-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  padding: 0;
}

.lm-login-form-content .lm-login-header img {
  width: 50%;
}

.lm-login-content {
  margin: 16px 0;
  width: 100%;
}

.lm-login-content h3 {
  text-align: center;
}

.lm-log-social,
.lm-reg-email {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lm-reg-email form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lm-log-social.active,
.lm-reg-email.active {
  display: flex;
}

.lm-login-content input {
  width: 80%;
  box-shadow: inset 0 0 0 2px #e3e9ed;
  border: none;
  padding: 10px 8px;
  font-family: 'Cairo', sans-serif !important;
}

.lm-login-content .lm-submit-btn {
  font-size: 1rem;
  transition: .25s linear;
  border-radius: 3px;
  background-color: #2bc48a;
  color: #fff;
  cursor: pointer;
  border: none;
  outline: none;
  font-weight: bold;
}

.lm-login-content .lm-login-social-btn {
  width: 80%;
  padding: 12px 0;
  box-shadow: inset 0 0 0 2px #e3e9ed;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.5s ease;
}

.lm-login-social-btn a {
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  color: #374957;
}

.lm-login-social-btn i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lm-login-content .lm-login-social-btn:hover {
  background: #f8fafb;
}

.lm-img-content {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.lm-img-content img {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  object-fit: cover;
}

.lm-log-toggle {
  text-align: center;
  font-weight: bold;
  margin-top: 24px;
}

.lm-log-toggle a {
  text-decoration: none;
  color: #2bc48a;
  transition: .25s linear;
}

.lm-log-priv {
  text-align: center;
  color: black;
}

.lm-log-priv a {
  color: #2bc48a;
}

@media screen and (max-width: 1024px) {
  .lm-container {
    max-height: unset !important;
  }

  .lm-img-content {
    max-height: unset;
    min-height: unset;
  }
}
