* {
	margin: 0px;
}

body {
	background: url(../img/img01.jpg) repeat-x left top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

ul,ol {
	font: inherit;
	margin-left: 1em;
}

li {
	font: inherit;
	text-indent: 1em;
	margin: 0px;
	padding: 0px;
}

a {
	text-decoration: none;
	color: #0076bf;
}

a:hover {
	background: none;
}

#wrapper {
	width: 1000px;
	margin: 0 auto;
	border-right: 1px solid #86b2d1;
	border-left: 1px solid #86b2d1;
	background: white;
}

/* Header */
#main_header {
	width: 1000px;
	height: 166px;
	margin: 0 auto;
	background: url(../img/logo.jpg) repeat-y left top;
}

/* Logo */
#logo {
	float: left;
	width: 1000px;
}

#logo h1,#logo p {	
}

#logo h1 {
	float: left;
	padding: 10px 0 0 20px;
	margin-right: 10px;
	letter-spacing: -1px;
	text-transform: lowercase;
	font-size: 3.8em;
}

#logo p {
	float: left;
	margin: 23px 0 0 0;
	padding: 3px 10px 3px 0px;
	font: normal 13px Georgia, "Times New Roman", Times, serif;
	font-style: italic;
}


/*Menu 2*/
#nav {
	margin: 0 auto;
	padding: 0;
	display: block;
	height: 36px;
	width: 1000px;
	list-style-type: none;
	background: #86b2d1 url("../img/naviback.jpg") no-repeat scroll;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
}

#nav li {
	display: block;
	position: relative;
	width: 100px;
	height: 34px;
	float: left;
	margin-top: 2px 0px 0px 0px;
	border-left: 1px solid #3f7ca0;
	border-right: 1px solid #004772;
	line-height: 180%;
	text-indent: 0em;
	padding: 0px;
}

#nav li.first {
	border-left: none;
	margin-left: 2px;
}

#nav li.last {
	border-right: none;
}

#nav a {
	text-decoration: none;
}

#nav li a {
	display: block;
	color: #FFFFFF;
	border: 0px;
	text-align:center;
	  padding: 7px 10px 8px 10px;
}

#nav li a:hover { /* height: 32px;*/
	font-weight: bolder;
	color: #0074bb;
	background: url("../img/hovmenu0.png") no-repeat left bottom;
}

/* Content */
#main_content {
	float: right;
	width: 990px;
	position: relative;
	display: block;
	padding: 0px 5px 0px 0px;
	/*background: url("../img/tosMenu.jpg") repeat-y;*/
}

/* Footer */
#footer {
	width: 1000px;
	height: 10px;
	margin: 0 auto;
	padding: 5px 0 5px 0;
	background: #2a719d;
	border: 1px solid #86b2d1;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
}

#footer p {
	margin: 0;
	line-height: normal;
	font-size: 9px;
	text-transform: uppercase;
	text-align: center;
}

#footer b {
	color: #1b4762;
}

#footer a:hover {
	color: #97cef0;
}

#footer a {
	color: #FFFFFF;
}

#footerspy {
	width: 1000px;
	height: 10px;
	margin: 0 auto;
	padding: 3px 0 0px 0;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
}

#footerspy p {
	margin: 0;
	line-height: normal;
	font-size: 9px;
	text-transform: uppercase;
	text-align: center;
}

.wrap a[href ^="http://"]:not   ([href *="golostos.ru"]   )::after {
	content: url(../img/external.png);
}

.header {
	display: block;
	margin: 10px 10px 10px 10px;
	font: bold 18px verdana;
	color: #0076bf;
	padding: 10px 10px 10px 2px;
}

.header  a:link {
	color: #0076bf;
	text-decoration: none;
}

.header  a:visited {
	color: #0076bf;
	text-decoration: none;
}

.header  a:hover {
	color: red;
	text-decoration: none;
}