/*
 * Inhaltselement "Unsere Leistungen" (Seite Arbeitgeber)
 * -----------------------------------------------------
 * Rendert \App\View\Cell\LeistungenCell - Preisuebersicht als Aufklapper.
 *
 * Werte wie in den uebrigen eigenen Stylesheets 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-h2 24px   @font-size-h3 19px
 *
 * Die Entwuerfe zeigten gruene Schaltflaechen; im Projekt ist Gruen
 * Statusfarbe, Hauptaktionen sind Navy (Werte aus webroot/less/variables.less).
 */

.leistungen {
    margin-bottom: 40px;
}

.leistungen-titel {
    margin: 0 0 20px;
    color: #00305d;
    font-size: 24px;
    font-weight: 700;
}

.leistungen-gruppen {
    margin-bottom: 20px;
}

.leistungen-panel {
    margin-bottom: 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Kopfzeile des Aufklappers */
.leistungen-head {
    position: relative;
    padding: 12px 50px 12px 20px;
    background-color: #264f75;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 200ms;
}

.leistungen-head.collapsed {
    background-color: #00305d;
}

.leistungen-head:hover,
.leistungen-head:focus {
    background-color: #264f75;
    outline: none;
}

.leistungen-head-titel {
    margin: 0;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

/*
 * Dreieck ueber border-width - dieselbe Formsprache wie .nf-filter-head
 * und .jobfinder-head.
 */
.leistungen-pfeil {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 0;
    height: 0;
    margin-top: -5px;
    border-right: 9px solid transparent;
    border-bottom: 10px solid #ffffff;
    border-left: 9px solid transparent;
}

.leistungen-head.collapsed .leistungen-pfeil {
    border-top: 10px solid #ffffff;
    border-bottom: 0;
}

/* Inhalt des Aufklappers */
.leistungen-body {
    padding: 20px;
    border: 1px solid #f1f1f1;
    border-top: 0;
    background-color: #ffffff;
    color: #333333;
    font-size: 15px;
    line-height: 1.428571429;
}

.leistungen-vorspann {
    margin: 0 0 8px;
    font-weight: 700;
}

.leistungen-einleitung {
    margin: 0 0 20px;
    text-align: left;
}

/* Tabelle */
.leistungen-tabelle {
    margin-bottom: 0;
    border-color: #f1f1f1;
}

.leistungen-tabelle > thead > tr > th {
    border-bottom-width: 1px;
    border-color: #00305d;
    background-color: #00305d;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    vertical-align: middle;
}

.leistungen-tabelle > tbody > tr > th {
    font-weight: 400;
    text-align: left;
}

.leistungen-tabelle > tbody > tr > th,
.leistungen-tabelle > tbody > tr > td,
.leistungen-tabelle > tfoot > tr > td {
    border-color: #f1f1f1;
    vertical-align: middle;
}

.leistungen-tabelle > tbody > tr:nth-child(odd) > th,
.leistungen-tabelle > tbody > tr:nth-child(odd) > td {
    background-color: #fafafa;
}

.leistungen-tabelle > tbody > tr.leistungen-preis > th,
.leistungen-tabelle > tbody > tr.leistungen-preis > td {
    color: #00305d;
    font-size: 17px;
    font-weight: 700;
}

/* Hervorgehobene Spalte */
.leistungen-tabelle > thead > tr > th.leistungen-top {
    background-color: #264f75;
}

.leistungen-tabelle > tbody > tr > td.leistungen-top,
.leistungen-tabelle > tfoot > tr > td.leistungen-top {
    background-color: #eef2f6;
}

.leistungen-inklusive {
    color: #00305d;
    font-weight: 600;
}

.leistungen-ohne {
    color: #999999;
}

.leistungen-tabelle > tfoot > tr > td {
    padding: 15px 8px;
    text-align: center;
}

.leistungen-tabelle > tfoot > tr > td.leistungen-buchen-leer {
    border-left-color: transparent;
    border-bottom-color: transparent;
    background-color: transparent;
}

/* Schaltflaeche, Optik identisch zu .zg-teaser-button */
a.leistungen-buchen {
    display: inline-block;
    min-width: 150px;
    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.leistungen-buchen:hover,
a.leistungen-buchen:focus {
    background-color: #264f75;
    color: #ffffff;
    text-decoration: none;
}

.leistungen-hinweis {
    margin: 0;
    color: #666666;
    font-size: 13px;
}

@media screen and (max-width: 767px) {
    .leistungen-head {
        padding-right: 40px;
    }

    .leistungen-head-titel {
        font-size: 17px;
    }

    .leistungen-body {
        padding: 15px;
    }

    a.leistungen-buchen {
        min-width: 0;
        width: 100%;
    }
}
