/* naderakoury.com BlueOrange Style
 * Design by Nader Akoury
 */

/* General Structure */

	body {
		line-height:1.2;
		min-width: 610px;
		background: #fff url("../images/body_back.gif") repeat-x;
	}

	body, td, th, input { /* redundant rules for bad browsers  */
		font-family: verdana, sans-serif;
		font-size: x-small;
		font-size: small;
	}

	h1 { font-size: 160%; font-weight: normal; }
	h2 { font-size: 150%; font-weight: normal; }
	h3 { font-size: 120%; }
	h4 { font-size: 100%; }
	h5 { font-size: 90%; }
	h6 { font-size: 90%; border: 0; }

	h1, h2, h3, h4, h5, h6 {
		margin: 1em 0 0.2em 0;
		font-family: arial, verdana, sans-serif;
	}

	li h1, li h2, li h3, li h4, li h5, li h6 {
		border: none;
	}

	hr {
		height: 1px;
		background-color: #000;
		color: #000;
		margin: 2em 0;
	}

/* Named Structure */

	#container {
		margin: 0 auto;
		max-width: 70em;
		/* Ugly IE Hack to emulate max-width */
		/* This does not seem to be working at the moment. */
		/* _width: expression(document.body.clientWidth > (500/12) * parseInt(document.body.currentStyle.fontSize)?  "70em": "auto" ); */
	}
	
	#mainbody {
		clear: both;
		padding: 0 0 1em 0;
	}

	#contents {
		float: right;
		width: 75%;
		margin-bottom: 1em;
		background: #fff;
		line-height: 1.3; /* value other than 'normal' needed for WinIE */
		color: #000;
	}

	#contents.nomenu {
		float: none;
		width: 100%;
	}

	#contents.right {
		float: left;
		width: 62%;
	}

	.bodyleft {
		float: right !important;
		width: 75% !important;
	}
	
/* Header */

	#header {
		background: #005FCA url("../images/header_bl.gif") bottom left no-repeat;
		position: relative;
		min-height: 60px;
		max-height: 100px;
		height: 5em;
		padding: 18px 0;
		margin-bottom: 1em;
	} #ignored {}
	
	#header h1 {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		border: 0;
		font-size: 2px;
		background: url("../images/header_tl.gif") no-repeat;
		height: 8px;
		z-index: 100; /* above the UL */
	}

	#header h1 a {
		display: block;
		width: 299px;
		height: 100px;
		background: transparent url("../images/header_logo.gif") no-repeat;
		text-indent: -700em;
		text-decoration: none;
	} 

	#header ul {
		width: auto;
		position: absolute;
		bottom: 0;
		right: 0;
		margin: 0;
		padding: 0 15px 0 0;
		list-style: none;
		background: url("../images/header_br.gif") no-repeat bottom right;
		z-index: 90; /* below the H1 */
	}

	#header li {
		float: right;
		background: transparent url("../images/header_tab.gif") 100% -600px no-repeat;
		padding: 0 6px 0 0;
		margin: 0 1px 0 0;
		display: inline;
		white-space: nowrap;
	}

	#header ul a {
		float: left;
		display: block;
		padding: 4px 4px 4px 10px;
		background: transparent url("../images/header_tab.gif") 0% -600px no-repeat;
		font-weight: bold;
		color: #fff;
		text-decoration: none;
	}

	#header ul li:hover a { background-position: 0% -400px; }
	#header ul li:hover { background-position: 100% -400px; }
	
	body.sectionHome li#menu_home a,
	body.sectionPersonal li#menu_personal a,
	body.sectionTeam li#menu_team a,
	body.sectionResume li#menu_resume a {
		background-position: 0% -200px;
		color: #039;
	}
	
	body.sectionHome li#menu_home,
	body.sectionPersonal li#menu_personal,
	body.sectionTeam li#menu_team,
	body.sectionResume li#menu_resume {
		background-position: 100% -200px;
	}
	
	body.sectionHome li#menu_home:hover,
	body.sectionPersonal li#menu_personal:hover,
	body.sectionTeam li#menu_team:hover,
	body.sectionResume li#menu_resume:hover {
		background-position: 100% 0%;
	}
	
	body.sectionHome li#menu_home:hover a,
	body.sectionPersonal li#menu_personal:hover a,
	body.sectionTeam li#menu_team:hover a,
	body.sectionResume li#menu_resume:hover a {
		background-position: 0% 0%;
		color: #333;
	}

	#header h2 {
		position: absolute;
		top: 0;
		right: 0;
		padding: 12px 20px 0 0;
		background: url("../images/header_tr.gif") no-repeat top right;
		margin: 0; /* need for IE Mac */
		text-align: right; /* need for IE Mac */
		white-space: nowrap; /* for Opera */
	}


/* Footer */

	#footer {
		border-top: 1px solid #999;
		margin: 2em 0;
		padding: 1em 0;
		text-align: center;
		margin-top: 1em;
		clear: both
	}
	
	#footer ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	
	#footer li {
		display: inline;
	}
	
	#footer a {
		white-space: nowrap;
	}
	
	#footer p,#footer p a {
		color: #666;
	}
	
	#footer p a:hover {
		color: #000;
	}

	#footer p span {
		padding-right: 1em;
	}

/* Tweaks */

	hr.hide {
		display: none;
	}

/* Featured Content */

	.featured-content > h1:first-child,
	.featured-content > h2:first-child,
	.featured-content > h3:first-child,
	.featured-content > h4:first-child,
	.featured-content > h5:first-child,
	.featured-content > h6:first-child {
		margin-top: 0;
	}

	.featured-content:before {
		line-height: 0.1;
		font-size: 1px;
		background: transparent url("../images/featured-content_tr.gif") no-repeat top right;
		margin: -15px -15px 0 -15px;
		height: 15px;
		display: block;
		border: none;
		content: url("../images/featured-content_tl.gif");
	}

	.featured-content {
		background: #e4ecec url("../images/featured-content_back.gif") right repeat-y;
		padding: 15px;
		margin-bottom: 1em;
	}

	.featured-content:after {
		display: block;
		clear: both;
		padding-top: 15px;
		line-height: 0.1;
		font-size: 1px;
		content:  url("../images/featured-content_bl.gif");
		margin: -15px;
		height: 8px;
		background: transparent url("../images/featured-content_br.gif") scroll no-repeat bottom right ;
	}
	
	.featured-content h2, .featured-content h3, .featured-content h4, .featured-content h5 {
		border: none;
		margin-top: 0;
		color: #4C5C5C;
	}


/* Project List */

	.projectlist {
		margin: 0;
		padding: 5px 0 125px 5px; /* This assumes thumbnails are 240 x 180 */
	}
	
	.projectlist li {
		margin-left: 0;
		list-style: none;
		padding: 0 0 1em 0;
	}
	
	.projectlist h3 {
		border: none;
		margin: 0;
	}
	
	.projectlist img {
		float: left;
		margin: 0 0.5em 0 0;
		border: 2px solid #EAAC2F;
	}

	.projecttitle {
		color: blue;
		position: relative;
		font-size: large;
		font-family: verdana, sans-serif;
	}

	.projectlist a:active {
		color: #EAAC2F;
	}
	
/* Navigation */

 	:link, :visited, :link:hover, :visited:hover { color: blue; }
 	:link:active, :link:active { color: #EAAC2F; }


/*Based On: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

	#gallery{
		width: 100%;
		margin: 10px;
		position: relative;
	}

	.thumbnail img{
		float: left;
		border: 2px solid #EAAC2F;
		margin: 10px 10px 10px 10px;
	}

	.thumbnail:active img{
		border: 1px solid blue;
	}

	.thumbnail:active {
		background-color: transparent;
	}

	.thumbnail span{ /*CSS for enlarged image*/
		color: white;
		padding: 5px;
		left: -2000px;
		display: inline;
		font-weight: bold;
		position: absolute;
		text-align: center;
		visibility: hidden;
		text-decoration: none;
		border: 1px dashed blue;
		background-color: #EAAC2F;
	}

	.thumbnail span img{ /*CSS for enlarged image*/
		padding: 2px;
		border-width: 0;
	}

	.thumbnail:active span{ /*CSS for enlarged image*/
		top: 0;
		left: 0;
		z-index: 50;
		visibility: visible;
	}


/* Downloads */

	#download {
		margin: 0 0 10px;
		padding: 0 0 5px;
	}

	#download h1 {
		font-size: 100%;
		font-weight: bold;
		text-align: left;
	}

	#download a:active {
		color: #EAAC2F;
	}

	#download a, a:hover {
		color: blue;
	}

	#download a, #download a:hover, #download a:active {
		font-weight: bold;
		text-decoration: none;
		border: 1px dashed #EAAC2F;
	}


/* Splash */

	.splash p {
		display: block;
		text-align: center;
	}

	.splash a img {
		display: block;
		margin-left: auto;
		margin-right: auto;
		border: 3px solid #EAAC2F;
	}


/* Resume */

	.resume {
		color: #3f4646;
	}

	.resume-section {
		padding-top: 1em;
		border-bottom: 1px solid #EAAC2F;
	}
