/*--------------------------------------------------------*/
/*profile crud layout - main content*/
/*--------------------------------------------------------*/
.profile-crud-main-content{
    margin-top: 50px;
}
.profile-crud-main-content .panel .panel-body h3, .profile-crud-main-content .panel .panel-body form legend{
    margin-top: 0;
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}
/*--------------------------------------------------------*/
/*profile crud layout - main content*/
/*--------------------------------------------------------*/

/*--------------------------------------------------------*/
/*profile - person, organization*/
/*--------------------------------------------------------*/
/*profile common*/
.profile.navbar, .profile.navbar-default{
    margin-bottom: 0;
}
.profile-main-container .panel-default
{
    border-top-width: 1px;
    border-top-style: solid;
    border-right-width: 2px;
    border-right-style: solid;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-left-width: 1px;
    border-left-style: solid;
}
.profile-main-container .panel-default{
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}
.profile-main-container .panel-default>.panel-heading{
    border: none;
}
.profile-main-container .panel-heading h3{
    width: 85%;
    float: left;
}
.profile-main-container .panel-heading .panel-title-border{
    margin-top: 10px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}
.profile-banner{
    height: 340px;
    background-position: top center;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
/*     background-position: 50% 50%;*/
background-size: 100%;
}
.banner-overlay{
    background: url('../img/banner-overlay.png') bottom left repeat-x;
    border-bottom-color: rgba(0,0,0,.4);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, .25);
    border-top-color: rgba(0, 0, 0, .1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.profile-main-container .basic-information-view div{
    margin-bottom: 15px;
}
.icon-pop-over-update-cover{
    padding: 20px;
    position: absolute;
    top: 20px;
    left: 14px;
    z-index: 1;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}
.icon-pop-over-update-cover, .icon-pop-over-update-profile-picture{
    opacity: 0.4;
}
.icon-pop-over-update-cover a, .icon-pop-over-update-profile-picture a{
    display: block;
    cursor: pointer;
}
.icon-pop-over-update-cover:hover, .icon-pop-over-update-profile-picture:hover{
    opacity: 0.9;
}
.icon-pop-over-update-cover i{
    height: 25px;
    width: 30px;
}
.person-profile-container .profile-top-nav{
    position: absolute;
    top: -315px;
    right: 0;
    z-index: 1;
}
.profile-top-nav ul li.profile-top-nav-parent{
    margin-left: 10px;
}
.profile-top-nav ul li.profile-top-nav-parent a{
    padding-top: 10px;
    padding-bottom: 10px;
}
.profile-top-nav ul li.profile-top-nav-parent a i{
    margin-right: 5px;
}
.profile-main-container .panel-heading .panel-update{
    text-align: right;
}
/*profile common*/

/*person profile*/
.person-profile-container{
    position: relative;
}
.person-profile-container .profile-info{
    position: absolute;
    z-index: 7;
    top: -172px;
    left: 0;
}
.person-profile-banner-content .profile-picture{
    width: 300px;
    height: 300px;
    white-space: nowrap;
    text-align: center;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    position: relative;
    margin: -170px auto 0;
    overflow: hidden;
    z-index: 1;
}
.person-profile-banner-content .profile-picture .user-icon{
    vertical-align: middle;
    max-height: 300px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
    font-size: 300%;
    padding-top: 15%;
}
.profile-picture a:before {
    content:'';
    height:100%;
    display:inline-block;
    vertical-align: middle;
}
.person-profile-banner-content .profile-name h1{
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.person-profile-container .profile-primary-nav ul{
    max-width: 48%;
    margin: 0 auto;
    float: none;
}
.person-profile-container .profile-primary-nav .navbar-nav>li>a{
    padding-top: 0;
    padding-bottom: 20px;
}
.person-profile-container .profile-primary-nav .nav > li > a,
.organization-profile-container .profile-primary-nav .nav > li > a {
    padding-top: 10px;
    border-bottom-width: 5px;
    border-bottom-style: solid;
}
.person-profile-container .profile-primary-nav .nav > li > a:hover,
.person-profile-container .profile-primary-nav .nav > li > a:active,
.person-profile-container .profile-primary-nav .nav > li > a:active:focus,
.person-profile-container .profile-primary-nav .nav > li.active > a,

.organization-profile-container .profile-primary-nav .nav > li > a:hover,
.organization-profile-container .profile-primary-nav .nav > li > a:active,
.organization-profile-container .profile-primary-nav .nav > li > a:active:focus,
.organization-profile-container .profile-primary-nav .nav > li.active > a
{
    border-bottom-width: 5px;
    border-bottom-style: solid;
}
.person-profile-container .profile-primary-nav{
    margin-bottom: 70px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}
.person-profile-banner-content .icon-pop-over-update-profile-picture{
    width: 280px;
    padding: 12px;
    text-align: center;
    position: absolute;
    top: 250px;
    left: 14px;
    z-index: 2;
}
.person-profile-banner-content .icon-pop-over-update-profile-picture i{
    margin: 0 auto;
}
/*person profile*/

/*organization profile*/
.organization-profile-container .profile-name{
   padding-bottom: 15px;
    padding-top: 5px;

}
.organization-profile-container .organization-profile-banner-info{
    position: relative;
}
.organization-profile-container .profile-info{
    width: 100%;
    position: absolute;
    top: -200px;
    left: 0;
    z-index: 1;
}
.organization-profile-container .profile-picture{
    height: 300px;
    width: 100%;
    white-space: nowrap;
    text-align: center;
}
.organization-profile-container .helper, .person-profile-banner-content .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.organization-profile-container .profile-picture img, .person-profile-banner-content .profile-picture img{
    vertical-align: middle;
    max-height: 300px;
    max-width: 99%;
    margin-left: -4px;
    width: 98%;
    overflow: hidden;
}
.organization-profile-container .profile-info-name-nav{
    margin-top: 127px;
    background-color: rgba(255,255,255,0.3);
    position: relative;
}
.organization-profile-container .profile-info-name-nav h2{
    margin-top: 0;
}
.organization-profile-container .profile-primary-nav .nav > li > a{
    padding-top: 10px;
    padding-bottom: 10px;
}
.organization-profile-container .profile-content{
    margin-top: 120px;
}
.organization-profile-container .icon-pop-over-update-profile-picture{
    width: 89.5%;
    height: 52px;
    padding: 12px;
    position: absolute;
    bottom: 0;
    left: 15px;
    z-index: 1;
}
.organization-profile-container .icon-pop-over-update-profile-picture i{
    margin-left: 20px;
    margin-right: 25px;
}
/*organization profile*/

/*organization associator*/
.organization-profile-associator{
    padding-left: 30px;
}
.associator-block{
    width: 100px;
    height: 100px;
    margin: 15px;
    float: left;
}
/*organization associator*/
/*--------------------------------------------------------*/
/*profile - person, organization*/
/*--------------------------------------------------------*/

.profile-crud-main-content .panel .panel-body h3, .profile-crud-main-content .panel .panel-body form legend,
.profile-main-container .panel-heading h3, .profile-main-container .panel-heading,
.profile-main-container .icon-pop-over-update-profile-picture{
    text-transform: uppercase;
}