
[data-bs-theme=light] {
    --bs-border-radius: 0;
}

.modal {
    --bs-modal-color: #212529;
}

.accordion-button {
    font-size: inherit;
}

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

.btn {
    --bs-btn-font-size: 0.7rem;
    --bs-btn-font-weight: 700;
    --bs-btn-line-height: 3;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.btn-secondary {
    --bs-btn-bg: #3c3c3b;
    --bs-btn-border-color: #3c3c3b;
}

ul.dotless {
    list-style-type: none;
    padding: 0;
}

li > a {
    text-decoration: none;
}

li > a.nav-link {
    line-height: 1.3rem;
    white-space: nowrap;
}

li > a.nav-link:not(.dropdown-toggle) {
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.7rem;
    font-weight: bold;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: stretch;
    width: min(350px, 50%);
}

.brand-logo, .naviextras-logo {
    flex-grow: 1;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.modal {
    --bs-modal-width: 420px;
}

@media (min-width: 576px) {
    .modal-dialog {
        margin-right: 2rem;
    }
}

.carousel-text {
    position: absolute;
    top: 30%;
    left: 7%;
    color: white;
    /*text-shadow: 0 0 4px black;*/
}

.banner {
    height: max(600px, 33vw);
    background-size: cover;
    background-position: center;
}

/*--------  FLAGS  --------*/

.flag-icon {
    display: inline-flex;
    align-items: center;
}

.flag-icon::before {
    content: "";
    display: inline-block;
    width: 1.333333em;
    height: 1rem;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    margin-right: 0.5em;
}

.flag-en::before {
    background-image: url("/javax.faces.resource/flags/gb.svg.xhtml");
}

.flag-de::before {
    background-image: url("/javax.faces.resource/flags/de.svg.xhtml");
}

.flag-es::before {
    background-image: url("/javax.faces.resource/flags/es.svg.xhtml");
}

.flag-fr::before {
    background-image: url("/javax.faces.resource/flags/fr.svg.xhtml");
}

.flag-it::before {
    background-image: url("/javax.faces.resource/flags/it.svg.xhtml");
}

.flag-nl::before {
    background-image: url("/javax.faces.resource/flags/nl.svg.xhtml");
}

@media (min-width: 992px) {
    #newsletter-container {
        padding-right: 5%;
        border-right: 1px solid #d5d5d5;
    }

    #links-container {
        padding-left: 5%;
    }
}

#benefits {
    background-color: white;
}

.error-label {
    height: 1.5rem;
    padding-left: 1.5rem;
    color: var(--bs-alert-color);
    font-size: .875em;
}

#nngmaps {
    background-image: url("/javax.faces.resource/images/nngmaps.png.xhtml");
    background-size: cover;
}

.benefit-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
    margin: 1rem 0;
    width: 100%;
    -webkit-overflow-scrolling: touch;

    &::-webkit-scrollbar {
        display: none;
    }
}

.benefit-card {
    width: min(444px, 100%);
    flex: 0 0 auto;
    padding: 0 12px;
    scroll-snap-align: start;
    user-select: none;
    pointer-events: none;
}

.benefit-card::before {
    content: "";
    display: block;
    padding-top: 54%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.actcode-char {
    display: inline-block;
    width: 3rem;
    background-color: black;
    color: white;
    line-height: 3rem;
    text-align: center;
    font-size: calc(1rem + min(1vw, 0.5rem));
}

.fade-in-out {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.fade-in-out.show {
    opacity: 1;
}

.cart-button {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    border: 0;
    margin-left: .5rem;
    background-color: transparent;
}

.navbar-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.headunit-image {
    height: 108px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}