* {
	margin: 0;
	padding: 0;
}
body {
	font-family:Tahoma, Arial, Verdana, sans-serif;
	width: 100%;
	font-size:16px;
}

a:hover {
	text-decoration: none;
}
/* Begin of styles for the demonstration (you can remove them) */
a.expand {
	width: 150px;
	display: block;
	margin: 10px 0 0;
}
/*a.expand:hover {
	height: 500px;
}
 End of of styles for the demonstration */
p {
	margin: 0 0 18px;
	color:#333;
	font-size:14px;
}
img {
	border: none;
}
input {
	font-family: Tahoma;
	font-size: 16px;
	font-weight: normal;
	font-style: normal;
	color: #000;
	overflow: visible;
}
#wrapper {
	width: 1000px;
	margin: 0 auto;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 700px;
	position:relative;
}
#flash{
	margin:0 5px;
}
#menu{
	width:900px;
	height:140px;
	margin:-30px 50px 0;
}
#bar{
	width:900px;
	height:84px;
	background:url("img/nav.png") no-repeat;
}
#navig{
	width:900px;
	height:60px;
	background:#a3a3a3;
}
#navig ul{
	list-style:none;
	margin-left:15px;
}
#navig li{
	display:inline-block;
	width:120px;
	height:60px;
	line-height:52px;
}
#navig li a{
	display:block;
	width:120px;
	height:60px;
	line-height:52px;
	text-align:center;
	text-decoration:none;
	text-transform:uppercase;
	color:#fff;
	font-size:16px;
}
#navig li a:hover, .activenavig{
	background:url("img/a_hover.jpg") no-repeat;
}
#logo{
	width:376px;
	height:171px;
	position:absolute;
	top:350px;
	left:50px;
}
#autorize{
	width:280px;
	height:100px;
	position:absolute;
	top:420px;
	left:480px;
}
#autorize input{
	width:150px;
	height:22px;
	border:#333 solid 1px;
}
.enter{
	background:none;
	width:40px;
	border:none;
	text-decoration:underline;
}
/* Middle
-----------------------------------------------------------------------------*/
#middle {
	border-left: 300px solid #fff;
	border-right: 300px solid #fff;
	height: 1%;
	position: relative;
	padding-top:30px;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
	margin-right: -100%;
}
#content {
	padding: 0 40px;
	width:240px;
}
#content img{
	width:100px;
	height:auto;
	float:left;
	margin-right:5px;
}
.top{
	padding-top:20px;
	margin-bottom:-20px;
	font-size:18px;
	display:block;
}
div.img{
}

div.img .top {	padding-top: 0;
}

hr{
	margin-bottom:20px;
	width:90%;
}
.search{
	margin-top:40px;
	position:relative;
}
.search_vodila{
	border:#939393 solid 1px;
	margin-top:-20px;
	width:200px;
	padding-right:30px;
}
.pict{
	width:15px;
	height:8px;
	background:url("img/search.jpg") no-repeat;
	position:relative;
	bottom:40px;
	left:210px;
}
.search_button {
	display:none;
}

/*~~~~~~> styled form elements */

.artof-select {
	position:				absolute;
	width:					155px;
	height:					24px;
	line-height:			24px;
	padding:				0 25px 0 10px;
	border:					1px solid #999;
	background:				url(img/search.jpg) no-repeat 95% 50%;
	overflow:				hidden;
}

select.styled {
	margin:					4px 0 0 0;
}

/*~~~~~~> END styled form elements */
/* Sidebar Left
-----------------------------------------------------------------------------*/
#sideLeft {
	float: left;
	width: 250px;
	position: relative;
	left: -250px;
}

.orange{
	color:#ff9900;
}
.red1{
	color:#cc0000;
}
.red{
	color:#ff0000;
}
.gray{
	color:#999;
}
.small{
	font-size:12px;
}
.bold{
	font-weight:bold;
}
.upper{
	text-transform:uppercase;
	font-size:14px;
}
.right{
	text-align:right;
	display:block;
}
.blocks{
	margin-bottom:30px;
}
dl{
	margin-bottom:20px;
}
dt{
	float:left;
	color:#cc0000;
	font-weight:bold;
}
dd{
	margin-left:20px;
}
/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
	float: right;
	margin-right: -250px;
	width: 250px;
	position: relative;
}
.px18{
	font-size:18px;
}
.px14{
	font-size:14px;
}
.black{
	color:#000;
}
.marg_right{
	margin-right:20px;
}
/* Footer
-----------------------------------------------------------------------------*/
#footer {
	height: 100px;
	width:840px;
	margin-left:80px;
	background:url("img/footer.jpg") no-repeat;
	position:relative;
	z-index:5;
}
#footer_abs{
	width:100%;
	height:70px;
	background:url("img/footer-right.jpg") repeat-x;
	margin-top:-70px;
	position:absolute;
	z-index:-5;
}
#foot_left{
	height:70px;
	width:50%;
	float:left;
	background:url("img/footer-left.jpg") repeat-x;
}
#copyright{
	height:45px;
	width:370px;
	position:absolute;
	left:360px;
	bottom:0px;
}
.white{
	color:#fff;
}
#bottom-menu{
	height:20px;
	width:500px;
	position:absolute;
	top:-20px;
	left:170px;
}
#bottom-menu a{
	text-decoration:none;
}
.smaller{
	font-size:10px;
}
.color333{
	color:#333;
}
#bottom-menu a.active, #coment_nav a.active{
	text-decoration:underline;
	color:#ff9900;
}
#main{
	padding:60px 20px 40px;
}
#first{
	height:210px;
}
#first,#first1, #tarif{
	width:860px;
	margin-left:50px;
}
#first-top{
	width:858px;
	height:60px;
	background:#a3a3a3;
	border:1px solid black;
}
#first-top div,#first-bottom div{
	float: left;
	width:50%;
}
#first-top div img{
	width:199px;
	height:147px;
	margin:10px;
	float: left;
	border:1px solid black;
}
#first-top div p{
	margin:10px 0 0 220px;
}
#first-bottom div p{
	margin:-80px 0 0 220px;
}
#second{
	margin-left:50px;
	width:860px;
}
#second p{
	margin:0px 10px 30px;
}
#second ul{
	margin-top:-20px;
	list-style-position:inside;
}
#coment, #coment-form{
	padding:0 20px 0 45px;
}
#coment p{
	margin-top:20px;
}
#coment img{
	float: left;
	margin:-20px 120px 20px 20px;
}
#coment hr{
	width:100%;
}
#coment_nav{
	text-align:center;
	padding:20px 0;
}
#coment_nav a{
	font-size:12px;
	color:#333;
	text-decoration:none;
}
.yellow{
	color:#333300;
}
#coment-form form{
	text-align:center;
	margin-top:40px;
}
#coment-form form input{
	width:250px;
}
#coment-form form textarea{
	width:250px;
	height:100px;
	margin-left:50px;
}
#coment-form p, #form-left p,#form-right p,#form-bottom p{
	margin-bottom:10px;
}
#coment-form div{
	width:170px;
	margin-left:290px;
}
#coment-form div img{
	border:none;
	width:15px;
	height:15px;
}
#coment-form button{
	background:none;
	border:none;
	text-align: right;
	margin:0 0 10px 220px;
	text-decoration:underline;
}
#first1 form{
	margin:10px 0;
}
#form-left,#form-right{
	text-align:right;
}
#form-left{
	width:420px;
	float: left;
	margin:0 0 0 0px;
	padding-right:10px;
}
#form-left input,#form-right input{
	width:220px;
	color:red;
	background:url(img/search.jpg) no-repeat 200px 5px;
}
#form-right{
	width:340px;
	float: right;
	padding-right:90px;
}
#form-bottom{
	width:680px;
	margin:0 0 0 70px;
	padding:0 0 0 50px;
}
#form-bottom textarea{
	width:560px;
	height:100px;
	vertical-align:top;
}
#form-bottom button{
	border:none;
	background:none;
	margin:0 0 10px 550px;
}
.left{
	float: left;
	width:380px;
}
.left img{
	float: left;
	margin:20px;
}

.left1{
	float: left;
	width:380px;
}

.anti_left{	border-left: 1px solid black;
	margin-left:30px;
	margin-top:10px;
	padding-left:15px;
	padding-top:0px;}

#second .left1 p{
	padding-left:75px;
	margin:10px;
}
.instructor{
	width:100%;
	clear:both;
	margin:20px 0 30px;
	padding-bottom:30px;
}
.instructor div p{
	padding:10px 0 0;
}
/*страница тарифов*/
#tarif{
	height:400px;
}
#tarif table{
	margin:30px 0 0 170px;
}
#tarif td{
	padding:5px 10px;
}
#tarif hr{
	border:1px solid #999;
	width:100%;
	margin-bottom:-10px;

}
#bank{
	width:439px;
	height:40px;
	background:url("img/bank.jpg") no-repeat;
	margin:120px 0 0 250px;
}
#bank ul{
	list-style:none;
}
#bank li{
	display:inline-block;
	height:40px;
}
#sber{
	width:200px;
}
#bank a{
	height:40px;
	display:block;
	text-indent:-10000px;
}
#yand{
	width:100px;
}
#webm{
	width:120px;
}
/*страница новостей*/
#first1{
	clear:both;
}
#categories{
	width:300px;
	float: left;
}
#categories ul{
	list-style:none;
	margin:40px 0 0 40px;
}
#categories div{
	margin-bottom:90px;
}
#news{
	width:560px;
	margin-left:300px;
}
#news img{
	width:71px;
	height:72px;
	border:1px solid black;
	float: left;
	margin:5px;
}
#news div{
	margin:0 0 20px 20px;
}
#clear{
	clear: both;
}
.gray1{
	color:#333;
}
.margin40px{
	margin-bottom:40px;
}
/*страница форума*/
#forum form{
	margin:0 0 0 100px;
}
#forum form span{
	vertical-align:top;
}
#forum textarea{
	width:480px;
	height:80px;
}
#forum button{
	border:none;
	background:none;
	text-decoration:underline;
}
div.question{
	padding:0 100px 0 100px;
	margin-bottom:65px;
}
div.question hr{
	width:90%;
	color:#333300;
}
div.question dd{
	margin-left:63px;
}
/*страница контактов*/
#bank1{

	height:40px;
	margin:120px 0 0 150px;
}
#article{
	margin:40px 0 0 0;
}
#article img{
	width:350px;
	height:250px;
	float: left;
	margin:10px;
}

/*----------------------------------- Registration form ----------------------*/
div.regform
{
	padding: 20px 0px 20px 100px;
	border: 1px dotted;
	margin: 10px auto;
	width: 400px;
}

div.regform input
{
	width: 200px;
	border: solid 1px #AAA;
}

div.regform input#captcha
{
	width: 65px;
	margin-left: 5px;
	vertical-align: top;
}

div.regform input#reg_submit
{
	width: 170px;
	margin-left: 25px;
}

div#reg_done
{
	display: none;
	color: green;
	border-color: green;
}

/*------------ nonews ------------------*/
div.nonews
{
	text-align: center;
	margin: 20px 0px;
	padding: 15px;
	font-size: 14px;
	border-bottom: 1px dashed #ccc;
	border-top: 1px dashed #ccc;
}


/*----------------------------- Advert form ----------------------------------*/
div.advform
{
	padding: 20px 0px 20px 100px;
	border: 1px dotted;
	margin: 10px 30px 10px 50px;
	width: 75%;
}

div.advform input,
div.advform textarea

{
	width: 80%;
	border: solid 1px #AAA;
}

div.advform input.checkbox
{
	width: auto;
	height: auto;
	border: 0px;
}

div.advform input.radio
{
	width: auto;
	height: auto;
	border: 0px;
}

div.advform input.file
{
	width: 120px !important;
	margin-bottom: 5px;
}

div.advform input#reg_submit
{
	width: 150px;
}

div.advform textarea#adv_text
{
	width: 80%;
	height: 300px;
}

div.locationcontainer
{
	height: 300px;
	overflow: auto;
	width: 95%;
	border: 1px dotted red;
	padding-left: 10px;
}

div.locationlist
{
	font-size: 10px;
	margin-top: 20px;
}

div.locationlist a.selectall
{
	float: right;
	margin-right: 15px;
}

div.locationlist div
{
	float: left;
	width: 160px;
	border-bottom: 1px dashed;
	padding: 3px 0px;
	white-space: nowrap;
}

div.locationlist span
{
	font-size: 11px;
	font-weight: bold;
	margin: 5px 0px;
	display: block;
}

/*------------------------------ My Adverts ----------------------------------*/
table.myadverts
{
	width: 95%;
	margin: 20px auto;
	border-collapse: collapse;
	border: 0px;
	font-size: 11px;
}

table.myadverts th,
table.myadverts td
{
	border: 1px solid black;
	text-align: center;
	padding: 3px;
}

table.myadverts th
{
	font-size: 12px;
	background-color: #cccccc;
}

table.myadverts td.title
{
	font-size: 12px;
}

table.myadverts .pays
{
	width: 15%;
}

table.myadverts .date
{
	width: 10%;
}
