/**** MAIN HEADER ****/
.main_header {
  padding-top: 32px;
  @media only screen and (min-width: 990px) {
    padding-top: 50px;
  }
}
.inner_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ---- RIGHT PART ---- */
.main_header .right_part {
  gap: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media only screen and (min-width: 990px) {
  .main_header .right_part {
    width: 75%;
  }
}
/* ---- LOGO ---- */
.logo img {
  width: 100%;
  height: auto;
  display: block;
}
/* ---- MENU MODAL ---- */
/* .menu_modal {
  display: none;
} */
/* .menu_icon {
  display: none;
} */
@media only screen and (max-width: 990px) {
  .menu_modal {
    top: 0;
    right: 0;
    z-index: 9;
    opacity: 0;
    width: 100%;
    height: 100vh;
    position: fixed;
    visibility: hidden;
    backdrop-filter: blur(8px);
    transition: 0.3s ease-in-out;
    background: rgba(0, 0, 0, 0.5);
  }
}
@media only screen and (min-width: 990px) {
  .menu_modal {
    padding-left: 12px;
    width: 100%;
  }
}
/* ---- MENU MOBILE ---- */
.close_menu_button {
  width: 100%;
  border: none;
  display: flex;
  cursor: pointer;
  padding: 0 0 16px 0;
  margin-bottom: 8px;
  background: transparent;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
}
.close_menu_button svg {
  fill: #00935e;
}
@media only screen and (min-width: 990px) {
  .close_menu_button {
    display: none;
  }
}
@media only screen and (max-width: 990px) {
  .main_menu {
    width: 57%;
    height: 100vh;
    margin: 0 auto 0 0;
    padding: 16px 24px;
    background-color: #f2f2f8d1;
  }
  .nav_toggle {
    display: flex;
    flex-direction: column;
  }
  .nav_toggle li {
    margin-bottom: 8px;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
  }
  .nav_toggle li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .submenu_icon {
    left: 0;
    top: 2px;
    stroke: #00935e;
    position: absolute;
  }
  .nav_toggle span {
    display: block;
    font-size: 0.8rem;
    font-family: "Estedad_medium";
  }
}
/* ---- MENU DESKTOP ---- */
@media only screen and (min-width: 990px) {
  .nav_toggle {
    gap: 12px;
    display: flex;
    padding-right: 150px;
    align-items: center;
    justify-content: start;
  }
  .nav_toggle li {
    position: relative;
  }
  .nav_toggle span , .nav_toggle a {
    color: #53525c;
    font-size: 0.813rem;
    transition: 0.3s ease-in-out;
  }
  .nav_toggle li:hover a {
    color: #08080b;
  }
  .nav_toggle li:hover .submenu_icon {
    stroke: #08080b;
  }
}
/* ---- SUB_MENU MOBILE ---- */
@media only screen and (max-width: 990px) {
  .sub_menu {
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0ms ease-in 0ms;
  }
  .show_sub_menu {
    width: 100%;
    opacity: 1;
    height: auto;
    padding: 8px;
    border-radius: 8px;
    visibility: visible;
    margin: 16px auto 8px auto;
    background-color: #e0e0e0;
    box-shadow: 0px 0px 15px 0px rgba(171, 177, 172, 0.75);
    -moz-box-shadow: 0px 0px 15px 0px rgba(171, 177, 172, 0.75);
    -webkit-box-shadow: 0px 0px 15px 0px rgba(171, 177, 172, 0.75);
  }
  .sub_menu a {
    color: #333232;
    font-size: 0.78rem;
    font-family: "Estedad";
  }
}
/* ---- SUB_MENU DESKTOP ---- */
@media only screen and (min-width: 990px) {
  .nav_toggle li:hover .sub_menu {
    top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: visible;
  }

  .sub_menu {
    top: 100px;
    opacity: 0;
    width: 200px;
    padding-top: 43px;
    position: absolute;
    visibility: hidden;
    border-radius: 8px;
    pointer-events: none;
    transition: 0.5s all;
    left: calc(46% - 5.5em);
  }
  .sub_menu a {
    display: block;
    font-size: 0.8rem;
  }
  .submenu_icon {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    stroke: #767676;
    vertical-align: middle;
    transition: 0.3s ease-in-out;
  }
  .sub_menu::before {
    left: 50%;
    top: 33px;
    content: "";
    display: block;
    color: #fff;
    position: absolute;
    margin-left: -10px;
    border-style: solid;
    border-width: 0 0 10px;
    border-left: solid 10px transparent;
    border-right: solid 10px transparent;
  }

  .sub_menu li:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    /* box-shadow: 0px -9px 32px -2px rgba(223, 223, 223, 0.75);
    -moz-box-shadow: 0px -9px 32px -2px rgba(223, 223, 223, 0.75);
    -webkit-box-shadow: 0px -9px 32px -2px rgba(223, 223, 223, 0.75); */
  }

  .sub_menu li:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .sub_menu li {
    padding: 8px;
    background-color: #fff;
    backdrop-filter: blur(8px);
    transition: 0.3s ease-in-out;
    box-shadow: 0px 3px 12px -2px rgb(201 201 201 / 75%);
    -moz-box-shadow: 0px 3px 12px -2px rgb(201 201 201 / 75%);
    -webkit-box-shadow: 0px 3px 12px -2px rgb(201 201 201 / 75%);
  }

  .sub_menu li:hover {
    background-color: #eee;
  }
}
/* ---- LEFT PART ----*/
.main_header .left_part {
  gap: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
}
@media only screen and (min-width: 990px) {
  .main_header .left_part {
    gap: 20px;
    width: 290px;
    display: flex;
    align-items: center;
    flex-direction: row;
  }
}
/* ---- NUMBER ----*/
.number {
  @media only screen and (max-width: 360px) {
    display: none;
  }
}
.number a {
  gap: 8px;
  display: flex;
  direction: ltr;
  font-size: 0.9rem;
  align-items: center;
  flex-direction: row-reverse;
  transition: 0.3s ease-in-out;
  font-family: "Estedad_medium";
}
.number .green_text {
  padding: 0 2px;
}
.number svg {
  stroke: #08080b;
  transition: 0.3s ease-in-out;
}
.number:hover svg {
  stroke: #00935e;
}
.number:hover a {
  color: #00935e;
}
/* ---- ACCOUNT ----*/
.account {
  display: flex;
  padding: 4px 16px;
  border-radius: 8px;
  font-size: 0.813rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  transition: 0.3s ease-in-out;
  font-family: "Estedad_medium";
}
@media only screen and (min-width: 990px) {
  .account {
    padding: 0;
    width: 144px;
    height: 47px;
    border-radius: 14px;
  }
}
.account:hover {
  color: #00935e;
  border-color: #00935e;
  background-color: #eaeaea;
}

/* ---- mobile_account ----*/
.mobile_account {
  display: flex;
  padding: 4px 16px;
  border-radius: 8px;
  font-size: 0.813rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #00935e;
  transition: 0.3s ease-in-out;
  font-family: "Estedad_medium";
  background-color: #eaeaea;
  color: #00935e;
  margin-top: 40px;
}
