table.crossword-table{
	border-collapse: collapse;
}
table.crossword-table td.char{
	/*border: 1px solid #000;*/
	position: relative;
	padding: 1px;
}
table.crossword-table td .first-char{
	position: absolute;
	left: 3px;
	top: 1px;
	font-size: 0.75rem;
	pointer-events: none;
}
.cross-char-input{
	width: 3rem;
	height: 3rem;
	text-align: center;
	padding: 0.1rem;
	font-size: 2rem;
	display: block;
	line-height: 2.5rem;
	cursor: pointer;
	border: 1px solid #0000005e;
	border-radius: 2px;
	background: #fff;
	text-transform: uppercase;
	box-sizing: border-box;
}

input.input_word{
	width: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
}
table.crossword-table td .clue{
	display: none;
	position: absolute;
	background: #fff;
	padding: 1rem;
	border: 1px;
	z-index: 100;
	left: 100%;
	top: 0;
	border: 1px solid #ddd;

}
table.crossword-table td .active_word.across ~ .clue{
	display: block;
	top: 100%;
	left: 0;
	right: auto;
	bottom: auto;
}
table.crossword-table td .active_word.down ~ .clue{
	display: block;
	top: 0%;
	left: 100%;
	right: auto;
	bottom: auto;
}
.flex{
	display: flex;
}
.flex > div{
}
.crossword-wrapper{
	position: relative;
	display: flex;
	justify-content: center;
	/*width: 100%;*/
	border-radius: 5px;
	background: url(../img/bg.png) #31a421;
	padding: 1rem;
}
#success{
	fill: #24f024;
}
#negative{
	fill: #f00;
}

.cross-char-input.hover_word{
	background: #e6e6e6;
}
.crossword-wrapper .message{
	position: absolute;
	top: 0;
	left: 0;
	width: 2rem;
	height: auto;
	display: none;
}
.crossword-wrapper .message svg{
	width: 2rem;
	height: auto;
}
.crossword-wrapper .message.show{
	display: block;
}
.cross-char-input.active_word{
	border: 1px solid blue;
	background: #fff;
}
.cross-char-input.active_char{
	background: yellow;
}
.cross-char-input.success_word{
	background: #89e689;
}
.crossword-wrapper .message.clue{
	font-size: 2rem;
	background: #fff;
	width: auto;
	padding: 0.5rem;
	border-radius: 3px;
	box-shadow: 0 1px 3px 3px #4f4f4f4d;
}
.message svg{
	-webkit-filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
	filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.5));
}
.list_clue li{
	cursor: pointer;
}
.list_clue li.active{
	color: #e00;
}
.list_clue li.success{
	color: #58fd1c;
}

@media(max-width: 560px){
	.cross-char-input {
	  width: 1rem;
	  height: 1rem;
	  font-size: 1rem;
	  line-height: 1rem;
	}
	.crossword-wrapper .message.clue{
		font-size: 1rem;
		padding: 0.25rem;
		border-radius: 3px;
		box-shadow: 0 1px 3px 3px #4f4f4f4d;
	}
}