/* RESET 
 * Attempting to normalize all the browsers 
 * */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	}
:focus {
	outline: 0;
	}
body {
	line-height: 1;
	color: black;
	background: white;
	}
ol, ul {
	list-style: none;
	}
table {
	border-collapse: separate;
	border-spacing: 0;
	}
caption, th, td {
	text-align: left;
	font-weight: normal;
	}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
	}
blockquote, q {
	quotes: "" "";
	}
* {
	margin:0;
	padding:0;
	}
	
img {
border-style:none;
}

/* END RESET
 * */
 

/* HELPER Classes
 * For quick use of common styles
 * */
 
.floatleft {float:left;}
.floatright {float: right;}
.mini { font-size:80%;}
.whiteonblack {color:#ffffff; background-color:#000000; padding:3px;}
.whiteongray {color:#ffffff; background-color:#666666; padding:3px;}
.whiteoncolor {color:#ffffff; padding:3px;}
.coloronwhite {background-color:#ffffff; padding:1px; line-height:1.2em;}
/* see color_.css for .whiteoncolor, .coloronwhite color, background-color */
.none {display:none;}
.hidden {visibility:hidden;}

/* END RESET
 * */
 
/* LAYOUT
 * Define a twoCol layout. One large container( container ). Two floating columns ( c1, c2)
 *
 * */

#hM {
	width: 800px;
	height:100%;
	margin: 15% auto 0 auto;
	text-align:center;
}
v
#M {
	height:55px;
	margin: 3em auto 0 5em;
	}
	
#content {
	width:90%;
	height:100%;
	margin: 2em auto 0 auto;
	}

#content div.tileContainer {
	padding: 2em 0 4em 0;
	float:right;
	}

#content div.tile {
	width: 250px;
	height: 250px;
	margin: 10px 10px 10px 10px;
	float:left;
	line-height: 1.3em;
	/* see color_.css for background-color: */
	}

#content div.doubletile	{
	width: 520px;
	height: 250px;
	margin: 10px 10px 10px 10px;
	float:left;
	line-height: 1.3em;
	/* see color_.css for background-color: */
	 }

#content div.doubletile div.col {
    width:250px;
    height:250ox;
}

/* TYPE
 * Helvetica Neue, Arial. Nice and Big.
 *
 * */

body {
	font-family: "Helvetica Neue", Helvetica, Arial;
	/* see color_.css for background-color: */
	color:#fff;
}

a {color:#fff;
text-decoration:none;}
a:hover {color:#000;}

#content div.header {
	width:100%;
	clear:both;
	font-size:3em;
	color:#000000;
	text-align:right;
	font-weight:800;
	}

#content div.subheader {
	width: 100%;
	font-size:2em;
	font-weight:800;
	text-align:right;
	}
	
#about #content div.tile {
	padding:.5em;
	font-size:1.5em;
	font-weight:800;
	}
	

#content div.tile .title, #content div.doubletile .title{
	font-size:1.5em;
	font-weight:800;
	display:block;
	padding: .5em;
	background-color:#000;
	filter: alpha(opacity=80);
	-moz-opacity:.8;
	opacity:.8;
	}
	
#content div.tile .des, #content div.doubletile .des {
	font-size:1em;
	padding: .5em;
	filter: alpha(opacity=80);
	-moz-opacity:.8;
	opacity:.8;
	background-color:#000;
	display:block;
	}
	
#content .tileContainer a:hover {
	/* see color_.css for color: */
	}

	
#photos #content div.doubletile .title {
	 font-size:2.5em;
}

#content div.tileNav .title {
	 font-size:3em;
	 background:none;
	 line-height:1.3em;
}

#content a div.tileNav {
	/* see color_.css for color: */
	 }

#content a:hover div.tileNav {
	 color:#fff;
	 }

#work #content div.other a {
      display:block;
      padding: .5em;
      }

#work #content div.other a:hover{
      color:#333;
      background-color:#fff;
      } 

#photos #content  div.tile span.metadata {
	display:block;
	padding: .5em 0 0 1.3em;
}

#photos #content div.photo {
	border: 10px solid #fff;
	width: 230px;
	height: 230px;
	background-position: -10px -10px;
	}

#photos #content div.photo:hover {
	border: 0px solid #fff;
	width: 250px;
	height: 250px;
	background-position: 0px 0px;
	}

#blog .entry {
      color:#fff;
      text-align:right;
      padding-top: 3em;
      }

#blog .date {
      font-size:3em;
      display:block;
      color:#ccc;
      font-weight:600;
      padding: 5px;
}

#blog .entry .title {
      font-size: 3em;
      font-weight: 600;
      display:block;
      padding: 5px;
}

#blog .text {
      font-size: 1.8em;
      color:#f0f0f0;
      padding-top: .5em;
      padding-left: 1em;
      line-height:1.2em;
      text-align: right;
      font-weight:400;
      display:block;
      padding: 5px;
}


/* Public Files */

#public #content .tileContainer .tile {
        height:200px;
        width:200px;
}

#public #content .tileContainer .doubletile {
        height:200px;
        width:420px;
}

#public #content .tileContainer span.bigBg {
font-size:5em;
float:right;
padding-top:50px;
   color:#fff;
   filter: alpha(opacity=20);
   -moz-opacity:.2;
   opacity:.2;

}

#public #content .tileContainer a:hover div {
background-color:#000;
}


	
/* Index HomeMenu Links
 * L work  I resume  Y blog  A about  N contact
 *
 */

#hM div {
float:left;
}
 
#hM div#hM_l {
width:213px;
height:388px;
background: url("l.png") no-repeat;
}

#hM div#hM_l:hover{
background: url("lh.png");
}

#hM div#hM_i {
width:113px;
height:388px;
background: url("i.png") no-repeat;
}

#hM div#hM_i:hover{
background: url("ih.png");
}

#hM div#hM_y {
width:169px;
height:388px;
background: url("y.png") no-repeat;
}

#hM div#hM_y:hover{
background: url("yh.png");
}

#hM div#hM_a {
width:155px;
height:388px;
background: url("a.png") no-repeat;
}

#hM div#hM_a:hover{
background: url("ah.png");
}

#hM div#hM_n {
width:128px;
height:388px;
background: url("n.png") no-repeat;
}

#hM div#hM_n:hover{
background: url("nh.png");
}


/* The sitewide header.
 * Menu. liyanchang work resume blog about contact
 *
 */

#M {
margin:3em;
}
 
#M div {
float:left;
margin: 0 1em 0 0;
}

#M div#M_liyanchang {
width:243px;
height:55px;
margin-left:1em;
margin-top:-1em;
background: url("liyanchang.png") no-repeat;
}

#M div#M_liyanchang:hover{
background: url("liyanchangh.png");
}
 
#M div#M_work {
width:56px;
height:22px;
background: url("work.png") no-repeat;
}

#M div#M_work:hover{
background: url("workh.png");
}

#M div#M_resume {
width:79px;
height:22px;
background: url("resume.png") no-repeat;
}

#M div#M_resume:hover{
background: url("resumeh.png");
}

#M div#M_blog {
width:58px;
height:22px;
background: url("blog.png") no-repeat;
}

#M div#M_blog:hover{
background: url("blogh.png");
}

#M div#M_about {
width:65px;
height:22px;
background: url("about.png") no-repeat;
}

#M div#M_about:hover{
background: url("abouth.png");
}

#M div#M_contact {
width:77px;
height:22px;
background: url("contact.png") no-repeat;
}

#M div#M_contact:hover{
background: url("contacth.png");
}
