/* CSS Document */
body 
{
	background-color: white;
	padding: 0px;
	margin: 0px;
	border: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size:small;
	color:black
}

a 
{
	color: #3399ff
}

a:hover
{
	color: #00ff00
}

a:active, a.active
{
	color: #ff00cc
}

img
{
	behavior: url("css/pngbehavior.htc");
	border:0px
}

h1
{
	color: #3399ff;
	text-transform:uppercase;
	font-size:larger;
	margin:0px;
	padding:15px 0px 10px 0px
}

h2
{
	color: black;
	font-size:larger;
	margin:0px;
	padding:15px 0px 10px 0px
}

div#main
{
	width: expression(document.body.clientWidth>1000?'100%':'1000px');
	margin:0px;
	padding:0px;
	min-width:1000px;
	background-position:top center;
	background-repeat:no-repeat;
	border:0px
}

table#container
{
	width:100%;
	max-width:1300px;
	width:expression(document.body.clientWidth>1300 ? '1300px' : '100%' );
}

td#region_header
{
	height:26px;
	overflow:visible;
	width:100%;
	text-align:left
}

	
td.top_line
{
	width:20%;
	background-repeat:repeat-x;
	background-position:top
}
	
	div.home_pics
	{
		padding-right:50px
	}
	
	table.wide
	{
		width:100%;
		border:0px;
		padding:0px;
		margin:0px
	}

	#context
	{
		color:#3399ff;
		text-align:center;
		text-transform:uppercase
	}
	
	td#content
	{
		padding-left:50px;
		padding-right:50px
	}


/* разметка страницы page */	
	div#shadow
	{
		position:absolute;
		top:0px;
		left:0px;
		width:100%;
		height:100%;
		padding:0px;
		margin:0px;
		background-color:black;
		opacity:0.5;
		filter: alpha(opacity=50);
		visibility:hidden
	}
	
	div#page
	{
		position: absolute;
		width: 100%;
		top: 0px;
		left: 0px;
		padding: 50px 0px 50px 0px; 
		margin:0px;
		visibility:hidden;
		text-align:center
		
	}
	
	table#page_border
	{
		width: 80%;
		min-width:800px;
		width: expression( document.body.clientWidth < 1000 ? '800px' : '80%');
	}
	
	td#tl_corner { width:10px; height:10px; text-align:right; vertical-align:bottom }
	td#tr_corner { width:10px; height:10px; text-align:left; vertical-align:bottom }
	td#bl_corner { width:10px; height:10px; text-align:right; vertical-align:top }
	td#br_corner { width:10px; height:10px; text-align:left; vertical-align:top }
	td#tp_border 
{ 
	background-image:url(../img/page/top_line.png); 
	background-repeat:repeat-x; 
	background-position:bottom
}
	td#lt_border { background-image:url(../img/page/left_line.png); background-repeat:repeat-y }
	td#rt_border { background-image:url(../img/page/right_line.png); background-repeat:repeat-y }
	td#bm_border { background-image:url(../img/page/bottom_line.png); background-repeat:repeat-x }

	div#loading
	{
		text-align: center;
	}
	
	div#page_content
	{
		width:100%;
		color: black;
/*		padding: 10px 50px 10px 50px */
	}
	
	div#page_content img
	{
		padding: 10px
	}


div#other_city
{
	color: black;
	background-color:white;
	border:1px solid gray;
	padding: 5px 10px 5px 20px;
	margin-top:10px;
	z-index:1000
}

div#contacts
{
	float:left;
	width:320px
}

div#fuel_page
{
	padding-left:25%
}
/* Скролл с новостями */


div#news_block
{
	text-align:left;
}

div#news_block h1
{
	padding:30px 0px 15px 0px;
	color:#333333
}

table.table_news
{
	border:0px;
	padding:0px;
	margin:0px;
	vertical-align:top;
	width:100%
}

td.news_arrow
{
 	width:70px;
	vertical-align:middle
}

span#scrolling_news_next_nom, span#scrolling_news_prev_nom
{
	font-size:9px;
	color: #666666;
	position:relative;
}

div#scrolling_news
{
	height:250px;
	overflow:hidden;
}

div#scrolling_news div.block_news {height:auto;}

.scroll_button {text-align:center;clear:both;}

div#scrolling_news div h1
{
	margin:0px;
	font-size:small;
	color:black;
	text-transform:none;
	padding:0px 0px 5px 0px
}

div#scrolling_news div p
{
	margin:0px;
	padding:0px 0px 30px 0px
}

div#content
{
	padding-top:40px
}

div#main_video
{
	position:absolute;
	width:300px;
	top:630px;
	left:50px;
	height: 350px;
	text-align: center
}

p.a_winner
{
	padding-bottom:10px
}

p.a_winner a
{
}

div.question
{
	padding: 15px 0px 5px 0px;
	border-bottom: 1px solid black
}

div.question p
{
	padding: 0px 0px 10px 0px;
	margin: 0px
}

.capt
{
	text-transform:uppercase;
	font-weight:bold;
	margin: 0px;
	padding: 0px 0px 10px 0px
}

div.answer
{
	color: #3399ff;
	display: none;
	padding-top:10px
}

td.add_question_form
{
	width:250px
}

.blue_color
{
	color:#3399ff
}

.darkblue_color
{
	color:#0066CC
}

.red_color
{
	color:rgb(222, 37, 22);
}

td#context
{
	background-color:white; 
	height:27px; 
	width:740px;
	color:#333333;
	font-size:11px;
	font-weight:bold;
	text-transform:uppercase
}

td#context a
{
	color:#333333;
	font-size:11px;
	text-decoration:none
}

td#context a:hover {color: #00ff00}
td#context a:active, td#context a.active {color: #ff00cc}


div#credits_left
{
	float:right;
  padding-right:40px;
	text-align:left;
	font-size:10px;
	color:gray
}

div.auto_counter
{
	padding:0px;
	margin:0px;
	height:172px;
	width:172px;
	background:url(../pics/auto_counter/round.gif) left top no-repeat;
	text-align:center;
	vertical-align:middle;
	color:white;
	font-size:10px;
	font-weight:bold;
	overflow:hidden
}

div.auto_counter a
{
	color: #f9d26b
}

span#auto_number
{
	margin:0px;
	padding:0px;
	font-size:60px
}


div#auto_list
{
	text-align:right
}

.red 
{
	color: #de2516;
	font-weight:bold;
	font-size:12px
}

.red .small
{
	font-size: 9px
}
.red .big
{
	font-size:24px
}
tr.lined td
{
	border-bottom:1px solid #c4c4c4
}
