* {
	margin: 0;
	padding: 0;
}
html {height: 100%}
body {
	font: 14px Georgia, Tahoma, Verdana, sans-serif;
	width: 100%;
	height: 100%;
	background: url(images/bg.jpg) repeat;
	color: #5d5d5d;
}
a {
	color: #444444;
	outline: none;
}
a:hover {
	color: #1c9bfc;
}
p {margin: 0 0 18px;
}
img {
	border: none;
}

input {vertical-align: middle}

h1 {
	font-size: 26px;
	margin: 0 0 10px 0;
	font-weight: normal;
}

h2 {
	font-size: 23px;
	margin: 0 0 10px 0;
	font-weight: normal;
}

h3 {
	font-size: 20px;
	margin: 0 0 10px 0;
	font-weight: normal;
}

#wrapper {
	width: 990px;
	margin: 70px auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	/*background: url(images/wrapper.jpg) repeat-y;*/
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 134px;
	background: url(images/header.jpg) top center no-repeat;
}

#logo {
	float: left;
	width: 418px;
	height: 85px;
	background: url(images/logo.png) top center no-repeat;
	behavior: url(http://1vashadvokat.ru/iepngfix.htc);
	}

#priem {
	float: right;
	padding: 15px 50px 0 0;
	min-height: 80px;
	_height: 80px;
}

#priem a {
	text-decoration: underline;
	font-size: 16px;
}

#priem a:hover {
	text-decoration: none;
}

.sub {
	font-size: 12px;
}	
	
#contacts {
	float: right;
	padding: 15px 50px 0 0;
	min-height: 80px;
	_height: 80px;
}

#contacts a {
	text-decoration: underline;
	font-size: 16px;
}

#contacts a:hover {
	text-decoration: none;
}

.address {
	font-size: 12px;
}

.phone {
	font-size: 25px;
}

/* Middle
-----------------------------------------------------------------------------*/
#center{
	width: 990px;
	background: url(images/wrapper.jpg) repeat-y;
}

#leftcol {
	width: 248px;
	float: left;
}

#menu {
}

#rightcol {
	width: 742px;
	float: left;
}

.clear {
	clear: both;
	font-size: 1px;
}

#mainmenu {
	padding: 0 0 20px 0;
}

#mainmenu ul{
	list-style-type: none;
}
#mainmenu ul ul {
	display: none;
	margin-left: 20px;
}
#mainmenu ul ul.open {
	display: block;
}
#mainmenu ul ul li {
	font-size: 0.8em;
	min-height: 0.8em;
	_height: 0.8em;
}

#mainmenu ul ul li a.current{
	display: block;
	padding: 0 0 0 40px;
	background: none;
	text-decoration: none;
	color: #1c9bfc;
}

#mainmenu ul ul li a:hover{
	background: none;
}

#mainmenu ul li{
	display: block;
	padding: 8px 0 0 0;
	font-size: 17px;
	min-height: 21px;
	_height: 21px;
}

#mainmenu ul li a{
	display: block;
	padding: 0 0 0 40px;
	text-decoration: none;
}

#mainmenu ul li a:hover{
	display: block;
	padding: 0 0 0 40px;
	background: url(images/li.gif) top left no-repeat;
	text-decoration: none;
}

#mainmenu ul li a.current{
	display: block;
	padding: 0 0 0 40px;
	background: url(images/li.gif) top left no-repeat;
	text-decoration: none;
}

#secmenu {
	margin: 0 0 0 40px;
}

#secmenu ul {
	padding: 0 0 0 0px;
	list-style-type: none;
}
	
#secmenu ul li{
	font-size: 17px;
	padding: 5px 0px;
}

#secmenu ul li a{
	text-decoration: none;
}

#calendar {
	margin: 40px 0 0 40px;
}
/*	
#calendar table{
	border: #555 1px solid;
}
*/

#calendar table {
	border-width: 1px;
	border-spacing: 0px;
	border-style: solid;
	border-color: #aaa;
	border-collapse: separate;
	text-align: right;
}
#calendar table th {
	border-width: 1px;
	padding: 2px;
	border-style: solid;
	border-color: #aaa;
	font-weight: normal;
}
#calendar table td {
	border-width: 1px;
	padding: 3px;
	border-style: solid;
	border-color: #aaa;
}


#thrdmenu {
	padding: 20px 0 0 40px;
}

#thrdmenu ul {
	padding: 0 0 0 15px;
	list-style-type: none;
}
	
#thrdmenu ul li{
	font-size: 14px;
}

#thrdmenu ul li a{
	text-decoration: none;
}

#content {
	padding: 0 30px 0 30px;
	
}

#cfooter {
	background: url(images/cfooter.jpg) top center no-repeat;
	clear: both;
	height: 230px;
}

#contacts1 {
	float: left;
	padding: 175px 0 0 50px;
}

#c1 {
	float: left;
	}
	
#c2 {
	float: left;
	padding: 0 0 0 15px;
	}

#copyright {
	float: right;
	padding: 180px 10px 0 0;
}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	width: 100%;
	margin: -74px auto 0;
	/*padding: 40px 0 0 0;*/
	height: 74px;
	background: url(images/shadow.png) bottom repeat-x;
	behavior: url(http://1vashadvokat.ru/iepngfix.htc);
	clear: both;
}
.newslogo {
	float: left;
	margin: 0 10px 5px 0;
}
