:root {
    --siemon-accent-color: #0158A2;
    --siemon-button-color: #0158A2;
    --siemon-text-color: #35415b;
    --siemon-border-radius: 0.2em;
    --siemon-border-accent-radius: 100px;
    --siemon-lightgrey-color: #dfe7f2;
    --siemon-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

#wpcs_content_acc {
    border: none;
    h3.w-tabs-section-title {
        font-family: var(--h4-font-family, inherit);
        font-weight: var(--h4-font-weight, inherit);
        font-size: var(--h4-font-size, inherit);
        font-style: var(--h4-font-style, inherit);
        line-height: var(--h4-line-height, 1.4);
        letter-spacing: var(--h4-letter-spacing, inherit);
        text-transform: var(--h4-text-transform, inherit);
    }
}

.siemon_button {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.55 !important;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: 0.2em;
    padding: 0.8em 1.5em;
    background: var(--color-content-primary);
    border-color: transparent;
    color: var(--color-content-bg-alt) !important;
    margin: 0.3rem 0 !important;
    &:hover {
        background: var(--color-content-secondary) !important;
        border-color: transparent !important;
        color: var(--color-content-bg-alt) !important;
    }
}

.post-type-archive-vehicle,
.single-vehicle {
    main {
        padding-top: 200px !important;
    }
}

h2.dxim_section_header {
    font-size: 30px;
    color: var(--siemon-text-color) !important;
    a {
        color: var(--siemon-text-color) !important;
    }
}

.dxim_vehicle_title {
    color: var(--siemon-text-color);
    h1 {
        font-size: 30px;
        margin-bottom: 0;
    }
    h2 {
        font-size: 25px;
    }
}

.siemon_home_filter_button a {
    margin: 0;
}

.siemon_wpcs_filterform {
    .noUi-horizontal .noUi-handle {
        width: 20px;
        height: 20px;
        top: -7px;
        border-radius: var(--siemon-border-radius);
        border: none;
        right: 0px;
        box-shadow: none;
        background: var(--siemon-accent-color);
    }
    .noUi-horizontal .noUi-handle.noUi-handle-lower {
        right: -20px;
    }
    .noUi-connects,
    .noUi-connect {
        background-color: var(--siemon-lightgrey-color);
    }
    .dxim_filter_range.inactive .noUi-connects,
    .dxim_filter_range.inactive .noUi-connect {
        background-color: var(--siemon-lightgrey-color);
    }
    .noUi-base,
    .noUi-connects {
        margin: 0;
        width: 100%;
        background: var(--siemon-lightgrey-color);
        height: 5px;
    }
    .noUi-target {
        background: transparent;
        padding: 0;
        border: none;
        display: flex;
        align-items: center;
        box-shadow: none;
    }
    .dxim_filter_slider,
    .dxim_filter_range {
        padding-top: 8px;
    }
    .noUi-handle:after,
    .noUi-handle:before {
        display: none;
    }
    .noUi-touch-area {
        cursor: pointer;
    }
    div.wpcsselect {
        .wpcs_select_handle {
            /* border-radius: var(--siemon-border-accent-radius); */
            border-radius: var(--siemon-border-radius);
            border-color: var(--siemon-accent-color);
        }
        .wpcs_select_arrow {
            border-left: none;
            &::after {
                border-color: var(--siemon-accent-color)
            }
        }
        .wpcs_select_loading::after {
            border-color: var(--siemon-accent-color) transparent var(--siemon-accent-color) transparent;
        }
    }
}

#wpcs_select_list li:focus::before,
#wpcs_select_list li:hover::before {
    border-color: white !important;
}

.dxim_button {
    background-color: var(--siemon-button-color) !important;
    border-radius: var(--siemon-border-accent-radius);
    color: white !important;
    border: none !important;
    font-family: Outfit, sans-serif;
    font-size: 16px;
    line-height: 1.55 !important;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: var(--siemon-border-radius);
    padding: 0.8em 1.5em !important;
}

#wpcs_contactform_vehicle {
    div.wpcsselect {
        div.wpcs_select_handle {
            border-radius: var(--siemon-border-radius);
            border-color: var(--siemon-accent-color);
        }
        .wpcs_select_arrow {
            border-left: none;
            &::after {
                border: solid var(--siemon-accent-color);
                border-width: 0 3px 3px 0;
            }
        }
    }
    input[type=text],
    input[type=email],
    textarea,
    input[type="checkbox"] {
        border-radius: var(--siemon-border-radius);
        border-color: var(--siemon-accent-color);
        &:focus-visible {
            outline: none;
        }
    }
}


/* ARHIVE ROWS */

#wpcs_vehicle_archive.wpcs_vehicle_list .vehicle-on-archive {
    border-top: none;
    border-bottom: 1px solid var(--siemon-accent-color);
    padding-bottom: 50px;
    .siemon_vehicle_archive_wrapper {
        .dxim_archive_title * {
            color: var(--siemon-button-color);
        }
        .siemon_vehicle {
            display: flex;
            flex-direction: column;
            /* box-shadow: var(--siemon-box-shadow); */
            background-color: var(--siemon-lightgrey-color);
            border-radius: var(--siemon-border-radius);
            overflow: hidden;
            margin-bottom: 5px;
            .siemon_vehicle_image_data_wrapper {
                display: flex;
                flex-direction: row;
                width: 100%;
                gap: 10px;
                .siemon_vehicle_image {
                    position: relative;
                    width: 35%;
                }
                .siemon_vehicle_date {
                    width: 55%;
                    padding: 20px 0px;
                }
                .siemon_vehicle_price {
                    min-width: 10%;
                    flex-shrink: 0;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    padding: 20px 10px;
                    gap: 10px;
                    border-left: 1px solid var(--siemon-accent-color);
                    .price_wrapper.dxim_vehicle_price {
                        display: flex;
                        flex-direction: column;
                        align-items: flex-end;
                        color: var(--siemon-button-color);
                    }
                    .price_big {
                        line-height: 28px;
                        font-size: 28px;
                        font-weight: 500;
                    }
                    span.vat,
                    .desc {
                        font-size: 12px;
                        text-align: right;
                        color: var(--siemon-button-color);
                        line-height: 1;
                    }
                    .rate {
                        text-align: right;
                        font-weight: 700;
                        color: var(--siemon-button-color);
                    }
                }
                .siemon_vehicle_condition {
                    padding: 2px 5px;
                    position: absolute;
                    top: 5px;
                    left: 5px;
                    background-color: var(--siemon-accent-color);
                    width: fit-content;
                    border-radius: var(--siemon-border-accent-radius);
                    color: white;
                    font-size: 14px;
                    p {
                        margin: 0;
                    }
                }
                .siemon_vehicle_title {
                    margin-bottom: 10px;
                }
                .dxim_archive_specifics {
                    .dxim_vehicle_specifics_list {
                        gap: 5px;
                    }
                    .field {
                        border: none;
                    }
                    .label {
                        display: none;
                    }
                    .fact {
                        display: flex;
                        align-items: center;
                        font-size: 16px;
                        margin: 0;
                        font-weight: 500;
                        color: var(--siemon-button-color);
                        &::before {
                            content: "";
                            display: inline-block;
                            width: 18px;
                            height: 18px;
                            background-size: contain;
                            background-repeat: no-repeat;
                            background-position: center;
                            margin-right: 10px;
                        }
                    }
                    .fact.first_registration::before {
                        background-image: url(../assets/erstzulassung.svg);
                    }
                    .fact.mileage::before {
                        background-image: url(../assets/laufleistung.svg);
                    }
                    .fact.power::before,
                    .fact.cubic_capacity::before {
                        background-image: url(../assets/leistung.svg);
                    }
                    .fact.fuel::before {
                        background-image: url(../assets/kraftstoff.svg);
                    }
                    .fact.gearbox::before {
                        background-image: url(../assets/getriebe.svg);
                    }
                }
            }
            .siemon_vehicle_info {
                display: flex;
                justify-content: space-between;
                padding: 10px;
                align-items: center;
            }
        }
        .siemon_vehicle_buttons {
            margin-top: auto;
        }
        .siemon_vehicle_buttons.buttons_mobile {
            display: none;
        }
        .wpcs_button_wrapper {
            flex-wrap: nowrap;
            margin-top: 20px;
            display: flex;
            justify-content: flex-end;
        }
    }
}

.dxim_vehicle_specifics_list_single .field {
    display: flex;
    justify-content: space-between;
    .fact {
        text-align: right;
    }
}

.wpcs_vehicle_list .dxim_carousel_slide .vehicle-on-archive {
    height: auto !important;
    display: flex;
    flex-direction: column;
}

.vehicle-on-archive {
    .siemon_vehicle_archive_wrapper.siemon_vehicle_grid {
        width: 100%;
        display: flex;
        height: 100%;
        flex-direction: column;
        .dxim_archive_title * {
            color: var(--siemon-button-color);
        }
        .siemon_vehicle {
            display: flex;
            flex-direction: column;
            background-color: var(--siemon-lightgrey-color);
            /* box-shadow: var(--siemon-box-shadow); */
            border-radius: var(--siemon-border-radius);
            overflow: hidden;
            /* flex: 1; */
            margin-bottom: 5px;
            .siemon_vehicle_image_data_wrapper {
                display: flex;
                flex-direction: column;
                width: 100%;
                gap: 10px;
                flex: 1;
                .siemon_vehicle_image {
                    position: relative;
                    width: 100%;
                }
                .siemon_vehicle_date {
                    width: 100%;
                    padding: 10px;
                }
                .siemon_vehicle_price {
                    min-width: 10%;
                    flex-shrink: 0;
                    display: flex;
                    flex-direction: row-reverse;
                    justify-content: flex-start;
                    align-items: center;
                    padding: 20px 10px;
                    gap: 10px;
                    border: none;
                    margin-top: auto;
                    >div {
                        border-left: 1px solid var(--siemon-accent-color);
                        padding-left: 10px;
                        flex: 1;
                        display: flex;
                        flex-direction: column !important;
                        align-items: center !important;
                    }
                    >div:last-child {
                        border: none;
                    }
                    .price_wrapper.dxim_vehicle_price {
                        display: flex;
                        flex-direction: column;
                        align-items: flex-end;
                        color: var(--siemon-button-color);
                    }
                    .price_big {
                        line-height: 28px;
                        font-size: 28px;
                        font-weight: 500;
                    }
                    span.vat,
                    .desc {
                        font-size: 12px;
                        text-align: right;
                        color: var(--siemon-button-color);
                        line-height: 1;
                    }
                    .rate {
                        text-align: right;
                        font-weight: 700;
                        color: var(--siemon-button-color);
                    }
                }
                .siemon_vehicle_condition {
                    padding: 2px 5px;
                    position: absolute;
                    top: 5px;
                    left: 5px;
                    background-color: var(--siemon-accent-color);
                    width: fit-content;
                    border-radius: var(--siemon-border-accent-radius);
                    color: white;
                    font-size: 14px;
                    p {
                        margin: 0;
                    }
                }
                .siemon_vehicle_title {
                    margin-bottom: 10px;
                }
                .dxim_archive_specifics {
                    .dxim_vehicle_specifics_list {
                        gap: 5px;
                        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
                    }
                    .label {
                        display: none;
                    }
                    .field {
                        border: none;
                    }
                    .fact {
                        display: flex;
                        align-items: center;
                        font-size: 16px;
                        margin: 0;
                        font-weight: 500;
                        color: var(--siemon-button-color);
                        &::before {
                            content: "";
                            display: inline-block;
                            width: 18px;
                            height: 18px;
                            background-size: contain;
                            background-repeat: no-repeat;
                            background-position: center;
                            margin-right: 10px;
                        }
                    }
                    .fact.first_registration::before {
                        background-image: url(../assets/erstzulassung.svg);
                    }
                    .fact.mileage::before {
                        background-image: url(../assets/laufleistung.svg);
                    }
                    .fact.power::before,
                    .fact.cubic_capacity::before {
                        background-image: url(../assets/leistung.svg);
                    }
                    .fact.fuel::before {
                        background-image: url(../assets/kraftstoff.svg);
                    }
                    .fact.gearbox::before {
                        background-image: url(../assets/getriebe.svg);
                    }
                }
            }
            .siemon_vehicle_info {
                display: flex;
                justify-content: space-between;
                padding: 10px;
                align-items: center;
            }
        }
        .wpcs_button_wrapper {
            flex-wrap: nowrap;
            margin-bottom: 20px;
            display: flex;
            justify-content: center;
        }
    }
}

div#wpcs_vehicle_single_image_wrapper {
    margin-bottom: 10px;
    img {
        border-radius: var(--siemon-border-radius);
        /* box-shadow: var(--siemon-box-shadow); */
    }
}

.dxim_vehicle_carousel_wrapper.carousel .dxim_control_buttons {
    display: flex !important;
    gap: 5px;
}

#vehicle_single_thumbnails {
    margin-bottom: 10px;
    .slick-list {
        margin: 0 -10px;
        .slick-slide {
            margin: 0 10px;
            img {
                border-radius: var(--siemon-border-radius);
            }
        }
    }
}

div#vehicle_single_nav_buttons {
    display: flex;
    gap: 10px;
    #vehicle_single_images_prev_btn,
    #vehicle_single_images_next_btn {
        display: flex;
        .wpcs_icon {
            line-height: 1;
        }
    }
}


/* SINGLE TEMPLATE */

.siemon_single_leasing_financing_wrapper {
    .financing_info,
    .leasing_info {
        >div {
            display: flex;
            justify-content: space-between;
            padding-bottom: 0px;
            border-bottom: 1px solid black;
            margin-bottom: 5px;
            p {
                margin: 0;
                font-size: 14px;
            }
        }
        .lender {
            font-size: 14px;
            margin-top: 10px;
        }
    }
    .toggle_leasing,
    .toggle_financing {
        font-size: 24px;
        font-weight: 700;
        line-height: 24px;
        &::after {
            font-family: "Font Awesome 5 Free";
            content: "\f05a";
            margin-left: 10px;
            cursor: pointer;
            font-size: 20px;
        }
    }
    .single_financing,
    .single_leasing {
        display: flex;
        justify-content: space-between;
        .rate {
            margin: 0;
            font-size: 24px;
            font-weight: 700;
            line-height: 24px;
        }
        .vat {
            font-size: 14px;
            text-align: right;
            margin: 0;
        }
    }
    .leasing_info {
        margin-bottom: 20px;
    }
    .leasing_info,
    .financing_info {
        display: none;
        padding-top: 10px;
    }
    .leasing_info.active,
    .financing_info.active {
        display: flex;
        flex-direction: column;
    }
    .siemon_single_leasing_wrapper {
        border-bottom: 1px solid black;
        padding-bottom: 10px;
    }
    .siemon_single_financing_wrapper {
        margin-top: 20px;
    }
}

#siemon_single_features h3 {
    font-size: 20px;
    font-weight: 400;
}

@media only screen and (max-width: 1024px) {
    #wpcs_vehicle_archive.wpcs_vehicle_list .vehicle-on-archive {
        .dxim_vehicle_specifics_list.dxim_vehicle_specifics_list_archive {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        }
    }
}

@media only screen and (max-width: 768px) {
    body.single-vehicle {
        .lg-widget {
            bottom: 60px !important;
        }
        .onetap-container-toggle .onetap-toggle {
            margin-bottom: 55px !important;
        }
    }
    .dxim_vehicle_carousel_wrapper.carousel .slick-dots {
        display: none !important;
    }
    #siemon_toggle_more_filters h5 {
        margin-left: 25px;
        &::before {
            font-family: "Font Awesome 5 Free";
            content: "\f078";
            cursor: pointer;
            font-size: 20px;
            color: var(--siemon-accent-color);
            position: absolute;
            left: 0;
        }
    }
    #siemon_toggle_more_filters.more_filters_hl_active h5 {
        &::before {
            transform: rotate(180deg);
        }
    }
    #siemon_more_filters {
        display: none;
    }
    #wpcs_contactform_vehicle {
        .field {
            margin-bottom: 20px;
        }
        .html_wrapper div:nth-child(2) {
            line-break: anywhere;
        }
        a.wpcs_form_submit {
            margin-top: 20px;
        }
    }
    #wpcs_vehicle_archive.wpcs_vehicle_list .vehicle-on-archive {
        .siemon_vehicle_archive_wrapper {
            .siemon_vehicle {
                .siemon_vehicle_image_data_wrapper {
                    flex-direction: column;
                    .siemon_vehicle_image,
                    .siemon_vehicle_date {
                        width: 100%;
                    }
                    .siemon_vehicle_date {
                        padding: 10px;
                    }
                    .siemon_vehicle_price {
                        border: none;
                        flex-direction: row-reverse;
                        justify-content: flex-start;
                        >div {
                            padding-left: 10px;
                            flex: 1;
                            display: flex;
                            flex-direction: column !important;
                            align-items: center !important;
                        }
                        >div:not(:first-child) {
                            border-right: 1px solid var(--siemon-accent-color);
                        }
                        >div:last-child {
                            border: none;
                        }
                    }
                }
            }
        }
        .siemon_vehicle_buttons {
            display: none !important;
        }
        .siemon_vehicle_buttons.buttons_mobile {
            display: block !important;
        }
    }
}