#wrapper {
	padding: 0 0 20px 0;
}
#top,
#featured,
#main,
#featured_below,
#bottom,
#after-footer {
	margin: 0 auto;
	width: 1020px;
}

/* Top/Bottom of Boxed Layout */
#main-top .main-top-left,
#main-top .main-top-right,
#main-top .main-top-middle,
#after-footer .after-footer-left,
#after-footer .after-footer-right,
#after-footer .after-footer-middle {
	background-image: url(../../images/layout/shape/main-boxed-dark.png);
}
@media 	only screen and (-webkit-min-device-pixel-ratio: 1.5),
		only screen and (-moz-min-device-pixel-ratio: 1.5),
		only screen and (-o-min-device-pixel-ratio: 1.5),
		only screen and (min-device-pixel-ratio: 1.5),
		only screen and (min-resolution: 1.5dppx) {
	#main-top .main-top-left,
	#main-top .main-top-right,
	#main-top .main-top-middle,
	#after-footer .after-footer-left,
	#after-footer .after-footer-right,
	#after-footer .after-footer-middle {
		background-image: url(../../images/layout/shape/main-boxed-dark_2x.png);
		background-size: 40px 312px;
	}
}
#main-top {
	position: relative;
	padding: 0 30px;
}
#main-top .main-top-left {
	background-position: -5px -5px;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	width: 30px;
	height: 60px;
}
#main-top .main-top-right {
	background-position: -5px -145px;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	right: 0;
	width: 30px;
	height: 60px;
}
#main-top .main-top-middle {
	background-position: 0 -75px;
	background-repeat: repeat-x;
	height: 60px;
}
#after-footer {
	position: relative;
}
#after-footer .after-footer-left {
	background-position: -5px -215px;
	background-repeat: no-repeat;
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 24px;
}
#after-footer .after-footer-right {
	background-position: -5px -283px;
	background-repeat: no-repeat;
	position: absolute;
	right: 0;
	top: 0;
	width: 30px;
	height: 24px;
}
#after-footer .after-footer-middle {
	background-position: 0 -249px;
	background-repeat: repeat-x;
	margin: 0 30px;
	height: 24px;
}

/* Content Areas of Boxed Layout */
#featured .featured-inner,
#main .main-inner,
#featured_below .featured_below-inner,
#bottom #colophon {
	margin-left: 20px; /* 1020px from above - (20+20) = 980px */
	margin-right: 20px;
	background-color: #282828;
}
#featured,
#main,
#featured_below,
#bottom {
	position: relative;
}
#featured:before,
#main:before,
#featured_below:before,
#bottom:before {
	content: "";
	background: url(../../images/layout/shape/main-boxed-middle-dark.png) 0 0 repeat-y;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 20px;
}
#featured:after,
#main:after,
#featured_below:after,
#bottom:after  {
	content: "";
	background: url(../../images/layout/shape/main-boxed-middle-dark.png) -20px 0 repeat-y;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 20px;
}
@media 	only screen and (-webkit-min-device-pixel-ratio: 1.5),
		only screen and (-moz-min-device-pixel-ratio: 1.5),
		only screen and (-o-min-device-pixel-ratio: 1.5),
		only screen and (min-device-pixel-ratio: 1.5),
		only screen and (min-resolution: 1.5dppx) {
	#featured:before,
	#main:before,
	#featured_below:before,
	#bottom:before,
	#featured:after,
	#main:after,
	#featured_below:after,
	#bottom:after {
		content: "";
		background-image: url(../../images/layout/shape/main-boxed-middle-dark_2x.png);
		background-size: 40px 1px;
	}
}