﻿.profile-details-container {
    margin-left: -15px;
    margin-right: -15px;
    text-align: center;
}

.profiles {
    clear: both;
    width: 100%;
}

.profile-info {
    float: none !important;
    width: 100% !important;
}

.profile-container {
    display: inline-block;
    width: 25%;
    color: #555;
    margin: 0 auto;
    margin-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
}

.profile-container-inner {
    position: relative;
    background-color: #fff;
}

.profile-more-details:hover {
    background-color: #ce6c00;
}

.profile-clickable {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-decoration: none; /* Makes sure the link   doesn't get underlined */
    z-index: 1000; /* raises anchor tag above everything else in div */
    background-color: white; /*workaround to make clickable in IE */
    opacity: 0; /*workaround to make clickable in IE */
    filter: alpha(opacity=1); /*workaround to make clickable in IE */
}

.profile-image-icon {
    position: relative;
    line-height: 0px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding-bottom: 133.33%;
    color: #d1d1d1;
}

    .profile-image-icon:before {
        content: "\f007";
        font-family: FontAwesome;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        font-size: 200px;
        text-align: center;
    }

.profile-image {
    position: relative;
    line-height: 0px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding-bottom: 133.33%;
}

    .profile-image img {
        width: 280px;
        height: 373px;
    }

.profile-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.3;
    margin: auto;
    display: none;
    z-index: 21;
}

.profile-info {
    overflow: hidden;
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

    .profile-info .contact {
        font-size: 0.9em;
        color: #888;
        line-height: 1.2;
    }

        .profile-info .contact a {
            padding-bottom: 1px;
            border-bottom: 1px solid #ddd;
            text-decoration: none;
        }

        .profile-info .contact i {
            display: inline-block;
            width: 20px;
            margin-right: 5px;
        }

.profile-name {
    font-family: Lato;
    font-weight: normal;
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 1.1;
}

.profile-position {
    font-size: 14px;
    line-height: 18px;
    font-weight: 300;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 10px;
}

/* Icons */
.fa {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.profile-office-card {
    cursor: pointer;
}

.fa-mobile {
    font-size: 1.4em;
}

h3.office-profile-position {
    font-size: 18px;
    font-weight: 200;
    margin-top: 10px;
}

@media only screen and (min-width:768px) {
    .profile-container:nth-of-type(4n) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 1020px) {
    .profile-container {
        width: 33.33%;
    }
}

@media only screen and (max-width: 800px) {
    .profile-container {
        width: 50%;
    }
}

@media only screen and (min-width: 551px) {
    .profile-info {
        height: 142px;
    }
}

@media only screen and (max-width:550px) {
    .profile-container {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
}





