/* Scroll to top button */
@import 'btn-scroll-top.css';

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Some basic helpers */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.wrap {
    flex-wrap: wrap;
}

.gap-sm {
    gap: 4px;
}

.gap-md {
    gap: 12px;
}

.menu_title {
    display: block;
    position: relative;
    float: right;
    bottom: 1em;
    margin-right: 2em;
    color: #ffffff;
    font-size: 16px;
    line-height: 22px;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

#logo-container {
    padding: 15px 0px 15px 0px;
}

#logo-container img {
    max-width: 164px;
}

.language-bar {
    list-style: none;
}

.language-bar li {
    float: left;
    margin: 0px 8px;
    display: block;
}

.language-bar a {
    display: inline-block;
    width: 24px;
    height: 16px;
}

.language-bar img {
    display: block;
    width: 24px;
    margin-top: 3px;
}

#page-top h1 {
    font-size: 28px;
}

#page-top h1 {
    line-height: 1.2;
    padding-bottom: 30px;
}

.sf-menu > li a {
    padding: 10px 9px;
}

.sf-menu > li a:after,
#navigation-wrapper .sfHover > a:after {
    background-color: #ff7534;
}

.flexslider .slides img {
    width: auto;
    display: block;
    max-height: 380px;
    margin: 0 auto;
}

#homepage-slider {
    min-height: 450px;
}

#homepage-slider > .ls-slide > h1 {
    transform: translate(50%, 40%) !important;
}

.feature-box > .sf-icon-cont {
    color: #ff7534;
    border-color: #ff7534;
}

.sell-box {
    color: #ff7534;
    background: #ff7534;
}

.sell-box h3,
.sell-box p {
    color: #ffffff;
}

#latest_offers .carousel-img {
    max-width: 230px !important;
    max-height: 145px !important;
}

.latest_offers .prev,
.latest_offers .next {
    top: 90px;
    height: 188px;
    line-height: 188px;
}

#page-content p {
    margin-bottom: 0px;
}

.vehicle-list-item .offer-desc {
    margin-top: 0px;
}

#page-content .vehicle-list-item .offer-desc > p {
    margin-bottom: 0px;
}

.vehicle-list-item .single-desc {
    min-height: 180px;
    padding-bottom: 15px;
}

.vehicle-list-item .single-desc h3 {
    font-size: 18px;
    max-width: 314px;
}

.vehicle-list-item .single-desc .vehicle-price > .inquiry-button {
    font-size: 14px;
    vertical-align: top;
    cursor: pointer;
}

.vehicle-list-item .single-desc .vehicle-price > .inquiry-button:hover {
    color: #d75214;
}

#vehicle-share {
    float: left;
}

.share-menu > li {
    position: relative;
}

.vehicle-features {
    list-style: none;
}

.vehicle-features li {
    font-size: 12px;
}

#vehicle-overview .vehicle-icons {
    max-width: 350px;
    margin-top: 20px;
}

#sidebar .gallery-link {
    color: #444444;
}

#sidebar .gallery_thumbs .thumb {
    width: 90px;
}

#gallery-page .gallery_thumbs .thumb {
    width: 110px;
}

.gallery_thumbs .thumb {
    aspect-ratio: 1 / 1; /* Make the container a square */
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.gallery_thumbs .thumb > img {
    height: 100%;
    object-fit: cover; /* Zoom & crop to fill square */
    object-position: center;
    display: block;
}

#gallery-filters {
    text-align: center;
    font-size: 0;
}
#gallery-filters > a {
    display: inline-block;
    font-size: 14px;
    padding: 7px 15px;
    border-style: solid;
    border-width: 1px 1px 1px 0px;
    border-color: #eee;
    margin: 0px;
}
#gallery-filters > a:first-child {
    border-width: 1px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
#gallery-filters > a:last-child {
    -webkit-border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    -moz-border-radius-bottomright: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
#gallery-filters > a:hover {
    text-decoration: none;
    background: #ff7534;
    border-color: #ff7534;
    color: #fff;
}
#gallery-filters > a.selected {
    background: #ff7534;
    border-color: #ff7534;
    color: #fff;
}

@media screen and (max-device-width: 768px) {
    #gallery-filters > a {
        display: block;
        padding: 4px 10px;
        margin-bottom: 5px;
        border-width: 1px;
    }
}

.top-search-box {
    margin-bottom: 20px;
}

.btn-big {
    color: #ffffff !important;
    text-shadow: none;
    padding: 8px 15px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-big:hover {
    text-decoration: none;
}

.btn-route-planner {
    background: #ff7534;
    border-color: #ff7534;
    margin-top: 10px;
}

.btn-facebook {
    background: #4267b2;
    border-color: #4267b2;
    padding: 8px 10px;
    margin-bottom: 40px;
    font-size: 12px;
    font-weight: 500;
    width: 100%;
    max-width: 213px;
}

h1.ls-layer,
h2.ls-layer {
    padding: 12px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#landing-form-wrapper {
    background-image: url('/img/mobile-intro-bg.jpg');
    background-position: center center;
    background-attachment: scroll;
    background-size: 100%;
    background-size: cover;
    -webkit-background-size: cover;
}

#landing-form-wrapper .wrapper {
    padding-top: 75px !important;
    padding-bottom: 75px !important;
}

#landing-form-wrapper .tagline {
    position: absolute;
    top: 10px;
    opacity: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

#landing-form-wrapper .tagline.fade-and-slide {
    top: 50px;
    opacity: 1;

    transition: top 1s, opacity 1s;
    -moz-transition: top 1s opacity 1s;
    -webkit-transition: top 1s opacity 1s;
    -o-transition: top 1s opacity 1s;
    -ms-transition: top 1s opacity 1s;
}

#submission-form {
    padding: 25px 30px 30px 0px;
}

#submission-form .width-50 {
    width: 50%;
}

#submission-form .full-width {
    width: 100%;
}

#submission-form .error {
    color: #fa1010;
}

/* layerslider component */
.ls-circle-timer {
    display: none !important;
}

.vehicle-details-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
}

.vehicle-details-head .vehicle-price-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vehicle-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vehicle-list-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.vehicle-list-item-wrapper {
    display: block;
}

.vehicle-list-item .vehicle-params {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.vehicle-label {
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 13px;
    font-weight: 500;
}

.vehicle-label.grey {
    color: #4b5563;
    background-color: #fafafa;
    border-color: #e0e0e0;
}

.vehicle-label.green {
    color: #166534;
    background-color: #dcfce7;
    border-color: #96e0af;
}

.vehicle-label.blue {
    color: #153065;
    background-color: #dbe6fc;
    border-color: #abc5f8;
}

.vehicle-label.red {
    color: #991b1b; /* dark red for good contrast */
    background-color: #fee2e2; /* very pale red */
    border-color: #fca5a5; /* soft red accent */
}

.vehicle-list-item .vehicle-link {
    margin-left: auto;
    border-radius: 4px;
}

@media only screen and (max-device-width: 1200px) {
    .vehicle-list-item .single-desc {
        min-height: 175px;
    }
    .vehicle-list-item .vehicle-label {
        font-size: 12px;
    }
    .vehicle-list-item .single-desc h3 {
        font-size: 16px;
    }
    .vehicle-list-item .single-desc .vehicle-price {
        font-size: 20px;
    }

    body.single-vehicles {
        margin-top: 0px;
    }
}

@media only screen and (max-width: 960px) {
    #page-wrapper {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .vehicle-list .vehicle-list-item .single-desc {
        min-height: 100px;
    }

    .mean-bar > .mobile-contact {
        position: absolute;
        left: 10px;
        font-size: 12px;
        color: #a7a7a7;
    }

    .mean-bar > .mobile-contact > a:active,
    .mean-bar > .mobile-contact > a:visited,
    .mean-bar > .mobile-contact > a:hover {
        color: #ff7534;
    }

    .mean-container a.meanmenu-reveal {
        text-indent: 0px;
    }

    .mean-container .mean-nav ul li a {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .references-btn {
        margin-bottom: 25px;
        text-transform: uppercase;
    }
}

@media only screen and (max-device-width: 768px) {
    .flexslider .slides img {
        max-height: 470px;
    }

    .vehicle-features-title {
        padding-top: 20px;
    }

    .vehicle-list-item {
        margin-top: 10px;
    }

    .vehicle-details-head {
        align-items: center;
    }
}

@media only screen and (max-device-width: 768px) and (min-device-width: 600px) {
    #page-wrapper {
        width: 550px;
    }
    .wrapper {
        width: 550px;
    }
}

@media screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 580px) {
    .flexslider .slides img {
        max-height: 228px;
    }

    #logo-container img {
        max-width: 124px;
    }

    #breadcrumb-wrapper {
        margin-top: 0px;
    }

    #vehicle-infobar {
        display: none;
    }

    #vehicle-overview .vehicle-icons {
        max-width: none;
        width: 100%;
        margin-top: 0px;
    }

    .vehicle-features-title {
        padding-top: 20px;
    }

    .vehicle-list-item .single-desc {
        min-height: 102px;
        padding-bottom: 5px;
    }

    .vehicle-list-item .vehicle-params {
        gap: 6px;
        margin-top: 8px;
    }

    .vehicle-list-item .vehicle-params .vehicle-label {
        padding: 2px 4px;
        font-size: 11px;
    }

    .vehicle-list-item .vehicle-params .vehicle-label i {
        display: none;
    }
}

@media screen and (max-width: 320px), screen and (max-device-width: 320px), screen and (max-width: 450px) {
    #page-wrapper {
        width: 320px;
    }
    .wrapper {
        width: 320px;
    }

    .flexslider .slides img {
        max-height: 228px;
    }

    #logo-container img {
        max-width: 124px;
    }

    #breadcrumb-wrapper {
        margin-top: 0px;
    }

    #vehicle-infobar {
        display: none;
    }

    #vehicle-overview .vehicle-icons {
        max-width: none;
        width: 100%;
        margin-top: 0px;
    }
}

@media only screen and (max-device-width: 450px) and (min-device-width: 400px) and (orientation: portrait) {
    #page-wrapper {
        width: 380px;
    }
    .wrapper {
        width: 380px;
    }

    .flexslider .slides img {
        max-height: 268px;
    }

    #logo-container > a {
        display: inline-block;
    }
}

@media screen and (max-width: 320px), screen and (max-device-width: 320px) {
    #page-wrapper {
        width: 300px;
    }
    .wrapper {
        width: 300px;
    }
}

/* PRINT CSS */
@media print {
    .language-bar {
        display: none;
    }
    #page-header {
        display: none;
    }
    #page-top {
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    #page-wrapper {
        margin-top: 0px;
    }
    #header-left-content {
        width: 100%;
    }
    #header-right-content {
        display: none;
    }
    #vehicle-infobar {
        display: none;
    }
    #pre-footer {
        display: none;
    }
}

.calculator-banner {
    background-color: #ff7f27;
    padding: 16px;
    margin-bottom: 32px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.banner-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.banner-text {
    margin-bottom: 0;
    text-align: left;
}

.banner-title {
    font-size: 24px;
    font-weight: 500;
    color: white;
    margin: 0 0 4px 0;
    /* font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important; */
}

.banner-description {
    color: white;
    margin: 4px 0 0 0;
}

.calculator-button {
    margin-left: auto;
    background-color: black;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.calculator-button:hover {
    background-color: #333;
    color: white;
    text-decoration: none;
}

.calculator-icon {
    display: inline-flex;
}

/* Media query for desktop layout */
@media (max-width: 800px) {
    .banner-content {
        flex-direction: column;
    }

    .banner-text {
        margin-bottom: 16px;
    }

    .calculator-button {
        margin-left: unset;
    }
}

.rent-banner-compact {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #ff7f27;
    padding: 8px 8px 8px 16px;
    border-radius: 4px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.rent-banner-compact .banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rent-banner-compact .banner-title {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 0;
}

.rent-banner-compact .banner-description {
    font-size: 12px;
    font-weight: normal;
    color: white;
    margin: 0;
}
