.item-list-block .classes-tabs li a{
    padding-top: 1.5px;
}

.desc h2{
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 12px;
    text-align: center;
}

.title-window{
    width: 100%;
    background-color: #5f4e39;
    background-image: url('/static/img/dolls/title.png');
    height: 30px;
    cursor: move;
    margin-top: 0px;
    background-repeat: no-repeat;
    background-position: 50%;
    text-align: center;
    font-weight: bold;
    padding-top: 6px;
    font-size: 11px;
}

.inv-tab-top li{
    display: inline-block;
    min-height: 20px;
}

.ui-sph-layout{
    width: 329px;
    margin: -11px 5px;
}

.doll{
    height: 233px;
    background-color: #2f2d25;
    width: 329px;
    margin: 10px 5px;
    background-image: url('/static/img/dolls/info.png');
    background-repeat: no-repeat;
    margin: 10px 5px;
    border: 1px solid #656a61;
}

.doll .desc{
    background-image: url('/static/img/dolls/info.png');
    width: 142px;
    display: inline-block;
    height: 221px;
    font-size: 11px;
    padding: 6px;
    margin-top: 5px;
    margin-left: 6px;
}




.doll .desc li .right{
    float: right;
}

.inv-tab{
    min-height: 20px;
}

.list-item{
    height: 158px;
    background-color: #424033;
    width: 320px;
    margin: 0px 9px;
    overflow-y: auto;
}

.list-item .item{
    width: 47px;
    height: 47px;
    display: inline-block;
    background-color: #f00;

    position: relative;
}

.list-item .item .item-icon{
    bottom: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}


#chat{
    position: fixed;
    bottom: 50px;
    left: 0px;
    width: 391px;
    background-color: rgba(25, 25, 25, 0.70);
    height: 128px;
}

#chat .icon{
    background-image: url('/static/img/dolls/chatsprite.png');
    display: inline-block;
    background-repeat: no-repeat;;
}


.icon.icon-a{
    width: 18px;
    height: 18px;
}

.icon.icon-type{
    width: 56px;
    height: 18px;
    margin-left: -2px;
    background-position-x: -19px;
    cursor: pointer;
}

.chat-input{
    display: inline-block;
    width: 315px;
    height: 19px;
    margin-left: -3px;
    background-color: #000000;
    border: 1px solid #595552;
}

.chat-input input{
    margin: 0;
    line-height: inherit;
    width: 244px;
    height: 16px;
    background-color: #000;
    color: #fff;
    padding: 0 5px;
    font-size: 11px;
    border: none;

    float: left;
}

.icon.icon-type:hover{
    background-position-y: -17px;
    background-position-x: -18px;
}


.chat-text{
    height: 109px;
    /*background-color: #f00;*/
}

.chat-input .icon-set{
    display: inline-block;
    float: right;
    margin-top: -1px;
}

.icon-block{
    height: 17px;
    width: 17px;
    cursor: pointer;
    margin-left: -3px;
    background-position-x: -75px;
    background-position-y: -1px;
}


.icon-change-bg{
    background-position-x: -92px;
    height: 18px;
    margin-left: -3px;
    cursor: pointer;
    width: 17px;
}


.icon-set-type{
    background-position-x: -108px;
    height: 18px;
    margin-left: -3px;
    cursor: pointer;
    width: 17px;
}


.icon-add-chat{
    background-position-x: -124px;
    height: 18px;
    margin-left: -3px;
    cursor: pointer;
    width: 17px;
}

.icon-block:hover{
    -ms-background-position-y: -18px;
    background-position-y: -18px;
}

.icon-change-bg:hover{
    -ms-background-position-y: -17px;
    background-position-y: -17px;
}

.icon-set-type:hover{
    -ms-background-position-y: -17px;
    background-position-y: -17px;
}

.icon-add-chat:hover{
    -ms-background-position-y: -17px;
    background-position-y: -17px;
}



.item-description{
    display: none;
    position: absolute;
    width: 320px;
    height: 210px;
    font-size: 11px;
    line-height: 15px;
    z-index: 90;
}


.item-description div.first-border{
    border: 2px solid #544d39;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.item-description div.second-border{
    border-radius: 3px;
    background: rgba(41, 39, 33, 0.82);
    padding: 5px 7px;
    top: 0;
    left: 0;
    right: 0;
    border: 1px solid #cab17a;
}

.item-description .tlt{
    font-weight: bold;
}



.doll-layout{
    width: 651px;
    height: 595px;
    background-color: #493322;
    margin: 20px 20px 50px;
}

.doll-top-line{
    /*width: 100%;*/
    width: 650px;
    height: 28px;
    background-image: url('/static/img/dolls/top-line.png');
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding-top: 6px;
}

.doll-content{

}

.char-block{
    margin: 0;
    /*padding: 28px 0 0 22px;*/
    width: 347px;
    height: 264px;
    background-image: url('/static/img/dolls/char.png');
}

.char-block .left-block{
    width: 183px;
    height: 222px;
    display: inline-block;
    vertical-align: top;
}

.char-block .left-block .level-char{
    color: #fff;
    text-align: center;
    padding: 5px 0;
    font-size: 11px;
}

.char-block .left-block .stat-list{
    padding: 2px 6px;
}

.char-block .left-block .list-desc{
    margin: 3px 11px;
    padding: 0;
    list-style: none;
}

.char-block .left-block .list-desc li:first-child *{
    font-size: 14px;
}

.char-block .left-block .list-desc li{
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 11px;
    position: relative;
    color: #ae9271;
}

.char-block .left-block .list-desc li span{
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
}

.char-block .right-block {
    vertical-align: top;
    width: 160px;
    /*background-color: rgba(255, 255, 255, 0.1);*/
    height: 227px;
    display: inline-block;
    margin-top: 26px;
}

    .char-block .right-block .person{
        display: inline-block;
        height: 231px;
        vertical-align: top;
        width: 175px;
        position: relative;
    }


    .doll-field{
        width: 48px;
        height: 48px;
        background-image: url('/static/img/dolls/empty-icons.png');
        position: absolute;
    }



    .doll-field.pic-1{
        background-position: 0 -48px;
        left: 54px;
        top: 9px;
    }

    .doll-field.pic-2{
        background-position: -96px -48px;
        right: 20px;
        top: 9px;
    }

    .doll-field.pic-3{
        background-position: -48px -48px;
        top: 63px;
        left: 54px;
    }

    .doll-field.pic-4{
        background-position: 0 -144px;
        right: 20px;
        top: 63px;
    }

    .doll-field.pic-5{
        background-position: -96px 48px;
        left: 54px;
        bottom: 66px;
    }

    .doll-field.pic-6{
        background-position: -48px 48px;
        right: 20px;
        bottom: 66px;
    }

    .doll-field.pic-7{
        background-position: -48px 96px;
        left: 54px;
        bottom: 12px;
    }

    .doll-field.pic-8{
        background-position: 0 -96px;
        right: 20px;
        bottom: 12px;
    }

    .doll-field.pic-9{
        background-position: 0 0;
        left: 0;
        top: 63px;
    }

    .doll-field.pic-10{
        background-position: -96px 96px;
        left: 0;
        top: 117px;
    }

    .doll-field.pic-11{
        background-position: 0 -96px;
        left: 0;
        bottom: 12px;
    }

    .doll-field.pic-12{
        background-position: -48px 0;
        left: 0;
        top: 9px;
    }

    .active-item{
        top: -1px;
        right: 0;
        left: -1px;
        bottom: 0;
        position: absolute;
        cursor: pointer;
        border: 1px solid transparent;
        background-repeat: no-repeat;
    }

    .active-item form{
        width: 37px;
        display: inline-block;
    }

    #bg-layout-app{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
    }

    .active-item .app{
        color: #fff;
        font-weight: 900;
        font-size: 12px;
        text-align: right;
        position: absolute;
        bottom: 2px;
        background: rgba(70, 70, 70, 0.71);
        text-shadow: 1px 2px #000;
        border-radius: 100%;
        right: 0px;
        padding-right: 5px;
        padding-left: 2px;
    }

    .select-item.active .active-item .app{
        bottom: 1px;
        padding-right: 4px;
    }

    .select-item.active .active-item{
        border: 1px solid #660b0b;
        background-position: 0px 0px;
    }


    .active-item:hover{
        background-color: rgba(255, 255, 255, 0.2);
    }

    .item-list-block{
        position: relative;
    }

    .simple-search{
        background-color: rgb(37, 34, 27);
        height: 36px;
        position: absolute;
        top: 24px;
        color: #fff;
        padding: 5px 7px 1px;
        right: 8px;
        left: 5px;
        width: 294px;
        display: none;
        text-align: right;
    }

    .simple-search input{
        display: none;
    }

    .simple-search.active{

    }

    .simple-search.active input{
        display: inline-block;
        float: left;
        width: 255px;
        background-color: #44453c;
        border: 1px solid #3d3d32;
        border-radius: 3px;
        padding: 2px 7px;
        font-size: 13px;
        color: #cbcbcb;
    }

    .sph-block{
        margin: 0;
        /*padding: 8px 8px 0 16px;*/
        width: 347px;
        /*width: 351px;*/
        height: 303px;
        background-color: #120e0c;
        background-image: url('/static/img/dolls/sph.png');
    }


    .sph-block .top-line{
        /*background-color: rgba(255,255,255,0.4);*/
        width: 100%;
        height: 100px;
        height: 71px;
        /*padding: 9px 0 0 16px;*/
    }

    .sph-block .bottom-line{
        /*background-color: rgba(255,255,255,0.4);*/
        width: 100%;
        height: 174px;
    }

    .sph-block .bottom-line .ext-sphs{
        width: 52px;
        height: 167px;
        margin: 7px 0 0 11px;
        /*background-color: rgba(255,0,0,0.4);*/
        position: relative;
        display: inline-block;
    }

    .sph-block  .main-sphs{
        position: relative;
        float: right;
        width: 253px;
    }

    .sph-block .sph{
        /*
        width: 52px;
        height: 52px;
         */
        width: 48px;
        height: 48px;
        position: absolute;
        background-image: url('/static/img/dolls/empty-sph.png');
    }


    .sph-block .ext-sphs .num-1{
        top: 33px;
    }

    .sph-block .ext-sphs .num-2{
        top: 87px;
    }

    .sph-block .ext-sphs .num-3{
        top: 141px;
    }

    .sph-block .main-sphs .num-1{
        right: 98px;
        top: 47px;
    }

    .sph-block .main-sphs .num-2{
        top: 40px;
        left: 17px;
    }

    .sph-block .main-sphs .num-3{
        top: 40px;
        right: 9px;
    }

    .sph-block .main-sphs .num-4{
        left: 49px;
        top: 148px;
    }

    .sph-block .main-sphs .num-5{
        right: 40px;
        top: 148px;
    }

    .item-list-block{
        margin: 0 -3px;
        padding: 0;
        width: 304px;
        height: 567px;
        background-color: #26201b;
        background-image: url('/static/img/dolls/items-list.png');
    }

    .item-list-block #load-items{
        padding: 1px 5px;
        overflow-y: auto;
        height: 474px;
        width: 299px;
        margin-top: 35px;
    }

    .item-list-block #load-items p{
        color: #fff;
    }

    .item-list-block #full-info-doll{
        padding: 10px 15px;
        overflow-y: auto;
        height: 536px;
        color: #fff;
        font-size: 12px;
        width: 295px;
    }

    .item-list-block #full-info-doll .item-simple{
        font-size: 13px;
        line-height: 13px;
        margin-bottom: 12px;
    }

    .item-list-block #full-info-doll .item-simple .icon-simple{
        width: 24px;
        height: 24px;
        display: none;
        /*display: inline-block;*/
        vertical-align: middle;
        /*background: #f0f;*/
        margin-right: 6px;
        background-size: cover;
    }

    .app-active{
        position: absolute;
        bottom: -9px;
        left: -17px;
        right: -17px;
        cursor: default;
        padding-top: 14px;
        padding-left: 6px;
        font-size: 18px;
        top: -10px;
        z-index: 3;
        border-radius: 10px;
        border: 1px solid #531e0a;
        background-color: rgba(216, 209, 193, 0.68);
    }

    .arrow-btn-set{
        position: absolute;
        width: 21px;
        height: 36px;
        right: 4px;
        top: 14px;
    }

    .arrow-btn-set .plus{
        position: absolute;
        top: -2px;
        left: 2px;
        font-size: 16px;
        cursor: pointer;
        color: #383838;
    }

    .arrow-btn-set .plus:hover{
        color: #000000;
    }

    .arrow-btn-set .minus:hover{
        color: #000000;
    }


    .arrow-btn-set .minus{
        position: absolute;
        bottom: -1px;
        left: 2px;
        cursor: pointer;
        font-size: 16px;
        color: #383838;
    }

    .app-active span{
        width: 10px;
        display: inline-block;
        text-align: center;
        color: #4f0000;
        font-weight: bold;
    }

    .app-active input{
        width: 33px;
        height: 36px;
        border-radius: 5px;
        font-weight: bold;
        color: #463c3c;
        text-align: center;
        background-color: #ebebeb85;
        border: 1px solid #a79976;
        display: inline-block;
        margin-left: 4px;
        padding: 10px 5px;
    }


    .item-list-block .item{
        padding: 5px;
    }
    .item-list-block .item:hover{
        background-color: rgba(255, 255, 255, 0.1);
        cursor: pointer;
    }

    .item-list-block .item .icon{
        width: 48px;
        display: inline-block;
    }

    .item-list-block .item .icon img{
        width: 42px;
    }
    .item-list-block .item .title{
        color: #fff;
        width: 185px;
        display: inline-block;
        vertical-align: top;
        font-size: 12px;
        padding-top: 4px;
        padding-left: 3px;
    }


    .doll-layout .leftside{
        display: inline-block;
        vertical-align: top;
    }

    .doll-layout .rightside{
        display: inline-block;
        vertical-align: top;
    }

    .item-list-block .classes-tabs{
        /*background-image: url('/data/doll/top-layout.png');*/
        height: 25px;
        background-color: #181614;
        border-bottom: 1px solid #614930;
        margin-right: 5px;
        margin-left: 6px;
    }

    .item-list-block .classes-tabs ul{
        list-style: none;
        padding: 6px 0 0 8px;
        margin: 0;
        position: relative;
        height: 21px;
    }

    .item-list-block .classes-tabs li{
        display: inline-block;
        height: 22px;
        width: 134px;
        margin-right: 3px;
        padding-left: 12px;
        font-size: 11px;
        font-weight: bold;
        cursor: pointer;
        position: relative;
        background-color: #271e14;
        margin-top: -4px;
        overflow: hidden;
        border: 1px solid #332719;
    }

    .item-list-block .classes-tabs li:before{
        /*
        content: ' ';
        width: 4px;
        position: absolute;
        left: -2px;
        top: 0;
        height: 18px;
        background-image: url('/data/doll/r2-btn-simple-sides.png');*/
    }

    /*
    .item-list-block .classes-tabs li:after{
        content: ' ';
        width: 4px;
        position: absolute;
        right: -2px;
        top: 0;
        height: 18px;
        background-position-x: 4px;
        background-image: url('/data/doll/r2-btn-simple-sides.png');
    }*/

    .item-list-block .classes-tabs li a{
        color: #fff;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding-left: 8px;
        padding-top: 2px;
        border-radius: 4px 4px 0 0;
    }

    .item-list-block .classes-tabs li a:hover{
        background: rgba(58, 56, 42, 0.45);
    }

    .item-list-block .classes-tabs li.active{
        /*background-image: url('/data/doll/r2-btn-simple-active.png');*/
        background-color: #cd9a00;
        border: 1px solid #efb400;
        cursor: context-menu;
    }


    .item-list-block .classes-tabs li.active:before{
        /*background-image: url('/data/doll/r2-btn-simple-sides-active.png');*/
    }

    .item-list-block .classes-tabs li.active:after{
        /*background-image: url('/data/doll/r2-btn-simple-sides-active.png');*/
    }


    /*
    .item-list-block .classes-tabs li:after{
        content: ' ';
        width: 4px;
        position: absolute;
        right: -2px;
        top: 0;
        height: 18px;
        background-position-x: 4px;
        background-image: url('/data/doll/r2-btn-simple-sides.png');
    }
    */

    .btn-r2-big{
        height: 24px;
        width: 129px;
        position: relative;
        text-align: center;
        cursor: pointer;
        color: #fff;
        font-size: 13px;
        padding: 1px 2px 0;
        display: inline-block;

        background-color: #cd9a00;
        border: 1px solid #efb400;
    }

    .btn-r2-big .hover{
        display: none;
        top: 0;
        left: -4px;
        right: -4px;
        bottom: 0;
        background-color: #29030329;
        position: absolute;
        z-index: 2;
        border-radius: 5px;
    }

    .btn-r2-big:hover .hover{
        display: block;
    }

    /*
    .btn-r2-big:after{
        background-image: url('/data/doll/btn-simple-sides.png');
        content: ' ';
        height: 27px;
        width: 4px;
        right: -4px;
        position: absolute;
        top: 0;
        background-position: -7px;

    }

    .btn-r2-big:before{
        background-image: url('/data/doll/btn-simple-sides.png');
        content: ' ';
        height: 27px;
        width: 4px;
        left: -4px;
        top: 0;
        position: absolute;
    }*/

    .btn-set{
        margin-top: 30px;
        padding: 0 4px;
    }

    .selection-bonus{
        position: absolute;
        width: 118px;
        color: #e8ff00;
        height: 50px;
        left: 63px;
        font-weight: 600;
        top: 41px;
        text-align: center;
        text-shadow: 1px 1px #000000;
    }


    .number-input input[type="number"] {
        -webkit-appearance: textfield;
        -moz-appearance: textfield;
        appearance: textfield;
    }

    .number-input input[type=number]::-webkit-inner-spin-button,
    .number-input input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
    }

    .number-input {
        display: flex;
        justify-content: space-around;
        align-items: center;

    }

    .number-input button {
        -webkit-appearance: none;
        background-color: transparent;
        border: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        margin: 0;
        position: relative;
    }

    .number-input button:before,
    .number-input button:after {
        display: inline-block;
        position: absolute;
        content: '';
        height: 2px;
        transform: translate(-50%, -50%);
    }

    .number-input button.plus:after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .number-input input[type=number] {
        text-align: center;
    }

    .number-input.number-input {
        border: 1px solid #ced4da;
        height: 20px;
        margin-top: 10px;
        margin-left:5px;
        width: 10rem;
        border-radius: .25rem;
    }

    .number-input.number-input button {
        width: 2.6rem;
        height: .7rem;
    }

    .number-input.number-input button.minus {
        padding-left: 10px;
    }

    .number-input.number-input button:before,
    .number-input.number-input button:after {
        width: .7rem;
        background-color: #495057;
    }

    .number-input.number-input input[type=number] {
        max-width: 4rem;
        max-height: 20px;
        padding: 3px;
        border: 1px solid #ced4da;
        border-width: 0 1px;
        font-size: 15px;
        height: 20px;
        color: #495057;
    }

    @media not all and (min-resolution:.001dpcm) {
        @supports (-webkit-appearance: none) and (stroke-color:transparent) {

            .number-input.def-number-input.safari_only button:before,
            .number-input.def-number-input.safari_only button:after {
                margin-top: -.3rem;
            }
        }
    }

    input#level{
        background: transparent;
        color: #998064;
        border: none;
    }

    .def-number-input{
        margin-left: 30px !important;
    }


    .def-number-input.number-input.number-input{
        border: none !important;
    }

    #global-preloader{
        display: none;
        position:fixed;
        z-index:1101;
        background-color:rgba(205, 205, 205, 0.78);
        top:0;
        left:0;
        right:0;
        bottom:0;

        text-align: center;
    }


    #skills-trees .modal{
        width: 400px;
        height: 500px;
        background: rgba(255, 255, 255, 0.8);
        z-index: 100;
        position: fixed;
        top: 0;
        padding: 15px;
        left: 0;
        border: 1px solid #7d7d7d;
        background-color: #302c23;
        color: #fff;
    }

    #skills-trees .modal h2{
        margin: 0;
    }


    #skills-trees .modal input[type="checkbox"]{
        cursor: pointer;
    }

    #skills-trees .modal input[type="text"]{
        font-size: 11px;
        padding: 10px;
    }

    #skills-trees .right{
        float: right;
    }

    #skills-trees .modal label{
        color: #fff;
        margin-bottom: 2px;
    }

    #skills-trees .modal .input-line{
        margin-bottom: 15px;
    }

    #skills-trees .modal-bg{
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(47, 47, 47, 0.58);
        z-index: 99;
    }

    .modal.save, .modal.save-result{
        border: 2px solid #544d39;
        border-radius: 3px;
        position: relative;
    }

    .modal.save .layout, .modal.save-result .layout{
        border: 1px solid #cab17a;
        border-radius: 3px;
        padding: 15px 20px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .modal.save input.right{
        padding: 15px !important;
        margin-bottom: 10px !important;
    }

    .modal.save label{
        font-size: 13px;
    }

    .modal.save .checkbox-click{
        cursor: pointer;
    }

    .modal.save-result{
        width: 550px !important;
        height: 190px!important;
    }


    .hide-scrollbar {
        overflow: -moz-hidden-unscrollable;
        overflow: hidden;
    }

    .modal .btn-warning {
        color: #fff;
        background-color: #f0ad4e;
        border-color: #f0ad4e;
    }

    .modal .btn {
        display: inline-block;
        font-weight: 400;
        line-height: 1.25;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        border: 1px solid transparent;
        padding: .5rem 1rem;
        font-size: 1rem;
        border-radius: .25rem;
    }
