﻿#ifPrint {
    display: none;
}

.profile-box {
    position: relative;
    float: left;
    width: 50%;
    background: #fff;
    margin-bottom: 30px;
    margin-top: 30px;
    padding-left: 15px;
    padding-right: 15px;
}

.profile-box-inner {
    position: relative;
    display: flex;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.profile-clickable {
    display: none;
}

.profile-image-outer {
    width: 33.33333333%;
}

.profile-image {
    line-height: 0px;
    width: 100%;
    /*height: 100%;*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.profile-image:before {
    display: block;
    content: " ";
    padding-top: 127%;
}

.profile-image-icon {
    position: relative;
    line-height: 0px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding-bottom: 125%;
    color: #888888;
    background-color: #fff;
    color: #d1d1d1;
}

.profile-info {
    position: relative;
    width: 67.66666667%;
    text-align: left;
    /*height: 231px;*/
}

h2.profile-name {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;
    text-align: left;
    padding: 5px 15px;
    background-color: #000;
    color:#f00;
}

.profile-name a {
    color: #f00;
    text-decoration: none !important;
}

    .profile-name a:hover {
        text-decoration: none;
    }

.profile-position {
    font-size: 18px;
    font-weight: 300;
    color: #37424b;
    padding: 15px;
    padding-bottom: 5px;
}

.contact,
.contact a {
    color: #888;
}

.contact {
    font-size: 15px;
    line-height: 1.5;
    color: #37424b;
    padding-left: 15px;
    padding-top: 10px;
}

    .contact a {
        padding-bottom: 1px;
        border-bottom: 1px solid #ddd;
        text-decoration: none;
    }

        .contact a:hover {
            color: #555;
        }

    .contact i {
        display: inline-block;
        width: 20px;
        margin-right: 5px;
    }

        .contact i.fa-mobile {
            font-size: 1.4em;
        }

.about {
    line-height: 1.7;
    color: #888;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #e6e6e6;
}

.profile-about {
    font-size: 15px;
    line-height: 22px;
    margin-top: 20px;
}

.profile-about a {
    color: #f00;
}

.profile-abouta.morelink {
    text-decoration:none;
    outline: none;
}

.profile-about .morecontent span {
    display: none;
}

.profile-about .comment {
    width: 400px;
    background-color: #f0f0f0;
    margin: 10px;
}

.profile-box .social-transparent {
    text-align: center;
    background-color: #f8f8f8;
}

    .profile-box .social-transparent i {
        margin: 1em 5px;
    }

.profile-box .profile-link {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: center;
    background: #37424b;
    padding: 10px 15px;
    background: none;
}

.profile-box a.more-details-btn {
    position: relative;
    color: #fff;
    font-weight: 400;
    text-decoration: none;
    margin-top: 20px;
    transition: none;
    margin: 0 auto;
    background-color: #37424b;
    padding: 5px 10px;
    background: none;
    color: #37424b;
}

.profile-box a.more-details-btn:hover {
    color: #f00;
}

/* PROFILE TYPE */
.profile-type.profile-box {
    width: 100%;
}

.profile-type .profile-box-inner {
    border: none;
    box-shadow: none;
    border-radius: unset;
}

.profile-type .profile-image-outer {
    width: 50%;
    padding-right: 10px;
}

.profile-type .profile-info {
    width: 70%;
    padding: 15px;
    padding-top: 0;
}

.profile-type h2.profile-name {
    display: inline-block;
    color: #111;
    background: none;
    padding: 0;
    padding-bottom: 3px;
    border-bottom: 1px solid #f00;
    margin-bottom: 20px;
}

.profile-type .profile-position {
    padding: 0;
    margin-bottom: 30px;
}

.profile-type .contact,
.profile-type .contact a {
    color: #37424b;
    padding: 5px;
}


@media only screen and (min-width: 1061px) and (max-width: 1130px) {
    h2.profile-name {
        font-size: 22px;
        line-height: 1.2;
    }

    .profile-position {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .contact {
        font-size: 14px;
    }
}

@media only screen and (min-width: 1011px) and (max-width: 1060px) {
    h2.profile-name {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .profile-position {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .contact {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1010px) {
    .profile-box {
        width: 100%;
        float: none;
    }

    .profile-image-outer {
        width: 20%;
    }

    .profile-info {
        width: 80%;
    }
}

@media only screen and (max-width: 845px) {
    .profile-box {
        width: 50%;
        float: left;
    }

    .profile-clickable {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 23;
    }

    .profile-image-outer {
        width: 100%;
        padding: 0;
    }

    .profile-info {
        width: 100%;
        text-align: center;
    }

    h2.profile-name {
        font-size: 18px;
        text-align: center;
    }

    .profile-position {
        font-size: 14px;
        line-height: 1.2;
    }
}

@media only screen and (max-width: 690px) {
    .profile-box {
        width: 50%;
    }
}

@media only screen and (max-width: 510px) {
    .profile-box {
        width: 100%;
    }
}
