﻿



.pic-container {
    /* position:static;*/
   
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #ccc;
    width: 100%;
    height: 300px;
}

.pic-div {
       
    position: relative;
    margin: 10px 5px 0px 5px;   
    height: 35vh;
    width: 250px;
    border: 1px solid #e7d6d6;
    border-radius: 5px;
    box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.3);
}

    .pic-div img {
        border-radius: 2px;
    }

    .pic-div:hover .pic-details {
        height: 30%;
        opacity: 1;
        transition: 0.3s ease-in-out;
    }

    .pic-div:hover {
        box-shadow: -8px 8px 8px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: -8px 8px 8px rgba(0, 0, 0, 0.3);
        transition: 0.3s;
    }

.pic-details {
    background-image: linear-gradient(to bottom, #fff, #CFCFCF);
    /*background-color: #fff;*/
    position: absolute;
    text-align: center;
    padding-bottom: 20px;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    opacity: 90%;
    overflow: hidden;
   
}

.pic-div:hover .member-text {
    text-shadow: none;
}

.member-text {
    font-size: 13px;
    line-height: 13px;
    padding: 10px 7px 15px 7px;
    color: #416C6C;
    text-shadow: -1px 1px 2px #aaa;  
    overflow:hidden;
}
.member-text p{
    margin-bottom: 5px;
}



@-moz-document url-prefix() {
    /* CSS rules within this block will only apply in Firefox */
    .pic-container {
        /* position:static;*/
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid #ccc;
        width: 100%;
        height: 300px;
    }

    .pic-div {
        position: relative;
        margin-left: 10px;
        margin-right: 10px;
        height: 35vh;
        width: 250px;
        border: 1px solid #e7d6d6;
        border-radius: 5px;
        box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: -3px 3px 3px rgba(0, 0, 0, 0.3);
    }

        .pic-div img {
            border-radius: 2px;
        }

        .pic-div:hover .pic-details {
            height: 20%;
            opacity: 1;
            transition: 0.3s ease-in-out;
        }

        .pic-div:hover {
            box-shadow: -8px 8px 8px rgba(0, 0, 0, 0.3);
            -moz-box-shadow: -8px 8px 8px rgba(0, 0, 0, 0.3);
            transition: 0.3s;
        }

    .pic-details {
        background-image: linear-gradient(to bottom, #fff, #CFCFCF);
        /*background-color: #fff;*/
        position: absolute;
        text-align: center;
        padding-bottom: 20px;
        bottom: 0;
        left: 0;
        right: 0;
        height: 20%;
        opacity: 90%;
        overflow: hidden;
    }

    .pic-div:hover .member-text {
        text-shadow: none;
    }

    .member-text {
        font-size: 13px;
        line-height: 13px;
        padding: 10px 7px 15px 7px;
        color: #416C6C;
        text-shadow: -1px 1px 2px #aaa;
        overflow: hidden;
    }

        .member-text p {
            margin-bottom: 5px;
        }
}


@media only screen and (max-width: 600px) {

    .pic-container {
        /* position:static;*/

        display: grid;
        place-items: center;
        border-bottom: 1px solid #ccc;      
        height: auto;
        padding: 10px 0px 10px 0px;
        /*height: 300px;*/
    }

    .pic-div {
        position: relative;
        margin-top: 20px;
       
        /*border: 1px solid #e7d6d6;*/
    }

}

@media only screen and (min-width: 601px) and (max-width: 1024px) {

    .pic-container {
        /* position:static;*/
        
        display: grid;
        position: relative;
        margin:auto;
       /* place-items: center;*/
        border-bottom: 1px solid #ccc;
        height: auto;
        padding: 10px 0px 10px 0px;
        /*height: 300px;*/
    }

    .pic-div {
        position: relative;
        margin: auto;
        margin: 20px 5px 0px 5px;
        margin-top: 20px;
        /*border: 1px solid #e7d6d6;*/
    }
}
