/* Allgemeine Einstellungen */

:root {
    --schwarz: #000;
    --weiss: #fff;
    --body: #555;
    --primary: #9B2423;
    --primary-darker: #821E1E;
    --blau: #1878B5;
    --gruen: #059C2F;
    --rot: #E83535;
}

body {
    font-family: 'Cairo', sans-serif;
    font-style: normal;
    font-size: 15px;
    color: #555;
    line-height: 26px;
}

body, #et-main-area {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-style: normal;
    -moz-hyphens: auto;
    hyphens: auto;
}

h1, div.et_pb_text_inner h1 {
    font-size: 35px;
    letter-spacing: 0.05em;
    color: #9B2423;
}

#grussworte h1 {
    color: #AC0000;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: -0.5px;
    line-height: 40px;
    padding-bottom: 40px;
}

@media only screen and ( min-width: 480px ) and ( max-width: 767px ) {
    h1, div.et_pb_text_inner h1 {
        font-size: 28px;
        margin-top: 35px;
    }

    #grussworte h1 {
        font-size: 22px;
    }
}

@media only screen and ( max-width: 479px ) {
    h1, div.et_pb_text_inner h1 {
        font-size: 24px;
        margin-top: 35px;
    }

    #grussworte h1 {
        font-size: 22px;
    }
}

h2, div.et_pb_text_inner h2 {
    font-size: 22px;
    letter-spacing: -0.18px;
    line-height: 32px;
    color: #9B2423;
}

h3, div.et_pb_text_inner h3 {
    font-size: 18px;
    letter-spacing: 0.05em;
    margin-top: 20px;
    color: #9B2423;
}

div.et_pb_text_inner h2:first-of-type {
    margin-top: 0;
}

a, .nav-single a {
    color: #9B2423;
    text-decoration: none;
}

.vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

small {
    font-size: 80%;
    font-style: italic;
}

.keinabstand_oben {
    padding-top: 0 !important;
}

.keinabstand_unten {
    padding-bottom: 0 !important;
}

.circle-img img {
    border-radius: 50%;
}

.et_overlay:before, .et_pb_bg_layout_light .et_pb_more_button, .et_pb_bg_layout_light .et_pb_newsletter_button, .et_pb_bg_layout_light .et_pb_promo_button, .et_pb_bg_layout_light.et_pb_module.et_pb_button, .et_pb_contact_submit, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active, .et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active, .et_pb_gallery .et_pb_gallery_pagination ul li a.active, .et_pb_member_social_links a:hover, .et_pb_pricing li a, .et_pb_pricing_table_button, .et_pb_sum {
    color: #9B2423;
}

blockquote {
    border-color: #9B2423;
    margin-left: 60px;
}

.responsive-tabelle, .responsive_tabelle {
    overflow-y: hidden;
    overflow-x: auto;
}

.responsive-tabelle table, .responsive_tabelle table {
    width: 100% !important;
}

#main-content .et_pb_text_inner ul, #main-content .et_pb_text_inner ol, .et_pb_toggle_content ul {
    padding-left: 25px;
    list-style: none;
    margin-top: 20px;
}

#main-content .et_pb_text_inner ol {
    counter-reset: line;
    padding-left: 0;
}

#main-content .et_pb_text_inner ul li, #main-content .et_pb_text_inner ol li, .et_pb_toggle_content ul li {
    margin-bottom: 15px;
    padding-left: 10px;
}

#main-content .et_pb_text_inner ol li {
    margin-bottom: 15px;
    padding-left: 35px;
}

#main-content .et_pb_text_inner ul li:before, .et_pb_toggle_content ul li:before {
    content: url('../img/doppelpfeil.svg');
    margin-right: 15px;
    width: 11px;
    height: 11px;
    transform: translateY(1px);
    display: inline-block;
    position: absolute;
    left: 20px;
}

#main-content .et_pb_text_inner ul li ul li:before {
    position: unset;
    left: unset;
}

#main-content .et_pb_text_inner ol li:before {
    margin-right: 15px;
    display: inline-block;
    font-size: 14px;
    width: 22px;
    height: 22px;
    background-color: var(--primary);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    counter-increment: line;
    content: counter(line);
    position: absolute;
    left: 0;
    transform: translateY(2px);
}

/* Tabellen */

div.responsive_tabelle .tablepress tfoot th, div.responsive_tabelle .tablepress thead th,
.tablepress tfoot th, .tablepress thead th {
    background-color: var(--primary);
    color: var(--weiss);
}

div.responsive_tabelle .tablepress .sorting:hover, div.responsive_tabelle .tablepress .sorting_asc, div.responsive_tabelle .tablepress .sorting_desc,
.tablepress .sorting:hover, .tablepress .sorting_asc, .tablepress .sorting_desc {
    background-color: var(--primary-darker);
}

/* Downloads */

.downloads {
    background-color: #E3D9C6;
    padding: 50px;
}

@media only screen and ( max-width: 479px ) {
    .downloads {
        padding: 20px;
    }
}

.downloads h2 {
    color: #817B73;
    font-size: 16px;
    line-height: 30px;
}

.downloads h3 {
    color: #9B2423;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    margin-top: 0;
    padding-bottom: 0;
}

.downloads .et_pb_row {
    width: 100%;
}

.downloads .et_pb_row, .downloads .et_pb_row .et_pb_column {
    padding: 0;
}

/* Schnelleinstiege */

#schnelleinstiege > div {
    background: #F6A950;
    padding: 50px;
}

@media only screen and ( max-width: 479px ) {
    #schnelleinstiege > div {
        padding: 20px;
    }
}

#schnelleinstiege > div > div > div > div > h2 {
    color: #F1F1F1;
    font-weight: 700;
    font-size: 40px;
    line-height: 44px;
    text-align: center;
    text-transform: uppercase;
}

@media only screen and ( max-width: 767px ) {
    #schnelleinstiege > div > div > div > div > h2 {
        font-size: 24px;
    }
}

#schnelleinstiege > div > div > div > div > ul {
    list-style: none;
    padding-bottom: 0;
}

#schnelleinstiege div.menu-schnelleinstiege-container ul {
    text-align: center;
}

#schnelleinstiege div.menu-schnelleinstiege-container ul li {
    display: inline-block;
    font-weight: bold;
    padding: 5px 20px;
    border: 1px solid var(--weiss);
    margin: 10px;
}

#schnelleinstiege div.menu-schnelleinstiege-container ul li a {
    color: var(--weiss);
}

#schnelleinstiege div.menu-schnelleinstiege-container ul li:first-of-type a {
    margin-left: 0;
}

#schnelleinstiege div.menu-schnelleinstiege-container ul li:last-of-type a {
    margin-right: 0;
}

/* Ende Schnelleinstiege */

/* Grussworte Startseite */

#grussworte .et_pb_blurb_content .et_pb_image_wrap, .personal .et_pb_blurb_content .et_pb_image_wrap {
    width: 80px;
}

#grussworte .et_pb_blurb_content .et_pb_image_wrap img, .personal .et_pb_blurb_content .et_pb_image_wrap img {
    border-radius: 50%;
}

#grussworte .et_pb_blurb_content, .personal .et_pb_blurb_content {
    max-width: unset;
}

#grussworte > div.et_pb_blurb > div > div.et_pb_blurb_container, .personal > div > div.et_pb_module.et_pb_blurb > div > div.et_pb_blurb_container {
    vertical-align: middle;
}

#grussworte .et_pb_blurb_content .et_pb_blurb_description p:first-of-type, .personal .et_pb_blurb_content .et_pb_blurb_description p:first-of-type {
    color: #9B2423;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    padding-bottom: 0;
}

/* Blogmodul Startseite */

@media only screen and ( min-width: 768px ) {
    #blogmodul article {
        width: 32%;
        margin-right: 2%;
        float: left;
    }

    #blogmodul article:last-of-type {
        margin-right: 0;
    }
}

#blogmodul .et_pb_button_module_wrapper {
    clear: both;
}

#blogmodul .et_pb_button {
    border: 1px solid #fff;
    border-radius: 3px;
    background-color: #9B2423;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.2px;
    line-height: 24px;
}

#blogmodul .et_pb_button:hover {
    padding: .3em 1em;
}

#blogmodul .et_pb_button:hover:after {
    content: unset;
}

/* Ansicht Einzelartikel */

.single-post .post-meta .published {
    color: #9B2423;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    border: 1px solid #9B2423;
    padding: 3px 5px;
    font-weight: 900;
}

.single-post article.et_pb_post h1 {
    color: #9B2423;
    font-size: 32px;
    font-weight: bold;
    line-height: 44px;
}

#artikel_headerbild {
    width: 100%;
}

.single-post article.et_pb_post h2, .single-post article.et_pb_post h3 {
    color: #555;
    font-weight: bold;
    line-height: 24px;
}

.single-post article.et_pb_post h2 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-post article.et_pb_post h3 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 10px;
}

#more_media {
    margin-top: 60px;
}

/* Aufzählung Sidebar */

#aufzaehlung {
    padding-left: 8px;
}

#aufzaehlung ul {
    list-style: none;
}

#aufzaehlung li {
    color: #555;
    font-weight: 300;
    font-size: 14px;
    line-height: 26px;
}

#aufzaehlung ul li:before {
    content: '>';
    margin: 0 5px 0 -15px;
    color: #9B2423;
    font-size: 1.2em;
    display: inline-block;
    -webkit-transform: scale(0.7, 1.2);
    -moz-transform: scale(0.7, 1.2);
    -ms-transform: scale(0.7, 1.2);
    -o-transform: scale(0.7, 1.2);
    transform: scale(0.7, 1.2);
}

/* Ende Aufzählung Sidebar */

/* Konzepte */

.rot, .gruen, .blau {
    padding: 20px;
}

.rot {
    background: var(--rot);
}

.gruen {
    background: var(--gruen);
}

.blau {
    background: var(--blau);
}

div.rot > div > h2, div.rot > div > p, div.gruen > div > h2, div.gruen > div > p, div.blau > div > h2, div.blau > div > p {
    color: var(--weiss);
}

/* Ende Konzepte */

/* Rezensionen */

#rezensionen p {
    text-align: right;
    font-weight: bold;
}

#rezensionen blockquote p {
    font-weight: normal;
    text-align: left;
}

/* Ende Rezensionen */

/* Info Icons */

.info_icons img {
    max-width: 50px;
}

/* Ende Infoicons */

/* Toggle */
.et_pb_toggle_close {
    background-color: unset;
}

.et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title {
    color: var(--primary);
}

.et_pb_toggle_close .et_pb_toggle_title, .et_pb_toggle_close h5.et_pb_toggle_title {
    color: var(--primary);
}

.et_pb_toggle_title:before {
    color: var(--primary);
}

@media only screen and ( max-width: 479px ) {
    div.et_pb_toggle > h2 {
        font-size: 18px;
    }
}

/* Ende Toggle */

/* Image Hotspot */

.cq-hotspot-icon {
    animation: shadow-pulse 1s infinite;
}

@keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 35px rgba(0, 0, 0, 0);
    }
}


/* Ende Image Hotspot */

/* Stack Order */
@media only screen and (max-width: 980px) {

    /*** wrap row in a flex box ***/
    .custom_row {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        /* Safari 6.1+ */
        flex-wrap: wrap;
    }

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
    }

    .first-on-mobile img {
        margin-bottom: 30px;
    }

    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
    }

    .third-on-mobile {
        -webkit-order: 3;
        order: 3;
    }

    .fourth-on-mobile {
        -webkit-order: 4;
        order: 4;
    }

    /*** add margin to last column ***/
    .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }
}

/* Stack Order Smartphone */
@media only screen and (max-width: 479px) {

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-smartphone {
        -webkit-order: 1;
        order: 1;
    }

    .first-on-smartphone img {
        margin-bottom: 30px;
    }

    .second-on-smartphone {
        -webkit-order: 2;
        order: 2;
    }

    .third-on-smartphone {
        -webkit-order: 3;
        order: 3;
    }

    .fourth-on-smartphone {
        -webkit-order: 4;
        order: 4;
    }
}

.et_pb_scroll_top.et-pb-icon {
    color: #fff;
    background: #9B2423;
}

/* Sidebar Removal */
#main-content .container:before {
    background: none;
}

@media (min-width: 981px) {
    #left-area {
        width: 100%;
        padding: 23px 0px 0px !important;
        float: none !important;
    }
}

/* Suche */

.search-results article img, .search-results p.post-meta {
    display: none;
}

.search-results #sidebar {
    display: none;
}

#errorcode {
    font-size: 500%;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 50px;
}

/* Bloom */

.et_bloom .curve_edge .et_bloom_form_content {
    padding-top: 0 !important;
}

.et_bloom .et_bloom_form_header.split img {
    max-width: 25% !important;
}

/* NinjaForms */

#main-content div.nf-form-fields-required {
    font-size: .8em;
}

#main-content .nf-form-content {
    padding: 0;
    margin-top: 24px;
    max-width: unset;
}

#main-content .nf-response-msg {
    font-size: 2em;
    text-align: center;
}

#main-content .checkbox-wrap {
    display: block;
}

#main-content .nf-field-description {
    margin-right: unset;
    margin-top: 12px;
}

#main-content .nf-field-description small {
    font-style: normal;
    line-height: .4em;
    font-size: .8em;
}

#main-content button.btn.ninja-forms-field,
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit],
#main-content .nf-form-content button, #main-content .nf-form-content input[type=button], #main-content .nf-form-content input[type=submit] {
    border: 1px solid #fff;
    border-radius: 3px;
    background-color: #9B2423;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.2px;
    cursor: pointer;
}

#main-content button.btn.ninja-forms-field:hover,
.nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover,
#main-content .nf-form-content button:hover, #main-content .nf-form-content input[type=button]:hover, #main-content .nf-form-content input[type=submit]:hover {
    filter: brightness(90%);
}

/*================================================
    BorlabsCookie
================================================*/

#BorlabsCookieBox ._brlbs-btn:hover,
#BorlabsCookieBox ._brlbs-btn-accept-all:hover,
#BorlabsCookieBox ._brlbs-btn,
#BorlabsCookieBox ._brlbs-refuse-btn a, #BorlabsCookieBox a._brlbs-refuse-btn,
#BorlabsCookieBox ._brlbs-manage-btn a {
    background: var(--primary);
    color: #fff;
}

#BorlabsCookieBox a,
#BorlabsCookieBox ._brlbs-manage a,
#BorlabsCookieBox a:hover,
#BorlabsCookieBox ._brlbs-manage a:hover {
    color: var(--primary);
}

#BorlabsCookieBox a:hover,
#BorlabsCookieBox ._brlbs-manage a:hover {
    filter: brightness(90%);
}

#BorlabsCookieBox ._brlbs-btn:hover,
#BorlabsCookieBox ._brlbs-btn-accept-all:hover,
#BorlabsCookieBox ._brlbs-refuse-btn a:hover, #BorlabsCookieBox a._brlbs-refuse-btn:hover,
#BorlabsCookieBox ._brlbs-manage-btn a:hover {
    filter: brightness(90%);
    background: var(--primary);
    color: #fff;
}

.BorlabsCookie ._brlbs-btn-switch input:checked + ._brlbs-slider {
    background-color: var(--primary);
}

.BorlabsCookie ._brlbs-checkbox input:checked ~ ._brlbs-checkbox-indicator {
    background-color: var(--primary);
    border-color: var(--primary);
}

.BorlabsCookie ._brlbs-checkbox ._brlbs-checkbox-indicator {
    border-color: var(--primary);
}

.BorlabsCookie ._brlbs-checkbox input:disabled ~ ._brlbs-checkbox-indicator::after {
    border-color: #eee;
}