@import url('https://fonts.googleapis.com/css?family=Monoton');
/* @import url('https://fonts.googleapis.com/earlyaccess/jejugothic.css'); */
* {
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: -o-crisp-edges; /* Opera */
    image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */

    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
    
   }
@font-face {
  font-family: "a1";
  font-style: 400;
  src: local("/mobile/font/a1"), /* computer */
    url("/mobile/font/a1.eot"), /* IE9 Compat Modes */
    url("/mobile/font/a1.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */  
    url("/mobile/font/a1.woff") format("woff"), /* Modern Browsers */
    url("/mobile/font/a1.ttf") format("truetype"); /* Safari, Android, iOS */
}
@font-face {
  font-family: "a2";
  font-style: 500;
  src: local("/mobile/font/a2"), /* computer */
    url("/mobile/font/a2.eot"), /* IE9 Compat Modes */
    url("/mobile/font/a2.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ 
    url("/mobile/font/a2.woff") format("woff"), /* Modern Browsers */
    url("/mobile/font/a2.ttf") format("truetype"); /* Safari, Android, iOS */
}
@font-face {
  font-family: "a3";
  font-style: 600;
  src: local("/mobile/font/a3"), /* computer */
    url("/mobile/font/a3.eot"), /* IE9 Compat Modes */
    url("/mobile/font/a3.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("/mobile/font/a3.woff") format("woff"), /* Modern Browsers */
    url("/mobile/font/a3.ttf") format("truetype"); /* Safari, Android, iOS */
}
@font-face {
  font-family: "a4";
  font-style: 700;
  src: local("/mobile/font/a4"), /* computer */
    url("/mobile/font/a4.eot"), /* IE9 Compat Modes */
    url("/mobile/font/a4.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("/mobile/font/a4.woff") format("woff"), /* Modern Browsers */
    url("/mobile/font/a4.ttf") format("truetype"); /* Safari, Android, iOS */
}
@font-face {
  font-family: "a5";
  font-style: 800;
  src: local("/mobile/font/a5"), /* computer */
    url("/mobile/font/a5.eot"), /* IE9 Compat Modes */
    url("/mobile/font/a5.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("/mobile/font/a5.woff") format("woff"), /* Modern Browsers */
    url("/mobile/font/a5.ttf") format("truetype"); /* Safari, Android, iOS */
}
  
body {
	font-family: 'a2';
    font:12px arial;
    color: #fff;
    text-align:center;
    margin: 0;
    min-width:285px;
    width: auto !important;
    width:285px;
    min-height: 496px;
    height: auto !important;
    height: 496px;
    }
  
form, p, span {
    margin:0;
    padding:0; }
  
input { font:12px arial; }
  
a {
    color:#0000FF;
    text-decoration:none; }
  
    a:hover { text-decoration:underline; }
button:hover{
    cursor: pointer;
}  
#wrapper{
    position: relative;
    margin:0;
    padding: 0;
    background:#fff;
    height:100%;
    width:100%;
    border: 1px solid #dddddd;
    box-sizing: border-box;
	border-radius:5px;
}

    .welcome {
        height: 41px;
        background-color: #fff;
		border-radius:5px;
    }
    .welcome img {
        margin-top: 7px;
    }
    .openwindow{
        position: absolute;
        top: 0;
        right: 0;
        width: 19px;
        height: 19px;
        margin: 12px 9px;
        border:0;
        outline: 0px;
        background: url('img/more.png')0 0 no-repeat;
        background-position: center;
    }
    .go-back{
        position: absolute;
        top: 0;
        left: 0;
        width: 19px;
        height: 19px;
        margin: 12px 9px;
		color:#888;
		font-size:22px !important;
        border:0;
        outline: 0px;
    }
	.isMobile { display:none; }
    #menu {
        position: relative;
        z-index: 1;
        overflow: hidden;
        border: 0;
        outline-width: 0px;
        /* margin-bottom: 0; */
    }
    #menu button.active {
        height:55px;
        line-height: 16px;
        color: #608efb;
        font-weight: bold;
        text-shadow: none;
		position:relative;
		border-bottom:3px solid #608efb;
    }
    #menu button {
        position: relative;
        float: left;
        width: calc(100% / 3);
        height:55px;
        line-height: 18px;
        border: 1px solid #d3dce2;
        color:#999;
        background-color: #fff;
        vertical-align: top;
        outline: none;
        box-sizing: border-box;
    }  
	#menu button{ border-left:0; }
	#menu button:last-child{ border-right:0; }
    #menu .count {
        position: absolute;
        top: 0;
        right: 0;
        width: 15px;
        height: 15px;
        line-height: 18px;
        text-align: center;
        font-family: tahoma;
        font-size: 9px;
        background-color: #fb5e69;
        color: #fff;
    }
.sn{
	margin-top:4px;
    display: inline-block;
    color:#33498f;
    font-size: 12px;
}
.chatwindow
{
    box-sizing: content-box;
}
.chatwindow.topoddstalk
{
    height:calc(100% - 153px);
}
.chatwindow_botalk
{
    box-sizing: content-box;
}
.chatbox_wrap
{
    position: relative;
    box-sizing: content-box;
    color: #666;
    background-color: #fff;
    overflow: hidden;
}


#msgBox.game{
    text-align:left;
    line-height: 14px;
    height: -moz-calc(100% - 170px);
    height: -webkit-calc(100% - 170px);
    height: calc(100% - 170px);
    min-height: 330px;
    background:#fff;
    color:#fff;
    padding:10px 0;
    word-wrap: break-word;
    list-style-type: none;
    overflow-x: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none;
}
#msgBox.game::-webkit-scrollbar {width: 0px;}
/* ::-webkit-scrollbar {width: 0px;} */

#msgBox.game li {color:#666;position:relative;padding: 0px 10px;line-height: 28px;word-break: break-all;
    -webkit-touch-callout: text; /* iOS Safari */
    -webkit-user-select: text; /* Safari */
     -khtml-user-select: text; /* Konqueror HTML */
       -moz-user-select: text; /* Firefox */
        -ms-user-select: text; /* Internet Explorer/Edge */
            user-select: text; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
#msgBox.game li img{float:left;height: 26px;}
/* #msgBox.game li:nth-child(odd) { background: #000; } */
.nicktag{margin-left: 5px; font-weight: bold;cursor:pointer;color:#1e1e1e;}
.nicktag:hover{text-decoration: underline; color: #ffa200 !important;}

#msgBox.talk{
    padding-top: 5px;
    position: relative;
    text-align: left;
    height: -moz-calc(100% - 268px);
    height: -webkit-calc(100% - 268px);
    height: calc(100% - 268px);
    word-wrap: break-word;
    list-style-type: none;
    overflow-x: hidden;
}
#msgBox.talk.ajax{
    height: -moz-calc(100% - 170px);
    height: -webkit-calc(100% -170px);
    height: calc(100% - 170px);
    overflow:  hidden;
}
#chatbox.game{
    text-align:left;
    line-height: 14px;
    height: -moz-calc(100% - 162px);
    height: -webkit-calc(100% - 162px);
    height: calc(100% - 154px);
    min-height: 330px;
    background:#fff;
    color:#fff;
    
    word-wrap: break-word;
    list-style-type: none;
    overflow-x: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none;
}
#chatbox.game::-webkit-scrollbar {width: 0px;}
/* ::-webkit-scrollbar {width: 0px;} */

#chatbox.game li {color:#666;position:relative;padding: 0px 10px;line-height: 28px;word-break: break-all;
    -webkit-touch-callout: text; /* iOS Safari */
    -webkit-user-select: text; /* Safari */
     -khtml-user-select: text; /* Konqueror HTML */
       -moz-user-select: text; /* Firefox */
        -ms-user-select: text; /* Internet Explorer/Edge */
            user-select: text; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
#chatbox.game li img{float:left;height: 26px;}
/* #chatbox.game li:nth-child(odd) { background: #000; } */
.nicktag{margin-left: 5px; font-weight: bold;cursor:pointer;color:#1e1e1e;}
.nicktag:hover{text-decoration: underline; color: #ffa200 !important;}

#chatbox.talk{
    padding-top: 5px;
    position: relative;
    text-align: left;
    /*height: calc(100% - 268px);*/
	height:calc(100% - 105px);
    word-wrap: break-word;
    list-style-type: none;
    overflow-x: hidden;
}
#chatbox.talk.ajax{
    height: -moz-calc(100% - 0px);
    height: -webkit-calc(100% -0px);
    height: calc(100% - 0px);
    overflow:  hidden;
}
#talkTitle{
    height: 50px;
    color:#000;
    font-weight: bold;
    background-color: #f2f4f7;
}
#talkTitle button
{
    float:left;
    width: 24px;
    height: 24px;
    outline: 0;
    border: 0;
    margin: 13px;
    background-color: transparent;
    background-position: center;
    background-size: 24px;
    background-repeat: no-repeat;
}
#talkTitle .showlist
{
    margin-left: 10px;
    margin-top: 17px;
    width: 11px;
    height: 16px;
    background-size: cover;
    background-image: url("img/back-menu.png");
}
#talkTitle .config
{
    float: right;
    background-image: url("img/config.png");
}

#talkTitle .info{
    line-height: 50px;
    text-align: center;
}
.my,.your{
    position: relative;
    margin-bottom: 6px;
    padding-left: 65px;
    padding-right: 10px;
    line-height: 16px;
    word-break: break-all;
}
.my .nicktag,
.your .nicktag {
    margin-left: 0;
}
p:after {
    clear: both;
    content: "";
    display: block;
}
p .photo {
    position: absolute;
    top: 0;
    left: 0;
        
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
}
.msg {
    position: relative;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 5px;
    -webkit-touch-callout: text; /* iOS Safari */
    -webkit-user-select: text; /* Safari */
     -khtml-user-select: text; /* Konqueror HTML */
       -moz-user-select: text; /* Firefox */
        -ms-user-select: text; /* Internet Explorer/Edge */
            user-select: text; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
.msg:before {
    position: absolute;
    content: "";
    height: 0;
    width: 0;
}
.tail {
    clear: both;
    display: block;
    line-height: 15px;
    color: #666;
}
.tail img{
    margin-right: 2px;
    height: 15px;
    vertical-align: bottom;
}
.tail .when{
    margin-left: 10px;
    font-size: 11px;
}
.your .msg {
    float: left;
    background-color: #dedede;
    color:#000;
}
.your .msg:before {
    top: 0;
    right: 100%;
    margin-right: -3px;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #dedede;
}

.my .msg {
    float: right;
    background-color: #a9bbf9;
    color: #000;
}
.msg.new{
    font-weight: bold;
    color:#000;
}
.my .msg:before {
    bottom: 0;
    left: 100%;
    margin-left: -3px;
    border-top: 10px solid transparent;
    border-left: 10px solid #a9bbf9;
}
.my .when {
    float: right;
}
.session {
    position: relative;
    list-style-type: none;
    height: 60px;
    border-bottom: 1px solid #d3dce2;
}
.session:hover {
    background: #a1bcf7;
}

.session .photo{
    position: absolute;
    top: 6px;
    left: 8px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #ffffff;
}
.session .nick {
    display: inline-block;
    padding-top: 10px;
    padding-left: 65px;
    line-height: 19px;
    vertical-align: top;
    color:#1e1e1e;
    font-weight: bold;
}
.session .lastmsg {
    margin-top: 3px;
    padding-left: 65px;
    padding-right: 30px;
    line-height: 17px;
    color:#666 !important;
}
.session .lastmsg.new{
    font-weight: bold;
}

.session .when {
    position: absolute;
    top: 12px;
    right: 10px;
    line-height: 15px;
    color: #666;
}
.session.check .when {
    position: absolute;
    top: 15px;
    width:30px;
    right: 10px;
    line-height: 30px;
    text-indent: -9999px;
    color: #adadad;
    background: url("img/check.png") center no-repeat;
}
.session.checked .when {
    position: absolute;
    top: 15px;
    right: 10px;
    width:30px;
    line-height: 30px;
    text-indent: -9999px;
    color: #adadad;
    background: url("img/checked.png") center no-repeat;
}


.session .count {
    position: absolute;
    top: 35px;
    right: 10px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    font-family: tahoma;
    font-size: 9px;
    background-color: #fb5e69;
    color: #fff;
}

#information{
    position: absolute;
    top:-60px;
    width:100%;
    height:60px;
    line-height: 60px;
    z-index: 3;
    font-size: 15px;
    font-weight: bold;
    background-color: #323a56;
    color:#fff;
}
.tab{
    position: relative;
    height: 50px;
    text-align: center;
    box-sizing: border-box;
    z-index: 2;
    font-size: 12px;
    font-weight: bold;
    border-bottom: 1px solid  #d3dce2;
}
.tab li{
    float: left;
    list-style: none;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
    width: 33.3333%;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    color:#888;
    font-size: 14px;
}
.tab li.active{
    position: relative;
    color:#2d4fc7;
}
.tab li.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2d4fc7;
}
#chatinput{
    position: initial;
    height: 46px;
    box-sizing: content-box;
    background-color: #fff;
	border-top:1px solid #c7c6cb;
}
#chatinput input::placeholder{
    color: #bbbbbb;
}

.disabled{
    /* background:repeating-linear-gradient(-45deg, #eee, #eee 5px, white 5px, white 10px) !important; */
    border: 1px solid #f2cc61 !important;
} 
.frozen{
    /* background:linear-gradient(to bottom, #8dd2d9 , #58c0c7) !important; */
    /* background:repeating-linear-gradient(-45deg, #8dd2d9, #8dd2d9 5px, white 5px, white 10px) !important; */
    border: 1px dashed #f2cc61 !important;
} 

#chatinput input[type=text] {
    -webkit-touch-callout: auto;
    -webkit-user-select: auto;
    -khtml-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
    width: calc(100% - 36px);
    border: 0;
    background:transparent;
    color: #000;
    font-weight: bold;
    position:  absolute;
    left: 18px;
    line-height:  47px;
    outline: 0;
}
#chatinput .btn {
    position: absolute;
    right: 5px;
    width: 48px;
    height: 46px;
    text-indent: -9999px;
    overflow: hidden;
    border: 0;
    outline: 0;
}

/* user context menu */
#contextmenu{
    position: absolute;
    z-index: 100;
    width:100px;
    line-height: 24px;
    color: #1e1e1e;
    background: #fff;
    border: 1px solid #444;
    box-shadow: 5px 5px 5px #000;
}
.hidden{
    display: none;
}
#contextmenu .nickname{
    width: 100px;
    background: #f2cc61;
    color: #1e1e1e;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#contextmenu .nickname img{
    display:none;
}
.item{
    cursor: pointer;
}

.item:hover{
    color: #ffa200;
    font-weight: bold;
}

#configmenu{
    position: absolute;
    z-index: 100;
    top: 196px;
    right: 5px;
    width:100px;
    color: #000;
    line-height: 27px;
    background: #fff;
    border: 1px solid #444;
    box-shadow: 5px 5px 5px #000;
}
#adminmenu{
    position: absolute;
    z-index: 100;
    bottom: 50px;
    right: 5px;
    width:100px;
    color: #000;
    line-height: 27px;
    background: #fff;
    border: 1px solid #444;
    box-shadow: 5px 5px 5px #000;
}
#talkedit{
    position: absolute;
    z-index: 100;
    top: 163px;
    right: 5px;
    width:100px;
    color: #1e1e1e;
    line-height: 25px;
    background: #fff;
    border: 1px solid #444;
    box-shadow: 5px 5px 5px #000;

}


.tip {
    padding: 30px 0 0 0;
    height: 84px;
    border-bottom: 1px solid #eeeeef;
    text-align: center;
}
.send_num {
    margin: 0;
    padding: 1em 0;
}
.send_num dt {
    display: inline-block;
    padding: 0 26px 0 30px;
    font-size: 14px;
    color: #000;
    font-weight: bold;
}
.send_num dd {
    display: contents;
}
.send_num input {
    margin-right: 10px;
    width: 63px;
    height: 31px;
    line-height: 31px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    border: 0;
    background-color: #fff;
    color: #000;
    border: 1px solid #d3dce2;
    -webkit-touch-callout: auto;
    -webkit-user-select: auto;
    -khtml-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;

}
.bd {
    position: relative;
   /* height: calc(100% - 280px);*/
	height: calc(100% - 450px);
    min-height:  48px;
}
.inner {
    position: absolute;
    padding: 0 10px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -ms-overflow-style: none;
    background-color: #fff;
}
#random_msg {
    display: block;
    padding: 10px;
    width: calc(100% - 20px);
    height: 100%;
    resize: none;
    outline-style: none;
    border: 1px solid #444;
    color: #000;
    background-color: #fff;
    border: 1px solid  #d3dce2;
    -webkit-touch-callout: auto;
    -webkit-user-select: auto;
    -khtml-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;

}
.error{
    box-shadow: 0 0 10px #f00 !important;
}
.sendButton {
    height: 53px;
    position: relative;
    text-align: center;
}

.sendButton button {
    top:0;
    left:0;
    width: 95%;
    height: 100%;
    background-color:transparent;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #323a56;
    overflow: hidden;
    border: 0;
    z-index: 2;
}
.sendButton .progressBar{
    position: absolute;
    top:0;
    left:0;
    width:0%;
    height: 100%;
    line-height: 53px;
    background:linear-gradient(to bottom, #8dd2d9 , #58c0c7);
}

.info {
    line-height: 55px;
    text-align: center;
}

#tool_wrap .field_box {
    position: relative;
    width:100%;
    height: 50px;
    border-bottom: 1px solid #d3dce2;
}
#search_val {
    width: 95% !important;
    margin-left: 9px !important;
    border: 1px solid #d3dce2;
}
#search_val::placeholder {
    color: #666;
}
#tool_wrap .text_box {
    margin-top: 8px;
    padding-left: 15px;
    width: 100%;
    height: 30px;
    line-height: 46px;
    box-sizing: border-box;
    outline-style: none;
    color: #000;
    -webkit-touch-callout: auto;
    -webkit-user-select: auto;
    -khtml-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;

}
#tool_wrap .btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 57px;
    height: 46px;
    text-indent: -9999px;
    border: 0;
    outline: 0;
    background-size: 27%;
}
.btn_search{
    background: url("img/search.png") center no-repeat;
}
.btn_tool{
    background: url("img/settings.png") center no-repeat;
}
.btn_toolw{
    background: url("img/config.png") center no-repeat;
}

.okcancel{
    position: absolute;
    top: 15px;
    right: 0px;
    width: 60px;
    height: 50px;
    
    
}
.okcancel button
{
    padding: 0px;
    margin: 2px;
    font-size: 10px;
    color:#000;
    background-color: #f2cc61;
    border: 1px solid #f2cc61;
    /* box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08); */
}
#tool_wrap .found
{
   /* height: calc(100% - 55px);*/
	height: calc(100% - 225px);
    overflow-y: auto;
}
.searched {
    position: relative;
    list-style-type: none;
    height: 40px;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}
.searched:hover{
    background: #f2cc61; 
}
.searched:before{
    clear: both;
    display: block;
    content: "";
}
.searched .sphoto{
    float:left;
    width: 36px;
    /* height: 38px; */
    /* padding-right:  5px; */
    margin-right:  5px;
    border-radius: 50% 50%;
    border:  2px solid #fff;
}
.searched .level{
    float:left;
    height: 40px;
    padding-right: 5px;
}

.searched .nick {
    line-height: 40px;
}
.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    position:absolute;
    top:50%;
    left:50%;
    margin: -35px 0 0 -35px;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/** 추가 css**/
#menu button.active .sn {
	color:#608efb;
}
#menu button .sn {
	margin-top:0;
	color:#999;
}
#chatinput.disabled {
	font-size:14px;
	border:0 !important;
	border-top:1px solid #c7c6cb !important;
}
#chatinput.disabled input::placeholder {
	color:#c5c5c5;
}