﻿/* from wayne */

.expert__bio {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "bio"
        "search"
        "quicklinks"
        "newsfeed";
}

.expert__bio-photo {
    grid-area: bio-photo;
}

    .expert__bio-photo img,
    .expert_photo img {
        border-radius: 7%;
        max-width: 200px;
    }

.expert__bio-details {
    grid-area: bio;
    display: grid;
    column-gap: 1rem;
    grid-auto-rows: min-content;
    grid-template-columns: 1fr;
    grid-template-areas:
        "bio-photo"
        "bio-details";
}

#u-app_content .expert__bio h2 {
    font-size: 1.75rem;
    color: #006747;
}

    #u-app_content .expert__bio h2.expert__quick__links__title,
    #u-app_content .expert__bio h2.expert__newsfeed__title {
        font-size: 1.25rem;
        text-transform: uppercase;
    }

    #u-app_content .expert__bio h2.expert__newsfeed__title {
        margin-top: 1em;
    }

#u-app_content .expert__bio-content-college,
#u-app_content .expert__bio-content-title {
    font-size: 1.25rem;
    font-weight: 100;
    line-height: calc(1.25rem * 1.4);
    ;
    letter-spacing: calc(1.25rem * -0.01);
    ;
}

#u-app_content .expert__bio-content-name {
    margin: 1rem 0 0 0;
}

#u-app_content .expert__bio-content-title {
    font-weight: 700;
    margin: 0;
}

#u-app_content .expert__bio-content-phone {
    font-weight: 700;
    margin-bottom: 0;
}

#u-app_content .expert__bio-content-email {
    font-weight: 700;
}

#u-app_content .expert_aa {
    margin-bottom: 1.5rem;
}

#u-app_content .expert__bio-content-topic-container a,
#u-app_content .expert_cv a,
.expert__bio-content-topic-container a,
.expert_cv a {
    background-color: #006747;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    display: inline-block;
    border-radius: 1em;
    font-weight: normal;
    padding: 0.25em .75em;
    margin: 0 0.25em 0.5em 0;
    text-align: center;
    border: 1px solid #fff;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#u-app_content .expert_cv a {
    color: #006747;
    background-color: #eee;
    font-weight: 600;
    border: 1px solid #999;
    margin-top: 0.25em;
}

#u-app_content .expert__bio-content-topic-container a:hover,
#u-app_content .expert__bio-content-topic-container a:focus,
#u-app_content .expert__bio-content-topic-container a:active {
    background-color: #005432;
    border: 1px solid #000;
}

#u-app_content .expert_cv a:hover,
#u-app_content .expert_cv a:focus,
#u-app_content .expert_cv a:active {
    color: #000;
    background-color: #ddd;
    border: 1px solid #bbb;
}

.expert__bio-sidebar .expert__search {
    margin: 1em 0;
}

@media only screen and (min-width:768px) {

    .expert__bio {
        row-gap: 1rem;
        column-gap: 1.5rem;
        grid-template-columns: 9fr 3fr;
        grid-auto-rows: min-content;
        grid-template-areas:
            "bio search"
            "bio quicklinks"
            "newsfeed newsfeed";
    }

    .expert__bio-photo img,
    .expert_photo img {
        max-width: 100%;
    }

    #u-app_content .expert__bio-content-name,
    #u-app_content .expert__bio-content-title {
        margin: 0;
    }

    #u-app_content .expert__bio-content-college {
        margin: 0 0 1rem 0;
    }

    .expert__bio-details {
        grid-template-columns: 3fr 9fr;
        grid-template-areas:
            "bio-photo bio-details"
    }

    .expert__bio-sidebar .expert__search {
        margin: 0 0 1em 0;
    }
}


.experts {
    display: flex;
    flex-direction: column;
    margin: 0;
}

    .experts .expert {
        list-style: none;
        margin-bottom: 1.25rem;
        padding: 1.5rem;
    }

    .experts .expert {
        box-shadow: #003424 2px 1px 10px
    }

.expert_group {
    display: grid;
}

.expert_group {
    grid-template-columns: 1fr;
    grid-template-areas:
        "photo"
        "details";
}

.expert_photo {
    grid-area: photo;
}

    .expert_photo img {
        max-width: 70%;
        margin-bottom: 1em;
    }

.expert_details {
    grid-area: details;
}

    #u-app_content .expert_details p,
    .expert_details p {
        margin-bottom: 0;
    }

.expert_name {
}

.expert_bio {
    margin-bottom: .5rem;
}

.expert_topics {
}

.expert_contact {
    display: grid;
}

.expert_phones {
}

.expert_emails {
}


.expert_name h3 {
    margin-top: 0 !important;
}

.expert__bio-content-topic-container span.label,
.expert_phones span.label,
.expert_emails span.label,
.expert_cv span.label {
    font-weight: bold;
}

.expert__bio-content-topic-container ul {
    list-style: none;
    margin: 0;
}

    .expert__bio-content-topic-container ul li {
        display: inline-block;
    }

.expert_topics ul {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin: 0 !important;
}

    .expert_topics ul li {
        list-style: none;
        padding: .25rem .75rem;
        margin: .25rem;
        background-color: #6c757d;
        color: white;
        border-radius: 1em;
    }

        .expert_topics ul li a {
            color: white !important;
        }

.expert_phones,
.expert_emails,
.expert_cv {
    padding: .25rem 0;
}

#u-app_content .expert-title,
#u-app_content .expert-college {
    margin: 0;
    padding-bottom: 0.25rem;
    font-size: 1.15rem;
}

#u-app_content .expert-college {
    padding-bottom: 0;
}

#u-app_content .expert-title {
    font-weight: 600;
}

@media only screen and (min-width:600px) {

    .expert_photo img {
        max-width: 50%;
    }
}

@media only screen and (min-width: 768px) {

    .expert_photo img {
        max-width: 80%;
    }

    .expert_group {
        grid-template-columns: 220px 1fr 1fr;
        grid-template-areas:
            "photo details details";
    }

    .expert_contact {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "phone email";
    }
}
