html {
	overflow-y: scroll;
}

body {
	margin: 0px;
	padding: 0px;
	font-family: 'lucida grande', 'lucida sans unicode', 'lucida sans', arial, sans-serif;
	background: white;
}

.cb {clear: both;}

.w900 {
	position: relative;
	display: block;
	width: 900px;
	margin: 0 auto;
	z-index: 10;
}

	#page {
		min-height: 700px;
		color: rgb(90,90,90);
		font-size: 13px;
		line-height: 20px;
	}
	
		#page ul#menu {
			position: relative;
			display: block;
			height: 75px;
			padding: 75px 0 0 0;
			margin: 0px;
		}
		
		#page ul#menu li {
			position: relative;
			float: left;
			display: block;
		}
		
		#page ul#menu li a {
			position: relative;
			display: block;
			min-width: 120px;
			height: 40px;
			line-height: 40px;
			text-align: center;
			text-decoration: none;
			color: rgb(0,106,128);
			text-shadow: rgb(255,255,255) 1px 1px 1px;
			font-size: 20px;
			z-index: 19;
		}
		
		#page ul#menu li.home a {
			width: 150px;
			height: 80px;
			text-indent: -3000px;
			margin: -40px 85px 0 45px;
			background: url('footer.png') no-repeat 0 0;
			z-index: 21;
		}
		
		#page div#content {
			float: left;
			width: 550px;
			margin: 0 30px 0 0;
		}
		
			h1 {
				
				line-height: 40px;
				color: rgb(0,85,102);
				text-shadow: rgb(134,186,196) 1px 1px 1px;
				font-size: 24px;
				font-weight: normal;
			}

		#page div#sidebar {
			float: left;
			width: 220px;
			margin: 30px 10px 0px 10px;
			padding: 30px 30px 0px 30px;
			min-height: 400px;
			background: url('sidebar.png') no-repeat left top;
		}

	#overlay {
		position: absolute;
		top: -185px;
		width: 100%;
		margin-bottom: 20px;
		height: 200px;
		background: black;
		/*opacity: 0.9;*/
		z-index: 20;
		background: url('overlay.png') repeat-x left bottom;
	}
	
	#overlay div.w900{
		height: 100%;
	}
		#portofoliu {
			height: 160px;
			overflow: hidden;
		}
			#portofoliu .one {
				display: block;
				width: 300px;
				height: 80px;
				float: left;
			}
			#portofoliu a {
				font-size: 13px;
				line-height: 16px;
				text-decoration: none;
				color: rgb(217,249,255);
				text-shadow: rgb(13,108,128) -1px -1px 1px;
			}
			#portofoliu a:hover {
				text-decoration: underline;
			}
			#portofoliu h3 {
				font-size: 18px;
				line-height: 20px;
				margin-bottom: 3px;
				text-decoration: none;
				font-weight: bold;
				color: rgb(217,249,255);
				text-shadow: rgb(13,108,128) -1px -1px 1px;
				letter-spacing:-1px;
			}

		#social {
			position: absolute;
			left: 590px;
			bottom: -30px;
			padding: 0px 10px 10px 10px;
			width: 260px;
			height: 30px;
			background: url('overlay.png') repeat-x left top;
		}
		
		#rss, #facebook, #twitter {
			position: relative;
			display: block;
			float: left;
			width:24px;
			height: 24px;
			margin: 3px 8px 0px 8px;
			background: url('overlay.png') repeat-x 0 -40px;
			text-indent: -3000px;
		}
		#facebook {
			margin-left: 0px;
			background: url('overlay.png') repeat-x -30px -40px;
		}
		#twitter {
			margin-left: 0px;
			background: url('overlay.png') repeat-x -60px -40px;
		}
		#slideTop, #close {
			position: relative;
			display: block;
			float: right;
			height: 28px;
			line-height: 28px;
			font-size: 14px;
			margin: 0px 10px;
			color: rgb(217,249,255);
			text-shadow: rgb(19,163,191) -1px -1px 1px;
			text-decoration: none;
		}
		#close {
			position: absolute;
			top: 0px;
			right: 40px;
			width: 120px;
			text-align: right;
			font-size: 12px;
		}
		#slideTop:hover, #close:hover {
			color: white;
			text-decoration: underline;
		}
		span.arrow {
			display: block;
			float: left;
			margin: 0px 10px;
			font-size: 24px;
			font-weight: bold;
			text-decoration: none;
		}
		#close span.arrow {
			font-size: 20px;
			line-height: 20px;
			float: right;
			margin-left: 5px;
		}
		#slideTop:hover span.arrow, #close:hover span.arrow{
			text-decoration: none;
		}
		
	
	#footer {
		position: relative;
		bottom: 0;
		background: rgb(110,110,110) url('footer.png') repeat-x 0px -110px;
		color: rgb(50,50,50);
		overflow: hidden;
	}
	
		#footer a, #footer li {
			font-size: 13px;
			line-height: 19px;
			color: rgb(50,50,50);
			text-decoration: none;
			text-shadow: rgb(140,140,140) 1px 1px 1px;
		}
		#footer a:hover {
			color: rgb(60,60,60);
			text-decoration: underline;
			text-shadow: rgb(140,140,140) 1px 1px 1px;
		}
		
		#footer a#logoBC, #footer a#logoCT, #footer a#logoOM {
			position: absolute;
			left: -15px;
			top: -15px;
			width: 134px;
			height: 110px;
			/*text-indent: -3000px;*/
			text-align: center;
			background: url('footer.png') no-repeat -150px 0px;
		}
		#footer a#logoCT {
			left: 295px;
			top: 26px;
			width: 182px;
			height: 107px;
			background-position: -290px 0px;
		}
		#footer a#logoOM {
			left: 500px;
			top: 25px;
			width: 179px;
			height: 109px;
			background-position: -480px 0px;
		}
		
		#footer ul {
			list-style-type: none;
			padding: 0;
		}
		
		#footer ul li.title{
			font-weight: bold;
			font-size: 18px;
			line-height: 44px;
		}
		
		#footer ul#proiecte {
			float: left;
			margin-left: 100px
		}
		#footer ul#contact {
			float: right;
			text-align: right;
		}


#bg {
	position: absolute;
	display: block;
	top: 0px;
	left: 0px;
	width: 100%;
	min-width: 900px;
	height: 700px;
	z-index: -1;
}

hr {
	margin: 30px 0;
	border: none;
	border-bottom: 1px dashed rgb(0,106,128);
}

a {
	color: rgb(0,106,128);
}

a img {
	border: 0;
}


#slide-show 					{position: relative; width: 550px; height: 300px; margin-bottom: 20px; overflow: hidden;}
#slide-show IMG				{position: absolute; top:0; left:0; z-index:8; width: 550px;}
#slide-show IMG.active		{z-index: 10;}
#slide-show IMG.last-active	{z-index: 9;}