﻿
.filter-select-active {
    border: 2px solid var(--main-color);
}

.custom-main-color {
    color: var(--main-color);
}

.detail_h2 {
    color: #fff;
    text-transform: none;
}

@media only screen and (min-width : 320px) and (max-width : 600px) {
    body {
        -webkit-text-size-adjust: none !important;
    }
    h2 {
        font-size: 20px;
    }
}

.kg-card-header {
    background-color: var(--main-bg-color);
    padding: 0px 15px;
}


#result_count:hover {
    color: #fff;
    background-color: #333;
}

    /***
    ===================================================
     overwriting swiper buttons
    ===================================================
    ***/

    .swiper-button-next,
    .swiper-button-prev {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        background-image: none;
        color: var(--swiper-buttons-color);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.18);
        transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--main-bg-color);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
        transform: translateY(-1px) scale(1.05);
    }

    .swiper-button-next:active,
    .swiper-button-prev:active {
        transform: scale(0.96);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        content: none;
    }

    .swiper-button-next i,
    .swiper-button-prev i {
        margin: 0;
        font-size: 18px;
        line-height: 1;
    }

    .swiper-button-next i {
        transform: translateX(1px);
    }

    .swiper-button-prev i {
        transform: translateX(-1px);
    }

    @media (max-width: 768px) {
        .swiper-button-next,
        .swiper-button-prev {
            width: 40px;
            height: 40px;
            opacity: 0.95;
        }

        .swiper-button-next i,
        .swiper-button-prev i {
            font-size: 16px;
        }
    }

.kg-filter-h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color);
}

.kg-qck-search-button-col {
    margin: 1px 0px;
}

.btn-slider-overlay {
    margin-top: 10px;
}

@media (max-width:1200px) {
    .kg-mb-sq-ch {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .kg-qck-search-ch-col {
        padding: 1px;
    }
}

.custom-col {
    width: 20%;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

@media  (max-width: 991px){
    .custom-col {
        width: 50%;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575px){
    .custom-col {
        width: 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

#quickSearchForm a
#result_count,
#quickSearchForm a
{
    display: inline-block;
    font-size:16px;
    width: 100%;
    margin: 0px;
    margin-right: 1px;
}

#quickSearchForm #result_count {
    font-size: 14px;
    line-height: 36px;
    font-weight: bold;
    color: var(--result-count-color);
    background-color: var(--secondary-color-light-blue);
    text-align:center;
}

#quickSearchForm #result_count:hover {
    background: var(--main-bg-color);
    color: var(--result-count-color);
    border: 1px solid var(--main-bg-color);
}

.kg-btn-q-search {
    font-size: 16px;
    font-weight: bolder;
    text-align: center;
    border-radius: 12px;
    line-height: 36px;
    padding: 0 12px;
}

.kg-btn-q-search:hover {
    color: #000;
    background-color: var(--secondary-color-light-blue);
}

#resultCounter{
    margin-top: 1rem;
}

#result_count {
    font-size: 16px;
    margin: 0px;
    color: var(--result-count-color);;
    background-color: var(--result-count-bg-color);
    text-align: center;
    height: auto;
    line-height: 41px;
    text-transform: none;
    font-weight: bolder;
}


/*------------------------
    Start GW-Tool Swiper
-------------------------*/

.kg-swiper-container {

    border: 1px solid var(--swiper-border);
    border-radius: .25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--swiper-bg-color);
}

.kg-vc-description {
    min-height: 130px;
    position: relative;
}

.kg-vc-description >p {
    text-align: left;
    padding: 6px;
    font-size: 14px;
    margin: 0px;
}

.kg-swiper-make {
    border-top: solid 5px var(--main-color);
}

.kg-swiper-new_price {
    color: var(--swiper-new-price);
    position: absolute;
    bottom: 0;
}

.kg-swiper-new_price strong{
    text-decoration: line-through;
}
.kg-swiper-price-amount {
    border-top: 1px solid var(--swiper-price-amount-border-top);
}

.kg-swiper-price-amount {
    text-align: left;
    padding: 6px;
    width: 100%;
}

.kg-swiper-price-amount .customer-price {
    color: var(--main-color);
    font-weight: bold;
}

.kg-swiper-price-amount .vat-rate {
    font-size: 12px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(67, 69, 72, 0.8);
}

.kg-swiper-image-container {
    position: relative;
}
.kg-swiper-image-container img{
    margin: auto;
}

.kg-swiper-image-container:hover .overlay {
    opacity: 1;
}

.overlay-text {
    color: #FFFFFF;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 12px;
    width: 100%;
    z-index: 1000;
    line-height: 18px;
}

.overlay-text .overlay-heading {
    font-weight: bolder;
    padding: 0px;
    max-width:100%;
    font-size: 14px;

}

.overlay-text hr {
    margin-top: 3px;
    margin-bottom: 1px;
    border-top: 1px solid #fff;
}

.overlay-text span {
    margin-bottom: 1px;
    display: block;
    border-bottom: 1px solid #fff;
}

.swiper-wrapper {
    position: relative;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: auto;
}

/*------------------------
--- End GW-Tool Swiper
--------------------------*/

/*--
Filter collapse
 */

.kg-result-counter {
    display: block;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bolder;
    text-transform: uppercase;
}

@media only screen and (max-width: 1023px) {
    .kg-result-counter {
        margin-bottom: 20px;
    }
}


@media only screen
and (min-device-width : 320px)
and (max-device-width : 736px) {
    .kg-result-counter {
        font-size: 16px;
        padding-left: 5px;
        padding-right: 5px;
    }
}


.kg-filter-container {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
}
/*-----------------------------
    Start Page card CSS
*/

.kg-card-start {
    border: none;
    border-radius: 0px;
}

.kg-card-header {
    border-bottom: none;
}

.kg-card-body {
    padding: 0px;
}

.kg-card-body p {
    margin-top: 10px;
    margin-bottom: 10px;
}


/*----------------
Start Page Css
*/
@media only screen
and (min-width : 768px)
and (max-width : 1024px)  {
    /* HIER KOMMEN I-PAD STYLES REIN */
}

@media (max-width:767px) {
}


@media only screen
and (min-device-width: 481px)
and (max-device-width: 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
    .kg-vc-description {
        min-height: 130px;
    }
}

@media only screen and (max-width: 1023px) {
    .kg-filter-container {
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 0px;
    }
}

/* =================================================
   Startseiten Slider Neu
==================================================== */


#kg-swiper-start-page .swiper-slide .kg-consumption {
    min-height: 42px;
}

.kg-spec-grid {
    font-size: 15px;
}

.kg-consumption td {
    font-size: 13px;
    line-height: 15px;
}

.kg-hover-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

.kg-hover-specs {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    opacity: 0;
    transition: opacity .3s ease;
}

.kg-hover-left,
.kg-hover-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kg-hover-left div,
.kg-hover-right div {
    background: rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    transform: translateX(0);
    transition: transform .4s ease, opacity .3s ease;
    margin-bottom: 10px;
}

/* Startposition */
.kg-hover-left div {
    transform: translateX(-40px);
    opacity: 0;
}

.kg-hover-right div {
    transform: translateX(40px);
    opacity: 0;
}

/* Hover Effekt */
.kg-hover-wrapper:hover .kg-hover-specs {
    opacity: 1;
}

.kg-hover-wrapper:hover .kg-hover-left div {
    transform: translateX(0);
    opacity: 1;
}

.kg-hover-wrapper:hover .kg-hover-right div {
    transform: translateX(0);
    opacity: 1;
}

#detailViewMainSlider .swiper-slide {
    max-height: 620px;
}

#detailViewMainSlider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    justify-content: center;
}

/* Startseiten Slider */
#kg-swiper-start-page .swiper-slide .kg-consumption {
    min-height: 42px;
}

.kg-spec-grid {
    font-size: 17px;
}

.kg-consumption td {
    font-size: 15px;
    line-height: 17px;
}

/* =================================================
   End Startseiten Slider Neu
==================================================== */


/* =================================================
   CARD  Global
==================================================== */

/* CARD  Global */
.kg-matrix-card {
    background:#fff;
    border-radius:28px;
    border: 1px solid #ddd;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:.3s ease;
}

.kg-matrix-card:hover {
    transform:translateY(-6px);
    box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

.kg-body {
    padding: 15px 23px 35px 23px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.kg-title {
    font-size: 16px;
    line-height: 25px;
    font-weight:700;
    margin:0 0 12px 0;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
    margin-right: 15px;
}

.kg-dotted {
    border-top:1px dotted #bbbbbb99;
    margin: 12px 0 12px 0;
}

.kg-upe {
    margin-bottom: 4px;
}
.kg-swiper-start-page .swiper-slide {
    background: transparent;
}

.kg-swiper-start-page .kg-upe {
    font-size: 9px;
    margin-bottom: -2px;
}

.kg-vatable {
    margin-top: -8px;
    font-size: 10px;
    font-style: italic;
}

/* =================================================
   End CARD  Global
==================================================== */



