body {
	font-family: 'PT Sans', sans-serif;
	color: #37332F;
	-webkit-font-smoothing: antialiased;
}

.container {
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
	font-family: 'PT Serif', serif;
	font-weight: normal;
	color: #37332F;
	margin-top: 30px;
}

p {
	margin: 0 0 20px;
}

a:hover, a:focus {
	color: #3883C8;
	text-decoration: none;
}

a {
	color:#3883C8;
	text-decoration: underline;
}

a:visited {
	color: #5A38C8;
	/*color: #77AAD9*/
}
h2 a {
	text-decoration: none;
}

.main .l{
	float: left;
	padding-right: 20px;
	margin-top: 8px;
}

.main .com {
	width: 400px;
	padding: 0 0 5px 0;
	text-align: center;
	font-style: italic;
	font-size: 84%;
}

small, .small {
	font-size: 85%;
	line-height: 1;
}

.squeeze{
	letter-spacing: -1px;
}

.hand {
	cursor: hand;
	cursor: pointer;
}

td, th {
	padding: 2px;
}

dd {
	padding: 10px 0 10px 40px;
}

p[align=center]{
	font-size: 100%;
}

p.tournament {
	line-height: 1;
	text-align: center;
	margin-top: 20px;
}
p.tournament i{
	font-size: 71%;
}

table.grid
{
	text-align:right;
	border-collapse:collapse;
	margin: 30px auto;
}
table.grid td
{
	white-space:nowrap;
	padding:0 0 0 5px;
	font-size: 80%;
	line-height: 12px;
}
table.grid td.f{
	background: #FBF5EF;
}
table.grid td.h{
	font-weight: 600;
}
table.grid td.r{
	padding: 2px 5px;
	border-right:1px solid #C87F38;
}

table.grid td.l{
	padding: 2px 5px;
	border-left:1px solid #C87F38;
}


table.tournament{
	border-collapse:collapse;
	margin-bottom: 20px;
	z-index: 2;
	position: relative;
	font-size:80%;
}

table.tournament > tr,
table.tournament > tbody > tr {
	background-color: #fff;
}

table.tournament > tr > td,
table.tournament > tbody > tr > td {
	cursor: pointer;
}


table.tournament > tr:nth-child(odd),
table.tournament > * > tr:nth-child(odd) {
	background-color: #FBF5EF;
}

table.tournament tr.active,
table.tournament > tr:hover,
table.tournament > * > tr:hover
{
	font-weight: 600;
}

table.tournament tr.opponents:hover,
table.tournament tr:first-child:hover{
	font-size:100%
}

table.tournament.prize1 tr:first-child + tr {
    font-weight: bold;
}
table.tournament.prize2 tr:first-child + tr,
table.tournament.prize2 tr:first-child + tr + tr {
    font-weight: bold;
}
table.tournament.prize3 tr:first-child + tr,
table.tournament.prize3 tr:first-child + tr + tr,
table.tournament.prize3 tr:first-child + tr + tr + tr {
    font-weight: bold;
}
table.tournament.prize4 tr:first-child + tr,
table.tournament.prize4 tr:first-child + tr + tr,
table.tournament.prize4 tr:first-child + tr + tr + tr,
table.tournament.prize4 tr:first-child + tr + tr + tr + tr{
    font-weight: bold;
}
table.tournament.prize5 tr:first-child + tr,
table.tournament.prize5 tr:first-child + tr + tr,
table.tournament.prize5 tr:first-child + tr + tr + tr,
table.tournament.prize5 tr:first-child + tr + tr + tr + tr,
table.tournament.prize5 tr:first-child + tr + tr + tr + tr + tr{
    font-weight: bold;
}
table.tournament.prize6 tr:first-child + tr,
table.tournament.prize6 tr:first-child + tr + tr,
table.tournament.prize6 tr:first-child + tr + tr + tr,
table.tournament.prize6 tr:first-child + tr + tr + tr + tr,
table.tournament.prize6 tr:first-child + tr + tr + tr + tr + tr,
table.tournament.prize6 tr:first-child + tr + tr + tr + tr + tr + tr{
    font-weight: bold;
}
table.tournament.prize7 tr:first-child + tr,
table.tournament.prize7 tr:first-child + tr + tr,
table.tournament.prize7 tr:first-child + tr + tr + tr,
table.tournament.prize7 tr:first-child + tr + tr + tr + tr,
table.tournament.prize7 tr:first-child + tr + tr + tr + tr + tr,
table.tournament.prize7 tr:first-child + tr + tr + tr + tr + tr + tr,
table.tournament.prize7 tr:first-child + tr + tr + tr + tr + tr + tr + tr{
    font-weight: bold;
}
table.tournament.prize8 tr:first-child + tr,
table.tournament.prize8 tr:first-child + tr + tr,
table.tournament.prize8 tr:first-child + tr + tr + tr,
table.tournament.prize8 tr:first-child + tr + tr + tr + tr,
table.tournament.prize8 tr:first-child + tr + tr + tr + tr + tr,
table.tournament.prize8 tr:first-child + tr + tr + tr + tr + tr + tr,
table.tournament.prize8 tr:first-child + tr + tr + tr + tr + tr + tr + tr,
table.tournament.prize8 tr:first-child + tr + tr + tr + tr + tr + tr + tr + tr{
    font-weight: bold;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	table.tournament tr.active,
	table.tournament > tr:hover > td,
	table.tournament > * > tr:hover
	{
		font-size: 96%;
	}
}

table.tournament tr > *{
	white-space: nowrap;
	border: 1px solid #F0DCC8;
	text-align: left;
	padding: 5px;
}
table.tournament > tr > th,
table.tournament > * > tr > th{
	background:#E4C09C;
	color:#37332F;
}
table.tournament + p {
	font-size: 71%;
}
.tournament + p[align=center] {
	font-size: 100%;
}

table.tournament td.win,
table.tournament td.win a,
table.tournament td.win a:visited
{
	color: #090;
}
table.tournament td.loss,
table.tournament td.loss a,
table.tournament td.loss a:visited{
	color: #f00;
}

.opponents table{
	width:100%;
	font-size: 94%;
	cursor: default;
	font-weight: normal;
}

.opponents tr.win,
#opponentsToolTip li.win{
	background:#dfd;
}
.opponents tr.loss,
#opponentsToolTip li.loss{
	background:#fdd;
}
.opponents tr.draw,
#opponentsToolTip li.draw{
	background:#fff;
}

#opponentsToolTip{
	display: none;
	position: absolute;
	z-index: 100;
	font-size:90%;
	border:1px solid #99c;
   	opacity:0.9;
	padding:0;
}

#opponentsToolTip li{
	list-style-type: none;
	padding:1px 5px;
	margin:0;
}


.tablesize1 table.tournament tr > *{ font-size: 99%; }
.tablesize2 table.tournament tr > *{ font-size: 98%; }
.tablesize3 table.tournament tr > *{ font-size: 97%; }
.tablesize4 table.tournament tr > *{ font-size: 96%; }
.tablesize5 table.tournament tr > *{ font-size: 95%; }
.tablesize6 table.tournament tr > *{ font-size: 94%; }
.tablesize7 table.tournament tr > *{ font-size: 93%; }
.tablesize8 table.tournament tr > *{ font-size: 93%; padding: 4px;}
.tablesize9 table.tournament tr > *{ font-size: 92%; padding: 4px;}
.tablesize10 table.tournament tr > *{ font-size: 91%; padding: 4px;}
.tablesize11 table.tournament tr > *{ font-size: 90%; padding: 4px;}
.tablesize12 table.tournament tr > *{ font-size: 89%; padding: 4px;}
.tablesize13 table.tournament tr > *{ font-size: 88%; padding: 4px;}
.tablesize14 table.tournament tr > *{ font-size: 87%; padding: 4px;}
.tablesize15 table.tournament tr > *{ font-size: 86%; padding: 4px;}
.tablesize16 table.tournament tr > *{ font-size: 85%; padding: 3px;}
.tablesize17 table.tournament tr > *{ font-size: 84%; padding: 3px;}
.tablesize18 table.tournament tr > *{ font-size: 83%; padding: 3px;}
.tablesize19 table.tournament tr > *{ font-size: 82%; padding: 3px;}
.tablesize20 table.tournament tr > *{ font-size: 81%; padding: 3px;}
.tablesize21 table.tournament tr > *{ font-size: 80%; padding: 3px;}
.tablesize22 table.tournament tr > *{ font-size: 79%; padding: 3px;}
.tablesize23 table.tournament tr > *{ font-size: 79%; padding: 2px;}

table.border,
table.csv
{
	border-collapse:collapse;
	margin-bottom: 20px;
	z-index: 2;
	position: relative;
	font-size: 80%;
}
table.border tr > *,
table.csv tr > *
{
	border:1px solid #F0DCC8;
	padding:5px;
}
table.border th,
table.csv th
{
	background:#E4C09C;
	color:#37332F;
}


table.nowrap td{
	white-space:nowrap;
}

table.left{
	margin-right: 10px;
	clear:left;
}
table.right{
	clear:right;
	margin-left: 10px;
}

table.image{
	border-collapse:collapse;
	padding:0;
}
table.image td{
	text-align:center;
	font-size:80%;
	padding-bottom: 10px;
}
/* комментарии */
.comment_item{
	margin:2em auto 3em auto;
	font-size:86%;
}
.comment_item p{
	position:relative;
	z-index:1;
	margin-top:1.2em;
	margin-bottom:0em;
}

.author_post{
	padding:1em 1.2em;
	background:#efefff;
}
.comment_item .empty{
	line-height:1em;
	margin-bottom:-2em;
}
.author_post .empty{
	margin-bottom:-2.3em;
}

a.comment
{
	float:left;
	display:inline;
	margin:-1em 0 0 0;
	font:350% Georgia;
	color:#ccc;
	text-decoration:none;
}
a.comment:visited,
a.comment:hover
{
	color:#ccc;
	text-decoration:none;
}
a.comment:hover{color:#999;}

.comment_header{
	position:relative;
	z-index:1;
	padding:0;
	margin-bottom:1em;
	margin-left:3.8em;
} .comment_header[class] {
	  margin-left:4em;
  }
.comment_header em{
	font-style:normal;
	color:#ccc;
}
.comment_text{
	position:relative;
	z-index:1;
	margin-left:4em;
}

/* \ комментарии */

.invisible{
	display: none;
}

.flash_container {
	text-align: center;
}
p[align=left]{
    margin-top: -20px;
}

.btn {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
    /* background-image: -webkit-linear-gradient(top,#fff,#e6e6e6); */
    background-image: -o-linear-gradient(top,#fff,#e6e6e6);
    background-image: linear-gradient(to bottom,#fff,#e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #bbb;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-bottom-color: #a2a2a2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}
.btn .caret {
    margin-left: 0;
    position: absolute;
    right: 12px;
    top: 12px;
}
.rkl {
    display: block;
    clear: both;
    width: 460px;
    font-size: 80%;
    opacity: 0.7;
    line-height: 10px;
    margin: 0 auto;
}
.r32,
ul.ec,
.spec0,
.mapathome,
.t23
{
    width:auto;
    position:absolute;
    top:0;
    font-size:50%;
    display:inline;
    left:-1000px;
}
.mapathome ul, ul.ec, ul.ec > li,
.mapathome ul > li{
    margin:-10px 0 0 0;
    padding:0;
}
/*
 * Footer
 */

.footer {
	padding: 20px 0;
	color: #A29990;
	text-align: center;
	background-color: #E4C09C;
	border-top: 1px solid #E8E5E2;
}
.footer p:first-child{
	font-size: 157%;
	color: #fff;
}
.footer p:last-child {
	margin-bottom: 0;
}
.stat{
	color: #E4C09C;
    margin: 0 0 -20px 0;
}
.counters{
	width: auto;
	position: absolute;
	top: 0;
	left: -1000px;
}
.socials{
	margin-top: 30px;
}

.kifuforjs {
	margin-bottom: 20px;
	background: #eee;
}
.kifuforjs td {
	vertical-align: top;
}
.kifuforjs table.ban{
	font-size: 60%;
}
.kifuforjs .tebanname {
	font-size: 75%;
}
.kifuforjs ul.lines button, .kifuforjs ul.lines select {
    font-size: 65%;
}
.kifuforjs textarea {
	display:none;
}
.kifuforjs .mochi.info dl dt {
	display:none;
}
.kifuforjs .mochi.info dl dd {
	margin: 0;
	padding: 0;
}