/* 	///// LAYOUT /////
	(c) 2009 ALMOST-FAMOUS.TV
	By COMA (http://www.coma.sg/)
*/

body {
	background: #f5f5f5 url(../img/background_noise.jpg);
}

/* Older browsers will render these HTML 5 elements as inline */
header, footer, nav, section, article, aside {
	display:block;
}

#membrane {
	width: 100%;
	background: url(../img/background.jpg) no-repeat -20px 0;
}

#top {
	position: relative;
	margin: 0 auto;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix { display: inline-block; }  /* for IE/Mac */


/*	///// HEADER ///// */

#header {
	position: relative;
	height: 140px;
	background: url(../img/sticker.gif) no-repeat 358px 0;
}

h1 {
	position: relative;
	top: 30px;
	width: 347px; height: 30px;
}

h1 a {
	float: left;
	display: block;
	width: 347px; height: 30px;
	background: url(../img/almost-famous_logo.gif) no-repeat;
	text-indent: -999em;
}

#description {
	position: absolute;
	top: 65px; left: 0;
	padding: 15px 12px;
	height: 25px;
	color: #fff;
	font-weight: bold;
	background: url(../img/description_bg.gif) no-repeat;
}

#header nav {
	position: absolute;
	right: 0; top: 60px;
}

#header nav li {
	float: left;
	display: inline;
	margin: 0 0 0 5px;
}

#header nav li a,
#header nav li span {
	float: left;
	display: block;
	height: 45px; line-height: 45px;
	text-align: center;
	font-size: 1.143em;
	font-weight: bold;
	white-space: nowrap;
	color: #fff;
	background-image: url(../img/nav_bg.gif);
	background-repeat: no-repeat;
}

#nav-ss a, #nav-ss span { background-position: 0 0; width: 139px; }
#nav-sg a, #nav-sg span { background-position: -139px 0; width: 125px; }
#nav-cg a, #nav-cg span { background-position: -263px 0; width: 122px; }
#nav-wu a, #nav-wu span { background-position: -384px 0; width: 100px; }
#nav-lol a, #nav-lol span { background-position: -483px 0; width: 65px; }



/*	///// CONTENT ///// */

#content {
	position: relative;
	float: left;
}

.block {
	display: none;
	position: absolute;
	margin: 0 0 20px;
	width: 255px;
}

.block-frame {
	position: absolute;
	top: 0; left: 0;
	width: 255px; height: 145px;
	background: url(../img/thumbnail_frame.png);
}

.block-video {
	position: relative;
	width: 795px; height: 480px;
	background: #000;
}
.single .block-video {
	width: 795px; height: 480px;
}

.featured {
	width: 795px;
}

#featured-slide-nav {
	position: absolute;
	top: 0; right: 0;
	z-index: 20;
}

#featured-slide-nav li {
	float: left;
	display: inline;
	margin: 0 0 0 2px;
}

#featured-slide-nav a {
	display: block;
	float: left;
	padding: 8px 10px;
	font-weight: bold;
	line-height: 1;
	color: #fff;
	background: #e6007e;
}

#featured-slide-nav a.activeSlide,
#featured-slide-nav a:hover {
	border-bottom: 5px solid #e6007e;
}

.featured-slide .block-video img {
	width: 795px; height: 480px;
}

.featured-frame {
	position: absolute;
	background-repeat: no-repeat;
}
.featured-frame-t {
	top: 0; left: 0;
	width: 795px; height: 6px;
	background-image: url(../img/featured_frame_t.png);
}
.featured-frame-r {
	top: 0; right: 0;
	width: 5px; height: 480px;
	background-image: url(../img/featured_frame_r.png);
}
.featured-frame-b {
	bottom: 0; left: 0;
	width: 795px; height: 4px;
	background-image: url(../img/featured_frame_b.png);
}
.featured-frame-l {
	top: 0; left: 0;
	width: 5px; height: 480px;
	background-image: url(../img/featured_frame_l.png);
}

.single {
	width: 795px;
}
.single-frame {
	position: absolute;
	background-repeat: no-repeat;
}
.single-frame-t {
	top: 0; left: 0;
	width: 795px; height: 5px;
	background-image: url(../img/single_frame_t.png);
}
.single-frame-r {
	top: 0; right: 0;
	width: 4px; height: 480px;
	background-image: url(../img/single_frame_r.png);
}
.single-frame-b {
	bottom: 0; left: 0;
	width: 795px; height: 5px;
	background-image: url(../img/single_frame_b.png);
}
.single-frame-l {
	top: 0; left: 0;
	width: 4px; height: 480px;
	background-image: url(../img/single_frame_l.png);
}

.block-info {
	margin: 0; padding: 25px 18px 10px;
	color: #fff;
	background: url(../img/excerpt_balloon.gif) no-repeat;
}
.featured .block-info {
	margin: 10px 0 0; padding: 30px 18px 25px;
	color: #fff;
	background: url(../img/featured_balloon.gif) no-repeat;
}
.single .block-info {
	margin: 10px 0 0; padding: 30px 18px 25px;
	color: #fff;
	background: url(../img/single_balloon.gif) no-repeat;
}

.block-thumbnail {
	position: relative;
	overflow: hidden;
	width: 255px; height: 145px;
	cursor: pointer;
}

.block-thumbnail img {
	position: absolute;
	left: 0; top: -23px;
	width: 255px; height: 191px;
}

.block-date {
	float: left;
	margin: 0 10px 0 0;
	width: 30px;
	text-align: center;
	line-height: 1;
}

.block-date-day {
	font-size: 1.714em;
	font-weight: bold;
}
.block-date-month {
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
}

.block-content {
	margin: 0 0 0 40px;
}

.block-info h2 {
	margin: 0 0 0.556em;
	font-size: 1.286em;
	line-height: 1.111;
	letter-spacing: -0.02em;
}
.block-info h2 a {
	color: #fff;
}

.block-end {
	position: absolute;
	left: 0; bottom: 0;
	width: 255px; height: 5px;
	background: url(../img/excerpt_balloon_end.png);
}
.featured .block-end,
#respond .block-end {
	position: absolute;
	left: 0; bottom: 0;
	width: 795px; height: 8px;
	background: url(../img/featured_balloon_end.png);
}
.single .block-end {
	position: absolute;
	left: 0; bottom: 0;
	width: 795px; height: 6px;
	background: url(../img/single_balloon_end.png);
}


/*	///// SIDEBAR ///// */

#sidebar {
	display: block;
	float: right;
	margin: 0 0 20px;
	width: 165px;
}

.widget {
	margin: 0 0 20px;
}
.widgettitle {
	font-size: 1.071em;
	text-transform: uppercase;
	line-height: 20px;
}
.widget div {
	font-size: 1em;
}

.widget_text {
	padding: 0 0 20px;
	background: url(../img/notepad.gif);
}

.ad,
.dfrads {
	position: relative;
	padding: 0 0 0 5px;
	width: 160px; height: 600px;
}

.ad-frame {
	position: absolute;
	top: 0; left: 5px;
	width: 160px; height: 600px;
	background: url(../img/ad_frame.png);
}


/*	///// SIDEBAR ///// */

#footer {
	width: 100%;
	padding: 0 0 40px;
}

#footer-nav li {
	float: left;
	display: inline;
	margin: 0 15px 0 0;
	font-weight: bold;
}

#copyright {
	float: right;
	text-transform: uppercase;
	white-space: nowrap;
}




