/*---------------------------------------------------------------------------- 
 
  Author: Hau T. Tran (except where noted)
  Date: May 29, 2009
  URI: http://hautran.com
  Description: The CSS for the main and look and feel for my portfolio site. 
  You may learn, but do not steal :)
  
-----------------------------------------------------------------------------*/  
  
/*---------------------------------------------------------------------------- 

	Eric Meyer's Reset CSS
	http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/

---------------------------------------------------------------------------- */
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;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
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: "" "";
}


/* --------------------------- End Reset ------------------------------- */

.hidden{
	display: none;
}

body{
	background: #696 url('../images/background.png') bottom center no-repeat fixed;
	font-family: "Lucida Sans","Lucida Sans Unicode", "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	overflow-x: hidden;
	color: #333;
	padding: 0;
	margin: 0;
}

#container{
	width: 1000px;
	margin: 0 auto;
	padding: 10px;
}

#header{
	background: url('../images/logo.png') top center no-repeat;
	width: 937px;
	height: 100px;
	margin: 0px auto;
	padding: 30px 0 0 0;
}

#header p{
	font: .7em/1.5em "Lucida Sans", "Lucida Sans MS", "Lucida Grande", Helvetica, Arial, sans-serif;
	color: #666;
	text-align: right;
	margin-top: 30px;
	text-shadow: .1em .1em #FFF;
}

#header p strong{
	font-weight: bold;
	color: #036;
}

#header p .contact{
	color: #063;
	font-weight: bold;
}
h1.hidden{
	display: none;
}

#header ul{
	text-align: right;
	padding: 60px 0 0 0;
}

#header ul li{
	display: inline;
	padding: 10px;
}

#header a, #header a:link{
	text-decoration: none;
	font: bold 1em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	color: #069;
}

#header a.portfolio, #header a.portfolio:visited{
	color: #F90;
}

#header a.about, #header a.about:visited{
	color: #696;
}


#header a.contact, #header a.contact:link{
	color: #069;
}

#header a.blog, #header a.blog{
	color: #F99;
}

#header a.portfolio:hover, #header a.about:hover, #header a.blog:hover, #header a.contact:hover{
	color: #000;
}

#portfolio{
	width: 934px;
	height: 356px;
	margin: 0px auto;
	background: url('../images/portfolio_bkg.png') top center no-repeat;
	font-size: .75em;
}

#portfolio p{
	color: #666;
	margin: 0px auto;
}
#portfolio strong{
	color: #036;
	font-size: 1.25em;
}

div.piece{
	background: #333;
}

#form_box{
	width: 380px;
	color: #363; 
	font-weight: bold;
	font-size: .7em;
	line-height: 1.5em;
	padding: 0 0 1em .5em;
}

#form_box ul.checkbox li{
	color: #666;
	font-weight: normal;
}

#form_box input.input_line_style{
	background: none;
	border-color: #666;
	border-style: solid;
	border-width: 0 0 1px 0;
	margin: 0 0 10px 0;
	width: 380px;
	font: 1.25em "Courier New", Courier, monospace;
	color: #333;
}

#form_box #submitter{
	background: #696 url('../images/submit.jpg') top center no-repeat;
	width: 60px;
	height: 26px;
	border: none;
	font: 10px "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", "Trebuchet MS", Verdana, Arial, sans-serif;
	color: #FFF;
}

#form_box textarea{
	width: 380px;
	height: 60px;
	background: url('../images/textarea_bkg.png');
	border: 1px solid #CCC;
	font: 1.25em "Courier New", Courier, monospace;
	color: #333;
}

* {
	margin: 0;
}
html, body {
	height: 100%;
}
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -4em; /* the bottom margin is the negative value of the footer's height */
}
#footer, .push {
	height: 4em; /* .push must be the same height as .footer */
}


#footer{
	font-size: .7em;
	line-height: 1.5em;
	color: #FFF;
	text-align: center;
	width: 100%;
	text-shadow: .1em .1em #696;
}

#footer .icons a, #footer .icons a:link, #footer .icons a:hover{
	border: none;
	background: none;
}
#footer a, #footer a:link{
	text-decoration: none;
	color: #FFF;
	font-weight: bold;
	border-bottom: 1px dashed #FFF;
	text-shadow: .1em .1em #696;
}

#footer a:hover{
	background: #696;
	color: #FFF;
	border-bottom: 1px solid #CCC;
}

/* --------------------- Slider Styles -------------------- */

ul.navigation li{
	display: inline;

}

ul.navigation{
	padding-top: 5px;
	font-size: 1.25em;
}

ul.navigation li a:link{
	padding: 5px 10px;
	color: #069;
	text-decoration: none;
	font-weight: bold;
}

ul.navigation li a:hover{
	padding: 5px 10px;
	color: #003c5a;
	border-bottom: 3px solid #003c5a;
}

ul.navigation li a.selected{
	padding: 5px 10px;
	background: #069;
	color: #FFF;
	border-bottom: 3px solid #003c5a;
}

#slider {
  width: 850px;
  margin: 0 auto;
  position: relative;
  padding-top: 60px;
}

.scroll {
  height: 250px;
  overflow: auto;
  position: relative; /* fix for IE to respect overflow */
  clear: left;
  background: #FFF;
}

.scrollContainer div.panel {
  padding: 5px;
  height: 250px;
  background: #069;
  color: #FFF;
  width: 850px; /* change to 560px if not using JS to remove rh.scroll */
}

.scrollContainer div.panel div.piece{
	width: 163px;
	height: 225px;
	background: #EEE;
	float: left;
	margin: 5px 0 0 5px;
	font: .75em "Lucida Grande", "Lucida Sans", "Lucida Sans Unicode", "Trebuchet MS", Arial, sans-serif;
	color: #333;

}

.scrollContainer div.panel div.piece p{
	background: #EEE;
	padding: 5px;
}
.scrollContainer div.panel div.piece strong{
	color: #000;
	font-weight: bold;
	font-size: 1em;
}

.scrollButtons {
  position: absolute;
  top: 170px;
  cursor: pointer;
}

.scrollButtons.left {
  left: -30px;
}

.scrollButtons.right {
  right: -30px;
}