@import 'normalize.css';

body {
	margin: 0px;
	background: #413E4A;
	font-weight: normal;
	font-family: 'Courier New';
}

button {
	line-height: 21px;
}

.center {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

.hidden {
	display: none !important;
}

.small {
	font-size: 12px;
	text-transform: lowercase;
}

#content {
	position: absolute;
	width: 1013px;
	height: 545px;
}

#left {
	float: left;
	width: 500px;
	height: 100%;
	border-radius: .3em;
	border: 1px solid #000;
	background: #111819;
}

#right {
	float: right;
	width: 500px;
	height: 100%;
	border-radius: .3em;
	border: 1px solid #000;
	background: #202223;
}

#stones {
	margin-left: 10px;
	margin-top: 11px;
}

#board {
	margin-top: 12px;
	margin-left: 10px;
}

#board .row {
	margin-top: 1px;
}

#board .column, #stones .column {
	display: inline;
	margin-left: 1px;
}

#board input, #stones input {
	width: 29px;
	height: 29px;
	border-radius: .3em;
	border: 1px solid #000;
	padding: 0px;
	font-family: 'Tahoma';
	font-weight: bold;
	color: #000;
	text-align: center;
	background-color: #202223;
}

.ie #board input, #stones input {
	border-radius: .2em;
}

#board input.bonus_X {
    background: #37352d;
}

#board input.bonus_0, .black {
    background: #202223;
}

#board input.bonus_1, .green {
    background: #779f6d;
}

#board input.bonus_2, .blue {
    background: #1b8fa0;
}

#board input.bonus_3, .orange {
    background: #c1791f;
}

#board input.bonus_4, .red {
    background: #9a4519;
}

.error {
    background: #a52224;
}

#board input.focus, #stones input.focus {
    background: #d8b300 !important;
}

#board input.stone, #stones input.stone {
	background: #f8f8f8;
}

#board input.remove {
    background: #a52224;
}

#board input.preview {
	background: #B4A8B4;
}

#board input.highlight {
	border-radius: 3em;
	background-color: #A01B1B;
}

img#direction {
	cursor: pointer;
	margin-left: 10px;
}

#stones .right {
	float: right;
	margin-right: 12px;
	margin-top: 3px;
}

.panel {
	display: none;
}

.panel .title {
	color: #C7C5CE;
	margin: 8px 0px 0px 13px;
}

.panel .content {
	margin: 8px 10px;
	padding: 0px 16px;
	border: 1px solid #000;
	max-height: 456px;
}

.neutral {
    background: #575757;
}

.form input {
	background: #D6D6D6;
	border: 1px solid #353535;
	padding-left: 5px;
	font-family: 'Courier New';
	color: #2C2C2C;
	width: 136px;
	line-height: 24px;
	height: 24px;
}

.login .form, .registration .form {
	margin: 14px 0px;
	text-align: center;
}

.login .response, .registration .response {
	color: #E7E7E7;
	text-align: center;
	margin: 8px 10px;
	padding: 0px 16px;
	line-height: 30px;
}

.games .content {
	padding: 4px 16px;
	max-height: 448px;
	overflow-y: auto;
}

.games .row div {
	display: inline-block;
	margin: 1px 0px;
	padding: 3px 0px;
}

.games .row .game {
	margin-left: 3px;
}

.games .row .remove {
	float: right;
}

.games .remove {
	cursor: pointer;
}

.games .remove:hover > span.link {
	color: #f3728b;
}

.games .line {
	border-top: 1px dashed #000;
}

.new .content {
	padding: 10px;
}

.new .row {
	margin-bottom: 10px;
}

.new .row div {
	display: inline-block;
}

.new .row > div:first-child {
	width: 140px;
}

.randomboard .content {
	padding: 15px;
}

.randomboard .bonustype {
	display: inline-block;
	width: 50px;
	line-height: 30px;
	margin: 0px;
	padding: 5px;
	border-radius: .3em;
	border: 1px solid #000;
	color: #EEE;
	text-align: center;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	cursor: pointer;
}

.randomboard .counter {
	display: inline-block;
	width: 52px;
	line-height: 30px;
	margin: 0px;
	padding: 5px;
	text-align: center;
	color: #DDD;
}

.randomboard .checkmark {
	color: #fde47f;
}

.randomboard button.done {
	font-weight: bold;
}

.unrecognizedwords .message {
	margin: 10px 0px;
}

.unrecognizedwords .row {
	margin-bottom: 10px;
}

.results .head {
	margin-left: 21px;
	line-height: 30px;
	margin-top: 4px;
	cursor: default;
}

.results .head > div {
	float: left;
}

.results .head .arrow {
	height: 10px;
	width: 10px;
	display: inline-block;
	margin-left: 7px;
}

.results .head .arrow.up {
	background-image: url( ../img/m_arrow_up.png );
}

.results .head .arrow.down {
	background-image: url( ../img/m_arrow_down.png );
}

.results .list {
	height: 456px;
	overflow-y: auto;
	padding: 5px 5px 0px 5px;
	border: 1px solid #000;
	margin: 0px 10px;
	clear: both;
}

.results .line {
	border-top: 1px dashed #000;
	width: 436px;
	margin-left: 9px;
}

.results .smallline {
	margin-left: 42px;
	width: 400px;
	border-top: 1px dashed #000;
}

.results .list .row {
	margin-left: 5px;
}

.results .row div {
	display: inline-block;
	margin: 4px 0px;
	padding: 3px 0px;
}

.results .position {
	width: 47px;
}

.results .word {
	width: 200px;
}

.results .word.removed {
	text-decoration: line-through;
}

.results .word.removed .link {
	color: #2B2B2B;
}

.results .extraword .word {
	margin-left: -5px;
	padding-left: 5px;
}

.results .lookup {
	width: 35px;
	cursor: pointer;
}

.results .used {
	width: 87px;
}

.results .points {
	width: 48px;
	white-space: nowrap;
}

.results .remove {
	cursor: pointer;
}

.results .list .link {
	cursor: pointer;
}

.results .list .lookup:hover > span.link, .results .list .remove:hover > span.link {
	color: #f3728b;
}

.results .extraword .word, .results .extraword .lookup, .results .extraword .used, .results .extraword .points,
.results .extraword .remove  {
	background: #383838;
}

.results .head .points {
	width: 90px;
}

.definition .content {
	padding-top: 10px;
	padding-bottom: 10px;
	height: 436px;
	overflow-y: auto;
}

.definition .content a {
	color: #000;
	font-weight: bold;
}

.definition .bottom {
	padding: 5px 20px 0px 11px;
}

.definition .credits a {
	color: #FDE47F;
	text-decoration: none;
}

.definition .credits {
	float: right;
	color: #FFF;
	line-height: 26px;
}

.settings .content.limits {
	padding-top: 10px;
	padding-bottom: 10px;
	height: 75px;
}

.settings .form {
	margin-top: 10px;
}

.settings .form div {
	margin-bottom: 2px;
}

.settings .form .label {
	width: 176px;
	float: left;
	line-height: 26px;
}

.settings .content.dictionary {
	padding-top: 10px;
	padding-bottom: 10px;
	height: 268px;
	overflow-y: auto;
	position: relative;
}

.settings .words {
	margin-top: 10px;
	overflow-y: auto;
}

.settings .left {
	float: left;
	width: 210px;
	border-right: 1px solid #000;
	min-height: 214px;
}

.settings .right {
	float: right;
	width: 210px;
	min-height: 190px;
}

.settings .columntitle {
	font-weight: bold;
	padding-bottom: 1px;
}

.settings .row {
	white-space: nowrap;
	overflow: hidden;
	margin-top: 2px;
}

.settings .row span {
	font-size: 11px;
}

.settings button {
	margin-left: 12px;
}

.info .content {
	padding: 16px;
}

.notice .content {
	border: 0px;
	color: #FFF;
	margin-top: 238px;
	text-align: center;
}

.togglebutton {
	display: inline-block;
	line-height: 28px;
	border: 1px solid #333;
	background-color: #D4D0C8;
	width: 60px;
	text-align: center;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	cursor: default;
}

.togglebutton:active, .togglebutton.pressed {
	-webkit-box-shadow: inset 0 1px 3px rgba( 0, 0, 0, 0.5 );
    -moz-box-shadow: inset 0 1px 3px rgba( 0, 0, 0, 0.5 );
    box-shadow: inset 0 1px 3px rgba( 0, 0, 0, 0.5 );
}

.togglebutton.pressed {
	background-color: #71AF62;
}

.links {
	position: absolute;
	bottom: 0px;
	margin-bottom: 12px;
	line-height: 25px;
	text-align: center;
	width: 500px;
	display: none;
}

.links span, span.link, .link {
	color: #fde47f;
	cursor: pointer;
	text-decoration: none;
}

.links span:hover, span.link:hover, .link:hover {
	color: #f3728b;
}