/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

main#main {
    margin: 0;
    padding: 0;
    /* hyphens: auto !important; */
}

.hidden{
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    background-color: transparent !important;
    position: absolute !important;
}

body strong {
    font-family: 'Montserrat SemiBold';
}
body{
    word-break: break-word;
}

h1 p {
    font-size: clamp(45px, 10vw, 174px) !important;
}

.fusion-fullwidth:first-of-type {
    transition: background-color 0.5s ease !important;
}

.scroll-header {
    background-color: white !important;
}

.fusion-title-heading h2 {
    font-size: clamp(20px, 10vw, 32px) !important;
}

h2:hover {
    color: black !important;
}

.fusion-button-text {
    letter-spacing: 0;
}

.fusion-title {
    margin-bottom: 0 !important;
}

.fusion-title-heading {
    text-transform: none !important;
}

.header-links .fusion-column-wrapper {
    display: flex;
    align-items: flex-end;
}

.header-links ul {
    display: flex;
}

.header-links a {
    color: white !important;
}

.scroll-header .header-links a {
    color: black !important;
    border-color: black !important;
}


body:not(.home) .header-links a {
    color: black !important;
    border-color: black !important;
}

.header-links a[hreflang="de-DE"] {
    border-right: 1px solid;
    padding-right: 10px;
}

.header-links a[hreflang="en-US"] {
    padding-left: 10px;
}

.current-lang {
    font-weight: bold;
    font-family: 'Montserrat SemiBold';
}

.header-links a:hover {
    color: black !important;
    text-decoration: underline;
}

.header-links a:active {
    font-weight: 700;
}

body:not(.home) #logo-white {
    display: none;
}

body:not(.home) .fusion-sticky-container:not(.fusion-sticky-transition) .fusion-display-sticky-only {
    display: block;
}

#header {
    position: relative;
}

#header .fusion-builder-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#header-image-1 {
    height: 100%;
    align-items: center;
}

#header-image-2 {
    max-height: 1500px;
}

#header-image-2 *, #header-image-2 {
    height: 100% !important;
}

#header-image-2 .fusion-column-wrapper {
    margin: 0;
}

#header-image-2 .fusion-image-element {
    text-align: right;
}

#header-image-2 .fusion-imageframe {
    width: 100%;
}

#header-image-2 img {
    aspect-ratio: auto !important;
    object-fit: cover;
    width: 100% !important;
}


.button-header {
    background-color: #C19A5E !important;
}

.button-header span {
    color: black !important;
}

#header-text {
    hyphens: auto;
}

.post-content.post-content p {
    margin-bottom: 0;
}

.fusion-content-boxes .content-container p {
    font-size: 18px;
}

.layout-box-1 {
    max-width: 1366px;
    margin: auto !important;
    margin-top: 100px !important;
    margin-bottom: 60px !important;
}

.layout-box-1 .content-box-wrapper {
    border: 1px solid #ffffff;
    padding: 35px 35px 0 35px !important;
}

.layout-box-1 .heading {
    margin-bottom: 35px !important;
}

.layout-box-1 .fusion-column {
    height: 100%;
}

.layout-box-1 .content-container {
    margin-bottom: 0 !important;
}

.layout-text-brownbg a {
    color: black;
    text-decoration: underline;
}

.layout-text-brownbg a:hover {
    color: black;
}

.button-stellenangebote {
    background-color: white !important;
}

.button-stellenangebote span {
    color: black !important;
}

.kingspan-listing ul {
    list-style: none;
    margin: 0;
    padding: 0 !important;
}

.kingspan-listing li {
    position: relative;
    padding-left: 20px;
}

.kingspan-listing li::before {
    content: "-";
    position: absolute;
    left: 0;
}

.awb-gallery-wrapper .fusion-grid-column:nth-of-type(1) {
    width: 100px !important;
    display: block;
    float: left;
}

.awb-gallery-wrapper .fusion-grid-column:nth-of-type(2) {
    display: block;
    float: left;
    padding: 0px !important;
    align-items: center;
    padding-top: 20px !important;
    padding-left: 50px !important;
}

.layout-box-2 .content-box-wrapper {
    border: 1px solid #C19A5E;
}

.layout-box-2 .fusion-column {
    margin-bottom: 0 !important;
    margin-top: 25px !important;
}

.layout-box-2 p {
    line-height: 36px;
}

.layout-timeline .heading {
    margin-top: 5px !important;
}

.layout-timeline img {
    position: relative;
    z-index: 10;
    top: -5px;
}

.timeline-button {
    margin: 0 !important;
    min-width: 200px;
}

body .timeline-button:hover{
    background-color: white !important;
    color: black !important;
}

body .timeline-button span:hover,
body .timeline-button:hover span {
    color: black !important;
}

.layout-box-3 .heading h3 {
    font-weight: bold;
}

.content-box-shortcode-timeline-vertical {
    border-color: black !important;
    border-left-width: 2px !important;
}

.layout-4 .fusion-builder-row {
    align-items: stretch !important;
}

.layout-4 .fusion-layout-column {
    position: relative;
}

.layout-4 .fusion-column-wrapper, .layout-4 .fusion-content-boxes, .layout-4 .fusion-column {
    height: 100%;
}

.layout-4 .fusion-column-wrapper {
    margin-right: 0 !important;
}

.layout-4 .fusion-content-boxes {
    margin-bottom: 0;
}

.layout-4 .content-box-wrapper {
    border: 1px solid #ffffff;
    border-radius: 32px;
    height: calc(100% - 40px);
    padding-right: 25px;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.layout-box-4 .image {
    margin-bottom: 20px;
}

.layout-box-4 .content-box-heading {
    text-align: left;
}

.layout-box-4 ul {
    list-style: none;
}

.layout-box-4 li {
    padding-top: 10px;
    font-size: 18px;
}

.layout-box-4 .heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0 !important;
    padding-left: 25px;
    padding-top: 25px;
    font-weight: bold;
}

body .fusion-accordian .panel-title a.active {
    color: black !important;
}

body .fusion-accordian .panel-title a.active .fa-fusion-box {
    background-color: black !important;
}

#stellenangebote ul {
    padding-left: 0;
}

#stellenangebote a, #stellenagebote li {
    padding: 10px 0;
}

#stellenangebote a {
    display: block;
}

#stellenangebote a:hover {
    color: black;
}

#stellenangebote li {
    position: relative;
    border-bottom: 1px solid black;
    list-style: none;
    padding: 4.5px 4.5px 4.5px 34px;
}

#stellenangebote li::before {
    content: "\f105";
    display: inline-grid;
    position: absolute;
    left: 0;
    top: 21px;
    line-height: 1;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    place-items: center;
    --icon-size: var(--awb-icon-size, 16px);
    font-size: var(--icon-size);
    width: calc(var(--icon-size) + 9px);
    height: calc(var(--icon-size) + 9px);
    margin-right: 18px;
    background-color: black;
    color: white;
}

#stellenangebote li:nth-of-type(1) {
    border-top: 1px solid black;
}

.primary-button, .secondary-button {
    border: 1px solid #C19A5E;
    border-radius: 32px;
    padding: 10px 20px;
}

.primary-button:hover, .secondary-button:hover {
    color: black;
}

.primary-button {
    background-color: #C19A5E;
    display: inline-block;
}

/* Stellenausschreibung herunterladen vorrübergehend ausgeblendet */
.secondary-button {
    float: right;
    display: none;
}

.fusion-panel:nth-of-type(1) {
    border-top: 1px solid black !important;
}

.fusion-panel {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.fusion-panel:hover {
    border-color: black !important;
}

.advertisement-production .panel-body ul:nth-of-type(2) {
    margin-bottom: 16px !important;
}

.advertisement-production .panel-body p:nth-of-type(4) {
    margin-bottom: 50px !important;
}

.panel-body ul:last-of-type {
    margin-bottom: 50px !important;
}

.fa-angle-down {
    display: none !important;
}

#bewerben_fur_die_stelle_als {
    padding-left: 24px !important;
}

body .fusion-form-form-wrapper .fusion-form-field .fusion-form-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0) !important;
}

body .fusion-form-form-wrapper .fusion-form-field {
    --awb-form-focus-border-hover-color: rgba(255, 255, 255, 0) !important;
    --form_focus_border_color-5a: rgba(255, 255, 255, 0) !important;
    --awb-hover-color: rgba(255, 255, 255, 0) !important;
}

form .fusion-fullwidth {
    padding: 0;
}

form label {
    font-family: 'Montserrat Regular';
    font-size: 18px !important;
}

form label:hover {
    text-decoration: none !important;
}

form select, input {
    border-radius: 5px !important;
}

form .fusion-form-checkbox label {
    font-size: 13px !important;
    padding-left: 30px !important;
}

form label a:hover {
    color: black;
}

.upload-field input {
    height: 220px !important;
    border: 2px solid #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
}

.icon-kingspandrawer2 {
    color: black !important;
    top: 90px !important;
    font-size: 30px !important;
}

.upload-field input::placeholder {
    color: black !important;
    font-size: 18px;
}

.upload-field input::placeholder {
    position: relative;
    color: transparent;
}

.consent-field input {
    border-radius: 50% !important;
}

.fusion-form-checkbox label::before {
    height: 18px !important;
    width: 18px !important;
    border-radius: 50% !important;
    background-color: white !important;
}

.fusion-form-checkbox label::after {
    width: 5px !important;
    height: 12px !important;
    left: 6px !important;
    background: none !important;
    border-radius: 2px !important;
    transform: translateY(-50%) rotate(30deg) !important;;
    border-bottom: 2px solid black !important;
    border-right: 2px solid black !important;
}

.fusion-form-checkbox label a:hover {
    text-decoration: underline !important;
}

.fusion-form-form-wrapper .fusion-form-field.error input, .fusion-form-form-wrapper .fusion-form-field.error label:not(.fusion-form-rating-icon) a {
    color: #e0284f !important;
}

.fusion-alert {
    color: black !important;
    border: 2px solid #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
}

.fusion-alert, .fusion-alert .fusion-alert-content {
    color: black !important;
}

.submit-button .fusion-button:hover {
    background-color: #004289;
}

.footer-links a {
    color: white;
}

.footer-links p a:hover {
    text-decoration: underline;
    color: white;
}

body .fusion-social-links .fusion-social-networks.color-type-custom .fusion-social-network-icon:hover {
    color: white !important;
}

.text-section p:nth-last-of-type(-n+3) {
    margin-top: 1.5em !important;
}

.stellenanzeigen-link {
    text-decoration: underline;
}

.stellenanzeigen-link p::before {
    content: "‹";
    display: inline-block;
    font-size: 30px;
    padding-right: 7px;
    position: relative;
    top: 2px;
}

.job-posting a:hover {
    color: black;
}

.job-posting p:has(strong), .job-posting p:has(a) {
    margin-top: 60px !important;
}

.job-posting .button-stellenangebote {
    font-family: 'Montserrat SemiBold' !important;
    background-color: #C19A5E !important;
    border-radius: 32px;
    padding: 20px 32px;
}

.google-jobs {
    height: 0;
}

@media (max-width: 1600px) {
    #header-image-1 {
        margin-top: 120px !important;
    }
}

@media (max-width: 1500px) {
    #header-image-1 {
        padding: 60px;
    }
}

@media (max-width: 1024px) {
    .layout-box-1 .fusion-column {
        height: auto;
    }

    .layout-box-1 .content-box-wrapper {
        padding-bottom: 35px !important;
    }

    .layout-4 .fusion-column-wrapper, .layout-4 .fusion-content-boxes, .layout-4 .fusion-column {
        height: 100% !important;
    }

    .awb-gallery-wrapper .fusion-grid-column:nth-of-type(1) {
        display: flex;
        padding: 0 !important;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .awb-gallery-wrapper .fusion-grid-column:nth-of-type(2) {
        padding: 0 !important;
        top: 90% !important;
        text-align: center;
    }

    .timeline-button {
        margin-bottom: 60px !important;
    }
}

@media (max-width: 900px) {
    .layout-box-1 .fusion-column {
        height: 50%;
    }
}

@media (max-width: 800px) {
    .layout-box-1 .content-container {
        padding-bottom: 35px;
    }

    .layout-box-1 .fusion-column {
        width: 50%;
        height: 50%;
    }
}

@media (max-width: 786px) {
    .layout-box-1 .fusion-column {
        height: auto !important;
    }
}

@media (max-width: 640px) {
    #header-image-1 {
        height: auto;
    }

    #header-image-2 *, #header-image-2 {
        height: auto !important;
    }

    .fusion-fullwidth:first-of-type {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .fusion-fullwidth:first-of-type .fusion-layout-column:first-of-type .fusion-column-wrapper {
        padding-left: 35px !important;
    }

    .layout-box-2 .fusion-content-boxes.content-boxes-icon-on-side .heading-with-icon, .fusion-content-boxes.content-boxes-icon-with-title .heading-with-icon {
        display: block !important;
    }

    .layout-box-2 .fusion-content-boxes.content-boxes-icon-with-title .heading-with-icon .image {
        display: block !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .awb-gallery-wrapper {
        margin-bottom: 80px;
    }

    .fusion-gallery {
        position: relative !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .fusion-gallery .fusion-grid-column {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        padding: 10px;
        width: auto !important;
    }

    .fusion-gallery-image img {
        display: block;
        margin: 0 auto;
    }

    .awb-gallery-wrapper .fusion-grid-column:nth-of-type(2) {
        margin-top: 50px;
    }

    .layout-box-1 {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        width: 100%;
        height: 80%;
    }

    .layout-box-1 .fusion-column {
        width: 100% !important;
    }

    body .fusion-fullwidth:first-of-type .fusion-layout-column:first-of-type .fusion-column-wrapper {
        padding-left: 0 !important;
    }
}