#avatarWindow {
    width: 787px;
    height: 659px;
    background-image: url('/images/calc/card/avatarwindow.png');
    display: inline-block;
    margin-right: 15px;
    position: relative;
    font-family: FZXiHei,Arial,Tahoma,Helvetica,sans-serif;
    overflow: hidden;
}

.card {
    position: absolute;
    display: inline-block;
    height: 187px;
    width: 154px;
    top: 311px;
    background-size: 74%;
    background-repeat: no-repeat;
    background-position: 50%;
}

.card::before {
    position: absolute;
    display: inline-block;
    height: 187px;
    width: 154px;
    top: 311px;
    background-size: 74%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-image: url('/images/calc/card/blankcard.png');
}

.card .frame {
    width: 100%;
    height: 100%;
    background-size: 100%;
    position: absolute;
    margin: 0px
}

.picker-qtip-card {
    top: 0px;
    left: -250px;
    height: 304px; 
    width: 251px;
}

.picker {
    display: inline-block;
    width:  170px;
    vertical-align: top;
}

.carditem.icon {
    position: relative;
    height: 30px;
    width: 30px;
}

.c .frame { background-image: url('/images/calc/card/blue.png');}
.b .frame { background-image: url('/images/calc/card/purple.png');}
.a .frame { background-image: url('/images/calc/card/yellow.png');}
.s .frame { background-image: url('/images/calc/card/orange.png');}
.ss .frame { background-image: url('/images/calc/card/red.png');}

.windowtitle {
    color: #fdca55;
    font-weight: bold;
    height: 30px;
    position: absolute;
    font-family: FZXiHei,Arial,Tahoma,Helvetica,sans-serif;

}

#title {
    top: 13px;
    left: 350px;
    text-align: center;
}

#leadershipLabel {
    top: 13px;
    left: 34px;
    width: 180px;
}
.label { 
    color: #fdca55;
    font-weight: bold;
    font-family: FZXiHei,Arial,Tahoma,Helvetica,sans-serif;
    position: absolute;
}

.carditem {
    width: 34px;
    height: 34px;
    background-size: 500% 600%;
    background-image: url('/images/calc/card/cardicons.png');
    position: absolute !important;
    display: inline-block;
    cursor: hand;
}

.slot {
    width: 34px;
    height: 34px;
    position: absolute !important;
    display: inline-block;
}

.slot.selected, .carditem.selected {
    outline: #fdca55 solid 1.5px;
    --box-shadow:  0 0 0 2px #fdca55 inset;
}

.classSelector {
    width: 33px;
    height: 33px;
    position: absolute !important;
    opacity: 0.7;
    background-position: -33px 0;
    background-size: 66px 33px;
    cursor: hand;
}
.classSelector:hover {
    opacity: 1.0;
    background-position: 0 0;
}

.classSelector.selected {
    background-position: 0 0;
    opacity: 1.0;
}

#class0 {background-image: url('/images/calc/card/class-0.png');}
#class1 {background-image: url('/images/calc/card/class-1.png');}
#class2 {background-image: url('/images/calc/card/class-2.png');}
#class3 {background-image: url('/images/calc/card/class-3.png');}
#class4 {background-image: url('/images/calc/card/class-4.png');}
#class5 {background-image: url('/images/calc/card/class-5.png');}
#class6 {background-image: url('/images/calc/card/class-6.png');}
#class7 {background-image: url('/images/calc/card/class-7.png');}
#class8 {background-image: url('/images/calc/card/class-8.png');}
#class9 {background-image: url('/images/calc/card/class-9.png');}
#class10 {background-image: url('/images/calc/card/class-10.png');}
#class11 {background-image: url('/images/calc/card/class-11.png');}

#slot0 {top: 540px; left: 90px;}
#slot1 {top: 540px; left: 172px;}
#slot2 {top: 540px; left: 254px;}
#slot3 {top: 540px; left: 340px;}
#slot4 {top: 540px; left: 426px;}
#slot5 {top: 540px; left: 506px;}

#selectedAvatarPanel {
    top: 72px; 
    left: 600px;
    height: 230px;
    width: 250px;
}
.panel {
    color: #0FC;
    position: absolute;
}

.settitle {
    border-top: #166 1px solid;
    padding: 3px 0;
}

.pwi-qtip {
    border-width: 1px;
    border-style: solid;
    border-color: #166;
    background-color: rgba(20, 20, 20, 0.9);
    --white-space: nowrap;
    color: #FFF;
    max-width: 500px;
    font-size: 80% !important;
    line-height: 140%;
    /*padding: 5px;*/
}

.pwi-picker-qtip .qtip-content{ 
    overflow: visible !important;
}

.pwi-qtip .qtip-title,  .pwi-qtip .qtip-titlebar {
    background-color: #2b3a44;
    border-radius: 0;
}

.higher-zindex{
    z-index: 10000000 !important;
}

.checkbox {
    display: none;
}

.checkbox:before {
    background-image: url('/images/calc/card/checkbox.png');
    background-position: 0 0;
    width: 18px;
    height: 18px
}

.cardbutton {
    vertical-align:top;
    text-align: center;
    border: 0px;
    width: 112px;
    height: 28px;
    font-weight: normal;
    background: transparent;
    background-size: 100% 100%;
    color: #FFFF66;
    background-image: url('images/button.png');
    --text-shadow: 1px 0px #000, -1px 0px #000, 0px 1px #000, 0px -1px #000;
    overflow: visible;
    white-space: nowrap;
    padding: 2px 0px;
    /*font-family: FZXiHei, Arial, sans-serif;*/
}
.cardbutton1 {
    vertical-align:top;
    text-align: center;
    border: 0px;
    width: 112px;
    height: 28px;
    font-weight: normal;
    overflow: visible;
    white-space: nowrap;
    padding: 2px 0px;
    /*font-family: FZXiHei, Arial, sans-serif;*/
}
#avatarWindow .cardbutton1 {
    position: absolute;
}

#avatarWindow .cardbutton {
    position: absolute;
}


.cardbutton:hover {
    background-image: url('/images/calc/card/button_h.png');
}

.cardbutton:focus {
    outline: none;
}

.cardbutton:active {
    background-image: url('/images/calc/card/button_a.png');
    color: rgba(0,0,0,0);
    text-shadow: #FF6 1px 1px 0;
    
}

.cardbutton[disabled]  {
    color: #FFFFCC;
    background-image: url('/images/calc/card/button_d.png');
    text-shadow: none !important;
}

.item_color0{color:#ffffff;}
.item_color1{color:#8080ff;}
.item_color2{color:#aa32ff;}
.item_color3{color:#ffdc50;}
.item_color4{color:#ff6000;}
.item_color5{color:#ff0000;}
.item_color6{color:#b0b0b0;}
.item_color7{color:#6cfb4b;}

.modal {
    max-width: 1000px;
    -moz-box-shadow: 0 0 10px 3px rgba(0,0,0,.5);
    -webkit-box-shadow: 0 0 10px 3px rgba(0,0,0,.5);
    box-shadow: 0 0 10px 3px rgba(0,0,0,.5);
    border-width: 3px;
    font-family: Arial,Tahoma,Helvetica,sans-serif;
}

#cardPicker {
    width: 600px;
    height: 400px;
    position: relative;
}

#aggregateInfo {
    /*width: 700px;
    height: 500px;*/
    max-width: 700px;
    position: relative;
}

#aggregateInfo .picker {
    vertical-align: top;
    margin-top: 10px;
}

#aggregateInfo .picker span.item_color4 {
    color: white !important;
}

#avatarSetsWindow .button {
    font-size: 80%;
}

.pickernamelabel {
    display: inline-block;
    width:  135px;
    margin-left: 35px;
    margin-top: 5px;
    cursor: hand;
}

#cardPicker .pickernamelabel {
    height: 35px;
}

#aggregateInfo .pickernamelabel {
    min-height: 35px;
    width: 135px;
}

.cardbutton.equipall {
    position: relative; 
    width: 50px; 
    display: inline-block; 
    margin-right: 5px;
}

.picker.none {
    opacity: 0.2;
    cursor: default !important;
}

.picker.none, .picker.none div {
    cursor: default !important;
}

#avatarSetsWindow .pickernamelabel {
    display:block;
    width: 90px;
    margin-left: -30px;
    margin-top: 40px;
    text-align: center;
    white-space: normal;
}

#avatarSetsWindow .picker {
    display:inline-block;
    vertical-align: top;
    width: 62px;
    margin-right:31px;
}

.setCardPanel {
    display: inline-block; 
    width: 510px;
    white-space: nowrap;
}

.setPanel {
    margin-top: 5px;
}
