/* Farben
h1, h2, h3, h4, h5, h6, body, a, a:visited {
    color: black;
}
p, li, li a, label {
    color: black;
}
.center-block h2,
.center-block p {
    color: black;
}

.lead-text {
    color: black;
}

.btn-u.ap-download {
    border: 2px solid #000000;
    color: #000000;
}
.btn-u.ap {
    border: 2px solid #000000;
    color: #000000;
}
.hbspt-form form input[type="submit"] {
    border: 2px solid #000000 !important;
    color: #000000 !important;
}

.highlight-icon-extra-bold, .highlight-icon-bold {
    color: #000000;
}
 */

html, body {
    height: 100%;
    background-color: #b5cad6;
}
.wrapper {
    min-height: auto;
}

/* anstatt "false bold" nehmen wir die richtige Fontfamily */
b, strong {
    font-family: 'MaaxBold';
    font-weight: normal !important;
}
ol, ul {
    padding-inline-start: 25px;
}

/* Forciere Scrollbalken, um Verschieben vom body zu vermeiden  */
body#page260, body#page258, body#page135, body#page88, body#page137 {
    overflow-y: scroll;
}
.modal-open {
    margin-left: 0px;
    padding-right: 0 !important;
}

/* unnütze Body Klasse neutralisieren : das erste Wort eines Seitentitels wird benützt als Klasse im body... !! */)
body.service {
    padding: 0;
    text-align: left;
}
#page1506 {
    text-align: left;
    padding: 0;
}


/* Sliderblock auf Homepage */
 #page1 .ms-slide-layers {
        top: 10px;
    }
 #page1 .slider-icon {
        padding-top: 10px;
    }

/* Slider Layer immer anzeigen */
.ms-anim-layers {
    display: block !important;
}
/* Slider-Info
Interaktion verbieten ausser auf a tags, er wird eh nur als Header eingesetzt.
Grund: Slider-elemente können trotz nur einem Elemente weggeslided werden mit swipe Action ohne diese Regeln */
.master-slider,
.ms-slide-layers,
.ms-anim-layers,
.ms-layer {
    pointer-events:none !important;
}
/* So ist es leider imer noch möglich, ein Swipe auf einem a tag zu machen, dass das Elementn ausblendet,
habe keine andere Lösung gefunden für den Moment.  */
.ms-layer .boxButtonText,
.ms-layer .boxButtonText a {
    pointer-events: auto !important;
    width: fit-content;
}
/* Erster Block auf Homepage raufschieben */
#page1 > div.wrapper > div.container.content-sm > div.row.Box-AP-Green-D.home-titel-abstand {
    margin-top: -18px;
}
.sitebar-socialmedia {
    display: none;
    margin-top: 10px;
    width: 50px;
    height: 50px;
}
.sitebar-socialmedia img {
    width: 50px;
    height: 50px;
}
.sitebar-socialmedia {
    display: block;
}

.CybotCookiebotDialogArrow {
    display: none !important;
}

/* Kontakt Pop auf den Lösungen Seiten */
.contact_popup {
    position: absolute;
    top: 140px;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
}
.contact_popup_container {
    display: none;
    background-color: #9E9E9E;
    position: relative;
    padding: 30px;
    margin: 2em;
}
.contact_popup_visible .contact_popup_container {
    display: block;
}

/* Custom Helper Class für "eigene Klassen" im Flexform */
.content_padding {
    padding-left: 45px;
    padding-right: 45px;
}

/* Helper Class um Listen-Punkt mit einem Icon zu ersetzen */
.custom-checklist ul {
    list-style: none;
    padding-left: 0;
}
.custom-checklist ul li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
}
.custom-checklist ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url('/fileadmin/images/ap-icons/angebote_2025/AP_Tick_18px.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
/* Startseite/Testseite h2 */
#page1684 h2 a,
#page1744 h2 a,
#page1 h2 a {
    text-decoration: none;
}
/* Startseite/Testseite Aufzählungen */
#page1684 .custom-checklist ul li,
#page1744 .custom-checklist ul li,
#page1 .custom-checklist ul li {
    font-size: 19px;
    text-align: left;
}
#page1684 .custom-checklist h3 a,
#page1744 .custom-checklist h3 a,
#page1 .custom-checklist h3 a {
    text-decoration: none;
}
#page1684 .custom-checklist h3 a:hover,
#page1744 .custom-checklist h3 a:hover,
#page1 .custom-checklist h3 a:hover {
    text-decoration: underline;
}
#page1684 .custom-checklist .ce-bodytext p,
#page1744 .custom-checklist .ce-bodytext p,
#page1 .custom-checklist .ce-bodytext p {
    font-size: 19px;
    min-height: 3em;
    text-align: left;
}
/* Testseite und Startseite (die mit 5000X) - Tests kann man dann löschen, wenn live. */
#c49098 > div > div > p,
#c50910 > div > div > p, 
#c49116 > div > div > p,
#c50003> div > div > p,
#c50006 > div > div > p,
#c50009 > div > div > p {
    font-size: 19px;
}

/* Listenabstand in farbigen BOxen anpassen - für Angebotsseiten */
[class*="Box-AP-"] li {
    margin-bottom: 13px;
}

/* 2025.06.13/pr: Ergänzung zu Klasse center-block, hatte bis jetzt kein CSS, ist aber in Typoe3 verfügbar als Auswahl */
.left-block {
    padding: 30px 30px;
}
.margin-bottom-20 {
    display: inline-block;
    margin-bottom: 20px;
}
/* Für nebeneinderstehende Boxen/Kacheln  */
.equal_height {
    display: flex;
    flex-wrap: wrap;
}
/* für Startseite */
.header_line > div > div {
    border-bottom: solid 1px white !important;
    padding-bottom: 1.5em;
}
.btn-u.ap-download {
    min-width: 160px;
    width: auto;
}
/* Invoice Automation Hacks */
#c48157 {
    margin-top: 20px;
}
.no_hyphen p {
    hyphens: none;
}
.normal_padding {
    padding-left: 15px;
    padding-right: 15px;
}


@media (min-width: 768px) {
    #page1 .ms-slide-layers {
        top: 20px;
    }
    #page1 .slider-icon {
        /*padding-top: 20px;*/
        width: 300px;
        margin-left: -150px;
    }

}

@media (min-width: 992px) {
    /* Invoice Automation Hack */
    .invoice_automation_visibility .ce-gallery {
        display: none;
    }
}

@media (max-width: 1200px) {
    .content_padding {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 991px) {
    .header-spacer {
        height: 77px;
    }
    /* Partner Logos Anpassungen, damit es keine unnötigen Abstände gibt (z.B. pid89) */
    .box-spacer.logo-block-reseller {
        padding-bottom: 0;
    }
    .logo-block-reseller {
        min-height: 0;
    }
    .logo-block-reseller .ce-gallery{
        padding-bottom: 50px;
        min-height: 180px;
    }
    /* Anpassungen für genrellen spacer-only-bottom, damit es keine unnötigen Abstände gibt (z.B. pid88) */
    .box-spacer-only-bottom {
        padding-bottom: 0;
    }
    .box-spacer-only-bottom .frame{
        padding-bottom: 30px;
    }
    .content_padding {
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Invoice Automation Hacks */
    .invoice_automation_visibility .ce-gallery {
       margin-top: 15px;
    }
}

@media (orientation: landscape) AND (max-width: 991px) {
    /*  */
    .master-slider {
        margin-top: 50px !important;
    }
}
@media (min-width: 1200px) {
    /* Hilfsklassen für kleinere Bilder */
    .image_95 .ce-gallery .image {
        max-width: 584px;
    }
    .image_90 .ce-gallery .image {
        max-width: 553px;
    }
    .image_85 .ce-gallery .image {
        max-width: 523px;
    }
    .image_80 .ce-gallery .image {
        max-width: 492px;
    }
    .image_75 .ce-gallery .image {
        max-width: 461px;
    }
    .image_70 .ce-gallery .image {
        max-width: 430px;
    }

}