/********************************************************************
 __ __    ______                                 ___             
/\ \\ \  /\  ___\                               /\_ \            
\ \ \\ \ \ \ \__/   _ __   ___   __  __     __  \//\ \      __   
 \ \ \\ \_\ \___``\/\`'__\/ __`\/\ \/\ \  /'__`\  \ \ \   /'__`\ 
  \ \__ ,__\/\ \L\ \ \ \//\ \L\ \ \ \_\ \/\ \L\.\_ \_\ \_/\  __/ 
   \/_/\_\_/\ \____/\ \_\\ \____/\/`____ \ \__/.\_\/\____\ \____\
      \/_/   \/___/  \/_/ \/___/  `/___/> \/__/\/_/\/____/\/____/
                                     /\___/                      
                                     \/__/     
Author:			45royale Inc.
Author URL:		http://www.45royale.com/
Description:	Stylesheet for mattdowney.me
Created:		07/23/09

********************************************************************/

/* =RESETS DEFAULT BROWSER STLES ***********************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

body { line-height: 1; }

blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

a img { border: none; }


/* =LAYOUT *********************************************************/

body {
  	font-family: 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;
  	line-height: 1.5; /* Unitless for proper inheritance */
	background: #272e30;
	color: #a0a7a9;
}

body          { font-size: 75%; }   /* The font-size percentage is based off of 16px. So, 0.75 * 16px = 12px */
html > body   { font-size: 12px; }  /* All other browsers */

div#wrap {
	margin: 0;
	padding: 0;
	width: 990px;
	background: url(../images/bg_posts.png) repeat-y top left;
}


/* =GENERAL ********************************************************/

.clear { display: inline-block; clear: both; }

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

* html .clear { height: 1%; }

hr {
	background: #000;
	color: #000;
	clear: both;
	float: none;
	width: 100%;
	height: 0.1em;
	margin: 0 0 15px 0;
	border: none;
}

* html hr { margin: 0 0 12px 0; } /* IE6 fix */

/* =HEADINGS *******************************************************/

h1,h2,h3,h4,h5,h6 { font-weight: normal; }

h1 { font-size: 30px; line-height: 1; margin-bottom: 15px; }
h2 { font-size: 24px; margin-bottom: 10px; }
h3 { font-size: 20px; line-height: 1; margin-bottom: 10px; }
h4 { font-size: 16px; line-height: 1.25; margin-bottom: 10px; height: 12px; }
h5 { font-size: 14px; font-weight: bold; margin-bottom: 10px; }
h6 { font-size: 12px; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img { margin: 0; }


/* =TEXT ELEMENTS **************************************************/

p           	{ margin: 0 0 15px 0; }
p img       	{ float: left; margin: 15px 15px 15px 0; padding: 0; }
p img.right 	{ float: right; margin: 15px 0 15px 15px; }

a:focus, 
a:hover     	{ text-decoration: underline; color: #ffff00;}
a           	{ color: #00ccff; text-decoration: none; font-weight: bold; outline: none; }

blockquote  	{ margin: 15px; color: #fff; font-family: Georgia, serif; font-style: italic; }
blockquote blockquote { margin: 0; padding: 0 0 0 15px; border-left: 1px solid #565f61; }
strong      	{ font-weight: bold; color: #fff; }
em,dfn      	{ font-style: italic; }
dfn         	{ font-weight: bold; }
sup, sub    	{ line-height: 0; }

abbr, 
acronym     	{ border-bottom: 1px dotted #666; }
address     	{ margin: 0 0 15px; font-style: italic; }
del         	{ color: #666; }

pre,code    	{ margin: 15px 0; white-space: pre; }
pre,code,tt 	{ font: 10px 'Andale Mono', 'Lucida Console', Monospace; line-height: 1.5; } 
code        	{ font: 9px 'Monaco', monospace; }


/* =LISTS **********************************************************/

li ul, 
li ol       	{ margin: 0 15px; }
ul, ol      	{ margin: 0 15px 15px 15px; }

ul          	{ list-style-type: disc; }
ol          	{ list-style-type: decimal; }

dl          	{ margin: 0 0 15px 0; }
dl dt       	{ font-weight: bold; }
dd          	{ margin-left: 15px; }


/* =HEADER *********************************************************/

div#header {
	position: relative;
	margin: 0;
	padding: 0 0 0 240px;
	background: #363d3f url(../images/bg_header.png) no-repeat top left;
	width: 750px;
	height: 135px;
	border-bottom: 1px solid #272e30;
}

div#header h1 {
	display: block;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 23px;
}

div#header h1 a {
	display: block;
	margin: 0;
	padding: 0;
	width: 166px;
	height: 64px;
	background: url(../images/bg_logo.png) no-repeat 0 0;
}

div#header h1 a:hover { background: url(../images/bg_logo.png) no-repeat 0 -64px; }

div#header h1 a span { display: none; }

div#header p {
	position: absolute;
	bottom: 8px;
}

div#header a.rss {
	position: absolute;
	right: 20px;
	bottom: 23px;
	margin: 0;
	padding: 0;
	width: 46px;
	height: 25px;
	background: url(../images/btn_rss.png) no-repeat 0 0;
}

div#header a.rss:hover {
	background: url(../images/btn_rss.png) no-repeat 0 -25px;
}

div#header a.rss span { display: none; }

/* =POSTS **********************************************************/

div#postwrap {
	float: left;
	margin: 0;
	padding: 0;
	width: 990px;
}

div.post {
	position: relative;
	float: left;
	margin: 0;
	padding: 20px;
	width: 950px;
	border-bottom: 1px solid #272e30;
}

div.post div.meta {
	float: left;
	position: relative;
	margin: 0;
	padding: 0;
}

div.post div.meta p.date {
	margin: 0 0 10px 0;
	padding: 5px 10px 0 0;
	width: 170px;
	height: 26px;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
	text-align: right;
	background: url(../images/bg_dots.png) repeat;
}

div.post div.meta p.date span.month { color: #fff; }
div.post div.meta p.date span.day { color: #9a9fa1; }
div.post div.meta p.date span.year { color: #5d6669; }

div.post div.meta a.permalink {
	display: block;
	margin: 0 0 0 134px;
	padding: 0;
	width: 45px;
	height: 25px;
	text-align: right;
	background: url(../images/bg_permalink.png) no-repeat 0 0;
}

div.post div.meta a.permalink:hover {
	background: url(../images/bg_permalink.png) no-repeat 0 -25px;
}

div.post div.meta a.permalink span { display: none; }

div.post div.content {
	float: right;
	margin: 0;
	padding: 0;
	width: 730px;
}

div.post div.content div.item {
	float: left;
	margin: 0;
	padding: 0;
	width: 500px;
}

div.post div.content div.item.quote {
	margin: 0;
	padding: 0 0 0 40px;
	width: 460px;
	font-family: Georgia, sans-serif;
	font-style: italic;
	font-size: 23px;
	font-weight: normal;
	line-height: 28px;
	background: url(../images/bg_item_quote.png) no-repeat 0 4px;
}

div.post div.content div.item.quote p { margin: 0; padding: 0; color: #fff; }

div.post div.content div.item img,
div.post div.content div.item.video {
	border: 5px solid #424b4d;
	width: 500px;
}

div.post div.content div.caption {
	float: right;
	margin: 0;
	padding: 0;
	width: 200px;
}

div.post div.content div.item.music {
	width: 207px;
	border: 5px solid #424b4d;
}

div.album {
	float: left;
	position: relative;
	margin: 0 30px 0 0;
	width: 135px;
	height: 135px;
}

img.albumcover {
	width: 125px !important;
	height: 125px !important;
}

span.playbutton {
	position: absolute;
	top: 103px;
	left: 103px;
	display: block;
	width: 27px;
	height: 27px;
	overflow: hidden;
}

div.audiometa {
	position: relative;
	width: 700px;
}

div.audiometa h3 {
	font-size: 24px;
	color: #0cf;
}

div.audiometa span { color: #ffffff; }
div#navigation {
	clear: both;
	position: relative;
	margin: 0;
	padding: 0 0 0 240px;
	width: 750px;
	height: 65px;
	background: url(../images/bg_navigation.png) no-repeat 240px 20px;
	border-bottom: 1px solid #272e30;
}

div#navigation ul {
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div#navigation ul li a.next {
	position: absolute;
	top: 20px;
	right: 240px;
	display: block;
	margin: 0;
	padding: 0;
	width: 70px;
	height: 25px;
	background: url(../images/btn_next.png) no-repeat 0 0;
}

.ie7 div#navigation ul li a.next { top: 20px; }

div#navigation ul li a.next:hover { background: url(../images/btn_next.png) no-repeat 0 -25px; }

div#navigation ul li a.prev {
	position: absolute;
	top: 20px;
	left: 240px;
	display: block;
	margin: 0;
	padding: 0;
	width: 70px;
	height: 25px;
	background: url(../images/btn_prev.png) no-repeat 0 0;
}

div#navigation ul li a.prev:hover {
	background: url(../images/btn_prev.png) no-repeat 0 -25px;
}

div#navigation ul li a span { display: none; }

/* =FOOTER *********************************************************/

div#footer {
	position: relative;
	margin: 0;
	padding: 20px 20px 20px 240px;
	width: 730px;
}

div#footer p {
	margin: 0;
	padding: 0;
	color: #4b5456;
}

div#footer p span.footerlinks {
	position: absolute;
	top: 20px;
	right: 20px;
}

div#footer p span.footerlinks a {
	margin: 0 0 0 20px;
	padding: 0;
}
