#wrapper {
	min-width: 980px;
	background: url(/media/images/layout/page_bg-left.png) repeat-y top left;
	width: 98%;
}

* html #wrapper {
	background: url(/media/images/layout/page_bg-left-solid.png) repeat-y top left;
}

#wrapper-two {
	background: url(/media/images/layout/page_bg-right.png) repeat-y top right;
}

#wrapper-three {
	background: white;
	margin: 0 10px;
}

#userbar, 
#header {
	margin: 0;
}

#pagecontent {
	margin: 0 6px;
}

#footer {
	width: 98%;
	min-width: 980px;
	height: auto;
	margin: 0 auto;
	padding: 0;
	background: transparent;
	text-align: center;
	position: relative;
}

#footer-content {
	position: absolute;
	top: 40px;
	left: 0;
	right: 0;
	width: 100%;
	margin-right: -100%;
}

#footer-left {
	background: url(/media/images/layout/footer-left.png) no-repeat top left;
	height: 98px;
}

#footer-middle {
	background: url(/media/images/layout/footer-middle.png) repeat-x top left;
	margin: 0 300px 0 32px;
	height: 98px;
}

#footer-right {
	background: url(/media/images/layout/footer-right.png) no-repeat top right;
	height: 98px;
	width: 100%;
}

#footer-content p.last {
	max-width: 100%;
}

.col-full {
	width: 100%;
}

.box-three-third,
.box-two-third{
	width: 100%;
	background: transparent;
}

.col-two-third .box-two-third{
	width: auto;
	margin-right: 316px;
}

/* Hacks */
*:first-child+html .col-two-third .box-two-third{
	width: 100%;
} 

* html .col-two-third .box-two-third{
	width: 100%;
}

/* ---- */

.box-three-third .heading,
.box-two-third .heading,
.box-third .heading {
	background: url(/media/images/layout/box-head-middle.png) repeat-x;
	height: auto;
	padding: 0;
}

.box-three-third .heading .heading-left,
.box-two-third .heading .heading-left,
.box-third .heading .heading-left{
	background: url(/media/images/layout/box-head-left.png) no-repeat top left;
}

.box-three-third .heading .heading-right,
.box-two-third .heading .heading-right,
.box-third .heading .heading-right {
	background: url(/media/images/layout/box-head-right.png) no-repeat top right;
	height:22px;
	padding: 16px 14px 0px 14px;
}

.box-three-third .boxcontent,
.box-two-third .boxcontent,
.box-third .boxcontent {
	background: white;
	padding: 0;
}

.box-three-third .boxcontent .boxcontent-left,
.box-two-third .boxcontent .boxcontent-left,
.box-third .boxcontent .boxcontent-left {
	background: url(/media/images/layout/box-left.png) repeat-y top left;
}

.box-three-third .boxcontent .boxcontent-right,
.box-two-third .boxcontent .boxcontent-right,
.box-third .boxcontent .boxcontent-right{
	background: url(/media/images/layout/box-right.png) repeat-y top right;
	padding: 16px 14px 16px 14px;
}

.box-three-third .boxbottom,
.box-two-third .boxbottom,
.box-third .boxbottom {
	background: url(/media/images/layout/box-bottom-middle.png) repeat-x;
	height: auto;
	width: auto;
}

.box-three-third .boxbottom .boxbottom-left,
.box-two-third .boxbottom .boxbottom-left, 
.box-third .boxbottom .boxbottom-left {
	background: url(../media/images/layout/box-bottom-left.png) no-repeat top left;
}

.box-three-third .boxbottom .boxbottom-right,
.box-two-third .boxbottom .boxbottom-right,
.box-third .boxbottom .boxbottom-right {
	background: url(/media/images/layout/box-bottom-right.png) no-repeat top right;
	height:12px;
}

/* Transparent variable sized box */

.box-trans .heading {
	height: auto;
	padding: 0;
}

.box-trans .heading .heading-left{
	background: url(/media/images/layout/box-head-left-trans.png) no-repeat top left;
	padding-left: 12px;
}

.box-trans .heading .heading-right {
	background: url(/media/images/layout/box-head-right-trans.png) no-repeat top right;
	height:38px;
	padding-right: 12px;
}

.box-trans .heading .heading-middle {
	background: url(/media/images/layout/box-head-middle-trans.png) repeat-x;
	height: auto;
	padding: 16px 2px 0 2px;
	height: 22px;
}

.box-trans .boxcontent {

	padding: 0;
}

.box-trans .boxcontent .boxcontent-left {
	background: url(/media/images/layout/box-left-trans.png) repeat-y top left;
	padding-left: 12px;
}

.box-trans .boxcontent .boxcontent-right{
	background: url(/media/images/layout/box-right-trans.png) repeat-y top right;
	padding-right: 12px;
}

.box-trans .boxcontent .boxcontent-middle {
	background: white;
	padding: 8px 6px;
}

.box-trans .boxbottom {
	height: auto;
	width: auto;
}
 
.box-trans .boxbottom .boxbottom-left {
	background: url(/media/images/layout/box-bottom-left-trans.png) no-repeat top left;
	padding-left: 12px;
}

.box-trans .boxbottom .boxbottom-right {
	background: url(/media/images/layout/box-bottom-right-trans.png) no-repeat top right;
	padding-right: 12px;
}

.box-trans .boxbottom .boxbottom-middle {
	background: url(/media/images/layout/box-bottom-middle-trans.png) repeat-x;
	height:12px;
	width: auto;
}


/* ---------- */

.col-one-third {
	float: right;

}

.col-two-third {
	width: auto;
	float: none;
}

.box-two-third {
	width: auto;
	float: none;
}
