/* Mali custom header. Loaded after the generated theme styles. */
.typeheader-7 {
  position: relative;
  margin-right: 0;
}

.typeheader-7 .header-bottom {
  clear: both;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 83px;
  padding: 0;
  position: relative;
}

.typeheader-7 .header-bottom .row {
  min-height: 83px;
  margin: 0;
  display: flex;
  align-items: center;
}

.typeheader-7 .navbar-logo {
  width: 220px;
  max-width: 220px;
  flex: 0 0 220px;
  padding-left: 0;
  padding-right: 0;
}

.typeheader-7 .logo {
  max-width: none;
  padding: 8px 0;
}

.typeheader-7 .logo img {
  width: auto;
  max-width: 135px;
  max-height: 65px;
}

.typeheader-7 .header-b-right {
  position: static;
  flex: 1 1 auto;
  display: block;
  padding: 0;
  text-align: left;
}

.typeheader-7 .search-header-w {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 36vw;
  max-width: 640px;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  z-index: 1000;
}

.typeheader-7 #sosearchpro .search {
  position: relative;
  width: 100%;
}

.typeheader-7 #sosearchpro .search > input[name="search"] {
  width: 100%;
  height: 38px;
  padding: 0 42px 0 14px;
  border: 1px solid #474747;
  border-radius: 20px;
  background: #fff;
  color: #666;
  font-size: 12px;
}

.typeheader-7 #sosearchpro .search > input[name="search"]::placeholder {
  color: #474747;
  opacity: 1;
}

.typeheader-7 #sosearchpro .search > input[name="search"]::-webkit-input-placeholder {
  color: #474747;
  opacity: 1;
}

.typeheader-7 #sosearchpro .search > input[name="search"]::-moz-placeholder {
  color: #474747;
  opacity: 1;
}

.typeheader-7 #sosearchpro .search > .input-group-btn > button {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 38px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0 20px 20px 0;
  background: #fff;
  line-height: 36px;
}

.typeheader-7 #sosearchpro .search > .input-group-btn > button i {
  color: #1a1a1a;
  font-size: 15px;
}

.typeheader-7 #sosearchpro .search > ul.dropdown-menu {
  z-index: 1010;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

/* The autocomplete contains quantity controls too. Keep main-search styling
   from leaking into those controls, even if an older generated CSS is cached. */
.typeheader-7 #sosearchpro .search > ul.dropdown-menu .quantity input {
  box-sizing: border-box;
  width: 54px;
  height: 32px;
  min-height: 0;
  padding: 4px 7px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  color: #474747;
  font-size: 13px;
}

.typeheader-7 #sosearchpro .search > ul.dropdown-menu .cart .btn {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 12px;
  border-radius: 3px;
  line-height: 1;
}

.typeheader-7 ul.top-link {
  position: absolute;
  top: 29px;
  right: 120px;
  left: auto;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  list-style: none;
}

.typeheader-7 ul.top-link > li.account {
  margin: 0;
  padding: 0;
}

.typeheader-7 ul.top-link > li.account:before,
.typeheader-7 ul.top-link > li.account:after {
  display: none;
  content: none;
}

.typeheader-7 ul.top-link > li.account > a {
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 500;
}

.typeheader-7 ul.top-link > li.account > a .fa-user {
  display: inline-block;
  color: #1a1a1a;
  font-size: 16px;
}

.typeheader-7 ul.top-link > li.account .account-box {
  min-width: 220px;
  padding: 10px 0;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.typeheader-7 .shopping_cart {
  position: absolute;
  top: 25px;
  right: max(0px, calc((100% - 1200px) / 2));
  left: auto;
  z-index: 20;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
  text-align: center;
}

.typeheader-7 .shopping_cart .btn-shopping-cart,
.typeheader-7 .shopping_cart .btn-shopping-cart a.top_cart {
  width: auto;
  min-width: 0;
  height: auto;
}

.typeheader-7 .shopping_cart .btn-shopping-cart a.top_cart,
.typeheader-7 .shopping_cart .btn-shopping-cart a.top_cart .shopcart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: transparent;
  text-decoration: none;
}

.typeheader-7 .shopping_cart .handle.pull-left {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0;
  float: none !important;
  background: none !important;
  color: #1a1a1a;
  font-family: FontAwesome;
  font-size: 22px;
  line-height: 30px;
}

.typeheader-7 .shopping_cart .handle.pull-left:before {
  content: "\f07a";
}

.typeheader-7 .shopping_cart .total-shopping-cart > .fa,
.typeheader-7 .shopping_cart .items_cart2,
.typeheader-7 .shopping_cart .items_carts {
  display: none;
}

.typeheader-7 .shopping_cart .items_cart {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #ffbf00 !important;
  color: #1a1a1a !important;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.typeheader-7 .shopping_cart .text-shopping-cart {
  display: none !important;
  margin: 0;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
}

.typeheader-7 .mali-services {
  display: block;
  width: 100vw;
  margin-left: 0;
  border: 0;
  background: linear-gradient(110deg, #073e30 0%, #004b36 55%, #063c2f 100%);
  box-shadow: none;
}

.typeheader-7 .mali-services ul {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  list-style: none;
}

.typeheader-7 .mali-services ul li {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: block;
  flex: 1 1 0;
  text-align: center;
}

.typeheader-7 .mali-services ul li a {
  min-height: 100%;
  padding: 11px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  text-decoration: none;
}

.typeheader-7 .mali-services ul li img {
  width: 76px;
  height: 76px;
  max-width: none;
  max-height: none;
  margin: 0 auto 4px;
  padding: 0;
  display: block;
  object-fit: contain;
  transform: scale(1.32);
  transform-origin: center;
}

.typeheader-7 .mali-services ul li .service-info {
  margin: 0;
  color: #fff;
}

.typeheader-7 .mali-services ul li .service-info p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  text-transform: none;
}

.typeheader-7 .mali-services ul li .service-info span {
  display: inline-block;
}

.typeheader-7 .mali-services ul li .service-info p:after {
  display: none !important;
  content: none !important;
}

.typeheader-7 .mali-services ul li.is-active .service-info p:after {
  width: 34px;
  height: 3px;
  margin: 7px auto 0;
  display: block !important;
  border-radius: 99px;
  background: #f0c61f;
  content: "" !important;
}

.typeheader-7 .mali-services ul li:hover {
  background: rgba(0, 0, 0, 0.12);
  box-shadow: none;
}

.typeheader-7 .mali-access-note {
  position: relative;
  padding: 15px 0;
  background: #fff;
}

.typeheader-7 .mali-access-note__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #3d4b43;
  font-size: 14px;
}

.typeheader-7 .mali-access-note__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  border-radius: 50%;
  background: #edf2ed;
  color: #5a6961;
}

.typeheader-7 .mali-access-note__text a {
  border-bottom: 2px solid #f0c61f;
  color: #2b6f4d;
  font-weight: 700;
  text-decoration: none;
}

.typeheader-7 .mali-access-note__close {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #526159;
  font-size: 15px;
  line-height: 32px;
  text-align: center;
  transform: translateY(-50%);
  cursor: pointer;
}

.typeheader-7 .mali-access-note__close:hover,
.typeheader-7 .mali-access-note__close:focus {
  color: #073e30;
  outline: none;
}

.common-home #content .services-inline,
.wrapper-full > .module > .services-inline {
  display: none !important;
}

.wrapper-full > .module > div.typeheader-7 {
  display: none !important;
}

@media (max-width: 1199px) {
  .typeheader-7 .navbar-logo {
    width: 180px;
    max-width: 180px;
    flex-basis: 180px;
  }

  .typeheader-7 .header-b-right {
    padding: 0;
  }

  .typeheader-7 .search-header-w {
    width: 36vw;
    max-width: 480px;
  }
}

@media (max-width: 767px) {
  .typeheader-7 .header-bottom {
    width: 100%;
    max-width: none;
    min-height: 76px;
    padding: 8px 12px;
    background: #fff !important;
  }

  .typeheader-7 .header-bottom .row {
    min-height: 0;
    display: block;
  }

  .typeheader-7 .navbar-logo {
    width: 120px;
    max-width: 120px;
    height: auto;
    padding: 0;
    display: block;
    flex: none;
    background: transparent !important;
  }

  .typeheader-7 .logo {
    max-width: none;
    padding: 0;
    text-align: left;
    transform: none;
  }

  .typeheader-7 .logo img {
    max-width: 100px;
  }

  .typeheader-7 .header-b-right {
    position: absolute;
    top: 18px;
    left: 138px;
    width: 40px;
    height: 40px;
    padding: 0;
    display: block;
  }

  .typeheader-7 .search-header-w {
    position: static;
    width: 40px;
    max-width: 40px;
    height: 40px;
    min-height: 0;
    margin: 0;
    padding: 0;
    display: block;
    transform: none;
  }

  .typeheader-7 ul.top-link {
    display: none;
  }

  .typeheader-7 .shopping_cart {
    top: 18px !important;
    right: 14px !important;
    left: auto !important;
    width: 32px !important;
    height: 32px !important;
  }

  .typeheader-7 .shopping_cart .text-shopping-cart {
    display: none !important;
  }

  .typeheader-7 .shopping_cart .btn-shopping-cart,
  .typeheader-7 .shopping_cart .btn-shopping-cart a.top_cart,
  .typeheader-7 .shopping_cart .btn-shopping-cart a.top_cart .shopcart {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  .typeheader-7 .shopping_cart #cart {
    margin: 0 !important;
  }

  .typeheader-7 .shopping_cart .handle.pull-left {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 30px !important;
    height: 30px !important;
  }

  .typeheader-7 .shopping_cart .btn-shopping-cart .total-shopping-cart .items_cart {
    top: -7px !important;
    right: -7px !important;
    left: auto !important;
  }

  .typeheader-7.mali-search-open .header-bottom {
    min-height: 112px;
  }

  .typeheader-7.mali-search-open .search-header-w #sosearchpro {
    position: absolute;
    top: 44px;
    left: -126px;
    width: calc(100vw - 24px) !important;
    height: 34px;
    z-index: 40;
  }

  .typeheader-7.mali-search-open #sosearchpro .search {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 32px !important;
    display: table;
  }

  .typeheader-7.mali-search-open #sosearchpro .search > input[name="search"] {
    width: 100% !important;
    height: 32px !important;
    padding: 0 42px 0 14px !important;
    border-radius: 18px !important;
  }

  .typeheader-7.mali-search-open #sosearchpro .search > .input-group-btn > button {
    top: 1px !important;
    right: 1px !important;
    width: 38px !important;
    height: 30px !important;
  }

  .typeheader-7 .mali-access-note {
    padding: 13px 0;
  }

  .typeheader-7 .mali-access-note__inner {
    padding-right: 46px;
  }

  .typeheader-7 .mali-access-note__close {
    right: 8px;
  }

  .typeheader-7 .mali-services {
    overflow-x: auto;
  }

  .typeheader-7 .mali-services ul {
    width: max-content;
    min-width: 100%;
    padding: 0 10px;
    justify-content: flex-start;
    gap: 10px;
  }

  .typeheader-7 .mali-services ul li {
    width: 105px;
    flex: 0 0 105px;
  }

  .typeheader-7 .mali-services ul li img {
    width: 62px;
    height: 62px;
    transform: none;
  }

  .typeheader-7 .mali-services ul li .service-info p,
  .typeheader-7 .mali-access-note__inner {
    font-size: 13px;
  }

  .typeheader-7 .mali-access-note__inner {
    padding: 0 14px;
    justify-content: flex-start;
    gap: 9px;
  }
}
