/* MapBox specific styles */
.mapboxgl-popup {
  max-width: 400px;
  font-size: 12px;
  line-height: 1.5em;
}

.mapboxgl-popup h3 {
  font-size: 14px;
  margin: 0 0 0.3em;
  color: #111;
  text-align: left;
}

.mapboxgl-popup p {
  margin: 0;
}

.mapboxgl-canvas-container {
  height: 400px;
}

.map-container {
  background-color: #cad2d3;
}

#map {
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  #map:before {
    content: ' ';
    display: block;
    height: 400px;
    width: 200px;
    pointer-events: none;
    position: absolute;
    z-index: 1;
    background: -webkit-linear-gradient(left, #cad2d3 0%, rgba(202, 210, 211, 0) 100%);
    background: linear-gradient(to right, #cad2d3 0%, rgba(202, 210, 211, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cad2d3', endColorstr='#00cad2d3',GradientType=1 );
  }
  #map:after {
    content: ' ';
    display: block;
    height: 400px;
    width: 200px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    background: -webkit-linear-gradient(left, rgba(202, 210, 211, 0) 0%, #cad2d3 100%);
    background: linear-gradient(to right, rgba(202, 210, 211, 0) 0%, #cad2d3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00cad2d3', endColorstr='#cad2d3',GradientType=1 );
  }
}

/* resetting template colors specifically for the dealer locator */
#t-interior2 .l-hero .hero {
  margin: 0 auto;
  text-align: center;
  max-width: 100%;
  line-height: 0;
  position: relative;
}

#t-interior2 .l-hero .hero img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: 1180px;
  height: auto;
}

#t-interior2 .l-hero .hero div.tab-items {
  position: absolute;
  bottom: -115px;
  left: 0;
  right: 0;
}

#t-interior2 .l-hero .hero ul.tab-items {
  list-style-type: none;
  padding: 0;
}

#t-interior2 .l-hero .hero ul.tab-items li {
  width: 100%;
  padding: 0.5em 1em;
  background-color: #000;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

#t-interior2 .l-hero .hero ul.tab-items li.tab-selected {
  background-color: #f38a00;
  color: #000;
}

@media (min-width: 768px) {
  #t-interior2 .l-hero .hero div.tab-items {
    width: 520px;
    bottom: -80px;
    right: 50%;
    left: auto;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
  }
  #t-interior2 .l-hero .hero ul.tab-items {
    margin: 0;
    display: inline-block;
  }
  #t-interior2 .l-hero .hero ul.tab-items li {
    display: inline-block;
    width: 260px;
  }
}

#t-interior2 .e-content {
  background-color: #f38a00;
}

#t-interior2 .l-hero {
  background-color: #000;
}

#t-interior2 .e-main-content .l-intro .box-wc,
#t-interior2 .e-main-content .l-column1 .box-wc {
  padding: 40px 20px;
}

#t-interior2 .e-main-content .l-intro {
  background-color: #fff;
  color: #000;
  padding-top: 0;
}

#t-interior2 .e-main-content .l-intro .intro {
  max-width: 520px;
  margin: 0 auto;
}

#t-interior2 .e-main-content .l-column1 {
  background-color: transparent;
  color: #000;
}

h2 {
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  margin: 14px 0;
}

@media (min-width: 768px) {
  h2 {
    font-size: 32px;
  }
}

h3 {
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
  margin: 14px 0;
  color: #fff;
}

@media (min-width: 768px) {
  h3 {
    font-size: 26px;
  }
}

h4 {
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  text-align: left;
  margin: auto;
  color: #fff;
}

@media (min-width: 768px) {
  h4 {
    font-size: 15px;
  }
}

.dealer-list {
  text-transform: uppercase;
  line-height: 1.75em;
}

.dealer-list h2,
.dealer-list h3,
.dealer-list h4 {
  text-align: left;
}

.dealer-list .country-heading {
  margin-bottom: 0.75em;
}

.dealer-list .country-heading h3 {
  margin: 0.75em 0 0;
}

.dealer-list .dealer {
  margin-bottom: 1em;
}

.dealer-list .dealer .name a:hover {
  text-decoration: underline;
}

.dealer-list a {
  color: #000;
}

.dealer-list a:hover {
  font-weight: 600;
}

/* -- adding padding to top of the listing & fixing the country headings so that they don't throw off the alignment */
.freemarker.dealers:first-child {
  margin-top: 20px;
}

.freemarker.dealers:first-child .dealer-list .country:first-child .country-heading h3 {
  margin: 0;
}

@media (min-width: 768px) {
  .dealer-list {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-width: 300px;
    -moz-column-width: 300px;
    column-width: 300px;
  }
  .dealer-list .united-states .dealer-country {
    display: none;
  }
  .country-heading,
  .state,
  .state-heading,
  .dealer {
    display: inline-block;
    vertical-align: top;
    min-width: 300px;
    max-width: 400px;
  }
  .dealer {
    padding-right: 80px;
  }
}
/* HORIZONTAL / HORIZ. PERSISTENT CSS --------------- */
ul.menubeanh,
ul.menubeanh-persistent {
  list-style: none;
  position: relative;
  overflow: visible;
}
ul.menubeanh,
ul.menubeanh ul,
ul.menubeanh-persistent,
ul.menubeanh-persistent ul {
  padding: 0;
  margin: 0;
  list-style: none;
  /* background-color: #fff;  IE Requires a background color. */
}
ul.menubeanh li,
ul.menubeanh-persistent li {
  float: left;
  position: relative;
  list-style: none;
  /*
  	width: 8em;
	overflow: visible;
	*/
}
ul.menubeanh li ul,
ul.menubeanh-persistent li ul {
  display: none;
  position: absolute;
  top: 1.2em; /* IE */
  left: 0; /* IE */ /* background-color: #fff;  IE Requires a background color. */
}
ul.menubeanh > li > ul,
ul.menubeanh-persistent > li > ul {
  top: auto; /* Non-IE */
  left: auto; /* Non-IE */
}
/* (sub-)submenus */
ul.menubeanh ul,
ul.menubeanh ul ul,
ul.menubeanh ul ul ul,
ul.menubeanh-persistent ul,
ul.menubeanh-persistent ul ul,
ul.menubeanh-persistent ul ul ul {
  position: absolute;
  top: 0;
  left: 95%;
}
/* Interactive lines: show/hide menus */
ul.menubeanh li.over ul ul,
ul.menubeanh li.over ul ul ul,
ul.menubeanh-persistent li.over ul ul,
ul.menubeanh-persistent li.over ul ul ul {
  display: none;
}
ul.menubeanh li.over ul,
ul.menubeanh ul li.over ul,
ul.menubeanh ul ul li.over ul,
ul.menubeanh-persistent li.over ul,
ul.menubeanh-persistent ul li.over ul,
ul.menubeanh-persistent ul ul li.over ul {
  display: block;
}

/* VERTICAL CSS --------------- */
ul.menubeanv,
ul.menubeanv-persistent,
ul.menubeanv ul,
ul.menubeanv-persistent, ul {
  /* background-color: #fff;  IE requires a background color. */
}
ul.menubeanv li,
ul.menubeanv-persistent li {
  position: relative;
  /* background-color: #fff;  IE requires a background color. */
}
ul.menubeanv li ul {
  display: none;
  position: absolute;
  top: 2px; /* IE */
  left: 6em; /* IE */ 
  /* background-color: #fff;  IE requires a background color. */
}
ul.menubeanv li:hover ul,
ul.menubeanv li.over ul {
  display: block;
}

ul.menubeanv-persistent li.mi-parent {
  cursor: pointer;
}
ul.menubeanv-persistent li ul {
  display: none;
}
ul.menubeanv-persistent li.over ul {
  display: block;
}
