/***************************************************************************
 * Custom Styles.
 * CAUTION !!! CAUTION !!! CAUTION !!! CAUTION !!! CAUTION !!! CAUTION !!! 
 ***************************************************************************
 *
 *--------------------------------------------------------------------------
 * [DE] 
 *--------------------------------------------------------------------------
 *
 * Für die Struktur des HTML-Codes gibt es KEIN Rückwärtskompatibilitätsversprechen.
 * Wenn Sie diese Datei nutzen um das Layout ihrer Seite anzupassen geschieht das
 * auf EIGENES RISIKO.
 *
 * Bei jedem Update KÖNNEN sich Css-Klassen, die HTML-Struktur etc ändern.
 * Bei vielen Updates WIRD dies passieren.
 *
 * Diese Änderungen sind zwingend notwendig um die Software aktuell halten zu können.
 * Achten Sie deshalb regelmäßig, insbesondere bei Updates, auf das Aussehen Ihres Shops
 * und passen Sie gegebenenfalls diese CSS-Datei an.
 *
 * Falls Sie nicht mit dieser Einschränkung leben wollen empfehlen wir unsere Individual-Shops.
 *
 *--------------------------------------------------------------------------
 * [EN]
 *--------------------------------------------------------------------------
 * There is no Backward-Compatibility promise for the HTML Code and Structure
 * If you use this file, you do that on your own risk.
 *
 * Each update things can and will change, because CSS-Classes, IDs, Style-Definitions,
 * or the HTML Structure itself changes.
 *
 * This changes are mandatory to keep the software up to date.
 * So watch out all the time and update your custom CSS when something changed.
 *
 * If you cannot live with this BC-Policy, please Upgrade to Individual-Shop
 * to have a BC promise for your HTML.
 */
 
    h2.va-heading {
        color: #1b2d70;
        font-family: "HelveticaNeueLTStd-XBlkCn";
    }
    h2.benefits-text {
        text-align: center;
        font-size: 12px;
        margin-bottom: 30px;
        margin-top: 10px
    }
    .vavideo {
        width: 100%;
    }
    .vawrapper {
        display: flex;
        flex-direction: row;
    }
    .vawrapper > .vacol-50 {
        padding: 25px;
    }
    .vacontainer {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        margin: auto;
    }
    .bg-gray {
        background-color: #f2f2f2;
    }
    .bg-blue {
        background: #00225e;
    }
    .varow {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0 1.5rem;
        justify-content: center;
        width: 100%;
    }
    .w-100 {
        width: 100%;
    }
    .justify-center {
        justify-content: center;
    }
    .image-wrapper {
        /*width: 250px;*/
        max-width: 90%;
    }
    .section {
        padding-bottom: 1.5rem;
    }
    .section:last-of-type {
        padding-bottom: 0;
    }
    .vacol {
        display: flex;
        flex-direction: column;
    }
    .items-center {
        align-items: center;
    }
    .vacol-100 {
        width: 100%;
    }
    .vacol-75 {
        width: 75%;
    }
    .vacol-50 {
        width: 50%;
    }
    .vacol-45 {
        width: 45%;
    }
    .vacol-25 {
        width: 25%;
    }
    .vacol-33 {
        width: 33.3333%;
    }
    .vacol-50.vacol.job-form {
        background-color: #1b2d70;
    }
    .vacol-100.vacol.job-form {
        background-color: #1b2d70;
    }
    .vainput {
        height: 45px;
        margin: 10px 25px;
        border: none;
    }
    .vainput[type=text] {
        padding: 5px 15px;
    }
    .vainput::placeholder {
        color: #646870;
    }
    .uploadlabel {
        color: #c7d52f;
        cursor: pointer;
    }
    .green-submit {
        color: #1b2d70;
        background-color: #c7d52f;
        font-weight: 800;
    }
    .green-submit:hover {
        background-color: #e0ea73;
    }
    .vacol-50.vacol.job-form > .varow > h2 {
        color: #c7d52f;
    }
    .space-between {
        justify-content: space-between;
    }
    .varounded {
    border-radius: 10px;
        max-width: 100%;
    }
    .vahidden {
        display: none;
    }
    .no-padding {
        padding: 0!important;
    }
    .items-center > p {
        padding: 0 15px;
    }
    .job-postings {
        background-color: #c7d52f;
        padding: 15px 25px;
    }
    .job-postings > * > h2 {
        margin-left: 25px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #jobPostings > article {
        width: 100%;
        margin: 0 25px;
        padding: 5px 15px 15px;
        background-color: #fff;
    }
    #jobPostings {
        margin-bottom: 25px;
    }
    #jobPostings > article > * > * > * > h2.news-title, #jobPostings > article > * > * > * > h3.stellenangebot-aponame {
        color: #1b2d70!important;
    }
    #jobPostings > article > * > * > * > h2.news-title {
        font-weight: 700;
        margin-top: 0px;
    }
    #jobPostings > article > * > * > * > h3.stellenangebot-aponame {
        font-weight: 700;
    }
    #jobPostings > article > * > * > * > h3.stellenangebot-art, #jobPostings > article > * > * > * > h3.stellenangebot-ort {
        color: #848484!important;
    }

    a.news-read-more {
        color: #acd023;
        text-decoration: none;
        font-size: 26px;
        font-weight: 700;
    }
    .stellenangebot > .row {
        margin: 0;
    }
    
    .right {
        padding-left: 15px;
    }
    .no-flex {
        display: block!important;
        flex-direction: unset!imporant;
    }
    .float-left {
        float: left;
    }
    .float-right {
        float: right;
    }
    .positionanker::before { 
        display: block;
        content: "";  
        height:220px; 
        margin-top: -220px; 
        visibility: hidden; 
    } 
    
    /*
     * media queries
    */
    /* up to tablet */
    @media screen and (max-width: 767px) {
        .mobil-noshow {
            display: none;
        }    
    
        .vawrapper {
            flex-direction: column;
        }
        .vawrapper > .vacol-50 {
            width: 100%;
        }
        .varow {
            flex-direction: column;
            align-items: center;
            flex-wrap: unset;
        }
        .va-text-left {
            flex-direction: column-reverse;
        }
        .vacol {
            width: 100%!important;
        }
        h2.va-heading, h2.benefits-text, h2.news-title {
        font-size: 20px;
            font-weight: 700;
        }
        h3.stellenangebot-aponame, h3.stellenangebot-ort, h3.stellenangebot-art {
            font-size: 20px;
        }
        a.news-read-more {
            font-size: 18px;
        }
        .image-wrapper {
            width: 200px
        }
        #jobPostings > article {
            margin: 0 10px;
            width: calc(100% - 20px);
        }
        a.btn.green-submit {
            margin-right: 0;
            line-height:25px
        }
        .right {
            padding-left: 0;
        }
    }

    /* phone */
    @media screen and (min-width: 576px) {
        .vacontainer {
            max-width: 490px;
        }
    }
    /* tablet */
    @media screen and (min-width: 768px) {
        .vacontainer {
            max-width: 690px;
        }
        h2.benefits-text {
        font-size: 14px;
        }
        .vacol-50.vacol.job-form > .varow > h2 {
            margin-left: 25px;
        }
    }
    /* laptop */
    @media screen and (min-width: 992px) {
        .vacontainer {
            max-width: 900px;
        }
        h2.benefits-text {
        font-size: 16px;
        }
    }
    /* desktop */
    @media screen and (min-width: 1200px) {
        .vacontainer {
            max-width: 1080px;
        }
        h2.benefits-text {
        font-size: 20px;
        }
    }
    /* tv */
    @media screen and (min-width: 1400px) {
        .vacontainer {
            max-width: 1280px;
        }
        h2.benefits-text {
            font-size: 30px;
        }
    }
    /* Banner Kontaktformular */
    .varow.info-success {
        padding: 15px;
        font-size: 20px;
        background-color: #c7d52f;
        font-weight: 600;
    }
    .varow.info-error {
        padding: 15px;
        font-size: 20px;
        background-color: #ff0000;
        font-weight: 600;
    }
    
    form#posting-form {
    padding-bottom: 20px;
    }

     /* App CSS */   
    .only-show-in-app {
        display: none;
    }
/* === FDA Chat Widget === */

/* --- Button --- */
#fda-chat-root #fdaChatButton{
  position: fixed !important;
  right: 25px !important;
  bottom: 25px !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  cursor: pointer !important;
  transform: none !important;
  z-index: 100005 !important;
}

#fda-chat-root #fdaChatButton img{
  width: 60px !important;
  height: auto !important;
  display: block !important;
}
@media (max-width: 768px){
  #fda-chat-root #fdaChatButton{
position: fixed !important;
  right: 25px !important;
  bottom: 100px !important;
  }
}

/* --- Widget Panel --- */
#fda-chat-root #fdaWidgetPanel{
  position: fixed !important;
  right: 25px !important;
  bottom: 105px !important;
  width: 400px !important;
  min-height: 450px !important;
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.2) !important;
  overflow: auto !important;
  box-sizing: border-box !important;
  font-family: system-ui, sans-serif !important;
  transform: none !important;
  z-index: 100004 !important;
}

@media (max-width: 768px){
  #fda-chat-root #fdaWidgetPanel{
    width: 100% !important;
    height: 100% !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 0 !important;
    min-height: initial !important;
  }
}

/* --- Inneres Panel Layout --- */
#fda-chat-root #fdaWidgetPanel .fda-upper{
  background: #B3CE4A !important;
  padding: 20px !important;
  border-radius: 20px 20px 0 0 !important;
  position: relative !important;
}

#fda-chat-root #fdaCloseButton{
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  font-size: 24px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #07225B !important;
  line-height: 1 !important;
}

#fda-chat-root #fdaWidgetLogo{
  width: 200px !important;
  max-width: 70% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 12px !important;
}

#fda-chat-root #fdaWidgetPanel h2{
  font-size: 24px !important;
  margin: 0 0 8px !important;
  color: #07225B !important;
  font-weight: 700 !important;
}

#fda-chat-root #fdaWidgetPanel .fda-text{
  font-size: 16px !important;
  line-height: 1.25 !important;
  color: #07225B !important;
  text-align: left !important;
}

#fda-chat-root #fdaWidgetPanel .fda-buttons{
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 14px !important;
}

#fda-chat-root #fdaWidgetPanel .fda-btn{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border: 1px solid #B8CD5E !important;
  border-radius: 20px !important;
  padding: 14px 18px !important;
  background: #fff !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 3px 5px 10px rgba(0,0,0,.18) !important;
}

#fda-chat-root #fdaWidgetPanel .fda-btn img{
  width: 34px !important;
  height: 34px !important;
  display: block !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

#fda-chat-root #fdaWidgetPanel .fda-btn span{
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #07225B !important;
}

/* === Popup (wie Original, inkl. Mobile-Animation) === */
#fda-chat-root #fdaChatPopup{
  display: none;
  position: fixed !important;
  bottom: 110px !important;
  right: 30px !important;
  background: #fff !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.25) !important;
  width: 320px !important;
  padding: 18px !important;
  box-sizing: border-box !important;
  font-family: system-ui, sans-serif !important;
  animation: fdaFadeIn 0.4s ease !important;
  transform: none !important;
  z-index: 100006 !important;
}

@media (max-width: 768px){
  #fda-chat-root #fdaChatPopup{
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 340px !important;
    bottom: 95px !important;
    padding: 16px !important;
    animation: fdaFadeInMobile 0.4s ease !important;
  }
}

@keyframes fdaFadeIn{
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile: transform muss die translateX(-50%) berÃ¼cksichtigen */
@keyframes fdaFadeInMobile{
  from { opacity: 0; transform: translate(-50%, 15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

#fda-chat-root #fdaChatPopup h3{
  margin: 0 0 6px 0 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #07225B !important;
  letter-spacing: -0.2px !important;
  line-height: 1.1 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

@media (max-width: 420px){
  #fda-chat-root #fdaChatPopup h3{
    font-size: 22px !important;
  }
}

#fda-chat-root #fdaChatPopup p{
  margin: 0 0 14px 0 !important;
  color: #07225B !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
}

#fda-chat-root #fdaPopupClose{
  position: absolute !important;
  top: 10px !important;
  right: 12px !important;
  font-size: 20px !important;
  color: #07225B !important;
  cursor: pointer !important;
  border: none !important;
  background: none !important;
  line-height: 1 !important;
  padding: 6px 8px !important;
}

#fda-chat-root #fdaPopupButton{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: #07225B !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  gap: 10px !important;
}

#fda-chat-root #fdaPopupButton:hover{
  background: #B8CD5E !important;
}

#fda-chat-root #fdaPopupButton img{
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}