/* Reset */
* { margin: 0; padding: 0; }
* :link,:visited { text-decoration:none }
* ul,ol { list-style:none; }
* li { display: inline; }
* h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; }
* a img,:link img,:visited img { border:none } 
a { outline: none; }
a img, :link img, :visited img { border: none; } 

/* Typography */
body {
	font: 1em "Warnock Pro","Goudy Old Style","Palatino","Book Antiqua",Georgia,serif;
}

a:focus {
	outline: 1px dotted invert;
}

hr {
	border: 0 #918484 solid;
	border-top-width: 1px;
	clear: both;
	height: 0;
}

h1,h2,h3,h4,h5,h6 { margin-bottom: .5em; font-family: "Warnock Pro","Goudy Old Style","Palatino","Book Antiqua",Georgia,serif; }
h1 { font-size: 2.5em; color: #423c3c; margin-top: 1em; }
h2 { font-size: 1.9em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.0em; }
h6 { font-size: 0.8em; }
ol { list-style: decimal; }
ul { list-style: square; }
li { margin-left: 3.0em; display: list-item; }

p,dl,hr,ol,ul,pre,table,address,fieldset { margin-bottom: 1em; }
p { line-height: 1.5em; }

a { color: #423c3c; text-decoration: none; }
a:hover { text-decoration: underline; }

pre { font-family:"Andale Mono","Lucida Console","Bitstream Vera Sans Mono","Courier New",monospace; }
/* 
Georgia,'Times New Roman',Times,serif;
Palatino Linotype","Book Antiqua",Palatino,serif
"Warnock Pro","Goudy Old Style","Palatino","Book Antiqua",Georgia,serif

Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;

"Lucida Console",Monaco,monospace;

*/
html, body { height: 100%; margin: 0; padding: 0; }

body {
    background: #a59695 url(/img/yblogo-ul2.gif) no-repeat fixed 10px 25px;
}
body.homepage {
	background: #a59695;
}

.page-wrap .container_12 { 
	position: relative;
	width: 980px;
	paddin: 0 10px;
}

.content-wrap {
	background: #e0dcdc;
	width: 660px;
	position: relative;
	margin-left: 160px;
	overflow: hidden;
	display: inline; 
	float: left;
}
.subnav-wrap {
	float: left;
	display: inline;
	width: 160px;
	margin-top: 100px;
}

.homepage .page-wrap {
    position: relative;
	min-height: 425px;
	height: 100%;
}
.homepage .logo {
	position: absolute;
	text-align: center;
	bottom: 55%;
    left: 50%;
}
#logoyellow, #logobutton, #logoslogan { position: absolute; }
	
#logoyellow { width: 436px; height:121px; top: 0; left: 22px; }
#logobutton { width: 445px; height:105px; bottom: 0; right: 16px; }
#logoslogan { width: 380px; height:40px; }

.homepage #logoyellow { top: -132px; left: -285px; }
.homepage #logobutton { top: -47px; left: -160px; }
.homepage #logoslogan { top: 92px; left: -173px;}

.pageheading {
	position: absolute;
	top: 95px;
	right: 2px;
	margin: 0;
	position: absolute;
	background: red;
	height: 0;
	overflow: hidden;
	padding-top: 300px;
	width: 150px;
}
#heading-portfolio {
	background: transparent url(/img/heading-portfolio.png) no-repeat left top;
}

.nav-wrap {
	background: #746564 url(/img/yblogo-ul.gif) no-repeat fixed 10px 25px;
}

.nav-wrap h1 {
	float: left;
	margin: 0;
}
.nav-wrap h1 a {
	display:block;
	height: 0;
    overflow: hidden;
	width: 160px;
	padding-top: 108px;
}

.contentbox {
	margin: 0 20px;
	width: 620px;
	position:relative;
}
.pagecontentbottom {
	background: #e6e3e3;
	border: 3px solid #423c3c;
	border-top: none;
	margin: -3px 320px 0 0;
	overflow: hidden;
	padding: 0 17px 17px 17px;
	height: 43px;
    font-size: .9em;
	color: #918484;
	text-align:center;
}
.pagecontentbottom a {
    color: #918484;
}

.homepage .pagebottom {
	background: #746564;
    position: absolute;
	bottom: 0;
	width: 100%;
}

ul#mainnav {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin: 0 0 0 0;
	width: 140px;
	position: absolute;
	top: 151px;
	left: 10px;
	z-index: 10;
}
#mainnav li {
	font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
	font-size: 1.1em;
    text-align: center;
	margin: 0;
	display:inline;
}
#mainnav li a {
	display: block;
	padding: .5em;
	color: #918484;
}
#mainnav li a:hover, #mainnav li a.selected {
    background: url(/img/nav-item-selected-bar.gif) no-repeat right center;
	color: #423c3c;
	text-decoration: none;
}


ul#nav {
	float: right;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	width: 480px;
	margin: 0;
}
.homepage .pagebottom ul#nav {
	float: none;
	margin: 0 auto;
}
#nav li {
	font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
	font-size: 1.1em;
	float: left;
    text-align: center;
	margin: 0;
	width: 160px;
}
* #nav li {
	display:inline;
}
#nav li a {
	display: block;
	padding: 70px 20px 20px 20px;
	color: #e6e3e3;
}
.homepage #nav li a {
	padding: 20px 20px 70px 20px;
}

#nav li a:hover {
    background: #423c3c;
	text-decoration: none;
}
.footer {
	font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
	background: #423c3c;
	text-align: center;
	color: #e6e3e3;
	padding: 1em;
	font-size: .8em;
}
.footer a { color: #fff; }

.caption {
    font-style: italic;
	text-align: right;
	margin-bottom: 1em;
	font-size: .8em;
}

/* forms from http://designinfluences.com/fluid960gs/960/ layout.css */
form {
	overflow:hidden;
	font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
}
fieldset {
  border: 1px solid #423C3C;
  padding:10px;
  position:relative;
  background:#a59695;
  margin-bottom:10px;
}
legend {
  padding:.4em .8em;
  background: #a59695;
}

.portfoliotile {
	margin: 0 0 1.5em 0;
}

.portfoliosection {
	margin: 0 20px 1.5em 20px;
	min-height: 180px;
}

.JS #portfolio {
	overflow: hidden;
	margin: 0;
}

.JS .portfoliowrap {
	margin: 0 auto;
}

/* Hide if JS is available */
.JS .portfoliotile,
.JS .portfoliosection,
.JS .portfoliosection h2,
.JS #logoyellow,
.JS #logobutton,
.JS #logoslogan { display: none }

.featurebox {
	/*min-height: 150px;*/
}
.sectionnav {
	zoom: 1; /* IE7 semi-transparent pixels issue */
}
.portfoliobtn:focus, .portfoliobtn:active {
	outline: none; /* prevents dotted outline in IE8 */
}


.portfoliobtn {
	display: block;
	margin: 0;
	zoom: 1; /* IE7 semi-transparent pixels issue */
	cursor: pointer;
}
.portfoliobtn img {
	width: 120px;
	height: 130px;
	margin: 11px 10px;
}

.portfoliobtn:hover img,
.portfoliobtn.selected img {
	width: 140px;
	height: 152px;
	margin: 0;
}

.ui-effects-transfer { border: 2px dotted #666;  }

#feature {
	margin-top: 1em;
}

ul.subnav {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	margin: 0;
	width: 140px;
}
.subnav li {
	font-family: Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
	font-size: 1.0em;
	margin: 0;
}

.subnav li a {
	display: block;
	padding: 10px 15px;
	color: #746564;
	cursor: pointer;
}
.subnav li a:hover,
.subnav li a.selected {
	background: url(/img/subnav-item-selected-bar.gif) no-repeat left center;
	color: #423c3c;
	text-decoration: none;
}

div#zoom a {
	color: #423c3c;
}

img.bordered {
	border: 1px solid #000;
}
.imgleft { 
	float: left;
	margin: 0 10px 10px 0;
}
.imgright { 
	float: right;
	margin: 0 0 10px 10px;
}
.small {
	font-size: .8em;
}
.hide {
	display: none;
}
.clear {
	margin: 0;
	border: 0;
}

/* fix for fancyzoom box in IE */
.tl, .tm, .tr, .ml, .mm, .mr, .bl, .bm, .br {
	overflow: auto;
}

.portfoliobtn {
	width: 140px;
	height: 152px;
}