/* MENU POSITIONING */
nav {
  text-align: center;
  position: relative;
}
nav ul {
  list-style-type: none;
  padding: 0;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
nav > #brDiv {
  height: 48px;
  margin-bottom: -48px;
  overflow: hidden;
  border-radius: 5px;
}
nav > #brDiv > #grDiv {
  height: 48px;
}
nav.navOnTopOn {
  position: absolute;
  top: 0;
  border-top: 0;
}
#pmenu {
  display: inline-block;
  height: 26px;
  margin: 0;
  max-width: 940px;
  overflow: hidden;
  *display: inline;
  zoom: 1!important;
  /* SUB MENUS */
}
#pmenu > li {
  border-width: 0 0 0 1px;
  border-style: solid;
  float: left;
  overflow: hidden;
  /* For IE9 Border Trick */
}
#pmenu > li:first-child {
  border-left: none !important;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 0;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-bottomleft: 0;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-bottom-left-radius: 0;
}
#pmenu > li:last-child {
  border-right: none !important;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 0;
  -moz-border-radius-topright: 3px;
  -moz-border-radius-bottomright: 0;
  -webkit-border-top-right-radius: 3px;
  -webkit-border-bottom-right-radius: 0;
}
#pmenu a {
  display: block;
  height: 18px;
  line-height: 18px;
  margin: 0;
  overflow: hidden;
  padding: 4px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 125px;
}
#pmenu ul {
  display: none;
  position: absolute;
  z-index: 1001;
}
#pmenu ul li {
  background-image: none;
  float: none;
}
#pmenu ul li:last-child,
#pmenu ul li:last-child a {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-bottomright: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
}
#pmenu ul a {
  font-weight: lighter;
  padding-left: 8px;
  text-align: left;
  width: 175px;
}
/* Theater Width Navigation */
/* Margins below theater width nav collapses */
.theaterWidthNavigation .page > header,
.browserWidthNavigation .page > header {
  padding-bottom: 0;
  margin-bottom: 0;
}
.theaterWidthNavigation #content .flexible:first-of-type,
.browserWidthNavigation #content .flexible:first-of-type {
  margin-top: 0;
}
.theaterWidthNavigation #content .flexible:first-of-type .cell:first-child .flex-image-rotator,
.browserWidthNavigation #content .flexible:first-of-type .cell:first-child .flex-image-rotator {
  margin-top: 0;
}
/* Adding 15 px margin-top between nav bar and first widget for ServiceMenu page*/
.design-Multibrand_Experience.page-type-ServiceMenu.theaterWidthNavigation #content .flexible:first-of-type,
.design-Multibrand_Experience.page-type-ServiceMenu.browserWidthNavigation #content .flexible:first-of-type,
.design-BuickGMC_Experience.page-type-ServiceMenu.theaterWidthNavigation #content .flexible:first-of-type,
.design-BuickGMC_Experience.page-type-ServiceMenu.browserWidthNavigation #content .flexible:first-of-type {
  margin-top: 15px;
}
/* These styles are allow menu to blend into background to make it look theater wide */
.theaterWidth,
.browserWidth {
  height: 48px;
}
.theaterWidth > #brDiv,
.browserWidth > #brDiv {
  height: 48px;
  margin-bottom: -48px;
  overflow: hidden;
  border-radius: 5px;
}
.theaterWidth > #brDiv > #grDiv,
.browserWidth > #brDiv > #grDiv {
  height: 48px;
}
.theaterWidth.nav-lozenge,
.browserWidth.nav-lozenge {
  border-radius: 5px;
}
.theaterWidth.nav-lozenge #pmenu > li li a,
.browserWidth.nav-lozenge #pmenu > li li a {
  height: auto;
  line-height: 1.5;
}
.theaterWidth.nav-lozenge #pmenu li a,
.browserWidth.nav-lozenge #pmenu li a {
  height: 40px;
  line-height: 3.5;
}
.theaterWidth #pmenu,
.browserWidth #pmenu {
  border-radius: 0;
  border-width: 0;
  box-shadow: none;
  height: 48px;
}
.theaterWidth #pmenu > li,
.browserWidth #pmenu > li {
  padding: 5px;
}
.theaterWidth #pmenu > li:first-child,
.browserWidth #pmenu > li:first-child {
  border-radius: 0;
}
.theaterWidth #pmenu > li:last-child,
.browserWidth #pmenu > li:last-child,
.theaterWidth #pmenu > li:nth-child(7),
.browserWidth #pmenu > li:nth-child(7) {
  border-radius: 0;
}
.theaterWidth #pmenu li,
.browserWidth #pmenu li {
  padding: 0;
}
nav.stickyNavOn.stickyNav {
  position: fixed;
  top: 0;
  border-top: 0;
  z-index: 998;
}
nav.pageWidth,
nav.stickyNavOn.pageWidth,
nav.navOnTopOn.pageWidth {
  width: 940px;
  margin-left: 30px;
}
nav.browserWidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-1 * ((100vw - 100%) / 2));
}
.stickyNavWrapper nav.stickyNavOn.browserWidth.stickyNav,
nav.navOnTopOn.browserWidth {
  margin-left: calc(-1 * ((100vw - 1000px) / 2));
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /*Using !important to avoid the long and huge number of css selectors for iPad alone*/
  header nav.theaterWidth,
  header nav.browserWidth {
    width: 1000px !important;
    max-width: 1000px !important;
    margin-left: 0px !important;
  }
}
.nav-elite > #brDiv {
  height: 48px;
  margin-bottom: -48px;
  border-radius: 3px;
}
.nav-elite > #brDiv > #grDiv {
  height: 48px;
}
.nav-elite.theaterWidth,
.nav-elite.browserWidth {
  border-radius: 3px;
}
.nav-elite.theaterWidth #pmenu > li,
.nav-elite.browserWidth #pmenu > li {
  height: 38px;
}
.nav-elite.theaterWidth #pmenu li a,
.nav-elite.browserWidth #pmenu li a {
  height: 30px;
}
.nav-elite #pmenu {
  border-radius: 0;
  height: 48px;
  box-shadow: none;
  border: none;
}
.nav-elite #pmenu li a {
  height: 30px;
  line-height: 32px;
}
.nav-elite #pmenu > li {
  padding: 5px;
}
.nav-elite #pmenu > li:first-child {
  border-bottom-left-radius: 3px;
}
.nav-elite #pmenu > li:last-child,
.nav-elite #pmenu > li:nth-child(7) {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}
.nav-elite #pmenu > li a {
  border-radius: 3px;
  width: 115px;
}
.nav-elite #pmenu ul {
  box-shadow: none;
  margin-left: -5px;
  margin-bottom: 0;
  padding-top: 10px !important;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.nav-elite #pmenu ul li:first-child a:before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  border-style: solid;
  top: 5px;
  right: 45%;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid black;
  border-top: none;
}
.nav-elite #pmenu ul li {
  box-shadow: none;
  width: 133px;
}
.nav-elite #pmenu ul li:last-child {
  border-bottom: none !important;
}
.nav-elite #pmenu ul li:last-child,
.nav-elite #pmenu ul li:last-child a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.nav-elite #pmenu ul li a {
  width: 125px;
  padding: 4px;
  text-align: center;
  display: table;
}
.nav-elite #pmenu ul li span {
  display: table-cell;
  vertical-align: middle;
  line-height: 1em;
}
/* Setting the margin-top of mastHead same as navigation height for navigation on top feature */
.navOnTopOnHeader div.flexible,
.navOnTopOnHeader div.edoFeature {
  margin-top: 48px;
}
body.mast-browserWidth .page > header.navOnTopOnHeader .flexible,
body.mast-browserWidth .page > header.navOnTopOnHeader .edoFeature {
  margin-top: 48px;
}

