.profile {
    margin: 17px 0;
}

.profile .profileR .boxB{
    background: url("../images/tpl2/profileBg.png") repeat-x left top #f1f1f1;
    padding: 0;
}

.profile .profileR .boxB, .profile .profileR, .profileClosed{
    width: 470px;
}
.profile .profileR {
    padding-right: 10px;
}

.profile .profileC {
    padding-left: 265px;
}

.profileClosed {
    margin: 10px auto;
}

.profileClosed .profile{
    border: 1px solid #dcdcdc;
    border-radius:3px;
    padding: 0;
}

.profile .info, .profile .full{
    background: url("../images/tpl2/profileBg.png") repeat-x left top #f1f1f1;
    width: 100%;
    position: relative;
}

.profile .badges-list {
    position: absolute;
    right: 4px;
    top:10px;
}

    .profile .-watcher {
        display: block;
        margin-bottom: 10px;
        background: url(../images/tpl2/userWatcher.png) no-repeat;
        width: 100px;
        height: 100px;
    }

    .profile .verified {
        display: block;
        margin-bottom: 10px;
        background: url(../images/tpl2/userReal.png?2);
        width: 100px;
        height: 100px;
    }

    /*.profile .hair-badge {
        display: block;
        margin-bottom: 10px;
        background: url(../images/tpl2/hair-badge.png);
        width: 100px;
        height: 100px;
    }*/

.profile .info {
    border-bottom: 1px solid #dcdcdc;
    padding: 9px;
    border-radius: 3px 3px 0 0;
}

.profile .info .moderator {
    position: absolute;
    bottom: 20px;
    right: 7px;
    width: 101px;
    height: 101px;
    background: url(../images/tpl2/userReviewer.png) no-repeat;
}

.profile .info .moderator1 {
    background: url(../images/tpl2/userReviewer1.png) no-repeat;
}

.profile .info .moderator-reg {
    background: url(../images/tpl2/userReviewerReg.png) no-repeat;
}

.profile .info .moderator-chief {
    background: url(../images/tpl2/userReviewerChief.png) no-repeat;
}

.profile .info .moderator-1m {
    background: url(../images/tpl2/userReviewer1M.png) no-repeat;
}

.profile .info .moderator-1m-r {
    background: url(../images/tpl2/userReviewer1MR.png) no-repeat;
}

.profile .info .moderator-5m {
    background: url(../images/tpl2/userReviewer5M.png) no-repeat;
}

.profile .info .moderator-tom-tee {
    background: url(../images/tpl2/userReviewerTomTee.png) no-repeat;
}

.profile .info .types {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 30px;
}

.profile .info .types span {
    display: block;
    height: 10px;
}

.profile .info .types .icon {
    width: 29px;
    height: 29px;
}

.profile .full td .about {
    letter-spacing: normal;
    line-height: normal;
    /* For Firefox */
    overflow-wrap: break-word;

    /* For Chrome and IE */
    word-wrap: break-word;

    max-width: 450px;
}

.profile .full td .about a {
    text-decoration: underline;
}

.profile .full td .about img{
    max-width: 452px;
}

.profileClosed h3 {
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    color: #5d5d5d;
}

.profileClosed .info {
    border: none;
}

.profile .online {
    color: #77b81a;
    font-weight: bold;
}

.profile .web {
    text-decoration: underline;
}
.profile a.web:visited {
    color: #2f2f2f;
}

.profile .info .thumb {
    width: 158px;
    border: 1px solid #dcdcdc;
    border-radius:3px;
}

.profile .info .thumb a.avatar {
    font-size: 10px;
    color: #2F2F2F;
    border: none;
    margin: 0 auto;
    width: 100%;
    line-height: 25px;
}

.thumb a.avatar {
    text-decoration: underline;
}

.profile .info .thumb a, .profile .info .thumb span {
    display: inline-block;
    height: 26px;
    width: 29px;
    line-height: 26px;
}

.profile .info .thumb .img{
    position: relative;
    height: 150px;
    width: 150px;
    padding: 3px;
}

.profile .info .thumb img {
    height: 150px;
    width: 150px;
}

.profile .info .thumb .edit{
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    padding: 4px 5px 6px 5px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background-color: #efefef;
}

.profile .info .thumb .edit:hover{
    background-color:  #f7f7f7;
}


.profile .info .icons td {
    border-top: 1px solid #dcdcdc;
    border-left: 1px solid #dcdcdc;
    text-align: center;
}

.profile .info .icons td.first {
    border-left: none;
}

.profile .info .level {
    text-align: center;
    color: #FFF;
    background-color: #9f9f9f;
    position: relative;
    height: 13px;
}

.profile .info .level div {
    position: absolute;
    top: 0;
    left: 0;
    height: 13px;
    background: url(../images/tpl2/profileLevel.gif) no-repeat 0 0;
}

.profile .info .level span {
    display: block;
    text-align: center;
    margin: 0 0 0 -30px;
    padding: 0;
    font-size: 10px;
    line-height: 13px;
    height: 13px;
    position: absolute;
    left: 50%;
    top: 0;
    width: 60px;
}

.profile .thumb .iconL {
    margin-top: 5px;
}

.profile .info .title {
    text-shadow: 0 1px #f8f8f8;
    text-align: center;
    color: #505050;
}

.profile .info .title h2 {
    font-size: 15px;
    margin-bottom: -2px;
    margin-top: -4px;
}

.profile .info .status {
    font-size: 11px;
    padding-top: 6px;
    width: 260px;
    overflow: hidden;
}

.profile .info .rank {
    font-size: 10px;
    text-align: center;
    line-height: 10px;
}
.profile .info .rank span {
    text-shadow: 0 1px #f8f8f8;
    color: #f5381f;
    font-weight: bold;
}

.profile .info .last {
    font-style: italic;
    color: #808080;
    font-size: 10px;
    padding-bottom: 1px;
}

.profile .breff {
    font-size: 12px;
    line-height: 20px;
    padding-left: 9px;
}

.profile .breff td{
    line-height: 17px;
    padding: 4px 2px 1px 0;
}

.profile .breff tr, .profile .full tr{
    background-image: url('../images/tpl2/profileLine.png');
    background-repeat: no-repeat;
    background-position: -72px top;
}
.profile .breff tr.first, .profile .full tr.first{
    background: none;
}

.profile .full tr{
    background-position: 0 bottom;
}

.profile .breff span, .profile .full span  {
    color: #808080;
}

.profile .full span  {
    white-space: nowrap;
    padding-right: 5px;
}

.profile .breff tr.title {
    background: none;
    height: 62px;
    line-height: normal;
}

.profile .full {
    border-radius: 0 0 3px 3px;
    padding: 4px 9px 0 9px;
    font-size: 12px;
    width: 450px;
    overflow: hidden;
    min-height: 109px;
}

.profile .full tr.br td{
    padding-top: 20px;
}

.profile .full td {
    line-height: 16px;
    padding-bottom: 10px;
    padding-top: 7px;
}

.profile .full .iconGender {
    margin-bottom: -2px;
    margin-top: -5px;
}

.profile .full .flag {
    margin: -5px 0 -2px 3px;
}

.profile .gItems {
    width: 100%;
}

.profile .full .close .gItems {
    display: none;
}

.profile .gTitle {
    font-weight: bold;
    color: #2F2F2F;
    font-size: 12px;
    line-height: 25px;
    background-image: url("../images/tpl2/profileLine.png");
    background-position: -72px bottom;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-top: 12px;
}

.profile .group .toggle{
    background-position: -185px -1px;
    width: 5px;
    height: 3px;
    margin: 2px 3px;
}

.profile .group.close .toggle{
    background-position: -185px -6px;
}

.profile .group.gAbout tr{
    background: none;
}

.profile .tabs .tab {
    padding-bottom:3px;
    padding-top: 6px;
}

.profile .tabs .head {
    height: 26px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.profile .tabs .head a {
    font-size: 12px;
    height: 23px;
    line-height: 23px;
    margin-right: 4px;
}

.profile .tabs .head a.sel {
    height: 26px;
    line-height: 26px;
}

.profile .empty {
    text-align: center;
    padding: 10px;
    margin-top: 9px;
}

.profile .tab .empty {
    text-align: center;
    padding: 15px;
    margin-top: 0;
}

.profile .box, .profile .boxB {
    margin-bottom: 10px;
    width: 518px;
}

.vList .video {
    margin: 4px 4px 10px 4px;
}

.gList .gallery {
    margin: 5px;
}

.vList .more {
    margin-top: 0 !important;
}

.profile .more {
    background: url("../images/tpl2/profileShadow.png") center 0 no-repeat;
    height: 37px;
    padding-top: 15px;
    margin-top: 0;
    text-align: center;
}

.profile .more a {
    background-image: url("../images/tpl2/bgSpriteV2.png");
    background-position: 0 -187px;
    background-repeat: repeat-x;
    background-color: #E0E0E0;
    display: inline-block;
    border: 1px solid #CECECE;
    border-radius: 3px 3px 3px 3px;
    color: #666666;
    font-size: 12px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    margin: 0 3px 0 3px;
    padding: 0 13px;
    text-decoration:none;
}

.profile .more a:hover {
    background-position: 0 -231px;
    background-color: #f1f1f1;
}

.profile .more .icon {
    float: right;
    margin: 13px 0 0 10px;
}

.profileR #commentBox{
    width: 472px;
}

.fList {
    margin-left: 3px;
    margin-top: 3px;
}

.fList .user {
    min-height: 123px;
    margin: 4px;
    height: 126px;
}

.profile .gr .edit {
    float: right;
    margin-top:-1px;
    margin-right: 5px;
}

.profile .gr .edit a {
    color: #FFF;
    background: none;
    font-size: 11px;
    text-shadow: 0 1px #000000;
    white-space: nowrap;
    width: auto;
    height: auto;
    line-height: 24px;
    float: none;
    display: inline;
    padding: 0;
    margin: 0;
}

.profile .gr .edit a:hover {
    color: #d5d5d5 !important;
}


.profile .gr .edit b {
    display: inline-block;
    border-radius: 2px;
    height: 3px;
    width: 3px;
    background-color: #d5d5d5;
    margin: 0 9px 2px 9px;
}


.profile .gr .subscribe {
    float: right;
    background-image: url(../images/tpl2/subscribeBg.png);
    background-repeat:repeat-x;
    background-position: 0 -34px;
    color: #FFF !important;
    text-align: center;
    line-height: 19px;
    height: 20px;
    padding: 0 6px;
    border-radius: 2px;
    font-size: 10px;
    width: auto;
    text-shadow: none;
    margin: 6px 1px 0 0;
    cursor: pointer;
}

.profile .gr .subscribe:hover, .profile .gr .subscribed {
    color: #000 !important;
    background-position: 0 0;
}

.profile .gr .subscribed {
    cursor: default;
}

.profile .my {
    text-align: center;
    font-size: 11px;
    padding: 4px 5px 7px;
    color: gray;
    line-height: 15px;
}

.profile .my2 {
    padding-top: 18px;
}

.profile .my a {
    text-decoration: underline;
}

.profile .my a:visited {
    color: #2F2F2F;
}

#statusChange {
    font-size: 10px;
    text-decoration: underline;
}

#statusPop .btnBig{
    margin: 5px;
    padding: 0 13px;
}

#statusPop .edit{
    background: none repeat scroll 0 0 #F9F9F9;
    border: 1px solid #D9D9D9;
    border-radius: 3px 3px 3px 3px;
    color: #666666;
    padding: 5px;
    resize: none;
    width: 97%;
}

.photoIntro {
    padding: 9px 0 6px 0;
}

.onlineHint {
    position: absolute;
    text-align: center;
    right: 0;
    top: -25px;
    white-space: nowrap;
    width: auto;
}

.onlineHint a{
    background: url(../images/tpl2/modelOnlineBg.png) repeat-x ;
    border-radius: 3px 3px 3px 3px;
    font-size: 10px;
    padding: 5px;
    color: #FFF;
    display: block;
}

.onlineHint a:hover{
    color: #EEE !important;
}
.onlineHint .arrow{
    background: url(../images/tpl2/modelOnlineArrow.png) no-repeat right;
    height: 5px;
    margin-right: 11px;
}

.box .edit-retired {
    padding: 50px 210px;
    text-align: center;
}

.box .edit-retired img {
    opacity: 0.2;
}

.box .edit-retired .edit-retired-text {
    display: block;

    margin: 10px 0 20px;

    line-height: 1.43;
    font-size: 14px;

    color: #494949;
}

.box .edit-retired .edit-retired-button {
    display: inline-block;

    width: auto;
    height: 30px;

    padding: 0 15px;

    border-radius: 5px;

    background-color: #e34449;
    color: #fff !important;

    font-size: 14px;
    font-weight: bold;
    line-height: 30px;

    cursor: pointer;
}

#edit {
    padding: 0;
}

.editItem, .editHeader {
    border-bottom: 1px solid #dedede;
    border-top : 1px solid #eeeeee;
    text-shadow: 0 1px #FFF;
}

.editItem {
    padding: 10px;
}

.editHeader {
    background: url("../images/tpl2/filterBg.png") repeat-x;
    line-height: 28px;
    height: 30px;
    font-size: 12px;
    color: #f25109;
    padding-left: 10px;
    font-weight: bold;
}

.editHeader div{
    float: right;
    color: #979797;
    font-size: 10px;
    padding-right: 10px;
}


.editItem .col1{
    width: 167px;
}

.editItem .col2{
    width: 60px;
}

.editItem .col3{
    width: 60px;
}

.editItem .col4{
    width: 120px;
}

.editItem .col5{
    width: 120px;
}

.editItem label {
    font-weight: bold;
    color: #676767;
    padding-right: 10px;
    white-space: nowrap;
}

#content .editItem td {
    vertical-align: middle;
    line-height: 40px;
}

#content .editItem td.vt {
    padding-top: 3px;
    vertical-align: top;
    line-height: normal;
}

#content .editItem td a {
    font-weight: bold;
}

.inp {
    border: 1px solid #D9D9D9;
    border-radius: 3px 3px 3px 3px;
    color: #666666;
    padding: 5px;
    text-shadow: 0 1px #FFFFFF;
    width: 97%;
}

select.inp {
    width: 100%;
    height: 24px;
    padding: 0 0 0 5px;
}

#editor {
    margin-top:10px;
}

#editor_acts .btnSmall {
    margin: 0 6px 1px 0;
}

#changeAvatar {
    margin-left: 0;
}

#avatarList {
    height: 150px;
    margin-bottom: 10px;
}



#avatarList div{
    float: left;
    margin-right: 10px;
    border: 1px solid #cecece;
}

#avatarB {
    width: 150px;
    height: 150px;
}

#avatarS {
    width: 80px;
    height: 80px;
}

#avatarS img, #avatarB img {
    width: 100%;
    height: 100%;
    display: block;
}


.editItem #avatarS {
    margin-top: 70px;
}

.editItem a {
    text-decoration: underline;
}

#introList {
    margin-top: 14px;
}

#introList .introNo {
    background: url(../images/tpl2/nopic.b.png) repeat-x center center;
    border: 1px solid #cecece;
}

#introList .introNo, #introList .introPhoto a, #introList .introPhoto img, #introList .introPhoto iframe{
    display: block;
    width: 160px;
    height: 120px;
    margin: 0;
    padding: 0;
}

#introList .btnBig {
    text-align: center;
    padding: 0 9px;
    margin: 0;
}

.editItem .email {
    position: relative;
}

.editItem .email .icon{
    position: absolute;
    right: 5px;
    top: 17px;
}

#content .editItem .emailInvalid{
    color: #F5381F;
    line-height: normal;
    font-size: 10px;
}

#content .editItem .emailInvalidMess{
    display: none;
    line-height: normal;
    color:#090;
    font-size: 10px;
}

#content .editItem .emailChange {
    line-height: normal;
    font-size: 10px;
    text-decoration: underline;
    display: block;
    float: right;
}

.editItem #langList td {
    line-height: 25px;
}

#langList label {
    font-weight: normal;
}

#langList label.b {
    font-weight: bold;
}

#langList .inp {
    padding: 0 3px;
    font-size: 12px;
}

#editVal {
    float: right;
    width: 156px;
    background: #676767;
    border-radius:3px;
    height: 21px;
    line-height: 22px;
    text-align: center;
    position: relative;
    margin-top: 5px;
    overflow: hidden;
}

#editVal div{
    background: url(../images/tpl2/statusRed.png) 0 0 repeat-x;
    width: 100px;
    height: 21px;
}

#editVal span{
    top: 0;
    font-weight: bold;
    font-size:12px;
    text-shadow: none;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    width: 60px;
    color: #FFF;
}

#body {
    width: 90%;
    height: 300px;
    resize:vertical;
}

#avatarPop {
    width: 800px;
}

#avatarPop iframe {
    width: 100%;
    height: 465px;
}

#giftPop {
    width: 800px;
}

#giftPop iframe {
    width: 100%;
    height: 575px;
}

small {
    font-size: 10px;
}

#pIntro .photoIntro{
    min-height: 200px;
    background: url("../images/tpl2/loadTab.gif") no-repeat center center #EBEBEB;
    display: block;
}

#pIntro .loaderAjax, #pIntro iframe, #pIntro .pr {
    width:464px;
    height:380px;
}

#website {
    line-height: normal;
}

#website input {
    width: 470px;
}

#websiteBox small {
    color: #777;
}

#websiteBox th label{
    display: block;
    line-height: 45px;
}

.emailInvalid .iconHint {
    margin: 0 0 8px 6px;
    vertical-align: bottom;
}

.editItem .btnBig {
    height: 26px;
    font-size: 11px;
    line-height: 25px;
    margin: 4px 0 0 9px;
    padding: 0 11px;
}

.unitsMetric.unitSwitch, .unitsImperial.unitSwitch {
    margin-left: 5px;
}


#websiteBox .webSwitch {
    margin-bottom: 4px;
}

.editItem input[type="radio"] {
    margin-bottom: 4px;
}


#giftBox {
    height: 82px;
    background: #ededed;
    border-bottom: 1px solid #CECECE;
}

/* XH-14356 - hide gifts
#giftBox .send{
    float: left;
    width: 52px;
    height: 82px;
    background: url(../images/tpl2/icons.png) no-repeat -585px 0;
    margin-right: 0;
}

#giftBox .send:hover{
    background-position: -637px 0;
}
*/

#giftBox .next{
    /* float: left; XH-14356 - hide gifts*/
    float: right;
    width: 20px;
    height: 20px;
    background: url(../images/tpl2/icons.png) no-repeat -125px -29px;
    margin: 31px 16px;
}

#giftBox .next:hover{
    background-position: -79px -29px;
}

#giftBox .prev{
    float: left;
    width: 20px;
    height: 20px;
    background: url(../images/tpl2/icons.png) no-repeat -147px -29px;
    margin: 31px 16px;
}

#giftBox .prev:hover{
    background-position: -101px -29px;
}

#giftBox .list {
    height: 82px;
    float: left;
    width: 362px;
    padding-left: 4px;
    overflow: hidden;
}

#giftBox .page {
    height: 82px;
    background: #ededed;
    float: left;
    position: relative;
}

#giftBox .pageText {
    font-size: 9px;
    position: absolute;
    bottom: 0;
    right: 0;
    color: #CECECE;
}

#giftBox .page a{
    float: left;
    height: 64px;
    width: 64px;
    margin: 8px 3px;
    border: 1px solid #CECECE;
    border-radius:3px;
}

#giftBox .page a:hover {
    background: #FFF;
}
.giftHint {
    height: 32px;
    overflow: hidden;
    margin: 5px 0;
    vertical-align: top;
}

.giftHint img{
    width: 32px;
    height: 32px;
    border-radius:3px;
    color: #505050;
}

.giftHint .giftText{
    width: 170px;
    margin-left : 38px;
    white-space: normal;
}
