* {
  font-family: "DTAC2018" !important;
}

a {
  color: #767676;
}

a:hover {
  color: #007ad0;
}

.icon-field img, .profile-hover img {
  margin-top: 0;
  margin-bottom: 0;
}

svg {
  line-height: 0;
  fill: #767676;
}

.navbar,
.mobile-navbar {
  /*   border: 1px dotted red; */
}

.mobile-navbar {
  display: none;
}

.profile-modal {
  display: none;
}

/* Checkbox hidden */
.hidden-checkbox {
  display: none;
}

.top-nav-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #f5f5f5;
  padding: 0 5vw;
  font-size: 12px;
}

.top-nav-item {
  display: flex;
  margin: 12px;
}

.top-nav-links {
  color: black;
  margin: 0 12px;
}

.top-nav-links-active {
  color: #007ad0;
}

.top-nav-links-active span {
  color: #007ad0;
}

.top-nav-links: hover, .top-nav-links-active {
  color: #007ad0;
}

.underlined-link a {
  border-bottom: 1px solid #19aaf8;
}

.bottom-nav-bar {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 2px 10px rgba(102, 102, 102, 0.16);
  padding: 0 5vw;
  font-size: 16px;
}

.icon-field {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

.search-img {
  padding: 8px;
  height: 32px;
}

.search-img-mobile {
  padding: 8px;
  margin: 0;
  height: 40px;
}

.bottom-nav-end {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.profile-hover {
  display: flex;
  align-items: center;
  padding: 6.5px 10px;
  color: white;
  background-color: #007ad0;
  border-radius: 4px;
}

.profile-hover img {
  height: 16px;
  margin-right: 8px;
}

.profile-dropdown {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}

.profile-dropdown ul {
  display: none;
  margin: 0;
  padding: 0;
}

.profile-dropdown a:not(.button) {
  color: #767676;
}

.profile-hover > .hs-menu-wrapper:before {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;

  border-bottom: 5px solid black;
}

.mega-menu-list {
  display: flex;
  flex: 1;
}

.dropdown-menu-item {
  display: flex;
  padding: 16px 10px;
}

.dropdown-menu-icon {
  padding: 0 12px;
}

.dropdown-menu-item:hover .dropdown-menu-icon {
  transform: scaleY(-1) translateY(12%);
}

.dropdown-menu-icon svg {
  width: 14px;
  height: 14px;
  transform: translateY(10%);
}

.dropdown-menu-item:hover svg {
  fill: #007ad0;
}

.dropdown-menu-item:hover {
  color: #007ad0;
}

.dropdown-menu-item:hover,
.profile-dropdown:hover {
  cursor: pointer;
}

.collapsed-down-mega-menu {
  display: none;
}

.collapsed-down-mega-menu ul {
  display: block;
}

.dropdown-menu-item:hover > .collapsed-down-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 36px 6vw 24px;
  cursor: auto;

  display: grid;
  /*grid-template-columns: repeat(4, 1fr);*/
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 24px;

  background-color: white;
  white-space: nowrap;
  box-shadow: inset 0 7px 10px -7px rgba(102, 102, 102, 0.16),
    0 2px 10px rgba(102, 102, 102, 0.16);
  z-index: 99;
}

.profile-dropdown:hover ul {
  position: absolute;
  display: flex;
  cursor: auto;
  flex-direction: column;
  top: 100%;
  right: 0%;
  padding: 24px;
  background-color: white;
  white-space: nowrap;
  box-shadow: inset 0 7px 10px -7px rgba(102, 102, 102, 0.16),
    0px 4px 8px rgba(96, 97, 112, 0.16);
  z-index: 99;
}

.profile-dropdown:hover ul > li {
  padding: 8px 0;
}

.search-group {
  position: relative;
}

#searchbar {
  padding: 4px;
  font-size: 16px;
}

.hs-search-field__input {
  box-sizing: border-box;
  width: 100%;
  font-size: 16px;
  padding: 4px;
}

.hs-search-field__input input {
  box-sizing: border-box;
  width: 100%;
  font-size: 16px;
  padding: 4px;
}

.searchbar-suggestions {
  position: absolute;
  margin: 0;
  padding: 0;
  background-color: white;
  list-style: none;
  z-index: 99;
}

.hs-search-field--open .searchbar-suggestions {
  border: 1px solid #19aaf8;
}

.searchbar-suggestions li {
  display: block;
  margin: 0.5px;
  padding: 8px;
}

.searchbar-suggestions #results-for {
  font-weight: bold;
}

.searchbar-suggestions a,
.searchbar-suggestions #results-for {
  display: block;
}

@media (max-width: 1200px) {
  .bottom-nav-bar,
  .top-nav-bar {
    padding: 0 2vw;
  }

  .dropdown-menu-item:hover > .collapsed-down-mega-menu {
    padding: 24px 3vw 48px;
  }
}

@media (max-width: 1160px) {
  .navbar {
    display: none;
  }

  .mobile-navbar {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: 0px 2px 10px rgba(102, 102, 102, 0.16);
  }

  .mobile-navbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .mobile-profile {
    min-width: 12px;
    line-height: 0;
    margin-left: 12px;
  }

  .mobile-mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 2px solid #f5f5f5;
    font-size: 18px;
  }

  .mobile-mega-menu-header.minus-icon .plus-sign-img {
    display: none;
  }

  .mobile-mega-menu-header.plus-icon .minus-sign-img {
    display: none;
  }

  .menu-text {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
  }

  .mobile-switch-business-customer {
    margin-top: auto;
    padding: 8px;
    padding-top: 24px;
    border-bottom: 2px solid #f5f5f5;
    font-size: 16px;
  }

  .language-icons {
    margin: 8px;
  }

  .mobile-mega-menu-container {
    border-bottom: 2px solid #f5f5f5;
    margin: 0 4px;
    /* padding: 4px; */
    /* border-radius: 5px; */
  }

  .each-mobile-mega-menu svg {
    height: 16px;
    width: 24px;
  }

  .mobile-submenus {
    display: none;
    padding: 0 8px;
    border-bottom: 2px solid #f5f5f5;
    font-size: 16px;
  }

  .mobile-submenus li {
    padding: 8px;
  }

  .mobile-submenus li:not(:last-child) {
    border-bottom: 2px solid #f5f5f5;
  }

  .each-mobile-submenu:not(:last-child) {
    border-bottom: 2px solid #f5f5f5;
  }

  .mobile-submenus ul {
    display: block;
    flex-direction: column;
  }

  .mobile-submenu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 08px;
  }

  .mobile-submenu-header.minus-icon .plus-sign-img {
    display: none;
  }

  .mobile-submenu-header.plus-icon .minus-sign-img {
    display: none;
  }

  .mobile-mega-menu-header:hover ~ .mobile-submenus {
    display: block;
  }

  .mobile-menu-list {
    display: none;
    margin-left: 12px;
    border-top: 2px solid #f5f5f5;
  }

  .mobile-menu-list ul {
    display: block;
    flex-direction: column;
  }

  #nav-drawer {
    position: relative;
    padding: 12px;
  }

  /* Icon space */
  #nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
  }

  /* Hamburger CSS */
  #nav-open span,
  #nav-open span:before,
  #nav-open span:after {
    position: absolute;
    height: 3px; /* Line thickness*/
    width: 25px; /* Line Length */
    border-radius: 3px;
    background: #555;
    display: block;
    content: "";
    cursor: pointer;
  }

  #nav-open span:before {
    bottom: -8px;
  }

  #nav-open span:after {
    bottom: -16px;
  }

  /* Light black cover for closing */
  #nav-close {
    display: none; /* Initially hidden */
    position: fixed;
    z-index: 99;
    top: 0; /* To spread throughout */
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.05;
    transition: 0.3s ease-in-out;
  }

  /* Inside drawer*/
  #nav-drawer-content {
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 16px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999; /* In the foreground */
    width: 90%; /* Make a gap on the right side */
    max-width: 943.2px;
    height: 100%;
    background: #fff;
    transition: 0.3s ease-in-out; /* Smooth drawing-out/opening */
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%); /* Hidden to the left */
  }

  #nav-drawer-content > h3 {
    padding: 8px;
    margin: 12px 0;
  }

  /* When checked, various displays */
  #nav-input:checked ~ #nav-close {
    display: block; /* Show cover */
  }

  #nav-input:checked ~ #nav-drawer-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%); /* Show contents */
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
  }

  .search-open {
    display: flex;
  }

  .search-drawer-content {
    display: grid;
    grid-template-columns: 1fr 10fr 1fr;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 12px;
    width: 100%;
    background: #fff;
    transition: 0.3s ease-in-out;
    -webkit-transform: translateY(-105%);
    transform: translateY(-105%);
  }

  .searchbar-drawer-close {
    margin-left: 24px;
  }

  /* Light black cover for closing */
  #search-nav-close {
    display: none; /* Initially hidden */
    position: fixed;
    z-index: 99;
    top: 0; /* To spread throughout */
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.05;
    transition: 0.3s ease-in-out;
  }

  /* When checked, various displays */
  #search-open:checked ~ #search-nav-close {
    display: block; /* Show cover */
  }

  #search-open:checked ~ .search-drawer-content {
    overflow: visible;
    -webkit-transform: translateY(0%);
    transform: translateY(0%); /* Show contents */
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
  }

  .close-drawer-icon {
    display: flex;
    justify-content: flex-end;
  }

  .close-drawer-icon > span > svg {
    height: 18px;
  }

  .profile-dropdown {
    display: flex;
    align-items: center;
    padding: 12px;
  }

  .profile-dropdown span {
    font-size: 16px;
    word-break: keep-all;
  }

  .profile-dropdown img {
    margin-right: 8px;
    height: 24px;
  }

  .profile-modal {
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 16px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 943.2px;
    height: 100%;
    background: #fff;
    transition: 0.3s ease-in-out;
    -webkit-transform: translateX(-115%);
    transform: translateX(-115%);
  }

  .profile-modal > h3 {
    padding: 8px;
    margin: 12px 0;
  }

  .profile-menu-list {
    padding: 8px;
  }

  .profile-menu-list ul {
    flex-direction: column;
  }

  .profile-menu-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 2px solid #f5f5f5;
    font-size: 18px;
  }

  .closing-overlay {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.05;
    transition: 0.3s ease-in-out;
  }

  .mobile-language-switch img {
    height: 45px;
    filter: invert(48%) sepia(0%) saturate(129%) hue-rotate(185deg)
      brightness(96%) contrast(88%);
  }

  .mobile-language-switch.mobile-lang-active img {
    filter: invert(28%) sepia(95%) saturate(2360%) hue-rotate(187deg)
      brightness(93%) contrast(102%);
  }
  
  .switch-to-customer-site-mobile span {
      /* color: #007ad0; */
  }
}

.search-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-search-modal {
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-search-modal > span > svg {
  height: 18px;
}

.search-modal {
  display: grid;
  grid-template-columns: 1fr 10fr 1fr;
  align-items: center;
  overflow: visible;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 12px;
  width: 100%;
  min-height: 100px;
  background: #fff;
  transition: 0.3s ease-in-out;
  -webkit-transform: translateY(-105%);
  transform: translateY(-105%);
}

.search-magnify-icon {
  display: flex;
  align-items: center;
}

.searchbar-in-drawer input {
  padding: 12px;
  border: 0px;
}

.searchbar-in-drawer input:focus-visible {
  border: 1px #f5f5f5;
  background-color: #f5f5f5;
}

.myBusiness-link {
  margin-right: 24px;
}

.each-submenu li {
  padding: 8px 0;
}

.each-submenu h3 {
  margin: 0;
  margin-bottom: 24px;
  font-size: 18px;
}

#login-button span {
  color: white;
}

/* fix moving to Dtac */

.header a:not(.button){
  text-decoration: none;
}

.mobile-submenus a:not(.button),
.collapsed-down-mega-menu a:not(.button) {
  color: #767676;
  text-decoration: none;
}

.mobile-submenus a:not(.button):hover,
.collapsed-down-mega-menu a:not(.button):hover {
  color: #007ad0;
}

@media only screen and (max-width: 767px) {
  .hs-menu-wrapper li {
    margin-bottom: 0;
    text-align: initial;
  }
}

@media (max-width: 1160px) {
  #nav-drawer {
    padding: 18px;
  }
}

.menuList-ulist {
  padding-left: 0.5rem;
  list-style: none;
}

.menuList-ulist ul, .menuList-ulist li{
  margin: 0;
}

.level-two-header {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.level-three-header {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.level-four-header {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.level-two-header:hover,
.level-three-header:hover,
.level-four-header:hover {
  font-weight: 600;
  color: #007ad0;
}

@media (max-width: 1160px) {
  .level-two-header, .level-three-header, .level-four-header{
    margin:0;
  }

  .level-two-header,
  .switch-to-customer-site-mobile span {
    font-size: 18px;
    font-weight: 600;
  }

  .level-three-header {
    font-size: 16px;
    font-weight: 600;
  }

  .level-four-header {
    font-size: 16px;
    font-weight: 400;
  }
  
  .mobile-mega-menu-header {
    border-top: 2px solid #f5f5f5;
    border-bottom: 0;
  }

  .mobile-mega-menu-header:last-child {
    border-bottom: 2px solid #f5f5f5;
  }

  .last-level {
    padding: 16px;
    border-top: 2px solid #f5f5f5;
  }

  ul li {
    margin: 0;
    margin-left: 16px;
    margin-right: 8px;
  }

  .profile-dropdown {
    padding: 17px;
  }
}

.mobile-menu-child {
  display: none;
  margin: 0;
}

.mobile-mega-menu-container  ul{
  padding-left: 0;
}

.mobile-mega-menu-container li {
  list-style: none;
}

.mobile-menu-link span{
  color: #767676;
}

.menu-link:hover:not(.button),
.mobile-menu-link:hover:not(.button),
.profile-dropdown:hover ul a:hover {
  color: #007AD0;
}

.mega-menu-mobile-padding-inside {
  padding-bottom: 40px;
}

.mobile-language-container {
  display: flex;
  align-items: center;
}

.mobile-language-divider {
  height: 20px;
  border-left: 2px solid #f5f5f5;
}

.mobile-language-switch {
  padding: 8px;
  margin: 8px;
}

.mobile-language-switch.mobile-lang-active span {
  filter: invert(28%) sepia(95%) saturate(2360%) hue-rotate(187deg)
    brightness(93%) contrast(102%);
}

.mobile-switch-business-customer {
  margin: 0 4px;
  padding: 16px 0px;
}

.mobile-close-bar-row {
  margin: 8px 4px;
}
