/* Staff Member Shortcode */

#top #main .staff-members-department {
    margin: 40px 0px;
}

#top #main .staff-member-container {
    display: inline-block;
    vertical-align: top;
    width: 17%;
    margin: 1.5%;
    text-align: left;
    background: #f6f6f6;
    padding: 10px;
    border-bottom: 5px solid #7fb661;
    transition: border-bottom .5s ease;
}

#top #main .staff-member-container a {
    text-decoration: none;
}

#top #main .staff-member-container h3 {
    text-transform: initial !important;
    font-size: 18px !important;
    min-height: 45px;
    margin-top: 10px;
}

#top #main .staff-member-container p {
    font-weight: bold;
    line-height: 25px;
    min-height: 50px;
    margin: 0px 0px 5px;
}

#top #main .staff-member-container .staff-photo {
    max-height: 200px;
    overflow: hidden;
}

#top #main .staff-member-container .staff-photo img {
  display: flex;
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  transition: filter .5s ease, -webkit-filter .5s ease;
}

#top #main .staff-member-container:hover {
  border-bottom-color: #5b2c6f;
}

#top #main .staff-member-container:hover .staff-photo img {
  border-bottom-color: #5b2c6f;
  -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
  filter: grayscale(0%);
}

#top #main .staff-member-container.bod {
    width: 47.7%;
}

#top #main .staff-member-container.bod.last {
    margin-right: 0px;
}

#top #main .staff-member-container.bod .bod-desc {
    width: 53%;
    display: inline-block;
    text-align: left;
    margin-left: 15px;
}

#top #main .staff-member-container.bod .bod-desc h3 {
    text-align: left;
    min-height: auto;
}

/* #top #main .staff-member-container.bod .bod-desc p {
    text-align: left;
} */

#top #main .staff-member-container.bod .bod-desc span {
    color: #666666;
}

#top #main .staff-member-container.bod .staff-photo {
    max-height: 200px;
    overflow: hidden;
    display: inline-block;
    width: 40%;
    float: left;
}
/* END Staff Member Shortcode */

/* Single staff member page */
#top #main .template-single-staff-member .staff-members-container .social-media-container {
    float: right;
    font-size: 40px;
}

#top #main .template-single-staff-member .staff-members-container .social-media-container a {
    margin-right: 15px;
}

#top #main .template-single-staff-member .staff-members-container h4 {
    display: inline-block;
}

#top #main .template-single-staff-member .staff-members-container .staff-location {
    margin-left: 10px;
}
#top #main .template-single-staff-member .staff-members-container .fas.fa-map-marker-alt {
    margin-left: 15px;
    font-size: 24px;
}

#top #main .template-single-staff-member .staff-members-container .staff-photo {
    border: 3px solid #666666;
    display: grid;
}

#top #main .template-single-staff-member .staff-members-container .staff-photo img {
    width: 100%;
}

#top #main .template-single-staff-member .staff-members-container .av_three_fourth {
    border-top: 5px solid #5b2c6f;
    background: #f5effa;
    padding: 20px;
    margin-bottom: 40px;
}

#top #main .template-single-staff-member h3 {
    text-transform: capitalize !important;
    color: #5b2c6f;
    margin-top: 25px;
}

/* END Single staff member page */

@media only screen and (max-width: 1200px) {
    /* Staff Member Shortcode */
    #top #main .staff-member-container {
        width: 20%;
        margin: 2.5%;
        clear: none;
    }

    #top #main .staff-member-container h3 {
        font-size: 18px;
    }
    /* END Staff Member Shortcode */
}

@media only screen and (max-width: 900px) {
    /* Staff Member Shortcode */
    #top #main .staff-member-container {
        width: 28%;
        margin: 2.5%;
        clear: none;
    }
    /* END Staff Member Shortcode */
}

@media only screen and (max-width: 767px) {
    /* Staff Member Shortcode */
    #top #main .staff-member-container {
        width: 45% !important;
        margin: 2.5% !important;
        clear: none;
    }

    #top #main .staff-member-container .staff-photo {
        max-height: 300px;
        text-align: center;
    }
    /* END Staff Member Shortcode */
}

@media only screen and (max-width: 500px) {
    /* Staff Member Shortcode */
    #top #main .staff-member-container {
        width: 100% !important;
        margin: 0px 0px 20px 0px !important;
        clear: both;
    }

    #top #main .staff-member-container .staff-photo {
        text-align: center;
    }

    #top #main .staff-member-container .staff-photo img {
        display: initial;
    }

    #top #main .staff-member-container h3 {
        font-size: 24px;
    }
    /* END Staff Member Shortcode */
}