/*****************************/
/*        PAGE LAYOUT        */
/*                           */

/*
/* This file containes styles for main layout blocks.
/* Sub-elements described in "elements.css"
 */

html {
	height: 100%;
}
html body {
	height: 100%;
	background: #9fcadf url(/img/bg_main.png) 50% 0 repeat-y;
}

#wrapper {
	height: 100%;
	text-align: center;
	background: transparent url(/img/bg_main_top.jpg) 50% 0 no-repeat;
	min-width: 1004px;
}
* html #wrapper {
	width: expression(document.getElementById('super-wrapper-inner').clientWidth < 1005 ? "1004px" : "100%");
}

#sub-wrapper {
	text-align: left;
	width: 1004px;
	min-height: 100%;
	margin: 0 auto;
	position: relative;
	background: transparent url(/img/bg_content_bottom_short.jpg) 0 100% no-repeat;
}
#index #sub-wrapper {
	background: transparent url(/img/bg_content_bottom.jpg) 0 100% no-repeat;
}
* html #sub-wrapper {
	height: 100%;
}



#header {
	height: 310px;
	position: relative;
    overflow: visible;
    z-index: 20;
}
	#head-caption {
		display: block;
		position: absolute;
		top: 27px;
		left: 187px;
	}
	
	#header #phones {
		position: absolute;
		right: 30px;
		bottom: 50px;
		width: 160px;
		text-align: right;
		font-family: Georgia, serif;
		font-size: 18px;
		line-height: 20px;
		font-weight: normal;
		color: #09455f;
	}
	#header #phones .phone-code {
		font-size: 14px;
		color: #ffffff;
	}




#main {
	position: relative;
    z-index: 30;
	float: left; 
	padding: 0;
	margin: 0;
	width: 100%;
}
#sub-main {
	width: 100%;
	float: left;
	zoom: 1;
	padding: 0 0 30px 0;
}



	#main #side-bar {
		float: left;
		width: 180px;
		padding: 0;
		margin: -210px 0 0 50px;
		position: relative;
		z-index: 20;
		overflow: visible;
	}
	* html #main #side-bar {
		display: inline;
	}
	
		ul#navig-main {
			font-size: 15px;
			font-family: Georgia;
			font-style: oblique;
			list-style: none;
			margin: 0 0 30px 0;
			width: 180px;
		}
			ul#navig-main li {
				margin: 0;
				padding: 0 0;
				position: relative;
				font-weight: bold;
			}
			* html ul#navig-main li {
				behavior:url("/js/csshover.htc");  
			}
			ul#navig-main li:hover {
				background: transparent url(/img/bg_navig_fall.png) 0 0 repeat;
			}
				ul#navig-main > li > a {
					display: block;
					padding: 5px 0 5px 16px;
					background: transparent url(/img/bull_navig_fall.png) 2px 15px no-repeat;
				}
				ul#navig-main > li:hover > a {
					display: block;
					padding: 5px 0 5px 16px;
					background: transparent url(/img/bull_navig_fall.png) 2px -83px no-repeat;
					color: #92729f;
				}
				ul#navig-main ul {
					display: none;
					
					position: absolute;
					left: 100%;
					top: 0;
					background: transparent url(/img/bg_navig_fall2.png) 0 0 repeat;
					margin: 0;
					padding: 0;
					list-style: none;
				}
				ul#navig-main li:hover ul {
					display: block;
					padding: 0px 15px 2px 5px;
					font-size: 12px;
				}
					ul#navig-main ul li {
						font-weight: normal;
						white-space: nowrap;
						padding: 4px 0 7px 20px;
						margin: 0 0 0 0;
						background: transparent url(/img/bg_navig_sub_li.png) 0 0 no-repeat;
					}
					ul#navig-main ul li:hover {
						background: transparent url(/img/bg_navig_sub_li_active.png) 0 0 no-repeat;
					}
					ul#navig-main ul li.first {
						background: transparent none;
					}
					ul#navig-main ul li.first:hover {
						background: transparent url(/img/bg_navig_sub_li_first_active.png) 0 0 no-repeat;
					}
					
		#side-bar ul.links {
			margin: 0 0 30px 0;
			padding: 0;
			list-style: none;
			
			font-family: Tahoma;
			font-size: 11px;
		}
			#side-bar ul.links li {
			}
			#side-bar ul.links a {
				color: #0c9fcc;
			}
			#side-bar ul.links a:hover {
				color: #cc0c9f;
			}
					
		#side-bar ul.menu {
			margin: 0 0 30px 0;
			padding: 0;
			list-style: none;
			
			font-style: oblique;
		}
			#side-bar ul.menu li {
			}
			#side-bar ul.menu a {
			}
			#side-bar ul.menu a:hover {
			}

		
		#side-bar p.caption {
			padding: 0 0 0 10px;
			margin: 0 0 10px 0;
			font-size: 18px;
			font-family: Georgia, serif;
			
			font-weight: bold;
		}
		#side-bar p.caption a {
			text-decoration: none;
		}
		
		#side-bar ul#fleet-vehicles {
			margin: 0 0 30px 0;
			padding: 0;
			list-style: none;
		}
		#side-bar ul#fleet-vehicles li.fleet-image {
			padding: 0;
			margin: 0 0 6px 0;
		}
		#side-bar ul#fleet-vehicles li a {
			display: block;
			width: 128px;
			height: 43px;
			overflow-y: hidden;
			position: relative;
		}
		#side-bar ul#fleet-vehicles li img {
			display: block;
			position: relative;
			top: 0;
		}
		#side-bar ul#fleet-vehicles li.active img,
		#side-bar ul#fleet-vehicles li.current img,
		#side-bar ul#fleet-vehicles li a:hover img {
			position: relative;
			top: -43px;
		}
		#side-bar ul#fleet-vehicles li:hover {
			border-right: 1px solid #ffffff; /* fixes IE6/7 bug - they igrnore a:hover img construction */
		}
		* html #side-bar ul#fleet-vehicles li img {
			behavior:url("/js/csshover.htc");  
		}
			#side-bar ul#fleet-vehicles li ul {
			}
				#side-bar ul#fleet-vehicles li ul li {
					height: auto;
					overflow: visible;
					margin: 0;
					padding: 0 0 3px 0;
				}
				#side-bar ul#fleet-vehicles li ul a {
					display: inline;
					width; auto;
					height: auto;
				}

		
		#side-bar .info {
			padding: 0;
			margin: 0 0 30px 0;
		}






	#main #content {
		width: 724px;
		float: left;
		margin: 0 0 0 20px;
		padding: 0;
		min-height: 200px;
		z-index: 10;
	}
	* html #main #content {
		height: 200px;
		display: inline; /* fix for double-margin bug */
	}
	
		#content .horizontal-menu {
			width: 724px;
			overflow-y: hidden;
			overflow-x: visible;
			zoom: 1;
			margin: 0;
			padding: 0;
			list-style: none;
			position: relative;
			top: -10px;
		}
			#content .horizontal-menu li {
				font-weight: bold;
				font-style: normal;
				font-size: 11px;
				white-space: nowrap;
				float: left;
				margin: 0 13px 0 0;
				padding: 0;
			}
			* html #content .horizontal-menu li {
				display: inline;
			}


	
	


#reserve {
	height: 150px;
	/* border-right: 1px solid #e8ecef;  prevents IE7 from shrinkin this block to 0px height */
	clear: both;
}
#index #reserve {
	height: 250px;
}

#footer {
	float: none;
	clear: both;
	text-align: center;
	padding: 0;
	margin: -150px 0 0 0;
	height: 150px;
	min-width: 1004px;
	position: relative;
	background: transparent url(/img/bg_footer_shadows.png) 50% -100px no-repeat;
}
#index #footer {
	margin: -250px 0 0 0;
	height: 250px;
}
* html #footer {
	width: expression(document.getElementById('super-wrapper-inner').clientWidth < 1005 ? "1004px" : "100%");
}
#footer-inner {
	width: 1004px;
	text-align: left;
	margin: 0 auto;
	position: relative;
	top: 30px;
}
	#footer-info {
		width: 724px;
		position: absolute;
		left: 250px;
		top: 70px;
		text-align: center;
	}
	
	#footer .counters {
		width: 230px;
		text-align: center;
		padding-top: 60px;
		overflow-y: hidden;
	}
	
	#index #footer .counters {
		padding-top: 0px;
		height: 215px;
	}
	
	#footer div {
		display: inline-block !important;
	}

