@charset "UTF-8";

/* 바디 호호호 */

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#canvas {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.checkbox label {
    margin-right: 10px;
}

form {
    margin-bottom: 0px;
}

.btn-play, .btn-settings, .btn-spectate {
    display: block;
    height: 35px;
}

.btn-play {
    width: 100%;
    float: left;
}

.btn-settings {
    width: 13%;
    float: right;
}

.btn-spectate {
    display: block;
    float: right;
}

#adsBottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

#adsBottomInner {
    margin: 0px auto;
    width: 728px;
    height: 90px;
    border: 5px solid white;
    border-radius: 5px 5px 0px 0px;
    background-color: #FFFFFF;
    box-sizing: content-box;
}

.region-message {
    display: none;
    margin-bottom: 12px;
    margin-left: 6px;
    margin-right: 6px;
    text-align: center;
}


/*#locationUnknown #region {*/


/*width: 60%;*/


/*float: left;*/


/*}*/

#locationKnown #region {
    width: 60%;
    float: left;
}

#locationKnown #starting {
    width: 38%;
    float: right;
}

#nick {
    width: 100%;
    float: left;
}

.gallery {
    width: 64%;
    float: right;
}

#locationUnknown #region {
    margin-bottom: 15px;
}

#gamemode, #spectateBtn {
    width: 33%;
    float: right;
}

#gamemode {
    display: none;
}

#helloContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 974px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.panel {
    display: inline-block;
    background-color: #FFF;
    margin: 2px;
    border-radius: 10px;
    padding: 5px 15px;
    vertical-align: top;
}

.right-panel {
    width: 300px;
}

#leftPanel, #mainPanel, #rightPanel {
    position: relative;
    /*cursor: pointer;*/
}

.rank-panel {
    padding: 15px;
    float: right;
}

.side-container {
    vertical-align: top;
    display: inline-block;
    width: 294px;
}

.left-container {
    width: 280px;
}

.right-container {
    width: 294px;
}

.center-container {
    display: inline-block;
    vertical-align: top;
    width: 370px;
    margin-right: 0px;
}

#helloContainer .btn-fb .fb-icon, #helloContainer .btn-gplus .gplus-icon {
    font-size: 24px;
    margin-left: -8px;
    vertical-align: middle;
    left: 18px;
    margin-right: 5px;
    position: absolute;
    top: 50%;
    margin-top: -12px;
}

.btn-login {
    position: relative;
    width: 100%;
}

.btn-gplus {
    background: #D34C3D;
    border-color: #bd4436;
}

.btn-chat, .btn-chat:visited {
    color: #fff;
    background-color: #7289da;
    border-color: #6478c8;
}

.btn-chat:hover {
    color: #fff;
    background-color: #5c6db8;
    border-color: #5c6db8;
}

.btn-chat:active {
    color: #fff;
    background-color: #46508b;
    border-color: #46508b;
}

.btn-chat:focus {
    color: #fff;
    background-color: #46508b;
    border-color: #46508b;
}

.chat-icon {
    font-size: 24px;
    /*margin-left: -8px;*/
    vertical-align: middle;
    left: 28px;
    margin-right: 5px;
    position: absolute;
    /*top: 50%;*/
    margin-top: 0px;
    /*margin-top: -9px;*/
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("/chat.png");
}

.gplus-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAALVBMVEUAAAD///////////////////////////////////////////////////////+hSKubAAAADnRSTlMAECAwQGBwgI+fv8/f751sGksAAAB5SURBVHjavZBJDsAgCEUVsVop3P+4xTGlsdu+BcH/DZP7i1hEofiSgWRAYHSWCYenQVXJiJmtHlcJmDom1Fj7gjMkSRpVP9urE59GG1M6ZSafxipVFFajlxrNw9hI09wNM66n8QcTmgWv2mJ/EmHYH/EK+7Mf3v3LDVmrCPUWGf6QAAAAAElFTkSuQmCC);
}

#helloDialog {
    width: 350px;
    background-color: #FFFFFF;
    margin: 10px auto;
    border-radius: 15px;
    padding: 5px 15px 5px 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#chat_textbox {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    z-index: 1;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 0px;
    outline: none;
    color: #FFF;
    height: 30px;
    text-indent: 12px;
    left: 10px;
    width: 300px;
}

#chat_textbox:focus {
    background: rgba(0, 0, 0, 0.5);
}

#exit {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 15px;
}

.short_textbox {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 0px;
    outline: none;
    color: #FFF;
    height: 30px;
    text-indent: 12px;
    width: 90px;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #FFF;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #FFF;
    opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #FFF;
    opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color:    #FFF;
}

.short_textbox:focus {
    background: rgba(0, 0, 0, 0.5);
}

#a300x250 {
    width: 300px;
    height: 250px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}


/* 게임 bottom */

.game-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.game-bottom::after {
    content: "";
    clear: both;
    display: block;
}

.game-bottom>div {
    float: left;
}

.game-bottom>div.chat-shortcuts::after {
    content: "";
    clear: both;
    display: block;
}

.game-bottom>div.chat-shortcuts>div {
    float: left;
    position: relative;
    padding-left: 10px;
}

.game-bottom>div.chat-shortcuts>div>button {
    position: absolute;
    top: -50%;
    left: 0;
}

.topcoat-checkbox {
    position: relative;
    display: inline-block;
    line-height: 2rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.topcoat-checkbox input[type=checkbox] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 2rem;
    margin: 0 -2rem -2rem 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 2rem;
    opacity: 0.001;
}

.topcoat-checkbox .topcoat-checkbox__checkmark {
    display: inline-block;
    vertical-align: top;
    width: 2rem;
    height: 2rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.topcoat-checkbox .topcoat-checkbox__checkmark:before {
    content: '';
    position: absolute;
    box-sizing: border-box;
    width: 2rem;
    height: 2rem;
    background: #e5e9e9;
    border: 1px solid #a5a8a8;
    border-radius: 3px;
    cursor: pointer;
    -webkit-box-shadow: inset 0 1px #fff;
    box-shadow: inset 0 1px #fff;
}

.topcoat-checkbox .topcoat-checkbox__checkmark:after {
    opacity: 0;
    content: '';
    position: absolute;
    top: 3px;
    left: -0.3px;
    /* Length of check tail */
    width: 20px;
    /* Lenght of check foot */
    height: 11px;
    background: transparent;
    border: 7px solid #666666;
    border-top: none;
    border-right: none;
    border-radius: 2px;
    -webkit-transform: rotate(-50deg);
    -moz-transform: rotate(-50deg);
    -o-transform: rotate(-50deg);
    -ms-transform: rotate(-50deg);
    transform: rotate(-50deg);
}

.topcoat-checkbox :checked+.topcoat-checkbox__checkmark:after {
    opacity: 1;
}

.topcoat-checkbox :focus+.topcoat-checkbox__checkmark:before {
    border: 1px solid #0940fd;
    -webkit-box-shadow: 0 0 0 2px #6fb5f1;
    box-shadow: 0 0 0 2px #6fb5f1;
}

.topcoat-checkbox :disabled+.topcoat-checkbox__checkmark:before {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

#playBtn {
    float: left;
    width: 83%;
}

#settings-btn {
    float: right;
    width: 15%;
}

form[name=settings] fieldset>div>label {
    cursor: pointer;
}

form[name=settings] fieldset {
    margin-bottom: 20px;
}

form[name=settings] fieldset:last-child {
    margin-bottom: 0;
}

.user-select-none {
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Likely future */
}

@media screen and ( max-width: 1150px ) {
    .chat-shortcuts {
        display:none;
    }
}

#chat {
    display:none;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;

    position:fixed;
    bottom:50px;
    left:10px;
    width:30%;
    min-width:400px;
    height:300px;
    z-index: 100;
}

#chat.untouchable {
    pointer-events: none;
}

#chat .bg {
    background-color: black;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: black;
    opacity:0.0;
}

#chat .message-box-wrap {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

#chat .message-box {
    overflow-x:none;
    overflow-y:hidden;
    width:100%;
    height:100%;
    font-size:1.5rem;
    padding:10px;
}

#chat .message-box:hover {
    overflow-y:auto;
}

#chat .chat-writer.clickable:hover {
    cursor:pointer;
    background-color:#232323;
}

#chat .chat-message {
    word-break: break-all;
}

.style-2::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
    background-color: transparent;
}

.style-2::-webkit-scrollbar {
    width: 8px;
    /*background:transparent;*/
    /*background-color: #000000;*/
}

.style-2::-webkit-scrollbar-thumb {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);*/
    background-color: rgba(0,0,0,0.3);
}

.chat-context-menu-1 {
    position:fixed;
    display:none;
    z-index:130;
    background-color:white;
}

.chat-context-menu-1.for-unblock ul li:nth-child(1) {
    display:none;
}

.chat-context-menu-1.for-block ul li:nth-child(2) {
    display:none;
}

.chat-context-menu-1 ul, .chat-context-menu-1 li, .chat-context-menu-1 a {
    padding:0;
    margin:0;
    list-style: none;
    color:inherit;
    text-decoration: none;
}

.chat-context-menu-1 li a {
    padding:10px;

}

.chat-context-menu-1 li:hover {
    background-color:#232323;
    color:white;
}

.chat-context-menu-1-overlay {
    position:fixed;
    display:none;
    z-index:120;
    top:0;
    left:0;
    width:100%;
    height:100%;
}
