/* This file allows overrides when I can't compile the SASS CSS sources */

.av-hide {
    display: none;
}

.search-results article {
	padding-top: 10px;
}

.testimonials {
	padding-top: 5em;
}

.search-results article:hover {
	background-color: #EEEEEE;
}

.search-form {
	Xborder: 2px solid red;
	margin: 20px 0px;
	padding: 30px 0px;
	text-decoration: none;
	font-family: "AvenirLT-Roman", Helvetica, serif;
	font-weight: 400;
	font-size: 1.25rem;
}

.search-submit, .search-field {
	Xborder: 2px solid green;
	height: 2rem;
}

.search-field {
	width: 50%;
	min-width: 200px;
}

.search-submit {
	height: 2.4rem;
	vertical-align: middle;
}

/* Original nth-of-type(#) 2 - 4 are ok because they count up */
.site-header .main-navigation .menu li:hover > .sub-menu li:nth-of-type(5) {
    -webkit-transition-delay: 0.4s;
    transition-delay: 0.4s
}

.site-header .main-navigation .menu li:hover > .sub-menu li:nth-of-type(6) {
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s
}


/* These all have to be replaced because they count down */
.site-header .main-navigation .sub-menu li:nth-of-type(1) {
    -webkit-transition: 0.1s linear 0.6s;
    transition: 0.1s linear 0.6s
}

.site-header .main-navigation .sub-menu li:nth-of-type(2) {
    -webkit-transition: 0.1s linear 0.5s;
    transition: 0.1s linear 0.5s
}

.site-header .main-navigation .sub-menu li:nth-of-type(3) {
    -webkit-transition: 0.1s linear 0.4s;
    transition: 0.1s linear 0.4s
}

.site-header .main-navigation .sub-menu li:nth-of-type(4) {
    -webkit-transition: 0.1s linear 0.3s;
    transition: 0.1s linear 0.3s
}

.site-header .main-navigation .sub-menu li:nth-of-type(5) {
    -webkit-transition: 0.1s linear 0.2s;
    transition: 0.1s linear 0.2s
}

.site-header .main-navigation .sub-menu li:nth-of-type(6) {
    -webkit-transition: 0.1s linear 0.1s;
    transition: 0.1s linear 0.1s
}

.reports .overlay .text-wrapper {
    top: 10%;
}

/* BIOS Page styles */

.Xbio-people {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex-direction: column;
    flex-wrap: wrap;
}
.Xbio-person {
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */
    width: 100%;             /* For old syntax, otherwise collapses. */
    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1;              /* IE 10 */
    flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex-direction: column;
}
.bio-people {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* height: 100%; */

    /* border: 2px solid pink; */
    background: #F2F2F2;
    padding: 10px;
    justify-content: flex-start;
    font-family: "AvenirLT-Roman", Helvetica, serif;
}

.bio-group {
    margin-top: 1em;
}

.bio-person {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-content: center;
    
    XXborder: 1px solid;
    background: white;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    
    margin-left: 5px; /* For Jenn */
    margin-right: 5px; /* For Jenn */

    min-width: 250px;
    max-width: 250px;
}

.bio-headshot {
    /* background: blue; */
    padding: 10px;
}
    .bio-person .bio-headshot img {
        height: 200px;
        width: 200px;
    }
    .bio-compact .bio-headshot img {
        height: 120px;
        width: 120px;
        max-width: 120px;
        margin-right: 10px; /* sigh, bad place to add space */
    }

.bio-details {
    display: flex; 
    flex-direction: column; 
    flex-basis: 200px; 
    align-items: center; 

    XXbackground: #999;
    padding: 10px;
}
    .bio-details .name {
        flex-basis: 60px;
        flex-grow: 0;
        flex-shrink: 0;
        /* margin: 0 0 0.5em; */
    }
        .bio-details .name p {
            margin: 0 0 0 0; /* Overrides p margin: 0 0 1.5em; in base CSS */
            text-align: center;
        }
    .bio-details .company {
        flex-basis: 40px;
        flex-grow: 0;
        flex-shrink: 0;
        text-align: center;
    }
    .bio-details .headshot-bio {
        flex-basis: 120px;
        flex-grow: 0;
        flex-shrink: 0;
        overflow: hidden;
        color: #595959;
    }
        .bio-details .headshot-bio p {
            /* margin: 4px 0 4px 0; */
        }
    
    .bio-summary {
        margin: 0;
    }
    .bio-summary p {
        margin: 0;
        font-size: .9rem;
    }

    .more-stuff {
        position: relative;
        top: 0px;
        left: 0px;
    }
    .bio-people .bio-compact {
        background: white;
        padding: 5px;
        margin-top: 15px;
        margin-bottom: 15px;
        flex: 0 0 330px; /* was 30% */
        min-width: 330px;
        /*cursor: pointer;*/

        display: flex;
        flex-direction: row;
    }
        .bio-people.format-author .bio-compact {
            /* background: 'purple'; */
        }
        /* was once including .text-wrapper */
        .bio-people .bio-compact .bio-details {
            /* padding-top: 0; DO NOT DO THIS - @JL */
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        .bio-people .bio-compact .headshot-bio {
            margin: 0;
        }
        .bio-people .bio-compact .headshot-bio p {
            margin: 0;
        }
        .bio-people .bio-compact .name,
        .bio-people .bio-compact .company,
        .bio-people .bio-compact .headshot-bio
        {
            /* Nothing needed */
        }

        .bio-people .bio-compact .bio-social,
        .bio-details .bio-social
        {
            /* Very clever way to make something float to bottom of container */
            margin-top: auto;
            text-align: center;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }

