:focus-visible {
  outline: -webkit-focus-ring-color auto 1px;
}

h2 span[style*="font-size"]{
    line-height: 1;
}

button.loading {
  opacity:0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 3px solid #ffffff;
  width: 12px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.category-tabs li a {
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 0;
  margin: 0 16px;
}

.category-tabs li a:hover {
  
}

.category-tabs .menuactive {
  background: none;
  color: var(--secondary);
  font-weight: 700;
}

#front_specials{
  background:#fff
}

#front_specials .price-grid{
  grid-gap: 32px
}

#front_specials .content_inner{
  padding-top: 40px;
  min-height: 200px;
}

#front_specials h2{
  text-align:center;
  margin:0
}

#front_specials .box_container{
  display:flex;
  margin-bottom:60px;
  gap: 20px;
}

#front_specials .box{
  background: #f0f0f0;
  width:33.3%;
  display:flex;
  flex-direction: column;
}

#front_specials .box_heading{
  display: inline-flex;
  width:100%;
  align-items: center;
  justify-content: center;
  flex: .5;
  margin: 0 0 20px 0;
}

#front_specials .box h2{
  font-size: 24px;
}

#front_specials .box .box_inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}

#front_specials .box a{
  background: #fff;
  padding: 10px;
  text-decoration: none;
}

#front_specials .box a:hover{
  background: var(--primary);
  color: #fff;
  transition: all .2s linear;
  -o-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -webkit-transition: all .2s linear;
}

#front_specials .box select{
  border: 1px solid #DDDBDB;
  height: 38px;
  box-sizing: border-box;
  padding: 0 5px;
  line-height: 18px;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  color: #585858;
  width:100%;
  margin-bottom:10px;
}

#front_specials .box.search_box{
  background:#fff
}

.onemodel .modeltitle{
  display:flex;
  flex-direction: column;
  justify-content:center;
  min-height:46px;
  transition: color 0.25s ease-in-out;
}

#front .onemodel .modeltitle{
  min-height:auto;
  margin-bottom:10px;
}

.onemodel .model-links {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}

.onemodel .model-links a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #7c7c7c !important;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.onemodel .model-links a:hover {
  background: #e6e6e6;
  color: #000 !important;
}

.onemodel .model-links a:nth-child(4) {
  border-top: 1px solid #fff;
}

.onemodel .model-links a span{
  text-wrap: wrap;
}

.model-links a sup {
  text-transform: lowercase;
  font-size: 12px;
  color: #e62733;
  margin-left: 4px;
  text-wrap: nowrap;
}

.infoIcon{
  line-height:1;
}

.infoIcon:hover{
  opacity:0.6
}
.infoIcon img{
  width:16px !important;

}
.fixedinfo .wtxt .infoIcon{
  padding-left: 4px;
}

.fixedinfo .wtxt .infoIcon img{
  vertical-align: middle;
}

.ui-dialog-content #leasing_details{
  padding:20px;
}

.ui-dialog-content .lease-calc-details{
  font-size: 14px;
    line-height: 30px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #d9d9d9;
    margin-top:0 !important;
}

.ui-dialog-content .lease-calc-details:last-of-type {
  border-bottom: none;
  line-height: 20px !important;
  margin-top:20px !important
}
 
.ui-dialog-content .lease-calc-details .redtext {
  color: black;
  font-weight: 700;
  white-space: nowrap;
}

.price-grid .price-box{
  z-index:1
}

/* TABLES */

.maintable,
.contenttable {
  width: 100%;
  line-height: 16px;
}
table .redtext {
  font-family: "Peugeot", Tahoma, Sans Serif;
  font-weight: 700;
  color: #9d0605;
}
.maintable td,
.contenttable td {
  text-align: center;
  padding: 9px 10px;
  vertical-align: middle;
}
.contenttable td {
  text-align: left;
}

.pricetable .smaller td {
  padding: 12px 10px;
}
.maintable b,
.pricetable b,
.maintable .row-head,
.pricetable .row-head {
  display: block;
  text-align: left;
  width: 100%;
  color: #000;
}
.noborder {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.noborder td {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.maintable tr:nth-child(even),
.pricetable tr:nth-child(even),
.contenttable tr:nth-child(even) {
  background: transparent;
}
.maintable tr:nth-child(odd),
.pricetable tr:nth-child(odd),
.contenttable tr:nth-child(odd) {
  background: #ececee;
}
.noborder tr:nth-child(even) {
  background: transparent !important;
}
.noborder tr:nth-child(odd) {
  background: transparent !important;
}
.maintable .headrow,
.pricetable .headrow,
.contenttable .headrow {
  color: #fff;
}
.maintable tr:hover,
.pricetable tr:hover,
.contenttable tr:hover {
  background: rgba(121, 111, 110, 0.2);
}
.maintable .headrow a,
.pricetable .headrow a,
.contenttable .headrow a {
  color: #fff;
  text-decoration: none;
}
.maintable .headrow td,
.pricetable .headrow td,
.contenttable .headrow td {
  padding: 12px 10px;
  font-weight: 700 !important;
  font-size: 12px;
}
.pricetable .headrow td {
  padding: 12px 0 !important;
  vertical-align: middle;
}
.pricetable .headrow td {
  padding: 13px 10px;
  line-height: 16px;
}
.pricetable .headrow span {
  font-size: 10px;
  line-height: 6px !important;
  color: rgba(255, 255, 255, 0.8);
}
.pricetable td .smallcolor {
  font-size: 10px;
  margin: -5px 0;
  padding: 0;
  line-height: 10px !important;
}

.pricetable td span.gray{
  cursor:auto
}

h2 .red,
.pricetable .red {
  margin: -5px 0 0 20px;
}
h2 .red:hover,
.pricetable .red:hover {
}
.maintable tr,
.pricetable tr,
.contenttable tr {
  transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
}
.maintable .headrow:hover,
.pricetable .headrow:hover {
  -moz-box-shadow: 0 0 0 #796f6e;
  -webkit-box-shadow: 0 0 0 #796f6e;
  box-shadow: 0 0 0 #796f6e;
}
.pricetable .red {
  padding: 0 5px;
  margin: 2px 0 -4px 0;
  font-size: 9px !important;
  line-height: 12px !important;
  height: 20px !important;
}
.pricetable .red img {
  width: 5px;
  margin: 0 0 0 3px;
}
.pricetable .price {
  font-size: 16px;
  color: #000;
  font-weight: normal;
}
.pricetable .specialprice {
  font-size: 16px;
  color: #000;
  font-weight: normal;
}
.maintable .dropdown a {
  text-decoration: none;
  font-weight: bold;
  display: block;
}
.standard td {
  text-align: left;
}

.pricetable td .lease-p {
  font-size: 10px !important;
  line-height: 10px !important;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 10%);
  width: 100%;
  margin:0
}

.pricetable td.payments, .pricetable td.specialprice{
  position:relative
}

.pricetable td .price-inner{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricetable td .regularprice{
  font-size:14px;
  color:rgba(88, 88, 88, 1);
  text-decoration: line-through;
  margin:0;
  width: 100%;
  margin:0
}
.pricetable td .smallcolor {
  text-align:left;
  display:flex;
  flex-direction:column;
}
.pricetable td .data-wrap{
  display:flex;
}
.pricetable td .smallcolor .data-wrap{
  display:flex;
  align-items: center;
  gap:12px;
}
.pricetable td .data-wrap p::before{
  content: "";
  display:inline-flex;
  background-size: 18px 18px;
  height:18px;
  width:18px;
  margin-right:6px;
}
.pricetable td .smallcolor p{
  display:flex;
  align-items: center;
  margin:0;
  line-height:14px;
}
.smallcolor .car-color svg{
  stroke: #000;
  stroke-width: 10px;
}
.pricetable td .red{
  float:none;
}
.pricetable  .headrow img, .maintable .headrow img, .contenttable .headrow img {
  width: 9px !important;
  height: 12px !important
}
.pricetable tr {
  cursor: pointer
}
.pricetable .headrow {
  cursor: initial !important
}

.pricetable .red {
  white-space: nowrap
}

.pricetable .price, .pricetable .specialprice {
  white-space: nowrap
}

.mbackground-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden; 
}

.mbackground {
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden; 
  width: 100%;
  position: relative;
  scrollbar-width: none;
}

.mbackground::-webkit-scrollbar {
  display: none;
}

.mbackground_inner {
  display: flex; 
  position: relative;
}

.mbackground-wrapper::before,
.mbackground-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.mbackground-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.mbackground-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  opacity: 1;
}

.mbackground-wrapper.show-left::before,.mbackground-wrapper.show-right::after  {
  opacity: 1;
}

.mbackground-wrapper.hide-left::before, .mbackground-wrapper.hide-right::after{
  opacity: 0;
}

.pricetable {
  width: 100%;
  line-height: 16px;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
}

.pricetable tr:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.widecontent .pricetable td{
  padding:18px 10px;
}

.pricetable td {
  padding: 0.5rem;
  vertical-align: middle;
  text-align: center;
}

.pricetable td .car-name{
  display:flex;
  align-items: center;
  min-width: 160px;
}

.car-image-cell {
  width: 140px;
  min-width: 140px;
  position: relative;
}

.car-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  align-content: center;
}

.car-image-wrapper  .base-img{
  width: 100%;
  height: 100%;
  max-height: 96px;
  object-fit: cover;
}

.campaign-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  z-index: 1;
  color: #fff;
  background: #fd9348;
}

.pricetable tr:nth-child(2) .campaign_text{
  top:40px;
  bottom:initial;
}

.car-info-cell {
  min-width: 300px;
}

.car-title h3 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  text-align:left;
  color: #333;
}

.car-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.color-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #eee;
}

.color-name {
  color: #666;
}

.specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.spec-item {
  font-size: 12px;
  color: #666;
  display:flex;
  align-items: center;
  justify-content:center;
  gap:4px;
}

.spec-item img{
  width:14px;
}


.price-cell {
  white-space: nowrap;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.current-price {
  font-size: 20px;
  color: #333;
}

.original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.lease-cell {
  min-width: 140px;
}

.lease-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.monthly-payment {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.lease-terms {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #666;
}

@media screen and (max-width:1020px) {
  .modelpage .mbackground{
    position: relative;
    -webkit-overflow-scrolling: touch;
    background: -webkit-radial-gradient(left ellipse, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 75%) 0 center, -webkit-radial-gradient(right ellipse, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
    background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
    background-size: 20px 100%, 20px 100%;
    background-attachment: scroll, scroll;
    background-repeat: no-repeat;
}

  .rtable {
    vertical-align: top !important;
    max-width: 100% !important;
    overflow-x: auto !important;

    border-collapse: collapse !important;
    border-spacing: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100%;
  }

  .mbackground_inner {
    margin: 0 !important;
    background-image: -webkit-linear-gradient(
      left,
      white 50%,
      rgba(255, 255, 255, 0) 100%
    );
    background-image: linear-gradient(
      to right,
      white 50%,
      rgba(255, 255, 255, 0) 100%
    );
    background-repeat: no-repeat;
    background-size: 30px 100%;
    display: inline-block !important;
  }

  .mbackground:has(.pricetable.rtable.hide){
    overflow-x: visible !important;
    display:flex;
  }

  .mbackground_inner:has(.price-grid:not(.hide)){
    width:100%
}

  .mbackground_inner2 {
    border: 0 !important;
    background-image: -webkit-linear-gradient(
      right,
      white 50%,
      rgba(255, 255, 255, 0) 100%
    );
    background-image: linear-gradient(
      to left,
      white 50%,
      rgba(255, 255, 255, 0) 100%
    );
    background-repeat: no-repeat;
    background-position: 100% 0;
    background-size: 30px 100%;
    margin: 0 !important;
    display: inline-block !important;
    width:100%
  }
.maintable,
.contenttable {
  border-left: 1px solid #d1d1d2;
  line-height: 16px;

  min-width: 100%;
  width: 100%;
}

.thirdwidest .maintable {
  min-width: 100%;
}

.pricetable tbody {
  min-width: 100%;
  width: 100%;
}

.thirdwidest .pricetable {
  width: 100%;
}

.maintable td,
.contenttable td {
  text-align: center;
  padding: 9px 10px;
  border-bottom: 1px solid #d1d1d2;
  border-right: 1px solid #d1d1d2;
  vertical-align: middle;
}
.contenttable td {
  text-align: left;
}
.pricetable td {
  text-align: center;
  padding: 18px 10px;
  vertical-align: middle;
}

.pricetable .smaller td {
  padding: 12px 10px;
}

.maintable b,
.pricetable b {
  display: block;
  text-align: left;
  width: 100%;
  color: #000;
}

.noborder {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.noborder td {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.maintable .headrow a,
.pricetable .headrow a,
.contenttable .headrow a {
  color: #fff;
  text-decoration: none;
}

.maintable .headrow td,
.pricetable .headrow td,
.contenttable .headrow td {
  padding: 12px 10px;
  border-right: 1px solid #797979;
}

.pricetable .headrow td {
  padding: 12px 6px !important;
  vertical-align: middle;
}

.pricetable .headrow td {
  padding: 13px 10px;
  line-height: 16px;
}

.pricetable .headrow span {
  font-size: 10px;
  line-height: 6px !important;
}

.pricetable td .smallcolor {
  font-size: 10px;
  margin: -5px 0;
  padding: 0;
  line-height: 10px !important;
}
.maintable .headrow:hover,
.pricetable .headrow:hover {
  -moz-box-shadow: 0 0 0 #797979;
  -webkit-box-shadow: 0 0 0 #797979;
  box-shadow: 0 0 0 #797979;
}

.pricetable .red {
  padding: 0 5px;
  margin: 2px 0 -4px 0;
  font-size: 12px !important;
  line-height: 12px !important;
  height: 20px !important;
}

.pricetable .red img {
  width: 5px;
  margin: 0 0 0 3px;
}

.pricetable .price {
  font-size: 21px;
  color: #000;
  font-weight: normal;
}

.pricetable .specialprice {
  font-size: 21px;
  font-weight: normal;
}
.mobiletable,
.maintable,
.rtable,
.contenttable {
  font-size: 12px !important;
  line-height: 14px !important;
}
.mobiletable .specialprice,
.mobiletable .price,
.maintable .price,
.maintable .specialprice,
.rtable .price,
.rtable .specialprice {
  font-size: 17px !important;
}

.maintable .vahe,
.mobiletable .vahe {
  padding-left: 15px !important;
}

.mobiletable td,
.maintable td,
.rtable td {
  padding: 8px 6px !important
}
}

@media screen and (max-width: 760px) {
  .mobiletable {
    position: relative;
    float: left;
    margin-top: 5px;
    overflow-x: scroll;
    width: 100%;
  }

  .maintable .vahe,
  .mobiletable .vahe {
    padding-left: 15px !important;
  }

  .mobiletable .specialprice,
  .mobiletable .price {
    font-size: 17px !important;
  }

  .mobiletable {
    font-size: 12px !important;
    line-height: 14px !important;
  }
  .modal{
    width:100%;
    padding:60px 20px 20px 20px;
}
}

@media screen and (max-width: 480px) {
  .complect .maintable b,
  .maintable .headrow td,
  .pricetable .headrow td,
  .contenttable .headrow td {
    font-size: 11px;
  }

}

@keyframes horizontalScroll {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: -200% 0%;
    }
}