
:root {
    --themecolordkgreen: #008000;
    --themecolorgreen: #84C284;
    --themecolorbeige: #D8CFB8;
    --themecolorltbeige: #FDFCF7;
    --themecolorred: #CC0000;
    --themecolormaroon: #CC0000;
    --themecolorltgrey: #F1F0ED;
    --themecolorgold: #d6d2c7;
    --themecolorbrightgold: #C8BB9B;
    --themecolordkgrey: #e6e8e7;
}

body {
    font-family: Verdana, Arial, Helvetica;
    color: #000;
    font-size: 10px;
}

.text-red {
    color: var(--themecolorred) !important;
}

.text-red {
    color: var(--themecolorred) !important;
}

.text-black {
    color: #000;
}

.ls3 {
    letter-spacing: 3.7px !important;
}

a {
    color: #000;
    text-decoration: underline;
    font-size: 10px;
}

    a:hover {
        color: #000;
        text-decoration: none;
    }

    a.page-link:focus {
        box-shadow: none;
        outline: none !important;
    }

.bg-beige {
    background-color: var(--themecolorbeige) !important;
}

.bg-dkgrey {
    background-color: var(--themecolordkgrey) !important;
}

.bg-grey {
    background-color: var(--themecolorltgrey) !important;
}

.bg-gold {
    background-color: var(--themecolorgold) !important;
}

.fs-13 {
    font-size: 13px;
}

.fs-15 {
    font-size: 15px;
}

hr.white {
    color: #fff;
    opacity: 1;
}

/* BUTTONS */

.btn-xs {
    padding: 0.2rem 1.2rem !important;
    font-size: 10px;
    ;
}

.btn-gradient {
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(0deg, #4ba346, #085f01);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem; /* matches .btn */
    transition: opacity 0.2s ease-in-out;
}

    .btn-gradient:hover {
        /*opacity: 0.85;*/
        color: #fff;
    }

.btn-link {
    color: var(--themecolorred) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
}

/* TOP HEADER */

.top-header {
    background-image: url("/images/top-banner-bg.jpg");
    background-repeat: repeat-x;
}

/* NAVIGATION */

.navbar-light.bg-light {
    background-color: var(--themecolorbeige) !important;
}

.navbar {
    border-bottom: 4px solid var(--themecolordkgreen);
}

.nav-link {
    color: #000000;
    font-family: Verdana, Arial, Helvetica;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    ;
}

.navbar-nav .nav-link.active {
    color: var(--themecolordkgreen);
}

.navbar-toggler {
    position: absolute;
    right: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    width: 2.5em;
    height: 2.5em;
}


.navbar-toggler-icon {
    background-image: url(/images/burger-icon.svg) !important;
}


.nav-link.dropdown-toggle {
    outline-width: 0 !important;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.navbar-nav .nav-link.show, .nav-link:focus, .nav-link:hover {
    color: #000000 !important;
}

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none;
}

.navbar-nav .dropdown-menu {
    background-color: var(--themecolorltbeige);
}

.dropdown-item {
    color: #000;
}

/***** Hover dropdown on desktop *****/
@media (min-width: 992px) { /* lg and up */
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* fixes BS5 gap */
    }
}

/* LEFT COL */

.chassis-history-container {
    position: relative;
    background-color: var(--themecolorltbeige);
    border-left: 2px solid var(--themecolordkgreen);
    border-right: 2px solid var(--themecolordkgreen);
    border-top: 5px solid var(--themecolordkgreen);
    border-bottom: 5px solid var(--themecolordkgreen);
    border-radius: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
}

    .chassis-history-container h6.subtitle-green {
        font-size: 10px;
        font-weight: bold;
        color: var(--themecolordkgreen);
    }

.subtitle-green {
    font-weight: bold;
    color: var(--themecolordkgreen);
}

.subtitle {
    font-size: 11px !important;
    font-weight: bold;
}

    .subtitle a {
        font-size: 11px !important;
        font-weight: bold !important;
        text-decoration: none !important;
    }

    .subtitle.text-green a {
        color: var(--themecolordkgreen) !important;
        font-size: 11px !important;
        font-weight: bold !important;
    }

    .subtitle.text-red a {
        color: var(--themecolorred) !important;
        font-size: 13px !important;
        font-weight: bold !important;
    }

.subtitle-lg {
    font-size: 15px !important;
}

.green-divide {
    border-top: 3px solid var(--themecolordkgreen);
    opacity: 1;
}

/* HOME */

/* Cards */

.card {
    background-color: var(--themecolorltbeige) !important;
    border-radius: 0%;
}

h5.card-title {
    font-size: 10px;
    color: var(--themecolorred) !important;
    text-transform: uppercase;
    font-weight: 600;
}

h6.card-subtitle {
    font-size: 11px;
    font-weight: bold;
    /*color: #000 !important; */
}

a.card-link {
    font-size: 9px;
}

.featured-article-row {
    border-bottom: 1px solid #e5e5e5;
    padding-top: 20px;
    padding-bottom: 20px;
}

    .featured-article-row:first-child {
        padding-top: 0px;
    }

    .featured-article-row:last-child {
        border-bottom: none;
        padding-bottom: 0px;
    }

.card-header {
    background-color: #ccc;
    border-top: 2px solid rgb(153, 0, 0);
    border-bottom: 2px solid rgb(153, 0, 0);
}

    .card-header h6 {
        font-weight: 700;
        color: #666666;
    }

.card-header-2 {
    background-color: var(--themecolorltbeige) !important;
    border-top: 2px solid var(--themecolormaroon) !important;
    border-bottom: 2px solid var(--themecolormaroon) !important;
}

    .card-header-2 h6 {
        font-weight: 700;
        color: #666666;
        font-size: 10px;
    }

p.calendar-links a {
    text-decoration: none;
    color: rgb(57, 57, 174);
}

.card.grey-card {
    background-color: #ebebeb !important;
    border-radius: 10px;
    border: 2px solid #ccc;
}

/* Bullet points */

ul.whats-new {
    list-style-image: url('/images/arrow.gif');
}

/* PAGE TITLES */

.page-title-container {
    background-color: #F1F0ED;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-bottom: 10px;
}

h1.page-title {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--themecolorred);
    text-transform: uppercase;
    margin-bottom: 0px;
}

h2.page-title {
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: 0px;
}

    h2.page-title.ls3 {
        letter-spacing: 3px !important;
    }
/* SUB NAV */

.page-menu-wrap {
    margin-bottom: 10px;
}

.page-menu-row {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background: #F1F0ED;
}

@media (min-width: 992px) {
}

.page-menu-nav .page-menu-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    list-style: none;
    background-color: transparent;
}


.page-menu-nav {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.page-menu-nav {
    display: flex;
    position: relative;
    width: 100% !important;
    margin-top: 5px;
    margin-bottom: 5px;
}

.page-menu-item {
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
}

    .page-menu-item > a {
        display: block;
        position: relative;
        line-height: 22px;
    }

    .page-menu-item > a {
        text-shadow: none;
        font-size: 11px;
        border-radius: 0;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 15px;
        padding-right: 15px;
        letter-spacing: 0.01rem;
        margin: 0;
    }

    .page-menu-item.current > a {
        color: var(--themecolorred);
        text-decoration: none;
    }
/* PAGINATION */

.pagination .page-link {
    font-size: 11px;
    color: #000;
}

.page-item .page-link {
    border-radius: 0px !important;
}

.pagination .page-link.active, .pagination .page-link {
    background-color: var(--themecolorltgrey);
    border: none;
}

    .pagination .page-link.active {
        color: var(--themecolorred);
    }

/* HISTORY BY CHASSIS */

/* Responsive tables */

.table.table-responsive-stack {
    border-color: #000;
}

.table td {
    background-color: #fff !important;
    color: #000;
}


.table > :not(caption) > * > * {
    background: #F1F0ED;
    color: #000;
    /*border-color: #000;*/
}

@media (max-width: 991.98px) {
    .table-responsive-stack {
        display: block;
        width: 100%;
    }

        .table-responsive-stack thead {
            display: none;
        }

        .table-responsive-stack tbody {
            display: block;
            width: 100%;
            color: #000;
        }

        .table-responsive-stack tr {
            display: block;
            width: 100%;
            margin-bottom: 1rem;
            /*background-color: #ffffff;*/
            background-color: var(--themecolorltbeige) !important;
            /*border-radius: 0.5rem;*/
            /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.075);*/
            padding: 1rem;
            border: 1px solid #000;
        }

        .table-responsive-stack td {
            display: flex;
            justify-content: space-between;
            width: 100%;
            padding: 0.5rem 0;
            border: none;
            border-bottom: 1px solid #f1f1f1;
            flex-wrap: wrap;
        }

            .table-responsive-stack td:last-child {
                border-bottom: none;
            }

            .table-responsive-stack td::before {
                content: attr(data-label);
                font-weight: 600;
                color: #000;
                margin-right: 1rem;
            }


    .action-buttons .btn:first-child {
        margin-top: 10px;
    }

    .table > :not(caption) > * > * {
        background-color: var(--themecolorltbeige) !important;
    }

    .table-responsive-stack td {
        border-bottom: 1px solid #dee2e6;
    }
}

@media (max-width: 1199.98px) {
    .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
}

/* MODAL */

.modal-content {
    background-color: var(--themecolorltbeige) !important;
}

.modal-content {
    border-radius: 0px;
}

.btn-close:focus {
    box-shadow: none;
    border: none;
}

.table-spec.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: #ffffff;
}

.table-spec th {
    font-weight: 400;
}

/* REFERENCE MATERIAL */

.table td.bg-gold {
    background-color: #d6d2c7 !important;
}

/* UNIDENTIFIED BENTLEYS */

.just-added-border-gold {
    border: solid 4px var(--themecolorbrightgold) !important;
}

.unidentified-bentleys-border-grey {
    border: solid 4px #E8E8E8 !important;
}

/* REGISTER */

.no-min-height {
    min-height: unset !important;
}

.form-control {
    background-color: #f4f4f4;
    border-color: #8d9aa8;
    border-radius: 0px;
}

.btn-form {
    border-color: #8d9aa8;
    border-radius: 0px;
    padding-left: 7px !important;
    padding-right: 7px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.form-control:focus {
    background-color: #f4f4f4;
    box-shadow: none;
    border-color: #000;
}

.form-check-input {
    border-color: #8d9aa8;
}

/* VIDEOS */

.video-thumb-wrapper {
    position: relative;
    cursor: pointer;
}

    .video-thumb-wrapper img {
        display: block;
        width: 100%;
    }

.play-button {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

    .play-button span {
        width: 70px;
        height: 70px;
        background: rgba(0, 0, 0, 0.65);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease, background 0.2s ease;
    }

        .play-button span::before {
            content: "";
            display: block;
            margin-left: 4px;
            width: 0;
            height: 0;
            border-left: 18px solid white;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
        }

.video-thumb-wrapper:hover .play-button span {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.8);
}

/* CHASSIS NUMBER */

.chassis-numbers-bg {
    background-color: #E6E9E0;
}

/* ENGINE NUMBER */

.engine-numbers-bg {
    background-color: #EDF1D1;
}

/* REGISTRATION NUMBER */

.registration-numbers-bg {
    background-color: #F1EBD3;
}

/* IMAGE GALLERIES */

.fancybox__caption a {
    color: #fff;
}

/* CAR ADVERTS */

.car-title {
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
}

/* CAR ADVERTS */

.card-top h6 {
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}

.card-footer h6 {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

.card-footer.gold-card-footer {
    background-color: #e0d9c7;
    border-radius: 0px;
}


/* SEARCH TOOL */

.form-select {
    border-radius: 0px;
    background-color: #f4f4f4;
    border-color: #8d9aa8;
}

.form-select-sm {
    font-size: .875rem;
    padding: .25rem .5rem;
}

.form-select:focus {
    background-color: #f4f4f4;
    box-shadow: none;
    border-color: #000;
}

/* FOOTER */

footer {
    font-size: 10px !important;
    font-weight: 400;
    color: #000;
}

    footer ul li a {
        font-size: 10px !important;
        text-decoration: underline !important;
        font-weight: 400 !important;
        text-transform: capitalize !important;
        color: #000;
    }
