/* Global Menu CSS */

#medicalert-header-module .medicalert-header-navigation {
    background-color: #ffffff;
    font-size: 16px;
}
section#medicalert-header-module ul {
    z-index: 999;
}

/**  BUTTONS CSS  **/
#medicalert-header-module ul.hs-search-field__suggestions {
    margin: 0;
}


/**  PHONE CSS  **/

#complete-medical-profile-banner {
    background-color: #007381;
}
.complete-medical-profile-banner-inside {
    max-width: 1300px;
    margin: 0 auto;
    padding: 25px;
    color: #ffffff;
}
.complete-medical-profile-banner-title {
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
}

.complete-medical-profile-banner-inside a {
    display: block;
    text-align: center;
    max-width: 275px;
    color: #fff;
    background-color: #ed174c;
    padding: 10px;
    margin-top: 15px;
}

.medicalert-header-navigation-logo-buttons > div > a {
	/* font-size: 22px; */
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	line-height: 40px;
	padding: 10px 20px;
	color: #ffffff;
}

.medicalert-header-navigation-logo > div {
		display: flex;
	}

/* Sticky Menu CSS */
@media screen and (min-width: 1300px) {
  #medicalert-header-module>div {
      top: -100%;
  }
  section#medicalert-header-module.sticky {
      height: 100px;
  }
  #medicalert-header-module.sticky>div {
      position: fixed;
      width: 100%;
      border-bottom: 1px solid #efefef;
      z-index: 999999;
      top: 0;
      transition: 0.5s;
  }
	
}
@media screen and (max-width: 1299px) {
  section#medicalert-header-module.sticky {
      height: 140px;
  }
  #medicalert-header-module.sticky .medicalert-header-navigation {
      position: fixed;
      width: 100%;
      border-bottom: 1px solid #efefef;
      z-index: 999999;
      top: 0;
  }
}


/**  Menu Desktop CSS  **/
@media screen and (min-width: 1300px) {
	.medicalert-header-navigation-logo-buttons > div > a {
		margin-left: 20px;
	}
	
  #medicalert-header-module .medicalert-header-navigation-menu li.hs-menu-depth-1 {
      display: inline-block;
      line-height: 70px;
      padding: 0 10px;
      position: relative;
      text-transform: uppercase;
  }
  #medicalert-header-module .medicalert-header-navigation-inside {
      height: 70px;
      position: relative;
  }
  #medicalert-header-module .medicalert-header-navigation-logo {
      position: absolute;
      left: 50px;
      top: 50%;
      transform: translate(0, -50%);
  }
  #medicalert-header-module .medicalert-header-navigation-logo img {
      height: 40px;
      width: auto;
  }
  #medicalert-header-module .medicalert-header-navigation-menu {
      position: absolute;
      right: 50px;
      top: 0;
  }
  #medicalert-header-module li.hs-menu-depth-1.hs-item-has-children {
      padding-right: 25px;
  }
  #medicalert-header-module .mobile-angle {
      position: absolute;
      height: 7px;
      width: 7px;
      border-bottom: 1.5px solid #000;
      border-left: 1.5px solid #000000;
      top: 50%;
      right: 10px;
      transform: translate(0, -50%) rotate(-45deg);
  }
  #medicalert-header-module .medicalert-header-navigation-menu li a {
      color: #000;
      text-decoration: none;
  }
  #medicalert-header-module li.hs-menu-depth-1.hs-item-has-children>ul.hs-menu-children-wrapper>li {
      line-height: 1;
      padding: 10px;
      min-width: 200px;
      text-transform: initial;
  }
  #medicalert-header-module li.hs-menu-depth-1.hs-item-has-children>ul.hs-menu-children-wrapper {
      background-color: #f8f8f8;
      border-top: 2px solid #ed174c;
  }
  #medicalert-header-module li.hs-menu-depth-1.hs-item-has-children>ul.hs-menu-children-wrapper>li:hover {
      background-color: #efefef;
  }
}
/**  TOPBAR CSS  **/
.medicalert-header-topbar, .medicalert-header-topbar-buttons {
/**    background: #ed174c; 
 *  font-size: 22px;
 * **/
    background: #3B3B3C;

}
.medicalert-header-topbar-right>div>div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.medicalert-header-topbar-right>div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.medicalert-header-topbar .medicalert-header-topbar-lang a {
    padding: 0 15px;
    color: #ffffff;
}
.medicalert-header-topbar .hs-search-field__bar {
    height: 35px;
    overflow: hidden;
    width: 250px;
    position: relative;
}
.medicalert-header-topbar .hs-search-field__bar input {
    position: absolute;
    border-radius: 0;
    border: none;
    padding: 5px 35px 5px 5px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}
.medicalert-header-topbar .hs-search-field__bar button {
    padding: 7px;
    position: absolute;
    right: 0;
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.medicalert-header-topbar .medicalert-header-topbar-phone a {
    color: #fff;
    padding: 0 15px;
}
.medicalert-header-topbar .medicalert-header-topbar-buttons>div a {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    line-height: 40px;
    padding: 0 15px;
    color: #ffffff;
} 

.medicalert-header-topbar-accounts-reg a, .medicalert-header-topbar-accounts-log a, .medicalert-header-topbar-accounts-cart a, .medicalert-header-topbar-lang a {
	line-height: 40px;
    padding: 0 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
/* individual background and font colors set in style tag in module.html */

}
@media screen and (max-width: 1000px) {
  .medicalert-header-topbar-accounts-cart, .medicalert-header-topbar-accounts-log, .medicalert-header-topbar-accounts-reg, .medicalert-header-topbar-buttons {
      width: 25%;
  }
  .medicalert-header-topbar-right>div>div {
      width: 100%;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      padding: 2.5px 5px;
  }
  .medicalert-header-topbar-phone {
      text-align: center;
  }
}

@media screen and (max-width: 779px) {
  .medicalert-header-topbar-phone, .medicalert-header-topbar-buttons, .medicalert-header-topbar-accounts-reg, .medicalert-header-topbar-accounts-log, .medicalert-header-topbar-accounts-cart {
      display: inline-block;
      margin: 5px 0;
  }
	
	.medicalert-header-navigation-logo > div {
		flex-direction: column;
	}
	
	.medicalert-header-navigation-logo-buttons > div > a{
		width: 100%;
	}
}
@media screen and (max-width: 600px) {
  .medicalert-header-topbar-phone {
      width: 100%;
      display: block;
  }
  .medicalert-header-topbar-accounts-cart, .medicalert-header-topbar-accounts-log, .medicalert-header-topbar-accounts-reg, .medicalert-header-topbar-buttons {
      width: 50%;
      margin: 0;
  }
	
}

/* Mobile Menu CSS */
@media screen and (max-width: 1299px) {
  .medicalert-header-navigation-menu li {
      display: block;
      width: 100%;
      position: relative;
  }
  .medicalert-header-navigation-menu li>ul.hs-menu-children-wrapper {
      opacity: 1 !important;
      left: 0 !important;
      position: initial !important;
      display: none;
  }
  .medicalert-header-navigation-menu li a {
      display: block;
      color: #000000;
      padding: 5px 10px;
  }
  .medicalert-header-navigation-menu .mobile-angle {
      position: absolute;
      top: 0;
      right: 10px;
      height: 30px;
      width: 30px;
      z-index: 999;
      cursor: pointer;
  }
  .medicalert-header-navigation-menu .mobile-angle:before {
      width: 12px;
      height: 12px;
      content: '';
      position: absolute;
      border-bottom: 1.5px solid #000;
      border-left: 1.5px solid #000;
      top: 45%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(-45deg);
      transition: 0.3s;
  }
  .mobile-active .mobile-angle:before {
      transform: translate(-50%, -50%) rotate(45deg);
  }
  .mobile-active .hs-menu-children-wrapper.active-branch {
      display: block;
  }
  .medicalert-header-navigation-logo img {
      padding: 10px 15px;
      height: 50px;
      width: auto;
  }
  .medicalert-header-navigation-menu li.hs-menu-item.hs-menu-depth-1>a {
      background-color: #f4f4f4;
  }
  .medicalert-header-navigation-menu li.hs-menu-item.hs-menu-depth-1>ul>li>a {
      background-color: #eeeeee;
  }

  

  .medicalert-header-navigation-inside {
      position: relative;
  }
  .mobile-menu-btn {
      width: 40px;
      height: 30px;
      position: absolute;
      right: 15px;
      top: 10px;
      cursor: pointer;
      z-index: 99;
      border-top: 5px solid #3b3b3c;
      border-bottom: 5px solid #3b3b3c;
  }
  .mobile-menu-btn:before, .mobile-menu-btn:after {
      content: '';
      position: absolute;
      width: 100%;
      height: 5px;
      background: #3b3b3c;
      transform: translateY(-50%);
      top: 50%;
      transition: 0.2s;
  }
  .mobile-menu-btn.navigation-btn-menu-active {
      border: none;
  }
  .mobile-menu-btn.navigation-btn-menu-active {
      background: none;
  }
  .mobile-menu-btn.navigation-btn-menu-active:before {
      transform: rotate(45deg);
  }
  .mobile-menu-btn.navigation-btn-menu-active:after {
      transform: rotate(-45deg);
  }
  .hs-item-has-children.mobile-active>ul {
      display: block !important;
  }
  .medicalert-header-navigation-menu.navigation-menu-active {
      display: block;
      position: absolute;
      width: 100%;
      z-index: 999999;
  }
  .medicalert-header-navigation-menu {
      display: none;
  }
}