/******************************
*  GENERAL
******************************/
html,body
{
	font-family: Roboto,Helvetica,Arial,sans-serif;
	font-size: 1em;
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

input, textarea
{
	border: 1px solid #8A8A8A;
}

img
{
	border: none;
}

.button
{	
	background-color: #2e899d;
	color: #fff;
	font-weight: bold;

	-webkit-transition: all .2s ease;
	-moz-transition: all .2s ease;
	-ms-transition: all .2s ease;
	-o-transition: all .2s ease;
	transition: all .2s ease;
}

.big.button:hover,
.button:hover
{
	cursor: pointer;
	background-color: #333;
	color: #fff;
}

a
{
	color: #2e899d;
}

a:hover
{
	color: #333;
}

.hide
{
	display: none;
}

.nomp {
	margin: 0;
	padding: 0;
}

.mt0 {
	margin-top: 0;
}

.p20 {
	padding: 20px;
}

.p20-no-top {
	padding: 0 20px 20px 20px;
}

.ad {
	overflow: hidden;
}

.b-top {
	border-top: 1px solid #6B6B6B;
}


/******************************
*  CONTAINER
******************************/
#container
{
	background-color: #fff;
	overflow: hidden;
	text-align: center;	
	position: relative;
	min-height: 100%;
}

/******************************
*  HEADER
******************************/
.header
{
	background-color: #1593cc;
	overflow: hidden;
	color: #fff;	
	padding: 12px;
}

.header .logo
{
	position: absolute;
	padding: 2px; 
	margin: -2px;
	height: 40px;
}

/******************************
*  RESULT
******************************/
#container #result
{
	overflow: hidden;
	padding-top: 40px;
	padding-bottom:190px;
	display: inline-block;
	min-height: 100px;
}

@media all and (max-width: 1545px) {

	#container #result
	{
		margin-left: 478px;
		left: 0;
		position: absolute;
	}	
	
	#container .word_finder_help
	{
		left: 1051px;
	}	
}

#container #word_finder
{
	text-align: left;
	overflow: hidden;	
	margin-left: 20px;
	background-color: rgba(255,255,255, 0.9);	
	padding: 20px;
	border: 1px solid #8a8a8a;
}

#container .article #word_finder
{
	margin-left: 0px;
}

#container #word_finder h2
{	
	font-size: 24px;
	letter-spacing: 2px;
	font-weight: normal;
	margin: 0;
}

#container #placed_words
{
	float: left;
	overflow: hidden;
	text-align: left;
	padding: 0;
	list-style: none;
	margin: 0 0 10px 20px;
	line-height: 19px;
}

#container #placed_words a
{
	text-decoration: none;
	color: #333;
}

#container #placed_words a.checked
{
	text-decoration: line-through;
}

#container .word_finder_help
{
	position: absolute;
    padding-left: 35px;
    width: 300px;
    background: url(../images/popup_arrow.png) no-repeat left center;
    display: inline-block;
    margin-left: 20px;
    margin-top: 40px;
}

#container .word_finder_help .inside
{
	text-align: left;
	background-color: #fff;
	padding: 10px 10px 0 10px;
	border-top: 1px solid #8A8A8A;
	border-right: 1px solid #8A8A8A;
	border-bottom: 1px solid #8A8A8A;	
}

#container .word_finder_help .inside h3
{
	margin: 0;
}

#container .word_finder_help .inside a
{
	color: #2e899d;
}

#container table.puzzle
{
	float: left;	
	border: 1px solid #000;
	border-collapse:collapse;
}

.puzzle.lowercase
{
	text-transform: lowercase;
}

.puzzle-row
{
	border-bottom: 1px dotted #E6E6E6;
}

.puzzle-cell
{
	font-size: 16px;
	background-color: #fff; 
	height: 29px; 
	width: 29px;
	line-height: 29px;
	text-align: center;
	font-family: arial;
	border-right: 1px dotted #E6E6E6;
	
	-webkit-transition: background-color 100ms linear;
    -moz-transition: background-color 100ms linear;
    -o-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
}

.puzzle-cell.check
{
	background-color: #77BEFF;
	-webkit-transition: background-color 100ms linear;
    -moz-transition: background-color 100ms linear;
    -o-transition: background-color 100ms linear;
    -ms-transition: background-color 100ms linear;
    transition: background-color 100ms linear;
}

.puzzle-cell.highlight
{
	background-color: #FFED69;

}

#container #word_finder table.placed_words
{
	border-collapse:collapse;
}

.placed_words.lowercase
{
	text-transform: lowercase;
}

#container #word_finder table.placed_words td
{
	font-family: arial;
	font-size: 14px;
}

/******************************
*  SOLVE
******************************/
.solve #container .header
{
	background-color: #fff;
	border-bottom: 1px #777 solid;
}

.solve #container .header h2
{
    font-size: 24px;
    color: #2e899d;
    margin: 6px 0;
    letter-spacing: 2px;
    font-weight: 500;
}

.solve #container .main
{
	max-width: 550px; 
	margin: 0 auto;
	margin-bottom: 142px;
}

.solve #container .main .text
{
	text-align: center;
	line-height: 22px;
	font-size: 1em;	
}

.solve #container #placed_words
{
	display: inline-block;
	float: none;
	margin: 1em 0 0.5em 0;
	padding: 0;
	width: 430px;
	text-align: center;
	line-height: 14px;
}

.solve #placed_words ul
{
	list-style: none;
}

.solve #placed_words span
{	
	font-size: 18px;
	padding-right: 4px;
	color: #666;
	line-height: 20px;
}

.solve #placed_words span.found
{	
    color: #999;
    text-decoration: line-through;
}

.solution {
	clear: both;
}

.solution .text {
	margin: 0 0 5px 0;
	padding: 0;
	display: block;
}

.solution .word {
	margin: 0 10px 5px 0px;
	white-space: nowrap;
	display: inline-block;
}

.solution .char {
	width: 20px;
	height: 24px;
	font-size: 14px;
	line-height: 24px;
	border: #000 solid 1px;
	border-right: none;
	background-color: #fff;
	display: inline-block;
	margin-right: -4px;
	text-align: center;
	color: #aaa;
}

.solution .char.last {
	border-right: #000 solid 1px;
}

.solve .congratulations p
{
	font-size: 1.3em;
	color: #666;
}

.print-version a {
	position: absolute;
    right: 12px;
    top: 10px;
    background: url(../images/icon_print_large.png) no-repeat top center;
    height: 40px;
    padding-top: 35px;
    color: #000;
    text-decoration: none;
	font-size: 12px;
}

.print-version a:hover {
	color: #0085FF;
}

@media all and (max-width: 800px) {
	.solve #container .puzzle
	{
		width: 550px;
		height: 550px;
	}

	.solve #container .puzzle .puzzle-cell
	{
		font-size: 1.4em;
	}

	.solve #placed_words span
	{
		font-size: 1.7em;
		line-height: 1em;
	}
	.solve .footer
	{
		display: none;
	}

	.header .logo {
		width: 40px;
		overflow: hidden;
	}
}