﻿html,
body {
    margin: 0px;
    height: 100%;
    overflow: hidden;
    overflow-y: hidden;
    overflow-x: auto;
    overflow: hidden;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}

body {
    background-color: black;
    font-family: "Microsoft YaHei UI";
    color: #008000;
    font-size: 14px;
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

pre {
    font-size: inherit;
    font-family: inherit;
}

.signinfo {
    position: absolute;
    bottom: 1em;
    color: #333;
    font-size: 0.5rem;
    left: 0px;
    right: 0px;
    text-align: center;
}

.signinfo>a {
    color: #333;
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    display: none;
}

* {
    box-sizing: border-box;
    scrollbar-width: none;
}

.loader>img {
    vertical-align: middle;
    border: 0;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: -4px;
}

.loading {
    margin: auto auto;
    margin-top: 12.5rem;
    width: 18.75rem;
    text-align: center;
    line-height: 2rem;
    border: 1px solid transparent;
    border-radius: 0.25em;
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    justify-content: center;
}

.loading>.loader-ball {
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    border: 0.2em solid #337ab7;
    border-top: 0.2em solid #f3f3f3;
    animation: spin 1s linear infinite;
    border-left: 0.2em solid #f3f3f3;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.input-error {
    color: red;
}

.channel {
    max-height: 5em;
    overflow-y: auto;
}

.channel-dialog {
    height: 15em;
    max-height: 15em;
    overflow-y: auto;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.channel>pre {
    margin: 0px;
    white-space: pre-line;
}

.loader {
    margin: auto auto;
    margin-top: 12.5rem;
    width: 18.75rem;
    text-align: center;
    line-height: 2rem;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25em;
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
    font-size: 0.875rem;
}

.textbox {
    border-radius: 0.25rem;
    padding: 6px 12px 6px 12px;
    outline: none;
    border: none;
    border-bottom: solid 1px #888888;
    width: 80%;
    height: 1.5rem;
    border-radius: 0px;
    margin-right: 10px;
}

.server-list {
    list-style-type: none;
    font-weight: bold;
    min-height: 5rem;
    max-height: 20rem;

}

.server-list .select {

    list-style-type: disc;
    color: unset;
}

.server-list li {
    cursor: pointer;
    padding-top: 0.4px;
    padding-bottom: 0.4px;
    color: #999;
    line-height: 2em;
}

.login-content {
    height: 100%;
    overflow: auto;
}

.mypanel {
    width: 100%;
    display: none;
    margin: 0px auto;
}

.mypanel>ul {
    padding-left: 0;
    display: block;
    margin: 0px;
    list-style-type: disc;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}

.mypanel>ul>.active {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
}

.mypanel .content {
    background-color: white;
    border-bottom: none;
    list-style-type: none;
    padding: 0.6rem 1rem;
    -webkit-overflow-scrolling: touch;
    overflow: auto !important;
}

.mypanel .bottom {
    background-color: black;
    border-bottom: none;
    list-style-type: none;
    padding: 0.6rem 1rem;
}

.new-list {
    padding-left: 0.6rem;
}

.new-list>li {
    list-style-type: disc;
    font-size: 1rem;
    line-height: 1.2em;
    padding-top: 0.6rem;
    color: #808000;
    cursor: pointer;
}

.new-list>li:hover {
    text-decoration: underline;
}

.panel_item {
    cursor: pointer;
    background-color: black;
    border-bottom: 1px solid #666666;
    color: #999999;
    list-style-type: none;
    padding: 0.6rem 1rem;
}

.panel_item:hover {
    background-color: #999999;
    color: black;

}

.role-list {}

.role-list>.role-item {
    font-size: 1rem;
    cursor: pointer;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    list-style-type: none;
}

.role-list>.select {

    list-style-type: disc;
}

.hide_txt {
    border: none;
    clear: both;
    border-bottom: 1px solid #888888;
    width: 2.5rem;
    color: #337ab7;
    padding-left: 0.5rem;
}

.hide_txt:focus {
    outline: none;
}

.regist-info-text {
    margin: 0.5rem 0px;
    color: #999999;
    margin-bottom: 0px;
}

.regist-title-text {
    display: inline-block;
    margin-right: 0.5rem;
}

.regist-title-ref {
    color: gray;
    cursor: pointer;
    clear: both;
}

.validnum-box {
    width: 100%;
    white-space: nowrap;
    position: relative;
}

.validnum-box>.validnum-btn {
    margin: 0px;
    position: absolute;
    right: 20%;
    padding: 0px;
    outline: none;
    border: none;
    height: 100%;
    cursor: pointer;

    background-color: transparent;
}

.validnum-box>.validnum-img {
    margin: 0px;
    position: absolute;
    right: 20%;
    bottom: 1px;
    padding: 0px;
    outline: none;
    border: none;
    height: 100%;
    cursor: pointer;
    width: 130px;
    height: 40px;
}

.container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    position: relative;
    line-height: 1.25em;
}

.container>.content-message {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.content-message>pre {
    margin: 0px;
    white-space: pre-line;
}

.scroll-flag {
    background-color: #222;
    text-align: center;
    position: absolute;
    line-height: 2.5em;
    color: #555;
    border-radius: 0.5em;
    width: 2.5em;
    height: 2.5em;
    margin-right: 0.15em;
    cursor: pointer;
}

.chat-panel {
    height: 4em;
    margin: auto;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 999;
}

.chat-panel>.channel-emotes {

    background-color: #000;
    padding: 0.3em;
    max-height: 20em;
    overflow-y: auto;
    margin-top: 1px;
}

.chat-panel>.channel-emotes>span {
    line-height: 2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border: 1px solid #808080;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
}

.chat-panel>.channel-box {}

.chat-panel>.channel-box>span {
    line-height: 1.5em;
    padding: 0.2em 0.3em;
    border: 1px solid #C0C0C0;
    display: inline-block;
    border-bottom: none;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background-color: black;
}

.chat-panel>.channel-box>.selected {
    background-color: #bebebe;
    color: #343434
}

.chat-panel>.channel-box>.close {
    float: right;
    background-color: #ababab;
    color: #343434
}

.chat-panel>.chat-input {
    display: flex;
    flex-direction: row;
    height: 2.8em;
    line-height: 2.8em;
    box-sizing: border-box;
}

.chat-panel>.chat-input>.sender-box {
    flex: 1;
    border: none;
    outline: none;
    background-color: #bebebe;
    border-radius: 0px;
    height: 100%;
    padding-left: 2px;
    line-height: 2.8em;
    margin: 0px;
    padding: 0px
}

.chat-panel>.chat-input>.sender-btn {
    width: 4em;
    height: 100%;
    cursor: pointer;
    background-color: #ababab;
    text-align: center;
    color: #343434;
    font-weight: bold;
    line-height: 2.8em;
    top: 0px;
    margin: 0px;
    padding: 0px;

}



.combat-panel {}

.charac-status {
    display: inline-block;
}

.charac-status>.title {}

.hp>.progress-bar {
    background-color: darkred;
    transition-duration: 1s;
    transition-property: width;
    transition-timing-function: ease-out;
}

.item-damage {}

.mp>.progress-bar {
    background-color: darkblue;
}

.progress {
    border: 1px solid #343434;
    display: block;
    height: 0.3em;
    width: 6.25em;
    position: relative;
    margin-top: 2px;

    box-sizing: content-box;
}

.progress-num {
    display: inline-block;
}

.progress>.progress-bar {
    height: 100%;
    border: 1px solid transparent;
    float: right;
}

/*.progress>.progress-text {
    color:#898989;
    position:absolute;
    line-height:4px;
    height:4px;
    font-size:0.5em;
    width:100%;
    text-align:center;
 }*/
.tool-bar {
    position: absolute;
    z-index: 11;
}

.right-bar {
    right: 0px;
    bottom: 3em;
}

.left-bar {
    left: 0px;
    transition-property: bottom;
    transition-duration: 0.2s;
    transition-timing-function: ease-in;
}

.left-bar>.tool-item {
    border-top-right-radius: 0.25em;
    border-bottom-right-radius: 0.25em;
    border-left: none;
    margin-bottom: 0.25rem;
    font-size: 1em;
    line-height: 1.25em;
    width: 3em;
    height: 3em;
}

.tool-bar>.tool-item {
    text-align: center;
    background-color: gray;
    color: #111;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    border: solid 1px #222;
}

.tool-bar>.tool-item:hover {

    background-color: #666;
}

.tool-bar>.tool-item>.tag {
    background-color: red;
    color: white;
    border-radius: 0.6em;
    width: 1em;
    height: 1em;
    position: absolute;
    right: -0.2em;
    top: -0.3em;
}



.bottom-bar {
    display: block;
    position: relative;
    white-space: nowrap;
    display: flex;
    margin-top: 0.5em;
    margin-bottom: 4px;
}

.right-bar>.tool-item>.tool-icon,
.bottom-bar>.tool-item>.tool-icon {
    display: block;
    line-height: 1.25em;
}

.tool-item>.tool-text,
.tool-item>.tool-text {
    line-height: 1.5em;
    font-weight: bold;
    display: block;
    font-size: 0.8em;
}

.bottom-bar>.tool-item,
.right-bar>.tool-item {
    display: block;
    width: 2.5em;
    height: 2.5em;
    border-radius: 0.5em;
    margin-bottom: 0.15em;
    margin-right: 0.15em;
}



.bottom-bar>.br-tool {
    line-height: 2.5em;
    top: 0px;
    font-family: 'Glyphicons Halflings';
}

.bottom-bar>.br-tool::before {
    content: "\e234";
}


.room-commands,
.combat-commands {
    white-space: nowrap;
    overflow-x: auto;
    display: block;
    line-height: 2em;
    margin-bottom: 0.25em;
}

/* .room-commands::before {
    content: "\e003";
    font-family: 'Glyphicons Halflings';
    background-color: #232323;
    color: gray;
    display: inline-block;
    border-top-right-radius: 0.25em;
}
.combat-commands::before {
    content: "\e162";
    font-family: 'Glyphicons Halflings';
    background-color: #232323;
    color: gray;
    display: inline-block;
    border-bottom-right-radius: 0.25em;
} */

.combat-wrap {
    white-space: pre-wrap;
    position: relative;
}


.combat-wrap::before {
    position: absolute;
    height: 100%;
    left: 0px;
    top: 0px;
}

.room-commands>.act-item,
.combat-commands>.pfm-item {
    display: inline-block;
    border: solid 1px gray;
    color: gray;
    background-color: black;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    min-width: 2.5em;
    margin-right: 0.5em;
    position: relative;
    padding-left: 0.4em;
    padding-right: 0.4em;
    margin-bottom: 2px;
    /* transition: background-size 0.2s linear; */
    background: linear-gradient(to top, rgba(128, 128, 128, 0.5) 0%, rgba(128, 128, 128, 0.5) 100%);
    background-size: 0% 100%;
    background-position: 100% 100%;
    background-repeat: no-repeat;
}



.room-commands>.act-item:active,
.combat-commands>.pfm-item:active {
    background-color: gray;
    color: black;
}

/* .room-commands>span>.shadow,
.combat-commands>.pfm-item>.shadow {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    opacity: 0.5;
    background-color: white;
    display: none;
    border: none;
    border-radius: 0.45em;
} */

.item-commands {
    white-space: normal;
    display: block;
    user-select: none;
    padding-bottom: 0.315em;
}

.item-commands>span {
    display: inline-block;
    border: solid 1px gray;
    color: gray;
    background-color: black;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25em;
    min-width: 2.5em;
    margin-right: 0.625em;
    padding: 0.25em 1em;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

.item-commands>span:active {
    background-color: gray;
    color: black;
}

.room_exits {}

.room_exits>.exits-item {
    color: #FFFF00;
}

.room-item {
    cursor: pointer;
    display: block;
    clear: both;
    position: relative;
}

.room-item>.item-name {
    margin-left: 2em;

}

.room-item>.item-icon {
    opacity: 0.3;
    width: 2em;
    text-align: center;
}

.room-item>.item-status {
    display: inline-block;
    float: right;
}

.room-item>.item-status-bar {
    display: inline-block;
    float: right;
}

.room_items>.item-commands {
    margin-left: 2em;
}

.warn-dialog {

    position: absolute;
    left: auto;
    right: 3.5em;
    z-index: 20;
    min-width: 20em;
    max-width: 100%;
    padding: 0.5em;

    transition-property: bottom;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    background: #111;
    border-radius: 6px;
    overflow: hidden;
    border-top-width: 4px;
    border-top-style: solid;
}

.warn-dialog>.warn-content {
    color: #bdc3c7;
    white-space: pre-wrap;
}

.warn-dialog>.item-commands {
    float: right;
    padding-bottom: 0px;
}

.item-status-bar>.status-item {
    position: relative;
    cursor: pointer;
    margin-right: 0.75em;
    background-color: #008000;
    border-radius: 0.25em;
    color: white;
    line-height: 1.25em;
    padding-left: 0.25em;
    padding-right: 0.25em;
    height: 1.25em;
    display: inline-block;
    zoom: 0.8;
}

.item-status-bar>.downside {
    background-color: #800000;
}

.item-status-bar>.status-item>.status-bg {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 1px;
    padding-bottom: 1px;
    display: inline;
    border-radius: 4px;
}

.item-status-bar>.status-item>.shadow {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 100%;
    bottom: 0px;
    background-color: black;
    opacity: 0.5;
    height: 100%;
    border-radius: 0.25em;
    border-radius: 0.25em;
}

.map-panel {
    width: 100%;
    max-height: 6em;
    overflow: auto;
}

.room-title {
    color: #ffff00;
    line-height: 1.875em;
    height: 1.875em;
}

.room-title>.map-icon {
    color: gray;
    padding-left: 1em;
    padding-right: 1em;
    float: right;
    line-height: 1.875em;
    cursor: pointer;
}

.dialog {
    width: 100%;
    z-index: 10;
}

.dialog>.dialog-header {
    height: 2.5em;
    line-height: 2.5em;
    background-color: #222;
    padding-left: 0.5em;
    display: flex;
    flex-direction: row;
}

.dialog>.dialog-content {
    overflow: auto;
    width: 100%;
}

.dialog>.dialog-content .item-commands {
    text-align: center;
}


.dialog>.dialog-header>.dialog-title {
    color: #808000;
    font-weight: bold;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.dialog>.dialog-header>.dialog-icon {
    color: #808000;
    margin-top: 0.65em;
    margin-right: 0.25em;
}

.dialog>.dialog-header>.dialog-close {
    line-height: 2em;
    color: gray;
    cursor: pointer;
    font-size: 1.25em;
    margin-right: 4px;
}

.dialog>.dialog-footer>.trade_btn {
    float: right;
    border-left: solid 1px gray;
    display: inline-block;
    text-align: center;
    width: 120px;
    height: 1.875em;
    line-height: 1.875em;
}

.dialog>.dialog-footer>.ok {
    color: #00FFFF;
}

.dialog-score {
    min-width: 360px;
    height: 29em;
    padding-top: 0.5em;
}

.dialog-score>.score-section {
    line-height: 1em;
    padding-left: 0.5em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    position: relative;
}


.dialog-score .title {
    width: 4.375em;
    display: inline-block;
    line-height: 1.25em;
}

.dialog-score .value {
    width: 6em;
    display: inline-block;
    line-height: 1.25em;
}

.dialog-score h3 {
    color: #C0C0C0;
    margin: 0.625em;
    border-top: 1px solid #343434;
    border-bottom: 1px solid #343434;
    font-size: 1em;
    line-height: 2em;
}

.dialog-score2 {
    min-width: 360px;
    height: 29em;
    padding-top: 0.5em;
}

.dialog-score2 .title {
    width: 8em;
    display: inline-block;
    line-height: 1.6em;
}

.dialog-score2 .value {
    display: inline-block;
    line-height: 1.6em;
    color: #00ff00;
}

.dialog-score2 h3 {
    color: #C0C0C0;
    margin: 0.625em;
    border-top: 1px solid #343434;
    border-bottom: 1px solid #343434;
    font-size: 1em;
}

.dialog-titles {
    min-width: 360px;
    height: 29em;
    padding-top: 0.5em;
}

.dialog-titles>.title-item {
    line-height: 2em;
    padding-left: 1.5em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
}

.dialog-titles>.selected {
    border-left-color: #00FF00;
}

.dialog-titles>.title-item>.btn-noused {
    float: right;
    display: inline-block;
    color: #00ff00;
    padding-left: 2em;
    background-color: #343434;
    padding-right: 2em;
    border-left: 1px solid #121212;
    cursor: pointer;
}

.dialog-titles>.empty {
    color: gray;
    padding-left: 1.4em;
    line-height: 2em;
}

.dialog>.dialog-footer {
    background-color: #222;
    white-space: nowrap;
    height: 2.5em;
    user-select: none;
    line-height: 2.5em;
}

.dialog>.dialog-footer>.item-commands {
    float: right;
    margin-right: 2px;
    padding-bottom: 0px;
}

.dialog>.dialog-footer>.item-commands>span {
    height: 2em;
    line-height: 2em;
    padding: 0 0.5em 0 0.5em;
    margin: 0;
    margin-left: 1em;
}

.dialog>.dialog-footer>.footer-item {
    color: #bdc3c7;
    display: inline-block;
    width: 5em;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}


.dialog>.dialog-footer>.eq-group {
    width: 2em;
    height: 2em;
    border-radius: 2em;
    background-color: #111;
    line-height: 2em;
    margin-left: 1em;
    margin-top: 0.25em;
}

.dialog>.dialog-footer>.channel-item {

    width: 4em;
}



.dialog>.dialog-footer>.select {
    background-color: #555;
    color: #bdc3c7;
}

.dialog-skills {
    min-height: 15em;
    overflow-y: auto;
    max-height: 35em;
    margin-top: 0.5em;
}

.hide-item {}

.dialog-skills>pre {
    padding: 0px;
    margin: 0px;
    white-space: pre-wrap;
}

.dialog-skills>.skill-item {
    line-height: 2em;
    padding-left: 1.5em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
}


/* .dialog-skills>.skill {
    display: none;
} */

/* .spskill>.base {
    display: none;
}

.spskill>.skill {
    display: block;
} */

.hide-item>.skill-item {
    display: none;
}

.dialog-skills>.dialog-books>.skill-item {
    display: none;
}

.dialog-skills>.skill-item>.skill-level {
    float: right;
    margin-right: 0.625em;
}

.dialog-skills>.skill-item>.enable-flag {
    display: none;
    color: var(--border-color);
    line-height: 2em;
}

.dialog-skills>.enable {
    padding-left: 0px;
}

.dialog-skills>.enable>.enable-flag {
    display: inline-block;
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.dialog-skills>.skill-item>.enable_skill {
    margin-left: 0.5em;
}

.dialog-skills>.enable>.item-commands {
    padding-left: 1em;
}

.dialog-skills>.book-item {
    line-height: 2em;
    padding-left: 1.5em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

.dialog-skills>.book-item>.book-name {
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--border-color);
    overflow: hidden;
}

.dialog-skills>.book-item>.book-action {
    flex: 0;
    background-color: #222;
    padding-left: 1em;
    padding-right: 1em;
}

.obj-list>.obj-item,
.trade-list>.obj-item {
    background-color: #111;
    line-height: 1.875em;
    min-height: 1.875em;
    padding-left: 0.3125em;

    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 0.5em;
    border-radius: 4px;
}

.trade-list>.lock:before,
.obj-list>.lock:before {
    content: "\e033";
    font-family: 'Glyphicons Halflings';
    font-size: 0.8em;
    margin-right: 0.2em;
    color: var(--border-color);

}

.obj-item>.obj-oper {
    float: right;
    margin-right: 0.625em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    line-height: 1.5em;
    background-color: #222;
    border-radius: 0.5em;
    margin-top: 0.2em;
    color: gray;
    display: none;
    cursor: pointer;
    user-select: none;
}

.cleanup>.obj-item>.obj-oper {
    display: inline-block;
}

.cleanup>.obj-item>.selected {
    color: #00FF00;
}



.obj-item>.obj-count,
.obj-item>.obj-value {
    float: right;
    margin-right: 0.625em;
}

.cleanup>.obj-item>.obj-value,
.cleanup>.obj-item>.obj-count {
    display: none;
}


.obj-list>.disabled {
    opacity: 0.5;
}


.eq-list {
    width: 50%;
    display: inline-block;
    float: left;
}

.eq-list>.eq-item {
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
}

.eq-list>.empty {
    border-color: gray;
    color: gray;
}

.eq-list>.eq-item>.eq-name {
    white-space: nowrap;
    padding-left: 0.3125em;
}

.eq-list>.eq-item>.eq-type {
    background-color: #333;
    color: gray;
    line-height: 1.875em;
    display: inline-block;
    height: 1.875em;
    width: 3em;
    text-align: center;
}

.dialog-pack {
    min-width: 360px;
    overflow-x: auto;
    padding-top: 0.5em;
}


.dialog-pack>.obj-list {
    width: 50%;
    display: inline-block;
    overflow-y: auto;
    height: 25.625em;
}


.obj-list>.obj-item {

    margin-left: 0.5em;
}


.dialog-list {
    width: 100%;
    white-space: nowrap;
    overflow-x: auto;
    padding-top: 0.5em;
}

.dialog-list>.trade-list,
.dialog-list>.obj-list {
    width: 50%;
    height: 21.25em;
    display: inline-block;
    float: left;
    overflow-y: auto;
}

.dialog-pack>.obj-desc,
.dialog-list>.obj-desc {
    padding: 0.25em;
    margin: 0px;
    white-space: pre-wrap;
    width: 45%;
    height: 25.625em;
    display: inline-block;
    float: left;
    overflow-y: auto;
}

.obj-money {
    float: right;
    padding-right: 10px;
    color: #C0C0C0;
}

.obj-money>span {
    margin-left: 1em;
    padding-left: 1em;
    color: #C0C0C0;
    border-left: 1px solid gray;
    color: #808080;
    line-height: 1.8em;
    cursor: pointer;
    user-select: none;
}

.room-commands>.empty-msg,
.combat-commands>.empty-msg {
    border: none;
}

.state-bar {
    flex: 1;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-left: .5em;
    border-radius: .5em;
    border-left-width: 2px;
    border-left-style: solid;
    white-space: nowrap;
    overflow-x: auto;
    background-color: #111;
    cursor: pointer;
    height: 2.5em;
    margin-right: 0.15em;
}


.state-bar>.title {
    line-height: 2.5em;
}

.state-bar>.stop {
    display: inline-block;
    color: #808080;
    text-align: center;
    cursor: pointer;
    width: 3.75em;
    text-decoration: underline;
}

.state-bar>.item-command {
    display: inline-block;
    border: solid 1px gray;
    color: gray;
    background-color: black;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    min-width: 2.5em;
    margin-right: 0.6em;
    padding: 0px 0.4em;
    margin-top: 0.2em;
    line-height: 2em;
}

.setting {
    padding-bottom: 0.625em;
    height: 30em;
}

.setting-item {
    line-height: 2em;
    padding-left: 1em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

.setting-item>.title {
    margin-right: 0.625em;
    flex: 1;
    text-align: left;
    white-space: initial;
}

.setting-item>.color-list {

    margin-right: 1em;
}

.setting-item>.button {
    flex: 0;
    background-color: #222;
    padding-left: 1em;
    padding-right: 1em;
    border-left: 1px solid gray;
}

.setting-item>.button:active {
    background-color: #111;
}


.setting>h3 {
    color: #C0C0C0;
    border-bottom: 1px solid #343434;
    padding-bottom: 0.5em;
}

.setting>.settingbox {
    margin-left: 0.625em;
    border: 1px solid gray;
    background-color: transparent;
    color: unset;
    resize: none;
    width: 98%;
    height: 3rem;
}

.setting>.setting-ok {
    border: 1px solid gray;
    background-color: transparent;
    color: unset;
    width: 5rem;
    height: 1.7rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.dialog-skeys {
    height: 30em;
    overflow-y: auto;
}


.dialog-skeys>.selected {
    border-left-color: #00FF00;
    color: #00FF00;
}



.extend-list {
    margin-top: 0.5em;
    height: 30em;
    text-align: center;
}

.extend-list>.buttons {
    text-align: center;
}

.extend-list>.buttons>button {
    margin: 0.5em;
    color: gray;
    background-color: #111;
    line-height: 2em;
}


.extend-add {
    display: flex;
    flex-direction: column;
    margin-top: 0.5em;
    height: 30em;
}


.extend-row {
    line-height: 2em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    border-right: 1px solid transparent;
}

.extend-row>.extend-input {
    flex: 1;
    border: none;
    outline: none;
    background-color: black;
    color: #cecece;
    padding-left: 1em;
}

.extend-row>input {
    height: 2em;
}

.extend-row>textarea {
    height: 100%;
    resize: none
}

.extend-row>.extend-menus {
    display: flex;
    flex-direction: column;
}

.extend-row>.extend-row-header {
    width: 8em;
    text-align: center;
}

.extend-help {
    padding-inline-start: 0.5em;
    width: 100%;
    text-align: center;
    color: gray;
    flex: 1;
    overflow: auto;
    list-style-position: inside;
    text-align: left;
    white-space: normal;
    line-height: 1.5em;
}

.extend-menus>.switch {
    margin-top: 1em;
    width: 7em;
    margin-left: 0.5em;
}

.extend-menus>button {
    margin: 1em 0px;
    color: gray;
    background-color: #111;
}

.skey-item {
    line-height: 2em;
    padding-left: 1em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

.skey-item>.skey-name {
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: gray;
    overflow: hidden;
}

.skey-item>.skey-key {
    background-color: #222;
    width: 7em;
    text-align: center;
}

.switch {
    display: inline-block;
    position: relative;
    height: 2em;
    width: 5em;
    line-height: 2em;
    border-radius: 1em;
    background: #222;
    cursor: pointer;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    vertical-align: middle;
    text-align: center;
}

.switch>.switch-button {
    position: absolute;
    left: 0px;
    height: 2em;
    width: 2em;
    border-radius: 1em;
    background: gray;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    -webkit-transition: 0.3s;
    left: 0px;
}

.switch>.switch-text {
    color: #898989;
    margin-left: 0.625em;
}

.on {
    background-color: #008000;
}

.on>.switch-button {
    right: 0px;
    left: auto;
    background-color: #eee;
}

.on>.switch-text {
    margin-right: 0.625em;
    margin-left: 0px;
    color: #eee;
}

.error-shake {
    animation: glow 1.5s;
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
}

@keyframes glow {

    0% {
        border-color: #ccc;
    }

    20% {
        border-color: #ff4444;
    }

    50% {
        border-color: #ccc;
    }

    70% {
        border-color: #ff4444;
    }

    100% {
        border-color: #ccc;

    }
}

.color-list>.color-item {
    width: 3em;
    height: 1.25em;
    display: inline-block;
    border: 2px solid #cecece;
    line-height: 1.25em;
    text-align: center;
    border-radius: 1em;
    box-sizing: content-box;
}

.color-list>.select {
    border-color: #ff0000;
}

.help-item {
    line-height: 2em;
    border-bottom: 1px solid #343434;
    padding-left: 0.625em;
    list-style-type: disc;
}

.dialog-help>iframe {
    display: none;
}

.help-detl>.help-item {
    display: none;
}

.help-detl>iframe {
    display: block;
    height: 100%;
}

.help-detl>.help-content {}

.help-detl>.help-content>h3 {
    margin: 0px;
    margin-top: 1em;
    margin-bottom: 1em;
    color: #C0C0C0
}

.help-detl>.help-content>pre {
    margin: 0px;
    white-space: pre-line;
    font-size: 0.8rem;
}


.dialog-confirm {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background-color: #111;
    border-left: 4px solid #108ee9;
    border-radius: 4px;
    z-index: 99;
    user-select: none;

    overflow-y: hidden;
    height: 6em;
    line-height: 6em;
    display: flex;
    flex-direction: row;
}

.dialog-confirm>.dialog-btn>.btn-icon {
    margin-right: 0.4em;
}

.dialog-confirm>.dialog-btn {
    height: 100%;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
}

.dialog-confirm>.dialog-content {
    color: #ababab;
    padding-left: 1em;
    flex: 1
}

.dialog-confirm>.btn-ok {
    background-color: #108ee9;
    color: white;
    cursor: pointer;
}

.dialog-party {}

.dialog-party>wht {
    display: inline-block;
    height: 15rem;
    line-height: 15rem;
    text-align: center;
    width: 100%;
}

.dialog-party>.dialog-party-add {
    margin-top: 2em;
    text-align: center;
}

.dialog-party>.dialog-party-add>input {
    border: 1px solid gray;
    background-color: transparent;
    color: unset;
    resize: none;
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 2em;
    border-radius: 0.5em;
    text-align: center;
}

.dialog-party>.party-title {
    font-size: 2rem;
    width: 100%;
    text-align: center;
    height: 2rem;
    line-height: 2rem;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    opacity: 0.7;
    font-weight: bold;

}

.dialog-party>.party-notice {
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    color: #00FFFF;
    line-height: 2em;
}

.dialog-party>.party-notice>*>span {

    width: 3em;
    display: inline-block;
    padding-right: 0.5em;
}

.dialog-party>.party-title>.party-count {

    font-size: 1rem;
}

.dialog-party>.party-title>*>.glyphicon {

    padding-right: 0.5em;
    float: left;
}

.dialog-party>.party-roles {

    overflow-x: hidden;
    overflow-y: auto;
}

.dialog-party>.party-roles>.party-role,
.dialog-party>.party-item {

    padding-left: 0.5em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    background-color: #111;
    line-height: 2em;
    cursor: pointer;
}

.dialog-party>.party-item {
    display: flex;
}

.dialog-party>.party-item>.party-item-name {
    padding-left: 0.5em;
    flex: 1;
}

.dialog-party>.party-item>.party-item-sc {

    flex: 0;
    margin-left: 1em;
    margin-right: 1em;
}

.dialog-party>.party-item>.party-item-cmd {
    flex: 0;
    background-color: #222;
    padding-left: 1em;
    padding-right: 1em;
}

.dialog-party>.party-roles>.party-role>.role-level {

    width: 3em;
    display: inline-block;
}

.dialog-party>.party-roles>.party-role>.role-name {
    padding-left: 0.5em;
}

.dialog-party>.party-roles>.party-role>.role-sc {
    float: right;
    padding-right: 0.5rem;

}

.confirm-count {
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
    width: 100%;
}

.confirm-count>.btn {
    display: inline-block;
    border: solid 1px gray;
    color: gray;
    background-color: black;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25em;
    width: 5em;
    margin-right: 0.625em;
    margin-top: 0.25em;
    height: 2.5em;
    line-height: 2.5em;
}

.confirm-count>input {
    background-color: transparent;
    outline: none;
    border: 1px solid #666666;
    border-radius: 0.25em;
    width: 5em;
    height: 2.5em;
    line-height: 2.5em;
    color: inherit;
    text-align: center;
    font-weight: bold;
    margin-right: 0.625em;
}

.dialog-pms {
    max-height: 32em;
    margin-bottom: 0.5em;
}

.dialog-pms>.empty {
    text-align: center;
    margin-top: 3em;
    margin-bottom: 3em;
    color: gray;
}

.dialog-pms>.pm-item {
    border-radius: 6px;
    background-color: #111111;
    border-left-width: 4px;
    border-left-style: solid;
    border-left-color: gray;
    position: relative;
    padding-left: 0.5em;
    line-height: 2em;
    margin-top: 0.5em;
    cursor: pointer;
}

.dialog-pms>.selected {
    border-left-color: #00ff00;
    background-color: #222;
}

.dialog-pms>.pm-item>.pm-title {
    width: 10em;

}

.dialog-pms>.pm-item>.pm-desc {
    min-width: 10em;
    flex: 1;
}

.dialog-pms>.pm-item>.pm-mem {

    padding-right: 1em;
    color: gray;
    font-size: 0.8em;
}

.dialog-pms>.pm-item>.pm-add {
    width: 4em;
    border-left: 1px solid #343434;
    text-align: center;
    color: #008080
}

.dialog-pms>.pm-item>.pm-add:hover {
    background-color: #333;
}

.dialog-events {
    max-height: 32em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

.dialog-events>.empty {
    text-align: center;
    color: gray;
    margin-bottom: 3em;
    margin-top: 3em;
}

.dialog-events>.event-item {
    border-radius: 6px;
    background-color: #111111;
    border-left-width: 4px;
    border-left-style: solid;
    position: relative;
    margin-top: 0.5em;
    padding-left: 0.5em;
}

.event-item h3 {
    margin: 0px;
    padding-top: 0.5em;
    color: var(--border-color)
}

.event-item .event-desc {
    white-space: pre-wrap;
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.event-item>.event-btn {
    width: 7em;
    border-left: 1px solid var(--border-color);
    text-align: center;
    font-weight: bold;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--border-color);
}

.dialog-tasks {
    max-height: 32em;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

.dialog-tasks>.task-item {
    border-radius: 6px;
    background-color: #111111;
    border-left-width: 4px;
    border-left-style: solid;
    position: relative;
    margin-top: 0.5em;
    padding-left: 0.5em;
}

.dialog-tasks>.none {
    border-left-color: #808080
}



.dialog-tasks>.finish {
    border-left-color: #00ff00
}

.dialog-tasks>.over {
    border-left-color: #008080
}

.dialog-tasks>.none>.task-btn {
    border-left-color: #808080;
    color: #808080;
}

.dialog-tasks>.finish>.task-btn {
    border-left-color: #00ff00;
    color: #00ff00;
    background-color: #00ff0033;
}

.dialog-tasks>.over>.task-btn {
    border-left-color: #008080;
    color: #008080;
}

.task-item h3 {
    margin: 0px;
    padding-top: 0.5em;
}

.task-item .task-desc {

    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    white-space: pre-wrap;
}

.task-item>.task-btn {
    width: 4.5em;
    display: inline-block;
    border-left: 1px solid #343434;
    text-align: center;
    font-weight: bold;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.task-item>.task-btn:hover {
    background-color: #222;
}

.dialog-tasks>.task-item>.start {
    color: gray;
}

.dialog-tasks>.task-item>.finish {
    color: #00ff00;
}

.dialog-tasks>.task-item>.over {
    color: #ebebeb;
}

.dialog-fb {
    height: 25.5em;
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
}

.dialog-fb>.fb-left {
    width: 12.5em;
    height: 100%;
    text-align: center;
    margin-top: 0.5em;
    overflow-y: auto;
}

.dialog-fb>.fb-right {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    padding-left: 0.5em;
}

.fb-actions {
    margin-top: 0.5em;
}

.fb-actions>.fb-action {
    line-height: 2em;
    padding-left: 1em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

.fb-actions>.fb-action>.action-desc {
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: gray;
    overflow: hidden;
}

.fb-actions>.fb-action>.action-name {
    flex: 0;
    background-color: #222;
    padding-left: 1em;
    padding-right: 1em;
}

.fb-actions>.fb-action>.action-name:hover {
    background-color: #333;
}

.fb-actions>.finshed {
    border-left-color: #00FF00;
}

.fb-actions>.finshed>.action-desc {
    color: #00FF00;
}

.dialog-fb>.fb-right>pre {
    white-space: pre-wrap;
    margin: 0.5em 0.5em 2em 0.5em;
}

.dialog-fb>.fb-left>.fb-content {
    height: 100%;
    overflow: auto;
}

.dialog-fb>.fb-left>.fb-content>.fb-item {
    line-height: 2em;
    padding-left: 1.5em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
}

/* .dialog-fb>.fb-left>.fam:before {
    content: "门派";
    color: gray;
    float: left;
    background-color: #222;
    font-size: 0.8em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-radius: 0.5em;
    padding-top: 0em;
    padding-bottom: 0em;
} */

.dialog-fb>.fb-left>.fam-item {
    line-height: 2em;
    padding-left: 0.5em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
}

.dialog-fb>.fb-left>.fb-content>.line {
    height: 1.25em;
    width: 0px;
    border-left: 1px solid #343434;
    margin-left: auto;
    margin-right: auto;
    margin-top: -1em;
    margin-bottom: -1em;
}

.dialog-fb>.fb-left>.fb-content>.lock {
    /*box-shadow: 0 0 5px rgba(80, 255, 255, 255);*/
    border-color: #bebebe;
    color: #bebebe !important;
    opacity: 0.6;
}

.dialog-fb>.fb-left>.fb-content .selected,
.dialog-fb>.fb-left>.selected {
    border-color: #00ff00;
    color: #00ff00;
}

.dialog-fb>.fb-left>.fb-content>.lock:before {
    font-family: 'Glyphicons Halflings';
    content: "\e033";
    float: left;
    margin-left: 0.25em;
    opacity: 0.6;
}

.payframe {
    border: none;
    width: 100%;
    height: 30rem;
}

pre>.sel {
    line-height: 2rem;
}


.dialog-shop-content {
    height: 25em;
}

.dialog-shop {
    max-height: 32em;
    padding-bottom: 0.5em;
    margin-top: 0.5em;
}

.dialog-shop>.shop-item {
    border-radius: 6px;
    background-color: #111111;
    border-left-width: 4px;
    border-left-style: solid;
    position: relative;
    margin-bottom: 0.5em;
    padding-left: 0.5em;
    display: flex;
    flex-direction: row;
}

.shop-item-title {
    display: flex;
    flex-direction: row;
    line-height: 2em;
    place-items: 1em;
}

.shop-item-title>.shop-item-name {
    margin: 0px;
    color: var(--border-color);
    font-weight: bold;
}

.shop-item-title>.discount-tag {

    background: linear-gradient(135deg, #ff3e3e 0%, #ff9100 100%);
    color: white;
    width: 4em;
    font-weight: bold;
    text-align: center;
    border-radius: 0.5em;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}



.dialog-shop>.shop-item .shop-desc {
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    white-space: pre-wrap;
}

.dialog-shop>.shop-item .shop-label {
    background: linear-gradient(110deg, transparent 0%, rgba(255, 159, 28, 0.8) 50%, transparent 100%);

    animation: shine 3s infinite linear;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}


.dialog-shop>.shop-item>.shop-btn {
    width: 8em;
    display: inline-block;
    border-left: 1px solid var(--border-color);
    text-align: center;
    font-weight: bold;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #222;
    flex-wrap: wrap;
}

.dialog-shop-footer {
    text-align: right;
    padding-right: 0.5em;
}

.dialog-shop-footer>span {
    line-height: 1.8em;
    margin-left: 1em;
    color: #808000;
    display: inline-block;
    padding-right: 1em;
    text-align: center;
    text-decoration: underline;
    border-right: 1px solid #808000;
}

.wxqr {
    padding-top: 1em;
}

.stats-container {
    display: flex;
    flex-direction: row;
    height: 25em;
    margin-top: 0.5em;
}

.stats-container>.stats-container-left {
    overflow-y: auto;
}

.stats-container-left>.stats-silder {
    white-space: nowrap;
    line-height: 2em;
    width: 5em;
    text-align: center;
    background-color: #111;
    border-radius: 4px;
    margin-bottom: 0.5em;
    margin-right: 0.5em;
    margin-left: 0.5em;
    text-align: center;
    cursor: pointer;
}

.stats-container-left>.select {
    background-color: #222;
    color: #00ff00;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: #00ff00;
    /* border-right-width: 2px;
    border-right-style: solid;
    border-right-color: #00ff00; */
}

.dialog-stats {
    flex: 1;
    overflow: auto;
}

.dialog-stats>.top-item {
    white-space: nowrap;
    line-height: 2em;
    padding-left: .5em;
    border-radius: 4px;
    white-space: nowrap;
    overflow-x: auto;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;
    color: inherit;
}

.dialog-stats>.top-item>.top-title {
    display: inline-block;
    font-weight: bold;
    height: 1.875em;
    line-height: 1.875em;
    padding-left: 1em;
    margin-right: 1em;
}

.dialog-stats>.top-item>.top-sc {
    float: right;
    margin-right: 1em;
    line-height: 1.875em;
    font-weight: bold;
    font-style: italic;
}



.dialog-stats>.top1>.top-sc {
    color: #FFA500;
}

.dialog-stats>.top2>.top-sc {
    color: #912CEE;
}

.dialog-stats>.top3>.top-sc {
    color: #FFD700;
}

.dialog-stats>.top-item>.top-name {
    height: 1.875em;
    line-height: 1.875em;
}

.dialog-stats>.top-item>.item-commands {
    padding-left: 3.125em;
}

.stats-span {
    float: right;
    padding-right: 10px;
    color: #C0C0C0;
    line-height: 2.5em;
}

.dialog-message,
.dialog-team,
.dialog-party,
.dialog-relation {
    height: 25em;
    max-height: 30em;
}

.dialog-message>.message-list>.empty,
.dialog-team>.empty {
    color: #505050;
    padding-top: 1em;
    text-align: center;
}

.dialog-message>.message-list>.message-item {

    padding-left: 1em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    background-color: #111;
    cursor: pointer;

}

.dialog-message>.message-list>.message-item>.message-title {
    color: #FFFF00;
    line-height: 2em;
}

.dialog-message>.message-list>.message-item>.message-content {
    white-space: break-spaces;
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 0.5em;
}

.dialog-message>.message-list>.message-item>.message-title>.message-time {
    float: right;
    margin-right: 0.5em;

}

.detail {
    min-height: 25em;
    max-height: 25em;
}

.detail>.message-list {
    display: none;
}

.dialog-message>.detail-list {
    display: none;
}

.detail>.detail-list {
    display: block;
}

.dialog-team>.team-item {
    padding-left: 0.5em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    background-color: #111;
    line-height: 2em;
    cursor: pointer;
}

.dialog-team>.team-item>.item-commands {
    padding-left: 2em;
}

.dialog-team>.team-item>.team-flag {
    width: 2em;
    display: inline-block;
    text-align: center;
    color: #FFFF00
}

.dialog-team>.team-item>.team-name {
    display: inline-block;
}

.dialog-relation>.relation-item {
    padding-left: 0.5em;
    border-radius: 4px;
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    background-color: #111;
    line-height: 2em;
    display: flex;
    flex-direction: row;
}

.dialog-relation>.relation-item>.relation-desc {
    flex: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.dialog-relation>.relation-item>.relation-cmd {
    flex: 0;
    background-color: #222;
    padding-left: 1em;
    padding-right: 1em;
    cursor: pointer;
    border-left: 2px solid #111;
}

.detail-item {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    padding: 0.5em;
    background-color: #111;
    padding-left: 1em;
    border-radius: 4px;
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: gray;
    white-space: nowrap;
    overflow-x: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    background-color: #111;
}

.detail-item>.detail-name {
    color: #FFFF00;
}

.detail-item>.detail-time {
    margin-left: 1em;
    color: gray;
}

.detail-item>.detail-content {
    white-space: pre-wrap;
}

.detail-item>.detail-rec {
    margin-top: 1em;
    background-color: #222;
    color: gray;
    display: inline-block;
    font-size: 0.8em;
    padding-left: 1em;
    padding-right: 1em;
    border-radius: 1em;
    cursor: pointer;
}

.item-commands>.disabled {
    color: #505050
}

.border-right {
    border-right: solid 1px #333;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.flex-0 {
    flex: none;
}

mem {
    color: gray;
    font-size: 0.8em;
}



.grade0 {
    --border-color: #C0C0C0;
    border-color: var(--border-color);
}

.grade1 {
    --border-color: #00FF00;
    border-color: var(--border-color);
}

.grade2 {
    --border-color: #00FFFF;
    border-color: var(--border-color);
}

.grade3 {
    --border-color: #FFFF00;
    border-color: var(--border-color);
}

.grade4 {
    --border-color: #912CEE;
    border-color: var(--border-color);
}

.grade5 {
    --border-color: #FFA500;
    border-color: var(--border-color);
}

.grade6 {
    --border-color: #FF4500;
    border-color: var(--border-color);
}

CMD {
    font-weight: bold;
}

NOR {
    color: #008000;
}

GRE {
    color: #008000;
}

BLK {
    color: #505050;
}

BLU {
    color: #000080;
}

CYN {
    color: #008080;
}

RED {
    color: #800000;
}

MAG {
    color: #800080;
}

YEL {
    color: #808000;
}

WHT {
    color: #C0C0C0;
}

ORA {
    color: #d26900;
}

opt {
    opacity: 0.5
}

.hide {
    display: none;
}

HIK {
    color: #808080;
}

HIB {
    color: #0000FF;
}

HIG {
    color: #00FF00;
}

HIC {
    color: #00FFFF;
}

HIR {
    color: #FF0000;
}

HIM {
    color: #FF00FF
}

HIY {
    color: #FFFF00;
}

HIW {
    color: #FFFFFF;
}

HIO {
    color: #FFA500;
}

HIJ {
    color: #FFD700;
}

HIZ {
    color: #912CEE;
}

ORD {
    color: #FF4500;
}

FLA {}


BBLK {
    background-color: #FFFFFF;
}

BBLU {
    background-color: #000080;
}

BCYN {
    background-color: #008080;
}

BRED {
    background-color: #800000;
}

BMAG {
    background-color: #800080;
}

BYEL {
    background-color: #808000;
}

BWHT {
    background-color: #C0C0C0;
}

BHIK {
    background-color: #808080;
}

HBBLU {
    background-color: #0000FF;
}

HBGRN {
    background-color: #00FF00;
}

HBCYN {
    background-color: #00FFFF;
}

HBRED {
    background-color: #FF0000;
}

HBMAG {
    background-color: #FF00FF
}

HBYEL {
    background-color: #FFFF00;
}

HBWHT {
    background-color: #FFFFFF;
}

CMD {
    cursor: pointer;
    text-decoration: underline;
    background-color: transparent;
}

DEL {
    text-decoration: line-through;
    color: gray;
}

line {
    color: #008080;
    height: 30px;
    line-height: 30px;
    width: 100%;
    display: inline-block;
    position: relative;
    text-align: center;
}

line::before {
    content: '';
    border-top: 1px solid #008080;
    width: 45%;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 0px;
}

line::after {
    content: '';
    border-top: 1px solid #008080;
    width: 45%;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0px;
}


.blink {
    animation-name: flash;
    animation-duration: 1s;
    animation-iteration-count: infinite
}

@keyframes flash {
    50% {
        color: inherit;
    }

    50% {
        color: black;
    }
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.glyphicon-saved:before {
    content: "\e168";
}

.glyphicon-ok:before {
    content: "\e013";
}

.glyphicon-plus:before {
    content: "\2b";
}

.glyphicon-minus:before {
    content: "\2212";
}

.glyphicon-user:before {
    content: "\e008";
}

.glyphicon-th-list:before {
    content: "\e012";
}

.glyphicon-remove:before {
    content: "\e014";
}

.glyphicon-zoom-in:before {
    content: "\e015";
}

.glyphicon-zoom-out:before {
    content: "\e016";
}

.glyphicon-off:before {
    content: "\e017";
}

.glyphicon-cog:before {
    content: "\e019";
}

.glyphicon-trash:before {
    content: "\e020";
}

.glyphicon-home:before {
    content: "\e021";
}

.glyphicon-file:before {
    content: "\e022";
}

.glyphicon-time:before {
    content: "\e023";
}

.glyphicon-refresh:before {
    content: "\e031";
}

.glyphicon-lock:before {
    content: "\e033";
}

.glyphicon-dashboard:before {
    content: "\e141";
}

.glyphicon-flag:before {
    content: "\e034";
}

.glyphicon-book:before {
    content: "\e043";
}

.glyphicon-comment:before {
    content: "\e111";
}

.glyphicon-bookmark:before {
    content: "\e044";
}

.glyphicon-chevron-left:before {
    content: "\e079";
}


.glyphicon-chevron-right:before {
    content: "\e080";
}

.glyphicon-plus-sign:before {
    content: "\e081";
}

.glyphicon-minus-sign:before {
    content: "\e082";
}

.glyphicon-remove-sign:before {
    content: "\e083";
}

.glyphicon-ok-sign:before {
    content: "\e084";
}

.glyphicon-question-sign:before {
    content: "\e085";
}

.glyphicon-info-sign:before {
    content: "\e086";
}

.glyphicon-remove-circle:before {
    content: "\e088";
}

.glyphicon-ok-circle:before {
    content: "\e089";
}

.glyphicon-ban-circle:before {
    content: "\e090";
}

.glyphicon-log-in:before {
    content: "\e161";
}

.glyphicon-flash:before {
    content: "\e162";
}

.glyphicon-edit:before {
    content: "\e065";
}

.glyphicon-send:before {
    content: "\e171";
}

.glyphicon-triangle-bottom:before {
    content: "\e252";
}

.glyphicon-tasks:before {
    content: "\e137";
}

.glyphicon-briefcase:before {
    content: "\e139";
}

.glyphicon-triangle-top:before {
    content: "\e253";
}

.glyphicon-map-marker:before {
    content: "\e062";
}

.glyphicon-flash:before {
    content: "\e162";
}

.glyphicon-search:before {
    content: "\e003";
}

.glyphicon-exclamation-sign:before {
    content: "\e101";
}

.glyphicon-volume-down:before {
    content: "\e037";
}

.glyphicon-chevron-down:before {
    content: "\e114";
}

.glyphicon-option-horizontal:before {
    content: "\e234";
}

.glyphicon-arrow-left:before {
    content: "\e091";
}

.glyphicon-remove-circle:before {
    content: "\e088";
}

.glyphicon-ok-circle:before {
    content: "\e089";
}

@media(min-width: 768px) {
    body {
        width: 768px;
        margin: auto;
        position: relative;
    }

    .dialog-stats>.top-item>.top-title {
        padding-left: 3em;
        margin-right: 2em;
    }
}

@media (max-width: 480px) {
    .dialog>.dialog-footer>.footer-item {

        width: 4em;
    }

    .dialog>.dialog-footer>.eq-group {
        margin-left: 0.5em;
        width: 1.5em;
        height: 1.5em;
        line-height: 1.5em;
        margin-top: 0.5em;
    }

    .confirm-count>.btn {
        width: 3em;
    }

    .dialog-fb>.fb-left {
        width: 8em;
    }

    .stats-container-left>.stats-silder {
        writing-mode: vertical-rl;
        width: 2em;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
}

.glyphicon-stats:before {
    content: "\e185";
}

.glyphicon-shopping-cart:before {
    content: "\e116";
}

.glyphicon-off:before {
    content: "\e017";
}

.glyphicon-envelope:before {
    content: "\2709";
}

.glyphicon-qrcode:before {
    content: "\e039";
}

.glyphicon-resize-horizontal:before {
    content: "\e120";
}

.glyphicon-heart:before {
    content: "\e005";
}

.glyphicon-list:before {
    content: "\e056";
}

.glyphicon-volume-up:before {
    content: "\e038";
}