#d_code {
	font-size : 10px;
	color : #666666;
	font-family:Tahoma,Verdana,Arial;
	text-align: center;
	
	}
#d_code1 {
	font-size : 10px;
	color : #666666;
	font-family:Tahoma,Verdana,Arial;
	padding-left: 0px;
	
	}
#d_code a {
		color : #666666;
		text-decoration: none;
		}
#d_code1 a {
		color : #666666;
		text-decoration: none;
		}

#d_code a:link{
		color : #666666;
		text-decoration: none;
	}
#d_code1 a:link  {
		color : #666666;
		text-decoration: none;
	}

#d_code a:hover{
		color : #666666;
		text-decoration: underline;
	}
#d_code1 a:hover  {
		color : #666666;
		text-decoration: underline;
}
* {
margin: 0;
padding: 0;
}

body {
background: #333 url("images/back.gif") repeat;
text-align: center;
font: normal 11px/18px verdana, arial, tahoma, sans-serif;
color: #333;
padding-top: 40px;
}

a {
color: #666;
text-decoration: none;
}

a:visited {
text-decoration: underline;
}

a:hover {
color: #ccc;
}

#header {
width: 580px;
height: 210px;
background: #000 url("images/header.jpg") no-repeat;
background-position: top right;
}

#wrapper {
width: 580px;
background: #fff url("images/sidebar.gif") repeat-y;
background-position: 0 0;
border: solid 10px #fff;
margin: 0 auto;
text-align: left;
}

h1 {
width: 140px;
height: 30px;

margin: 1px 1px 1px 0;
float: left;
font: bold 16px/30px arial, verdana, tahoma, sans-serif;
padding-left: 10px;
color: #000000;
cursor: default;
}



h2 {
width: 419px;
height: 30px;
background-color: #333;
float: left;
font: bold 16px/30px arial, verdana, tahoma, sans-serif;
padding-left: 10px;
color: #fff;
margin-top: 1px;
cursor: default;
}

#nav {
list-style: none;
z-index: 2;
border-right: 1px solid #fff;
height: 210px;
width: 150px;
}

#nav li a {
color: #fff;
font: normal 11px/24px verdana, arial, tahoma, sans-serif;
display: block;
width: 140px;
height: 24px;
background-color: #000;
border-bottom: 1px solid #fff;
padding-left: 10px;
text-decoration: none;
}

#nav li a:hover {
background-color: #333;
}

#current a {
background-image: url("images/bullet.gif");
background-repeat: no-repeat;
background-position: 100% 50%;
}

#sidebar {
width: 132px;
background-color: #ccc;
float: left;
position: relative;
left: -4px;
margin-left: -147px;
border-top: 1px solid #fff;
font: normal 10px/18px verdana, arial, tahoma, sans-serif;
padding: 8px;
}

img {
border: none;
}

a img {
display: block;
margin-bottom: 20px;
border: 1px solid #fff;
}

a:hover img {
border-color: #f00;
}

#content {
float: left;
width: 400px;
margin: 10px 0 0 10px;
}

p {
margin-bottom: 20px;
}



#footer {
clear: both;
width: 400px;
margin-left: 163px;
text-align: center;
}
#content h1{
font-size: 18px;
font-color: #666666;

width: 100%;
height: 100%;
text-align: left;
margin: 1px 1px 1px 0;
float: left;
font: bold 16px/30px arial, verdana, tahoma, sans-serif;
padding-left: 10px;
color: #000000;

} 

.ad_clear {clear:both;}
.w750 {width:750px;}
.w240 {width:240px;}
.w180 {width:180px;}
.h450 {height:450px;}
.h52 {height:52px;}
div.ad_float {float:left;}
#ad_zag a {font-weight:bold;}
#ad_zag a:hover{text-decoration:none;}
div.ad_main {padding:2px 5px;line-height:13px;margin:5px;}

#ad_zag a{font-family:verdana,arial,sans-serif;font-size:10px;}
#ad_text {font-family:verdana,arial,sans-serif;font-size:10px;}
#ad_url {font-family:verdana,arial,sans-serif;font-size:10px;}


/*	коричневые оттенки	*/
.ad_brown {
	border:1px solid #FBE5C0;
	background:#FFF9F0;
}
.ad_brown #ad_zag a{
	color:#CF9633;
}
.ad_brown #ad_text {
	color:#5F5D59;
}
.ad_brown #ad_url {
	color:#CF9633;
}

/*	синие оттенки	*/
.ad_blue {
	border:1px solid #7FC6FF;
	background:#EFF2FF;
}
.ad_blue #ad_zag a{
	color:#221FFF;
}
.ad_blue #ad_text {
	color:#5F5D59;
}
.ad_blue #ad_url {
	color:#5F7FFF;
}

/*	зеленые оттенки	*/
.ad_green {
	border:1px solid #74CF91;
	background:#EFFFF4;
}
.ad_green #ad_zag a{
	color:#0F7F33;
}
.ad_green #ad_text {
	color:#5F5D59;
}
.ad_green #ad_url {
	color:#0F7F33;
}

/*	google оттенки	*/
.ad_google #ad_zag a{
	color:#0044A1;
	line-height:12px;
}
.ad_google #ad_text {
	color:#445964;
	font-family:verdana,arial,sans-serif;
}
.ad_google #ad_url {
	color:#0F7F33;
}