#topMain > li > a {
  height: 96px;
  line-height: 96px;
}
#topMain.nav-pills > li > a {
  color: #1f262d;
  font-weight: 400;
  background-color: transparent;
}
#topMain.nav-pills > li:hover > a,
#topMain.nav-pills > li:focus > a {
  color: #1f262d;
  background-color: rgba(0, 0, 0, 0.03);
}
#topMain.nav-pills > li.active > a {
  color: #687482;
}

#topMain.nav-pills > li > a.dropdown-toggle {
  padding-right: 25px;

  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
#topMain.nav-pills > li > a.dropdown-toggle:after {
  display: block;
  content: "\f107";
  position: absolute;
  top: 50%;
  right: 17px;
  margin: -5px 0 0;
  font-family: FontAwesome;
  font-size: 12px;
  opacity: 0.3;
  line-height: 1em;
  border: 0;

  -webkit-transition: -webkit-transform 0.2s ease-in;
  -moz-transition: -moz-transform 0.2s ease-in;
  -ms-transition: -ms-transform 0.2s ease-in;
  -o-transition: -o-transform 0.2s ease-in;
  transition: transform 0.2s ease-in;
}
#header.bottom.dropup #topMain.nav-pills > li > a.dropdown-toggle:after {
  content: "\f106";
}

#topMain > li {
  border-bottom: rgba(0, 0, 0, 0.1) 1px solid;
}
#topMain > li:last-child {
  border-bottom: 0;
}

#header li.search .search-box {
  margin: 0 !important;
  position: fixed;
  left: 0;
  right: 0;
  top: 60px !important;
  width: 100%;
  background-color: #fff;
  border-top: rgba(0, 0, 0, 0.1) 1px solid;
}

/* css */
#header #topNav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

#header #topNav .logo img,
#header #topNav .logo svg {
  max-width: 16.5rem !important;
  width: 100%;
  padding: 0.7rem 0;
  height: unset !important;
}

#header #topNav .logo {
  display: flex;
  align-items: center;
  overflow: visible !important;
}

#header #topNav #topMain li a {
  display: flex;
  align-items: center;
}

#header #topNav #topMain li a h2 {
  font-size: 1.4rem;
}

@media screen and (min-width: 1200px) {
  #header #topNav #topMain li a h2 {
    font-size: 1.8rem;
  }

  #header #topNav .logo img {
    width: unset;
  }
}

@media screen and (max-width: 640px) {
  #header #topNav .logo img,
  #header #topNav .logo svg {
    padding: 0;
  }
}
@media screen and (min-width: 1200px) {
  .navbar-collapse {
    display: flex !important;
    justify-content: center !important;
    flex-basis: unset !important;
    flex-grow: unset !important;
  }
}
@media screen and (min-width: 992px) {
  #header #topNav #topMain {
    display: flex;
  }
}

/* if the logo is TEXT below code is requre */
#header #topNav .logo {
  font-size: 2rem;
  white-space: nowrap;
}
@media screen and (min-width: 640px) {
  #header #topNav .logo {
    font-size: 2.3rem;
  }
}

@media screen and (min-width: 768px) {
  #header #topNav .logo {
    font-size: 2.4rem;
  }
}
@media screen and (min-width: 992px) {
  #header #topNav .logo {
    font-size: 1.8rem;
  }
}

@media screen and (min-width: 1200px) {
  #header #topNav .logo {
    font-size: 2.4rem;
  }
}
