html {
  scroll-behavior: smooth;
}
#main_header + main.service-container {
  padding-top: 15px;
}
main.service-container p a:hover:not(.button) {
  color: white;
}
.service-container .container-fluid {
  max-width: 2000px;
  padding: 0;
}
.service-container #tirelocator .container-fluid {
  max-width: 1470px;
  padding: 0;
}
@media only screen and (min-width: 1200px) {
  .container {
    max-width: 1500px;
  }
}
.service-container .hero-section {
  height: 640px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
@media only screen and (max-width: 768px) {
  .service-container .hero-section {
    height: auto;
  }
}
.service-container .hero-content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  flex-direction: column;
}
.service-container .hero-content h2,
.service-container .hero-content h3,
.service-container .hero-content p {
  color: white;
  font-weight: 300;
  text-align: center;
}
.service-container .hero-content a.btn {
  color: #000;
  background-color: #fff;
  margin-top: 5px;
}

.service-container section.ctas-section.dark {
  background-color: #c8c8ca;
}

.service-container section.header-section a.btn,
.service-container section.header-section .inner-menu .call-cta {
  min-width: 230px;
}
@media only screen and (max-width: 768px) {
  .service-container section.header-section a.btn,
  .service-container section.header-section .inner-menu .call-cta {
    min-width: auto;
  }
}
.service-container section.header-section .upper,
.service-container section.header-section .inner-menu > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.service-container section.header-section h2 {
  margin: 0;
  color: #58595b;
}
.service-container section.header-section .inner-menu {
  background-color: #2b2b2b;
  color: #fff;
}
.service-container section.header-section .inner-menu a {
  color: #fff;
}
.service-container section.header-section .inner-menu .call-cta {
  background-color: #53565b;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  padding: 5px;
}
.service-container section.header-section .inner-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.service-container section.header-section .inner-menu li {
  float: left;
  text-transform: uppercase;
  border-right: 1px solid #fff;
  margin: 8px 0;
  padding: 0 10px;
  line-height: 1;
}
.service-container section.header-section .inner-menu li:first-child {
  padding-left: 0;
}
.service-container section.header-section .inner-menu li:last-child {
  border-right: none;
}
@media only screen and (max-width: 768px) {
  .service-container section.header-section .inner-menu > div {
    flex-direction: column;
    align-items: center;
  }
  .service-container section.header-section .inner-menu ul {
    width: 100%;
    list-style: none;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin: 15px 0;
  }
  .service-container section.header-section .inner-menu li {
    border-right: none;
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .service-container section.header-section .inner-menu .call-cta {
    width: 100%;
  }
}

.service-container section {
  padding: 60px 0;
}
.service-container section h1 {
  text-transform: uppercase;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.service-container section.grey {
  background-color: #f5f5f5;
}
.service-container section .content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.service-container section .content h2 {
  text-align: center;
}
.service-container section .content p,
.service-container section .content h2 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.service-container .tiles-section {
  padding: 60px 0;
}
.service-container .tiles-section h1 {
  text-align: center;
}
.service-container .tiles-section .ctas-list .row > div {
  background-color: #f4f4f4;
}
.service-container .tiles-section .ctas-list:not(.no-shadow) .row > div {
  box-shadow: inset 0 29px 18px -19px rgb(0 0 0 / 40%);
}
.service-container .tiles-section .ctas-list .cta-content {
  text-align: center;
  background-color: transparent;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.service-container .ctas-list .cta-content h1,
.service-container .ctas-list .cta-content h2 {
  text-transform: uppercase;
  font-weight: 300;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.service-container .tiles-section .ctas-list .cta-img {
  min-height: 500px;
}
.service-container .tiles-section .ctas-list:not(.no-shadow) .cta-img {
  box-shadow: inset 0 29px 18px -19px rgb(0 0 0 / 40%);
}

.service-container .tiles-section .ctas-list .cta-img.yt_video::before {
  content: '';
  width: 50px;
  height: 50px;
  background-color: rgba(255,255,255,0.6);
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 25px);
  left: calc(50% - 25px);
  border: 2px solid white;
}

.service-container .tiles-section .ctas-list .cta-img.yt_video::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 15px solid white;
  border-bottom: 10px solid transparent;
  border-top: 10px solid transparent;
  margin-left: 2px;
  position: absolute;
  top: calc(50% - 10px);
  left: calc(50% - 7px);
}

.yt-modal .modal-body {
  padding: 0;
}
.yt-modal button.close {
  text-align: right;
  color: white;
}
.yt-modal .modal-dialog {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: auto;
}
@media(max-width: 768px) {
  .yt-modal .modal-dialog {
  min-height: calc(100vh - 20px);
}
}


.service-container .card {
  flex-direction: row;
  align-items: center;
  border-radius: 0;
  border: none;
}
.service-container .card img {
  width: 30%;
  border-radius: 0;
}
.service-container .card .card-body .card-content {
  max-width: 600px;
  margin: 0 auto;
}
.service-container .card .card-body .card-content h2,
.service-container .card .card-body .card-content h3 {
  padding-left: 5rem;
  padding-right: 5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.service-container .card .card-body .card-content h3 {
  color: #000;
  font-weight: 300;
}
@media only screen and (max-width: 990px) {
  .service-container .card .card-body .card-content h2,
  .service-container .card .card-body .card-content h3 {
    padding-left: inherit;
    padding-right: inherit;
  }
  .service-container .card-body .card-text {
    margin: 0;
  }
  .service-container .card img {
    width: 50%;
  }
}
@media only screen and (max-width: 768px) {
  .service-container .card {
    flex-direction: column-reverse;
  }
  .service-container .card img {
    width: 100%;
    max-height: 300px;
  }
  .service-container .card-body {
    padding: 3em 1em;
  }
}

.service-container ul.offers {
  padding-right: 15px;
  padding-left: 15px;
  list-style: none;
  margin: 0 auto;
  width: 100%;
}
.service-container ul.offers li {
  float: left;
  width: calc(25% - 20px);
  height: 115px;
  padding: 10px;
  line-height: 1;
  text-align: center;
  background-color: #f5f5f5;
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-transform: uppercase;
}
.service-container ul.offers li a {
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.service-container ul.offers li:nth-child(4n) {
  margin-right: 0px;
  width: calc(25% - 10px);
}
.service-container ul.offers li:nth-child(4n + 1),
.service-container ul.offers li:first-child {
  margin-left: 0px;
  width: calc(25% - 10px);
}
@media only screen and (max-width: 768px) {
  .service-container ul.offers li {
    width: calc(50% - 20px);
  }
  .service-container ul.offers li:nth-child(4n),
  .service-container ul.offers li:nth-child(2n) {
    margin-right: 0px;
    width: calc(50% - 10px);
  }
  .service-container ul.offers li:nth-child(4n + 1),
  .service-container ul.offers li:nth-child(2n + 1),
  .service-container ul.offers li:first-child {
    margin-left: 0px;
    width: calc(50% - 10px);
  }
}
@media only screen and (max-width: 468px) {
  .service-container ul.offers li {
    padding: 5px 10px;
  }
}

.service-container section.video {
  background-image: url('../img/mazda-services/video-bg.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.service-container section.video .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 560px) {
  .service-container section.video iframe {
    width: 100% !important;
    height: auto;
  }
}

.service-container .history .text {
  padding: 1rem 2.5rem 0;
  overflow-y: auto;
  height: 317px;
  box-shadow: inset 0 14px 26px -6px rgb(0 0 0 / 40%);
}
.service-container .history .img img {
  height: 317px;
  width: 100%;
}

.service-container .history .text h3 {
  color: #000;
  font-weight: 300;
  text-align: center;
  margin-bottom: 1rem;
}
.service-container .join-us h4 {
  color: #000;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.service-container .join-us .address-row {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-container #service-form,
.service-container #tirelocator {
  background-color: #f4f4f4;
}
@media only screen and (max-width: 768px) {
  .service-container .history .text {
    padding-right: 15px;
    padding-left: 15px;
    overflow-y: visible;
    height: auto;
    box-shadow: none;
  }
  .service-container .history .img img {
    height: auto !important;
  }
}
@media all and (min-width: 769px) and (max-width: 991px) {
  .service-container .history .text,
  .history .img img {
    height: 200px !important;
  }
}
@media all and (min-width: 992px) and (max-width: 1200px) {
  .service-container .history .text,
  .history .img img {
    height: 265px !important;
  }
}
.service-container .join-us .maps {
  display: flex;
  justify-content: center;
}


div.history div.text::-webkit-scrollbar {
  -webkit-appearance: none;
}
div.history div.text::-webkit-scrollbar:vertical {
  width: 11px;
}
div.history div.text::-webkit-scrollbar:horizontal {
  height: 11px;
}
div.history div.text::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 2px solid white; /* should match background, can't be transparent */
  background-color: rgba(0, 0, 0, 0.5);
}
.service-container .join-us table.hours_table {
  margin: 0 auto;
  min-width: 200px;
}
.service-container .join-us table.hours_table tr td:nth-child(2) {
  text-align: right;
}
.service-container .join-us .visit-us .address a {
  color: #000 !important;
}
.service-container .join-us .visit-us .address a:hover {
  color: #000 !important;
  text-decoration: underline;
}

.service-container section.reviews {
  background-image: url('../img/mazda-services/reviews-bg.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
}
.service-container section.reviews .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.service-container section.reviews div.review {
  max-width: 750px;
  background: #53565b85;
  color: #fff;
  text-align: center;
  margin: 0 auto;
}
.service-container section.reviews a.btn {
  color: #000;
  background-color: #fff;
}
.service-container section.reviews .stars{
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}
.service-container section.reviews #author {
  text-transform: uppercase;
  font-size: 1rem;
}
.service-container section.reviews .carousel-control-prev, 
.service-container section.reviews .carousel-control-next {
  background: transparent;
}

.service-container section.promotions {
  background: #e6e7e8;
}
.service-container section.promotions  .row{
  justify-content: center;
}
.service-container section.promotions  .promotion .promotion_content {
  background: #fff;
  padding-bottom: 1px;
}

.service-container #service-form h2,
.service-container #tirelocator h2 {
  text-align: center;
}
