/* ============================================================
   Homepage-specific styles — ported verbatim from the inline
   <style> blocks in the original index.php <head>.
   ============================================================ */

.slide-title {
    color: #c41a25;
    font-size: 80px !important;
}

.ltn__slide-item-7 .slide-title {
    font-size: 62px;
}

.ltn__img-slide-item-4 {
    height: 350px;
    object-fit: cover;
    width: 100%;
    margin-bottom: 0;
}

.ltn__img-slide-item-4 a {
    height: 100%;
}

.ltn__img-slide-item-4 img {
    height: 100%;
    object-fit: cover;
    margin: auto;
}

.upcoming-cars-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 350px;
}

.upcoming-cars {
    z-index: 1;
    width: 400px;
    max-width: 100%;
    height: 350px;
    float: left;
}

.up-coming {
    width: calc(100% - 400px);
}

.upcoming-cars-numb {
    font-size: 80px;
    font-weight: 900;
    opacity: .5;
    line-height: 1.4;
    color: #c41a25;
    font-style: italic;
}

.ltn__img-slide-item-4 h1 {
    font-size: 21px;
}

.ltn__tab-menu .nav {
    display: table;
    margin: auto;
}

.ltn__section-title-2 .section-title {
    font-size: 40px;
}

.ltn__service-form-margin {
    margin-top: unset;
}

.ltn__car-dealer-form-tab .tab-content {
    margin-top: 20px;
}

.careers {
    background-color: #f2f6f7;
}

.ltn__counterup-item-3 h1 {
    font-size: 45px;
}

.counterUp-letter {
    font-size: 45px;
}

.ltn__contact-address-item-3 {
    background-color: white;
    box-shadow: var(--ltn__box-shadow-1);
}

.contact-form-box {
    box-shadow: var(--ltn__box-shadow-1);
}

.why-choose-us-img-2 img {
    border: #f2f6f7 solid 10px;
}

.ltn__our-history-inner .ltn__tab-menu .nav::before {
    background-color: #c41a25 !important;
    z-index: 0;
    top: 40%;
    width: 98%;
    height: 4px;
}

.ltn__our-history-inner .ltn__tab-menu a {
    z-index: 1;
}

.ltn__brand-logo-item img {
    max-height: 130px;
    display: block;
    margin: auto;
}

.product-hover-action {
    display: none;
}

#home,
#home .bg-overlay-theme-black-30:before {
    height: 100vh;
}

.ltn__section-title-2 p {
    max-width: 100%;
}

.about-us-info-devide {
    justify-content: center;
    align-items: center;
}

.rem-mar {
    margin-bottom: 0;
}

#aftersales .row {
    justify-content: center;
    align-items: center;
}

.ltn__section-title-2 {
    margin-bottom: 50px;
}

.ltn__slide-item {
    height: 100vh;
}

#ltn__utilize-mobile-menu .special-link {
    margin-left: 0;
    margin-top: 50px;
}

#ltn__utilize-mobile-menu .special-link a {
    text-align: center;
}

#about .nav {
    text-align: center;
}

#book form li,
#book form li .nice-select {
    width: 100%;
}

#book form li button {
    display: block;
    margin: auto;
}

.ltn__our-history-inner .ltn__tab-menu .nav {
    justify-content: flex-start;
}

.ltn__gallery-filter-menu button,
.ltn__tab-menu a {
    padding: 15px 37.5px;
}

.about-us-info-wrap .ltn__section-title-2 {
    margin-bottom: 0;
}

.ltn__our-history-inner .about-img-left {
    padding-right: 0;
}

.input-item-date input[type="date"] {
    height: 60px;
}

.ltn__counterup-item-3 {
    text-align: center;
}

.single-small-img img,
.single-large-img img {
    margin: auto;
}

.single-small-img img {
    max-width: 100px;
}

.single-small-img img:hover {
    cursor: pointer;
}

.modal-dialog {
    margin-top: 80px;
}

.ltn__shop-details-large-img,
.ltn__shop-details-small-img {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
    animation: show 3s;
}

.ltn__shop-details-large-img.slick-initialized,
.ltn__shop-details-small-img.slick-initialized {
    visibility: visible !important;
    opacity: 1 !important;
}

div#ltn__form_tab_1_2 {
    position: relative;
}

div#ltn__form_tab_1_2::before {
    content: 'RYMCO';
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #c41a25;
    font-size: 150px;
    opacity: .2;
    font-family: 'Title';
}

.csr-img {
    max-width: 110px;
}

.csr-text {
    padding: 8px;
}

.ltn__counterup-item-3 .counterUp-icon {
    color: #c41a25;
}

#contact {
    max-height: 400px;
    margin-bottom: 200px;
}

/* Service result banner (originally toggled by PHP ?success) */
.service-result {
    width: 100%;
    height: 30px;
    position: fixed;
    top: 0;
    display: block;
    transition: .3s all ease-in-out;
    z-index: 100;
    text-align: center;
}

.service-result.is-success {
    background-color: #a8e6a8;
    color: #476247;
}

.service-result.is-error {
    background-color: #eecaca;
    color: #7d3b3b;
}

body.has-service-result #header,
body.has-service-result #sticky-header {
    top: 30px;
    transition: .3s all ease-in-out;
}

@media (min-width: 768px) and (max-width: 991px) {
    [type="submit"].btn {
        padding: 17px 30px;
    }

    div#ltn__form_tab_1_2::before {
        font-size: 100px;
    }
}

@media screen and (max-width: 768px) {
    .ltn__slide-item {
        height: 90vh;
    }

    .ltn__service-form-box {
        margin-right: 0;
    }

    .ltn__header-middle-area>.container-fluid>.row,
    .ltn__header-middle-area>.container>.row {
        align-items: flex-start;
    }

    .ltn__header-middle-area .site-logo-wrap {
        margin-top: -10px;
    }

    .mobile-menu-toggle {
        margin-top: 7px;
    }

    .upcoming-cars-div {
        flex-direction: column;
        height: unset !important;
    }

    .up-coming,
    .upcoming-cars {
        width: 100%;
    }

    .ltn__footer-area .ltn__top-bar-menu>ul>li {
        width: 100%;
        margin-top: 20px;
    }

    .ltn__car-dealer-form-tab .tab-content {
        padding: 40px 2px;
    }

    .ltn__car-dealer-form-tab .tab-content .col-lg-12 {
        padding: 0px 3px !important;
    }

    .slide-title {
        font-size: 60px !important;
    }

    .ltn__header-middle-area>.container-fluid>.row,
    .ltn__header-middle-area>.container>.row {
        align-items: center;
    }

    .site-logo p {
        margin-bottom: 0 !important;
        line-height: 10px;
    }

    .site-logo h1 {
        margin-bottom: 0 !important;
        line-height: 36px;
    }

    .ltn__logo-right-menu-option .site-logo-wrap,
    .ltn__header-4 .site-logo-wrap,
    .ltn__header-5 .site-logo-wrap {
        margin: 0 !important;
    }

    .mobile-menu-toggle {
        margin-top: 0 !important;
    }

    div#ltn__form_tab_1_2::before {
        font-size: 80px;
    }
}

@media screen and (max-width: 992px) {
    #about .nav {
        justify-content: center;
    }

    .ltn__section-title-2 {
        text-align: center;
    }

    .ltn__service-form-1 .ltn__service-form-brief {
        padding-left: unset;
    }

    .ltn__about-us-area img {
        margin-bottom: 40px !important;
    }

    #contact {
        max-height: 400px;
        margin-bottom: 450px;
    }
}

.btns .btn {
    margin-top: 10px;
}

@media screen and (max-width: 1220px) {
    .ltn__our-history-inner .ltn__tab-menu .nav::before {
        display: none;
    }
}

#brands .slick-prev {
    top: 50%;
    transform: translateY(-65%);
}

#brands .slick-next {
    top: 50%;
    transform: translateY(-65%);
    right: 0;
}

#brands .slick-arrow {
    background-color: white;
    border-radius: 50%;
    padding: 10px;
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#brands .slick-arrow i {
    width: 20px;
}

@media screen and (max-width: 480px) {
    div#ltn__form_tab_1_2::before {
        content: unset;
    }

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

    .title-2 {
        margin-top: 20px;
    }
}

.product-badge li.soldout-badge {
    background-color: #c41a25;
}

.product-badge li.soldout-badge::before {
    border-left: 8px solid #c41a25;
}

.input-item .nice-select .current,
.nice-select .option.selected,
.nice-select .option {
    font-weight: 500;
}

#contact .ltn__contact-address-item-3 {
    padding: 30px;
}

#contact .ltn__section-title-2 {
    margin-bottom: 120px;
}

.ltn__product-tab-content-inner {
    max-height: 350px;
}

@media screen and (max-width: 767px) {
    .ltn__product-tab-content-inner {
        max-height: unset;
    }
}

.product-img img {
    height: unset !important;
    object-fit: cover;
    z-index: 0;
}

[data-value="Sales Department"] {
    position: relative;
}

[data-value="Sales Department"]::after {
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    content: 'Hiring';
    color: white;
    background-color: #c41a25;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 80px;
}

.ltn__img-slide-item-4 .ltn__img-slide-info {
    flex-direction: column;
    justify-content: start;
    padding-top: 0;
}

.ltn__img-slide-item-4 .ltn__img-slide-info>div {
    width: 100%;
    margin-top: 15px;
}

.ltn__img-slide-item-4 .btn-wrapper .btn {
    padding: 10px 20px 12px;
}

.product-img {
    margin-bottom: 30px;
}

.ltn__product-item-3 .product-title {
    font-weight: 600;
    font-size: 18px;
}

.slick-dots {
    margin: 30px 0;
}

input[type="number"] {
    position: relative;
    display: block;
    height: 54px;
    width: 100%;
    font-size: 16px;
    line-height: 30px;
    color: #222;
    font-weight: 300;
    background-color: #f2f6f7;
    padding: 11.5px 25px;
    border-radius: 0;
    border: 1px solid #fcf9f2;
    -o-border-image: initial;
    border-image: initial;
    -webkit-transition: all 300ms ease 0s;
    -o-transition: all 300ms ease 0s;
    transition: all 300ms ease 0s;
}

@media (max-width: 768px) {
    #home h1 {
        font-size: 50px !important;
    }

    #home .slide-item-info-inner {
        margin: 0 !important;
    }
}

.ltn__img-slide-info-brief h2 {
    color: white;
}

/* Popup styles (markup commented out in original; kept for completeness) */
        /* popup */
        .bts-popup {
            position: fixed;
            left: 0;
            top: 0;
            height: 100%;
            z-index: 10000000;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
            -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
            transition: opacity 0.3s 0s, visibility 0s 0.3s;
        }

        .bts-popup.is-visible {
            opacity: 1;
            visibility: visible;
            -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
            -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
            transition: opacity 0.3s 0s, visibility 0s 0s;
        }

        .bts-popup-container {
            position: relative;
            width: 95%;
            max-width: 1000px;
            margin: 0 !important;
            border-radius: none;
            text-align: center;
            box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
            -webkit-transform: translateY(-40px);
            -moz-transform: translateY(-40px);
            -ms-transform: translateY(-40px);
            -o-transform: translateY(-40px);
            transform: translateY(-40px);
            /* Force Hardware Acceleration in WebKit */
            -webkit-backface-visibility: hidden;
            -webkit-transition-property: -webkit-transform;
            -moz-transition-property: -moz-transform;
            transition-property: transform;
            -webkit-transition-duration: 0.3s;
            -moz-transition-duration: 0.3s;
            transition-duration: 0.3s;
        }

        /* .bts-popup-container img {
				padding: 20px 0 0 0;
			} */
        .bts-popup-container p {
            color: white;
            padding: 10px 40px;
        }

        .bts-popup-container .bts-popup-button {
            padding: 5px 25px;
            border: 2px solid white;
            display: inline-block;
            margin-bottom: 10px;
        }

        .bts-popup-container a {
            color: black;
            text-decoration: none;
            /* text-transform: uppercase; */
            font-weight: 400;
            font-size: 20px;
        }

        .bts-popup-container .bts-popup-close {
            position: absolute;
            top: -4px;
            right: 0px;
            width: 30px;
            height: 30px;
        }

        .bts-popup-container .bts-popup-close::before,
        .bts-popup-container .bts-popup-close::after {
            /* content: ""; */
            position: absolute;
            top: 12px;
            width: 16px;
            height: 3px;
            background-color: white;
        }

        .bts-popup-container .bts-popup-close::before {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
            left: 8px;
        }

        .bts-popup-container .bts-popup-close::after {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
            right: 6px;
            top: 13px;
        }

        .is-visible .bts-popup-container {
            -webkit-transform: translateY(0);
            -moz-transform: translateY(0);
            -ms-transform: translateY(0);
            -o-transform: translateY(0);
            transform: translateY(0);
        }

        @media only screen and (min-width: 1170px) {
            .bts-popup-container {
                margin: 8em auto;
            }
        }

/* Inline styles that used !important in the original (React drops !important on
   style objects, so they are reproduced here as marker-class rules). */
.home-hero-slide {
    padding: 0 !important;
    height: 100vh !important;
}

.home-hero-h1 {
    font-family: 'Body' !important;
    text-transform: capitalize !important;
}

.home-featured-title {
    font-family: 'Title' !important;
}
