/* ==========================================================================
   ALDs custom styles
   ========================================================================== */
body {
  color: #333333;
  font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif !important;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
h2, h3, h4, h5, h6 {
  color: #050b7f;
  font-weight: 600;
}

h1 {
  color: #4391ff;
  font-size: 34px;
  margin-bottom: 40px;
}

h2 {
  font-size: 22px;
  margin: 15px 0 20px 0;
}

p {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 18px;
  color: #333333;
}

ul li {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #333333;
}

a {
  color: #050b7f;
}
  a:hover {
    text-decoration: underline;
  }

#header {
  padding: 40px;
}
  #header .logo img {
    max-height: 40px;
  }
  #header .tagline p {
    color: #050b7f;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 24px;
    margin-bottom: 0;
  }

#text-banner {
  background-color: #050b7f;
  overflow: auto;
  padding: 65px 0;
}
  #text-banner .wrapper {
    display: inline-block;
    position: relative;
    padding: 0 70px;
  }
  #text-banner .wrapper:before {
    position: absolute;
    top: -65px;
    left: 0;
    width: 51px;
    height: 104px;
    content: " ";
    background-image: url("https://www.aldautomotive.co.uk/Media_Assets/PublishingImages/ald_mob_line_left.png");
  }
  #text-banner .wrapper:after {
    position: absolute;
    bottom: -65px;
    right: 0;
    width: 51px;
    height: 95px;
    content: " ";
    background-image: url("https://www.aldautomotive.co.uk/Media_Assets/PublishingImages/ald_mob_line_right.png");
  }
    #text-banner .text {
      display: block;
      width: 66%;
      margin: 0 auto;
    }
      #text-banner p {
        font-family: 'Montserrat', sans-serif !important;
      }
      #text-banner .title {
        color: white;
        font-size: 33px;
        font-weight: 800;
        margin-bottom: 0;
      }
      #text-banner .subtitle {
        color: #0bcbfb;
        font-size: 24px;
        font-weight: 600;
      }

#image-banner {
  overflow: hidden;
  max-height: 232px;
}

#main-content {
  padding: 80px 40px;
}

#main-content p {
  margin-bottom: 20px;
}

.container {
  max-width: 990px;
}

.container.large {
  max-width: 1110px;
}

a.btn {
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 45px;
}

.btn.btn-primary,
.badge-primary {
  background-color: #050b7f;
  border: none;
  color: white;
}
.btn.btn-secondary,
.badge-secondary {
  background-color: #0bcbfb;
  border: none;
  color: #050b7f;
}

.btn.btn-tertiary,
.badge-tertiary {
  background-color: #644AF3;
  border: none;
  color: #ffffff;
}

#sidebar a.btn {
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

#footer {
  background-color: #eef3fa;
  padding: 40px;
}
  #footer p.about, #footer address {
    font-size: 13px;
    font-family: 'Source Sans Pro', sans-serif;
    color: #475464;
  }
  #footer ul li {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
  }
    #footer ul li i {
      font-size: 8px;
      font-weight: 600;
      color: #050b7f;
    }
    #footer ul li a {
      color: #050b7f;
    }

.footer-lower {
  padding: 20px 20px 10px 20px;
}
  .footer-lower ul li {
    font-size: 14px;
  }
    .footer-lower ul li a {
      color: #475464;
      padding-right: 15px;
      margin-right: 15px;
      border-right: 1px solid #475464;
    }

#accordion .card {
  border-radius: 0;
  border: none;
  margin-bottom: 20px;
}
  #accordion .card ul li {
    font-size: 18px;
  }
  #accordion .card-header {
    background-color: #eef3fa;
    border: none;
    border-radius: 0;
  }
  #accordion .card-body {
    border: solid #eef3fa;
    border-width: 0 2px 2px 2px;
  }
    #accordion .card-header .btn-link {
      position: relative;
      display: block;
      width: 95%;
      color: #050b7f;
      font-family: 'Montserrat', sans-serif !important;
      font-weight: 600;
      text-align: left;
    }
      #accordion .card-header .btn-link:after {
        content: "\f078";
        font-family: 'Font Awesome\ 5 Free';
        font-weight: 900;
        position: absolute;
        right: -30px;
        top: 0;
        bottom: 0;
      }
      #accordion .card-header .btn-link[aria-expanded="true"]:after {
        content: "\f077";
        font-family: 'Font Awesome\ 5 Free';
        font-weight: 900;
      }
      #accordion .btn.focus, .btn:focus {
        box-shadow: none;
      }

#search_bar_container {
  margin-bottom: 40px;
}
  #search_bar_container .icon {
    z-index: 10;
    color: #4391FF;
    position: absolute;
    left: 20px;
    top: 7px;
  }
    #search_bar {
      border-radius: 25px;
      border: 2px solid #4391FF;
      padding-left: 50px;
    }

#main-blog-content .card {
  border-radius: 0;
  border-color: #EBEBEB;
  padding: 0;
}
  #main-blog-content .blog-post {
    width: 46%;
    margin: 0 2% 4% 2%;
  }
  #main-blog-content .card-img-top {
    border-radius: 0;
    overflow: hidden;
  }

  #main-blog-content .blog-post .card-title {
    font-size: 21px;
  }
  #main-blog-content .card .card-body .meta-container {
    margin-bottom: 20px;
  }
    #main-blog-content .card .card-body .meta-container .category,
    #main-blog-content .card .card-body .meta-container .info {
      display: inline-block;
      vertical-align: middle;
      margin: 0;
    }
    #main-blog-content .card .card-body .meta-container .category {
      margin-right: 10px;
    }
      #main-blog-content .card .card-body .meta-container .info time {
        padding-right: 5px;
      }
      #main-blog-content .card .card-body .meta-container .info span {
        padding-left: 5px;
      }
    #main-blog-content .card .card-body .meta-container .category .badge,
    #blog-sidebar .popular-tags .badge,
    .blog-post-main .meta-container .category .badge a {
      border-radius: 0;
      background: none;
      padding: 2px 5px;
      border: 2px solid #D0D0D0;
    }
    #blog-sidebar .popular-tags .badge {
      margin-bottom: 10px;
    }
      #main-blog-content .card .card-body .meta-container .category .badge a,
      #blog-sidebar .popular-tags .badge a,
      .blog-post-main .meta-container .category .badge a {
        color: #121212;
      }
      #main-blog-content .card .card-body .meta-container .category .badge:hover,
      #blog-sidebar .popular-tags .badge:hover,
      .blog-post-main .meta-container .category .badge a:hover {
        background-color: #e9ecef;
      }
      #main-blog-content .card .card-body .meta-container .category .badge a:hover,
      #blog-sidebar .popular-tags .badge a:hover,
      .blog-post-main .meta-container .category .badge a:hover {
        text-decoration: none;
      }
  #main-blog-content .card .card-footer {
    background-color: #eef3fa;
    border-top: none;
  }

#blog-sidebar .widget-title {
  font-size: 18px;
  margin-bottom: .75rem;
}
  #blog-sidebar .popular-tags {
    margin-bottom: 40px;
  }

#pagination {
  float: none;
  margin: 60px auto 0 auto;
}
  #pagination ul li.active a {
    background-color: #050b7f;
    border-color: #050b7f;
    color: #ffffff;
  }
  #pagination ul li a {
    color: #050b7f;
  }

.blog-post-main h1.blog-title {
  font-size: 60px;
  margin-bottom: 30px;
}
.blog-post-main h2.blog-subtitle {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 30px;
}
.blog-post-content {
  margin-top: 80px;
}
.blog-post-main .meta-container .category .badge {
  margin-bottom: 10px;
}

#vehicle-listings {
  margin-bottom: 40px;
}

#vehicle-listings .card {
  border-radius: 0;
  border-color: #EBEBEB;
  padding: 0;
}
  #vehicle-listings .vehicle,
  #vehicle-listings .card.contact {
    width: 31%;
    margin: 0 1% 2% 1%;
  }
    #vehicle-listings .vehicle.first .image-container {
      background-color: #0BCBFB;
    }
    #vehicle-listings .vehicle.second .image-container {
      background-color: #4391FF;
    }
    #vehicle-listings .vehicle.third .image-container {
      background-color: #44E1C3;
    }
      #vehicle-listings p.featured {
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        margin: 15px 0 0 0;
      }
      #vehicle-listings .vehicle.first p.featured {
        color: #050B7F;
      }
      #vehicle-listings .vehicle.second p.featured {
        color: #ffffff;
      }
      #vehicle-listings .vehicle.third p.featured {
        color: #050B7F;
      }
      #vehicle-listings .vehicle-img {
        display: block;
        margin: 0 auto;
      }
    #vehicle-listings .vehicle .card-title {
      font-size: 21px;
      margin-bottom: 5px;
    }
    #vehicle-listings .vehicle .card-text {
      font-size: 16px;
      margin-bottom: 15px;
    }
    #vehicle-listings .vehicle .features ul {
      margin-bottom: 20px;
    }
    #vehicle-listings .card .card-body .features .badge {
      border-radius: 0;
      background: none;
      padding: 2px 5px;
      border: 2px solid #D0D0D0;
    }
      #vehicle-listings .card .card-body .features .badge a {
        color: #121212;
      }
    #vehicle-listings .vehicle .price {
      max-height: 53px;
      border: 5px solid;
      border-radius: 27px;
      padding: 2px 20px;
    }
    #vehicle-listings .vehicle.first .price {
      border: 5px solid #0BCBFB;
    }
    #vehicle-listings .vehicle.second .price {
      border: 5px solid #4391FF;
    }
    #vehicle-listings .vehicle.third .price {
      border: 5px solid #44E1C3;
    }
    #vehicle-listings .vehicle .price,
    #vehicle-listings .vehicle .finance-info {
      display: inline-block;
    }
      #vehicle-listings .vehicle .price p {
        font-size: 24px;
        font-weight: bold;
        line-height: 36px;
        margin-bottom: 0 !important;
      }
      #vehicle-listings .vehicle .price span {
        font-size: 16px;
        font-weight: 400;
      }
      #vehicle-listings .vehicle .finance-info {
        padding-left: 15px;
      }
        #vehicle-listings .vehicle .finance-info p {
          margin-bottom: 0 !important;
        }
    #vehicle-listings .vehicle .finance-info p {
      font-size: 12px;
    }
    #vehicle-listings .vehicle .finance-info span {
      font-size: 12px;
      font-weight: bold;
    }
    #vehicle-listings .vehicle.first .finance-info span a {
      color: #0BCBFB;
    }
    #vehicle-listings .vehicle.second .finance-info span a {
      color: #4391FF;
    }
    #vehicle-listings .vehicle.third .finance-info span a {
      color: #44E1C3;
    }
    #vehicle-listings .card .card-footer {
      background: none;
      border-top: none;
      padding-top: 0;
    }
      #vehicle-listings .card .card-footer p {
        font-size: 10px;
        margin-bottom: 10px;
      }

.jumbotron.finance-info {
  background-color: #EDF3F9;
  padding: 20px 30px;
  margin: 0 -15px 40px -15px;
}
  .jumbotron.finance-info h1 {
    font-size: 30px;
    margin-bottom: 10px;
  }
  .jumbotron.finance-info p {
    margin-bottom: 0 !important;
  }
  .jumbotron.finance-info .left {
    border-right: 1px solid #D7D7D7;
    padding-right: 30px;
  }
  .jumbotron.finance-info .right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
  }
  .jumbotron.finance-info .right .content {
    align-self: center;
  }
    .jumbotron.finance-info .right .content span,
    .jumbotron.finance-info .right .content p {
      display: inline-block;
      vertical-align: middle;
    }
    .jumbotron.finance-info .right .content span {
      margin-right: 10px;
    }

.vehicle-list-info {
  margin-bottom: 40px;
}

.card.contact .text-container {
  background-color: #80B4FF;
  padding: 1.25rem 1.25rem 2rem 1.25rem;
}
  .card.contact h4 {
    margin-bottom: .5rem;
  }
  .card.contact h4 span {
    color: #ffffff;
  }
  .card.contact .text-container p {
    color: #050B7F;
  }
  .card.contact .contact-body {
    width: 90%;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0 1px 5px 0;
    padding: 1.25rem;
    margin: -30px auto 20px auto;
  }
  .card.contact .contact-body .btn {
    display: block;
  }

.customer-info {
  padding: 1.25rem;
}

.page-extras {
  margin-bottom: 40px;
}

.product-page .key-information,
.product-page .contact-banner {
  margin: 80px 0;
}

.product-page .image-container {
  min-height: 100%;
  padding: 1.25rem;
}
  .product-page .image-container img {
    display: block;
    margin: 0 auto;
  }
  .product-page .featured {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
  }
  .product-page .image-container.colour-one {
    background-color: #0BCBFB;
  }
  .product-page .image-container.colour-two {
    background-color: #4391FF;
  }
  .product-page .image-container.colour-three {
    background-color: #44E1C3;
  }
    .product-page .image-container.colour-one .featured,
    .product-page .image-container.colour-three .featured {
      color: #050B7F;
    }
    .product-page .image-container.colour-two .featured {
      color: #ffffff;
    }

.product-page .finance-info-banner {
  background-color: #EDF3F9;
  padding: 30px;
}
  .product-page .finance-info-banner .section {
    border: solid #DBE1E6;
    border-width: 0 0 1px 1px;
    padding-bottom: 20px;
  }
  .product-page .finance-info-banner .section.no-border {
    border-width: 0 0 0 1px;
    padding-bottom: 0;
  }
    .product-page .finance-info-banner .section p.heading {
      font-size: 12px;
      text-align: center;
    }
    .product-page .finance-info-banner .section p.heading.padding {
      padding-top: 20px;
    }
    .product-page .finance-info-banner .section p.value {
      font-size: 14px;
      color: #121212;
      text-align: center;
    }

.product-page .product-vehicle-body .features .badge {
  border-radius: 0;
  background: none;
  padding: 2px 5px;
  border: 2px solid #D0D0D0;
}
  .product-page .product-vehicle-body .features .features .badge a {
    color: #121212;
  }

.product-page .product-vehicle-body .price-container {
  margin: 30px 0;
}
  .product-page .product-vehicle-body .price {
    max-height: 53px;
    border: 5px solid;
    border-radius: 27px;
    padding: 2px 20px;
  }
  .product-page .product-vehicle-body .price.colour-one{
    border: 5px solid #0BCBFB;
  }
  .product-page .product-vehicle-body .price.colour-two {
    border: 5px solid #4391FF;
  }
  .product-page .product-vehicle-body .price.colour-three {
    border: 5px solid #44E1C3;
  }
  .product-page .product-vehicle-body .price,
  .product-page .product-vehicle-body .finance-info {
    display: inline-block;
  }
  .product-page .product-vehicle-body .price p {
    font-size: 24px;
    font-weight: bold;
    line-height: 36px;
    margin-bottom: 0 !important;
  }
  .product-page .product-vehicle-body.price span {
    font-size: 16px;
    font-weight: 400;
  }

  .product-page .product-vehicle-body .finance-info {
    padding-left: 15px;
  }
  .product-page .product-vehicle-body .finance-info p {
      font-size: 16px;
    }
  .product-page .product-vehicle-body .finance-info span {
      font-size: 16px;
      font-weight: bold;
    }
      .product-page .product-vehicle-body .finance-info.colour-one span a {
        color: #0BCBFB;
      }
      .product-page .product-vehicle-body .finance-info.colour-two span a {
        color: #4391FF;
      }
      .product-page .product-vehicle-body .finance-info.colour-three span a {
        color: #44E1C3;
      }

  .product-page .product-vehicle-body .finance-outline {
    margin-bottom: 30px;
  }

.product-page #accordion {
  margin-bottom: 80px;
}
.product-page .terms {
  margin-top: 80px;
}
.product-page .card.contact .text-container {
  background-color: #80B4FF;
  padding: 1.25rem 1.25rem 2rem 1.25rem;
}
  .product-page .card.contact .text-container p {
    color: #050B7F;
  }
  .product-page .card.contact .contact-body {
    width: 90%;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0 1px 5px 0;
    padding: 1.25rem;
    margin: -30px auto 30px auto;
  }
    .product-page .card.contact .contact-body .btn {
      display: block;
    }

ul li.check {
  list-style-type: none;
}
  ul li.check:before {
    content: "\f00c";
    font-family: FontAwesome;
    padding-right: 10px;
  }

.driver-guide #sidebar .navigation h4 {
  margin-bottom: 30px;
}
.driver-guide #sidebar ul.nav {
  border: 1px solid #EBEBEB;
  margin-bottom: 40px;
}
  .driver-guide #sidebar ul.nav li.nav-item a.nav-link {
    color: #333333;
    border-left: 5px solid transparent;
    padding: 1.25rem;
  }
    .driver-guide #sidebar ul.nav li.nav-item a.nav-link i {
      padding-right: 10px;
    }
    .driver-guide #sidebar ul.nav li.nav-item a.nav-link i.ald {
      color: #80B4FF;
    }
    .driver-guide #sidebar ul.nav li.nav-item a.nav-link.active,
    .driver-guide #sidebar ul.nav li.nav-item a.nav-link:hover {
      background-color: #EDF3F9;
      border-color: #0bcbfb;
    }

.driver-guide .content-area {
  padding-left: 40px;
}
.driver-guide .key-upper {
   margin: 40px 0 10px 0;
 }
.driver-guide .key-lower {
  margin-top: 40px;
}
.driver-guide .card,
.driver-guide .card {
  margin-bottom: 30px;
  padding: 1.25rem;
}
.driver-guide i.blue {
  color: #066CB2;
}
.driver-guide i.green {
  color: #83BE45;
}
.driver-guide i.orange {
  color: #F5842D;
}
.driver-guide i.grey {
  color: #939393;
}
.driver-guide .maintenance-info {
  margin-bottom: 40px;
}
.driver-guide .card .i-container {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  float: right;
  color: #ffffff;
}
  .driver-guide .card .i-container.blue {
    background-color: #066CB2;
  }
  .driver-guide .card .i-container.green {
    background-color: #83BE45;
  }
  .driver-guide .card .i-container.orange {
    background-color: #F5842D;
  }
  .driver-guide .card .i-container.grey {
    background-color: #939393;
  }
  .driver-guide .card .i-container.dark {
    background-color: #121212;
  }

.driver-guide .card a.card-link {
  font-weight: bold;
}
  .driver-guide .card a.card-link:hover {
    text-decoration: underline;
  }
  .driver-guide .card.contact {
    margin-bottom: 40px;
  }
  .driver-guide .alert {
    margin-bottom: 50px;
  }

.driver-guide .dropdown-menu {
  width: 100%;
  border: none;
  padding-left: 30px;
}
  .driver-guide .dropdown-menu.show{
    position: relative !important;
    transform: none !important;
  }

.driver-guide .content-area ul.nav-pills {
  margin-bottom: 40px;
}
  .driver-guide .content-area ul.nav-pills li.nav-item a.nav-link {
    color: #333333; 
  }
    .driver-guide .content-area ul.nav-pills li.nav-item a.nav-link.active {
      background-color: #EDF3F9;
    }
      .driver-guide .content-area ul.nav-pills li.nav-item a.nav-link i {
        margin-left: 10px;
        color: #939393;
      }

.driver-guide table {
  margin-bottom: 40px;
}


#text-banner .with-image.driver-guide {
  background-size: cover;
}

@media (max-width: 992px) {
  #blog-sidebar .popular-posts {
    display: none;
  }

  .jumbotron.finance-info {
    text-align: center;
  }
  .jumbotron.finance-info .left {
    border-right: none;
    margin-bottom: 20px;
  }

  #vehicle-listings .vehicle {
    width: 48%;
    margin: 0 1% 2% 1%;
  }

  #vehicle-listings .card.contact {
    width: 100%;
  }

  .driver-guide .content-area {
    padding-left: 15px;
  }

  #sidebar .alert,
  #sidebar .card p.card-text {
    display: none;
  }

  #sidebar a.btn {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  #header .logo {
    margin-bottom: 20px;
  }
  #header .tagline p {
    text-align: left;
  }

  .footer-lower .socgen {
    margin-bottom: 20px;
  }

  #accordion {
    margin-bottom: 50px;
  }

  #main-blog-content article,
  #vehicle-listings .vehicle {
    margin-bottom: 20px;
  }

  #main-content {
    padding: 40px;
  }

  #main-blog-content .blog-post {
    width: 100%;
    margin-bottom: 20px;
  }

    #blog-sidebar .popular-posts {
      display: none;
    }

  .product-page .product-vehicle-body {
    margin-top: 30px;
  }

  .product-page .finance-info-banner  {
    margin-bottom: 30px;
  }
    .product-page .finance-info-banner .section {
      border-left: none;
    }
    .product-page .finance-info-banner p.heading {
      padding-top: 20px;
    }

    #sidebar .alert,
    #sidebar .card p.card-text {
      display: none;
    }

    #sidebar a.btn {
      margin-bottom: 0;
    }
}

@media (max-width: 700px) {
  #vehicle-listings .vehicle {
    width: 100%;
    margin: 0 0 4% 0;
  }
}
