body {
  font-family: Montserrat,sans-serif;
}

.bg-red {
    background-color: red;
}

.bg-blue{
    display: block; width: 100%; height: 30px; background-color: #0055a0;
}

.header .header-bottom:after, .header .header-bottom:before {
    display: block;
    position: absolute;
    content: "";
    bottom: 0;
    height: 40px;
    width: 50%;
    z-index: 900;
}

.header .header-bottom:before {
    left: 0;
    background-color: #0055a0;
}

.button_dc {
  background-color: #ff0000;
  border: none;
  color: white;
  padding: 4px 50px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.button_dc-sm {
  background-color: #aeaeae;
  border: none;
  color: white;
  padding: 4px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
}

.button_dc-sm:hover{
    background-color: #9a9a9a;
}

.button_dc-warning {
  background-color: #ffca2c;
  border: none;
  color: white;
  padding: 4px 50px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}

.button_dc-warning-sm {
  background-color: #ffca2c;
  border: none;
  color: white;
  padding: 4px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
}

.button_dc-warning-sm:hover {
    background-color: #f9b70b;
}

.button_dc-warning:hover {
    background-color: #f9b70b;
}

.button_next {
  background-color: #0055a0; /* Green */
  border: none;
  color: white;
  padding: 4px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}


.button_previus {
  background-color: #5b5b5b; /* Green */
  border: none;
  color: white;
  padding: 4px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
}
.button_dc:hover {

    background-color: #c20000;
}

.parallelogram{
  transform: skew(-20deg);
}

.skew-fix{
  display:inline-block;
  transform: skew(20deg);
}

.skew-right{
  display:inline-block;
  transform: skew(-20deg);
}

.sub-logo-text {
    font: italic bold 50px Montserrat,sans-serif;
}

.img-thumbnail{
    max-width: 250px;
    max-height: 250px;
}

.card_centered {
    margin-right: auto;
    margin-left: auto;
    max-width: 90%;
}

.select2-container{
    width: 100% !important;
}

.par-block{
      width: 100%;
  height: 30px;
  transform: skew(-20deg);
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.par_image {
  background-image: url(https://www.decallab.eu/wp-content/uploads/2017/10/decallab-logo.svg);
  position: absolute;
  transform: skew(-20deg);
}

.select2-container--default .select2-selection--single {
    background-color: #ebecec;
    border: none;
    border-radius: 0px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #dedede;
}

.fw-bold{
    color: #5b5b5b;
}

.bg-dc{
        background-color: #ebecec;
}

.img-responsive {
    max-height: calc(100vh - 225px);
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.img-fluid-dl{
    max-width: 100%;
    height: auto;
}

/* ---- Figma redesign (Decallab "dirtbike graphics") ---- */

:root {
    --dl-bg: #f2f2f2;
    --dl-text: #323232;
    --dl-muted: #979797;
    --dl-grey: #5f5f5f;
    --dl-line: #c4c4c4;
    --dl-blue: #004cbb;
    --dl-blue-soft: #d6e1f2;
    --dl-red: #ff0000;
    --dl-red-dark: #910000;
    --dl-content: 1224px;
}

.dl-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--dl-bg);
    color: var(--dl-text);
    font-family: Montserrat, sans-serif;
}

.dl-main {
    flex: 1 0 auto;
}

.dl-container {
    max-width: calc(var(--dl-content) + 32px);
    margin: 0 auto;
    padding: 0 16px;
}

/* header and footer share the same black photo banner */
.dl-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    padding-bottom: 8px;
    background: #000 url("../../img/design/header.jpg") center / cover no-repeat;
}

.dl-banner__text {
    color: #e4e4e4;
    font-size: clamp(24px, 7.5vw, 32px);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.dl-banner__text:hover {
    color: #fff;
}

/* "/ SELECT BIKE", "/ KTM", "/ FAVORITES" */
.dl-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 32px 0;
    border: 0;
    background: none;
    color: var(--dl-text);
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
}

a.dl-title:hover {
    color: #000;
}

.dl-title__slash {
    color: var(--dl-red);
    font-weight: 900;
}

/* brand menu - always open on desktop, a dropdown under the title on phones */
.dl-title--toggle {
    cursor: default;
}

.dl-title--toggle .dl-title__caret {
    display: none;
}

.dl-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    padding-bottom: 32px;
}

.dl-brand {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 10px;
    border-bottom: 2px solid transparent;
    color: var(--dl-grey);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.dl-brand:hover,
.dl-brand.is-active {
    border-bottom-color: var(--dl-red);
    color: #000;
}

/* brand page: "/ KTM" opens a white panel with every brand over the page */
.dl-brand-menu {
    position: relative;
    z-index: 30;
}

.dl-brand-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
}

.dl-title__caret--up {
    transform: scaleY(-1);
}

/* how it works */
.dl-hiw {
    padding: 32px 0;
    border-top: 2px solid var(--dl-line);
    text-align: center;
}

.dl-hiw__title {
    margin: 0 0 3px;
    color: var(--dl-blue);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.dl-hiw__lead {
    margin: 0;
    color: var(--dl-muted);
    font-size: 12px;
    font-weight: 500;
}

.dl-hiw__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding-bottom: 40px;
}

.dl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 288px;
    height: 264px;
    padding: 24px 26px;
    border-radius: 8px;
    background: rgba(242, 242, 242, 0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.dl-step__title {
    width: 167px;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--dl-muted);
    color: var(--dl-blue);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.dl-step__list {
    margin: 0;
    padding-left: 19.5px;
    color: #828282;
    font-size: 13px;
    font-weight: 500;
    line-height: 2;
}

/* brand page: model filter, result counts, grid */
.dl-filter {
    position: relative;
    width: 360px;
    max-width: 100%;
    margin: 0 auto 16px;
}

.dl-filter__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    padding: 12px 15px 12px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--dl-blue-soft);
    color: var(--dl-blue);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
}

.dl-filter__toggle[aria-expanded="false"] img {
    transform: scaleY(-1);
}

.dl-filter__menu {
    position: absolute;
    z-index: 20;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 60vh;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.dl-filter__clear,
.dl-filter__close {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: 0;
    background: none;
    color: #bdbcbc;
    font-size: 11px;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
}

.dl-filter__clear:hover,
.dl-filter__close:hover {
    color: var(--dl-grey);
}

/* type headers: light blue when closed, grey when open */
.dl-filter__type {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 12px 15px 12px 12px;
    border-bottom: 1px solid var(--dl-blue-soft);
    background: #f5f9ff;
    color: var(--dl-text);
    font-size: 12px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.dl-filter__type::-webkit-details-marker {
    display: none;
}

.dl-filter__type::after {
    content: "";
    width: 10px;
    height: 6px;
    background: url("../../img/design/caret-group.svg") center / contain no-repeat;
}

.dl-filter__group[open] > .dl-filter__type {
    border-bottom-color: #e4e4e4;
    background: #eaeaea;
}

.dl-filter__group[open] > .dl-filter__type::after {
    transform: scaleY(-1);
}

.dl-filter__ticks {
    padding: 5px 0 10px;
    background: #fff;
}

/* model checkbox rows ("tick" in Figma): default / hover / ticked */
.dl-tick {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 7px 5px 7px 12px;
    color: #000;
    font-size: 12px;
    cursor: pointer;
}

.dl-tick input {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin: 0;
    border-radius: 4px;
    background: #d9d9d9 center / contain no-repeat;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.dl-tick:hover {
    background: #f6faff;
    color: var(--dl-blue);
}

.dl-tick:hover input {
    background-image: url("../../img/design/tick-hover.svg");
}

.dl-tick input:checked {
    background-image: url("../../img/design/tick-active.svg");
}

.dl-tick input:focus-visible {
    outline: 2px solid var(--dl-blue);
    outline-offset: 1px;
}

.dl-tick input:checked + span {
    color: var(--dl-blue);
}

.dl-results,
.dl-crumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--dl-muted);
    font-size: 13px;
}

.dl-results__value {
    color: var(--dl-blue);
}

.dl-results__value b {
    font-weight: 600;
}

.dl-crumbs {
    margin: 16px 0 0;
}

.dl-results__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--dl-muted);
    font-size: 13px;
    text-decoration: none;
}

.dl-crumbs .dl-results__link,
.dl-to-top {
    text-transform: uppercase;
}

.dl-results__link:hover {
    color: var(--dl-text);
}

/* small heart before "View Favorites": outlined, filled once there are favorites (and on hover, as in Figma) */
.dl-fav-icon {
    width: 12px;
    height: 10px;
    background: url("../../img/design/heart-small.svg") center / contain no-repeat;
}

.dl-fav-icon.is-filled,
.dl-results__link:hover .dl-fav-icon {
    background-image: url("../../img/design/heart-small-filled.svg");
}

.dl-arrow--right {
    transform: rotate(180deg);
}

.dl-arrow--up {
    transform: rotate(90deg);
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.dl-card {
    position: relative;
    aspect-ratio: 392 / 238;
    overflow: hidden;
    border: 1px solid var(--dl-line);
    border-radius: 8px;
    background: #fff;
}

.dl-card__open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
}

.dl-card__open img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s;
}

.dl-card__open:hover img {
    transform: scale(1.03);
}

.dl-card__heart {
    position: absolute;
    top: -1px;
    right: -1px;
}

.dl-empty {
    grid-column: 1 / -1;
    padding: 48px 0;
    color: var(--dl-muted);
    text-align: center;
}

.dl-to-top {
    display: flex;
    margin: 56px auto 32px;
}

/* heart (favorites) button: default / hover / active come from Figma */
.dl-heart {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: url("../../img/design/heart.svg") center / contain no-repeat;
}

.dl-heart:hover {
    background-image: url("../../img/design/heart-hover.svg");
}

.dl-heart.is-active {
    background-image: url("../../img/design/heart-active.svg");
}

/* on the grid cards the heart is grey: an outline, filled once favorited */
.dl-heart.dl-card__heart {
    background-image: url("../../img/design/heart-card.svg");
}

.dl-heart.dl-card__heart:hover {
    background-image: url("../../img/design/heart-card-hover.svg");
}

.dl-heart.dl-card__heart.is-active {
    background-image: url("../../img/design/heart-card-active.svg");
}

/* image close-up - the dialog shrinks to the image, which is at most 800px high (Figma) and fits the screen */
.dl-viewer {
    --dl-viewer-max-w: calc(100vw - 32px);
    --dl-viewer-max-h: min(800px, calc(100vh - 64px - 3.5rem));
}

.dl-viewer__dialog {
    width: max-content;
    max-width: var(--dl-viewer-max-w);
    margin-right: auto;
    margin-left: auto;
}

.dl-viewer__content {
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: var(--dl-line);
    box-shadow: 4px 4px 10px 3px rgba(0, 0, 0, 0.25);
}

.dl-viewer__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* keeps a sensible box around the spinner until the image has loaded */
    min-width: min(400px, var(--dl-viewer-max-w));
    min-height: 200px;
}

.dl-viewer__image {
    display: block;
    width: auto;
    height: auto;
    max-width: var(--dl-viewer-max-w);
    max-height: var(--dl-viewer-max-h);
}

.dl-viewer__stage .carousel-control-prev,
.dl-viewer__stage .carousel-control-next {
    width: 10%;
    border: 0;
    background: none;
}

.dl-viewer__stage .carousel-control-prev-icon,
.dl-viewer__stage .carousel-control-next-icon {
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, .6));
}

.dl-viewer__bar {
    /* zero width + min-width 100%: the bar follows the image width instead of widening the dialog */
    width: 0;
    min-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    min-height: 64px;
    padding: 10px 20px;
    background: #191919;
}

.dl-viewer__id {
    color: var(--dl-muted);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.dl-viewer__id b {
    margin-left: 8px;
    color: #fff;
    font-weight: 700;
    word-break: break-all;
}

.dl-viewer__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dl-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
    height: 36px;
    padding: 8px 20px;
    border: 0;
    border-radius: 0 8px 0 8px;
    background: var(--dl-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.dl-copy:hover,
.dl-copy.is-copied {
    background: var(--dl-red-dark);
}

.dl-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: url("../../img/design/close.svg") center / contain no-repeat;
}

.dl-close:hover {
    filter: brightness(1.3);
}

@media (max-width: 991.98px) {
    .dl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .dl-title--toggle {
        cursor: pointer;
    }

    .dl-title--toggle .dl-title__caret {
        display: block;
    }

    .dl-title--toggle[aria-expanded="true"] .dl-title__caret {
        transform: scaleY(-1);
    }

    .dl-brands {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .dl-brands.is-open {
        display: flex;
    }

    .dl-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .dl-viewer__stage {
        min-height: 160px;
    }

    /* phone bar: one row - design ID (label above the value) left, copy link + heart + close right */
    .dl-viewer__bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        grid-template-areas: "id copy heart close";
        gap: 8px;
        padding: 12px;
    }

    .dl-viewer__actions {
        display: contents;
    }

    .dl-viewer__id {
        grid-area: id;
        font-size: 12px;
        line-height: 1.3;
    }

    .dl-viewer__id b {
        display: block;
        margin-left: 0;
    }

    /* 8px grid gap + 12px = the 20px button spacing of bigger screens */
    .dl-viewer__actions .dl-heart {
        grid-area: heart;
        margin-left: 12px;
    }

    .dl-viewer__actions .dl-close {
        grid-area: close;
        margin-left: 12px;
    }

    .dl-viewer__actions .dl-copy {
        grid-area: copy;
        min-width: 0;
        gap: 6px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .dl-viewer__actions .dl-copy img {
        width: 14px;
        height: 14px;
    }
}


