/* Main profile view */

.ForeignProfileView {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Profile preview (in chat detail) */

.ProfilePreview {
    position: absolute;
    width: 100%;
    height: 100px;

    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
}

.ProfilePreviewImage {
    position: absolute;
    top: 10px;
    left: 40px;
    width: 80px;
    height: 80px;

    border-radius: 40px;
    background-size: cover;

    border-style: solid;
    border-width: 2px;
    border-color: white;
    box-shadow: 0px 0px 3px #FFFFFF
}

.ProfilePreviewTitleLabel {
    position:absolute;
    left: 140px;
    right: 10px;
    top: 0px;
    height: 50px;

    font-size: 30px;
    white-space:nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Views in the main profile view */

.ProfileLeftView, .ProfileRightView {
    position: relative;
    float: left;
    height: auto;

    margin-left: 5px;
    margin-right: 5px;
    width: 48%; /* IE8 */
    width: calc((100vw - 520px) / 2);
}

.BackButtonLine {
    position: relative;

    width: 100%;
    height: 54px;

    color: #808080;
    padding-left: 40px;
    background: white;
    cursor: pointer;

    font-size: 18px;
    line-height: 56px;
}

.BackButtonArrow {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 15px;
    height: 24px;

    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/left_arrow.png', sizingMethod='scale')";
    background-image: url('../images/left_arrow.png'), linear-gradient(transparent, transparent);
    background-size: contain;
}


.ProfileImageContainer {
    position: relative;
    left: 0px;
    top: 0px;
    width: 100%;
    padding-top: 100%; /* aspect-ratio */
    /*max-width: 515px;*/
    /*max-height: 515px;*/
    float: left;

    border-width: 1px;
    border-color: #666666;
    border-color: rgba(102, 102, 102, 0.5);
    box-shadow: 1px 1px 3px #CCCCCC;
}

.ProfileImage {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
}

.ProfileImage:before {
    /* Add gradient on top of the profile image */
    content: "";
    position: absolute;
    width : 100%;
    height: 100%;

    background: -webkit-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0.6));
    background: -moz-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0.6));
    background: -ms-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0.6));
    background: -o-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0.6));
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0), rgba(0,0,0,0.6));
}

.ProfileTitleLabel {
    position:absolute;
    left: 16px;
    bottom: 22px;
    right: 20px;
    height: 44px;

    font-size: 36px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: default;
}

.ProfileSubtitleLabel {
    position: absolute;
    left: 16px;
    bottom: 8px;
    right: 20px;
    height: 28px;

    font-size: 24px;
    cursor: default;
}

.ProfilePreviewTitleLabel, .ProfileTitleLabel, .ProfileSubtitleLabel {
    color: white;
    text-shadow: 0px 1px 2px #000000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Glow(Strength=2, Color=#404040)";
}

.ProfileButtonBar {
    position: relative;
    width: 100%;
    height: 120px;
    float: left;

    background: white;
}

.ProfileLikeButton {
    position: absolute;
    left: 10px;
    top: -20px;
    width: 62px;
    height: 62px;

    cursor: pointer;
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/ic_like_inactive@2x.png', sizingMethod='scale')";
    background-image: url('../images/ic_like_inactive@2x.png'), linear-gradient(transparent, transparent);
    background-size: cover;
}

.ProfileKissButton {
    position: absolute;
/*    right: 146px; */
    right: 78px;
    top: -20px;
    width: 62px;
    height: 62px;

    cursor: pointer;
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/ic_kiss@2x.png', sizingMethod='scale')";
    background-image: url('../images/ic_kiss@2x.png'), linear-gradient(transparent, transparent);
    background-size: cover;
}

.ProfilePresentsButton {
    position: absolute;
    right: 78px;
    top: -20px;
    width: 62px;
    height: 62px;

    cursor: pointer;
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/ic_gifts@2x.png', sizingMethod='scale')";
    background-image: url('../images/ic_gifts@2x.png'), linear-gradient(transparent, transparent);
    background-size: cover;
}

.ProfileChatButton {
    position: absolute;
    right: 10px;
    top: -20px;
    width: 62px;
    height: 62px;

    cursor: pointer;
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/ic_message@2x.png', sizingMethod='scale')";
    background-image: url('../images/ic_message@2x.png'), linear-gradient(transparent, transparent);
    background-size: cover;
}

.AboutProfileButtons {
    position: relative;
    width: 100%;
    height: 56px;
    float: left;

    background: white;
}

.AboutProfileButton {
    position: relative;
    width: 30%; /* IE8 */
    width: calc((100% - 8px) / 3);
    height: 100%;
    float: left;
    line-height: 56px;

    color: #808080;
    font-size: 18px;
    text-align: center;

    border-bottom-style: solid;
    border-bottom-width: 3px;
    border-bottom-color: #E0E0E0;
    margin-right: 2px;
 
    cursor: pointer;   
}

.selected.AboutProfileButton {
    border-bottom-color: #e22a4c;
}

.AboutProfileButton {
    -moz-user-select:none;
    -webkit-user-select:none;
    -o-user-select:none;
    -ms-user-select:none;
    user-select: none;
}

.AboutProfileContainer {
    position: relative;
    width: 100%;
    height: auto;
    float: left;
}

.AboutContainer {
    position: relative;
    width: 100%;
    height: auto;
    background: white;
    float: left;
}

#aboutContainer0 {
    padding: 8px 4px 6px 8px;
}
#aboutContainer1 {
}
#aboutContainer2 {
}

.ProfileGalleryImage {
    position: relative;
    width: 49%;
    padding-top: 49%; /* aspect ratio */
    float: left;

    background: #EEEEEE;
    background-size: cover;
    display: inline-block;

    margin-right: 2px;
    margin-bottom: 2px;
}

.PictureAddButtonIcon {
    position: absolute;
    width: 40%;
    height: 40%;
    left: 50%;
    margin-left: -20%;
    top: 50%;
    margin-top: -20%;

    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/ic_add_img@2x.png', sizingMethod='scale')";
    background-image: url('../images/ic_add_img@2x.png'), linear-gradient(transparent, transparent);
    background-size: cover;
}

.ProfileAboutFieldContainer {
    width: 100%;
    float: left;

    color: #808080;
  
    background: #EEEEEE;
    padding: 12px;
    margin-top: 20px;
    margin-bottom: 12px;
}
.ProfileAboutField {
    font-size: 16px;
    color: #808080;
}
.ProfileAboutInput {
    width: 100%;
    max-width: 100%;
    height: 100%;

    font-size: 16px;
    color: #808080;
}

.ProfileWantedItems {
    width: 100%;
    float: left;
}
.WantedItem {
    position: relative;
    width: 100%;
    float: left;
    height: 44px;

    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #F0F0F0;
}
.WantedItemEdit {
    cursor: pointer;
}
.WantedItemEdit:hover {
    box-shadow: 1px 1px 5px #C0C0C0;
}
.WantedItemTitleLabel {
    position: absolute;
    top: 4px;
    height: 16px;
    left: 44px;
    right: 0px;

    line-height: 16px;
    font-size: 12px;
    color: #808080;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.WantedItemSubTitleLabel {
    position: absolute;
    bottom: 0px;
    height: 28px;
    left: 44px;
    right: 0px;

    line-height: 28px;
    font-size: 18px;
    color: #808080;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.WantedItemIcon {
    position: absolute;
    left: 8px;
    top: 8px;
    height: 28px;
    width: 28px;

    background-size: cover;
}

.WantedItemArrowIcon {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 15px;
    height: 24px;

    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/accessory_arrow.png', sizingMethod='scale')";
    background-image: url('../images/accessory_arrow.png'), linear-gradient(transparent, transparent);
    background-size: contain;
}

.ProfileSocialLikesLabel {
    width: 100%;
    float: left;

    margin-top: 20px;
    margin-bottom: 12px;
    padding-left: 12px;
    padding-right: 12px;

    color: #808080;
    cursor: default;
    font-size: 16px;
}
.SocialLikes {
    width: 100%;
    height: 112px;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;

    float: left;
}
.SocialLike {
    position: relative;
    width: 96px;
    height: 100px;

    margin-left: 2px;
    margin-right: 2px;
    overflow: hidden;
    display: inline-block;
}
.SocialLikeImage {
    position: absolute;
    top: 0px;
    left: 10px;
    width: 76px;
    height: 76px;

    background-size: cover;
    border-radius: 38px;
}
.SocialLikeTitleLabel {
    position: absolute;
    top: 80px;
    left: 0px;
    width: 100%;
    height: 20px;

    font-size: 13px;
    line-height: 13px;
    color: #808080;

    white-space: nowrap;
    text-align: center;
    cursor: default;
}

.ProfileSocialTagsLabel {
    width: 100%;
    float: left;
    margin-top: 8px;
    margin-bottom: 12px;
    padding-left: 12px;

    color: #808080;
    cursor: default;
    font-size: 16px;
}
.SocialTags {
    width: 100%;
    margin: 0px 0px 8px 12px;
    float: left;
    overflow: hidden;
}
.SocialTag {
    position: relative;
    height: 24px;

    border-style: solid;
    border-width: 1px;
    border-color: #e12a4c;
    border-radius: 3px;
    padding: 4px;
    display: inline-block;

    margin: 0px 6px 6px 0px;
    float: left;
}
.SocialTagLabel {
    height: 24px;
    line-height: 14px;
    color: #e12a4c;

    white-space: nowrap;
    cursor: default;
}
                            
.ForeignProfilePictureButton {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 32px;
    height: 32px;

    background-color: rgba(0, 0, 0, 0.25);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#40000000', endColorstr='#40000000')";
}
.ForeignProfilePictureButton:hover {
    cursor: pointer;
}

.ForeignProfileUserMenuButton {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 32px;
    height: 32px;

    background-color: rgba(0, 0, 0, 0.25);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#40000000', endColorstr='#40000000')";
}
.ForeignProfileUserMenuButton:hover {
    cursor: pointer;
}

.PictureButtonIcon {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 20px;
    height: 20px;

    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/ic_camera@2x.png', sizingMethod='scale')";
    background-image: url('../images/ic_camera@2x.png'), linear-gradient(transparent, transparent);
    background-size: cover;
}

.MenuButtonMenuIcon {
    position: absolute;
    right: 13px;
    top: 6px;
    width: 5px;
    height: 20px;

    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/ic_menu@2x.png', sizingMethod='scale')";
    background-image: url('../images/ic_menu@2x.png'), linear-gradient(transparent, transparent);
    background-size: contain;
}

.ForeignProfileMenu {
    position:absolute;
    width: 240px;
    height: auto;
    left: 0px;
    top: 32px;
    display:none;
    z-index: 9;

    background: white;
    box-shadow: 0px 0px 3px #CCCCCC;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0px 0px 12px -1px rgba(56, 56, 56, 1);
}

.TopDivider {
    position: relative;
    height: 1px;
    width: 100%;
    background: #DDDDDD;
    visibility: hidden;
}

div#userMenu.ForeignProfileMenu {
    left: auto;
    right: 0px;
    width: 240px;
    text-align: right;

    border-top-left-radius: 4px;
    border-top-right-radius: 0px;
}

.OnlineIndicator {
    margin-left: 5px;
}

.OnlineIndicatorHint {
    background-color: darkgray;
    font-size: 10px;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 3px;
    visibility: hidden;
}

.OnlineIndicator:hover + label.OnlineIndicatorHint {
    visibility: visible;
}

/* Fonts */

.ProfilePreviewTitleLabel, .ProfileTitleLabel, .ProfileSubtitleLabel, .WantedItemSubTitleLabel {
    font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 300;
}

.AboutProfileButton, .ProfileAboutField, .ProfileAboutInput, .WantedItemTitleLabel, .ProfileSocialLikesLabel, .SocialLikeTitleLabel, .ProfileSocialTagsLabel, .SocialTagLabel, .BackButtonLine {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 300;
}

/* Responsive */

@media screen {
    .ProfilePreview:before {
        content: "";
        position: absolute;
        width : 100%;
        height: 100%;
        background: inherit;

        /* Blur effect in profile preview background */
        filter:         blur(10px);
        -webkit-filter: blur(10px);
        -ms-filter:     blur(10px);
        -o-filter:      blur(10px);

        transform:         scale(1.25);
        -moz-transform:    scale(1.25);
        -webkit-transform: scale(1.25);
        -ms-transform:     scale(1.25);
        -o-transform:      scale(1.25);
    }
}

@media screen and (max-width: 1300px) {
    .ProfileLeftView, .ProfileRightView {
        width: calc(100vw - 510px);
    }
}

@media screen and (max-width: 1023px) {
    .ProfileLeftView, .ProfileRightView {
        width: calc(100vw - 480px);
    }
    /*.ProfileImageContainer {*/
        /*width: calc(100vw - 325px);*/
        /*height: calc(100vw - 325px);*/
        /*max-width: none;*/
        /*max-height: none;*/
    /*}*/
    .ProfileButtonBar {
        height: 130px;
    }

    .TopDivider {
        visibility: visible;
    }
}

@media screen and (max-width: 767px) {
    .ForeignProfileView {
        position: relative;
        top: 0px;
        bottom: 56px;
        height: auto;
        padding: 0;
    }

    .ProfileLeftView, .ProfileRightView {
        width: 100%;
        box-shadow: none;
        min-height: 320px;
        background-color: white;
    }
    .ProfileImageContainer {
        width: 100vw;
        height: 100vw;
    }
    .ProfilePreviewImage {
        left: 8px;
    }
    .ProfilePreviewTitleLabel {
        left: 100px;
    }
    .WantedItemEdit:hover {
        box-shadow: none;
    }

    .ProfilePreview {
        position: relative;
        float: left;
    }
}

