/* $Id: layout.css,v 1.4 2010/10/05 01:48:11 dries Exp $ */

/* ---------- Basic Layout Styles ----------- */
#page-wrapper,
#header-wrapper,
#main-menu-wrapper,
#secondary-menu-wrapper,
#sidetabs-wrapper,
#featured-wrapper {
  position: relative;
	margin: 0;
	padding: 0;
}
#bg-image{
  position: fixed;
	margin: 0;
	padding: 0;
	width: 100%;

}
#bg-image > div{
	width: 1200px;
	margin: 0 auto;
}
#header,
#main-wrapper,
#secondary-menu-links,
#featured,
#featured-action-wrapper,
#connect-wrapper,
#featured-action-wrapper,
#latest-wrapper,
#main,
#footer {
  width: 920px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
	padding: 0;
}
#header-wrapper{
	background: url(../img/bg-header.png) repeat-x 0px 0px;
	height: 80px;
	width: 100%;
	margin: 0 auto;
  position: fixed;
	z-index: 500;
}
#header-content {
	position: absolute;
	left: 500px;
	top: 0px;
	width: 620px;
	height: 70px;
}
#header-content #block-block-6 {
	height: 20px;
	width: 300px;
	margin-top: 20px;
	float: left;
}
#countboxes {
	position: absolute;
	top: -10px;
	left: 500px;
	height: 70px;
	width: 140px;
	list-style: none;
	clear: both;
}
#countboxes li{
	list-style: none;
	display: block;
	float: left;
	height: 70px;
	width: 70px;
	position: relative;
}
#likeboxes {
	position: absolute;
	top: 10px; /*0px;*/
	left: 305px;/*right: -70px;*/
	height: 60px;
	/*width: 200px;*/
	list-style: none;
	clear: both;
}
#likeboxes li{
	list-style: none;
	display: block;
	height: 30px;
	overflow: hidden;
}
#likeboxes li.fb,
#countboxes li.fb{
	z-index: 501;
	width: 55px;
	
	position: absolute;
	left: 0px;
}
#likeboxes li.tw,
#countboxes li.tw{
	z-index: 502;
	width: 80px;
	
	position: absolute;
	left: 70px;
	top: 2px;
}
#likeboxes li.tw {
  /*width: 60px;*/
  overflow: hidden;
}
#featured {
	margin-top: 30px;
/*	margin-bottom: 30px;*/
  width: 680px;
}
#connect-wrapper,
#featured-action-wrapper,
#latest-wrapper {
  width: 680px;
	background: url(../img/bg-sprite.jpg) no-repeat 0px -950px;
  clear: both;
  float: left;
  margin-left: 40px;
	padding-top: 10px;
}
#connect-wrapper {
	height: 190px;
	padding-top: 30px;
}
#featured-action-wrapper {
}
#latest-wrapper {
  /*width: 720px;  a little fatter so ie will force break at 3 items (no nth!) */
}
#header-wrapper{

}
#header {
	height: 70px;
	width: 1000px;
}
#main-wrapper {
	width: 1050px;
	top: 70px;
}
#main-menu-wrapper {
	background: url(../img/bg-sprite.jpg) no-repeat 0px 0px;
	width: 145px;
	height: 750px;
	padding: 80px 15px 0 0;
	float: left;
	text-align: right;
  position: fixed;
	top: 0px;
	z-index: 451;
}

#sidetabs-wrapper {
	background: url(../img/bg-sprite.jpg) no-repeat -160px -80px;
	width: 130px;
	height: 670px;
	margin-left: 920px;
	padding: 95px 0 0 0;
	float: left;
	position: fixed;
	top: 0px;
	z-index: 452;
}

#main {
	width: 760px;
	min-height: 770px;
	float: left;
	margin-left: 160px;
}
body.not-front #main {
	background: #FFF url(../img/bg-content.jpg) repeat-x center top;
}

body.page-actions #main,
body.page-issues #main,
body.page-media #main,
.not-front #main.landing  {
	background-color: transparent;
	background-image: none;
}
#main-inner {
	margin: 40px;
	padding: 40px;
	min-height: 635px;
	background: #fff;
}
body.not-front.node-type-landing #main #main-inner,
body.page-actions #main #main-inner,
body.page-issues #main #main-inner,
.front #main-inner,
body.page-media #main #main-inner,
.not-front #main.landing #main-inner  {
	background-color: transparent;
	background-image: none;
	margin: 40px; 
	padding: 0px;
}

#highlighted {
	width: 100%;
	clear: both;
}
#content,
#sidebar-first {
  position: relative;
	float: left
}
#content {
	padding-bottom: 40px;
}
body.page-media #content {
  width: 680px; /* fix for tile cat nav: check that this doesn't ripple badly 8? */
}
.one-sidebar #content_cols {
  width: 670px;
	margin-top: 30px;
}
.one-sidebar #content {
  width: 400px;
	margin-right: 30px;
}

.one-sidebar #sidebar-first  {
  width: 170px;
	margin-top: 10px;
}
#sidebar-first .block {
	margin-bottom: 60px;
}

#messages div.section,
#content .section,
.sidebar .section {
  /*padding: 0 15px;*/
}
#breadcrumb {
  margin: 0 15px;
}
#footer-wrapper {
  width: 670px;
	margin: 70px auto 0;
	padding: 0;
	z-index: 450;
}
#footer {
	margin: 0;
	width: 660px;
	padding: 30px 0 40px 10px;
	background: #000011 url(../img/bg-sprite.jpg) no-repeat 0px -850px;
}
#footer #block-block-9 {
	float: left;
}
#footer #block-menu-menu-footer-menu {
	float: right;
	margin: 0;
	padding: 0;
}
#fb-wrapper {
	width: 296px;
	height: 120px;
	overflow: hidden;
	background: #000;
	position: absolute;
/*	top: 12px;
	left: 12px;*/
}
#fb-wrapper #fb-inner {
	width: 292px;
	height: 120px;
	overflow: hidden;

	position: absolute;
	top: -12px;
	left: -12px;
}

