@charset "utf-8";

.word{
	width:100%;
	border-spacing:0px;
	border-collapse:collapse;
	border:0px;
	margin: 15px 0px !important;
}

.word td{
	position:relative;
	padding:0px;
	border:1px solid #ccc;
	background-color:#333;
}

.word td:before{
	content: "";
	display: block;
	padding-top: 100%; 	/* initial ratio of 1:1*/
}

.word td span{
	position:absolute;
	top:1px;
	left:1px;
	font-size:14px;
	line-height:1;
	text-align:center;
}

#puzzle .word td input{
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:100%;
	border:0px;
	text-align: center;
	font-size: 2rem !important;
	
	padding:0px;
	color:#333;
	background-color:#fff;
	-webkit-transition:background-color 1s, color 1s;
	transition:background-color 1s, color 1s;
	
}

.word td input.correct{
	color:#0088CC;
	background-color: #E4F6FF;
}

.word td input.incorrect{
	background-color: #FF6F6F;
}

.puzzle--error {
	min-height: 90px;
	position: relative;
	padding: 0px;
	border: 1px solid #F00;
	background-color: #FFF8F8;
	color: #f00;
	padding: 15px;
	font-size: 1rem;
}

.puzzle--start {
	/* max-width:250px; */
	position: relative;
	background-color: rgb(244, 250, 255);
	border: 1px solid #666;
}

.puzzle--start:before {
	content: "";
	display: block;
	padding-top: 100%;
}

.puzzle--start .start--puzzle--wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}


.start--puzzle--box{
	position: absolute;
	left:0;
	right:0;
	
	top: 35%;
	margin-top: -35px;
	width: 100%;
	
}

.start--puzzle--desc{
	margin:0px 15px 15px;
	font-size:1.5rem;
	line-height: 1.4;
	text-align:center;
}

.start--puzzle {
	border: 1px solid #777;
	border-radius: 2px;
	padding: 8px 12px;
	font-size: 2rem;
	display: block;
	margin:0px auto;
	width:230px;
	background-color: #42A5F9;
	
	cursor: pointer;
	color: #fff;
	text-align:center;
}


#puzzle-clues ul,
#puzzle-ranking ul{
	margin:0px;
	padding:0px;
	list-style:none;
	margin-bottom:15px;
}

#puzzle-clues ul li,
#puzzle-ranking ul li{
	margin-left: 15px;
    margin-bottom: 5px;
    line-height: 1.4;
    font-size: 13px;
    border-bottom: 1px solid #D7EFFF;
    padding-bottom: 3px;
    padding-left: 5px;
}


.puzzle-clues--title{
	font-weight:bold;
	font-size:14px;
	margin-bottom:5px;
	line-height: 1;
	padding-bottom:5px;
	border-bottom:1px solid #0088CC;
}

.puzzle-ranking--title{
	font-weight:bold;
	font-size:14px;
	margin-bottom:5px;
	line-height: 1;
	padding-bottom:5px;
	border-bottom:1px solid #0088CC;
}


#puzzle-ranking ul li span{
	margin-right:5px;
}

#puzzle-ranking ul li span:last-child{
	margin:0px;
}


.clue--index{
	color: #333;
    font-size: 12px;
    width: 16px;
    line-height: 16px;
    display: inline-block;
    text-align: center;
    border-radius: 3px;
    margin-right: 5px;
    border: 1px solid #0088cc;
    background-color: #0088CC;
    color: #fff;
}

.clue--str {
	border-bottom: 1px solid #0088CC;
    padding: 1px 2px;
    margin: 2px;
    border-left: 1px dotted #0088CC;
    border-right: 1px dotted #0088CC;
    border-top: 1px dotted #0088CC;
    font-size: 10px;
    min-width: 12px;
    display: inline-block;
    text-align: center;
}

.clue--str.active {
	background-color: #C3EBFF;
}

.spinner {
	height: 60px;
	width: 60px;
	margin: 0px auto;
	position: relative;
	-webkit-animation: rotation .8s infinite linear;
	-moz-animation: rotation .8s infinite linear;
	-o-animation: rotation .8s infinite linear;
	animation: rotation .8s infinite linear;
	border-left: 6px solid rgba(0, 174, 239, .15);
	border-right: 6px solid rgba(0, 174, 239, .15);
	border-bottom: 6px solid rgba(0, 174, 239, .15);
	border-top: 6px solid rgba(0, 174, 239, .8);
	border-radius: 100%;
}

@-webkit-keyframes rotation {
	from {
		-webkit-transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(359deg);
	}
}

@-moz-keyframes
rotation {
	from {
		-moz-transform: rotate(0deg);
	}
	to {
		-moz-transform: rotate(359deg);
	}
}

@-o-keyframes
rotation {
	from {
		-o-transform: rotate(0deg);
	}
	to {
		-o-transform: rotate(359deg);
	}
}

.puzzle--wrapper {
	clear:both;
	margin: 10px 15px 30px;
}

.puzzle {
	min-height: 90px;
	position: relative;
}

.puzzle--loading {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	padding: 15px;
	background-color: #eee;
}

.puzzle.loading input {
	disabled: disabled;
}

#puzzle-submit--wrapper{
	margin-bottom:15px;
}

#puzzle-submit--wrapper .puzzle-submit,
#puzzle-submit--wrapper .puzzle-submit--wait,
#puzzle-submit--wrapper .puzzle-submit--submited{
	border: 1px solid #0088CC;
    background-color: #37A4DA;
    color: #fff;
    font-family: "맑은 고딕";
    cursor: pointer;
    border-radius: 2px;
    padding: 8px 12px 10px 12px;
    display: block;
    width: 100%;
    font-size:1.5rem;
}

#puzzle-submit--wrapper .puzzle-submit:hover{
	background-color: #0088CC;
}

#puzzle-submit--wrapper .puzzle-submit--submited{
	background-color: #ccc;
    color: #666;
    border-color: #999;
}

#puzzle-timer{
	text-align:center;
	font-size: 1.5rem;
}

.puzzle-timer--wrapper{
	text-align:center;
}
.puzzle-timer--wrapper span{
	font-size:12px;
}

.puzzle-element--wrapper{
	width:100%;
	margin:0px auto;
}

.rank--player{
	font-weight:bold;
	font-size:1rem;
}

@media screen and (min-width: 720px){
	
	.word{
		margin-bottom:10px;
	}
	
	.word td span{
		font-size:10px;
	}
	
	#puzzle .word td input{
		font-size:1rem !important;
	}
	
	.puzzle--start{
		width: 90%;
		max-width: none;
		margin: 0px auto;
	}
	
	.puzzle--start:before {
		padding-top: 30%;
	}
	
	.puzzle-element--wrapper {
	    width: 250px;
	    float: left;
	}
	
	.puzzle-extra--wrapper{
		margin-left: 300px;
	}
	
	#puzzle-submit--wrapper .puzzle-submit,
	#puzzle-submit--wrapper .puzzle-submit--wait,
	#puzzle-submit--wrapper .puzzle-submit--submited{
	    padding: 2px 12px 4px 12px;
	    font-size:1rem;
	}
	
	.start--puzzle {
		font-size: 1.5rem;
		display: block;
		width: 130px;
		height: 50px;
	}
	
	.start--puzzle--desc{
		font-size:1rem;
	}
	
	
}