#pop-up {
    position: absolute;
    max-width:  800px;
    max-height: 584px;
    top: 141px;
    left: 420px;
    z-index: 20;
    background: url('images/pop-up/bg.png') 0 0 no-repeat; background-size: cover;
}

#pop-up .close_window {
    display: block;
    position: absolute;
    max-width:  44px;
    max-height: 43px;
    top: -8px;
    left: 766px;
    background: url('images/pop-up/close_normal.png') 0 0 no-repeat; background-size: cover;
    cursor: pointer;
}

#pop-up .close_window:hover { background: url('images/pop-up/close_hover.png') 0 0 no-repeat; background-size: cover; }

#pop-up .tabs_context {}
#pop-up .tabs_context A {
    display: block;
    position: absolute;
    max-width:  110px;
    max-height: 77px;
    left: 670px;
    z-index: 22;
}
#pop-up .tabs_context A.active { cursor: default; pointer-events: none; }

#pop-up .tabs_context A.profile { top: 121px; background: url('images/pop-up/tabs/profile_normal.png') 0 0 no-repeat; background-size: cover; }
#pop-up .tabs_context A.profile:hover { background: url('images/pop-up/tabs/profile_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .tabs_context A.profile.active { background: url('images/pop-up/tabs/profile_active.png') 0 0 no-repeat; background-size: cover; }

#pop-up .tabs_context A.gifts { top: 227px; background: url('images/pop-up/tabs/gifts_normal.png') 0 0 no-repeat; background-size: cover; }
#pop-up .tabs_context A.gifts:hover { background: url('images/pop-up/tabs/gifts_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .tabs_context A.gifts.active { background: url('images/pop-up/tabs/gifts_active.png') 0 0 no-repeat; background-size: cover; }

#pop-up .tabs_context A.clan { top: 331px; background: url('images/pop-up/tabs/clan_normal.png') 0 0 no-repeat; background-size: cover; }
#pop-up .tabs_context A.clan:hover { background: url('images/pop-up/tabs/clan_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .tabs_context A.clan.active { background: url('images/pop-up/tabs/clan_active.png') 0 0 no-repeat; background-size: cover; }

#pop-up .tabs_context A.mail { top: 436px; background: url('images/pop-up/tabs/mail_normal.png') 0 0 no-repeat; background-size: cover; }
#pop-up .tabs_context A.mail:hover { background: url('images/pop-up/tabs/mail_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .tabs_context A.mail.active { background: url('images/pop-up/tabs/mail_active.png') 0 0 no-repeat; background-size: cover; }

#pop-up .username {
    max-width:  800px;
    max-height: 80px;
    text-align: center;
    font-family: "Ubuntu";
    font-size: 28px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

#pop-up .user_profile {}
#pop-up .user_profile .status {
    position: absolute;
    max-width:  75px;
    max-height: 29px;
    top: 73px;
    left: 592px;
    z-index: 21;
}
#pop-up .user_profile .on { background: url('images/pop-up/profile/status_on.png') 0 0 no-repeat; background-size: cover; }
#pop-up .user_profile .off { background: url('images/pop-up/profile/status_off.png') 0 0 no-repeat; background-size: cover; }

#pop-up .user_profile .vip {
    position: absolute;
    max-width:  68px;
    max-height: 33px;
    top: 76px;
    left: 90px;
    z-index: 21;
    background: url('images/pop-up/profile/vip.png') 0 0 no-repeat; background-size: cover;
}

#pop-up .user_profile .user_avatar {
    position: absolute;
    max-width:  168px;
    max-height: 168px;
    top: 111px;
    left: 39px;
}

#pop-up .user_profile .user_avatar DIV {
    position: absolute;
    max-width:  168px;
    max-height: 168px;
    top: 0;
    left: 0;
    z-index: 22;
    background: url('images/pop-up/profile/avatar.png') 0 0 no-repeat; background-size: cover;
}

#pop-up .user_profile .user_avatar IMG {
    position: absolute;
    max-width:  136px;
    max-height: 136px;
    top: 16px;
    left: 17px;
    z-index: 21;
}

#pop-up .user_profile A.effects {
    display: block;
    position: absolute;
    max-width:  75px;
    max-height: 76px;
    top: 111px;
    left: 216px;
    z-index: 22;
    background: url('images/pop-up/profile/effects_normal.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_profile A.effects:hover { background: url('images/pop-up/profile/effects_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .user_profile A.effects.active { background: url('images/pop-up/profile/effects_active.png') 0 0 no-repeat; background-size: cover; cursor: default; pointer-events: none; }

#pop-up .user_profile A.pet {
    display: block;
    position: absolute;
    max-width:  75px;
    max-height: 75px;
    top: 196px;
    left: 216px;
    z-index: 22;
    background: url('images/pop-up/profile/pet_normal.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_profile A.pet:hover { background: url('images/pop-up/profile/pet_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .user_profile A.pet.active { background: url('images/pop-up/profile/pet_active.png') 0 0 no-repeat; background-size: cover; cursor: default; pointer-events: none; }

#pop-up .user_profile .user_separation {
    position: absolute;
    max-width:  41px;
    max-height: 375px;
    top: 72px;
    left: 277px;
    z-index: 20;
    background: url('images/pop-up/profile/user_separation.png') 0 0 no-repeat; background-size: cover;
}

#pop-up .user_profile .user_rating {
    position: absolute;
    max-width:  168px;
    max-height: 135px;
    top: 282px;
    left: 42px;
}
#pop-up .user_profile .user_rating DIV {
    max-width:  208px;
    max-height: 26px;
    font-family: "Ubuntu";
    font-size: 16px;
    color: #ffbf44;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

#pop-up .user_profile .info {
    position: absolute;
    max-width:  340px;
    max-height: 240px;
    top: 98px;
    left: 335px;
}
#pop-up .user_profile .info DIV {
    position: relative;
    max-width:  350px;
    max-height: 25px;
    font-family: "Ubuntu";
    font-size: 16px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}
#pop-up .user_profile .info EM { font-style: normal; color: #ffbf44; }
#pop-up .user_profile .info I { font-style: normal; color: #ff5858; }

#pop-up .user_profile .info DIV.hr {
    position: absolute;
    max-width:  349px;
    max-height: 25px;
    top: 0;
    left: -16px;
    background: url('images/pop-up/profile/info_hr.png') 0 50% no-repeat; background-size: contain;
}

#pop-up .user_profile .info .friends_tip {
    position: absolute;
    max-width:  396px;
    max-height: 186px;
    top: 90px;
    left: -40px;
    opacity: 0;
    z-index: -1;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: opacity 0.3s ease-in-out 0s;
    -moz-transition: opacity 0.3s ease-in-out 0s;
    -ms-transition: opacity 0.3s ease-in-out 0s;
    -o-transition: opacity 0.3s ease-in-out 0s;
    transition: opacity 0.3s ease-in-out 0s;
}
#pop-up .user_profile .info .friends_tip.show_tip { opacity: 1; z-index: 1 }
#pop-up .user_profile .info .friend_ok { background-image: url('images/pop-up/profile/friend_ok.png'); }

#pop-up .user_profile .buttons {
    max-width:  350px;
    max-height: 50px;
}

#pop-up .user_profile .buttons .friends {
    display: block;
    position: absolute;
    max-width:  148px;
    max-height: 50px;
    top: 14px;
    left: 0px;
    z-index: 21;
    background: url('images/pop-up/profile/button_friends_normal.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_profile .buttons .friends:hover { background: url('images/pop-up/profile/button_friends_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .user_profile .buttons .friends_active { background: url('images/pop-up/profile/button_friends_active.png') 0 0 no-repeat; background-size: cover; cursor: default; pointer-events: none; }

#pop-up .user_profile .buttons .gifts {
    display: block;
    position: absolute;
    max-width:  148px;
    max-height: 50px;
    top: 14px;
    left: 172px;
    z-index: 21;
    background: url('images/pop-up/profile/button_gifts_normal.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_profile .buttons .gifts:hover { background: url('images/pop-up/profile/button_gifts_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .user_profile .buttons .gifts_active { background: url('images/pop-up/profile/button_gifts_active.png') 0 0 no-repeat; background-size: cover; cursor: default; pointer-events: none; }

#pop-up .user_profile .last_gifts {
    position: absolute;
    max-width:  625px;
    max-height: 131px;
    top: 415px;
    left: 41px;
}

#pop-up .user_profile .last_gifts .text_title {
    position: absolute;
    max-width:  170px;
    max-height: 30px;
    top: 0;
    left: 1px;
    font-family: "Ubuntu";
    font-size: 18px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

#pop-up .user_profile .gift_list {
    display: flex;
    justify-content: flex-start;
    position: absolute;
    max-width: 625px;
    max-height: 99px;
    top: 32px;
    left: 0;
    font-size: 0;
}

#pop-up .user_profile .gift_list A {
    display: inline-block;
    position: relative;
    max-width:  99px;
    max-height: 99px;
    background: url('images/gifts/gift_item_short.png') 0 0 no-repeat;
    background-size: cover;
    cursor: pointer;
    margin-right: 1%;
}

#pop-up .user_profile .gift_list A DIV {
    position: absolute;
    max-width:  12px;
    max-height: 12px;
    background: url('images/gifts/gift_icon.png') 0 0 no-repeat;
    background-size: cover;
    left: 81px;
    top: 81px;
    z-index: 1;
}

#pop-up .user_profile .gift_list A IMG {
    position: absolute;
    max-width:  91px;
    max-height: 91px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

/**********************************************************************/
/* Вкладка "Подарки"                                                  */
/**********************************************************************/

#pop-up .user_gifts {
    position: absolute;
    max-width: 642px;
    max-height: 470px;
    top: 81px;
    left: 41px;
    font-size: 0;
}

#pop-up .user_gifts .scroll_window{
    position: absolute;
    max-width: 642px;
    max-height: 470px;
    top: 0;
    left: 0;
}

#pop-up .user_gifts .gift_item {
    display: inline-block;
    max-width: 149px;
    max-height: 149px;
    position: relative;
    margin-right: 1%;
    margin-bottom: 1%;
}

#pop-up .user_gifts .gift_item A {
    display: block;
    position: absolute;
    max-width:  149px;
    max-height: 149px;
    background: url('images/gifts/gift_item_short.png') 0 0 no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    cursor: pointer;
}

#pop-up .user_gifts .gift_item A IMG {
    display: block;
    position: absolute;
    max-width:  140px;
    max-height: 140px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

#pop-up .user_gifts .gift_item A DIV {
    position: absolute;
    max-width:  19px;
    max-height: 19px;
    background: url('images/gifts/gift_icon.png') 0 0 no-repeat;
    background-size: cover;
    left: 123px;
    top: 122px;
    z-index: 1;
}

/**********************************************************************/
/* Заглушка для скролл-бара */
/**********************************************************************/
#pop-up .user_gifts .scroll {
    position: absolute;
    max-width:  23px;
    max-height:  468px;
    top: 0;
    left: 619px;
    background: url('images/pop-up/gifts/scroll_01.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_gifts .scroll .slider {
    position: absolute;
    max-width:  21px;
    max-height:  179px;
    top: 0;
    left: 1px;
    background: url('images/pop-up/gifts/scroll_02.png') 0 0 no-repeat; background-size: cover;
    cursor: pointer;
}
/**********************************************************************/

#pop-up .user_clan {}
#pop-up .user_clan .info {
    position: absolute;
    max-width:  579px;
    max-height: 71px;
    top: 99px;
    left: 72px;
    font-family: "Ubuntu";
    font-size: 17px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
    text-align: center;
    background: url('images/pop-up/clan/info.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_clan .invite {
    display: block;
    position: absolute;
    max-width:  248px;
    max-height: 51px;
    top: 198px;
    left: 237px;
    background: url('images/pop-up/clan/button_invite_normal.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_clan .invite:hover { background: url('images/pop-up/clan/button_invite_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .user_clan .invite_active { background: url('images/pop-up/clan/button_invite_active.png') 0 0 no-repeat; background-size: cover; cursor: default; pointer-events: none; }

#pop-up .user_mail {}

#pop-up .user_mail SPAN { line-height: 0 !important; }

#pop-up .user_mail .input_block {
    position: absolute;
    max-width:  500px;
    max-height: 54px;
    top: 0;
    left: 42px;
}
#pop-up .user_mail .user { top: 97px; z-index: 22; }
#pop-up .user_mail .subject { top: 166px; z-index: 21; }
#pop-up .user_mail .input_block LABEL {
    display: block;
    position: absolute;
    max-width:  72px;
    max-height: 27px;
    top: 26px;
    left: 0;
    font-family: "Ubuntu";
    font-size: 18px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}
#pop-up .user_mail .input_block DIV {
    position: absolute;
    max-width:  374px;
    max-height: 54px;
    top: 0;
    left: 72px;
    font-family: "Ubuntu";
    font-size: 21px;
    background: url('images/pop-up/mail/input_text_bg.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_mail .input_block DIV.unfound { background: url('images/pop-up/mail/input_text_bg_unfound.png') 0 0 no-repeat; background-size: cover; }
#pop-up .user_mail .input_block DIV INPUT {
    display: block;
    position: absolute;
    max-width:  334px;
    max-height: 50px;
    top: 0;
    left: 20px;
    font: inherit;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
    border: none;
    background: none;
}
#pop-up .user_mail .input_block DIV.unfound INPUT { color: #4e4545; }
#pop-up .user_mail .input_block DIV INPUT:focus { outline:none; }
#pop-up .user_mail .input_block .not_found {
    position: absolute;
    max-width:  266px;
    max-height: 66px;
    top: 52px;
    left: 54px;
    z-index: 23;
    background: url('images/pop-up/mail/not_found.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_mail .input_block .dropdown {
    position: absolute;
    max-width:  374px;
    top: 53px;
    left: 0;
    z-index: 22;
    background: none;
}
#pop-up .user_mail .input_block .dropdown .top {
    position: relative;
    max-width:  374px;
    max-height: 8px;
    top: 0;
    left: 0;
    background: url('images/pop-up/mail/dropdown_bg_top.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_mail .input_block .dropdown A.element {
    position: relative;
    display: block;
    max-width:  374px;
    max-height: 39px;
    top: 0;
    left: 0;
    font-family: "Ubuntu";
    font-size: 18px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
    background: url('images/pop-up/mail/dropdown_bg_element.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_mail .input_block .dropdown A.element_active,
#pop-up .user_mail .input_block .dropdown A.element:hover { background: url('images/pop-up/mail/dropdown_bg_element_select.png') 0 0 no-repeat; background-size: cover; }
#pop-up .user_mail .input_block .dropdown A.element DIV {
    position: absolute;
    max-width:  340px;
    max-height: 26px;
    top: 19px;
    left: 22px;
    background: none;
}
#pop-up .user_mail .input_block .dropdown .hr {
    position: relative;
    max-width:  374px;
    max-height: 2px;
    min-height: 2px;
    top: 0;
    left: 0;
    background: url('images/pop-up/mail/dropdown_bg_hr.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_mail .input_block .dropdown .bottom {
    position: relative;
    max-width:  374px;
    max-height: 8px;
    top: 0;
    left: 0;
    background: url('images/pop-up/mail/dropdown_bg_bottom.png') 0 0 no-repeat; background-size: cover;
}

#pop-up .user_mail .message {
    position: absolute;
    max-width:  621px;
    max-height: 233px;
    top: 237px;
    left: 43px;
    background: url('images/pop-up/mail/message_bg.png') 0 0 no-repeat; background-size: cover;
}

/**********************************************************************/
/* Заглушка для скролл-бара */
/**********************************************************************/
#pop-up .user_mail .message .scroll {
    position: absolute;
    max-width:  23px;
    max-height:  226px;
    top: 3px;
    left: 592px;
    background: url('images/pop-up/mail/scroll_01.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_mail .message .scroll .slider {
    position: absolute;
    max-width:  21px;
    max-height:  127px;
    top: 0;
    left: 1px;
    background: url('images/pop-up/mail/scroll_02.png') 0 0 no-repeat; background-size: cover;
    cursor: pointer;
}
/**********************************************************************/

#pop-up .user_mail .send {
    display: block;
    position: absolute;
    max-width:  218px;
    max-height: 52px;
    top: 491px;
    left: 244px;
    background: url('images/pop-up/mail/button_send_normal.png') 0 0 no-repeat; background-size: cover;
}
#pop-up .user_mail .send:hover { background: url('images/pop-up/mail/button_send_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up .user_mail .send_active { background: url('images/pop-up/mail/button_send_active.png') 0 0 no-repeat; background-size: cover; cursor: default; pointer-events: none; }


#pop-up_inside {
    position: absolute;
    max-width:  565px;
    max-height: 570px;
    top: 3px;
    left: 122px;
    z-index: 30;
    background: url('images/pop-up/inside/bg.png') 0 0 no-repeat; background-size: cover;
}

#pop-up_inside .close_window {
    display: block;
    position: absolute;
    max-width:  44px;
    max-height: 43px;
    top: -6px;
    left: 526px;
    background: url('images/pop-up/inside/close_normal.png') 0 0 no-repeat; background-size: cover;
    cursor: pointer;
}

#pop-up_inside .close_window:hover { background: url('images/pop-up/inside/close_hover.png') 0 0 no-repeat; background-size: cover; }

#pop-up_inside .username {
    max-width:  565px;
    max-height: 70px;
    text-align: center;
    font-family: "Ubuntu";
    font-size: 26px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

#pop-up_inside .user_effects {
    position: absolute;
    max-width:  550px;
    max-height: 488px;
    top: 65px;
    left: 20px;
}

/**********************************************************************/
/* Заглушка для скролл-бара */
/**********************************************************************/
#pop-up_inside .user_effects .scroll {
    position: absolute;
    max-width:  22px;
    max-height:  490px;
    top: 0px;
    left: 503px;
    background: url('images/pop-up/effects/scroll_01.png') 0 0 no-repeat; background-size: cover;
}
#pop-up_inside .user_effects .slider {
    position: absolute;
    max-width:  22px;
    max-height:  179px;
    top: 0;
    left: 0;
    background: url('images/pop-up/effects/scroll_02.png') 0 0 no-repeat; background-size: cover;
    cursor: pointer;
}
/**********************************************************************/
#pop-up .user_effects .scroll_window {
    position: absolute;
    max-width:  522px;
    max-height: 488px;
    top: 0;
    left: 0;
}

#pop-up_inside .user_effects .spacer {
    position: relative;
    max-width:  496px;
    max-height: 4px;
}
#pop-up_inside .user_effects .talisman {
    position: relative;
    max-width:  496px;
    max-height: 88px;
    background: url('images/pop-up/effects/effect_bg.png') 0 0 no-repeat; background-size: cover;
}

/*#pop-up_inside .user_effects .preview {
    position: absolute;
    max-width:  80px;
    max-height: 81px;
    top: 2px;
    left: 18px;
    background: url('images/pop-up/effects/preview.png') 0 0 no-repeat; background-size: cover;
}*/

#pop-up_inside .user_effects .preview {
    position: absolute;
    max-width:  80px;
    max-height: 83px;
    top: 2px;
    left: 18px;
}

#pop-up_inside .user_effects .preview DIV {
    position: absolute;
    max-width:  80px;
    max-height: 83px;
    background: url('images/pop-up/effects/preview-2.png');
    background-size: cover;
    left: 0;
    top: 0;
    z-index: 1;
}

#pop-up_inside .user_effects .preview IMG {
    max-width:  80px;
    max-height: 80px;
    position: absolute;
    left: 0;
    top: 1px;
    border-radius: 4px;
}

#pop-up_inside .user_effects .name {
    position: absolute;
    max-width:  390px;
    max-height: 28px;
    top: 2px;
    left: 112px;
    font-family: "Ubuntu";
    /*font-size: 22px;*/
    font-size: 20px;
    letter-spacing: -0.05ex;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

#pop-up_inside .user_effects .name .t_fortune { color: #ffc000 }
#pop-up_inside .user_effects .name .t_small { color: #9ad000 }
#pop-up_inside .user_effects .name .t_average { color: #4d94ff }
#pop-up_inside .user_effects .name .t_big { color: #e444e8 }
#pop-up_inside .user_effects .name .t_huge { color: #ff2a2a }

#pop-up_inside .user_effects .time {
    position: absolute;
    max-width:  340px;
    max-height: 22px;
    top: 41px;
    left: 136px;
    font-family: "Ubuntu";
    font-size: 18px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}
#pop-up_inside .user_effects .time .watch {
    position: absolute;
    max-width:  22px;
    max-height: 21px;
    top: 1px;
    left: -25px;
    background: url('images/pop-up/effects/watch.png') 0 0 no-repeat; background-size: cover;
}

#pop-up_inside .user_pet {}
#pop-up_inside .user_pet .pet_avatar {
    position: absolute;
    max-width: 176px;
    max-height: 219px;
    top: 77px;
    left: 23px;
    z-index: 31;
    background: url('images/pop-up/pet/avatar_frame.png') 0 0 no-repeat; background-size: cover;
}
#pop-up_inside .user_pet .pet_avatar IMG {
    position: absolute;
    max-width: 150px;
    max-height: 192px;
    margin: auto;
    left: 15px;
    top: 10px;
}

#pop-up_inside .user_pet .avatar_ribbon {
    position: absolute;
    max-width: 176px;
    max-height: 219px;
    top: 0px;
    left: 0px;
    z-index: 1;
    background: url('images/pop-up/pet/avatar_ribbon.png') 0 0 no-repeat; background-size: cover;
}

#pop-up_inside .user_pet .pet_level {
    position: absolute;
    max-width: 13px;
    max-height: 21px;
    left: 82px;
    top: 166px;
    font-family: "Ubuntu Bold";
    font-size: 23px;
    color: #a02121;
    z-index: 2
}
#pop-up_inside .user_pet .icons DIV { position: absolute; max-width: 53px; max-height: 52px; }
#pop-up_inside .user_pet .icons .icon_1 { top: 296px; left: 28px; background: url('images/pop-up/pet/icons/icon_1.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .icon_2 { top: 296px; left: 85px; background: url('images/pop-up/pet/icons/icon_2.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .icon_3 { top: 296px; left: 142px; background: url('images/pop-up/pet/icons/icon_3.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .icon_4 { top: 352px; left: 59px; background: url('images/pop-up/pet/icons/icon_4.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .icon_5 { top: 352px; left: 116px; background: url('images/pop-up/pet/icons/icon_5.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .icon_1_disable { background: url('images/pop-up/pet/icons/icon_1_disable.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .icon_2_disable { background: url('images/pop-up/pet/icons/icon_2_disable.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .icon_3_disable { background: url('images/pop-up/pet/icons/icon_3_disable.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .icon_4_disable { background: url('images/pop-up/pet/icons/icon_4_disable.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .icon_5_disable { background: url('images/pop-up/pet/icons/icon_5_disable.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .icons .tip {
    position: absolute;
    max-width:  265px;
    max-height: 89px;
    top: -19px;
    left: 54px;
    z-index: 33;
    background: url('images/pop-up/pet/tip_bg.png') 0 0 no-repeat; background-size: cover;
}
#pop-up_inside .user_pet .icons .tip .first {
    position: absolute;
    max-width:  232px;
    max-height: 16px;
    top: 10px;
    left: 24px;
    font-family: "Ubuntu";
    font-size: 14px;
    color: #ffde6c;
}
#pop-up_inside .user_pet .icons .tip .second {
    position: absolute;
    max-width:  226px;
    max-height: 55px;
    top: 27px;
    left: 24px;
    font-family: "Ubuntu";
    font-size: 14px;
    color: #fff;
}
#pop-up_inside .user_pet .icons .tip .second SPAN { line-height: 1.3 !important; }

#pop-up_inside .user_pet .options {
    position: absolute;
    max-width:  333px;
    max-height: 330px;
    top: 74px;
    left: 206px;
}
#pop-up_inside .user_pet .options .input_name {
    position: relative;
    max-width:  333px;
    max-height: 54px;
    font-family: "Ubuntu";
    font-size: 21px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
    background: url('images/pop-up/pet/input_text_bg.png') 0 0 no-repeat; background-size: cover;
}

#pop-up_inside .user_pet .options .input_error { background: url('images/pop-up/pet/input_text_bg_error.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .options .input_name INPUT {
    display: block;
    position: absolute;
    max-width:  291px;
    max-height: 52px;
    top: -2px;
    left: 21px;
    font: inherit;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
    border: none;
    background: none;
}
#pop-up_inside .user_pet .options .input_name INPUT:focus { outline:none; }

#pop-up_inside .user_pet .options .indent { position: relative; max-width: 333px; max-height: 9px; }

#pop-up_inside .user_pet .options A.rename {
    display: block;
    position: relative;
    max-width:  333px;
    max-height: 50px;
    background: url('images/pop-up/pet/button_rename_normal.png') 0 0 no-repeat; background-size: cover;
}
#pop-up_inside .user_pet .options A.rename:hover { background: url('images/pop-up/pet/button_rename_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .options A.rename_active { background: url('images/pop-up/pet/button_rename_active.png') 0 0 no-repeat; background-size: cover; cursor: default; pointer-events: none; }

#pop-up_inside .user_pet .options .hr {
    position: relative;
    max-width:  333px;
    max-height: 31px;
    background: url('images/pop-up/pet/hr.png') 0 50% no-repeat; background-size: contain;
}

#pop-up_inside .user_pet .options .name_tip {
    position: absolute;
    max-width:  248px;
    max-height: 57px;
    top: 54px;
    left: 43px;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out 0s;
    -moz-transition: opacity 0.3s ease-in-out 0s;
    -ms-transition: opacity 0.3s ease-in-out 0s;
    -o-transition: opacity 0.3s ease-in-out 0s;
    transition: opacity 0.3s ease-in-out 0s;
}
#pop-up_inside .user_pet .options .name_tip.show_tip { opacity: 1; z-index: 1; }
#pop-up_inside .user_pet .options .name_ok { background-image: url('images/pop-up/pet/name_ok.png'); }
#pop-up_inside .user_pet .options .name_error { background-image: url('images/pop-up/pet/name_error.png'); }

#pop-up_inside .user_pet .options .satiety {
    position: relative;
    max-width:  333px;
    max-height: 52px;
}
#pop-up_inside .user_pet .options .satiety A.feed {
    display: block;
    position: absolute;
    max-width:  170px;
    max-height: 50px;
    top: 0;
    left: 163px;
    background: url('images/pop-up/pet/button_feed_normal.png') 0 0 no-repeat; background-size: cover;
}
#pop-up_inside .user_pet .options .satiety A.feed:hover { background: url('images/pop-up/pet/button_feed_hover.png') 0 0 no-repeat; background-size: cover; }
#pop-up_inside .user_pet .options .satiety A.feed_active { background: url('images/pop-up/pet/button_feed_active.png') 0 0 no-repeat; background-size: cover; cursor: default; pointer-events: none; }
#pop-up_inside .user_pet .options .satiety .inscription {
    position: absolute;
    max-width:  150px;
    max-height: 15px;
    top: 4px;
    left: 1px;
    font-family: "Ubuntu";
    font-size: 16px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}
#pop-up_inside .user_pet .options .satiety .time {
    position: absolute;
    max-width:  150px;
    max-height: 15px;
    top: 30px;
    left: 1px;
    font-family: "Ubuntu Bold";
    font-size: 16px;
    color: #ffbf44;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}
#pop-up_inside .user_pet .options .satiety .fed {
    position: absolute;
    max-width:  256px;
    max-height: 50px;
    top: 0;
    left: -91px;
    z-index: 32;
    background: url('images/pop-up/pet/pet_fed.png') 0 0 no-repeat; background-size: cover;
}
#pop-up_inside .user_pet .options .satiety .unfed {
    position: absolute;
    max-width:  256px;
    max-height: 50px;
    top: 0px;
    left: -91px;
    z-index: 32;
    background: url('images/pop-up/pet/pet_unfed.png') 0 0 no-repeat; background-size: cover;
}

#pop-up_inside .user_pet .options .experience {
    position: relative;
    max-width:  333px;
    max-height: 80px;
}
#pop-up_inside .user_pet .options .experience .inscription {
    position: absolute;
    max-width:  300px;
    max-height: 15px;
    top: 2px;
    left: 2px;
    font-family: "Ubuntu";
    font-size: 16px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

#pop-up_inside .user_pet .options .experience .bar {
    position: absolute;
    max-width:  333px;
    max-height: 24px;
    top: 29px;
    left: 0;
    background: url('images/pop-up/pet/experience_bar.png') 0 0 no-repeat; background-size: cover;
}
#pop-up_inside .user_pet .options .experience .bar .rate {
    position: absolute;
    max-width:  500px;
    max-height: 24px;
    top: -1px;
    left: 150px;
    z-index: 32;
    font-family: "Ubuntu";
    font-size: 21px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}
#pop-up_inside .user_pet .options .experience .bar .fill {
    position: absolute;
    max-width:  333px;
    max-height: 24px;
    top: 0;
    left: 0;
    z-index: 31;
}

#pop-up_inside .user_pet .options .experience .bar TABLE {
    width: 100%;
    padding: 0;
    margin: 0;
    border-collapse: collapse;
}

#pop-up_inside .user_pet .options .experience .bar TD {
    vertical-align: top;
    text-align: left;
    padding: 0;
}

#pop-up_inside .user_pet .options .experience .bar TD.progress_line {
    width: 100%;
    background: url('images/pop-up/pet/experience_fill.png') 0 0 repeat-x;
    background-size: contain;
}

#pop-up_inside .user_pet .options .experience .bar TD IMG {
    max-width:  12px;
    max-height: 24px;
}

#pop-up_inside .user_pet .info {
    position: absolute;
    max-width:  516px;
    max-height: 126px;
    top: 419px;
    left: 26px;
    background: url('images/pop-up/pet/info_bg.png') 0 0 no-repeat; background-size: cover;
}
#pop-up_inside .user_pet .info EM { font-style: normal; color: #ffbf44; }
#pop-up_inside .user_pet .info .first {
    position: absolute;
    max-width:  428px;
    max-height: 16px;
    top: 24px;
    left: 20px;
    font-family: "Ubuntu";
    font-size: 15px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}
#pop-up_inside .user_pet .info .second {
    position: absolute;
    max-width:  428px;
    max-height: 16px;
    top: 66px;
    left: 20px;
    font-family: "Ubuntu";
    font-size: 15px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

/***************************************************************/
/*Окно списка подарков для дарения                             */
/***************************************************************/
#send-gift {
    display: none;
    position: absolute;
    max-width:  777px;
    max-height: 523px;
    background: url('images/gifts/send-gift.png') 0 0 no-repeat;
    background-size: cover;
    top: 38px;
    left: 10px;
    z-index: 30;
}

#send-gift .username {
    position: absolute;
    max-width:  756px;
    max-height: 54px;
    top: 9px;
    left: 11px;
    text-align: center;
    font-family: "Ubuntu";
    font-size: 26px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

#send-gift .close_window {
    display: block;
    position: absolute;
    max-width:  44px;
    max-height: 43px;
    top: -7px;
    left: 741px;
    background: url('images/pop-up/inside/close_normal.png') 0 0 no-repeat; background-size: cover;
    cursor: pointer;
    z-index: 31;
}
#send-gift .close_window:hover { background: url('images/pop-up/inside/close_hover.png') 0 0 no-repeat; background-size: cover; }

#send-gift .gift_list {
    position: absolute;
    max-width:  672px;
    max-height: 447px;
    left: 11px;
    top: 64px;
}

#send-gift .gift_list .scroll_window {
    position: absolute;
    max-width:  654px;
    max-height: 436px;
    top: 2px;
    left: 13px;
}

#send-gift .gift_list .icons_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#send-gift .gift_item {
    display: none;
    max-width:  156px;
    max-height: 187px;
    position: relative;
}

#send-gift .gift_item A {
    display: block;
    position: absolute;
    max-width:  149px;
    max-height: 178px;
    background: url('images/gifts/gift_item.png') 0 0 no-repeat;
    background-size: cover;
    top: 9px;
    left: 0;
    cursor: pointer;
}

#send-gift .gift_item .img {
    position: absolute;
    max-width:  130px;
    max-height: 130px;
    top: 5px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#send-gift .gift_item .img IMG {
    position: absolute;
    max-width:  130px;
    max-height: 130px;
    left: 0;
    top: 0;
}

#send-gift .gift_item .price {
    position: absolute;
    max-width:  71px;
    max-height: 24px;
    top: 142px;
    left: 46px;
    background: url('images/gifts/coin.png') 0 0 no-repeat;
    background-size: contain;
    font-family: "Arial";
    font-weight: bold;
    font-size: 26px;
    color: #fecf6c;
}
#send-gift .gift_item .price SPAN { margin-left: 2.5ex }

#send-gift .gift_tabs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    max-width:  76px;
    max-height: 424px;
    top: 76px;
    left: 684px;
}

#send-gift .gift_tabs A {
    display: block;
    position: relative;
    cursor: pointer;
    max-width:  76px;
    max-height: 69px;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
}
#send-gift .gift_tabs A.type1 { background-image: url('images/gifts/type1_normal.png') }
#send-gift .gift_tabs A.type2 { background-image: url('images/gifts/type2_normal.png') }
#send-gift .gift_tabs A.type3 { background-image: url('images/gifts/type3_normal.png') }
#send-gift .gift_tabs A.type4 { background-image: url('images/gifts/type4_normal.png') }
#send-gift .gift_tabs A.type5 { background-image: url('images/gifts/type5_normal.png') }

#send-gift .gift_tabs A DIV {
    position: absolute;
    max-width:  76px;
    max-height: 69px;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    top: 0;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out 0s;
    -moz-transition: opacity 0.3s ease-in-out 0s;
    -ms-transition: opacity 0.3s ease-in-out 0s;
    -o-transition: opacity 0.3s ease-in-out 0s;
    transition: opacity 0.3s ease-in-out 0s;
}
#send-gift .gift_tabs A.type1 DIV { background-image: url('images/gifts/type1_active.png') }
#send-gift .gift_tabs A.type2 DIV { background-image: url('images/gifts/type2_active.png') }
#send-gift .gift_tabs A.type3 DIV { background-image: url('images/gifts/type3_active.png') }
#send-gift .gift_tabs A.type4 DIV { background-image: url('images/gifts/type4_active.png') }
#send-gift .gift_tabs A.type5 DIV { background-image: url('images/gifts/type5_active.png') }

#send-gift .gift_tabs A:hover DIV { opacity: 1 }
#send-gift .gift_tabs A.selected DIV { opacity: 1 }

/***************************************************************/
/*Окно информации о подарке / подарить подарок                 */
/***************************************************************/
#pop-up .gift_window  {
    display: none;
    position: absolute;
    max-width:  477px;
    max-height: 438px;
    background: url('images/gifts/gift_window.png') 0 0 no-repeat;
    background-size: cover;
    top: 99px;
    left: 161px;
    z-index: 31;
}

#pop-up .gift_window .text_title {
    position: absolute;
    max-width:  463px;
    max-height: 55px;
    top: 4px;
    left: 7px;
    text-align: center;
    font-family: "Ubuntu";
    font-size: 26px;
    color: #fff;
    text-shadow: black 1px 1px 0, black -1px -1px 0, black -1px 1px 0, black 1px -1px 0;
}

#pop-up .gift_window .close_window {
    display: block;
    position: absolute;
    max-width:  44px;
    max-height: 43px;
    top: -12px;
    left: 443px;
    background: url('images/pop-up/inside/close_normal.png') 0 0 no-repeat; background-size: cover;
    cursor: pointer;
    z-index: 31;
}
#pop-up .gift_window .close_window:hover { background: url('images/pop-up/inside/close_hover.png') 0 0 no-repeat; background-size: cover; }

#pop-up .gift_window .img {
    position: absolute;
    max-width:  260px;
    max-height: 260px;
    top: 72px;
    left: 108px;
    font-size: 0;
}

#pop-up .gift_window .img IMG {
    display: inline-block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

#pop-up .gift_window .options {
    position: absolute;
    max-width:  440px;
    max-height: 76px;
    background: url('images/gifts/gift_options.png') 0 0 no-repeat;
    background-size: cover;
    top: 344px;
    left: 19px;
}

#pop-up .gift_window .options .text_desc {
    position: absolute;
    max-width:  216px;
    max-height: 27px;
    top: 23px;
    left: 3px;
    text-align: center;
    font-family: "Ubuntu";
    font-size: 14px;
    color: #fff;
    text-shadow: black 1px 0px, black 1px 1px, black 0px 1px, black -1px 1px, black -1px 0px, black -1px -1px, black 0px -1px, black 1px -1px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px;
}
#pop-up .gift_window .options .text_desc SPAN { line-height: 2.2ex !important; }
#pop-up .gift_window .options .text_desc EM { color: #ffbf44 }

#pop-up .gift_window .options .button_send {
    display: block;
    position: absolute;
    max-width:  201px;
    max-height: 57px;
    background: url('images/gifts/button_send_normal.png') 0 0 no-repeat;
    background-size: cover;
    top: 9px;
    left: 231px;
}
#pop-up .gift_window .options .button_send DIV {
    position: absolute;
    max-width:  201px;
    max-height: 57px;
    background: url('images/gifts/button_send_active.png') 0 0 no-repeat;
    background-size: cover;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out 0s;
    -moz-transition: opacity 0.3s ease-in-out 0s;
    -ms-transition: opacity 0.3s ease-in-out 0s;
    -o-transition: opacity 0.3s ease-in-out 0s;
    transition: opacity 0.3s ease-in-out 0s;
}
#pop-up .gift_window .options .button_send:hover DIV { opacity: 1 }

#pop-up .gift_window .options .button_send .send_title {
    cursor: pointer;
    display: block;
    position: absolute;
    max-width:  124px;
    max-height: 21px;
    top: 16px;
    left: 3px;
    z-index: 1;
    text-align: center;
    font-family: "Ubuntu";
    font-size: 18px;
    color: #fff;
    text-shadow: black 1px 0px, black 1px 1px, black 0px 1px, black -1px 1px, black -1px 0px, black -1px -1px, black 0px -1px, black 1px -1px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px;
}

#pop-up .gift_window .options .button_send .send_price {
    cursor: pointer;
    display: block;
    position: absolute;
    max-width:  25px;
    max-height: 21px;
    top: 16px;
    left: 163px;
    z-index: 1;
    text-align: center;
    font-family: "Ubuntu";
    font-size: 20px;
    color: #ffbf44;
    text-shadow: black 1px 0px, black 1px 1px, black 0px 1px, black -1px 1px, black -1px 0px, black -1px -1px, black 0px -1px, black 1px -1px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px;
}

#pop-up .gift_window .send_error {
    position: absolute;
    max-width:  271px;
    max-height: 66px;
    background: url('images/gifts/send_error.png') 0 0 no-repeat;
    background-size: cover;
    top: 407px;
    left: 215px;
    z-index: 1;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out 0s;
    -moz-transition: opacity 0.3s ease-in-out 0s;
    -ms-transition: opacity 0.3s ease-in-out 0s;
    -o-transition: opacity 0.3s ease-in-out 0s;
    transition: opacity 0.3s ease-in-out 0s;
}
#pop-up .gift_window .send_error.show_tip { opacity: 1 }

#pop-up .gift_window .send_success {
    position: absolute;
    max-width:  372px;
    max-height: 162px;
    background: url('images/gifts/send_success.png') 0 0 no-repeat;
    background-size: cover;
    top: 118px;
    left: 55px;
    z-index: 1;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in-out 0s;
    -moz-transition: opacity 0.3s ease-in-out 0s;
    -ms-transition: opacity 0.3s ease-in-out 0s;
    -o-transition: opacity 0.3s ease-in-out 0s;
    transition: opacity 0.3s ease-in-out 0s;
}
#pop-up .gift_window .send_success.show_tip { opacity: 1 }

#pop-up .gift_window .gift_info {
    position: absolute;
    max-width:  440px;
    max-height: 76px;
    background: url('images/gifts/gift_options.png') 0 0 no-repeat;
    background-size: cover;
    top: 344px;
    left: 19px;
}

#pop-up .gift_window .gift_info .text_desc {
    position: absolute;
    max-width:  216px;
    max-height: 27px;
    top: 21px;
    left: 3px;
    text-align: center;
    font-family: "Ubuntu";
    font-size: 14px;
    color: #fff;
    text-shadow: black 1px 0px, black 1px 1px, black 0px 1px, black -1px 1px, black -1px 0px, black -1px -1px, black 0px -1px, black 1px -1px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px;
}
#pop-up .gift_window .gift_info .text_desc SPAN { line-height: 2.5ex !important; }
#pop-up .gift_window .gift_info .text_desc EM { color: #ffbf44; font-size: 120% }

#pop-up .gift_window .gift_info .time_left {
    position: absolute;
    max-width:  216px;
    max-height: 27px;
    top: 21px;
    left: 219px;
    text-align: center;
    font-family: "Ubuntu";
    font-size: 14px;
    color: #fff;
    text-shadow: black 1px 0px, black 1px 1px, black 0px 1px, black -1px 1px, black -1px 0px, black -1px -1px, black 0px -1px, black 1px -1px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px, black 0 0 3px;
}
#pop-up .gift_window .gift_info .time_left SPAN { line-height: 2.5ex !important; }
#pop-up .gift_window .gift_info .time_left EM { color: #ffbf44; font-size: 120% }
