/** overwrites.css */


.hover-image-container {
    width: 400px !important;
}

.hover-image-container * {
    width: 400px !important;
}

/* Fix für die fehlende Hover-Farbe des "Ersatzteilservice kontaktierten" - Buttons*/
div.text:has(#tablepress-1_wrapper) .btn:hover {
    color: white !important;
}


.ad-aircraft-preview-img {
    width: 300px;
    min-width: 300px;
    padding-right: 1rem;
}

.ad-aircraft-list-row {
    display: flex;
    flex-direction: row;
    padding-top: 0.5rem;
}

.ad-aircraft-list-row div#content {
    width: 100%;
}

.ad-zustand-tag {
    position: absolute;
    left: 0.5%;
    top: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.5rem;
    border: 1px solid rgb(42, 144, 184);
    padding: 5px 10px;
    font-size: inherit;
    border-radius: 25px;
    color: white;
    font-size: 18px;
    background: rgb(63, 168, 209);

}

@media only screen and (max-width:900px) {
    .ad-aircraft-preview-img {
        width: 230px;
        min-width: 230px;
    }

    .ad-zustand-tag {
        top: 80%;
    }
}

@media only screen and (max-width:767px) {
    .ad-zustand-tag {
        top: 75%;
    }

    .ad-aircraft-list-row {
        padding-top: 0;
    }

    .ad-aircraft-list-row div#content {
        padding-left: 1rem;
    }
}

a.pre-owned__item {
    width: 100%;
}


@media only screen and (max-width:750px) {
    .ad-aircraft-list-row #content h4 {
        font-size: 21px !important;
        padding-left: 12px !important;

    }

    .ad-aircraft-list-row #content {
        padding-left: 0px !important;
        margin-top: auto;
        margin-bottom: auto;
    }
}

.block-list__item:last-child {
    border-bottom: 0 !important;
}


/**
*
* HEADER & FOOTER
* 	INFO: MENÜ ANPASSUNGEN - Zweites Sub-Menü Level
* 	  Die IDs der li-Elemente (bspw. #item-1-1) setzen sich aus dem Menü-Block-Index und dem Menü-Item-Index zusammen:
*  	  #item-1-1 => 2tes Item im 2ten Menü-Block (da der Index bei 0 startet, logischerweise.)
*
* 	  Wenn mehrere Sub-Menü Items benötigt:
* 		margin-bottom: 0; bei allen außer dem letzten Sub-Menü-Item;
*/

/* Margin von "Business Aviation" entfernen */
.header-menu.view-menu li#item-1-1,
.footer-menu #item-1-1 {
    margin-bottom: 0;
}

.header-menu.view-menu li#item-1-2 a,
.footer-menu #item-1-2 a {
    margin-left: 0.25rem;
    font-size: 12px;
}

/* SUB-ITEM ARROWS */
.header-menu.view-menu li#item-1-2 a::before,
.footer-menu #item-1-2 a::before {
    content: '\2794';
    opacity: 0.9;
    margin-right: 0.25rem;
}

.gallery-block__slider .swiper-wrapper {
    margin-bottom: 1rem !important;
}


/*###############################################################################*/
/*#### AD SLIDEOUT - see function.php
/*###############################################################################*/

.ad-slideout {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.ad-slideout .ad-item {
    display: flex;
    background-color: rgb(236, 233, 233);
    transform: translateX(calc(100% - 40px));
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.ad-slideout .ad-item a:hover {
    color: rgb(38, 92, 119);
}

.ad-slideout .ad-item.active {
    transform: translateX(0);
}

.ad-slideout .ad-item+.ad-item {
    margin-top: 0.5rem;
}

.ad-slideout .ad-item .icon {
    font-family: 'Material Symbols';
    padding: 8px;
    width: 40px;
    color: white;
    text-align: center;
    background-color: #002340;
}

.ad-slideout .ad-item .icon:before {
    display: inline-block;
    vertical-align: sub;
}

.ad-slideout .ad-item a {
    padding: 8px;
    align-self: center;
    color: var(--awb-text-color);
    /*#8d8d8d*/
}


/*###############################################################################*/
/*#### Anpassung: Karriere-Seiten-Elemente
/*###############################################################################*/
.page .benefits,
.page .last-news,
.page .career-contact,
.page #your-workplace {
    padding: 90px 0 90px 0 !important;
}

/* Benefits: Fix Icon Background */
.page .benefits .item .icon img {
    background: transparent !important;
}


/*###############################################################################*/
/*#### Karriere Kacheln
/*###############################################################################*/

.ad-career-tiles {
    padding: 60px 0;
}

@media only screen and (max-width:900px) {
    .ad-career-tiles {
        display: none;
    }
}


.ad-career-tiles .wrapper {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ad-career-tiles .wrapper .tile {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    background: rgb(0, 35, 64);
    color: white;
    font-size: 20px;
    padding: 20px;
    min-width: 240px;

    font-family: realistwide, sans-serif;
    font-weight: 600;
    line-height: 1.1;
}

.ad-career-tiles .wrapper .tile:hover {
    background: rgb(0, 50, 85);
}

.ad-career-tiles .wrapper .tile .icon {
    font-family: 'Material Symbols';
    font-size: 38px;
    color: white;
    text-align: center;
    margin-bottom: .5rem;
}


/*###############################################################################*/
/*#### Personio Stellenanzeigen
/*###############################################################################*/

.ad-personio {
    background-color: #f9f9f9;
    padding: 70px 0;
}

@media only screen and (max-width:900px) {
    .ad-personio {
        padding: 100px 0;
    }
}

.ad-personio .wrapper .flex-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ad-personio .wrapper h2 {
    margin-bottom: 50px;
}

.ad-personio .career-item {
    border: 1px solid #ccc;
    padding: 15px 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}


.ad-personio-show-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

#ad-personio-show {
    border-radius: 100%;
    padding: 10px 20px;
    height: 50px;
    width: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

#ad-personio-show:hover svg path {
    stroke: white !important;
}

#ad-personio-show.more svg {
    transform: rotate(90deg);
}

#ad-personio-show.less svg {
    transform: rotate(-90deg);
}

/*###############################################################################*/
/*#### Personio Stellenanzeigen - Filter 
/*###############################################################################*/

.ad-career-filters {
    display: flex;
    padding: 10px 0;
    gap: 1.5rem;
}

.ad-career-filters .ad-filter {
    text-transform: uppercase;
    border-bottom: 1px solid #002340;
    padding: 10px 0;
    margin-bottom: 30px;
    min-width: 220px;
    height: auto;
    max-height: 0;
    min-height: 50px;
    overflow: hidden;
    transition: max-height .5s ease-in-out, opacity .3s ease-in-out, border-bottom .3s ease-in-out;
}

.ad-career-filters .ad-filter.active {
    max-height: 600px;
    border-bottom: 1px solid #002340;
}

.ad-career-filters .ad-filter .ad-filter__title {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: .8rem;
    line-height: 1.25;
    color: #002340;
    padding: 10px 0;
    border-top: 1px solid #002340;
    border-bottom: 1px solid #002340;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 150ms ease-in-out;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.ad-career-filters .ad-filter .ad-filter__title .icon {
    margin-right: 0.2rem;
    transform: rotate(90deg);
}

/** ROTATE 90 DEG */
.ad-career-filters .ad-filter.active .ad-filter__title .icon {
    transform: rotate(270deg);
    transition: transform 0.3s ease-in-out;
    color: #3fa8d1;
    stroke: #3fa8d1;
    fill: #3fa8d1;
}

.ad-career-filters .ad-filter:hover,
.ad-career-filters .ad-filter.active,
.ad-career-filters .ad-filter:hover .ad-filter__title,
.ad-career-filters .ad-filter.active .ad-filter__title {
    border-color: #3fa8d1 !important;
}

.ad-career-filters .ad-filter:hover .ad-filter__title,
.ad-career-filters .ad-filter.active .ad-filter__title {
    color: #3fa8d1;
}

.ad-career-filters .ad-filter:hover .ad-filter__title .icon svg path,
.ad-career-filters .ad-filter.active .ad-filter__title .icon svg path {
    stroke: #3fa8d1 !important;
}

.ad-filter__item label {
    cursor: pointer;
    text-transform: none;
    font-size: 16px;
    font-weight: 600;
}

.ad-filter__item.active label,
.ad-filter__item label:hover {
    color: #3fa8d1;
}

/*###############################################################################*/
/*#### Karriere - Heroslider
/*###############################################################################*/




.ad-hero-slider {
    margin-bottom: 1rem;

    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
}

.ad-hero-slider .wrapper {
    position: relative;
    /* background-color: #3fa8d1; */
    background-color: #00234010;
    margin: 0 50px;
    padding: 0;
    /* max-width: unset !important; */
    width: 100%;
}

.ad-hero-slider .wrapper .slide .text-content {
    position: absolute;
    bottom: 25%;
    width: 100%;
    text-align: left;
    /* background: rgba(255, 0, 0, 0.25); */
    padding: 0 135px;
}

.ad-hero-slider .wrapper .slide .text-content .pre-title {
    color: #002340;
    font-size: 14px;
    padding: 8px 12px;
    top: 0;
    text-transform: uppercase;
    font-weight: bolder;
}

.ad-hero-slider .wrapper .slide .text-content .title {
    color: #002340;
    font-size: 3rem;
    padding: 8px 12px;
    width: 100%;
}

.ad-hero-slider .wrapper .slide .text-content .text {
    color: #002340;
    font-size: 15px;
    padding: 8px 12px;
    width: 100%;
}


.ad-hero-slider .wrapper .slides-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    /* height: 100%; */
    position: relative;
    margin: auto;
}

@media only screen and (min-width:1250px) {
    .ad-hero-slider .wrapper .slides-container {
        min-height: 500px;
        height: 500px;
        max-height: 500px;
    }
}

@media only screen and (max-width:1000px) {
    .ad-hero-slider .wrapper {
        margin: 0;
        padding: 0;
        max-width: unset !important;
        width: 100%;
    }
}

@media only screen and (max-width:800px) {
    .ad-hero-slider .wrapper .slide .text-content {
        padding: 0 70px;

    }

    .ad-hero-slider .wrapper .slide .text-content .pre-title {
        font-size: 15px;
    }

    .ad-hero-slider .wrapper .slide .text-content .title {
        font-size: 2rem;
    }

    .ad-hero-slider .wrapper .slide .text-content .text {
        font-size: 12px;
    }

    .ad-hero-slider .wrapper .slide .text-content .title:has(#flugzeugmuster) {
        font-size: 1.75rem !important;
    }
}



.ad-hero-slider .wrapper .slide {
    display: none;
    width: 100%;
}

.ad-hero-slider .wrapper .slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/7;
    object-fit: cover;
}

.ad-hero-slider .wrapper .prev,
.ad-hero-slider .wrapper .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.ad-hero-slider .wrapper .prev {
    left: 1.5rem;
    border-radius: 3px 0 0 3px;
}

.ad-hero-slider .wrapper .next {
    right: 1.5rem;
    border-radius: 3px 0 0 3px;
}

.ad-hero-slider .wrapper .prev:hover,
.ad-hero-slider .wrapper .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.ad-hero-slider .wrapper .slider-controls {
    position: absolute;
    bottom: 1.3rem;
    width: calc(100%);
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
}

.ad-hero-slider .wrapper .slider-controls .slider-line-button {
    cursor: pointer;
    height: 1.5px;
    width: 15px;
    margin: 0 2px;
    background-color: transparent;
    border-top: 1px #002340 solid;
    padding-top: 5px;
    display: inline-block;
    transition: background-color 0.6s ease;
    flex-grow: 1;
}

.ad-hero-slider .wrapper .slider-controls .slider-line-button:hover,
.ad-hero-slider .wrapper .slider-controls .slider-line-button.active {
    border-color: #3fa8d1;
}

/*###############################################################################*/
/*#### Ansprechpartner / Karriere Kontakte
/*###############################################################################*/

@media only screen and (min-width:1000px) {
    .career-contact .inner .block-contact__list .bottom-contact__item {
        max-width: 250px;
    }

    .career-contact .inner .block-contact__list {
        display: flex !important;
        flex-wrap: wrap;
        align-content: center;
    }
}

.career-contact .career-grid-filter .filter,
.career-contact .career-grid-filter .filter .filter__title {
    border-color: white;
}

.career-contact .career-grid-filter .filter__title .icon svg path {
    stroke: white;
}

.career-contact .career-grid-filter .filter .filter__title,
.career-contact .career-grid-filter .filter .filter__item {
    color: white;
}

.career-contact .career-grid-filter .filter.active,
.career-contact .career-grid-filter .filter.active .filter__title {
    border-bottom: 1px solid white !important;
}

@media only screen and (max-width:640px) {
    .career-contact .block-contact__list {
        display: flex !important;
        flex-direction: column !important;
    }

    .career-contact .block-contact__list .bottom-contact__item,
    .career-contact .block-contact__list .bottom-contact__item img {
        width: 100% !important;
    }

    .career-contact .block-contact__list .bottom-contact__item .info-bottom {
        margin-top: 10px !important;
    }
}

/*###############################################################################*/
/*#### Legacy Jobs Slider
/*###############################################################################*/

.wrapper:has(.ad-swiper) {
    position: relative;
    width: 100%;
}

.ad-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 2rem;
}

.ad-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 355px;
        max-width: 535px; */
    width: 33%;

}

.ad-swiper .swiper-slide .item {
    position: relative;
    height: 355px;
    width: 535px;
    max-width: 535px;
}

.ad-swiper .swiper-slide .item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.ad-swiper .overlay {
    background: linear-gradient(rgba(0, 35, 64, 0.65), rgba(0, 35, 64, 0.65));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    /* width: calc(100% - 29px);
        left: 14px; */
}

.ad-swiper .item .info-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    flex-direction: column;
    display: flex;
    justify-content: end;
    padding: 25px;
}

.ad-swiper .item .title {
    font-family: realistwide, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
}

.ad-swiper .item .label {
    display: block;
    color: white;
    font-size: 12px;
    /* text-transform: uppercase; */
    /* letter-spacing: 1.68px; */
    margin-bottom: 5px;
}

.ad-swiper .item .location {
    font-family: realistwide, sans-serif;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.ad-swiper .item .more {
    position: absolute;
    right: 30px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid #3FA8D1;
    border-radius: 50%;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 500ms ease;
}

.ad-swiper .item .more svg {
    transform: rotate(-45deg);
    margin-right: -6px;
    transition: all 500ms ease;
}

.ad-swiper .item:hover {
    color: #3FA8D1;
    position: relative;
    z-index: 2;
}

.ad-swiper .item:hover .overlay {
    background: linear-gradient(rgba(0, 35, 64, 0.65), rgba(0, 35, 64, 1));
}

.ad-swiper .item:hover .more {
    background: #3FA8D1;
}

.ad-swiper .item:hover .more svg path {
    stroke: #fff;

}


.ad-swiper .swiper-pagination {
    bottom: 25% !important;
}

.ad-swiper .swiper-pagination-bullet {
    width: 7% !important;
    height: 1px !important;
}



.ad-swiper .ad-swiper-bottom {
    display: flex;
    width: 100%;
    height: 40px;
    margin: auto;
    margin-top: 25px;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.ad-swiper .ad-swiper-bottom .swiper-button-prev,
.ad-swiper .ad-swiper-bottom .swiper-button-next {
    color: #3FA8D1;
    border: 1px solid #3FA8D1;
    width: 50px !important;
    height: 50px !important;
    /* padding: 10px; */
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.01);
    align-items: center;
    justify-content: center;
    content: unset !important;
    background-image: unset !important;
    position: static;
    z-index: 4;
}

.ad-swiper .ad-swiper-bottom .swiper-button-prev::after,
.ad-swiper .ad-swiper-bottom .swiper-button-next::after {
    content: unset !important;
}

.ad-swiper .ad-swiper-bottom .swiper-button-prev:hover,
.ad-swiper .ad-swiper-bottom .swiper-button-next:hover {
    background-color: rgba(63, 168, 209, 0.2);
    color: white;
}

.ad-swiper .ad-swiper-bottom .swiper-button-prev svg,
.ad-swiper .ad-swiper-bottom .swiper-button-next svg {
    width: 15.795px !important;
    height: 15.795px !important;
}

/*###############################################################################*/
/*#### Fonts & Animationen
/*###############################################################################*/

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/** Maerial Icons Font **/
@font-face {
    font-family: 'Material Symbols';
    font-style: normal;
    src: url(../fonts/material-icons.woff2) format('woff');
}

/* Social Icon - Rund statt Oval */
.social-block a {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
}

.social-block a img {
    max-width: 25px;
    max-height: 25px;
}

/* Benefits: Fix Icon Background */
.benefits .item .icon img {
    background: transparent !important;
}
