@font-face {
    font-family: password;
    src: url(../fonts/pwd.woff);
}

@font-face {
    font-family: en;
    src: url(../fonts/inconsolata.woff);
}

@font-face {
    font-family: sym;
    src: url(../fonts/symmingliu.woff);
}

@font-face {
    font-family: zh;
    src: local("微軟正黑體"), local("Microsoft JhengHei"), local("Lantinghei TC"), local("MingLiU_HKSCS");
}

@font-face {
    font-family: huninn;
    src: url('../../../font/jf-openhuninn-2.0.ttf');/*    src: url('../../../font/huakang.ttc');*/
}

.app .out {
    font-family: sym, en, zh !important;
}

.app .out, .app .freeze {
    height: 89%;
    width: 100%;
    line-height: auto !important;
    color: #cccccc;
    margin: 0px auto;
    padding: 5px;
    padding-left: 20px;
    padding-right: 0px;
    white-space: pre-wrap;
    word-break: break-all;
    overflow: scroll;
    box-sizing: border-box;
    overflow-x: hidden;
}

.blink.blinking {
    opacity: 0;
}

.blink {
    opacity: 1;
}

.app .send {
    background: white;
    color: #000;
    height: 25px;
    margin-bottom: 0;
    padding: 0 0 0 4px;
    margin-left: 7px;
}

.app .send.password {
    font-family: 'password';
}

body {
    background-image: url("/client/public/image/bg.jpg");
    overflow: hidden;
}

.app .handle {
    border-radius: 50px 50px 0 0;
    cursor: default !important;
}

.app .window .content {
    background: rgba(0, 0, 0, 0.92);
}

.app #scroll-view .input {
    padding-right: 0;
    width: 100%;
}

.app .kbutton {
    margin-left: 10px !important;
}

.scroll-view {
    width: 98% !important;
    left: 1% !important;
    top: 5px !important;
}

.app #scroll-view .input {
    bottom: 8px;
}

.phone .scroll-view {
    width: 100% !important;
    left: 0% !important;
    top: 0px !important;
}

.phone.app .window .content {
    padding-left: 5px;
}

.phone.app .out, .phone.app .freeze {
    padding-left: 0px;
}

.phone {
    overflow: hidden;
}

.phone.app .handle {
    display: none;
}

.phone.app .window .content {
    top: 0;
}

.phone.app #scroll-view .input {
    position: fixed;
    z-index: 50;
}

.landing {
    width: 100%;
    animation-name: mark;
    animation-duration: 2s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}

@keyframes mark {
    0% {
        filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.2));
    }

    50% {
        filter: drop-shadow(0px 0px 7px rgba(255, 255, 255, 0.6));
    }

    100% {
        filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.2));
    }

}

.landing2 {
    text-align: center;
    color: #f3df00;
    width: 100%;
    font-weight: bold;
}

.landing3 {
    text-align: center;
    color: #64e544;
    width: 100%;
}

.landing2 .letter {
    display: inline-block;
    animation-name: bounce;
    animation-duration: 2.5s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
}

.landing2 .letter.bounce {
    animation-name: bounce;
}

@keyframes bounce {
    0%, 90%, 100% {
        transform: translateY(0px);
    }

    95% {
        transform: translateY(-15px);
    }

}

.noselect {
    -webkit-touch-callout: none;    /* iOS Safari */
    -webkit-user-select: none;    /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;    /* Old versions of Firefox */
    -ms-user-select: none;    /* Internet Explorer/Edge */
    user-select: none;    /* Non-prefixed version, currently
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              supported by Chrome, Edge, Opera and Firefox */
}

#map-container {
    display: none;
    position: absolute;
    z-index: 200;
    width: 380px;
    height: 400px;
    top: 10%;
    right: 2%;
    box-sizing: border-box;
    background-image: url('../image/map.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    font-family: sym, en, zh !important;
    white-space: pre-wrap;
    padding-top: 47px;
    padding-left: 19px;
    cursor: move;
}

.realtime-map {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    right: 0%;
    font-family: sym, en, zh !important;
    white-space: pre-wrap;
    cursor: move;
    padding-top: 47px;
    padding-left: 19px;
    box-sizing: border-box;
}

#lock-win-btn {
    position: absolute;
    right: 2%;
    bottom: 50px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    outline: none;
    border: none;
    background: none;
    background-size: 200% 100%;
    background-image: url('../image/lock.png');
    background-position-x: 0%;
    opacity: 0.2;
}

#lock-win-btn.locked {
    background-position-x: 100%;
    background-color: rgba(255, 50, 50, 0.5);
    border-radius: 12px;
    opacity: 1;
    filter: drop-shadow(0px 0px 10px red);
}

#hp-container {
    display: none;
    position: absolute;
    z-index: 200;
    width: 200px;
    height: 100px;
    bottom: 10%;
    right: 5%;
    box-sizing: border-box;
    font-family: sym, en, zh !important;
    cursor: move;
}

.bar-border {
    position: relative;
    height: 25px;
    width: 180px;
    background-size: 100% 100%;
    background-image: url('../image/bar-border.png');
}

#hp-bar {
    top: 0px;
    left: 0px;
}

#mp-bar {
    top: 3px;
    left: 0px;
}

#sp-bar {
    top: 6px;
    left: 0px;
}

#pet-hp-bar {
    display: none;
    top: 19px;
    left: 0px;
    transform: scale(0.9);
    transform-origin: left;
}

#pet-ep-bar {
    display: none;
    top: 22px;
    left: 0px;
    transform: scale(0.9);
    transform-origin: left;
}

.bar {
    position: relative;
    top: 5px;
    left: 13px;
    height: 15px;
    width: 155px;
    border-radius: 2px;
}

#hp-bar .bar, #pet-hp-bar .bar {
    background-color: #00ac00;
}

#mp-bar .bar {
    background-color: #f01931;
}

#sp-bar .bar, #pet-ep-bar .bar {
    background-color: #2170dd;
}

#hp-container .label {
    position: absolute;
    top: 3px;
    left: -215px;
    background: none;
    font-size: 18px;
    text-align: right;
    width: 200px;
    pointer-events: none;
}

#hp-bar .label, #pet-hp-bar .label {
    color: #00ac00;
}

#mp-bar .label {
    color: #f01931;
}

#sp-bar .label, #pet-ep-bar .label {
    color: #2170dd;
}

#hp-container .text {
    position: absolute;
    top: 2px;
    left: 0px;
    width: 180px;
    background: none;
    font-size: 15px;
    color: #ffffff;
    text-align: center;
}

.tool-bar {
    position: absolute;
    bottom: 0;
    height: 55px;
    width: 100%;
}

#connect-btn {
    position: relative;
    background: none;
    border: none;
    background-image: url('/client/public/image/connect-btn.png');
    background-size: 200% 100%;
    background-repeat: no-repeat;
    background-position: left;
    width: 65px;
    height: 100%;
    margin-left: 1%;
    padding: 0;
}

#help-btn {
    position: relative;
    background: none;
    border: none;
    background-image: url('/client/public/image/help-btn.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: left;
    width: 65px;
    height: 100%;
    margin-left: 0%;
    padding: 0;
}

#website-btn {
    position: relative;
    background: none;
    border: none;
    background-image: url('/client/public/image/website-btn.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: left;
    width: 65px;
    height: 100%;
    margin-left: 0%;
    padding: 0;
}

#account-btn {
    position: relative;
    background: none;
    border: none;
    background-image: url('/client/public/image/account-btn.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: left;
    width: 65px;
    height: 100%;
    margin-left: 0%;
    padding: 0;
}

#font-setting-btn {
    position: relative;
    background: none;
    border: none;
    background-image: url('/client/public/image/font-setting-btn.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: left;
    width: 65px;
    height: 100%;
    margin-left: 0%;
    padding: 0;
}

#connect-btn.connected {
    background-position: right;
}

#map-legand-btn {
    position: absolute;
    right: 6%;
    bottom: 4%;
    width: 20px;
    height: 20px;
    z-index: 220;
    background: none;
    border-radius: 50px;
    border: none;
    background-color: white;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../image/map-legand-info.png');
    cursor: pointer;
}

#map-legand {
    display: none;
    position: absolute;
    top: 0;
    right: 300px;
    width: 340px;
    height: 200px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 230;
    border: #eee 2px solid;
    padding: 20px;
}

#map-legand.display {
    display: block;
}

.map-legend-item {
    float: left;
    width: 49%;
    font-size: 12px;
    font-family: sym, en, zh !important;
}

.GRAY, .BLK {
    color: #6e6e6e;
}

.RED {
    color: #bf1b00;
}

.GRN {
    color: #00ac00;
}

.YEL {
    color: #999900;
}

.BLU {
    color: #0033ff;
}

.MAG {
    color: #a501a7;
}

.CYN {
    color: #01a894;
}

.NOR, .WHT {
    color: #cccccc;
}

.HIR {
    color: #ff193f;
}

.HIG {
    color: #64e544;
}

.HIY {
    color: #f3df00;
}

.HIB {
    color: #3670dd;
}

.HIM {
    color: #f100e4;
}

.HIM.hover {
    cursor: pointer;
    color: #ff58f6;
    text-decoration: underline;
}

.HIC {
    color: #5bedf6;
}

.HIW {
    color: #ffffff;
}

.BBLK {
    background-color: black;
}

.BRED {
    background-color: darkred;
}

.BGRN {
    background-color: darkgreen;
}

.BYEL {
    background-color: #999900;
}

.BBLU {
    background-color: darkblue;
}

.BMAG {
    background-color: darkviolet;
}

.BCYN {
    background-color: darkcyan;
}

.BWHT {
    background-color: gray;
}

.bold {

    /*   font-weight: bold;*/
}

.italic {
    font-style: italic;
}

.app .multitext {
    color: #66ff66 !important;
}

.account-mask {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 290;
    left: 0%;
    top: 0%;
    background-color: rgba(0, 0, 0, 0.6);
}

.account-dialog-bg {
    display: none;
    position: absolute;
    text-align: center;
    width: 500px;
    height: 370px;
    background: white;
    z-index: 300;
    left: 50%;
    margin-left: -250px;
    top: 50%;
    margin-top: -250px;
    font-size: initial;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: rgb(255 255 255) 0px 0px 20px;
}

.dialog-title {
    font-weight: bold;
    font-size: 20px;
}

.input-label {
    line-height: 40px;
}

.disabled .input-label {
    color: #aaaaaa;
}

#autologin-username {
    margin: 0px;
    border: none;
    border-radius: 15px;
    height: 30px;
    padding-left: 10px;
    box-sizing: border-box;
    background: #ffffff;
}

.disabled #autologin-username {
    background: #c7c7c7;
    color: #8e8e8e;
    cursor: not-allowed;
}

#autologin-password {
    margin: 0px;
    border: none;
    border-radius: 15px;
    height: 30px;
    padding-left: 10px;
    box-sizing: border-box;
    background: #ffffff;
}

.disabled #autologin-password {
    background: #c7c7c7;
    color: #8e8e8e;
    cursor: not-allowed;
}

#autologin, #auto-reconnect {
    display: inline-block;
    margin: 0;
}

#autologin+label, #auto-reconnect+label {
    display: inline-block;
    font-size: initial;
    margin: 0;
}

#autologin+label {
    margin-top: 15px;
    margin-bottom: 10px;
    margin-left: 4px;
}

#auto-reconnect+label {
    margin-top: 5px;
    margin-bottom: 30px;
    margin-left: 4px;
}

.disabled #auto-reconnect, .disabled #auto-reconnect+label {
    cursor: not-allowed;
    color: #aaaaaa;
}

.autologin-warning {
    margin-bottom: 10px;
}

.autologin-setting {
    height: 135px;
}

#auto-countdown {
    color: lime;
}

#save-autologin-btn, #test-autologin-btn, #submit-multicmd-btn, #cancel-multicmd-btn, #save-font-setting-btn, #cancel-font-setting-btn, #save-setting-btn, #cancel-setting-btn {
    border: none;
    border-radius: 15px;
    padding: 5px 15px;
    box-sizing: border-box;
    background-color: #888888;
    font-size: initial;
    line-height: 25px;
    color: white;
}

#save-autologin-btn:hover, #test-autologin-btn:hover, #submit-multicmd-btn:hover, #cancel-multicmd-btn:hover, #save-font-setting-btn:hover, #cancel-font-setting-btn:hover {
    background-color: #9a9a9a;
    color: white;
}

.disabled #test-autologin-btn {
    cursor: not-allowed;
    background-color: #cccccc;
}

.disabled #test-autologin-btn:hover {
    background-color: #cfcfcf;
    cursor: not-allowed;
}

.multicmd-mask {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 290;
    left: 0%;
    top: 0%;
    background-color: rgba(0, 0, 0, 0.6);
}

.multicmd-dialog-bg {
    display: none;
    position: absolute;
    text-align: center;
    width: 90%;
    height: 80%;
    background: white;
    z-index: 300;
    left: 5%;
    top: 7.5%;
    font-size: initial;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: rgb(255 255 255) 0px 0px 20px;
}

.multicmd-info {
    margin-bottom: 10px;
}

#multicmd {
    width: 100%;
    height: 70%;
    padding: 5px;
    box-sizing: border-box;
    background-color: #333333 !important;
    color: #7ecf69;
    font-size: 18px;
    line-height: 20px;
    font-family: sym, en, zh !important;
    margin-bottom: 15px;
}

#multicmd-btn {
    margin-left: 6px !important;
    position: relative;
    top: 3px;
    padding: 4px 8px !important;
    height: 27px;
    animation: none;
}

.font-setting-dialog {
    display: none;
    position: absolute;
    text-align: center;
    width: 90%;
    height: 80%;
    background: white;
    z-index: 300;
    left: 5%;
    top: 7.5%;
    font-size: initial;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: rgb(255 255 255) 0px 0px 20px;
}

.font-setting-info {
    margin-bottom: 10px;
}

.font-setting-mask {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 290;
    left: 0%;
    top: 0%;
    background-color: rgba(0, 0, 0, 0.6);
}

.font-setting-dialog-bg {
    display: none;
    position: absolute;
    text-align: center;
    width: 500px;
    height: 370px;
    background: white;
    z-index: 300;
    left: 50%;
    margin-left: -250px;
    top: 50%;
    margin-top: -250px;
    font-size: initial;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: rgb(255 255 255) 0px 0px 20px;
}

.font-setting-body {
}

.font-setting-label {
    float: left;
    width: 40%;
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
}

.font-setting-field {
    float: left;
    width: 50%;
}

.font-setting-field select, .font-setting-field input {
    width: 100%;
    margin-bottom: 5px;
}

.font-setting-field select {
    border: none;
    border-radius: 15px;
    height: 30px;
    padding-left: 10px;
    box-sizing: border-box;
    background: #ffffff;
    margin-top: 5px;
}

#font-size {
    width: 40px;
    display: inline-block;
    line-height: 40px;
}

#font-size-up, #font-size-down {
    border: none;
    border-radius: 50px;
    box-sizing: border-box;
    background-color: #888888;
    font-size: initial;
    line-height: 25px;
    color: white;
    width: 30px;
    height: 30px;
}

#font-size-up:hover, #font-size-down:hover {
    background-color: #9a9a9a;
    color: white;
}

#custom-font-family {
    border: none;
    border-radius: 15px;
    height: 30px;
    padding-left: 10px;
    box-sizing: border-box;
    background: #ffffff;
}

#custom-font-family[disabled] {
    background: #c7c7c7;
    color: #8e8e8e;
    cursor: not-allowed;
}

.client-input {
    color: #957e05;
}

.exit-btn {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.WHT .exit-btn {
    text-decoration-color: rgba(200, 200, 200, 0.6);
}

.GRAY .exit-btn {
    text-decoration-color: rgba(100, 100, 100, 0.6);
}

.exit-btn:hover {
    color: white;
}

.help-btn {
    text-decoration-color: rgba(200, 200, 200, 0.6);
    cursor: pointer;
    text-decoration: underline;
}

.help-btn:hover {
    color: white;
}

#setting-btn {
    position: relative;
    background: none;
    border: none;
    background-image: url('/client/public/image/setting-btn.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: left;
    width: 65px;
    height: 100%;
    margin-left: 0%;
    padding: 0;
}

.setting-dialog {
    display: none;
    position: absolute;
    text-align: center;
    width: 90%;
    height: 80%;
    background: white;
    z-index: 300;
    left: 5%;
    top: 7.5%;
    font-size: initial;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: rgb(255 255 255) 0px 0px 20px;
}

.setting-info {
    margin-bottom: 10px;
}

.setting-mask {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 290;
    left: 0%;
    top: 0%;
    background-color: rgba(0, 0, 0, 0.6);
}

.setting-dialog-bg {
    display: none;
    position: absolute;
    text-align: center;
    width: 500px;
    height: 340px;
    background: white;
    z-index: 300;
    left: 50%;
    margin-left: -250px;
    top: 50%;
    margin-top: -250px;
    font-size: initial;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: rgb(255 255 255) 0px 0px 20px;
}

.setting-body {
}

.setting-label {
    float: left;
    width: 40%;
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
}

.setting-field {
    float: left;
    width: 50%;
}

.setting-field select, .setting-field input {
    width: 100%;
    margin-bottom: 5px;
}

.setting-field select {
    border: none;
    border-radius: 15px;
    height: 30px;
    padding-left: 10px;
    box-sizing: border-box;
    background: #ffffff;
    margin-top: 5px;
}

.setting-body .setting-label {
    width: 55%;
}

.setting-body .setting-field {
    width: 30%;
}

.numpad-hint {
    text-align: left;
    font-size: 14px;
}

.ctrl {
    border: 1px solid #606060;
    border-radius: 5px;
    padding: 0px 5px;
    margin: 3px;
    background-color: rgba(255, 255, 255, 0.5);
}

#pwd-buffer {
    font-family: password;
    opacity: 0.05;
}

.version {
    position: absolute;
    right: 1%;
    bottom: 0%;
    font-weight: bold;
}

.ani-container p {
    display: none;
    margin: 0;
}

.ani-container[idx='0'] p[idx='0'] {
    display: block;
}

.ani-container[idx='1'] p[idx='1'] {
    display: block;
}

.ani-container[idx='2'] p[idx='2'] {
    display: block;
}

.ani-container[idx='3'] p[idx='3'] {
    display: block;
}

.ani-container[idx='4'] p[idx='4'] {
    display: block;
}

.ani-container[idx='5'] p[idx='5'] {
    display: block;
}

.ani-container[idx='6'] p[idx='6'] {
    display: block;
}

.ani-container[idx='7'] p[idx='7'] {
    display: block;
}

.ani-container[idx='8'] p[idx='8'] {
    display: block;
}

.ani-container[idx='9'] p[idx='9'] {
    display: block;
}

.ani-container[idx='10'] p[idx='10'] {
    display: block;
}

.ani-container[idx='11'] p[idx='11'] {
    display: block;
}

.ani-container[idx='12'] p[idx='12'] {
    display: block;
}

.ani-container[idx='13'] p[idx='13'] {
    display: block;
}

.ani-container[idx='14'] p[idx='14'] {
    display: block;
}

.ani-container[idx='15'] p[idx='15'] {
    display: block;
}

.ani-container[idx='16'] p[idx='16'] {
    display: block;
}

.ani-container[idx='17'] p[idx='17'] {
    display: block;
}

.ani-container[idx='18'] p[idx='18'] {
    display: block;
}

.ani-container[idx='19'] p[idx='19'] {
    display: block;
}

.ani-container[idx='20'] p[idx='20'] {
    display: block;
}

.ani-container[idx='21'] p[idx='21'] {
    display: block;
}

.ani-container[idx='22'] p[idx='22'] {
    display: block;
}

.ani-container[idx='23'] p[idx='23'] {
    display: block;
}

.ani-container[idx='24'] p[idx='24'] {
    display: block;
}

.ani-container[idx='25'] p[idx='25'] {
    display: block;
}

.ani-container[idx='26'] p[idx='26'] {
    display: block;
}

.ani-container[idx='27'] p[idx='27'] {
    display: block;
}

.ani-container[idx='28'] p[idx='28'] {
    display: block;
}

.ani-container[idx='29'] p[idx='29'] {
    display: block;
}

.ani-container[idx='30'] p[idx='30'] {
    display: block;
}
