/*
 * Inhaltselement "Arbeitgeber-Teaser" (Seite Arbeitgeber)
 * ------------------------------------------------------
 * Rendert \App\View\Cell\ArbeitgeberTeaserCell - drei Kacheln mit
 * Kopfbild, Titel, Text und Schaltflaeche.
 *
 * Werte wie in zielgruppen-teaser.css aus webroot/less/variables.less
 * abgelesen und ausgeschrieben, weil das LESS im Projekt nicht mehr
 * kompiliert wird und CSS-Variablen wegen IE11 ausscheiden.
 *
 *   @brand-primary   #00305D
 *   @brand-secondary #264f75
 *   @gray-lighter    #f1f1f1
 *   @gray-dark       #333333
 *   @font-size-base  15px    @font-size-h3 19px
 */

.ag-teaser {
    margin-bottom: 40px;
}

/* Flexbox sorgt fuer gleich hohe Kacheln, unabhaengig von der Textmenge */
.ag-teaser-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.ag-teaser-spalte {
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
}

.ag-teaser-kachel {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    border: 1px solid #f1f1f1;
    background-color: #ffffff;
}

/*
 * Kopfbereich. Die Bilder werden nachgeliefert; solange keines
 * hinterlegt ist, bleibt die Navy-Flaeche als Platzhalter stehen, damit
 * die drei Kacheln gleich hoch beginnen.
 */
.ag-teaser-head {
    min-height: 110px;
    background-color: #00305d;
    text-align: center;
}

/* Siehe zielgruppen-teaser.css: <picture> ist inline und erzeugt sonst
   unter dem Bild den bekannten Grundlinien-Spalt. */
.ag-teaser-head picture {
    display: block;
}

.ag-teaser-bild {
    display: block;
    width: 100%;
    height: auto;
}

/* Textblock */
.ag-teaser-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 20px;
    color: #333333;
    font-size: 15px;
    line-height: 1.428571429;
}

.ag-teaser-titel {
    margin: 0 0 12px;
    color: #00305d;
    font-size: 19px;
    font-weight: 700;
}

.ag-teaser-text {
    margin: 0 0 15px;
    text-align: left;
}

/* Weiterfuehrende Links, z. B. der Adminbereich */
.ag-teaser-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ag-teaser-links > li {
    margin-bottom: 8px;
}

a.ag-teaser-link {
    display: block;
    padding: 6px 12px;
    border: 1px solid #f1f1f1;
    background-color: #f1f1f1;
    color: #00305d;
    font-size: 15px;
    line-height: 1.428571429;
    text-align: left;
    transition: background-color 200ms;
}

a.ag-teaser-link:hover,
a.ag-teaser-link:focus {
    background-color: #e2e2e2;
    color: #00305d;
    text-decoration: none;
}

/* Schaltflaeche, Optik identisch zu .zg-teaser-button */
.ag-teaser-aktion {
    padding: 0 20px 20px;
    text-align: right;
}

a.ag-teaser-button {
    display: inline-block;
    min-width: 180px;
    padding: 6px 12px;
    border: 1px solid #002a52;
    border-radius: 0;
    background-color: #00305d;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.428571429;
    text-align: center;
    transition: background-color 200ms;
}

a.ag-teaser-button:hover,
a.ag-teaser-button:focus {
    background-color: #264f75;
    color: #ffffff;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .ag-teaser-row {
        display: block;
    }

    .ag-teaser-spalte {
        display: block;
    }

    a.ag-teaser-button {
        width: 100%;
        min-width: 0;
    }
}

/*
 * Einleitungstext unter der Hauptueberschrift einer Inhaltsseite.
 * .ag-intro ist der gewachsene Name der Seite Arbeitgeber, .seiten-intro
 * der neutrale fuer alle weiteren Seiten - z. B. Bewerberinnen.
 */
.ag-intro,
.seiten-intro {
    margin: 0 0 25px;
    font-size: 15px;
    line-height: 1.428571429;
    text-align: left;
}

/*
 * Fette Zeile ueber dem Fliesstext, z. B. in der Kachel
 * "Initiativbewerbungsprofil" des Nachwuchs-Teasers.
 */
.ag-teaser-vorspann {
    margin: 0 0 10px;
    font-weight: 700;
}
