.sub-banner {
    height: 40vh;
    position: relative;
}

.sub-banner .banner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.sub-banner .banner .filter {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
}

.sub-banner .banner .filter:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0) 100%);
    opacity: .5;
}

.sub-banner .banner .filter::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 150px;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.sub-banner .container {
    position: relative;
    height: 100%;
    padding-top: 160px;
    z-index: 9;
}

#sticky-div.sticky {
    position: sticky;
    top: 160px;
}

#sticky-div {
    z-index: 1;
    position: relative;
}

.sidebar {
    background: #fff;
    -webkit-box-shadow: 0px 5px 25px -2px rgb(0 0 0 / 15%);
    -moz-box-shadow: 0px 5px 25px -2px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 5px 25px -2px rgb(0 0 0 / 15%);
    border-left: 5px solid #dc961d;
    color: #000;
}

.sidebar a.btn {
    margin-top: 10px;
    width: 100%;
}

.img-style-left {
    position: relative;
    margin-right: 10px;
    margin-bottom: 15px;
    line-height: 0;
}

.img-style-left::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 10px;
    left: 10px;
    background: #dc961d;
}

.img-style-left img {
    position: relative;
    z-index: 2;
}

.img-style-right {
    position: relative;
    margin-left: 10px;
    margin-bottom: 15px;
    line-height: 0;
}

.img-style-right::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 10px;
    right: 10px;
    background: #dc961d;
}

.img-style-right img {
    position: relative;
    z-index: 2;
}


/* Car listing */

.car-listing .inner {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 20px;
    padding: 5px;
    color: #000;
    transform: scale(1.0);
    transition: .2s;
    border-bottom: 5px solid #dc961d;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car-listing .inner:hover {
    transform: scale(1.02);
    transition: .2s;
}

.car-listing .img-car {
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
    margin-bottom: 5px;
    border-radius: 20px;
    overflow: hidden;
}

.car-listing .img-car img {
    position: relative;
    display: block;
    width: 100%;
    height: 100% !important;
    z-index: 0;
    line-height: 0;
    object-fit: cover;
}

.car-listing .img-car::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .3);
    transition: .2s;
}

.car-listing .inner:hover .img-car::after {
    background: rgba(0, 0, 0, .0);
    transition: .2s;
}

.car-listing .img-car span.year {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: #dc961d;
    display: inline-block;
    line-height: 1;
    color: #fff;
    padding: 5px 10px;
    border-radius: 15px;
}

.car-listing .img-car i {
    position: absolute;
    top: 150%;
    left: 50%;
    z-index: 4;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: #dc961d;
    transition: .3s;
    padding: 5px;
    background: rgba(0, 0, 0, .5);
    border-radius: 50%;
}

.car-listing .img-car:hover i {
    top: 50%;
    transition: .3s;
}

.car-listing h4 {
    margin-bottom: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.car-listing p.cylinder {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.car-listing p.price {
    color: #666;
}

.car-listing p.price strong {
    font-size: 22px;
    color: #000;
}

.car-listing .car-listing-details-wrapper {
    background: #eee;
    border-radius: 12px;
    flex-flow: wrap;
    justify-content: space-between;
    padding: 10px 10px;
    margin-bottom: 15px;
}

.car-listing .car-listing-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 2px;
}

.car-listing .car-listing-detail img {
    width: 25px;
}

.car-listing .car-listing-detail span {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    display: block;
    margin-top: 10px;
    line-height: 1;
    letter-spacing: -1px;
}


/* Details car */

.gallery-content {
    background: #fff;
    padding: 5px;
    border-radius: 20px;
    border-bottom: 10px solid #dc961d;
}

.fotorama__nav-wrap {
    margin-top: 5px;
    border-radius: 15px;
    overflow: hidden;
}

.fotorama__stage__shaft {
    border-radius: 20px;
    overflow: hidden;
}

.fotorama__thumb-border {
    background-image: none;
    padding: 0;
    margin: 0 2px;
    left: -2px;
}

.resume-car {
    border-bottom: 1px solid #444;
    padding-bottom: 15px;
}

.car-detail {
    background: rgba(255, 255, 255, .1);
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    margin-right: 5px;
    border-radius: 20px;
    color: #dc961d;
    font-size: 14px;
    margin-bottom: 10px;
}

.car-detail img {
    width: 20px;
    margin-right: 8px;
}

.price-car .price {
    font-size: 24px;
    color: #dc961d;
    white-space: nowrap;
}

.price-car .price strong {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}

.price-car .price span {
    font-size: 18px;
    margin-left: 5px;
}

.specification-car-wrapper {
    border-top: 1px solid #444;
    padding-top: 30px;
}

.specification-car {
    background: rgba(255, 255, 255, .1);
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 15px;
    color: #dc961d;
}

.specification-car span {
    white-space: nowrap;
}

.specification-car div {
    border-bottom: 1px dashed;
    width: -webkit-fill-available;
    height: 9px;
    margin: 0 10px;
}

.specification-car strong {
    font-weight: 600;
    color: #dc961d;
    letter-spacing: 1px;
    white-space: nowrap;
}

.fearured-car-wrapper {
    border-top: 1px solid #444;
    padding-top: 30px;
}

.fearured-car-wrapper ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    list-style: circle;
    padding-left: 18px;
    font-size: 20px;
}

.car-contact {
    background: #fff;
    border-radius: 20px;
    color: #000;
    border-bottom: 10px solid #dc961d;
}

.car-contact .contact {
    line-height: 1;
}

.car-contact .contact a {
    display: inline-block;
    color: #000 !important;
    font-size: 20px;
    letter-spacing: 1px;
}

.car-contact .contact a:hover {
    text-decoration: underline;
}