@font-face {
    font-family: 'FavoritStd';
    src: url("/javax.faces.resource/font/FavoritStd-Light.woff2.xhtml") format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'FavoritStd';
    src: url("/javax.faces.resource/font/FavoritStd-LightItalic.woff2.xhtml") format('woff2');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'FavoritStd';
    src: url("/javax.faces.resource/font/FavoritStd-Regular.woff2.xhtml") format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'FavoritStd';
    src: url("/javax.faces.resource/font/FavoritStd-Italic.woff2.xhtml") format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'FavoritStd';
    src: url("/javax.faces.resource/font/FavoritStd-Medium.woff2.xhtml") format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'FavoritStd';
    src: url("/javax.faces.resource/font/FavoritStd-Bold.woff2.xhtml") format('woff2');
    font-weight: 700;
    font-style: normal;
}

:root {
    --bs-link-color-rgb: 50, 50, 52;
    --bs-link-hover-color-rgb: 0, 0, 0;
    --bs-border-radius-lg: 0;
    --bs-btn-hover-color: #000;
    --bs-alert-color: #dc3545;
    --bs-body-bg: #f7f7f7;
    --bs-body-color: #000000;
}

[data-bs-theme=dark] {
    --bs-link-color-rgb: 50, 50, 52;
    --bs-link-hover-color-rgb: 0, 0, 0;
    --bs-body-bg: #f7f7f7;
    --bs-body-color: #000000;
    --bs-secondary-color: #000;
}

body {
    font-family: 'FavoritStd', sans-serif;
    font-weight: 300;
    background-color: #f7f7f7;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'FavoritStd', sans-serif;
    font-weight: 700;
}

.btn {
    font-family: 'FavoritStd', sans-serif;
    font-weight: 400;
    border-radius: 100px;
}

.nav-link {
    color: #000;
    --bs-navbar-active-color: #000000;
}

.nav-link:focus, .nav-link:hover {
    background-color: #f3f3f3;
    color: #000;
}

@media (min-width: 1200px) {
    .nav-link {
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
    }
}

.brand-logo {
    background-image: url("/javax.faces.resource/images/logo-mg.svg.xhtml");
    max-width: 64px;
}

.naviextras-logo {
    background-image: url("/javax.faces.resource/images/naviextras-logo-dark.svg.xhtml");
    max-height: 44px;
    background-position-x: left !important;
}

.colors-primary {
    background-color: #fff;
    color: #000;
}

.colors-secondary {
    background-color: #fff;
    color: #000;
}

.color-btn-primary {
    background-color: #ffffff;
    border-color: #000000;
    color: #000;
}

.color-btn-primary:hover {
    background-color: #000000;
    border-color: #ffffff;
    color: #fff;
}

.color-btn-secondary {
    background-color: transparent;
    border-color: #000000;
    color: #000;
}

.color-btn-secondary:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.color-btn-primary-border, .color-btn-secondary-border {
    background-color: #ffffff;
    border-color: #000000;
    color: #000;
    font-size: 1.2rem;
    padding: 0.75rem 2rem;
}

.color-btn-primary-border:hover, .color-btn-secondary-border:hover {
    background-color: #000000;
    border-color: #ffffff;
    color: #fff;
}

.icon-cart {
    background-image: url("/javax.faces.resource/images/cart-icon-dark.svg.xhtml");
}

.icon-cart-full {
    background-image: url("/javax.faces.resource/images/cart-icon-full-dark.svg.xhtml");
}

#header-lmg, #header-faq {
    display: none;
}

#header-guide {
    display: list-item !important;
}

.dropdown-menu {
    --bs-dropdown-link-hover-color: #000000;
    --bs-dropdown-link-color: #000;
    --bs-dropdown-link-hover-bg: #f3f3f3;
}

.accordion {
    --bs-accordion-active-bg: #f2f2f1;
    --bs-accordion-btn-focus-box-shadow: none;
}

#selector .accordion-button:not(.collapsed) {
    background-color: #ebebeb;
    box-shadow: none;
}

#selector .list-group-item.active {
    background-color: #ebebeb;
    border-color: #102a4f;
    color: #102a4f;
}

#selector .accordion-body {
    background-color: #ebebeb;
}

#selector .list-group-item + .list-group-item {
    border-top-width: 1px;
}

#selection-map-desc {
    display: none;
}

.region-list {
    margin-right: .25rem;
    margin-left: .25rem;
}

#headunit-list {
    flex-direction: row;
    flex-wrap: wrap;
}

.headunit-listelement {
    position: relative;
    flex: 0 0 auto;
    padding: 0;
    margin: .25rem;
    text-align: center;
}

/* First 3 headunits (Petrol) fill row 1, remaining 4 (EV) fill row 2 */
.headunit-listelement:nth-child(-n+3) {
    width: calc(33.333% - 0.5rem);
}

.headunit-listelement:nth-child(n+4) {
    width: calc(25% - 0.5rem);
}

@media (max-width: 991px) {
    .headunit-listelement:nth-child(-n+3),
    .headunit-listelement:nth-child(n+4) {
        width: calc(50% - 0.5rem);
    }
}

@media (max-width: 575px) {
    .headunit-listelement:nth-child(-n+3),
    .headunit-listelement:nth-child(n+4) {
        width: 100%;
    }
}

.headunit-listelement::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}

.headunit-listelement:nth-child(-n+3)::before {
    background-image: url("/javax.faces.resource/images/fuel-icon-petrol.svg.xhtml");
}

.headunit-listelement:nth-child(n+4)::before {
    background-image: url("/javax.faces.resource/images/fuel-icon-ev.svg.xhtml");
}

.headunit-listelement-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #dee2e6;
}

.headunit-listelement-body {
    padding: 1rem;
}

.headunit-listelement-type {
    display: none;
}

.headunit-listelement-car-name {
    font-size: 1.25rem;
    padding-bottom: .5rem;
}

.headunit-listelement-car-year {

}

.pkg-coverage {
    padding: 0 1rem 1rem 1rem;
}

.pkg-version {
    display: none;
}

.plan-card {
    display: flex;
    flex-wrap: wrap;
    padding: 2.5rem 1.8rem 1rem 1.8rem;
    background-color: #ffffff;
    text-align: center;
    border: 1px solid #0000002d;
}

.plan-card-img {
    max-width: 100%;
    height: auto;
    padding: 0 0.7rem;
    width: 50%;
}

.plan-card-txt-wrapper {
    width: 50%;
    vertical-align: middle;
}

.plan-card-price-row {
    margin-bottom: 0.5rem;
}

.plan-card-price {
    font-family: 'FavoritStd', sans-serif;
    font-weight: 700;
    color: #102a4f;
    font-size: 1.25rem;
    line-height: 1.2;
}

.plan-card-updates {
    display: none;
}

.plan-card-btn {
    width: 100%;
    margin-top: 1.5rem;
}

.benefit-no1-picture::before {
    background-image: url("/javax.faces.resource/images/benefit-1-mg.jpg.xhtml");
}

.benefit-no2-picture::before {
    background-image: url("/javax.faces.resource/images/benefit-2-mg.jpg.xhtml");
}

.benefit-no3-picture::before {
    background-image: url("/javax.faces.resource/images/benefit-3.jpg.xhtml");
}

.benefit-no4-picture::before {
    background-image: url("/javax.faces.resource/images/benefit-4.jpg.xhtml");
}

.headunit-image {
    background-image: url("/javax.faces.resource/images/headunit-mg.jpg.xhtml");
}

.accordion-button {
    font-size: inherit;
    --bs-accordion-btn-bg: #f7f7f7;
}

.hero-section {
    background-image: url("");
    background-size: cover;
    background-position: center;
}

.highlighted {
    border: 3px #efdf00 solid;
    padding: 15px;
}

/* Contact Us - Models */
.models-list:not(:last-child) {
    margin-bottom: 2rem;
}

.car-list {
}

.car-item {
    cursor: pointer;
}

.car-title {
}

.car-actions {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, margin-bottom 0.3s ease-out;
    display: flex;
    flex-wrap: wrap;
}

.car-item.open .car-actions,
.car-item:hover .car-actions {
    max-height: 60px;
    margin-bottom: 0.5rem;
}

.car-actions a {
    font-size: 0.8rem;
    padding: 0 0.4rem;
}

.car-actions .btn-win,
.car-actions .btn-mac {
    display: none;
}
