html,
body {
    position: relative;
    height: 100%;
}

body {
    /* font-family: 'Nunito Sans'; */
    font-size: 1.4rem;
    color: #000;
    margin: 0;
    padding: 0;
}
.accordion-button::after
{
    order: -1;
    margin-left:0;
}

.font--38-22{
    font-size: 38px !important;
}
.font--28-22, .font--28-22 span{
    font-size: 28px !important;
}
.font--18-14, .font--18-14 p{
    font-size: 18px !important;
}
.font--18{
    font-size: 18px !important;
}

.agreement-text p {
    margin: 0px;
    margin-left: 8px;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

a {
    color: var(--used-cars);
    font-size: 1.5rem;
}

a:hover {
    color: var(--used-cars);
}

.custom-checkbox .checkmark {
    width: 20px;
    height: 20px;
    background-color: white;
    border: 1px solid black;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
}

.custom-checkbox .checkmark:after {
    content: "";
    display: none;
    width: 12px;
    height: 12px;
    background-color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
    display: block;
}

.agreement-text {
    vertical-align: middle;
}

.invalid-feedback {
    display: none;
    width: 100%;
    font-size: 0.7em;
}

    .swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 1.8rem;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .swiper {
      width: 100%;
      height: 300px;
      margin-left: auto;
      margin-right: auto;
    }

    .swiper-slide {
      background-size: cover;
      background-position: center;
    }

    .mySwiper2 {
      height: 80%;
      width: 100%;
    }

    .mySwiper {
      height: 20%;
      box-sizing: border-box;
      padding: 10px 0;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
.swiper-pagination-fraction {
    display: flex;
    gap: 5px;
    justify-content: start;
    align-items: center;
}

.mySwiper .swiper-button-next:after, .mySwiper .swiper-button-prev:after {
    font-size: 20px;
    color: white;
    background-color: #00000080;
    padding: 60px 10px;
    height: 150px;
}

.mySwiper .swiper-button-next:after {
    margin-left: 20px;
}

.mySwiper .swiper-button-prev:after {
    margin-right: 20px;
}

.swiper-custom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background-color: #333;
    padding: 10px;
    border-radius: 5px;
}

    .swiper-custom-pagination img {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

.mySwiper2 .swiper-pagination {
    background-color: rgba(0, 57, 92, 0.4);
    bottom: 0px;
    padding: 8px; 
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 4000;
    justify-content: center;
    align-items: center;
    padding: 40px;
    /*overflow-y: hidden;*/
}

.modal-content {
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-width: auto;
    max-height: auto;
}

.close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

    .financeBody {
        padding: 30px;
    }

.financeBody a {
    text-decoration: none;
    border-radius: 50px;
    padding: 5px 30px;
    color: white;
    background-color: #FF9900;
    font-size: 1.2rem;
}

.card-text {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.btnResults {
    display: none;
}

.car-title h4 {
    font-size: 24px;
}
.btn-primary-reserve {
    background: #C40303;
    color: #fff;
    border-radius: 0px;
    margin: 20px;
    margin-top: -25px !important;
    font-size: 1.5rem;
    border-color: red;
    padding: 15px;
    font-weight: 600;
}

.btn-primary-reserve:hover {
    color: #fff !important;
    background-color: black !important;
}

.primary-calculator-button:hover {
    color: #fff !important;
    background-color: black !important;
}

.enquireBtn {
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: -30px;
}

.enquireBtn a {
    text-decoration: none;
    border-radius: 42px;
    padding: 16px 1vw;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: start;
    width: 60%;
}

.enquireBtn a:hover {
    color: #fff !important;
    background-color: black !important;
}

.enquireBtn .btn1 {
    background-color: #A7C712;
}

.enquireBtn .btn2 {
    background-color: #65A1D7;
}

.car-title .container {
    padding-left: 50px;
}

.car-carousel .container {
    padding-left: 50px;
}

.card-title {
    font-size: 2.8rem;
}

.card-subtitle {
    font-size: 2rem;
    font-weight: 400;
}

.container-icons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 4px;
    margin: 50px 0px;
}

.item {
    background-color: #FFFFFF;
    padding: 10px;
    margin: 9px;
    text-align: center;
}

.container-icons .item p {
    margin: 0;
}

.container-icons .item .icon-text1 {
    font-size: 1.2rem;
    color: #575756;
}

.container-icons .item .icon-text2 {
    font-size: 1.3rem;
}

.vin-number .vin {
    padding: 50px 0px;
    font-size: 12px;
}

.nav-tabs .nav-item a {
    border-left: none;
    border-top: none;
    border-right: none;
    color: #575756;
    font-weight: 700;
}

/*    .nav-tabs .nav-item a.active {
        border-bottom: 3px solid #00395C;
        color: #00395C;
    }

.nav-link {
    color: #fff;
}
.nav-link:hover {
    color: #262F33;
}*/

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff !important;
    background-color: #C40303;
    border: none;
    outline-color: red;
}
.nav-pills .nav-link {
    color: #C40303;
}

.nav-pills .nav-item .nav-link.active img {
    filter: invert(84%) sepia(23%) saturate(7229%) hue-rotate(180deg) brightness(88%) contrast(90%);
}

.tabsMobile {
    display: none;
}

.tabsMobile .tab-content .container.accordion {
    max-width: 100%;
    display: none;
}

    .tabsMobile .tab-content .container .accordion .accordion-item .accordion-header {
        position: relative;
        margin: 10px 20px;
    }


    .tabsMobile .tab-content .container .accordion .accordion-item .acc-btn {
        position: relative;
        padding: 10px;
        background: #F0F1F2;
        color: #262F33;
        cursor: pointer;
        width: 100%;
        border: none;
        font-weight: 400;
        font-size: 1.6rem;
        line-height: 22px;
    }

        .tabsMobile .tab-content .container .accordion .accordion-item .acc-btn::before {
            content: '-';
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            font-size: 1.5em;
            color: #65A1D7;
        }

        .tabsMobile .tab-content .container .accordion .accordion-item .acc-btn.collapsed::before {
            content: '+';
        }

.tabsMobile .tab-content .container button.acc-btn::after {
    display: none;
}

.tabsMobile .tab-content .container .accordion-item {
    border-color: white;
    background-color: #F0F1F2;
}

.tabsMobile .tab-content .container .acc-btn {
    border: none;
}

.section-finance-calculator {
    font-size: 1.4rem;
}

    .section-finance-calculator h6 {
        font-weight: 700;
        font-size: 3.2rem;
        line-height: 44px;
        color: #262F33;
        margin-left: 10px;
    }

    .section-finance-calculator h4 {
        font-weight: 700;
        font-size: 1.6rem;
        line-height: 24px;
        color: #262F33;
    }

    .section-finance-calculator .table-detail {
        background: #fcfcfc;
        border: 1px solid #cfcfcf;
        padding: 24px 50px;
    }

.radio-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.radio-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

    .radio-item input[type="radio"] {
        margin-right: 5px;
    }

.radioOptions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 30px;
}
/* Finance Calculator lease and Hire Purchase*/
.section-4 section-finance-calculator .container {
    display: flex;
    justify-content: center;
    grid-template-columns: 2%;
}
/* Styles for the Test Drive popup form */
#popup-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 4000;
}
    #popup-form form {
        max-width: 100%;
        max-height: 100%;
        margin: 0 auto;
    }
/* Styles for the popup button */
#popup-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('/img/chevron-down-solid.png');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-left: 10px;
    height: 43px;
    font-family: var(--font-family-1);
}

.is-invalid {
    border-color: var(--used-cars);
}

/* Remove arrows from number input */
.form-group input[type="number"]::-webkit-inner-spin-button,
.form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.form-group input {
    padding-left: 10px;
    height: 43px;
    font-family: var(--font-family-1);
}

.title {
    color: #C40303;
    font-weight: 700;
    font-size: 3rem;
    font-family: var(--font-family-1);
}

.car-brand-title {
    color: #8F8F8F;
    font-weight: 700;
    font-size: 2.5rem;
    font-family: var(--font-family-1);
}

.car-brand-title span {
    color: #8F8F8F;
    font-weight: 700;
    font-size: 2.5rem;
}

.details-title {
    color: #8F8F8F;
    font-weight: 600;
    font-size: 2rem;
}

.details-description {
    color: #131313C9;
    font-weight: 400;
    font-size: 1.3rem;
}
.form-group {
    flex-basis: 33.33%;
/*    margin-bottom: 20px;*/
    box-sizing: border-box;
    padding-right: 10px;
}
.form-group:last-child {
    margin-right: 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}
/* Additional styles for the form elements (optional) */
input, button {
    margin-top: 10px;
}
/* Remove arrows from number input */
.form-groupp input[type="number"]::-webkit-inner-spin-button,
.form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

p.error-msg {
    font-size: 14px !important;
    color: red !important;
    margin: 0 !important;
}

.form-group {
    position: relative;
}


.form-group select option {
    width: 200px; 
    padding: 8px; 
    font-size: 14px; 
    border: 1px solid #ccc; 
    border-radius: 4px;
    background-color: #fff; 
}

.form-group select option:checked {
    background-color: #007bff;
    color: #fff; 
}
.hr-style {
    width: 50%;
    margin-top: -60px;
    background-color: #666666;
    border: none;
    height: 2px;
    opacity: 80;
}
.container{
    padding: 20px;
}
.text-container {
    padding: 30px;
}
.not-bold {
    font-weight: normal !important;
}
/*//RESPONSIVE VIEWS //*/
.w--200-139{
    width:200px;
}
@media (max-width: 320px){
    .hr-style {
        width: 100%;
        margin-top: 30px;
        background-color: #666666;
        border: none;
        height: 1px;
        opacity: 80;
    }
    .btn-primary-reserve {
        padding: 16px 10px;
        width: 86%;
        height: 39px;
        line-height: 2px;
    }
    .btn1 {
        height: 39px;
        line-height: 2px;
    }
    .button-container {
        gap: 20px;
    }
   
}
@media only screen and (min-width: 320px) and (max-width: 992px) {
    .disclaimerTandC {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .mySwiper2 .swiper-button-prev {
        left: 90px; /* Adjust the distance from the left as needed */
    }

    .mySwiper2 .swiper-button-next {
        right: 90px; /* Adjust the distance from the right as needed */
    }
    .item {
        background-color: #FFFFFF;
        margin: 4px;
        text-align: center;
    }
    .section-finance-calculator .table-detail{
        padding: 24px !important;
        width: 100% !important;
    }
    .btn-primary-reserve {
        padding: 16px 10px;
    }
    .enquireBtn {
       width: 100%;
    }
/*    .btn1 {
        margin-top: -10px;
    }*/
}

@media (max-width: 375px) {
    .section-finance-calculator .table-formulas {
        padding: 24px 0px;
    }
}

@media (max-width: 376px) {
    .enquireBtn a {
        padding: 16px 10px;
        width: 100%;
    }
}

@media (min-width: 376px) {
    .enquireBtn a {
        padding: 16px 10px;
    }
}
@media (max-width: 576px) {
        .car-title .container {
            padding: 0px 20px;
        }

        .car-carousel .container {
            padding: 0px 20px;
        }

        .financeBody .inStock {
            display: none;
        }

        .car-title a {
            /* display:inline;*/
            text-decoration: none;
            border-radius: 50px;
            padding: 5px 20px;
            color: white;
            /*  background-color: #f18900;*/
            font-size: 0.8rem;
        }

        .car-title .inStockMobile {
            display: inline;
        }

        .tabs {
            display: none;
        }
        .tabsMobile {
            display: block;
        }
        .btn-primary-reserve {
            margin-top: -20px !important;
        }
        .enquireBtn {
            gap: 0px;
        }
    }

    @media screen and (max-width: 600px) {
        .enquireBtn {
            flex-direction: column;
        }

            .enquireBtn a {
                width: 100%;
            }
        .font--28-22, .font--28-22 span{
            font-size: 22px !important;
        }
        .font--38-22{
            font-size: 32px !important;
        }
        .font--18-14, .font--18-14 p{
            font-size: 14px !important;
            font-family: var(--font-family-1);
        }
        button.g-recaptcha.btn.btn-primary.mt-5.w--200-139 {
            background: #C40303;
            border-radius: 0px;
            color: #fff;
            height: 53px;
            border-color: #C40303;
            font-size: 24px !important;
            font-weight: 400 !important;
            font-family: var(--font-family-1);
        }
       
    }

    @media (min-width: 577px) and (max-width: 992px) {
        .cardFinance {
            padding-top: 0;
        }

        .financeBody .inStock {
            display: none;
        }

        .car-title a {
            /* display: inline;*/
            text-decoration: none;
            border-radius: 50px;
            padding: 5px 20px;
            color: white;
            /* background-color: #f18900;*/
            font-size: 1rem;
        }

        .car-title .inStockMobile {
            display: inline;
        }

        .car-title .container {
            padding-left: 30px;
        }

        .car-carousel .container {
            padding-left: 30px;
            padding-right: 30px;
        }

        .enquireBtn a {
            width: 60%;
        }

        enquireBtn {
            gap: 5px;
        }

        .tabs {
            display: none;
        }

        .tabsMobile {
            display: block;
        }
    }

    @media screen and (max-width: 600px) {
        .radio-item {
            margin-bottom: 10px;
        }

        .radioOptions {
            gap: 10px;
        }
    }

    @media (width: 992px) {
        .cardFinance {
            padding-top: 0px;
        }

        .financeBody .inStock {
            display: block;
        }

        .car-title a {
            display: none;
        }

        .car-title .container {
            padding-left: 50px;
        }

        .car-carousel .container {
            padding-left: 50px;
        }

        .financeBody a {
            width: 80%;
        }

        .enquireBtn a {
            width: 100%;
        }


        .tabsMobile {
            display: block;
        }
    }

    @media (min-width: 993px) {
        .enquireBtn a {
            width: 100%;
        }

        @media (min-width: 1200px) {
            .enquireBtn a {
                width: 80%;
                font-size: 15px !important;
            }
        }

        @media (min-width: 1380px) {
            .enquireBtn a {
                width: 60%;
            }
        }
        .font--38-32{
            font-size: 38px;
            /* font-family: 'Nunito Sans'; */
        }
        .font--22-20{
            font-size: 22px;
            font-family: 'Segoe UI';
        }
    }

    @media (max-width: 991px) {
        .share-wrapper {
            left: 38px !important;
            top: 21px !important;
        }

        .car-icons .container .row {
            padding-left: 10px;
            padding-right: 10px;
            gap: 30px;
            display: grid;
            grid-template-columns: auto auto;
        }

        .btnResults {
            display: block;
        }

        .car-icons .container .row .col-md-6 {
            padding: 0;
            font-size: 1rem;
        }

        .car-icons .container {
            padding-left: 30px;
            padding-right: 30px;
        }
        .swiper-wrapper .swiper-button-next, .swiper-button-prev {
            font-size: 2.4rem;
        }

        .zoom-image {
            display: none;
        }


        .enquireBtn {
            padding: 20px;
        }

        .container-icons {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            grid-gap: 4px;
            margin-bottom: 2 0px;
        }

        .vin-number .vin {
            padding: 20px 0px;
            font-size: 12px;
        }

        .swiper.mySwiper {
            display: none;
        }

        .swiper-pagination-fraction {
            justify-content: center;
            background: none;
        }

        .mySwiper2 .swiper-button-next:after, .mySwiper2 .swiper-button-prev:after {
            font-size: 15px;
        }

        .mySwiper2 .swiper-pagination {
            padding: 0;
            /* background: none;*/
        }

        .mySwiper2 {
            position: relative;
        }

            .mySwiper2 .swiper-pagination {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                z-index: 5;
                display: flex;
                justify-content: center;
            }

            .mySwiper2 .swiper-button-prev,
            .mySwiper2 .swiper-button-next {
                width: 0;
                height: 20px;
                z-index: 10;
                cursor: pointer;
                position: absolute;
                bottom: 0;
                top: 100%;
            }

            .mySwiper2 .swiper-button-prev {
                left: calc(50% - 40px);
                transform: translate(-50%, 0);
            }

            .mySwiper2 .swiper-button-next {
                left: calc(50% + 40px);
                transform: translate(-50%, 0);
            }

        .car-title h4 {
            font-size: 22px;
            padding-bottom: 10px;
        }
        a.btn.btn1.mb-4 {
            font-size: 15px !important;
        }
        /*p {
            font-size: 12px !important;
        }*/
        .form-group {
            flex-basis: 100%;
        }

        .g-recaptcha {
            transform-origin: left top;
            transform: scale(0.7);
            -webkit-transform-origin: left top;
            -webkit-transform: scale(0.7);
            -ms-transform-origin: left top;
            -ms-transform: scale(0.7);
        }

        .font--38-32{
            font-size: 32px;
             font-family: var(--font-family-1); 
        }
        .font--22-20{
            font-size: 20px;
            font-family: 'Segoe UI';
        }
        .ps--20{
            padding-left:20px;
        }
        .w--200-139{
            width:139.305%;
        }
    }

.share-wrapper {
    position: absolute;
    left: 58.5px;
    top: 35px;
    z-index: 20;
}

.share-button {
    background-color: transparent;
    border: 0;
    padding: 8px;
    width: 50px;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-button img {
    width: 50px;
    height: 50px;
}

.share-menu {
    width: 193px;
    height: 87px;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: white;
    padding: 19px 24px 30px 24px;
    border-radius: 12px;
    display: flex;
    gap: 36px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}

.share-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
}

.share-option svg,
.share-option image {
    width: 100%;
    height: 100%;
}

    .share-option.link {
        background-color: transparent;
        color: white;
        margin: 0;
    }

.d-none {
    display: none;
}

@media (min-width: 944px) {
    .custom-modal-width {
        max-width: 40vw;
        width: 100%;
        font-weight: 600;
    }
    #privilegeModal .modal-body-text,
    #privilegeModal .modal-body-text li {
        font-family: 'Segoe UI', sans-serif !important;
        font-style: normal !important;
        font-weight: 600 !important;
        font-size: 18px !important;
        color: rgba(19, 19, 19, 0.75);
    }
}

@media (max-width: 944px) {
    .modal-title {
        font-weight: 700;
        font-size: 18px;
        text-align: center;
    }
    #privilegeModal .modal-body-text,
    #privilegeModal .modal-body-text li {
        font-family: 'Segoe UI', sans-serif !important;
        font-style: normal !important;
        font-weight: 400 !important;
        font-size: 14px !important;
        color: rgba(19, 19, 19, 0.75);
    }

}

@media (max-width: 576px){
    .share-menu{
        width: auto;
        height: 67px;
    }
    .share-option{
        width: 30px;
        height: 30px;
    }
}