﻿/*
    Place CSS Here
*/

#DabCards {
    margin-bottom:20px;
}
#Bios {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    row-gap: 10px;
}

#DabCards article {
    background-image:url(assets/images/portrait-f.jpg);
    background-size:cover;
}

article.bio {
    cursor: pointer;
    position: relative;
    height: 300px;
    width: 225px;
    border-radius: 10px;
    background-color: #00274C;
    color: white;
    overflow: hidden;
}

    article.bio h2 {
        font-size: 1.1rem;
        margin: 3px auto;
        text-align: center;
    }

    article.bio h3 {
        font-size: 1rem;
        margin: 2px auto;
        text-align: center;
    }

    article.bio p {
        font-size: 0.9rem;
        padding-left: 10px;
        padding-right: 5px;
        padding-bottom: 100px;
        min-width: 207px;
        min-height: 110px;
    }

div.heading {
    height: 18px;
}

div.info {
    margin: 0;
    padding: 15px 3px 3px 0px;
    position: absolute;
    z-index: 2;
    left: 0;
    top: 250px;
    transition: top 0.6s ease-out;
    background-image: linear-gradient(transparent,#00274C 25px);
    background-color: transparent;
}

    div.info.active, article:hover div.info {
        top: 150px;
        /*background-color: #00274C;*/
    }

img.portrait {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
}
