html, body, form
{
margin: 0 auto;
padding: 0;
position: relative;
width:100%;
}

html
{
height:100%;
}

body
{
height:auto !important;
height:100%;
min-height:100%;
}

/*Font*/
body{
font-size: 80%;
font-family: Tahoma, Verdana, Helvetica, sans-serif;
color: #454545;
background:#c3c3c3;
/*text-align: center;*/
}

/*Font in table*/
table
{
font-size:100%;
}

/*Links*/
a:link {color: #2775C7;}
a:visited{color:#8FA4BA;}
a:active {color: #2775C;}
a:hover{color:#CF1C3E;}


small
{
font-size:85%;
}

hr
{
	width:100%;
	height: 1px;
	border: medium none;
	color: #d1d0d0;
	background-color: #d1d0d0;
	margin:8px 0;
}

#container
{
width:100%; 
height:100%;
margin: 0 auto;
background-position: top;
background-repeat: no-repeat;
position: relative;
}

#header
{
width: 987px;
margin: 0  auto;
position:relative; 
height: 357px;
box-sizing:border-box;
-moz-box-sizing:border-box;
}


#search
{
color:#Black;
position:absolute;
left:12px;
top:300px;
text-align: left;
}


#login{
position:absolute;
right:12px;
top:300px;
color:#Black;
text-align:right;
}
#login a{
color:Black;
text-decoration:none;
}
#login a:hover{
color:Red;
}
#login a.profile-link{
text-decoration:underline;
color:Red;
}
#login a.profile-link:hover{
text-decoration:underline;
color:Black;
}

#menu
{
border-top:solid 2px #878787;
padding:0 2px 5px 2px;
vertical-align:top;
background-image: url(images/main_bg.gif);
background-repeat: repeat-y;
}


#header_menu a
{
	display:block;
	float:left;
	cursor:pointer; cursor: hand;
	padding:8px 11px;
}

#header_sites
{
	position:absolute;
	right:55px;
	top: 60px;
	color:#fff;
	text-align:right;
}

#header_sites a, #header_sites span
{
	color:#fff;
	text-decoration:none;
}

#header_sites span
{
	color: #bbb;
}


#navigation
{

}

/*Navigation*/
#navigation a
{
	font-size:95%;
	text-decoration:none;
	color:#535353;
}

.table-border-color
{
	background-color:#96B485;
}


/* Нижняя навигация */

.footer-box
{
padding:5px 0 15px 0;
}

.footer-box a:link, 
.footer-box a:visited,
.footer-box a:active, 
.footer-box a:hover
{
color:#5F7185;
}

.footer-box span
{
font-weight:bold;
color:#1B3552;
}



/*Content table*/
#content
{
width: 987px;
margin: 0 auto;
border-collapse: collapse;
}

/*Main column*/
#main-column{
width:957px;
padding:0 15px 30px 15px;
vertical-align:top;
background-image: url(images/main_bg.gif);
background-repeat: repeat-y;
position:relative;
}

#bottom_banner_left
{
float:left;
width:468px;
padding: 15px 10px 15px 0;
position:relative;
}

#bottom_banner_right
{
float:right;
width:468px;
padding: 15px 0 15px 10px;
position:relative;
}

/*Footer*/
#footer
{
	background: #E4E4E4;
	text-align:right;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	height:40px;
	padding:8px;
	
}

/*Link in footer*/
#footer a
{
	color: #333;
	font-size: 100%;
}

/
/*Data table*/
table.data-table
{
	border:1px solid #C4C4C3;
	border-collapse:collapse;
}

/*Any cell*/
table.data-table td
{
	border:1px solid #C4C4C3;
	background-color:#FFFFFF;
	color:#333;
	padding:3px 5px;
}

/*Head cell*/
table.data-table thead td, table.data-table th
{
background-color:red;
background-image:none;
border:3px solid red;
color:white;
font-weight:normal;
padding:4px;
text-align:center;
}

/*Body cell*/
table.data-table tbody td
{
	background-color:#FFF;
	background-image:none;
	color:#333;
}

/*Foot cell*/
table.data-table tfoot td
{
	background-color:#fff;
	padding:4px;
	color:#333;
}

/*Error & OK messages*/
.errortext
{
	color:red;
}

.notetext
{
	color:green;
}

/* Used to draw a "star" near reqired field */
.starrequired
{
color:red;
}

/* social network*/
div.socnet-informer {padding:3px;}
div#sonet_events_ms_message {width:140px;}
table.sonet-user-profile-friend-box tbody td, table.sonet-user-profile-friend-box td
{
padding:5px 0px;
}

/* Поиск */
span.se{
border-bottom: dashed 1px;
cursor: pointer; 
}
input#q{
width: 450px;
}
#search_examle{
text-aligne:left;
}

/* Основная таблица */
.basetable{

}
.basetable td{
vertical-align:top;
}

/* Авторские блоги */

.autorblog{
background-image: url(images/autortit.gif);
background-repeat: no-repeat;
overflow: hidden;
width: 250px;
padding: 0;
}

/* Фото дня */
#photodaygallery{
background-image: url(images/fotodaytit.gif);
background-repeat: no-repeat;
overflow: hidden;
width: 200px;
height: 199px;
}
.photoday{
padding: 35px 15px 10px 15px;
}

/* Блок сервисов */

#serviblock{
width: 507px;
}

#services{
background-image: url(images/servicetit.gif);
background-repeat: no-repeat;
margin: 0 15px;
padding: 35px 0 10px 0;
}

/* Meta bottom */
#metabottom{
width:987px; 
height:168px;
margin:0;
background: url(images/metabott_bg.jpg);
background-repeat: no-repeat;
overflow: hidden;
padding:0;
vertical-align: top;
}
.copyright{
width: 590px;
margin: 45px 0 0 25px;
border-top: solid 1px #757575;
font-family: Tahoma;
font-size: 11px;
padding: 25px 0 0 0;
}
.bottomblock{
text-align: center;
padding: 10px 0 15px 0;
}

#alarm{
left:372px;
position:absolute;
top:419px;
width:250px;
z-index:1000;
}

.separate{
height:10px;
overflow:hidden;
}


/* Достопримечательности */
#dostoprim{
position: absolute;
top: 5px;
left: 0;
}
#dostoprim a{
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11pt;
background-color: White;
padding: 2px 5px;
text-decoration: none;
color: Black;
margin-top: 5px;
position: relative;

}
#dostoprim a:hover{
border-bottom: dotted 1px;
color: #FF9900;
}
/* Баннеры */
.verbigban{
margin: 0;
padding: 5px 0;
}

/* Допнавигация */
a.razdtitnav{
display:block;
height:23px;
margin-bottom:15px;
width:162px;
}
a.razdtitnav span{
display:none;
}