/*
Project: DFKI Manager

Schrift in rem
Mobile First

Achtung: 'manager' sind globale CSS-Klassen!
*/

/* ------------------------------ Listenansicht Orgaunit + Mitarbeiter ------------------------------ */
.tx-dfkimanager .manager-col-list li {
    margin-bottom: 1rem;
}
/* ------------------------------ Detailseite ------------------------------ */
.manager-single h1 {
    padding-top: 0;
}
.manager-single .manager-img-wrap .outer {
    padding-bottom:1rem;
}
/* ------------------------------ Publikationen ------------------------------ */
span.comma-separated>span+span::before {
	content: ',';
}

/* ------------------------------ Mitarbeiter ------------------------------ */

/* ------------------------------ Projekte ------------------------------ */
/*
.project-single .project-img-wrap.mediawall .thumb {
    margin: 0 15px 30px;
}
*/

.article-list-projects .managerbox .header h3 a {
  color: #194C7A;
}

.project-single .teaser-text {
    font-weight: 500;
}

.project-single .infobox-body .project-employee-contacts:not(:last-child) {
    margin-bottom:2rem;
}

.manager-single .project-share-buttons a {
    font-size:1.25rem;
    padding-right: 35px;
    padding-bottom: 1.25rem;
    display: inline-block;
}
.project-single .project-list-sponsors .card-image,
.person-single .person-list-projects .card-image{
    margin: 1.25rem;
}
/* Teaser + Listenansicht */
.manager-teaser-view .article{
    margin-bottom: 15px;
}
.manager-list-view .article {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin-bottom: 20px;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 15px;
}
.project-list-view .article .project-img-wrap {
    min-width: 300px;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #EAEAEA;
    max-height: 170px;
}
.project-list-view .article .project-img-wrap a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.project-list-view .article .project-img-wrap img {
    max-height: 100%;
    width: auto;
}
.manager-teaser-view .managerbox{
    padding: 1.25rem;
}
.content-background .project-teaser-view .article .project-img-wrap {
    background-color: #fff;
}
.manager-teaser-view .managerbox h3,
.manager-list-view h3 {
    margin-top:8px;
    margin-bottom:8px;
}
.project-teaser-view .footer,
.manager-list-view .footer {
    font-size:1rem;
    display: flex;
}
.manager-teaser-view .more {
    margin-top:auto;
}
.project-teaser-view .article-list-projects {
    font-weight:400;
}
/* Publikation */
.publication-teaser-view .article-list-publication .teaser-text strong {
    font-size:1.125rem;
    font-weight:600;
    line-height:1.5rem;
    margin-bottom: 10px;
    display: block;
}
.publication-teaser-view .article-list-publication .teaser-text .publication-details {
    font-size:1.125rem;
    line-height:1.563rem;
}
.content-background .publication-teaser-view .article-list-publication .teaser-text {
     color:#255581;
 }
.content-background .publication-teaser-view .managerbox {
    background-color:#fff;
}

/* ------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------- Media query ----------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------- */
/* Extra small devices (portrait phones, less than 576px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    /* Listening */
    .tx-dfkimanager .manager-col-list li {
        margin-bottom: 1.25rem;
    }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    /* Listening */
    .tx-dfkimanager .manager-col-list {
        display: flex;
        flex-wrap: wrap;
        padding-right: -15px;
    }
    .tx-dfkimanager .manager-col-list li {
        flex: 1 1 48%;
        padding-right: 15px;
    }


    /* Projekte */
    /* Teaser + Listenansicht */
    .manager-teaser-view {
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px;
        display: flex;
    }
    .manager-teaser-view .article {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        margin: 0 15px 15px;
        word-wrap: break-word;
    }
    .project-teaser-view .project-img-wrap a {
        min-height: 145px;
        min-width:290px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #EAEAEA;
    }
    .manager-teaser-view .managerbox {
            display: flex;
            flex-direction: column;
            flex: 1 0 auto;
        }
    .project-teaser-view .article {
            -ms-flex:0 0 30%;
            flex: 0 0 30%;
        }
    .publication-teaser-view .article {
        -ms-flex:1 0 30%;
        flex: 1 0 30%;
    }
    .manager-list-view .article:not(first-child) {
        margin-bottom: 1.875rem;
    }
    .project-list-view .article .managerbox {
        padding: 0 1.25rem 1.875rem;
    }


}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {


    /* Projekte */
    .project-teaser-view .project-img-wrap a {
        min-height: 200px;
        min-width:350px;
    }

}

/* Widescreen devices (widescreen desktops, 1600px and up) */
@media (min-width: 1600px) {
    /* Listening */
    .tx-dfkimanager .manager-col-list li {
        margin-bottom: 1.5rem;
    }
    /* Projekte */
     .project-teaser-view .project-img-wrap a {
         min-height: 255px;
         min-width:450px;
     }
    .project-teaser-view .article-list-projects h3 {
        font-size: 1.15rem; /* was 1.625rem; – 20190505 */
        line-height:1.65rem; /* was 2.2rem; – 20190505 */
    }
    .project-teaser-view .article-list-projects {
        font-size: 1.05rem; /* was 1.375rem; – 20190505 */
        line-height:1.55rem; /* was 2rem; – 20190505 */
    }


}
