/* Custom Button section */
@media (max-width: 640px) {
  #custom-buttons .col-xs-4 {
    width: 100%;
  }
}

#custom-buttons .custom-button-wrap {
  background-color: #ffffff;
  border-radius: 6px;
  transition: all .2s ease-in-out;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  -webkit-backface-visibility: hidden;
}

#custom-buttons .custom-button-wrap:hover {
  background-color: #000000;
}

#custom-buttons .custom-button-wrap:hover img {
  opacity: 0.9;
}

#custom-buttons .custom-button-wrap img {
  opacity: 1;
}

/* interior pages - hudson-toyota, hudson-nissan & hudson-chrysler-jeep-dodge */
@media (min-width: 1200px) {
  .page-logo {
    width: 90% !important;
  }
}

@media (max-width: 767px) {
  #custom-page-wrap address {
    text-align: center;
  }
}

/* homepage custom map */
@media (max-width: 767px) {
  #homepage-custom-map .col-sm-4:not(:last-child) {
    margin-bottom: 30px;
  }
}

#homepage-custom-map address {
  font-size: 14px !important;
}

/* header mods */
.sticky-header #primary-menu .container-fullwidth {
  margin: 0 auto;
  max-width: 1600px;
}

@media (max-width: 991px) {
  #top-bar-v2, #top-bar-v2 .container-fullwidth, #top-bar-v2 #tb-custom-1,
  #top-bar-v2 .col-md-12, #top-bar-v2 .row,  #top-bar-v2 .button {
      padding: 0 !important;
      margin: 0 !important;
  }
  #top-bar-v2 #tb-item-left {
    display: none;
  }
  #top-bar-v2 #tb-custom-1 .button {
    border-radius: 0;
    width: 100%;
  }
}

#header.sticky-style-2 {
  height: auto;
}

#header #header-page-logo img {
  height: 90px;
}

#header #header-page-logo + div {
  margin-top: -10px !important;
}

#header > .container-fullwidth {
  padding: 0 0 20px;
}

.header-oem-logos {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.header-oem-logos li {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  flex-grow: 1;
  list-style: none;
  text-align: center;
}

.header-oem-logos li img {
  width: 100%;
  max-width: 75px;
  height: auto;
}

@media (max-width: 991px) {
  #primary-menu-trigger,
  #side-panel-trigger {
    background-color: transparent;
    top: 50%;
    transform: translateY(-50%);
  }
  .header-oem-logos {
    padding: 3px 0;
  }
  #header #header-page-logo img {
    width: 50%;
    height: auto;
  }
}

#primary-menu {
  background-color: #000;
}

#primary-menu > div > ul > li a,
body.side-panel-left #side-panel #primary-menu ul li a {
  color: #eee;
  font-weight: 400;
}

#primary-menu > div > ul > li:hover a {
  color: #fff;
}

#primary-menu > div > ul > li.current a {
  color: #fff;
}

#primary-menu.style-2 {
  border-top: 0;
}
