/* Allgemeine Einstellungen */

:root {
    --primary: #1F3E85;
    --body: #444;
    --black: #000;
    --white: #fff;
    --grey: #666;
    --lightgrey: #999;
    --light: #aaa;
    --darkgrey: #F9F9F9;
    --dark: #292929;
    --background: #F6F6F6;
    --border-radius: 6px;
    --alternative: #ccc;
    --lightgrey_download: #f5f7fa;
}

body {
    font-family: 'Lato';
    font-style: normal;
    font-weight: normal;
    color: var(--body);
    overflow-x: hidden;
}

body, ul li {
    font-size: 16px;
    font-weight: 300;
    line-height: 28px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato';
    color: var(--primary);
    font-weight: bold;
}

h1 {
    color: var(--white);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 0.01px;
    line-height: 55px;
}

.contentseite h1 {
    color: var(--white);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 0.01px;
    line-height: 55px;
    padding-bottom: 20px;
}

@media only screen and ( max-width: 767px ) {
    h1 {
        font-size: 30px;
        line-height: 40px;
        hyphens: none;
        -moz-hyphens: none;
        -ms-hyphens: none;
        -webkit-hyphens: none;
    }

    .contentseite h1 {
        color: var(--white);
        font-size: 30px;
        line-height: 40px;
        hyphens: none;
        -moz-hyphens: none;
        -ms-hyphens: none;
        -webkit-hyphens: none;
    }
}

.produkte h1 {
    color: var(--primary);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 0.01px;
    line-height: 55px
}

h2, h3, h4, h5, h6 {
    -moz-hyphens: auto;
    hyphens: auto;
}

h2 {
    font-size: 32px;
    line-height: 48px;
}

a {
    color: var(--primary);
}

img {
    -moz-border-radius: 6px;
    border-radius: 6px;
}

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

#errorcode {
    font-size: 4.5em;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 50px;
}

@media only screen and ( max-width: 767px ) {
    #errorcode {
        font-size: 2.5em;
        line-height: 1.1em;
    }
}

.not-found-title {
    color: var(--body);
    font-size: 2em;
    line-height: 1.2em;
}

.not_found .entry {
    margin-bottom: 50px;
}

/* Allgemeines Layouts */

.et_pb_button {
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    line-height: 33px;
    padding: 16px 38px;
}

.et_pb_button:hover, .et_pb_module .et_pb_button:hover {
    padding: 16px 38px;
}

.et_pb_button:hover {
    color: var(--primary) !important;
    background: var(--white) !important;
    border: 2px solid var(--white);
}

.et_pb_button:after, .et_pb_button:before {
    display: none !important;
}

.btn_blau {
    color: var(--white);
    background: var(--primary);
    border: 2px solid var(--primary);
}

.btn_blau:hover {
    color: var(--primary);
    background: var(--white) !important;
    border: 2px solid var(--primary) !important;
}

#contact_us .et_pb_button_module_wrapper {
    text-align: center;
}

#contact_us .et_pb_button,
#contact_us .et_pb_button:hover {
    padding: 10px 24px;
}

/* Ende Allgemeines Layout */

/* Single Events – Detailsansicht */

.tribe_events-template-default.single.single-tribe_events #tribe-events-pg-template {
    max-width: unset;
}

/* Ende Single Events */

/* Seiten / Page Teaser */

@media only screen and ( min-width: 981px ) {
    #page_teaser .et_pb_image {
        margin-right: 0;
        text-align: right;
    }

    #page_teaser .et_pb_column:nth-of-type(1) {
        margin-right: 120px;
    }
}

/* Ende Seiten / Page Teaser */

/* Produkte - Einzelansicht */

#show_single_product {
    max-width: unset;
    width: 100%;
}

/* Ende Produkte - Einzelansicht */

/* Modulboxen */

/* Hilfebox */

#kontakt_box {
    padding: 100px 0;
}

#hilfe_box .et_pb_row:nth-child(1), #kontakt_box .et_pb_row:nth-child(1) {
    max-width: 630px;
    margin: 0 auto;
}

#hilfe_box .et_pb_row:nth-child(1) .et_pb_text_inner, #kontakt_box .et_pb_row:nth-child(1) .et_pb_text_inner {
    text-align: center;
}

div.hilfe_infobox, div.kontakt_infobox {
    padding: 20px 0;
}

#hilfe_box .hilfe_infobox .et_pb_column:hover, #kontakt_box .hilfe_infobox .et_pb_column:hover {
    background: var(--primary);
    transition: all 300ms ease 0ms;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
}

#hilfe_box .hilfe_infobox .et_pb_column:hover p, #kontakt_box .hilfe_infobox .et_pb_column:hover p {
    color: var(--white);
    transition: all 300ms ease 0ms;
}

#hilfe_box .hilfe_infobox .et_pb_column, #kontakt_box .hilfe_infobox .et_pb_column {
    border: 2px solid #1E398F;
    border-radius: 6px;
    background-color: var(--white);
    box-shadow: 0 5px 16px 0 rgba(0, 0, 0, 0);
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hilfe_box .hilfe_infobox .et_pb_column.et_pb_column_empty, #kontakt_box .hilfe_infobox .et_pb_column.et_pb_column_empty {
    border: unset;
    border-radius: unset;
    background-color: var(--white);
    box-shadow: unset;
    padding: 0;
    display: none;
}

#hilfe_box .hilfe_infobox .et_pb_text_inner, #kontakt_box .hilfe_infobox .et_pb_text_inner {
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
    color: var(--primary);
}

#hilfe_box #suchfeld {
    padding-top: 70px;
}

#hilfe_box #suchfeld .et_pb_text_inner {
    color: #2A363B;
    font-size: 14px;
    font-weight: bold;
    line-height: 17px;
    text-transform: uppercase;
    text-align: center;
}

#hilfe_box .et_pb_search {
    max-width: 400px;
    margin: 0 auto;
    border: unset;
}

#hilfe_box input.et_pb_s {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.28px;
    line-height: 33px;
    border-bottom: 2px solid var(--primary);
}

#hilfe_box ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: var(--primary);
    opacity: 1; /* Firefox */
}

#hilfe_box :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--primary);
}

#hilfe_box ::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--primary);
}

/* Suchergebnisse */

#search_results article:not(:last-of-type) {
    margin-bottom: 60px;
}

#search_teaser {
    text-align: center;
    max-width: 631px;
    margin: 0 auto;
}

#hilfe_box h2 {
    color: var(--grey);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 17px;
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 30px;
}

#hilfe_box .et_pb_button_wrapper {
    margin-top: 80px;
}

.et_pb_search input.et_pb_searchsubmit {
    background: transparent;
    color: transparent;
    border: none;
    width: 55px;
    z-index: 2;
}

.et_pb_searchform:before,
.widget_search::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    color: var(--primary);
    z-index: 1;
    right: 0;
    font-size: 20px;
    padding: 8px 20px;
}

/* Lightbox */

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.4;
}

.mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close {
    color: var(--primary);
    opacity: 1;
}

.mfp-title {
    display: none;
}

.et_pb_lightbox_image.technische_zeichnung {
    display: block;
    position: relative;
    height: 100%;
    margin: 40px auto 80px auto;
    text-align: center;

    max-width: 40%;
}

@media only screen and (max-width: 980px) {

    .et_pb_lightbox_image.technische_zeichnung {
        max-width: unset;
    }

}

.et_pb_lightbox_image.technische_zeichnung:after {
    content: "\55";
    position: absolute;
    font-family: 'ETModules';
    font-size: 22px;
    color: var(--white);
    background: var(--primary);
    padding: 8px;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    right: 0;
    top: 0;
}

/* Ende Lightbox */

/* Downloads */

.download_box {
    padding: 21px 30px 25px 30px;
    border: 2px solid var(--primary);
    border-radius: 6px;
    transition: all 300ms ease 0ms;
}

.download_box:hover {
    background: var(--primary);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
}

.download_box .et_pb_blurb_content {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.download_box .et_pb_main_blurb_image {
    margin-bottom: 30px;
    line-height: 0;
    max-width: 100%;
    width: 38px;
    display: table-cell;
    line-height: 0;
}

.download_box .et_pb_blurb_container {
    display: table-cell;
    vertical-align: middle;
}

.download_box h3 {
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
    padding-bottom: 2px;
}

.download_box:hover h3 {
    color: var(--white);
    transition: all 300ms ease 0ms;
}

.download_box:hover img {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    transition: all 300ms ease 0ms;
}

.download_box.with-image:hover img {
    -webkit-filter: unset;
    filter: unset;
    transition: all 300ms ease 0ms;
}

.download_box .et_pb_blurb_description {
    font-size: 14px;
}

.download_box:hover .et_pb_blurb_description {
    transition: all 300ms ease 0ms;
    color: var(--white);
}

.mini-image img {
    max-height: 100px;
}

/* Kontakt aufnehmen */

#kontakt_aufnehmen {
    background-color: var(--primary);
    margin: 100px 0;
    padding: 120px 0 100px 0;
}

#kontakt_aufnehmen .et_pb_row:nth-child(1) {
    max-width: 630px;
    margin: 0 auto;
}

#kontakt_aufnehmen .et_pb_text_inner {
    text-align: center;
    font-size: 18px;
    line-height: 32px;
    color: var(--white);
    font-weight: normal;
}

#kontakt_aufnehmen h2 {
    color: var(--white);
}

#kontakt_aufnehmen .et_pb_button_module_wrapper {
    margin-top: 32px;
}

/* Persönlicher Ansprechpartner */

#ansprechpartner {
    padding: 100px 0;
}

#ansprechpartner .et_pb_row {
    max-width: 630px;
    margin: 0 auto;
}

#ansprechpartner .et_pb_text_inner {
    text-align: center;
    font-size: 18px;
    line-height: 32px;
}

#ansprechpartner .et_pb_blurb {
    text-align: center;
    margin-top: 40px;
}

#ansprechpartner .et_pb_main_blurb_image {
    width: 95px;
}

#ansprechpartner .et_pb_blurb_content {
    display: inline-block;
}

#ansprechpartner .et_pb_blurb_container {
    padding-left: 20px;
}

#ansprechpartner .et_pb_blurb a.mail {
    color: rgba(0, 0, 0, 0.85);
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
}

#ansprechpartner .et_pb_blurb_description, #ansprechpartner .et_pb_blurb_description a {
    color: rgba(0, 0, 0, 0.85);
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
}

#ansprechpartner .et_pb_blurb_description p:not(:last-of-type) {
    padding-bottom: 10px;
}

#ansprechpartner .et_pb_blurb_description p:nth-last-of-type(1) {
    padding-bottom: 0;
}


/* Downloads */

#downloads .et_pb_row:nth-child(1) {
    max-width: 630px;
    margin: 0 auto;
}

#downloads .et_pb_row:nth-child(1) .et_pb_text_inner {
    text-align: center;
    font-size: 18px;
    line-height: 32px;
}

#downloads .et_pb_row:nth-child(2) .et_pb_text_inner:before {
    content: url(../img/pdf.svg);
    float: left;
    height: auto;
    width: 38px;
    top: -2px;
    position: relative;
    margin-right: 30px;
}

#downloads .et_pb_row:nth-child(2) .et_pb_text {
    border: 2px solid #1E398F;
    border-radius: 6px;
    background-color: var(--white);
    box-shadow: 0 5px 16px 0 rgba(0, 0, 0, 0);
    padding: 23px 30px;
}

#downloads .et_pb_row:nth-child(2) .et_pb_text .et_pb_text_inner h3 {
    color: var(--primary);
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
    padding-bottom: 5px;
}

#downloads .et_pb_row:nth-child(2) .et_pb_text .et_pb_text_inner p {
    color: #555;
    font-family: Cairo;
    font-size: 14px;
    line-height: 26px;
}

/* Ausführungen */

#ausfuehrungen .et_pb_row:nth-child(1) {
    max-width: 630px;
    margin: 0 auto;
}

#ausfuehrungen .et_pb_row:nth-child(1) .et_pb_text_inner {
    text-align: center;
    font-size: 18px;
    line-height: 32px;
}

/* Beratung */

#beratung {
    background-color: var(--primary);
}

#beratung h2 {
    color: var(--white);
}

#beratung .et_pb_row:nth-child(1) {
    max-width: 630px;
    margin: 0 auto;
}

#beratung .et_pb_row:nth-child(1) .et_pb_text_inner {
    text-align: center;
    font-size: 18px;
    line-height: 32px;
    color: var(--white);
    font-weight: normal;
}

/* Modulboxen */

/* SEO Textbox */

.textbox_long {
    border-radius: 6px;
    background-color: var(--background);
    padding: 100px 0;
    margin: 100px 0;
}

.textbox_long {
    display: none;
}

.textbox_long h2, .textbox_long h3, .textbox_long h4 {
    color: var(--body);
    font-size: 14px;
    font-weight: bold;
    line-height: 28px;
    margin-top: 20px;
    margin-bottom: 0;
}

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

.textbox_long p {
    color: var(--body);
    font-size: 14px;
    font-weight: 300;
    line-height: 28px;
}

/* Kompetenzen */

#kompetenzen {
    padding: 100px 0;
}

#kompetenzen .et_pb_text {
    text-align: center;
    max-width: 631px;
    margin: 0 auto;
}

#kompetenzen .et_pb_row:not(:first-of-type) .et_pb_column:not(.et_pb_column_empty) {
    background: var(--background);
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#kompetenzen .et_pb_row:not(:first-of-type) .blaue_box {
    background: var(--primary);
    color: var(--white);
}

#kompetenzen .et_pb_main_blurb_image {
    margin-bottom: 0;
}

#kompetenzen img {
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    height: 100px;
    object-fit: contain;
    width: 100%;
}

#kompetenzen .et_pb_blurb_container {
    padding: 30px 20px;
}

#kompetenzen h3 {
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
    margin-bottom: 20px;
}

#kompetenzen .blaue_box h3 {
    color: var(--white);
}

#kompetenzen .et_pb_blurb_description a {
    font-size: 16px;
    font-weight: bold;
    line-height: 19px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--primary);
}

#kompetenzen .blaue_box .et_pb_blurb_description a {
    color: var(--white);
    border-bottom: 2px solid var(--white);
}

#kompetenzen .et_pb_row:not(:first-of-type) .et_pb_column:not(.et_pb_column_empty):hover {
    transition: .5s;
    background: var(--primary);
    color: var(--white);
}

#kompetenzen .et_pb_row:not(:first-of-type) .et_pb_column .blaue_box:hover {
    transition: .5s;
    background: var(--background);
    color: var(--body);
}

#kompetenzen .et_pb_blurb:hover h3, #kompetenzen .et_pb_blurb:hover .et_pb_blurb_description a {
    color: var(--white);
    transition: .5s;
}

#kompetenzen .et_pb_blurb.blaue_box:hover h3, #kompetenzen .et_pb_blurb.blaue_box:hover .et_pb_blurb_description a {
    color: var(--primary);
    transition: .5s;
}

#kompetenzen .et_pb_blurb:hover .et_pb_blurb_description a {
    border-bottom: 2px solid var(--white);
    transition: .5s;
}

#kompetenzen .et_pb_blurb.blaue_box:hover .et_pb_blurb_description a {
    border-bottom: 2px solid var(--primary);
    transition: .5s;
}

#kompetenzen .et_pb_module.et_pb_blurb,
#kompetenzen .et_pb_module.et_pb_blurb .et_pb_blurb_content {
    height: 100%;
}

#kompetenzen .et_pb_blurb_description a {
    position: absolute;
    bottom: 0;
}

@media (min-width: 981px) {
    #kompetenzen .et_pb_row:not(:nth-of-type(1)) .et_pb_column {
        padding-bottom: 30px;
    }

}

@media (max-width: 980px) {
    #kompetenzen .et_pb_column {
        padding-bottom: 50px;
    }

}

/* Leistungs - Unterseiten */

#weitere_bilder .et_pb_row:first-of-type .et_pb_text {
    text-align: center;
    max-width: 631px;
    margin: 0 auto;
}

/* Anfahrt / Google Maps */

#anfahrt {
    padding: 0;
    text-align: center;
}

#anfahrt .et_pb_row {
    width: 100%;
    max-width: unset;
    padding: 0;
}

/* Terminplan */

#terminplan {
    padding: 100px 0;
}

#terminplan .et_pb_text {
    text-align: center;
    max-width: 631px;
    margin: 0 auto;
}

#event_boxen {
    text-align: center;
}

#event_boxen div.et_pb_code_inner {
    display: -webkit-flex;
    display: flex;
}

#event_boxen .list-date {
    display: none;
}

#event_boxen div.type-tribe_events {
    display: inline-block;
    width: 31%;
    margin: 0 1%;
    border: 2px solid var(--primary);
    -moz-border-radius: 6px;
    border-radius: 6px;
    padding: 50px 35px 45px 35px;
    overflow: hidden;
}

#event_boxen .tribe-mini-calendar-event {
    border-bottom: unset;
    margin-bottom: 0;
    overflow: unset;
    padding-bottom: unset;
    width: 100%;
}

#event_boxen .tribe-mini-calendar-event .list-info {
    font-size: unset;
    line-height: unset;
}

#event_boxen .tribe-mini-calendar-event .list-info {
    float: unset;
    margin: unset;
    width: unset;
    display: grid;
}

#event_boxen .tribe-events-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 48px;
    -webkit-order: 2;
    order: 2;
    width: 100%;
}

#event_boxen div.tribe-events-duration {
    font-size: 14px;
    font-weight: bold;
    line-height: 17px;
    -webkit-order: 1;
    order: 1;
    width: 100%;
    margin-bottom: 25px;
}

#event_boxen div.tribe-events-location {
    -webkit-order: 3;
    order: 3;
    width: 100%;
}

#event_boxen .tribe-events-venue {
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
}

#event_boxen .tribe-events-widget-link {
    display: none;
}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-] > a, .tribe-common .tribe-common-c-btn, .tribe-common a.tribe-common-c-btn {
    background-color: var(--primary);
}

.tribe-events .datepicker .day.active, .tribe-events .datepicker .day.active.focused, .tribe-events .datepicker .day.active:focus, .tribe-events .datepicker .day.active:hover, .tribe-events .datepicker .month.active, .tribe-events .datepicker .month.active.focused, .tribe-events .datepicker .month.active:focus, .tribe-events .datepicker .month.active:hover, .tribe-events .datepicker .year.active, .tribe-events .datepicker .year.active.focused, .tribe-events .datepicker .year.active:focus, .tribe-events .datepicker .year.active:hover {
    background: var(--primary);
}

.tribe-common .tribe-common-anchor-alt {
    border-bottom: 2px solid var(--primary);
}

.tribe-common .tribe-common-anchor-alt:active, .tribe-common .tribe-common-anchor-alt:focus, .tribe-common .tribe-common-anchor-alt:hover {
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date, .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link, .tribe-events-pro .tribe-events-pro-week-grid__header-column--current .tribe-events-pro-week-grid__header-column-daynum, .tribe-events-pro .tribe-events-pro-week-grid__header-column--current .tribe-events-pro-week-grid__header-column-daynum-link, .tribe-events-pro .tribe-events-pro-venue__meta-address-directions-link, .tribe-events-pro .tribe-events-pro-venue__meta-website-link {
    color: var(--primary);
}

.tribe-events-pro .tribe-events-pro-map__event-card-wrapper--active .tribe-events-pro-map__event-card-button {
    border: 1px solid var(--primary);
}

.tribe-common .tribe-common-cta--thin-alt:active, .tribe-common .tribe-common-cta--thin-alt:focus, .tribe-common .tribe-common-cta--thin-alt:hover {
    border-bottom: 1px solid var(--primary);
    color: var(--primary);
}

.tribe-common .tribe-common-cta--thin-alt {
    border-bottom: 1px solid var(--primary);
}

/* Sidebar Removal */

#main-content .container:before {
    background: none;
}

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

/* Ende Sidebar Removal */

/* Scrollicon */

.et_pb_scroll_top.et-pb-icon {
    background: var(--primary);
    color: var(--white);
}

/* SLIDER KUNDENSERVICE-KONTAKT */

#ansprechpartner .et_pb_main_blurb_image {
    width: auto !important;
}

#ansprechpartner img {
    margin: 0 auto !important;
    height: 100%;
    width: auto;
    object-fit: cover;
}

#ansprechpartner .et_pb_image_wrap {
    margin: auto;
    width: 95px;
    height: 95px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

/* ENDE SLIDER KUNDENSERVICE-KONTAKT */

/* STELLENANGEBOTE UNTERSEITE */


#sub-page_header .et_pb_row_1 {
    margin: 0 auto;
    max-width: 1080px;
    width: 80%;
    padding: 20px 0;
    font-size: 14px;
    line-height: 26px;
    text-transform: uppercase;
}

#sub-page_header .et_pb_row_1 a {
    color: var(--lightgrey);
}

#stellenausschreibung {
    padding: 80px 0;
}

#stellenausschreibung .et_pb_row {
    padding: 0;
}

#stellenausschreibung h2 {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 0.01px;
    line-height: 55px;
    margin-bottom: 20px;
}

#stellenausschreibung h2 span.job-overline {
    font-size: 18px;
    color: var(--body);
    display: inline-flex;
    line-height: 2;
}


#stellenausschreibung h3 {
    color: var(--body);
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
    margin-top: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ENDE STELLENANGEBOTE UNTERSEITE */

#kontakt_box .hilfe_infobox .et_pb_column:hover .et_pb_text_inner {
    color: white !important;
}

#page_header_big.kompetenzen .et_pb_row {
    padding: 100px !important;
}

@media (max-width: 767px) {
    #page_header_big.kompetenzen .et_pb_row {
        padding: 100px 0 !important;
    }
}

#breadcrumbs {
    margin: 0 auto;
    padding: 20px 0;
    color: var(--lightgrey);
    font-size: 14px;
    line-height: 26px;
    text-transform: uppercase;
}

#breadcrumbs .et_pb_row {
    padding: 0;
}

#breadcrumbs a {
    color: var(--lightgrey);
}

/* TEMP */

.display-none,
.display-none > * {
    display: none;
}

#galerie_kundenprojekte  .et_pb_gallery_item {
    width: calc((100% - 60px) / 4);
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;

}

#galerie_kundenprojekte .et_pb_gallery_item:nth-child(4n) {
    margin-right: 0;
}

#galerie_kundenprojekte .et_pb_gallery_item img {
    height: 100%;
}

@media only screen and (max-width: 980px) {
    #galerie_kundenprojekte  .et_pb_gallery_item {
        width: calc((100% - 40px) / 2);
    }

    #galerie_kundenprojekte .et_pb_gallery_item:nth-child(2n) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 767px) {

    #galerie_kundenprojekte .et_pb_gallery_item {
        width:100%;
        max-width: 400px;
        margin: 0 auto 40px auto !important;
        float: unset;
    }

    #galerie_kundenprojekte .et_pb_gallery_item:last-child {
        margin-bottom: 0;
    }
}

#galerie_kundenprojekte .et_pb_gallery_title {
    display: none;
    visibility: hidden;
}

#galerie_kundenprojekte .et_overlay {
    background-color: unset;
    border-color: unset;
    z-index: 99;
    opacity: 1;
    width: 0;
    height: 0;
    right: 0;
    top: 0;
    border: 0;
    border-radius: 0;
    left: unset;
}

#galerie_kundenprojekte .et_overlay:before {
    position: absolute;
    top: 0;
    left: unset;
    background: var(--primary);
    font-size: 22px;
    -webkit-transition: all .4s;
    transition: all .4s;
    padding: 8px;
    border-radius: 5px;
    margin: 0;
    right: 0;
    border: 1px solid transparent;
}

/* Unternehmen */

.page-id-306 #mehr_erfahren {
    padding: 160px 0 100px 0;
}

.page-id-306 #mehr_erfahren .et_pb_row {
    padding: 0;
}

.page-id-306 #downloads {
    padding: 100px 0 75px 0;
}

#verbundene_unternehmen {
    padding: 50px 0 75px 0;
}

#partner {
    padding: 75px 0 50px 0;
}

#verbundene_unternehmen .intro,
#partner .intro {
    padding: 0 0 60px 0;
}

#verbundene_unternehmen .intro .et_pb_text_inner,
#partner .intro .et_pb_text_inner {
    text-align: center;
}

#verbundene_unternehmen .content,
#partner .content {
    padding: 0;
}

#verbundene_unternehmen .content .et_pb_blurb,
#partner .content .et_pb_blurb {
    width: calc((100% - 60px) / 3);
    float: left;
    margin-bottom: 0;
}

#verbundene_unternehmen .content .et_pb_blurb:not(:last-child),
#partner .content .et_pb_blurb:not(:last-child) {
    margin-right: 30px;
}

#verbundene_unternehmen .content .et_pb_main_blurb_image {
    margin-bottom: 40px;
}

#verbundene_unternehmen .content .et_pb_image_wrap img {
    height: 220px;
    border-radius: 0;
    object-fit: cover;
}

#verbundene_unternehmen .content .et_pb_blurb_description,
#partner .content .et_pb_blurb_description {
    text-align: center;
}

#verbundene_unternehmen .content a:not(:last-child),
#partner .content a:not(:last-child) {
    display: inline-block;
    margin-bottom: 20px;
}

#verbundene_unternehmen .content a.website_link,
#partner .content a.website_link {
    padding-bottom: 5px;
    border-bottom: 2px solid var(--primary);
    font-weight: bold;
    transition: 0.3s ease all;
}

#verbundene_unternehmen .content a.website_link:hover,
#partner .content a.website_link:hover {
    opacity: 0.7;
    transition: 0.3s ease all;
}

@media only screen and (max-width: 980px) {


    #verbundene_unternehmen .content .et_pb_blurb,
    #partner .content .et_pb_blurb {
        width: 100%;
        float: unset;
    }

    #verbundene_unternehmen .content .et_pb_blurb:not(:last-child),
    #partner .content .et_pb_blurb:not(:last-child) {
        margin-bottom: 70px;
    }


}

/*================================================
    Events
================================================*/

@media only screen and ( min-width: 768px ) {
    #event_wrapper .et_pb_code_inner {
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }

    #event_wrapper article {
        width: calc((100% / 3) - (80px / 3));
        margin-right: 0;
    }

    /*
    #event_wrapper article:nth-child(odd) {
        margin-right: 40px;
    }
    */

    #event_wrapper article:not(:last-child) {
        margin-right: 40px;
    }
}

@media only screen and ( max-width: 767px ) {
    #event_wrapper article:not(:last-of-type) {
        margin-bottom: 40px;
    }
}

#event_wrapper article {
    padding: 40px 36px;
    text-align: center;
    border: 2px solid var(--primary);
    border-radius: 6px;
}

#event_wrapper article p.date {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 17px;
    padding-bottom: 25px;
}

#event_wrapper article h3 {
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 48px;
    padding-bottom: 14px;
}

#event_wrapper article p.place {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 22px;
    color: var(--primary);
}

#event_wrapper article a.et_pb_button {
    margin-top: 34px;
}

#tribe-events-pg-template {
    padding: 0;
 }

/*================================================
 Messen - Events
================================================*/

.tribe-events .tribe-events-calendar-list__event-featured-image,
.tribe-events-single .tribe_events .tribe-events-event-image img {
    width: 200px;
    height: auto;
}

/*================================================
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: var(--white);
}

#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: var(--white);
}

.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;
}