﻿
/* Meet the Team - Redesign */
/* Meet the Team - Redesign */
/* Meet the Team - Redesign */
/* Meet the Team - Redesign */

.mttHeader2 {
    font-weight: bold;
    padding-top: 1.5em;
    color: #555555;
    padding-left: 20px;
}
.mttRow h3 {
    text-align: center;
    /*background-color: #444;
    border-radius: 10px;*/
    padding: 10px;
    /*text-transform: uppercase;*/
    color: #555555;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
}

.mttRowSubsection {
    padding: 10px;
    text-transform: uppercase;
    color: #444;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 14px;
}

.mttAbout {
    position: relative;
    z-index: 99;
    padding: 10px;
    padding-top: 10px;
    font-size: 14px;
    color: #555555;
}
.mttAboutAdmin {
    position: relative;
    z-index: 99;
    padding: 10px;
    padding-top: 10px;
    color: #555555;
}
.mttResearchers .mttAbout{
     min-height: 291px;
}

.mttConsultants .mttAbout{
     /*min-height: 250px;*/
}

#MttTopLeadership .mttRow h3 {
    font-size: 16px;
}

#MttTopLeadership .mttAbout {
    font-size: 14px;
    /*min-height: 300px;*/
    padding: 0px;
    padding-top: 10px;
}

.mttAbout::-webkit-scrollbar {
    width: 0px; /* remove scrollbar space */
    background: transparent; /* optional: just make scrollbar invisible */
}
/* optional: show position indicator in red */
.mttAbout::-webkit-scrollbar-thumb {
    background: #FF0000;
}

.mttAbout h4 {
    font-size: 18px;
    /*text-align: center;*/
    margin-bottom: 0px;
    font-weight: bold;
    color: #555555;
}
.mttAboutAdmin h4 {
    font-size: 18px;
    margin-bottom: 0px;
    font-weight: bold;
    color: #555555;
}

.mttAboutAdmin h5 {
    font-size: 15px;
    color: #555555;
    padding-top: .5em;
}

#MttTopLeadership .mttAbout h4 {
    font-size: 18px;
    /*text-align: center;*/
    margin-bottom: 0px;
    font-weight: bold;
    color: #555555;
}

#MttTopLeadership .mttAbout h5 {
    font-size: 15px;
    /*text-align: center;*/
    padding-top: .5em;
    color: #555555;
}

.mttAuthorImg {
    position: relative;
    z-index: 100;
    width: 210px;
    height: 210px;
    border: 1px solid dimgrey;
    opacity: 1;
    transition: 0.3s ease;
}

.mttLeaderImg {
    position: relative;
    z-index: 100;
    width: 252px;
    height: 252px;
    /*border-radius: 50%;*/
    border: 1px solid dimgrey;
    opacity: 1;
    transition: 0.3s ease;
}

.mttFlex {
    display: -ms-flexbox;
    -ms-flex-direction: row;
    -ms-flex-pack: center;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center
}

.mttLeadershipPanel {
    /*max-width is necessary so that IE honors the border-box*/
    max-width: 275px;
    box-sizing: border-box;
    /* Four columns per row */
    padding: 20px;
    margin: 0 0;
    flex: 0 0 25%;
}

.mttPanel {
    /*max-width is necessary so that IE honors the border-box*/
    max-width: 250px;
    box-sizing: border-box;
    /* Four columns per row */
    padding: 20px;
    margin: 0 0;
    flex: 0 0 25%;
}

@media screen and (min-width: 0) and (max-width: 768px) {

    /* Disable hover on mobile */
    .mttAuthorImg {
        opacity: 1;
        width: 250px;
        height: 250px;
    }
    /* Disable hover on mobile */
    .mttLeaderImg {
        opacity: 1;
        width: 292px;
        height: 292px;
    }

    .mttAbout {
        height: auto;
        min-height: 300px;
    }

    .mttAuthorImg:hover {
        transform: none;
    }

    .mttLeaderImg:hover {
        transform: none;
    }
      .mttLeadershipPanel {
        /* One column per row */
        flex: 0 0 50%;
        margin: 20px;
    }
    .mttPanel {
        /* One column per row */
        flex: 0 0 50%;
        margin: 20px;
    }
}

/* Meet the Team Flexbox Grid layout */
/* Meet the Team Flexbox Grid layout */
/* Meet the Team Flexbox Grid layout */
/* Meet the Team Flexbox Grid layout */

@media screen and (min-width: 0) and (max-width: 992px) {
    .mttPanel {
        /* Two columns per row */
        flex: 0 0 50%;
        margin:20px;
    }
    .mttLeadershipPanel {
        /* Two columns per row */
        flex: 0 0 50%;
        margin: 20px;
    }
}

@media screen and (min-width: 0) and (max-width: 320px) {
    .mttPanel {
        /* One column per row */
        flex: 0 0 100%;
        margin: 20px;
    }
    .mttLeadershipPanel {
        /* One column per row */
        flex: 0 0 100%;
        margin: 20px;
    }
    .mttLeaderImg {
        width: 220px;
        height: 220px;
    }

    .mttAuthorImg {
        width: 210px;
        height: 210px;
    }
}


@media screen and (min-width: 0) and (max-width: 1366px) {

    #MttTopLeadership .mttAbout {
        min-height: 400px;
    }


    .mttAdmin .mttAbout {
        min-height: 400px;
    }
}


/*
    Meet the Team mobile adjustments
*/

@media screen and (min-width: 0) and (max-width: 768px) {

    .mttFlex {
        display: -ms-flexbox;
        -ms-flex-direction: row;
        -ms-flex-pack: center;
        display: flex;
        flex-flow: row;
        flex-wrap: wrap;
        justify-content: center
        /*display: block;
        overflow: hidden; /* This seems to fix the issues with wrapping. */ */
    }

    .mttPanel {
        display: block;
        /*flex: none;*/
        padding: 0px;
    }
    .mttLeadershipPanel {
        display: block;
        flex: none;
        padding: 0px;
    }

    .mttAbout {
        margin: 0px;
    }
}