﻿html, body {
	height: 100%;
}

* {
	margin: 0;
	padding: 0;
}

a {
	color: #60c020;
	text-decoration: none;
	outline: none;
}

a:hover {
	color: #00a000;
	text-decoration: underline;
}

img {
	border:none;
}

p {
	margin-bottom: 8px;
}

.left {
	float: left;
	margin: 2px 8px 0px 0px;
	border: 1px solid #ffffff;
}

.right {
	float: right; 
	margin: 2px 0px 0px 8px;
	border: 1px solid #ffffff;
}

.center {
	display: block;
	text-align: center;
	margin: 2px auto 2px;
	border: 1px solid #ffffff;
}

body {
	font: 12px Verdana,Tahoma,Arial,sans-serif;
	background: #fff;

}

html>body #wrapper {
height: auto;
}

/*Поле "Шинника"*/

#header {
	margin-top: 0;
	margin-bottom: -38px;
	background: #DCDCDC url(images/top.png) left bottom repeat-x;
	height: 194px;
}

#wrapper {
	position:relative;
	width: 100%;
	margin: 0 auto;
	background: #fff;
	height: 100%;
	min-height: 100%;
}

#toplinks {
	text-align: right;
	font-weight: 400;
	font-size: .8em;
	letter-spacing: .1em;
	text-transform: uppercase;
}

#toplinks a {
	color: #d37103;
	text-decoration: none;
	font-weight: 600;
}

/*Заглавие*/

#title {
	margin: 5% 20% 0 20%;
}


#title h2, #title h3{
	color: #FFFFc0;
	letter-spacing: .1em;
	margin: 6px 0 0 6px;
	text-align:center;
}

/*Верхнее меню*/

#menu {
	background: transparent;
	height: 38px;
	margin-left: 0;
	margin-right: 7px;
}

#menu ul {
	padding-top: 10px;
	padding-left: 20px;
}

#menu li {
	list-style: none;
	display: inline;
}

#menu li a {
	padding: 6px 14px 7px 14px;
	line-height: 26px;
	height: 30px;
	text-decoration: none;
	color: #FDFFE1;
	background: #4BAF1B;
}

#menu li a:hover, #menu li a.selected {
	line-height: 26px;
	padding-top: 8px;
	background: #ffffff;
	color: #003000;
	border-top: 3px solid #B4B300;
	border-right: 3px solid #B4B300;
	border-left: 3px solid #B4B300;
	border-bottom: 3px solid #ffffff;
}

/*Содержимое*/

#content {
	padding: 10px 5px 10px 20px;
	color: #000000;
}

#content h1, #content h2, #content h3 {
	margin: 6px 0 4px;
	text-indent:10px;
	color:#464646;
}

#content h4, #content h5, #content h6 {
	text-indent:10px;
	margin: 3px 0 4px;
	color:#464646;
}

#main {
	width: 75%;
	float: left;
	text-align: justify;
	margin-bottom:49px;
}

#main ul {
	margin-left: 26px;
	margin-bottom: 8px;
}


/*Цитата*/

blockquote {
			border-left: 6px solid #99cc00;
			font-size: 11px;
			margin: 0px 30px;
			padding-left: 15px;
			color:#464646;
}

/*Турнирная таблица*/

table {
	float: left;
	border-collapse: collapse;
	margin: 5px auto 10px auto;
	border: 1px solid #000000;
}

th {
	background: #805000;
	height: 25px; 
	padding: 0 10px;
	color: #ffffff; 
	text-align:center;
/*Минимальная ширина столбца*/
	width: 27px;
}

th.first {
	text-align:left;
	width:150px;
}

th.centr{
	text-align:center;
	width:150px;
}

th.mini{
	width:20px;
}

td {
	padding: 0 10px; 
	height: 25px;
	text-align:center;
	border: 1px solid;
}

td.first{
	text-align:left;
	width:150px;
}

tr.leader {
	background: #d0ffc0;
}

tr.outsider {
	background-color:#FFDFFF;
}

/*Сайдбар*/

#sidebar {
	padding: 0px 0 10px 5px;
	width: 23%;
	float: right;
	background: #fffff0;
	border: 2px dashed #464646;
	margin-bottom:40px;
}

#sidebar h3 {
	margin-top: 6px;
}

#sidebar ul {
	margin: 4px 0 6px;
}

#sidebar li {
	list-style: none;
	display: block;
	padding: 4px 0 2px;
	border-bottom: 1px solid #464646;
}

#sidebar li a {
	color: #000;
	background: url(images/seta1.png) left no-repeat;
	padding-left: 10px;
}

#sidebar li a:hover, #sidebar li a.selected {
	background: url(images/seta.png) left no-repeat;
	padding-left: 15px;
	color: #00a000;
	text-decoration:none;
}

/*Подвал*/

#footer {
position: absolute;
left: 0;
bottom: 0;
right:0;

	height: 49px;
	background: url(images/top.png) left repeat-x;
	padding-left: 50px;
	padding-top: 3px;
	clear:both;

}

#footer p {
	color: #d0FFc0;
	text-align: left;
	font: 10px Verdana,Tahoma;
	margin-bottom:2px;
}

#footer a:hover {
	color:#fff;
}

.clear {
	clear: both;
}

