/* DanielYang.com Layout */

/* @group initialize normalize */



/* Removes list-style from lists */
ol, ul
{ list-style: none; }


/* Removes borders from tables */
table
{ border-collapse: collapse; border-spacing: 0; }

/* Removes border from fieldset and img */
fieldset, img
{ border: 0; }




/* @end */


/* BEGIN LAYOUT */

body { 
	margin: 0 auto;
	text-align: center;
	/*border: dotted 1px white;*/ 
	background-color: #000000;

	}

html { 
	text-align: center;
	height: 100%;
	}

div#wrapper {
	margin:0 auto;
	text-align:left;
	width: 1000px;
	height: 100%;	
	/*border: dotted 1px red;*/
}


/* @group Top Navigation */

div#topnav {
	background: url(../images/topnav.jpg) no-repeat 0 0;
	height: 82px;
	width: 1000px;
	/*border: dotted 1px yellow;*/
}

h1 {
	/*border: dotted 1px red;*/
	text-indent: -9999px;
	position: absolute;
	height: 50px;
	width: 225px;

	margin: 35px 50px 20px 25px;
}

div#topnav ul {
	/*border: solid 1px yellow;*/
	width: 375px;
	position: relative;
	left: 623px;
	top: 40px;

	}

div#topnav ul a {
	display: block;
	height: 16px;
	text-indent: -9999px;
	overflow: hidden;
	outline: none;
	background: url(../images/topnavsprite.png) no-repeat;
	
	
}



div#topnav li{
	float: left;
}


div#topnav li#home a{
	background-position: 0 -15px;
	width: 48px;
	
}

div#topnav li#portfolio a{
	background-position: -48px -15px;
	width: 76px;
	
}

div#topnav li#photographs a{
	background-position: -124px -15px;
	width: 105px;

	
}

div#topnav li#musings a{
	background-position: -229px -15px;
	width: 76px;

	
}
div#topnav li#about a{
	background-position: -305px -15px;
	width: 51px;

}

div#topnav li{
	float: left;
}


div#topnav li#home a:hover{
	background-position: 0px 0px;
	width: 48px;
	
}

div#topnav li#portfolio a:hover{
	background-position: -48px 0px;
	width: 76px;
	
}

div#topnav li#photographs a:hover{
	background-position: -124px 0px;
	width: 105px;

	
}

div#topnav li#musings a:hover{
	background-position: -229px 0px;
	width: 76px;

	
}



div#topnav li#about a:hover{
	background-position: -305px 0px;
	width: 51px;

}

div#topnav ul li#about a#currentpage{
	background-position: -305px 0px;
	width: 51px;

}

div#topnav ul li#portfolio a#currentpage{
	color:  #009CC9;
	background-position: -48px 0px;

	
}

div#topnav ul li#photographs a#currentpage{
	background-position: -124px 0px;
	width: 105px;

	
}



div#topnav ul li#home a#currentpage{
	color:  #009CC9;
	background-position: 0px 0px;

	
}

div#topnav ul li#musings a#currentpage{
	color:  #009CC9;
	background-position: -229px 0px;

	
}

/* @end */

/* @group Musing Layout */

div#contenthead {
	background: url(../images/musingtop.jpg) no-repeat;
	height: 28px;
}

div#contentbody {
	background: url(../images/musingmiddle.jpg);
	height: 100%;
	min-height:800px;
	float: none;

}

div#contentbody:after{
	content:'.';
	overflow:hidden;
	display: block; 
    height: 0; 
    clear: both;
}

div#contentfoot {
	background: url(../images/musingbottom.jpg) no-repeat;
	height: 37px;
	padding-bottom: 25px;
}

div#musingnav {
	width: 170px;
	left:  15px;
	position: relative;
	float: left;

}

div#musingcontent{
	width: 582px;
	padding: 0px 20px 0 20px;
	position: relative;
	float: left;
	left: 25px;

	
}

div#musingcontent img{

	margin: 20px 30px;
	float: right;
	border: 1px #000 solid;
	
}

div#contentnav img{

	margin: 10px 0 0 15px;
	border: 1px solid;
	
}

div#contentnav {
	float: right;
	left: -5px;
	width: 158px;
	position: relative;

}

div#musingcontent span.quote {
	background: url(../images/aagpull1.gif) no-repeat center;
	width: 250px;
	height: 177px;
	float: right;
	margin: 20px;
	padding: 15px ;
	border-bottom: 1px dashed #84a7ba;
	border-top:	1px dashed #84a7ba ;
}


div#contentimage{
	background: url(../images/citybg.jpg) no-repeat;
	height: 95px;
	margin: 0 -21px;
	padding-bottom: 0px;
	padding-top: 125px;
}

div#contentimagepost{
	background: url(../images/postbg.jpg) no-repeat;
	margin: 0 -21px;
	padding-bottom: 30px;
	padding-top: 125px;
}



div#relimage{
	background: url(../images/asianreligion.jpg) no-repeat;
	margin: 0 -21px;
	padding-bottom: 20px;
	padding-top: 125px;
}

div#codeimage{
	background: url(../images/code.jpg) no-repeat;
	margin: 0 -21px;
	padding-bottom: 20px;
	padding-top: 125px;
}

div#hyperreal{
	background: url(../images/hyperreal.jpg) no-repeat;
	margin: 0 -21px;
	padding-bottom: 20px;
	padding-top: 125px;
}

div#globalmarket{
	background: url(../images/globalmarket.jpg) no-repeat;
	margin: 0 -21px;
	padding-bottom: 20px;
	padding-top: 125px;
}


div#designethics{
	background: url(../images/designethics.gif) no-repeat;
	margin: 0 -21px;
	padding-bottom: 20px;
	padding-top: 125px;
}


div#featuredthoughts{
	background: url(../images/featuredthoughts.png) no-repeat;
	margin: -27px -21px;
	padding-bottom: 20px;
	padding-top: 250px;
	text-indent: -9999px;
}
div#sideup{
	height: 50%;
	width: 30px;
	position: absolute;
	left: 110%;
	top: 50%;
	background: url(../images/sideup.gif) repeat-y;

}
/* @end */

/* @group About Layout */

div#abouthead {
	background: url(../images/graytop.gif) no-repeat;
	height: 10px;
}



div#aboutcontentbody {
	background: #424242;
	height: 100%;
	min-height:800px;
	float: none;
	

}

div#aboutcontent{
	width: 582px;
	padding: 80px 20px 0 20px;
	position: relative;
	float: left;
	left: 190px;
		
}

div#aboutcontent h2{
	
	background-image: url(../images/hello.jpg) ;
	left: 200px;
	margin-left: 100px;
	height: 229px;
	width: 342px;
	overflow: hidden;
	text-indent: -9999px;
	
}

div#abouttext {
	padding-top: 50px;
}

div#aboutcontent p{
	

	color: #e9e9e9;
	font-size: 14px;
	font-family: 'trebuchet ms';
	line-height: 1.25;
	padding-bottom: 16px;
}

/* @end */

/* @group Lightbox */

#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
	
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	z-index: 10;
	}
	
#imageContainer>#hoverNav{ left: 0;}

#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(../images/lightbox/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
	
#prevLink { left: 0; float: left;}

#nextLink { right: 0; float: right;}

#prevLink:hover, #prevLink:visited:hover { background: url(http://www.danielyang.com/images/lightbox/prevlabel.gif) left 15% no-repeat; }

#nextLink:hover, #nextLink:visited:hover { background: url(http://www.danielyang.com/images/lightbox/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{
	font: 12px "Lucida Sans", "Trebuchet MS", Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;	
	min-height: 50px;
	}

#imageData{	padding:0 10px; color: #5A5A5A; }

#imageData #imageDetails{ width: 80%; float: left; text-align: left; }	

/*#imageData #caption{ font-weight: bold;	}*/

#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}	
		
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}
	



/* @end */



