/*.page_slider img {*/
/*-webkit-filter: blur(1px) brightness(0.8) hue-rotate(-20deg);*/
/*filter: blur(1px) brightness(0.8) hue-rotate(-20deg);*/
/*}*/

a.logo > img {
    -webkit-transition: all 0.2s ease-in-out 0s, webkit-filter 1ms;
    -moz-transition: all 0.2s ease-in-out 0s, webkit-filter 1ms;
    transition: all 0.2s ease-in-out 0s, filter 1ms;
}

.intro_layers:before {
    background: #00000073;
}

/* Keep intro text overlay above slider image on mobile */
@media (max-width: 991px) {
    .page_slider .flexslider .slides {
        min-height: 300px;
    }

    .page_slider .flexslider .slides > li {
        min-height: 300px;
        overflow: hidden;
    }

    .page_slider .flexslider .slides > li > img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        object-position: center;
        margin: 0;
    }

    .page_slider .container,
    .page_slider img + .container {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .page_slider .row,
    .page_slider [class*="col-"] {
        height: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        margin-bottom: 0;
        min-height: 0;
        position: static;
    }

    .page_slider .intro_layers_wrapper {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 5;
        height: 100%;
    }

    .page_slider .intro_layers {
        position: relative;
        display: flex;
        justify-content: flex-end;
        height: 100%;
        padding: 0 16px 88px;
        text-align: center;
        padding-bottom: 50px;
    }

    /* Mobile: keep dark overlay but hide decorative frame */
    .page_slider .intro_layers:before {
        display: block;
        border: 0;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        height: auto;
        background: rgba(0, 0, 0, 0.45);
    }

    .page_slider .intro_featured_word {
        margin-top: 0;
    }

    .page_slider .intro_featured_word.after_featured {
        margin-bottom: 0;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .page_slider .flexslider .slides {
        min-height: 350px;
    }

    .page_slider .flexslider .slides > li {
        min-height: 350px;
    }

    .page_slider .flexslider .slides > li > img {
        height: 350px;
    }
}

.intro_layers h2.intro_featured_word .d-block {
    display: block;
}

a.logo:hover > img {
    opacity: 1;
    -webkit-filter: sepia(100%) hue-rotate(293deg) saturate(90);
    filter: sepia(100%) hue-rotate(293deg) saturate(90);
}

.about-section .main-content p:last-child {
    margin-top: 20px;
}

#services h5,
#services .service-card-heading {
    text-transform: uppercase;
}

/* Restore former h5 sizing on card titles (semantic h3 was 40px globally) */
#services .flip-card-front .service-card-heading {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 17px;
}

@media (max-width: 575px) {
    #services .flip-card-front .service-card-heading {
        font-size: 24px;
    }
}

.flip-card {
    position: relative;
    width: 100%;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card.flipped {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    z-index: 2;
}

.flip-card-back {
    z-index: 1;
}

.flip-card-back {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
    background-color: #1b232a;
    overflow: hidden;
}

.flip-card.flipped .flip-card-back {
    z-index: 3;
}

.flip-card-back .item-content.hero-bg h5,
.flip-card-back .flip-card-back-title {
    margin-top: 0;
}

.flip-card-back .item-content.hero-bg p {
    font-size: 16px;
    line-height: 20px;
}

.flip-card-back .item-content.hero-bg ul {
    text-align: left;
}

.flip-close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 24px;
    height: 24px;
    opacity: 0.5;
    cursor: pointer;
}

.flip-close:hover {
    opacity: 1;
}

.flip-close:before, .flip-close:after {
    position: absolute;
    left: 11px;
    content: ' ';
    height: 24px;
    width: 2px;
    background-color: #ffffff;
}

.flip-close:before {
    transform: rotate(45deg);
}

.flip-close:after {
    transform: rotate(-45deg);
}

.page_copyright {
    background: #f9a34f;
}

span.ws {
    white-space: nowrap;
}

.project-logo-mobile {
    display: none;
}

#project.ds{
    background-color: #c4b7af;
    color: #000000;
}
#project h4{
    color: #000000;

}

.flip-card-back .flip-card-back-title {
    font-size: inherit;
    font-weight: 700;
    text-transform: uppercase;
    /* Paragraph default in .ds is #999; former h5 on back was white via .ds h5 */
    color: #fff;
    line-height: 1.2;
}

@media (min-width: 768px) and (max-width: 1299px) {
    .flip-card .item-content.hero-bg h5,
    .flip-card .flip-card-back-title {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .flip-card .item-content.hero-bg h5,
    .flip-card .flip-card-back-title {
        font-size: 24px;
    }

    .project-logo-mobile {
        display: block;
    }

    .project-logo-desktop {
        display: none;
    }
}

.fa-pl:before {
    content: "\0050\004C";
}

.fa-en:before {
    content: "\0045\004E";
}

.fa-de:before {
    content: "\0044\0045";
}

.top-includes .social-icons a[class*="fa-"] {
    font-weight: 700;
}

a[class*="fa-"].fa-pl:hover, a[class*="fa-"].fa-en:hover, a[class*="fa-"].fa-de:hover {
    color: #f9a34f;
}

.body-overlay {
    display: none;
    position: fixed;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 991px) {
    .d-mobile-absolute {
        opacity: 0;
        z-index: 10;
        position: absolute;
        display: block !important;
        top: 10px;
        left: -150px;
        transition: all 0.2s ease 0s;
    }

    header.mobile-active .d-mobile-absolute {
        left: 20px;
        opacity: 1;
    }

    .flex-control-paging li a {
        width: 10px;
        height: 10px;
    }
}

/* Accessibility */
.skip-to-content:focus {
    clip: auto;
    clip-path: none;
    height: auto;
    margin: 12px;
    overflow: visible;
    position: fixed;
    left: 12px;
    top: 12px;
    width: auto;
    z-index: 10000;
    padding: 12px 16px;
    background-color: #1b232a;
    color: #fff;
    border: 2px solid #f9a34f;
    text-decoration: none;
}

.subpage-first {
    padding-top: 100px;
}

.careers h1,
#project h1 {
    margin-bottom: 23px;
}

.careers h2.position {
    margin: 44px 0 23px;
}

@media (max-width: 991px) {
    .careers h1,
    #project h1 {
        font-size: 40px;
    }
}

@media (max-width: 575px) {
    .careers h3 {
        font-size: 20px;
    }
}

/* .has-placeholder is on .form-group, not on the form element */
.contact-form .has-placeholder label {
    display: block !important;
}

.contact-form .has-placeholder label + .form-control {
    padding-top: 14px;
}

/* Section heading was h4 for WCAG hierarchy; keep former h4 sizing */
.contact.layout-2 h2.contact-title {
    font-size: 30px;
    font-weight: 200;
}

@media (max-width: 767px) {
    /* beats main_new.css .contact-title { font-size: 40px } in this breakpoint */
    .contact.layout-2 h2.contact-title {
        font-size: 30px;
    }
}

@media (max-width: 575px) {
    .contact.layout-2 h2.contact-title {
        font-size: 20px;
        line-height: 35px;
    }
}

.contact-form-errors {
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 2px solid #f9a34f;
    background-color: rgba(249, 163, 79, 0.15);
}

.form-required-legend {
    font-size: 14px;
    margin-bottom: 12px;
}

.field-error {
    display: block;
    font-size: 13px;
    margin-top: 6px;
    color: #ffb380;
}

/* Improve contrast only in contact section */
#contacts .required,
#contacts .color-danger {
    color: #ffffff;
}

#contacts a:not(.btn),
.page_copyright .cookieinfo a,
.cookieinfo a {
    text-decoration: underline;
}

#contacts a:not(.btn):focus-visible,
.cookieinfo a:focus-visible {
    outline: 2px solid #f9a34f;
    outline-offset: 2px;
}

#canvas:not(.boxed) .header_absolute .page_header.affix-top {
    background-color: #222c35;
}

.ds.ms.contact .btn-maincolor {
    background-color: #f9a34f;
    color: #1a1a1a;
}

.ds.ms.contact .btn-maincolor:hover {
    background-color: #e8943d;
    color: #111;
}

#contact_form_submit {
    width: 100%;
}

#recaptcha-error {
    display: none;
    visibility: visible;
}

/*
 * Slider: flexslider matches slide images (max-width 1920px centered) so controls are not
 * positioned against the full viewport. Play/pause: bottom-right inside that box.
 */
.page_slider .flexslider {
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.page_slider .flex-control-paging li a {
    width: 10px;
    height: 10px;
    box-sizing: border-box;
}

.page_slider .flex-pauseplay {
    position: absolute;
    left: auto;
    top: auto;
    bottom: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    z-index: 25;
}

@media (max-width: 575px) {
    .page_slider .flex-pauseplay {
        bottom: 12px;
        right: 12px;
    }
}

.page_slider .flex-pauseplay a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    left: auto;
    bottom: auto;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
    opacity: 0.95;
}

.page_slider .flex-pauseplay a:hover {
    opacity: 1;
}

.page_slider .flex-pauseplay a:before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    font-family: "FontAwesome";
    font-size: 14px;
    line-height: 1;
    color: #fff;
}

/* FA4: pause while slideshow runs, play when paused */
.page_slider .flex-pauseplay a.flex-pause:before {
    content: "\f04c";
}

.page_slider .flex-pauseplay a.flex-play:before {
    content: "\f04b";
}

.intro_layers h2.intro_featured_word > .intro_featured_word.after_featured {
    font-size: inherit;
}

