/* Header-specific styles for MGDairies theme */

.header-phone-icon {
  width: 20px;
}

body {
  background-color: #fff4d6 !important;
}

.container-header {
  max-width: 1920px;
}

#top-header {
  font-size: 12px;
  line-height: 13px;
  z-index: 99999;
  color: #ffffff;
  background-color: #2EA3F2;
  transition: background-color 0.4s, color 0.4s, transform 0.4s, opacity 0.4s ease-in-out;
}

#top-header a {
  color: #ffffff;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#top-header .container-header {
  padding-top: .75em;
  font-weight: 600;
  line-height: 1em;
}

#et-info {
  float: right;
  text-align: right;
  padding-bottom: .75em;
  display: block;
}

#phone-number-header {
  position: relative;
  margin-right: 13px;
  font-size: 18px;
  font-weight: 600;
}

#phone-number-header a {
  color: #ffffff !important;
}

#main-header {
  line-height: 23px;
  font-weight: 500;
  top: 0;
  background-color: #fff;
  width: 100%;
  position: relative;
  z-index: 99998;
  transition: background-color 0.4s, color 0.4s, transform 0.4s, opacity 0.4s ease-in-out;
}

#top-header,
#main-header {
  background-image: linear-gradient(to bottom,#88abe4 0%,#a9c2ec 35%,#d9e4f7 60%,#fff4d6 100%);
  background-repeat: no-repeat !important;
  background-size: 100% 154px !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

#top-header {
  background-position: 0 0 !important;
  box-shadow: 0 -1px 0 #88abe4 !important;
}

#main-header {
  background-position: 0 -40px !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

#main-header .container-header,
#top-header .container-header {
  max-width: 1480px;
  width: 92%;
  margin: 0 auto;
}

.logo_container {
  transition: all 0.4s ease-in-out;
  float: left;
}

span.logo_helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  width: 0;
}

.header-logo {
  width: 300.3px;
  transition: all 0.4s ease-in-out;
  margin-bottom: 0;
  max-height: 54%;
  display: inline-block;
  float: none;
  vertical-align: middle;
  -webkit-transform: translate3d(0, 0, 0);
}

.logo_container::after {
  content: "We Offer Milk In Glass Bottles";
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #083b66;
  margin-top: 2px;
  margin-left: 110px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  opacity: 1;
  max-height: 40px;
  overflow: hidden;
  transition: opacity 0.2s ease,max-height 0.2s ease;
}

#top-menu-nav, #top-menu {
  line-height: 0;
}

#top-navigation {
  font-weight: 600;
  margin-top: 48px;
}

nav#top-menu-nav, #top-menu {
  float: left;
}

#top-menu {
  display: flex !important;
  align-items: center !important;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

#top-menu li {
  display: inline-block;
  font-size: 14px;
  padding-right: 22px;
  word-wrap: break-word;
}

#top-menu > li:last-child {
  padding-right: 0;
}

#top-menu a {
  font-size: 20px;
  color: rgba(0,0,0,0.6);
  text-decoration: none;
  display: block;
  position: relative;
  transition: opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

#top-menu-nav > ul > li > a:hover {
  opacity: 0.7;
  transition: all 0.4s ease-in-out;
}

#top-menu li.menu-button a {
  background: #fff4d6;
  color: #083b66 !important;
  padding: 12px 22px !important;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-left: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex !important;
  align-items: center !important;
  height: 40px;
  line-height: 1 !important;
}

#top-menu li.menu-button a:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

@media all and (max-width: 980px) {
  #top-menu {
    margin-top: 15px;
  }
  #menu-item-416 {
    margin-top: 21px;
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
