﻿body
{
	background: #f7f5ee url(/resources/images/template/bg-v.jpg) repeat-x;
	margin: 0px;
	padding: 0px;
}

body, td, ul, li, input, textarea
{
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #000;
}

a
{
	color: #ec1c24;
	text-decoration: none;
}

h1
{
	margin:0px;
	padding:0px 0px 15px 0px;
	font-size:16px;
}

p
{
	margin:0px;
	padding:0px;
}

div#wrapper
{
	margin: auto;
	width: 983px;
}

/* TOP */

div#top
{
	float:left;
	background: url(/resources/images/template/bg-top.jpg) no-repeat;
	width: 983px;
	height: 146px;
}

div#date
{
	float:right;
	padding:0px 30px 0px 10px;
	width:305px;
	height:25px;
	line-height:25px;
	text-align:right;
	font-size:12px;
}

div#sub-top
{
	clear:both;
	float:right;
	padding: 17px 20px 0px 20px;
	width:943px;
}

div#menu
{
	float:left;
	width:660px;
}

div#topmenu
{
	float:left;
	width:524px;
	padding:19px 0px 0px 13px;
}

div#topmenu ul
{
	margin:0px;
	padding:0px;
	list-style:none;
}

div#topmenu ul li
{
	float:left;
	width:131px;
	height:39px;
	line-height:39px;
	text-align:center;
}

div#topmenu ul li a
{
	font-size:12px;
	color:#fff;
	text-transform: uppercase;
}

div#topmenu ul li a:hover
{
	text-decoration: underline;
}

div#topmenu ul li.selected
{
	background: url(/resources/images/template/topmenu-sel.gif) no-repeat;
}

div#submenu
{
	clear:both;
	float:left;
	padding: 0px 0px 0px 13px;
	width:524px;
}

div#submenu ul
{
	margin:0px;
	padding:0px;
	list-style:none;
}

div#submenu ul li
{
	float:left;
	width:131px;
	height:26px;
	line-height:26px;
	text-align:center;
	background: rgb(198,196,194);
}

div#submenu ul li a
{
	font-size:12px;
	color: rgb(98,99,102);
	text-transform: uppercase;
}

div#submenu ul li a:hover
{
	text-decoration: underline;
}

div#logo
{
	float:right;
	padding: 23px 18px 0px 0px;
}

div#logo img
{
	vertical-align: bottom;
}

/* CONTENT */

div#main
{
	float:left;
	width:983px;
	padding: 4px 0px;
	background: url(/resources/images/template/bg.jpg) repeat-y;
}

div#content
{
	float: left;
	padding-left: 26px;
	width: 620px;
	overflow:hidden;
}

.ads
{
	float: right;
	overflow:hidden;
	width: 310px;
	padding-right: 27px;
	text-align: center;
}

.ad
{
	width:310px;
	height:220px;
	overflow:hidden;
}

div#frontad .ad
{
	width:620px;
	height:440px;
	overflow:hidden;
}

.bottom-ad
{
	width:310px;
	height:174px;
	overflow:hidden;
}

.ad img
{
	vertical-align:bottom;
}


div#frontad
{
	float:left;
	padding-bottom:5px;
	width: 620px;
	text-align:center;
}

div#frontad img
{
	vertical-align: bottom;
}

.supnews
{
	clear:both;
	float:left;
	padding:0px 4px 4px 4px;
	width: 610px;
}

.news
{
	clear:both;
	float:left;
	width: 610px;
	border: 1px solid rgb(130,130,124);
}

.news-title
{
	clear:both;
	float:left;
	padding-left:24px;
	background: url(/resources/images/template/news-title.gif) repeat-x;
	width:586px;
	height:37px;
	line-height:37px;
	font-size:12px;
	color: #fff;
	text-transform: uppercase;
}

.news-content
{
	clear: both;
	float:left;
	padding: 10px 5px;
	width:600px;
	height:152px;
	background: url(/resources/images/template/news-content.gif) repeat-x rgb(233,229,215);
}

.news-content ul
{
	margin:0px;
	padding:0px;
	list-style:none;
}

.news-content ul li
{
	padding: 5px  0px 5px 21px;
	background: url(/resources/images/template/news-bull.gif) no-repeat left center;
}

.news-content ul li a
{
	font-size: 12px;
}

div#bottomad-left
{
	float:left;
}

div#bottomad-right
{
	float:right;
}

div#bottomad-left img, div#bottomad-right img
{
	vertical-align: bottom:
}

/* BOTTOM */

div#bottom
{
	clear:both;
	float:left;
	width: 983px;
	height: 54px;
	line-height:33px;
	background: url(/resources/images/template/bg-bottom.jpg) no-repeat;
	font-size:12px;
	color:#fff;
	text-align:center;
}

div#bottom a
{
	color:#fff;
}

.open-box
{
	clear:both;
	float:left;
	overflow:hidden;
	padding:4px 15px 3px 4px;
	width:301px;
	height:210px;
}

.open-box-content
{
	float:right;
	padding: 45px 7px 7px 7px; 
	height: 159px;
	width: 287px;
	background: url(/resources/images/template/box-open.gif) no-repeat;
	text-align:left;
}

.subnews-title
{
	clear:both;
	float:left;
	height:23px;
	width:610px;
	background: url(/resources/images/template/bg-subnews.gif) repeat-x;
}

.subnews-image
{
	float:right
}

.subnews-image img
{
	vertical-align:bottom;
}

.subnews-content
{
	clear:both;
	float:left;
	padding:10px 0px;
	width:610px;
}

div.clear
{
	clear: both;
	height: auto;
}