﻿a.vehicle-panel:hover {
    text-decoration: none;
}
div.testimonial {
  position: relative;
  z-index: 10;
}

/*************************************
Everything below this is for the animated buttons
********************************************/
#btnul{
  position: relative;
  list-style: none;
  overflow: hidden;
  padding: 0;
  margin-top: 10px;
}
#btnul .animatedbuttonli {
  margin-right: 5px;
  display: block;
  margin: 9px 0;
}
.animatedbutton {
    bottom: 0;
    display: block;
    font-family: "Open Sans",sans-serif;
    font-size: 24px;
    font-weight: 300;
    left: 0;
    letter-spacing: 2px;
    line-height: 50px;
    overflow: hidden;
    position: relative;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: 0;
    transition: all 0.5s ease 0s;
    width: 100%;
}
.animatedbutton:hover, .animatedbutton:active {
  text-decoration: none;
  background: none;
}
.animatedbutton .animatedbuttonspan {
  display: block;
  position: relative;
  padding-right: 0px;
  position: relative;
  transition: padding-right 0.5s;
}
.animatedbutton .animatedbuttonspan:after {
  content: '';  
  position: absolute;
  top: 0;
  right: 0px;
  opacity: 0;
  width: 10px;
  height: 10px;
  margin-right: 20px;
  margin-top: -10px;
  background: rgba(0, 0, 0, 0);
  border: 3px solid #FFF;
  border-top: none;
  border-right: none;
  transition: opacity 0.5s, top 0.5s, right 0.5s;
  transform: rotate(-45deg);
}
.animatedbutton:hover .animatedbuttonspan, .animatedbutton:active .animatedbuttonspan {
  padding-right: 35px;
}
.animatedbutton:hover .animatedbuttonspan:after, .animatedbutton:active .animatedbuttonspan:after {
  transition: opacity 0.5s, top 0.5s, right 0.5s;
  opacity: 1;
  right: 0;
  top: 50%;
}

/*************************************
Image Quick links Buttons
********************************************/

a.btn.btn-block.btn-large.quicklinkbutton.quicklinkimage {
    background: none !important;
    border: 0;
    margin-top: inherit !important;
}
a.quicklinkimage {text-align: center;}
span.quicklinkbutton-img {
    display: block;
    max-width: 244px;
    margin-top: 5px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    margin-left:auto;
    margin-right:auto;
}
span.quicklinkbutton-img img{max-width: 100%;}
span.quicklinkbutton-img:hover span.filter{transform: skewX(180deg);opacity: 1;}
span.quicklinkbutton-img:hover span.filter i{color:#000;}
span.filter {
    position: absolute;
    width: 95%;
    height: 94%;
    background-color: rgba(255,180,0, 0.59);
    margin: 5px;
    padding-top: 50px;
    opacity: 0;
    transition: all .5s ease;
}
span.filter i {font-size: 40px;color: #fff;}
span.quicklinkbutton-label-img {
    display: block;
    border: 1px solid rgba(95,95,95,1);
    max-width: 244px;
    line-height: 50px;
    position: relative;
    font-size: 24px;
    overflow: hidden;
    transition: all .5s linear;
    background-color: rgba(204,204,204,0);
    color: #5f5f5f;
    font-weight: 100;
    margin-left:auto;
    margin-right:auto;
}
span.quicklinkbutton-label-img:hover{
	border-color: rgba(95,95,95,.15);
	background-color: rgba(255, 180, 0, 0.59);
    color:rgba(95,95,95,1);
}
span.quicklinkbutton-label-img:hover span{right:33px;}
span.quicklinkbutton-anim-img {
    position: absolute;
    right: -10px;
    transition: all .5s ease;
}
/*End Luxury Quick Links*/

@media screen and (max-width: 1199px) {
  #btnul { margin-top: 18px; }
}
@media screen and (max-width: 991px) {
  #btnul { margin-top: 0; }
}


.browse-inventory-image a{
    color:#828283;
}
.browse-inventory-image a:hover {
     color:#828283;
}

.browse-inventory-image {
    margin: 10px auto;
    padding-right:0!important;
    padding-left: 0!important;
    position: relative;
    transition: all .59s ease-in;
}

.browse-inventory-image a:before {
    content: "\f0d8";
    position: absolute;
    font-family: FontAwesome;
    bottom: -10px;
    font-size: 24px;
    color: #FFB400;
    transition: all 0.3s ease-in;
    left: 0;
    right: 0;
}
.browse-inventory-image a {
    border-bottom: 2px solid #ffb400;
    min-height: 82px;
    display: block;
    text-decoration:none;
    font-size:17px;
    margin: 0 8px;
}
.browse-inventory-image a:hover, .browse-inventory-image a:focus {
    opacity: .6;
}
.browse-inventory-image img {
     transition: all .30s ease;
     margin-bottom: 4px;
}
.browse-inventory-image:hover img {
    transform: translate(0px,3px);
    opacity: .5;
    transition: all .30s ease;
}
.browse-inventory-image:hover a:before {
    transform:translate(0,-5px)   
}

.sitemap-links div {
    padding: 10px 0;
}

.sitemap-links div {
    margin-bottom: 10px !important;
}

/*********** CAR PAY ***********/
.accent-bg2{
    width: 90%;
    background: #d61414!important;
    padding: 16px 10px;
    border-radius: 0px;
border:0px;
    border-bottom: 3px solid #8a0000;
}
.accent-bg2:hover{
    background: #a00101 !important;
    border-bottom: 3px solid #ec1919;
text-decoration:none;
}

li.menu-heading.carpay-menu-item-wrapper {
     background: #d61414!important;
    border-radius: 0px;
    border-bottom: 3px solid #8a0000;
}
li.menu-heading.carpay-menu-item-wrapper>a:hover {
     background: #a00101 !important;
    border-radius: 0px;
}
li.menu-heading.carpay-menu-item-wrapper span {
    font-weight: 400;
}
li.menu-heading.carpay-menu-item-wrapper a {
    color: #fff !important;
}

/*****************************************************************************
NEW VDP LAYOUT 1 & 2
*****************************************************************************/

/* Header
*****************/
/* price */
.automart-vdp-header .element-container.element-type-price {
    max-width: max-content;
}

.automart-vdp-header .element-heading.element-heading-price {
    display: none;
}

.automart-vdp-header .element-type-price .accent-color1 {
    text-align: left !important;
}

/* cta buttons */
.automart-vdp-header .row {
    position: relative;
}

.main-cta-links div.vehicle-links-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.main-cta-links .vehicle-link {
    width: 100%;
}

.automart-vdp-header a.btn.loancalculator {
    box-shadow: none;
    border: none;
    padding: 6px 12px;
}

.automart-vdp-header .vehicle-links-container {
    align-items: center;
}

.automart-vdp-header .vehicle-link-creditapp {
    order: 0;
}

.modal-content .automart-vdp-header div.row > div:not(.first-column) {
    position: relative !important;
}

/* wating for column class */
@media (min-width: 768px) {
    .automart-vdp-header div.row > div.col-lg-4:not(.first-column) {
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 0px;
    }

    .main-cta-links div.vehicle-links-container {
        justify-content: flex-end;
        flex-direction: row;
    }

    .automart-vdp-header .vehicle-link-creditapp {
        order: 2;
    }

    .main-cta-links .element-type-vehiclelinks {
        padding: 15px;
    }

    .main-cta-links .vehicle-link {
        width: auto;
    }
}

/* highlight */
.element-type-vdpkeyfeatures .specifics-container {
    margin: 0px;
}

/*****************************************************************************
NEW VDP LAYOUT 3
*****************************************************************************/
.page-content-vdp-row .element-type-price,
.layout-3-estimatedprice  {
    width: max-content;
}

.layout-3-estimatedprice {
    padding-top: 12px;
}

.pageid-ivd .specifics-container {
    margin: 0px;
}

/* Estimated Payment */
.layout-3-estimatedprice .element-heading-vehiclelinks {
    display: none;
}


/* Mileage */
.layout-3-mileage .specifics-container .row div {
    border: none;
}

.layout-3-mileage .specifics-container .row div {
    padding: 0px;
}

.layout-3-mileage .specifics-label {
    justify-content: flex-start;
    width: auto;
}

.layout-3-mileage .element-heading-vehiclespecifics {
    display: none;
}

.layout-3-mileage .specifics-container {
    margin: 0px;
}

.page-content-vdp-row {
    padding: 0px!important;
}

/*****************************************************************************
NEW VDP LAYOUT 4
*****************************************************************************/
/* HEADER */
.layout-4-header .specifics-container {
    margin: 0px;
}

.layout-4-price {
    padding-bottom: 12px;
}

.layout-4-vehiclelinks,
.layout-4-price,
.layout-4-header .specifics-label {
    width: max-content;
}

.layout-4-header .element-heading-vehiclespecifics,
.layout-4-header .element-heading-vehiclelinks {
    display: none;
}

.layout-4-header .specifics-container .row div {
    border-top: none;
    padding: 0px;
}

.layout-4-vehiclelinks div.vehicle-link {
    flex-grow: 0;
}

    .layout-4-vehiclelinks div.vehicle-link .btn {
        height: auto;
        padding: 6px 12px;
        border: none;
    }

.layout-4-vehiclelinks .vehicle-links-container {
    display: flex;
    justify-content: flex-end;
}

.layout-4-price .internetvalue, s
.layout-4-price .showroomlabel {
    padding-right: 0px !important;
}

.layout-4-header .container {
    position: relative;
}

.layout-4-vehiclelinks div.vehicle-link .btn-default {
    box-shadow: none;
}

    .layout-4-vehiclelinks div.vehicle-link .btn-default:hover,
    .layout-4-vehiclelinks div.vehicle-link .btn-default:active,
    .layout-4-vehiclelinks div.vehicle-link .btn-default:focus {
        text-decoration: none;
    }


ul.nav-pills,
.nav-pills li {
    padding: 4px;
}

ul.nav-pills {
    border-radius: 4px;
}

.vdp-contactform-4 {
    border-radius: 4px;
}

.pageid-ivd .element-heading.element-heading-dealershipinfo {
    padding: 0px;
}

.pageid-ivd .element-data-column {
    padding: 0px;
}

.layout-4-price .element-type-price > div {
    text-align: left !important;
}


@media (min-width: 992px) {
    .layout-4-header .row > div:has(.internetvalue), 
    .layout-4-header .row > div:has(.layout-4-price) {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .layout-4-vehiclelinks,
    .layout-4-price,
    .layout-4-header .specifics-label {
        width: auto;
    }

    .layout-4-price {
        margin-left: auto;
    }

    .layout-4-price .element-type-price > div {
        text-align: right !important;
    }
}

/**********************************
  Inventory list design - Action Grid template
***********************************/
.inventory-header form:has(#Submit_Search) {
    padding: 5px;
}

.inv-grid .inventory-list-container .flex-item .vehicle {
    height: 100%;
    border: 1px solid var(--clr-border) !important;
    padding: 0px;
    overflow: hidden;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.075);
}

/* search options */
.sidebar-search-sticky button.btn {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    border-radius: 4px!important;
}

.grid-action-footer.grid-action-footer {
    border-top: 1px solid;
    padding-top: 16px;
}