#header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1031;
  transition: top 0.5s ease;
  background-color: var(--white);
  line-height: 1.6;
}

body:not(.page-template-template-modular, .header-scrolled) #header {
  box-shadow: 0px 1px 1px 0px #b1b1b138;
}

body.header-scrolled #header {
  box-shadow: 0px 1px 1px 0px #b1b1b138;
}

body.fast-search-desktop-open #header {
  /* position: relative; */
  z-index: 100000;
}

/* --------------------
    Notification bar
-------------------- */
.header-notif {
  background-color: var(--bg_light);
  padding: 14px 0;
  position: relative;
  z-index: 1032;
}

.header-notif-text {
  margin: 0;
  color: var(--white);
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  font-family: var(--main_font);
}

/* --------------------
    Main header
-------------------- */
/* #header > .container > .header-main-shell {
  padding: 28px 0 0;
} */

.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
}

.header-side {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-side--start {
  justify-content: flex-start;
  pointer-events: none;
}

.header-side--start > * {
  pointer-events: auto;
}

.header-side--end {
  justify-content: flex-end;
  gap: 0.5rem;
}

.header-logo {
  flex: 0 0 auto;
  max-width: 127px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--en_font);
  color: var(--text);
  font-size: 18px;
  font-family: var(--main_font);
  transition: 0.3s;
  line-height: 1;
}

.header-call-btn i {
  font-size: 20px;
  margin-top: -5px;
}

.header-call-btn:hover {
  color: var(--color1);
}

/* Desktop search in white header */
.header-search-desktop .search-by-json {
  background-color: transparent;
  height: auto;
  border-radius: 100vw;
  padding: 0;
  width: auto;
}

.header-search-desktop .search-by-json .input {
  gap: 8px;
}

.header-search-desktop .search-by-json .input input {
  color: var(--text);
  font-size: 14px;
  min-width: 240px;
  max-width: 300px;
  padding: 0;
}

.header-search-desktop .search-by-json .input input::placeholder {
  color: var(--text);
  font-size: 14px;
  font-variation-settings: "wght" 300;
}

.header-search-desktop .search-by-json .input .icon {
  color: var(--text);
  margin-left: 0;
  order: -1;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

/* --------------------
    Desktop menu (centered)
-------------------- */
.wrap-menu-top {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 13px;
  padding-bottom: 4px;
}

.wrap-menu-top .wrap-menu {
  width: auto;
  max-width: 100%;
}

.wrap-menu-top .websima-mega-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.wrap-menu-top .websima-mega-menu > li {
  padding: 0;
  float: none;
}

.wrap-menu-top .websima-mega-menu > li > a,
.wrap-menu-top .websima-mega-menu > li > span {
  margin: 0;
  padding: 12px 0;
  color: var(--bg_light);
  font-size: 15px;
  font-family: var(--main_font);
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.3s;
}

.wrap-menu-top .websima-mega-menu > li:hover > a,
.wrap-menu-top .websima-mega-menu > li:hover > span {
  color: var(--color1);
}

.wrap-menu-top .websima-mega-menu > .menu-item-has-children > a:after,
.wrap-menu-top .websima-mega-menu > .menu-item-has-children > span:after {
  font-size: 9px;
  margin-right: 5px;
  margin-left: 0;
  color: inherit;
}

.wrap-menu-top ul.header-menu-top > li > a {
  margin: 0;
  padding: 12px 0;
  position: relative;
  font-size: 15px;
  color: var(--bg_light);
  font-family: var(--main_font);
  transition: 0.3s;
}

.wrap-menu-top ul.header-menu-top > li > a:hover {
  color: var(--color1);
}

.mobile .icon-search {
  font-size: 24px;
}

.header-menu li a,
.header-menu-top li a {
  font-size: 15px;
  color: var(--bg_light);
}

.header-menu li a:hover {
  color: #147a7f;
}

.top-header-content {
  gap: 10px;
  justify-content: flex-end;
}

.header-main-shell .icon-arrow-down {
  font-size: 1rem;
  color: var(--bg_light);
  transition: 0.3s;
}

.search-box .header-search .icon-search {
  color: var(--bg_light);
  font-size: 22px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* --------------------
    Menu Mobile
-------------------- */
#mask {
  position: fixed;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}

#menumobile {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -100%;
  width: 99%;
  background: var(--white);
  z-index: 99991;
  transition: all 0.5s;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
  overflow-y: auto;
  max-width: 600px;
}

#nomenumobile {
  cursor: pointer;
  transition: all 0.5s;
  width: 45px;
  height: 45px;
  background: transparent;
  text-align: center;
  display: inline-flex;
  color: var(--text);
  background-color: #f1f2f2;
  font-size: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.come-menumobile {
  right: 0 !important;
}

.title-mm {
  background: #f8f8f8;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 20px 32px;
  border-radius: 0.75rem;
}

.title-mm img {
  user-select: none;
  max-width: 100px;
}

.btn-mm {
  padding: 0 20px;
  margin-top: 20px;
}

.btn-mm a {
  display: flex;
}

.title-sub-head {
  background: #f8f8f8;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0px 32px;
  border-radius: 0.75rem;
  flex-flow: row-reverse;
}

.title-sub-head strong {
  font-family: var(--bold_font);
  font-size: 1.125rem;
}

.main-mm {
  padding: 5px 15px;
}

.main-mm ul li a {
  color: var(--color3);
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f2f2;
  position: relative;
  font-family: var(--main_font);
  font-size: 18px;
  line-height: 47px;
  color: var(--text);
  margin-bottom: 1rem;
}

.main-mm ul li:last-child a {
  border-bottom: none;
  margin-bottom: 0;
}

.main-mm ul li a:hover {
  color: var(--color1);
}

.main-mm ul li > .sub-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 99%;
  background: var(--white);
  right: -100%;
  transition: 0.3s;
  z-index: 9;
  padding: 20px;
  overflow-y: auto;
}

.childer i {
  position: absolute;
  cursor: pointer;
  border: solid var(--bg_light);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.childer {
  position: absolute;
  left: 0;
  top: 40%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 42px;
  height: 42px;
  background-color: #f1f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.come-submenu {
  right: 0 !important;
}

.sub-closer {
  cursor: pointer;
  top: 10px;
  width: 25px;
  height: 25px;
  background: transparent;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-closer i {
  cursor: pointer;
  top: -1px;
  border: solid var(--color1);
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  position: relative;
  left: -1px;
}

.title-subcome {
  color: var(--color1);
  font-weight: normal;
  position: relative;
  top: 2px;
}

.icon-menu {
  font-size: 22px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg_light);
  cursor: pointer;
}

/* --------------------
    Responsive
-------------------- */
@media (width < 992px) {
  .header-notif {
    padding: 12px 0;
  }

  .header-notif-text {
    font-size: 12px;
    line-height: 1.8;
  }
  .header-main-row {
    gap: 16px;
    padding-bottom: 10px;
  }

  .header-logo {
    max-width: 120px;
  }

  .mobile-last-column {
    display: flex;
    flex-wrap: wrap;
    gap: 1.125rem;
    justify-content: center;
    align-items: center;
    margin: 28px 20px;
  }

  .mobile-last-column .last-column-item {
    width: 100%;
    background-color: #f8f8f8;
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 1rem;
    flex: 0 0 47%;
    max-width: 47%;
    transition: 0.3s;
  }

  .mobile-last-column .last-column-item .last-column-item__icon,
  .mobile-last-column .last-column-item .last-column-item__image {
    border-radius: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    background-color: var(--color1);
    margin-bottom: 0.5rem;
  }

  .mobile-last-column .last-column-item .last-column-item__image img {
    max-width: 24px;
    max-height: 24px;
  }

  .mobile-last-column .last-column-item .last-column-item__title {
    font-family: var(--bold_font);
    color: var(--bg_light);
    font-size: 16px;
    transition: 0.3s;
  }

  .mobile-last-column a.last-column-item:hover .last-column-item__title {
    color: var(--color1);
  }
}

@media (width >= 992px) {
  .header-search-desktop .search-by-json .input input {
    min-width: 260px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .wrap-menu-top .websima-mega-menu {
    gap: 20px;
  }

  .wrap-menu-top .websima-mega-menu > li > a,
  .wrap-menu-top .websima-mega-menu > li > span {
    font-size: 14px;
  }

  .header-search-desktop .search-by-json .input input {
    min-width: 200px;
    max-width: 240px;
  }
}
