/* Profile page code */
.profile-wrap {
    max-width: 1130px;
    margin: 0 auto;
    margin-top: -5%;
    margin-bottom: 70px;
    overflow: hidden;
    padding: 0 30px;
    font-family: "Roboto";
}

.profile-wrap h1 {
    font-family: "Zilla Slab";
}

.prev_finalist {
    bottom: 25%;
    left: 2%;
    width: 8%;
}

.profile-decent-top {
    background-color: #fff;
    padding: 60px 60px;
    float: left;
    width: 100%;
    margin-bottom: 100px;
    position: relative;
}

.profile-box {
    padding-left: 0;
    float: left;
    width: 100%;
    margin-bottom: 30px;
}

.profile-box-img {
    float: left;
}

.profile-box-info {
    float: left;
    padding-left: 40px;
}

.profile-box-info h1 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 53px;
}

.profile-box-info p {
    color: #494f8b;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}

.profile-box-info p span {
    color: #1e1e1e;
    font-weight: normal;
    margin-left: 4px;
}

.profile-box-info a {
    color: #1e1e1e;
    font-weight: bold;
    font-size: 16px;
}

.profile-detail-holder {
    float: left;
    width: 100%;
}

.profile-detail-holder * {
    color: #000;
    line-height: 25px;
    font-size: 16px;
}

.profile-detail-holder p{ margin-bottom: 15px; }

.profile-detail-holder b, .profile-detail-holder strong{ font-weight: bold; }
.profile-detail-holder i, .profile-detail-holder em{ font-style: italic; }

.profile-decent-bottom {
    float: left;
    width: 100%;
}

.profile-decent-bottom p {
    margin-bottom: 20px;
    font-size: 16px;
}

.profile-decent-bottom .hr-before-violet {
    position: relative;
    padding-left: 45px;
    margin-top: 0px;
    margin-bottom: 30px;
    font-weight: 900;
    font-size: 21px;
}

.profile-decent-bottom .hr-before-violet::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 30px;
    height: 4px;
    background-color: #494f8b;
}

/* Social icons */
.social-sec {
    position: absolute;
    bottom: -20px;
    left: 60px;
    z-index: 1;
}

.social-sec #social-icons li {
    display: inline-block;
    margin: 0;
    list-style: none;
}

.social-sec #social-icons li div {
    color: #fff;
    font-size: 20px;
    text-align: center;
    transition: all 0.5s ease;
}

.social-sec #social-icons li a {
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 25px;
    padding: 11px 0 10px;
    background-color: #bcbaab;
    display: block;
}

.social-sec #social-icons li span {
    width: 120px;
    height: 20px;
    display: block;
    padding: 15px 0px;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.2em;
    text-align: center;
}

.profile-link {
    position: absolute;
    right: 60px;
    bottom: -20px;
    background: #494f8d;
    width: 230px;
    max-width: 100%;
}

.profile-link-icon {
    float: left;
    border-right: 1px solid #fff;
    color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 10px 0;
    font-size: 17px;
    margin-right: 15px;
}

.profile-link a {
    color: #fff;
    padding: 10px 10px 10px 0;
    display: block;
}

.profile-box-img #img {
    position: relative;
}

.profile-box-img #img::after {
    position: absolute;
    background: red;
}

.profile-box-img .bandeau {
    width: 170px;
    height: 25px;
    background: #cd841b;
    margin-top: -25px;
    margin-bottom: -15px;
    position: relative;
    text-align: center;
}

.profile-box-img .bandeau+.bandeau-special {
    display: none;
}

.profile-box-img .bandeau {
    display: none;
}

.profile-box-img .bandeau-special {
    width: 170px;
    height: 25px;
    background: #d8a73f;
    margin-top: -25px;
    position: relative;
    text-align: center;
    margin-bottom: -15px;
}

.profile-box-img .bandeau,
.profile-box-img .bandeau-special {
    display: none;
}

.profile-box-img .bandeau,
.profile-box-img .bandeau-special {
    font-family: 'Zilla Slab', serif;
    color: white;
    font-size: 18px;
    line-height: 24px;
    font-style: italic;
}

.profile-wrap .single-communique-prefix.left {
    width: -webkit-fill-available;
}

@media only screen and (min-width: 1350px) {
    .profile-wrap {
        max-width: 75%;
    }
}

@media only screen and (max-width: 1350px) {
    .prev_finalist {
        display: none;
    }

    .prev-resp {
        display: inline-flex !important;
        margin: -5% 3%;
    }
}

@media only screen and (max-width: 768px) {
    .prev-resp {
        margin: -5% 4%;
    }
}

@media only screen and (max-width: 475px) {
    .profile-wrap {
        margin-top: 0;
        max-width: 100%;
        padding: 0;
        overflow: initial;
        margin-bottom: inherit;
    }

    .profile-box-img img {
        margin-top: -3rem;
    }

    .profile-decent-bottom {
        float: left;
        width: 100%;
        padding: 0 30px;
    }

    .profile-box-img {
        margin-bottom: 30px;
    }

    .profile-box-info {
        padding-left: 0;
    }

    .profile-box-info h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .social-sec {
        display: none;
    }

    .profile-link {
        right: 0;
        left: 0;
        margin: auto;
    }

    .profile-decent-top {
        padding: 30px 20px 30px;
        padding-top: 0px;
        /*margin-top: -3rem;*/
    }

    .prev-resp {
        margin: -15% 7.5%;
    }

    .return-finalist {
        display: block;
        margin: 0 auto;
        line-height: 28px;
        font-size: 16px;
    }

    .return-finalist ul li.left:last-child {
        margin-left: 2%;
    }
}
