/* Core template additions */
.navbar-toggler, .navbar-toggler:focus {
    outline: none;
    order: 0 !important;
    box-shadow: none !important;
  }
}

.module_review .review {
  transform: rotate(8deg);
  top:25%;
  filter: drop-shadow(0 0 0.4rem #333333);

  --y: 0px;
  --s: 1;
  --o: 1;

  --tilt: 0deg;

  transform: translateY(var(--y)) scale(var(--s)) rotate(var(--tilt));
  opacity: var(--o);

  transition: transform 0.45s ease, opacity 0.45s ease;
}

.cm_hero_float_left {
  left:-10px;
  top:20%;
  width:25vw;
  max-width:450px!important;
}

.cm_hero_float_right {
  right:-10px;
  top:20%;
  width:25vw;
  max-width:450px!important;
}

@media (max-width: 991.99px) {
  .cm-enquiry-style3-head {
    height:350px!important;
  }
  .cm-enquiry-style3-left {
    margin-top:-190px;
  }
}

@media (min-width: 767.99px) and (max-width: 991.99px) {
  .cm-enquiry-style3-right {
    margin-top:-190px;
  }
}

@media (min-width: 992px) {
  .cm-enquiry-style3-left {
    margin-top:auto;
  }
  .cm-enquiry-style3 {
    margin-top:-450px;
  }
}

/* ************ */
/* Template css */
/* ************ */

h3 {
  font-weight: 600;
}

h4 {
  font-weight: 600;
}

b, strong {
  font-weight: 700;
}

.cm-vehicle-result b, .cm-vehicle-result strong {
  font-weight: 600;
}

.input-group-text, .form-control {
  border: 0.5px solid #f1f1f1!important;
  background-color: transparent!important;
}

.form-control, .bootstrap-select .btn-light {
  padding-left:8px;
}

.module_vehicle_enquiry_form .form-label, .module_vehicle_enquiry_form .form-text,
.module_vehicle_reservation_form .form-label, .module_vehicle_reservation_form .form-text,
.module_valuation_form .form-label, .module_valuation_form .form-text,
.module_valuation_checkout .form-label, .module_valuation_checkout .form-text,
.module_contact_form .form-label, .module_contact_form .form-text,
.module_vehicle_search_finance .form-label, .module_vehicle_search_finance .form-text,
.module_hero_valuation .form-label, .module_hero_valuation .form-text,
.module_vehicle_checkout .form-label, .module_vehicle_checkout .form-text,
.module_vehicle_seo .form-label, .module_vehicle_seo .form-text {
  padding-left:8px;
  font-size:0.8em;
  opacity: 0.8;
}

.module_vehicle_enquiry_form .input-group-text, .module_vehicle_enquiry_form .form-control,
.module_vehicle_reservation_form .input-group-text, .module_vehicle_reservation_form .form-control,
.module_valuation_form .input-group-text, .module_valuation_form .form-control,
.module_valuation_checkout .input-group-text, .module_valuation_checkout .form-control,
.module_contact_form .input-group-text, .module_contact_form .form-control,
.module_vehicle_search_finance .input-group-text, .module_vehicle_search_finance .form-control,
.module_hero_valuation .input-group-text, .module_hero_valuation .form-control,
.module_vehicle_checkout .input-group-text, .module_vehicle_checkout .form-control ,
.module_vehicle_seo .input-group-text, .module_vehicle_seo .form-control {
  border: 0px!important;
}

.module_vehicle_enquiry_form .cm-radio-toggle > div:first-of-type,
.module_vehicle_reservation_form .cm-radio-toggle > div:first-of-type,
.module_valuation_form .cm-radio-toggle > div:first-of-type,
.module_valuation_checkout .cm-radio-toggle > div:first-of-type,
.module_contact_form .cm-radio-toggle > div:first-of-type,
.module_vehicle_search_finance .cm-radio-toggle > div:first-of-type,
.module_hero_valuation .cm-radio-toggle > div:first-of-type,
.module_vehicle_checkout .cm-radio-toggle > div:first-of-type,
.module_vehicle_seo .cm-radio-toggle > div:first-of-type {
  margin-left:8px;
}

.module_valuation_form .form-check {
  margin-left:8px;
}

.module_vehicle_checkout, .module_vehicle_seo {
  div:has(> .form-label):not(.cm_vehicle_search_button) {
    border:1px solid #dee2e6;
    padding:16px;
    border-radius: 25px;
  }
}

.module_vehicle_checkout {
  div:has(> .form-label) b {
    margin-left: 8px;
    display: inline-block;
  }
  .primary-bg {
    background-color: #efefef!important;
    color: #2e2e2e!important;
  }
  .primary-bg-text {
    color: #2e2e2e!important;
  }

  .primary-bg {
    h1, h2, h3, h4, h5, span, b, td {
      color: #2e2e2e!important;
    }
  }
}

.module_vehicle_seo_search {
  .form-label {
    display: none!important;
  }
} 

/* Nav styles */

.cm_float_nav {
  border-radius:40px;
  position: relative;
  //box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.cm_float_nav .dropdown-menu .container {
  border-radius: 40px;
}

.navigation-browse-menu-container {
  border-radius:40px; 
  border:1px solid #ddd;
}

.navigation-browse-menu-container .nav, .navigation-browse-menu-container .nav-link, .navigation-browse-menu-container .nav-item {
  border-radius: 0px!important;
}


.body-bg .dropdown-menu, 
.primary-bg .dropdown-menu,
.secondary-bg .dropdown-menu,
.palette-bg-1 .dropdown-menu,
.palette-bg-2 .dropdown-menu,
.palette-bg-3 .dropdown-menu,
.palette-bg-4 .dropdown-menu,
.palette-bg-5 .dropdown-menu,
.palette-bg-6 .dropdown-menu,
.palette-bg-7 .dropdown-menu,
.palette-bg-8 .dropdown-menu,
.palette-bg-9 .dropdown-menu,
.palette-bg-10 .dropdown-menu, .modal-content {
  border-radius: 10px !important;
}

.dropdown-menu .drowdown-item:focus {
  background-color: #560aa0;
  color: #ffffff;
}

@media (max-width: 992px) {
  .cm_float_nav::before,.cm_float_nav::after {
    content:"";
    position:absolute;
    z-index:-1;
    top:0;
    left:0;
    right:0;
    bottom:0;
  }
}

@media (min-width: 992px) {
  .cm_float_nav::before,.cm_float_nav::after {
    content:"";
    position:absolute;
    z-index:-1;
    top:0;
    left:0;
    right:0;
    bottom:0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 56% 100%, 55% 85%, 45% 85%, 44% 100%, 0 100%);
  }

  .cm_float_nav, .cm_float_nav::after, .cm_float_nav .dropdown-menu .container, .navigation-browse-menu-container {
    border-radius: 46px!important;
  }

}

.cm_float_nav::after {
  background-color: #021644;
  border-radius:40px;
}

@media (max-width: 991.999px) {
  .cm_float_nav .dropdown-menu a.nav-link.active {
    background-color: #f6f6f6;
    border-radius:0px!important;
  }
}

.cm-nav-arrow {
  background-image: url(data:image/svg+xml,%3Csvg%20height%3D%2240%22%20width%3D%2240%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2050%2050%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%23231f20%22%20d%3D%22M15.563%2040.836a.997.997%200%200%200%201.414%200l15-15a1%201%200%200%200%200-1.414l-15-15a.999.999%200%201%200-1.414%201.414l14.293%2014.293-14.293%2014.293a1%201%200%200%200%200%201.414%22%2F%3E%3C%2Fsvg%3E);
  background-repeat: no-repeat;
  background-position: right;
}

/*.cm-nav-arrow.active {
  background-image: url(data:image/svg+xml,%3Csvg%20height%3D%2240%22%20width%3D%2240%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2050%2050%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M15.563%2040.836a.997.997%200%200%200%201.414%200l15-15a1%201%200%200%200%200-1.414l-15-15a.999.999%200%201%200-1.414%201.414l14.293%2014.293-14.293%2014.293a1%201%200%200%200%200%201.414%22%2F%3E%3C%2Fsvg%3E);
}*/


.cm_float_nav .dropdown-menu {
  position: relative;
  border:0!important;
}

@media (min-width: 992px) {
  .cm_float_nav .dropdown-menu {
    position: absolute;
    top:50px;
    margin-top:25px;
  }
}

.navigation-browse-menu {
  width:100%!important;
  max-width:2200px!important;
  max-height:80vh!important;
}

.navigation-browse-menu.not-rounded {
  border-radius:0px!important;
}

.navigation-browse-menu .btn-fill {
  background-color: #021644!important;
  border:0px!important;
  color: #ffffff!important;
}

.navigation-browse-menu .btn-fill-accent {
  background-color: #e53167!important;
  border:0px!important;
  color: #ffffff!important;  
}

.navbar-brand img {
  max-width:200px;
  max-height:50px!important;
  width:100%!important;
}

@media (min-width: 992px) {
  .navbar-brand img {
    max-width:200px;
    max-height:50px!important;
    width:100%!important;
  }
}

#cm_vehicle_tab .nav-link {
  //border-radius: 0px!important;
}

#cm_vehicle_tab .nav-link.active {
  background-color: #f6f6f6!important;
  color: #2e2e2e!important;  
}

.cm-plate-input-field,
.cm-plate-input-field:hover,
.cm-plate-input-field:focus,
.cm-plate-input-field:active,
.cm-plate-input-field:-webkit-autofill,
.cm-plate-input-field:-webkit-autofill:hover,
.cm-plate-input-field:-webkit-autofill:focus,
.cm-plate-input-field:-webkit-autofill:active  {
  background-color: #FFC858!important;
  background: linear-gradient(90deg,rgba(0, 84, 166, 1) 0%, rgba(0, 84, 166, 1) 25px, rgba(255, 200, 88, 1) 25px, rgba(255, 200, 88, 1) 100%);
  padding-left: 32px;
  border: 0px;
}

.cm-plate-input-field {
  display: inline-block;
}

.cm-plate-input-field::after {
  display: inline-block;
  content: 'test';
  background-color: #0054A6;
}

/* Module styles */

.module_vehicle_search_result__accordion-filters .accordion-button {
  padding: 10px;
}

.module_vehicle_search_result__accordion-filters .accordion-body {
  padding-top:2px;
}

.module_vehicle_search_result__accordion-filters label {
  padding-left:10px;
}

.module_vehicle_search_result__accordion-filters .btn-light {
  padding: 10px 10px;
}

#cm_vinfo_t2_contentselect {
   background-color: #021644;
}

.cm_vinfo_t2_contentselect_wrap .btn-light, .bootstrap-select .btn-light {
  border-radius:10px!important;
  background-color: transparent!important;
  border:0!important;
  font-weight: 700;
}

.cm_t2_vinfo_button:nth-of-type(1) a {
  color: #f6f6f6;
  border-color: #560aa0;
  background-color: #560aa0;
}

.cm_t2_vinfo_button:nth-of-type(2) a {
  color: #f6f6f6;
  border-color: #610b75;
  background-color: #610b75;
}

.cm_vehicle_information_media i.cm_vehicle_tool_compare:not(.position-relative) {
  margin-left:-75px!important;
}

.cm_vehicle_information_media i.cm_vehicle_tool_favourite:not(.position-relative) {
  margin-left:-44px!important;
}

.module_contact_form label {
  padding-left:12px;
}

.cm_captcha .form-control {
  border:1px!important;
  border-radius: 15px!important;
}

.cm_search_block {
  border-radius: 25px!important;
  outline: 6px solid rgba(255,255,255,0.15);
}

.cm_search_block .bootstrap-select {
  border:1px solid rgb(220,220,220)!important;
  border-radius:25px!important;
  padding:15px!important;
}

#cm_vehicle_search:not(.module_vehicle_seo_search #cm_vehicle_search2) {
  padding-top:22px;
  padding-bottom:22px;
  border-radius:35px!important;
}

.module_hero_valuation .btn {
  border-radius: 35px!important;
  font-weight:bold;
}

.module_social_post h3 {
  text-align: left;
}

.module_review h3 {
  font-size:1.0rem;
  font-weight:normal;
}

.module_review_style_2 p {
  margin:0px;
}

@media (max-width: 575.99px) {
  .module_review_style_2 .review-stack {
    transform: scale(0.9);
  }
}

.module_new_arrivals_content h3.mt-4, .module_vehicle_related_content h3.mt-4 {
 // font-size:3.0rem!important;
}

.module_new_arrivals_content p, .module_vehicle_related_content p {
  padding-bottom:2em;
}

.module_new_arrivals_content, .module_vehicle_related_content {
  padding-left:1em;
  padding-right:1em;
}

.module_new_arrivals_content .f-carousel__row .f-carousel__viewport, .module_vehicle_related_content .f-carousel__row .f-carousel__viewport {
  margin-left: -24px;
  margin-right: -24px;
  width: calc(100% + 48px) !important;
}

.module_new_arrivals_content .f-carousel__row .f-carousel__slide, .module_vehicle_related_content .f-carousel__row .f-carousel__slide {
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 992px) {
  .module_new_arrivals_content, .module_vehicle_related_content {
    padding-left:3em;
    padding-right:3em;
  }
}

.module_valuation_form input[type="submit"].cm_module_contact_form,
.module_valuation_form button.cm_module_contact_form {

  border-radius: 35px!important;
}

.cm-enquiryform-checkboxes .btn-check:active+.btn-outline-accent,
.cm-enquiryform-checkboxes .btn-check:checked+.btn-outline-accent {
  color:white;
  background-color: #08a7b9;
  border:0!important;
}

.cm_vehicle_information_highlight div.rounded-circle {
  border-color: black!important;
}

.cm_vehicle_information_expand_margin {
  border-color: #560aa0;
}

/*
.cm_vehicle_search_results_compare i.cm_vehicle_tool_favourite:not(position-absolute), .cm_vehicle_search_results_compare i.cm_vehicle_tool_compare:not(position-absolute) {
  top:40px
}
*/

.cm_vehicle_search_results_compare b {
  font-weight: 700;
}

.cm-vehicle-result figure {
  position: relative;
}
.cm-vehicle-result .cm_vehicle_tool_compare, .cm-vehicle-result .cm_vehicle_tool_favourite {
  bottom:3px;
  background-color: #fff;
  color:#000!important;
  padding:7px 9px 4px;
  border-radius: 50px;
  font-size:15px!important;
}

.cm-vehicle-result .cm_vehicle_tool_compare {
  margin-left:-72px;
}

.cm-vehicle-result .cm_vehicle_tool_favourite {
  margin-left:-36px;
}


/* Finance example table */

.cm-finance-representative-example {
  border:0;
  background-color: #021644;
  border-radius:25px;
  padding-left:0!important;
  padding-right:0!important;
}

.cm-finance-representative-example table {
  margin-top: 1.5rem!important;
  margin-bottom: 4.5rem!important;
}

.cm-finance-representative-example tr > td:first-child {
  border-left:0!important;
}

.cm-finance-representative-example tr > td:last-child {
  border-right:0!important;
}

.cm-finance-representative-example td {
  padding:0.7rem;
  border-style:solid;
  border-width: 1px!important;
  font-size: 1.2rem;
  font-weight: bold;
  color:#074fb9;
}

.cm-finance-representative-example td small {
  font-size: 0.575em;
  color:black;
}

.cm-finance-representative-example .text-center {
  margin-top: 40px;
}

.cm-finance-representative-example .example_header {
  font-size: 1.5rem;
}

/* Finance calculator */

.finance_tab {
  background-color:#021644;
  border-radius: 35px;
  margin-bottom:1.4rem;
  width:75%;
  text-align: left!important;
}

.finance_tab .btn {
  border-radius: 25px!important;
  border:0!important;
  text-align: left!important;
  padding-left: 1.7rem;
  padding-top:0.75em;
  padding-bottom:0.75em;
}

.finance_tab .btn-fill {
  background-color: #560aa0;
}

.finance_tab  small.text-nowrap {
  text-wrap: wrap!important;
}

.finance_tab h2 {
  font-size: 1.4em!important;
  text-align: left;
}

.finance_body > div {
  border:0!important;
  border-radius: 35px!important;
}

.calculator_body tr {
  border-bottom: 1px!important;
  background-color: #efefef!important;
}

.calculator_body tr td:last-child {
  text-align: right!important;
}

/* Footer */

footer .footer-primary-bg .row > div {
  border: 0;
  margin-top:0px;
  margin-bottom:0px;
}

footer .footer_logo {
  min-width:35%!important;
  width:75%!important;
  max-width:300px!important;
}

footer .opening-table {
  margin:0!important;
}

footer .row {
  max-width: 1350px!important;
}

footer small {
  opacity: 0.75;
}

footer b, footer strong {
  font-size: 1.3em;
  display: inline-block;
  margin-bottom: 0.25em;
}

.footer-link ul {
  list-style: none;
  list-style-type: none;
  margin:0px;
  padding:0px;
}

.footer-social-link {
  /*padding-top: 0.4rem;*/
}

.footer-social-link a, .footer-link li {
  display:block;
  width:100%;
  padding-top:0.45rem;
}

.footer-secondary-bg {
  background-color: #ffffff11;
}

.module_number_list h3 {
  font-size: 1.8em!important;
}

.module_number_list .h4 {
  font-size: 1.2em!important;
}

.module_number_list .border.palette-bg-9 {
  border-color: #610b75!important;
}


/* Contact page */

.cm-contact-box {
  height:250px;
}

.cm-contact-svg {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20style%3D%22opacity%3A0.06%22%20width%3D%22300%22%20height%3D%22300%22%20viewBox%3D%220%200%20100%20100%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2218%22%20fill%3D%22%23000%22%2F%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M37.272%2037.272%2090.305-15.76l25.456%2025.456-53.033%2053.033z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  width: 250px;
  height:250px;
  background-size: cover;
  top:-50px;
  right:-50px;
}

.cm-contact-icon {
  top:15px;
  right:15px;
  width:60px;
}

/* New manufacturers module */

.cm-brand-scatter-wrap{
  background: radial-gradient(circle at 50% 20%,
    rgba(255,255,255,0.96) 0%,
    rgba(245,248,252,0.96) 55%,
    rgba(235,241,248,0.96) 100%);
}

.cm-brand-band-top { 
  height: 240px; 
}

.cm-brand-band-bottom { 
  height: 260px; 
}

.cm-brand-title { 
  font-weight: 700; 
}

.cm-brand-tile{
  position: absolute;
  display: block;
  text-decoration: none;
  width: 190px;
  height: 130px;
  border-radius: 26px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cm-brand-tile img{
  max-width: 75%;
  max-height: 75%;
}

.cm-brand-tile:hover{
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  transform: translateY(-2px) scale(1.02) rotate(var(--r, 0deg));
}

.cm-brand-tiles-top .cm-brand-tile:nth-child(1){ left: 6%;  top: 40%; --r:-14deg; transform: rotate(-14deg); }
.cm-brand-tiles-top .cm-brand-tile:nth-child(2){ left: 38%; top: 18%; --r: 10deg; transform: rotate(10deg);  width: 200px; height: 140px; }
.cm-brand-tiles-top .cm-brand-tile:nth-child(3){ right: 8%; top: 35%; --r: 12deg; transform: rotate(12deg); }
.cm-brand-tiles-top .cm-brand-tile:nth-child(4){ left: 62%; top: 8%;  --r:-6deg; transform: rotate(-6deg); width: 160px; height: 115px; opacity: .95; }

.cm-brand-tiles-bottom .cm-brand-tile:nth-child(1){ left: 10%; top: 35%; --r:-18deg; transform: rotate(-18deg); width: 220px; height: 150px; }
.cm-brand-tiles-bottom .cm-brand-tile:nth-child(2){ left: 32%; top: 18%; --r: 8deg;  transform: rotate(8deg); }
.cm-brand-tiles-bottom .cm-brand-tile:nth-child(3){ left: 52%; top: 46%; --r:-10deg; transform: rotate(-10deg); width: 180px; height: 125px; }
.cm-brand-tiles-bottom .cm-brand-tile:nth-child(4){ right: 16%; top: 20%; --r: 10deg; transform: rotate(10deg); }
.cm-brand-tiles-bottom .cm-brand-tile:nth-child(5){ right: 6%;  top: 44%; --r:-6deg; transform: rotate(-6deg); width: 160px; height: 115px; opacity: .95; }

.cm-brand-tiles-top .cm-brand-tile:nth-child(n+6),
.cm-brand-tiles-bottom .cm-brand-tile:nth-child(n+8){ display:none; }

.cm-brand-tile-mobile{
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  aspect-ratio: 4 / 3;
  width: 100%;
}

.cm-brand-tile-mobile{
  transform: rotate(-8deg);
}

.cm-brand-tile-mobile img{
  max-width: clamp(44px, 11vw, 74px);
  max-height: clamp(44px, 11vw, 74px);
}

.d-md-none .cm-brand-tile-mobile{ transform: rotate(-6deg); }
.d-md-none .col-4:nth-child(even) .cm-brand-tile-mobile{ transform: rotate(6deg); }
.d-md-none .col-4:nth-child(3n) .cm-brand-tile-mobile{ transform: rotate(-10deg); }
