
/* 
 * Core structure
 **********************************************/

html{
	height: 100%;
	background: #bfbfbf;
}

body {
	background: #bfbfbf url(../ui/tile-main.gif) repeat-y center top;
	text-align: center;
	height: 100%;
}

#wrapper {
	background: #fff;
	width: 970px;
	margin: 0 auto;
	text-align: left;
	position: relative;
	min-height: 100%;
}

#container {
	min-height: 100%;
	position: absolute;
	width: 970px;
	min-height: 100%;
	background: #303030 url(../ui/temp-home-background.jpg) no-repeat;
}

#header {
	background: url(../ui/temp-header.jpg);
	height: 283px;
	position: relative;
}

#header.home,
#header.contact {
	height: 0;
	position: relative;
	background: none;
	z-index: 1;
}


#logo {
	position: absolute;
	top: 17px;
	left: 35px;
}

#logo a {
	width: 245px;
	height: 51px;
	display: block;
	background: url(../ui/logo.png) no-repeat;
	text-indent: -999em;
	overflow: hidden;
}

#content {
	padding: 40px;
	padding-bottom: 190px;
	position: relative;
	background: #fff url(../ui/tile-gradient.jpg) repeat-x bottom left;
	min-height: 400px;
}

#content.home,
#content.contact {
	background: transparent;
	min-height: 611px;
}


/* 
 * generic classes
 **********************************************/

.accessibility {
	height: 0;
	width: 0;
	overflow: hidden;
	position: absolute;
}



/* 
 * Links
 **********************************************/

a {
	text-decoration: none;
	color: #414141;
}

a:link {
	
}

a:visited {
	
}

a:hover {
	
}

a:active {
	color: #000;
}

div.actions p.link-action {
	float: right;
}

div.actions p.link-cancel {
	margin-top: 25px;
	float: left;
}

p.link-action {
	text-align: right;
	font-size: 138.5%;
}

p.link-action a:hover,
p.link-cancel a:hover  {
	color: #eba313;
}

/* 
 * Navigation primary
 **********************************************/

#nav-primary {
	position: absolute;
	top: 20px;
	right: 30px;
	width: 320px;
}

#nav-primary li {
	float: left;
}

#nav-primary li a {
	display: block;
	background: url(../ui/navigation.png) no-repeat 0 -5px;
	text-indent: -999em;
	height: 26px;
	width: 100px;
	overflow: hidden;
}

#nav-primary li a:hover {
	background-position: 0 -40px;
}

#nav-primary li.item-1 a {
	background-position: 0 -4px;
	width: 100px;
}

#nav-primary li.item-1 a:hover,
#nav-primary li.item-1.active a {
	background-position: 0 -39px;
}

#nav-primary li.item-2 a {
	background-position: 0 -74px;
	width: 110px;
}

#nav-primary li.item-2 a:hover,
#nav-primary li.item-2.active a {
	background-position: 0 -109px;
}

#nav-primary li.item-3 a {
	background-position: 0 -145px;
	width: 110px;
}

#nav-primary li.item-3 a:hover,
#nav-primary li.item-3.active a {
	background-position: 0 -179px;
}

#nav-primary li.item-4 a {
	background-position: 0 -215px;
}

#nav-primary li.item-4 a:hover,
#nav-primary li.item-4.active a {
	background-position: 0 -249px;
}



/* 
 * Navigation secondary
 **********************************************/

#nav-secondary {
	position: absolute;
	bottom: 0;
	right: 40px;
}

#nav-secondary li {
	float: left;
	display: inline-block;
	margin-left: 2px;
}

#nav-secondary li a {
	background: #f0f1f0 url(../ui/tile-tab.gif) repeat-x left bottom;
	padding: 7px 28px 8px 28px;
	display: block;
	font-weight: 700;
	margin-top: 2px;
	width: 50px;
	text-align: center;
	font-size: 85%;
}

#nav-secondary li.active a,
#nav-secondary li a:hover {
	margin-top: 0;
	background: #fff;
	padding-top: 9px;
}

#nav-secondary li a:hover {
	color: #3d3d3d;
}


/* 
 * Typography
 *********************************************

Sizes - px %

10 	77
11 	85
12 	93 
13 	100
14 	108 
15 	116 
16 	123.1 
17 	131 
18 	138.5 
19 	146.5 
20 	153.9 
21 	161.6 
22 	167
23 	174
24 	182
25 	189
26 	197
30  230

*/


#content p {
	line-height: 1.5;
}

h1, 
.h1,
.panel-info ul.list-meta {
	letter-spacing: -0.05em;
}

.panel-info {
	padding-left: 460px;
	min-height: 200px;
}

.panel-info h1 {
	font-size: 370%;
	color: #4f4f4f;
	line-height: 1.1;
}

.panel-info h1.offset {
	margin-left: -75px;
}


.panel-info ul.list-meta {
	color: #b2b1b1;
	font-size: 182%;
	margin: 0.2em 0 1em 0;
}

.panel-info ul.list-meta li {
	line-height: 1.1;
}

.panel-info p {
	color: #8b8b8b;
	margin: 1em 0;
}

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}


/* 
 * Secondary content
 **********************************************/

#feature {
	position: absolute;
	left: 40px;
	top: -165px;
}

#feature.home {
	position: absolute;
	left: 40px;
	top: 100px;
}

#feature.small {
	width: 357px;
	height: 300px;
}

#feature.big {
	width: 421px;
}

#feature .header {
	height: 19px;
}

#feature.small .header {
	background: url(../ui/feature-small-top.png) no-repeat;
}

#feature.big .header {
	background: url(../ui/feature-big-top.png) no-repeat;
}

#feature .content {
	padding: 5px 20px;
}

#feature.small .content {
	background: url(../ui/feature-small-middle.png);
	padding: 5px 28px;
	min-height: 317px;
}

#feature.big .content {
	background: url(../ui/feature-big-middle.png);
	min-height: 317px;
}

#feature .footer {
	height: 19px;
}

#feature.small .footer {
	background: url(../ui/feature-small-bottom.png) no-repeat;
}

#feature.big .footer {
	background: url(../ui/feature-big-bottom.png) no-repeat;
}

#feature p.h1 {
	font-size: 182%;
	color: #4f4f4f;
	margin: 0 0 0.6em 0;
}

#feature p.h1 span {
	font-size: 145%;
	line-height: 1em;
	display: block;
	color: #b2b1b1;
}

#feature.home h1.h1 {
	font-size: 275%;
	color: #4f4f4f;
	margin: 0.8em 0 0.6em 0;
}

#feature p {
	margin: 1em 0;
	color: #8b8b8b;
}


/* content entries */

#content-entries {
	margin: 2.5em 0 0 0;
}

#content-entries ul li {
	width: 203px;
	float: left;
	min-height: 150px;
	margin-bottom: 40px;
	margin-right: 26px;
}

#content-entries ul li.last {
	margin-right: 0;
}

#content-entries ul li .header,
#content-entries ul li .footer {
	height: 12px;
	width: 100%;
}

#content-entries ul li .content {
	background: url(../ui/item-block-middle.png);
	min-height: 200px;
	padding: 0 12px;
}

#content-entries ul li .header {
	background: url(../ui/item-block-top.png) no-repeat;
}

#content-entries ul li .footer {
	background: url(../ui/item-block-bottom.png) no-repeat;
}

#content-entries ul li h3 {
	margin: 1em 0 0.3em 0;
	font-weight: 700;
}

#content-entries ul li p {
	color: #888;
}


*, body {margin: 0; padding: 0;} 

/*#content {display: block; margin-bottom: 3em;} */

#footer {
	position: absolute;
	display: block;
	bottom: 0;
	min-height: 100px;
	width: 890px;
	left: 0;
	background: #303030; 
	padding: 20px 40px;
}

#footer .column {
	float: left;
	width: 235px;
	padding-right: 60px;
}

#footer .column,
#footer .column a {
	color: #635e58;
}

#footer .column a {
	color: #938a80;
}

#footer .column a:hover {
	color: #938a80;
	text-decoration: underline;
}

#footer .column h3 {
	font-weight: bold;
	color: #938a80;
	padding-bottom: 5px;
	border-bottom: 1px solid #393939;
}

#footer .column p,
#footer .column ul {
	margin: 1em 0;
}

#footer .column ul li {
	list-style: disc;
	margin: 0.1em 1.2em;
}

#footer .column.twitter {
	background: url(../ui/twitter.gif) no-repeat right 20px;
}


/* 
 * Clearing
 **********************************************/

.clear:after {
	content: ".";
	display: block;
	height: 0;
	line-height: 0;
	clear: both;
	visibility: hidden;
}


