@charset 'utf-8';
@import url('../../../css/fonts.css');

* {
    -webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none;   /* Chrome/Safari/Opera */
	-khtml-user-select: none;    /* Konqueror */
	-moz-user-select: none;      /* Firefox */
	-ms-user-select: none;       /* Internet Explorer/Edge */
	user-select: none;			 /* Non-prefixed version, currently not supported by any browser */

	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-tap-highlight-color: transparent;
    font-family: 'Noto Sans KR', sans-serif;
}

body {
    /* background: url('../images/screenblack.png') no-repeat !important; */
    background-color: #f5f4f0;
    overflow: hidden;
}

#container {
    position: absolute;
    top:0px;
    left:0px;
    background-size: auto 800px;
    width: 1200px;
    height: 750px;
    overflow: hidden;
    /* background: #000 !important; */
    background-color: rgba(0,0,0,0.7);
    color: #3c3b3b;
}

#container>header {
    position: absolute;
    display: block;
    margin:auto;
    top:30px;
    left:0;right:0;
    width:1140px;
    height:143px;
    background-color: #fff;
    font-family: 'Noto Sans KR', sans-serif;
    text-align: center;
    z-index: 1;
}

#container>header h1 {
    font-size: 40px;
    font-weight:900;
    margin:30px 0 0 0;
}

#container>header p {
    font-size: 15px;
    font-weight:normal;
    margin:0px 0 0 0;
}

#container>header p.box_init {
    display: block;
}

#container>header p.box_ready {
    display: none;
}

#container>header p.box_result {
    display: none;
}

.content {
    position: absolute;
    margin:auto;
    left:0px;
    right:0px;
    bottom: 30px;
    width:1140px;
    height:547px;
    background-color: #f3f3f3;
    display: none;
}

.content.on {
    display: block;
}

.buttons.rect {
    display: inline-block;
    width:49px;
    height: 47px;
    background-color: #e0e0e0;
    border:3px solid #c2c2c2;
    border-radius: 5px;
    color:#3c3b3b;
    font-size: 31px;
    font-weight: bold;
    text-align: center;
    line-height: 47px;
    cursor: pointer;
    margin:10px;

    transition: all 0.3s;
}

.buttons.rect:hover,
.buttons.rect.on {
    color: #fcf6f1;
    background-color: #3c3b3b;
    border-color:#3c3b3b;
}

.buttons.disable {
    opacity: 0.3;
    cursor: default;
}

.buttons.disable:hover {
    color:#3c3b3b;
    background-color: #e0e0e0;
    border:3px solid #c2c2c2;
}

.buttons.circle {
    display: inline-block;
    width: 55px;
    height: 55px;
    background-color: #ffffff;
    border:2px solid #d5d5d5;
    color:#969595;
    font-size: 22px;
    font-weight: bold;
    border-radius: 55px;
    text-align: center;
    line-height: 55px;
    margin:6px;
    cursor: pointer;

    transition: all 0.3s;
}

.buttons.circle:hover,
.buttons.circle.on {
    background-color: #00d1b1;
    border-color: #00584b;
    color:#fff;
}

.box_init .input_area {
    position: absolute;
    top:173px;
    font-size: 22px;
    width:100%;
    text-align: center;
}

.box_init .input_area input {
    position: relative;
    top:-3px;
    width:125px;
    height:62px;
    border:2px solid #3c3b3b;
    border-radius: 5px;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    vertical-align: middle;
    margin:10px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.box_init .btn_area {
    position: absolute;
    top:273px;
    width:100%;
    text-align: center;
}

.btn_close {
    position: absolute;
    right: 54px;
    top: 54px;
    cursor: pointer;
    z-index: 10;
}

.btn_step {
    position: absolute;
    right: 40px;
    bottom: 30px;
    cursor: pointer;
}

.btn_prev, .btn_next {
    position: absolute;
    top:190px;
    cursor: pointer;
}
.btn_prev {
    left:-23px;
}
.btn_next {
    right:-23px;
}

.play_area {
    position: absolute;
    left:79px;
    top:36px;
    width:980px;
    height:414px;
    overflow: hidden;
    padding: 0;
}

.play_area canvas {
    position: absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    z-index: 0;
}

.play_board {
    height: 100%;
    /* border:1px solid blue; */
}

.box_ready .play_board input {
    position: absolute;
    width:113px;
    height:45px;
    border:1px solid #8f8f8f;
    border-radius: 5px;
    font-size: 20px;
    text-align: center;
    z-index: 10;
}

.play_board input.origin {
    top:1px;
}

.play_board input.dest {
    bottom:0px;
}

.play_board input.readonly {
    background: #e7e7e7;
    color: #000000;
    /* border: 2px solid #00584b; */
    width: 111px;
    height: 43px;
    cursor: pointer;
}

.play_board input.dest.readonly {
    cursor: default!important;
    outline: 0px;
}

.play_area .hider {
    position: absolute;
    top:75px;
    width:976px;
    height:260px;
    border: 2px dashed #8f8f8f;
    border-radius: 5px;
    background: #fff;
    /* display: none; */
}

.play_area .hider .question {
    position: absolute;
    margin:auto;
    top:0px; bottom:0px;
    left:0px; right:0px;
    cursor: default;
}

div#tablecon {
    position: absolute;
    top: 36px;
    left: 20px;
    right: 20px;
    margin: auto;
    width: 977px;
    height: fit-content;
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto;

    border: 1px solid #8f8f8f;
    border-radius: 5px;
}

table.result {
    position: relative;
    top: 0px;
    left: 0px;
    width:997px;

    border: 1px solid #8F8F8F;
    background-color: #FFFFFF;
    border-collapse: collapse;
}

table.result td, table.result th {
    border: 1px solid #e2e2e2;
    padding: 5px 4px;
}

table.result th:nth-child(1),
table.result th:nth-child(4) {
    width:99px;
}
table.result th:nth-child(2),
table.result th:nth-child(5) {
    width:198px;
}
table.result th:nth-child(3),
table.result th:nth-child(6) {
    width:188px;
}

table.result tbody td {
    font-size: 13px;
    text-align: left;
    padding: 14px 25px;
}

table.result tbody td:nth-child(1),
table.result tbody td:nth-child(4) {
    text-align: center;
}

table.result thead {
    background: #F9F9F9;
}
table.result thead th {
    font-weight: bold;
    color: #3C3B3B;
    text-align: center;
    font-size: 16px;
    height:43px;
}

table.result thead th:nth-child(3),
table.result tbody td:nth-child(3) {
    border-right: 1px solid #8f8f8f!important;
}


::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #d8d8d8;
}

::-webkit-scrollbar
{
	width: 7px;
	background-color: #d8d8d8;
}

::-webkit-scrollbar-thumb
{
	border-radius: 7px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #8f8f8f;
}