/*
Theme Name: Russian Dragon
Theme URI: http://russiandragon.ru/
Description: Theme developed for site of Russian Dragon Association. Version 1.0 is widget-ready for WordPress 2.0.x.
Version: 1.0
Author: Anton Shibaev. Photo by Anton Shibaev.
*/
BODY
{
	margin: 0;
	padding: 0;
	text-align: center;
	font: small Arial, Verdana, sans-serif;
	line-height: 130%;
	background: #E4E4E4;
}
#wrap-all
{
	margin: 0 auto;
	padding: 0;
	width: 980px;
	text-align: left;
	color: #041C4D;
	background-color: #FFFFFF;
	border-left: 1px solid #666666;
	border-right: 1px solid #666666;
}

#header
{
	margin: 0;
	padding: 0;
}
#header-menu
{
	margin: 0;
	padding: 0 0 0 10px;
	height: 35px;
	background-color: #999;
	background: url(images/navi-left.gif) repeat-x left top;
}


#header-menu a, #header-menu a:link, #header-menu a:visited	{ color: #fff; background-color: transparent; }
#header-menu a:hover { background-color: transparent; background: url(images/navi-hover.gif) repeat-x top left; color:#901818; }


UL#navigation-top
{
	margin: 0;
	padding: 0 0;
	list-style-type: none;
}
UL#navigation-top LI
{
	margin: 0;
	padding: 0;
	display: block;
	float: left;
	background: url(images/navi-left.gif) repeat-x top left;
}
UL#navigation-top LI A
{
	margin: 0 0px;
	padding: 11px 15px;
	font-size: 0.8em;
	display: block;
	border-right: solid 1px #6888ae;
}

ul#header-menu li ul li a, #header-menu li ul li a:link, #header-menu li ul li a:visited { color:#041C4D; background-color:#ccc; border-right: none; border-bottom: 1px dotted #777; }
#header-menu li ul li a:hover { color:#901818; background-color:#aaa; }

#header-title
{
	margin: 0;
	padding: 0;
	height: 3em;
}
.header-title
{
	margin-bottom: 1em;
	float: left;
	padding-left: 3em;
}
.blog-desc
{
	float: left;
	width: 30%;
	font-size: 1.1em;
}
#header-title H1
{
	text-align: right;
	padding: 3px 0;
	font: 3em Arial, Verdana, sans-serif;
}
#header-title H1 A
{
	display: block;
	color: #041C4D;
	background-color: transparent;
}
#header-img
{
	clear: both;
	padding: 0 0;
	margin-bottom: 0;
	height: 200px;
	background: url(images/header-img2012.jpg) no-repeat center;
	background-color: #999;
}

#fbicon { position: relative; left:940px; top:160px; width:25px; height:25px;}

#wrap-mid
{
	margin: 2em 0;
	padding: 0 20px;
}

#content, #content-wide, #comments-block
{
	line-height: 1.2;
	font-size: 1.0em;
	margin: 0;
	padding: 0;
	float: left;
}

#content, #comments-block { width: 580px; }
#content-wide { width: 940px; }

#side
{
	margin: 0 0 0 600px;
	padding: 0px 0;
	color: #041C4D;
}
#comments-block2
{
	margin: 0 0 0 585px;
	padding: 0;
	color: #996666;
	background-color: transparent;
}
.smallside1
{
	margin: 0 5px 0 0;
	padding: 0 1px;
	float: left;
	width: 130px;
}
.smallside2
{
	margin: 0;
	padding: 0 2px;
	float: right;
	width: 130px;
}

#side H2 { color: #041C4D; font: normal 1.5em Arial, sans-serif; }
#side H3 {  color: #fff; background-color: #369; padding: 5px; margin-bottom: 10px; font-weight:normal; text-align:left; background: url(images/navi-left.gif) repeat-x left bottom; }
#side UL { margin: 0 0 0 20px; padding: 0; list-style: square; }
#side UL LI, #side UL P { margin: 5px 0 5px 0px; padding: 0 0 7px 0; border-bottom: 1px dotted #ddd; }
#side UL LI LI { margin: 0; padding: 0; }
#side UL LI LI LI { margin: 0; padding: 0 0 0 10px; }

.box { font-size: 0.9em; line-height:1.1em; background-color: #eee; padding: 10px; margin-bottom:10px; }
.box a, .box a:link, .box a:visited{ color: #105289; text-decoration: none; }
.box a:hover	{ color: #D31141; }

.box H4 { text-align:right; font-weight:bold; margin:5px; }
.boxmore a, .boxmore a:link, .boxmore a:visited { color: #901818; text-decoration: none; }
.boxmore a:hover	{ color: #dc3c3c; text-decoration: underline;}

#footer { margin: 10px 0 0 0; padding: 0; clear: both; background-color:#4072ac; }
#footer p { margin: 0; padding: 10px; font: 0.8em Arial, sans-serif; text-align: center; color:#fff; }
.clear {	clear: both; }

/*WP elements*/
.post { margin: 0; padding: 0px; }
.post H2 { font: bold 1.4em Arial, sans-serif; }
.post H2 A, .post H2 A:link, .post H2 A:visited { color: #336699; }
.post H2 A:hover { color: #996666; }
.post  h3 a, .post  h3 a:link, .post  h3 a:visited { color: #901818; text-decoration: none; } 
.post  h3 a:hover { color: #dc3c3c; text-decoration: none;}
.post  h3  { padding-top:1em; }
.archnews h4  a, .archnews h4 a:link, .archnews h4  a:visited { color: #901818; text-decoration: none; }
.archnews h4  a:hover { color: #D31141; text-decoration: none; }
.archnews h4 { margin-bottom:0px; }
.archnews span.postdate { color:#45546d; } 
.post P { text-align: justify; }
.archnews P { font-size: 0.9em; margin: 0; }
.align-left { text-align: left; }
.align-center { display: block; margin: auto; }
.align-right { text-align: right; }
.center { text-align:center; }

.archnews div.navigation { margin-top:30px; text-align:center; }

.postdate { font-size:0.8em; font-weight:bold; }
.postmetadata { margin: 0; padding: 0px 0 10px; background: url(images/post-break.jpg) no-repeat left bottom; }
.postmetadata P { text-align: right; margin-top:0; }
.postmetadata .boxmore  { font-weight: bold; }

IMG.align-left {	float: left; margin: 0 5px 2px 0; }
IMG.align-right { float: right; margin: 0 0 2px 5px; }
DIV.align-left { margin: 0 5px 2px 0; }
DIV.align-right { float: right; }

.alt { margin: 20px 30px; padding: 5px; border: 1px solid #996666; }

.commentlist LI, .commentlist LI.alt { margin: 0; padding: 0 20px 10px; background: url(images/post-break.jpg) no-repeat 20px bottom; border: 0;}

P TEXTAREA { height: 100px; }

INPUT#s { width: 240px; border: 1px solid #996666; }
#searchform { margin: 0; padding: 0; }
INPUT#searchsubmit { color: #FFFFFF; background-color: #336699; border: 1px solid #336699; }

#calendar TD { border: 0; }

/*General style settings*/
H1, H2, H3 { margin: 0; padding: 0; }
BLOCKQUOTE { border-left: 2px solid #996666; padding-left: 5px; }
UL { list-style-type: square; }
CODE { font: 1em "Courier New", Courier, sans-serif; }
IMG { border: 0; }
A, A:link, A:visited { color: #2277bd; text-decoration: none; }
A:hover	{ color: #D31141; }
DIV, P {	height: 100%; }

.inline { display:inline; }
.regatta-ads  img { margin:10px;}

/* Calendar */
h4 { color: #901818; font-weight:bold; }

/* Table style */
table.cal_table1 thead th { text-align:left; font-weight: normal; text-transform: uppercase; line-height: 1.3em; font-size: 0.7em; padding: 12px 5px; }
table.cal_table1 tbody tr.bg1 { background-color: #ededed; }
table.cal_table1 tbody tr.bg2 { background-color: #dddddd; }
table.cal_table1 tbody td { padding: 5px; font-size: 0.9em;}

table.cal_table2 thead th { text-align:left; font-weight: normal; text-transform: uppercase; line-height: 1.2em; font-size: 0.6em; padding: 12px 5px; }
table.cal_table2 tbody tr.bg1 { background-color: #ededed; }
table.cal_table2 tbody tr.bg2 { background-color: #dddddd; }
table.cal_table2 tbody td { padding: 5px; font-size: 0.8em;}

table.ranking thead th { text-align:center; }
table.ranking td.points, table.ranking td.rank, table.ranking td.sailnum { text-align:center; }
table.ranking td.rank  { font-weight:bold; }

table.sponsors-tbl { width: 100%; }
table.sponsors-tbl tbody td.sponsor-logo-min { width: 210px; text-align:center; padding:5px; }
table.sponsors-tbl tbody td.sponsor-desc { text-align:left; padding-left:25px; }
table.sponsors-tbl tbody td { padding: 5px; font-size: 0.9em;}


/* Table color */
table.cal_table1 { border: 1px solid #5b83b1;}
table.cal_table1 thead th { color: #FFFFFF; border-bottom: 1px solid #999; background-color: #5b83b1;}
table.cal_table1 tbody tr:hover, table.cal_table1 tbody tr.cal_hover { background-color: #ebdadd; color: #000; }
table.cal_table1 tbody td { color: #45546d; border-top: 1px solid #fafafa; }

table.cal_table2 { border: 1px solid #5b83b1;}
table.cal_table2 thead th { color: #FFFFFF; border-bottom: 1px solid #999; background-color: #5b83b1;}
table.cal_table2 tbody tr:hover, table.cal_table1 tbody tr.cal_hover { background-color: #ebdadd; color: #000; }
table.cal_table2 tbody td { border-top: 1px solid #fafafa; }

/* Table width */
table.fixtures td.start { width: 65px; text-align: center; }
table.fixtures td.end { width: 65px; text-align: center; padding-right: 5px; }
table.fixtures td.regname { width: 360px; }
table.fixtures td.grade { width: 35px; text-align: center; padding-right: 10px; }
table.fixtures td.venue { width: 120px; }
table.fixtures td.count { width: 80px; }
table.fixtures td.club{ width: 150px; }
table.fixtures td.stat { width: 80px; }
table.fixtures td.rlfact { width: 30px; }
table.fixtures td.mfact { width: 30px; }
table.fixtures td.result { width: 70px; }
table.fixtures td.notice { width: 70px; }

table.ranking td.points, table.ranking td.rank { width:10%; }

/* Table hack */
table.cal_table1, table.cal_table2 {
	width: 99%;		/* IE < 6 browsers */
	voice-family: "\"}\""; /* Tantek hack */
	voice-family: inherit;
	width: 100%;
}

/* Color */
.red { color: red; }
.green { color: green; }
.notactive { color: red; }
.active { color: green; }