﻿/* ------------------------------------------------------------------
   RCS CSS
   ------------------------------------------------------------------ */


/* ----- Navigation ----- */

/* Allgemein */

.mb-6 {
    margin-bottom: 6rem !important;
}

::marker {
    color: #b80f0d;
}

.home-content-section {
    padding-top: 100px;
    padding-bottom: 150px;
}


/* Hintergrund Menü */
.bg-rcs {
    background-image: url('/Content/Bilder_Webshop/tpl_bkg_head1.png');
    background-size: contain;
    background-repeat: repeat;
    background-position: left top;
    padding-bottom: 20px !important;
    padding-top: 20px !important;
}

.bg-rcs2 {
    background-image: url('/Content/Bilder_Webshop/tpl_bkg_head2.png');
    background-size: contain;
    background-repeat: repeat;
    background-position: left top;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.46);
}



/* Suche */

.kleine-suche {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 0 5px 0 #A4A8A9;
    padding-left: 40px;
}

.suche-suggest {
    width: 98.5%;
    transform: translateX(15px);
}


/* Icons */

#searchcontainer .input-group {
    position: relative;
}

#searchcontainer .input-group .fa-magnifying-glass,
#searchcontainer .input-group .fa-search {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
}

#searchcontainer input {
    position: relative;
    z-index: 1;
    padding-left: 42px !important;
}

.fa-phone-flip {
    font-size: 15pt;
    margin-right: 10px;
} 


/* Menü */

.navbar {
    padding: 0rem 1rem !important;
    margin-bottom: 0px !important;
}

.navbar-expand {
    padding: 0 !important;
}

.nav-link {
    padding: 0.56rem 1.5rem !important;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}

.text-black {
    color: black !important;
}

.btn-menu {
    background-color: transparent !important;
    border: unset !important;
    color: black !important;
}

.btn-menu:hover {
    background-color: #b80f0d !important;
    color: white !important;
}

.border-right {
    border-right: solid !important;
    border-right-width: 1px !important;
    border-color: #A4A8A9 !important;
}

/* ----- Header Layout ----- */

.bg-rcs .navbar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.bg-rcs .navbar-brand {
    flex: 0 0 auto;
    margin-right: 28px;
}

.header-search-area {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#navbarResponsive {
    flex: 0 0 auto !important;
    margin-left: 28px !important;
}

    #navbarResponsive .navbar-nav {
        flex-wrap: nowrap;
        margin-left: 0 !important;
    }

/* Suche */

    #navbarResponsive .navbar-nav {
        flex-wrap: nowrap;
        margin-left: 0 !important;
        flex-direction: row;
        align-items: center;
    }

.header-search-area form,
.header-search-area .input-group {
    width: 100%;
}

.header-search-area .input-group {
    position: relative;
}

    .header-search-area .input-group > i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

.header-search-area input {
    width: 100%;
    padding-left: 42px;
}

/* Tablet: Suche darf kleiner werden */
@media (max-width: 1199.98px) {
    .header-search-area {
        max-width: 520px;
    }
}

/* Mobile: Suche raus, weil im Seitenmenü */
@media (max-width: 991.98px) {
    .header-search-area {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .header-search-area {
        display: none !important;
    }

    #navbarResponsive {
        margin-left: auto !important;
    }

    .bg-rcs .navbar-brand {
        margin-right: 0;
    }
}

/* Dropdown Menü */

.dropdown-menu {
    margin: 0px !important;
    border-radius: 0px !important;
    border: none !important;
    background-color: #D5D5D5;
    padding: 0px !important;
}

.dropdown-item:hover {
    background-color: #B80F0D !important;
}

.border-bottom {
    border-color: #A4A8A9 !important;
}

.dropdown-menu .dropdown-submenu {
    top: 0px !important;
}

.dropdown-toggle::after {
    border-top: unset !important;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    border-left: unset !important;
    width: 5px;
    height: 5px;
    transform: rotate(45deg);
}

/* Show the dropdown menu on hover */
/*.dropdown:hover .dropdown-menu {
    display: block;
}*/

/* Anmelde-Button*/
.btn-nav {
    background-color: #66aeb6 !important;
    border: none !important;
    color: white;
}

    .btn-nav:hover {
        background-color: #558E94 !important;
        color: white;
    }


/* Shop Button */

.btn-shop {
    background-color: #66aeb6;
}

.btn-shop:hover {
    background-color: #558E94;
}

/* ACC Button */

@media (max-width: 991.98px) {

    .account-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0.56rem 0.7rem !important;
        margin-left: 0.2rem !important;
        width: auto;
        height: auto;
    }

        .account-btn.btn-success {
            background-color: transparent !important;
            border-color: transparent !important;
        }

            .account-btn.btn-success:hover,
            .account-btn.btn-success:focus,
            .account-btn.btn-success:active,
            .account-btn.btn-success.show {
                background: transparent !important;
                background-color: transparent !important;
                border-color: transparent !important;
                box-shadow: none !important;
            }

    

    .account-btn-text {
        display: none;
    }

    .account-btn i {
        font-size: 24px;
        color: #6c6c6c !important;
        margin: 0;
        transform: translateY(-2px);
    }

    .account-btn.show i,
    .account-btn:focus i,
    .account-btn:active i {
        color: #e30613 !important;
    }
}

/* ----- Footer ----- */
.footer-top {
    height: 50px;
    background-color: #c4c8ca;
}

.footer-logos {
    margin-bottom: 30px;
    margin-top: 20px;
}

.footer-bilder {
    text-align: right;
    transform: translateY(-100px);
}


.text-footer {
    color: #bcbcbc !important;
}


.copyright-margin {
    margin-top: 80px;
}

.bg-footer {
    background-image: url('/Content/Bilder_Webshop/corporate-footer-bg-tall.jpg');
    background-size: contain;
    background-repeat: repeat;
    background-position: left top;
    padding-top: 40px !important;
    border-top: solid;
    border-width: 3px;
    border-color: #66AEB6;
    line-height: 20pt;
}

/* ----- Footer Mobil ----- */

@media (max-width: 767.98px) {

    .bg-footer {
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center top !important;
        padding: 40px 24px 24px !important;
    }

    .footer .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* ===== Logos oben ===== */
    .footer-logos {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 34px;
    }

        .footer-logos .col-sm-10,
        .footer-logos .col-sm-2 {
            width: 50%;
            max-width: 50%;
            flex: 0 0 50%;
        }

        .footer-logos img {
            max-height: 4.2rem !important;
            padding-top: 0 !important;
        }

    /* ===== Grid ===== */
    .footer .row:not(.footer-logos) {
        display: flex;
        flex-wrap: wrap;
    }

        .footer .row:not(.footer-logos) > .col-sm-4 {
            flex: 0 0 100%;
            max-width: 100%;
            margin-bottom: 34px;
        }

        .footer .row:not(.footer-logos) > .col-sm-2 {
            flex: 0 0 50%;
            max-width: 50%;
            margin-bottom: 34px;
        }

    /* ===== Text ===== */
    .footer h5 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 14px;
        color: #fff;
    }

    .footer span,
    .footer a {
        font-size: .95rem;
        line-height: 1.6;
    }

    .footer .col-sm-4 span {
        display: block;
        max-width: 100%;
    }

    /* ===== Bilder unten ===== */
    .footer-bilder {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
        margin-top: 10px;
        margin-bottom: 24px;
    }

        .footer-bilder img {
            max-height: 4.2rem !important;
            margin-right: 0 !important;
        }

    /* ===== Social + Copyright ===== */
    .copyright-margin {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center;
        margin-bottom: 14px !important;
    }

    .footer-copyright {
        text-align: center;
        font-size: .9rem;
    }

    .footer .fb-ic {
        margin: 0 14px !important;
    }


    /* TÜV / BHE / ZVEI Logos mobil */
    .footer .footer-bilder {
        display: flex !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        justify-content: center;
        align-items: center;
        gap: 18px;
        margin: 24px 0 22px 0 !important;
    }

        .footer .footer-bilder a {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
        }

        .footer .footer-bilder img {
            display: block !important;
            max-height: 4.2rem !important;
            max-width: 30% !important;
            margin-right: 0 !important;
        }
}

/* Background */

.min-vh-100 {
    background-color: #F5F5F5;
}

.body-background {
    background-color: white;
}

/* Font */

@font-face {
    font-family: 'RCS Helvetica 55 Roman';
    src: url('/Content/Fonts/RCSHelvetica-55Roman.woff2') format('woff2'), url('/Content/Fonts/RCSHelvetica-55Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1 {
    color: #2aa5fb;
    font-size: 60px;
    line-height: 70px;
    letter-spacing: 0px;
    font-family: 'RCS Helvetica 55 Roman' !important;
    margin-bottom: 3%;
}

h5 {
    font-family: 'RCS Helvetica 55 Roman' !important;
    font-weight: normal !important;
    font-size: 17px !important;
}

html * {
    font-family: 'RCS Helvetica 55 Roman';
}

body {
    line-height: 28px !important;
}


/* Alerts */

.alert {
    margin-top: 100px;
}

.modal.show .modal-dialog {
    margin-top: 150px;
}


/* Produkte Bilder Slide */

.carousel-indicators li {
    background-color: #2aa5fb !important;
}

.carousel-indicators {
margin-bottom: -40px !important;
}

/* Produkt Tabelle Beschreibung + Technische Daten */

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: white !important;
    background-color: #668080;
    border-color: #668080;
}

.nav-tabs {
    border-bottom: 2px solid #668080 !important;
}

.nav-color {
    color: #668080 !important;
}

.card-tabelle {
    padding-left: 0px;
    padding-right: 0px;
    background-color: white !important;
    border-bottom: none;
}

.card-header-tabs {
    margin-right: 0px !important;
    margin-left: 0px !important;
    font-weight: bold;
}

.product-hintergrund {
    background-color: #f5f5f5;
    padding-top: 5%;
    padding-bottom: 5%;
    margin-top: 2%;
    margin-bottom:2%;
}

.product-description-card {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

    .product-description-card .card-header,
    .product-description-card .card-tabelle {
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    .product-description-card .card-header-tabs {
        margin: 0 !important;
        padding-left: 0 !important;
        background: transparent !important;
    }

    .product-description-card .tab-content {
        background: #fff !important;
    }

    .product-description-card .card-body {
        padding-bottom: 1.25rem !important;
    }

/* Breadcumbs */
.breadcrumb {
    background-color: unset !important;
    padding-left: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px !important;
}


/* Carousel Control */

.carousel-next, .carousel-prev {
    width: unset !important;
}

.carousel-next {
    right: -60px !important;
    color: #2aa5fb !important;
    opacity: unset;
}

.carousel-prev {
    left: -60px !important;
    color: #2aa5fb !important;
    opacity: unset;
}

/* Empfohlene Produkte + Kategorien */

.carousel-inner {
    overflow: unset !important;
}

.card {
    border: none;
}

.shadow-sm {
    box-shadow: 0px 5px 7px 3px rgba(0, 0, 0, .075) !important;
}

.card-header {
    font-weight: bold;
}

/* ----- Mobiles Menü ----- */

.mobile-extra-menu {
    border-top: none;
    margin-top: 0;
}

/* ===== Hauptpunkte ===== */

.mobile-menu-parent {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 400;
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #A4A8A9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .mobile-menu-parent span {
        font-weight: 400;
        transition: all 0.2s ease;
    }

    /* Hover wie Shop */
    .mobile-menu-parent:hover {
        color: #fff;
    }

        .mobile-menu-parent:hover span {
            font-weight: 600;
        }

        .mobile-menu-parent:hover i {
            color: #e30613;
            transform: translateX(3px);
        }

/* ===== Submenu ===== */

.mobile-submenu {
    padding: 6px 0 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

    .mobile-submenu a {
        display: block;
        color: #ddd;
        text-decoration: none;
        padding: 8px 0;
        font-size: 1rem;
        transition: all 0.2s ease;
    }

        .mobile-submenu a:hover {
            color: #fff;
        }

/* ===== Top Bereich ===== */

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px 10px 0;
}

/* Shop Button FIX */
.mobile-shop-button,
.mobile-shop-button:focus {
    background: #e30613;
    color: #fff !important;
    border-radius: 4px;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

    .mobile-shop-button:hover {
        background: #990c09;
        color: #fff !important;
        text-decoration: none !important;
    }

    /* Icon im Button */
    .mobile-shop-button i {
        color: #fff !important;
    }

/* Close Button */
.mobile-close-button {
    background: transparent;
    border: 0;
    color: #aaa;
    font-size: 2rem;
    line-height: 1;
    transition: color 0.2s ease;
}

    .mobile-close-button:hover {
        color: #fff;
    }

/* ===== Suche ===== */

.mobile-search {
    padding: 8px 0 18px 0 !important;
    margin: 0 !important;
}

    .mobile-search form {
        width: 100% !important;
        margin: 0 !important;
    }

    .mobile-search .input-group {
        position: relative;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

        .mobile-search .input-group i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #888;
            pointer-events: none;
            z-index: 2;
        }

    .mobile-search input {
        width: 100% !important;
        height: 42px;
        font-size: 0.95rem;
        border-radius: 4px;
        padding-left: 42px;
        margin: 0 !important;
    }

/* ------ DOWNLOAD SEITE ----- */

.downloads-page .download-card {
    border: none;
    border-radius: 0.5rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .downloads-page .download-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.12) !important;
    }

.downloads-page .download-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.5rem;
    background: #f5f8fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .downloads-page .download-icon i {
        font-size: 1.8rem;
        color: #e1001a;
    }

.downloads-page .btn i {
    vertical-align: middle;
}

@media (max-width: 767.98px) {
    .downloads-page {
        padding-left: 18px;
        padding-right: 18px;
    }

        .downloads-page .download-icon {
            width: 46px;
            height: 46px;
        }
}

/* ------ Merkmale Tabelle ----- */

.article-characteristics-body > .row > .col-sm-6 {
    padding: 0.9rem 1.25rem !important;
}

    .article-characteristics-body > .row > .col-sm-6:nth-child(4n+1),
    .article-characteristics-body > .row > .col-sm-6:nth-child(4n+2) {
        background-color: #ffffff !important;
    }

    .article-characteristics-body > .row > .col-sm-6:nth-child(4n+3),
    .article-characteristics-body > .row > .col-sm-6:nth-child(4n+4) {
        background-color: #f5f8fa !important;
    }

.article-characteristics-body .border-bottom {
    border-bottom: none !important;
}

/* Merkmale-Inhalt bündig */
#ArticleList .tab-content.card-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Tabs-Bereich anpassen */

#DetailsTabs.card.mb-3 {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

#DetailsTabs .card-header {
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#DetailsTabs .card-header-tabs {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#DetailsTabs .nav-tabs .nav-link {
    border: none !important;
    border-radius: 4px 4px 0 0;
}

/* Gemeinsame Merkmale bei mehreren Artikeln */
.product-features-card .card-body {
    padding: 0 !important;
}

.product-features-card .row {
    margin: 0 !important;
}

/* Jede Merkmal-Zeile */
.product-features-card .product-feature-item {
    padding: 1rem 1.25rem !important;
    border: none !important;
}

    /* Zebra pro kompletter Reihe */
    .product-features-card .product-feature-item:nth-child(4n+1),
    .product-features-card .product-feature-item:nth-child(4n+2) {
        background: #ffffff;
    }

    .product-features-card .product-feature-item:nth-child(4n+3),
    .product-features-card .product-feature-item:nth-child(4n+4) {
        background: #f5f8fa;
    }



    /* ======= MOBILE OPTIMIERUNG ===== */

@media (max-width: 767.98px) {
    .product-main-container,
    .product-description-section .container,
    .product-recommendations-section {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .product-main-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

        .product-main-row > [class*="col-"] {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

    .product-description-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    #ProductDescription {
        font-size: 0.95rem;
        line-height: 1.55;
    }


    .carousel-control-prev,
    .carousel-control-next {
        width: 34px !important;
        opacity: 0.75;
    }

    .carousel-control-prev {
        left: 6px !important;
    }

    .carousel-control-next {
        right: 6px !important;
    }

        .carousel-control-prev i,
        .carousel-control-next i,
        .CarouselArrow {
            font-size: 22px !important;
        }

    .carousel {
        margin-bottom: 40px !important;
    }

    .carousel-indicators {
        bottom: -28px !important;
        margin-bottom: 0 !important;
        justify-content: center;
    }

        .carousel-indicators li {
            width: 34px !important;
            height: 4px !important;
            margin: 0 4px !important;
        }

    .product-main-container .carousel-inner {
        margin-bottom: 0 !important;
    }
}

/* Fonts Mobil*/
@media (max-width: 767.98px) {

    h1 {
        font-size: 3rem !important;
        line-height: 1.05 !important;
        margin-bottom: 1rem !important;
    }

    h2 {
        font-size: 2rem !important;
        line-height: 1.15 !important;
    }

    h3 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }

    p,
    li,
    span,
    a {
        font-size: 1rem !important;
        line-height: 1.55 !important;
    }

    .container,
    .container-fluid {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .carousel {
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .home-content-section {
        padding-top: 32px !important;
        padding-bottom: 48px !important;
    }
}

/* Abstand Startseite */
@media (max-width: 767.98px) {

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

        .row > [class*="col-"] {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

    body,
    html {
        overflow-x: hidden !important;
    }
}

/* Anmelde Pop-Up */
@media (max-width: 767.98px) {
    .account-btn + .dropdown-menu,
    #navbardrop + .dropdown-menu {
        position: absolute !important;
        left: auto !important;
        right: 0 !important;
        width: 280px !important;
        min-width: 280px !important;
        max-width: calc(100vw - 24px) !important;
        transform: none !important;
        z-index: 1050 !important;
    }

        .account-btn + .dropdown-menu .form-control,
        #navbardrop + .dropdown-menu .form-control,
        .account-btn + .dropdown-menu .btn,
        #navbardrop + .dropdown-menu .btn {
            width: 100% !important;
        }
}

/* ----- Bestellhistorie ----- */

.bg-success-prog {
    background-color: #96c300 !important;
}