﻿* {
    box-sizing: border-box;
}
.three-col-profile {
    background: #000;
    padding: 20px 0;
}
.three-col-profile h2 {
    text-align: center;
    color: #fff;
}
.three-col-profile p {
    margin-bottom: 1em;
}
.three-col-profile-inner {
    width: 100%;
    margin: 10px auto;
    padding: 0 10px;
}
.three-col-profile-item {
    width: calc(100% - 30px);
    display: block;
    margin: 10px auto;
    position: relative;
    max-width: 500px;
}
@media (min-width: 500px) {
    .three-col-profile-item {
        width: calc(50% - 3px);
        display: inline-block;
        margin: 10px auto;
        position: relative;
        max-width: 500px;
        padding: 0 10px;
    }
}
.three-col-profile-item img {
    max-width: 100%;
}
.three-col-profile-item .location {
    color: #d81118;
    display: none;
}
.three-col-profile-item .profile-title {
    position: absolute;
    top: -10px;
    left: -10px;
    margin: 0;
    padding: 7px;
    background: #d81118;
    color: #fff;
    z-index: 10;
    font-size: 14px;
    display: none;
}
.three-col-profile-item .profile-title span {
    margin-left: 5px;
}
.three-col-profile-item .profile-title:hover {
    cursor: pointer;
}
.three-col-profile-item .profile-title-result {
    position: absolute;
    top: 20px;
    left: -10px;
    margin: 0;
    padding: 7px;
    background: #d81118;
    color: #fff;
    z-index: 10;
    font-size: 14px;
    display: none;
}

@media (min-width: 768px) {
    .three-col-profile-item {
        width: calc(33% - 3px);
        display: inline-block;
        margin: 10px auto;
        position: relative;
        max-width: 500px;
        padding: 0 10px;
    }
    .three-col-profile-inner {
        max-width: 1000px;
    }
    .three-col-profile-item .profile-title {
        font-size: 18px;
    }
    .three-col-profile-item .profile-title-result {
        font-size: 18px;
        top: 24px;
    }
}

    
