html.waiting * {
    cursor: progress;
}

.c-sorting__item {
    margin-bottom: .5em;
}

.c-sorting__item-select {
    border: 1px solid #333;
    background: #fff;
    width: 100%;
}

.c-sorting__item-select.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.c-pager__ajax-target {
    position: relative;
}

.c-overlay__ajax-target {
    position: absolute;
    background: #fff;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 0.5s;
}

.c-overlay__ajax-target-visible {
    opacity: 0.7;
}

#ajaxloader {
    z-index: 10;
}

.c-element__login_hpot {
    display: none!important;
}


/*** Overlay zum Sperren des CMS  ***/
#waiter {
    position: fixed;
    z-index: 99999999999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    left: 0;
    top: 0;
}

#waiter progress,
#waiter .c-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -20px;
}

#waiter p.c-progress {
    width: 250px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #444;
    opacity: 0.7;
}

#waiter meter {
    width: 200px;
    height: 24px;
}
#waiter div {
    position: absolute;
    background-image: url(../../../../../bilder/galerie-uploader_progress.gif);
    background-repeat: no-repeat;
    background-position: 0 30px;
    width: 222px;
    height: 58px;
    box-sizing: border-box;
    border: 1px solid black;
    top: 50%;
    left: 50%;
    color: #000;
    background-color: #fff;
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
    padding-top: 10px;
    margin-left: -110px;
    margin-top: -23px;
    text-align: center;
    opacity: 0.7;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 5px 5px 5px #888;
    -webkit-box-shadow: 5px 5px 5px #888;
    box-shadow: 5px 5px 5px #888;
}

details>summary {
    cursor: pointer;
}

.u-textcutted {
    text-overflow: ellipsis;
    width: 100%;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;

}


/* vehicle colors */
.c-vehicle__color-circle {
    border-color: hsla(0, 0%, 0%, 0.1);
    position:relative;
    overflow: hidden;
    background-size: cover;
    padding: 0 !important;
}

.c-vehicle__color-circle:before,
.c-vehicle__color-circle:after {
    content:'';
    width: inherit;
    height: inherit;
    top: -1px;
    left: -1px;
    display: block;
    border-radius: inherit;
    position: absolute;
    background-color: inherit;
}

.c-vehicle__color-circle--paint:after {
    background: linear-gradient(-15deg,rgba(0,0,0,.6) 0%,rgba(0,0,0,0) 40%,rgba(255,255,255,.3) 55%,rgba(255,255,255,.7) 60%,rgba(255,255,255,.3) 67%,rgba(0,0,0,0) 75%,rgba(0,0,0,.6) 100%) rgba(255,255,255,0);
}

.c-vehicle__color-circle--interior:before {
    mix-blend-mode: hue;
}

.c-vehicle__color-circle--interior:after {
    mix-blend-mode: overlay;
}

.c-vehicle__color-circle--interior.c-vehicle__color-circle--white:before,
.c-vehicle__color-circle--interior.c-vehicle__color-circle--beige:before {
    mix-blend-mode: overlay;
}

.c-vehicle__color-circle--interior.c-vehicle__color-circle--white:after,
.c-vehicle__color-circle--interior.c-vehicle__color-circle--beige:after {
    mix-blend-mode: hue;
}

.c-vehicle__color-circle.has-image:before,
.c-vehicle__color-circle.has-image:after {
    display: none;
}

.c-vehicle__color-circle.is-leather {
    background-image:url(../img/tex-leather.jpg);
}

.c-vehicle__color-circle.is-partialleather {
    background-image:url(../img/tex-partialleather.jpg);
}

.c-vehicle__color-circle.is-fabric {
    background-image:url(../img/tex-fabric.jpg);
}

.c-vehicle__color-circle.is-suede {
    background-image:url(../img/tex-suede.jpg);
}


.c-vehicle__color-circle.c-vehicle__color-circle--white {
    background-color: #fff;
}

.c-vehicle__color-circle.c-vehicle__color-circle--grey {
    background-color: #ababab;
}

.c-vehicle__color-circle.c-vehicle__color-circle--anthracite {
    background-color: #666;
}

.c-vehicle__color-circle.c-vehicle__color-circle--lightgrey {
    background-color: #d8d8d8;
}


.c-vehicle__color-circle.c-vehicle__color-circle--black {
    background-color: #333;
}

.c-vehicle__color-circle.c-vehicle__color-circle--silver {
    background: radial-gradient(ellipse farthest-corner at left bottom, #eee 0%, #bbb 35%,#bbb 40%, #aaa 55%, #999 60%, transparent 80%),
    radial-gradient(ellipse farthest-corner at right top, #fff 0%, #eee 25%, #aaa 35%);
}

.c-vehicle__color-circle.c-vehicle__color-circle--gold {
    background: radial-gradient(ellipse farthest-corner at left bottom, #fedb37 0%, #fdb931 35%,#fdb931 40%, #9f7928 55%, #8a6e2f 60%, transparent 80%),
    radial-gradient(ellipse farthest-corner at right top, #fff 0%, #ffffac 25%, #d1b464 35%, #fdb931 100%);
}

.c-vehicle__color-circle.c-vehicle__color-circle--bronze {
    background: radial-gradient(ellipse farthest-corner at left bottom, #fedb37 0%, #d1b464 35%,#d1b464 40%, #9f7928 55%, #8a6e2f 60%, transparent 80%),
    radial-gradient(ellipse farthest-corner at right top, #fff 0%, #ffffac 25%, #d1b464 35%);
}
.c-vehicle__color-circle.c-vehicle__color-circle--silver:before,
.c-vehicle__color-circle.c-vehicle__color-circle--gold:before,
.c-vehicle__color-circle.c-vehicle__color-circle--bronze:before {
    background-color: transparent;
}

.c-vehicle__color-circle.c-vehicle__color-circle--undefined {
    background-image: repeating-linear-gradient(-45deg, #eee 0, #eee 9%, #ddd 10%, #ddd 19%, #eee 20%);
}
.c-vehicle__color-circle.c-vehicle__color-circle--undefined:before,
.c-vehicle__color-circle.c-vehicle__color-circle--undefined:after {
    background: transparent;
}

.c-vehicle__color-circle.c-vehicle__color-circle--bordeaux {
    background-color: #8b0000;
}

.c-vehicle__color-circle.c-vehicle__color-circle--red {
    background-color: #ff4040;
}

.c-vehicle__color-circle.c-vehicle__color-circle--orange {
    background-color: #ff7f23;
}

.c-vehicle__color-circle.c-vehicle__color-circle--beige {
    background-color: #ecdfcb;
}

.c-vehicle__color-circle.c-vehicle__color-circle--brown {
    background-color: #855e1b;
}

.c-vehicle__color-circle.c-vehicle__color-circle--yellow {
    background-color: #f5d300;
}

.c-vehicle__color-circle.c-vehicle__color-circle--lightgreen {
    background-color: #befc70;
}

.c-vehicle__color-circle.c-vehicle__color-circle--green {
    background-color: #7eba30;
}

.c-vehicle__color-circle.c-vehicle__color-circle--lightblue {
    background-color: #61b3ff;
}

.c-vehicle__color-circle.c-vehicle__color-circle--blue {
    background-color: #376edb;
}

.c-vehicle__color-circle.c-vehicle__color-circle--purple {
    background-color: #9361ff;
}

.c-vehicle__color-circle--interior.c-vehicle__color-circle--bordeaux:after,
.c-vehicle__color-circle--interior.c-vehicle__color-circle--brown:after {
    display: none;
}

.cookie-consent-popup {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: none;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}
.cookie-consent-popup>div {
    width: 500px;
    background:#fff;
    padding: 1em;
    box-shadow: 0 0 40px #000;
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    font-size: 1rem;
    text-align: left;
    transition: max-height 0.5s;
}
.cookie-consent-popup.open {
    display: flex;
}

.cookie-consent-message {
    display: block;
}
.cookie-consent-controls {
    display: none;
}

.cookie-consent-popup.open>div,
.cookie-consent-controls.open {
    max-height: 100vh;
    overflow-y: auto;
    display: block
}
.cookie-consent-controls.open + .cookie-consent-message {
    display: none;
}

.cookie-consent-popup.dark>div {
    background: #666;
}
.cookie-consent-popup.dark>div>div,
.cookie-consent-popup.dark>div p {
    color: #fff;
}

.cookie-consent-popup>div>div>h2 {
    margin-top: 0;
}

.cookie-consent-popup.dark>div>div>h2 {
    color: #fff;
}

.cookie-consent-controls-sections>label,
.cookie-consent-controls-sections__item {
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 1em;
    margin: 0 0 5px;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.cookie-consent-controls-sections>label>footer,
.cookie-consent-controls-sections__item-description {
    flex-basis: 100%;
    font-weight: normal;
    font-size: 90%;
}
.cookie-consent-controls-sections>label>header,
.cookie-consent-controls-sections__item-header {
    flex-basis: calc(100% - 55px);
    font-size: 115%;
}
.cookie-consent-controls-sections input {
    position: absolute;
    left: -99em;
}
.cookie-consent-controls-sections input+i,
.cookie-consent-controls-sections__item-checkbox-faux {
    display: inline-block;
    vertical-align: middle;
    width: 50px;
    height: 24px;
    background: #999;
    border-radius: 12px;
    z-index: 2;
    transition: background-color .2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    flex-shrink: 0;
}
.cookie-consent-controls-sections input+i:before,
.cookie-consent-controls-sections__item-checkbox-faux:before {
    content: " ";
    display: inline-block;
    margin: 3px;
    z-index: 1;
    width: 18px;
    height: 18px;
    background: #ccc;
    border-radius: 9px;
    transition: all .4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.cookie-consent-controls-sections input:checked+i,
.cookie-consent-controls-sections__item-checkbox:checked + .cookie-consent-controls-sections__item-checkbox-faux {
    background: #090;
}
.cookie-consent-controls-sections input:checked+i:before,
.cookie-consent-controls-sections__item-checkbox:checked + .cookie-consent-controls-sections__item-checkbox-faux:before{
    background: #cec;
    transform: translate3d(26px,0,0);
}

.cookie-consent-buttons {
    text-align: right;
    margin: 10px 0 0;
    display: flex;
    justify-content: right;
}
.cookie-consent-buttons {
    flex-wrap: wrap;
    gap: 10px;
}

button.cookie-consent-controls-open.c-button.c-button--secondary {
    order: 99;
}
.cookie-consent-link {
    margin-top: 1em;
}
.cookie-consent-link a {
    display: inline-block;
    margin-right: 1em;
}

.cookie-consent-toolbar {
    padding: .2em 2em;
    background: #333;
    text-align: right;
}
.cookie-consent-toolbar>button {
    background: none;
    border: none;
    padding: 0;
    color: #fff;
}

.c-vehicle-single__details-code {
    margin-right: .375em;
}
.c-vehicle-single__details-code:before {
    content: "[";
}
.c-vehicle-single__details-code:after {
    content: "]";
}

.c-form__captcha {
    display: none;
}

.c-guestbook-comment ._text + ._text {
    padding: .25em 1em .25em 2em;
    font-size: .875em;
    border-left: 1px solid #c1c1c1;
    margin: 1em 0 0;
}

.c-guestbook-comment ._source {
    text-align: right;
    font-size: .75rem;
    margin: 1em 0 0;
    line-height: 1;
}
.c-guestbook-comment ._source img{
    height: 17px;
    line-height: 1;
}

@supports (display:grid) {
    .c-colorpick__content {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 1em;
    }

    .c-colorpick__content:before,
    .c-colorpick__content:after {
        display: none!important;
    }

    .c-colorpick__content .left,
    .c-colorpick__sub-item .left {
        display: flex;
        align-items: flex-start;
        gap: .1rem;
    }
    .c-colorpick__sub-item .left {
        gap: .5rem;
    }
    .c-colorpick__code {
        align-self: baseline;
    }
}

#preisrabatt_ask .rabatte {
    position: relative;
    padding: 5px;
}
#preisrabatt_ask .rabatte:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    opacity: 0;
    transition: .5s opacity;
}
#preisrabatt_ask .rabatte:hover:before {
    opacity: .5;
}
#preisrabatt_ask .rabatte label {
    position: relative;
}
#preisrabatt_ask .rabatte input {
    float: none;
}
#preisrabatt_ask label {
    cursor: pointer;
}

/* fancybox v2 mobile viewport */
@media all and (max-width: 640px) {
    .page_details .fancybox-type-image.fancybox-opened {
        width: 100%!important;
        left: 0!important;
        _top: 0%!important;
        _top: 50%!important;
        _transform: translateY(-50%);
    }

    .page_details .fancybox-type-iframe.fancybox-opened {
        width: 100%!important;
        left: 0!important;
        height: 100vh!important;
        top: 0!important;
    }

    .page_details .fancybox-inner {
        width: 100%!important;
        height: auto!important;
    }

    .page_details a.fancybox-item.fancybox-close {
        right: 0;
    }

    .page_details .fancybox-title.fancybox-title-outside-wrap {
        margin: 0;
        font-size: 10px;
        text-align: center;
    }

    .page_details .fancybox-skin, .page_details .fancybox-outer,
    .page_details .fancybox-type-iframe .fancybox-inner {
        height: 100%!important;
    }

    .page_details .fancybox-type-iframe .fancybox-close {
        top: 0;
    }

    .page_details .fancybox-type-iframe .fancybox-next {
        right: 0;
    }

    .page_details .fancybox-type-iframe .fancybox-prev {
        left: 0;
    }

    .page_details .fancybox-overlay.fancybox-overlay-fixed{
        z-index: 9999998;
    }
    .page_details .fancybox-wrap{
        z-index: 9999999;
    }

    .page_details .fancybox-type-iframe .fancybox-skin {
        _background: transparent!important;
    }

    @supports (aspect-ratio: 4/3) {
        .page_details .fancybox-wrap iframe[src*=view] {
            height: auto;
            aspect-ratio: 4/3;
        }
    }

    .page_details .fancybox-type-iframe .fancybox-inner {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .page_details .fancybox-type-iframe .fancybox-title.fancybox-title-outside-wrap {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .fancybox-lock,
    .fancybox-lock body,
    .fancybox-lock .c-page-content-wrap {
        overflow: hidden!important;
    }
}

/* ui-dialog fixed width 700px overwrite*/
@media all and (max-width:740px) {
    .ui-dialog {
        width: 100%!important;
        left: 0!important;
        right: 0!important;
    }
}

label.c-checkbox-inline {
    display: inline-flex;
    align-items: center;
}
.dialog--clean {
    padding: 1.25rem 1rem 1.25rem 1rem!important;;
}
.dialog--clean:before,
.dialog--clean:after{
    content: none!important;
}

.c-vehicle__attributes {
    line-height: 1.15
}
.c-vehicle-single__details.o-split .o-split__item {
    font-weight: 400;
}

.c-vehicle__register ._manufacturer-code {
    white-space: nowrap;
}


/*select*/

.c-sorting__item-select {
    display: block;
    font-size: 1rem;
    font-family: sans-serif;
    font-weight: 700;
    color: #444;
    line-height: 1.3;
    padding: .6rem 1.4rem .5rem .8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    border-radius: .25rem;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
    cursor: pointer;
}
.c-sorting__item-select::-ms-expand {
    display: none;
}
.c-sorting__item-select:hover {
    border-color: #888;
}
.c-sorting__item-select:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px var(--color-primary-base);
    box-shadow: 0 0 0 3px -moz-mac-focusring;
    color: #222;
    outline: none;
}
.c-sorting__item-select option {
    font-weight:normal;
}

.c-vehicle-single ._register-elemente ._name > * {
    clear: both;
}

.c-vehicle-single ._register-elemente ._name > ul {
    margin: 0 0 0 34px;
}

:root {
    --co2class-a: #009640;
    --co2class-b: #52ae32;
    --co2class-c: #c8d400;
    --co2class-d: #ffed00;
    --co2class-e: #fbba00;
    --co2class-f: #ec6608;
    --co2class-g: #e30613;
}

.co2class-a { --color: var(--co2class-a) }
.co2class-b { --color: var(--co2class-b) }
.co2class-c { --color: var(--co2class-c) }
.co2class-d { --color: var(--co2class-d) }
.co2class-e { --color: var(--co2class-e) }
.co2class-f { --color: var(--co2class-f) }
.co2class-g { --color: var(--co2class-g) }

svg.co2class {
    max-width: 140px;
    height: auto;
}

.c-form.c-form--search .ms-drop label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 90%;
}

.c-form.c-form--search .ms-drop li.selected:after {
    pointer-events: none;
}

/* Altcha */

.altcha {
    margin: 1em 0;
    padding: .5em;
}

.altcha .altcha-label label {
    margin: 0;
}

.altcha-logo {
    display: flex;
}
.c-vehicles-list__item img {
    opacity: 1!important;
}

.u-skip-link {
    font-size:1rem;
    position: absolute;
    left: -9999px;
    top: 1rem;
    z-index: 99999;
    padding: 1em;
    background-color: #0f0f0f;
    color: #eaeaea;
    opacity: 0;
    transition: none;
    font-weight: 700;
}

.u-skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    color: #fff;
    text-decoration: none;
    outline: 2px dashed var(--color-primary-base, currentcolor);
    outline-offset: 2px;
}