/**		DanConnor.com stylesheet 1.1 - April 2009 - Copyright Dan Connor 
**		
**		Main stylesheet.
**/

/** comprehensive CSS reset **/

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;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}


/** reset end **/

/** DanConnor.com custom styles start **/

body {
	width: 100%;
	font-family: Arial, sans;
	font-size: 14px;
	line-height: 16px;
	background: black url('../images/body-background.png') bottom center no-repeat fixed;
}

pre { font-family: monospace; margin: 0 0 1em 1em; }

em { font-style: italic; }
strong { font-weight: bold; color: white; }

a, .pseudolink { text-decoration: none; color:#64E1FF; }
a:hover, .pseudolink:hover { text-decoration: underline; color:#FF7313; }

p, h3, h2 { margin-bottom: .8em; }
h3, h2 { letter-spacing: -.05em; font-weight: bold; color: white; text-align: left; }
h2 { font-size: 1.8em; line-height: 1em; border-bottom: 1px solid #888; margin-right: 400px; }
h3 { font-size: 1.4em; line-height: .9em; }
h3 a { color: white; }
h3 a:hover { text-decoration: none; }

input[type="text"], input[type="submit"], select, textarea { border: 1px solid #333; background-color: #222; color: white; padding: 3px 4px; display: block; margin: 5px; }
input:focus, select:focus, textarea:focus { border: 1px solid #ff7313; background-color: #333; }
input[type="text"]:hover, input[type="submit"], select:hover, textarea:hover { border: 1px solid #ff7313; background-color: #555; }
label { display: block; margin: 5px; }

#EmailForm textarea { width: 300px; height: 200px; }

#wrapper {
	margin: 0 auto;
	width: 900px;
	background-color: #111;
	color: #bbb;
	border: 1px solid #333;
	position: relative;
}

#header { height: 100px; background-color: #222; position: relative; background: url('../images/header_gradient.png') repeat; overflow: hidden; }
#header #topnav { float: right; margin: 10px 10px 0 0; font-size: 1.1em; font-weight: bold; letter-spacing: -.05em; position: relative; z-index: 3;}
#header #topnav ul li { display: block; float: left; margin: 0; }
#header #topnav ul li:first-child:before {
	content:"";
}
#header #topnav ul li:last-child:before, #header #topnav ul li:before {
	content:"   |   ";
	white-space:pre;
}
#header h1{ font-size: 3em; letter-spacing: -.08em; font-weight: bold; color: white; position: absolute; top: -10px; left: 80px; line-height: 3em; }
#bulb{
	position: absolute;
	left: -60px;
	top: -50px;
	z-index: 5;
}
#portals { clear: both; }

#portals a, #rightcol a { display: block; z-index: 2; position: relative; text-decoration: none; color: #bbb; }
#portals a:hover { text-decoration: none; color: #bbb; }

#portals ul li {
	background-color: black;
	display: block;
	position: relative;
	float: left;
	width: 300px;
	overflow: hidden;
}
#portals ul li.last {
	clear: right;
}

#portals ul li div, #portals ul li img { position: relative; }
#portals ul li div.description { font-size: 1.5em; line-height: 1em; padding: 10px 10px 10px 10px; height: 300px; }

/** this class is added via javascript so that if JS is not present the text is still readable **/
#portals ul li div.obscured { position: absolute; text-align: center; left: 0; top:0; z-index: 1; }

#blogarea { padding: 30px 10px 10px 10px; clear: both; }

#blogarea ul, #blogarea ol { margin: 0 0 1em 3em; }
#blogarea ul { list-style-type: disc; }
#blogarea ol { list-style-type: decimal; }

table { margin-bottom: 10px; }
#blogarea table td { vertical-align: middle; }
#blogarea table td{ text-align: center; padding: 2px; }
#blogarea table.leftalign td { text-align: left; padding-right: 30px; }
 
#blogarea .ditto_summaryPost { margin: 30px 0; border-bottom: 1px solid #292929; }
#blogarea .ditto_info { font-size: .8em; }
#blogarea .ditto_tags { margin-bottom: 1em;  font-size: .8em;}
#blogarea .ditto_tags .ditto_tag { font-family: Georgia, sans; font-style: italic; }
#blogarea .ditto_link {  }
#blogarea .ditto_entryend { clear: left; }
#blogarea blockquote { background-color:#222; margin: 10px 15px; padding:5px 10px; }
#blogarea blockquote br { line-height:0; margin:0; padding:0; }
#blogarea ul.flatlist { clear: right; margin: 15px 0; }
#blogarea ul.flatlist li { display: block; float: left; margin: 0 2px; }
#blogarea ul.flatlist a img { border: none; }
#blogarea .video { 
	padding: 12px; 
	margin: 10px; 
	width: 452px; 
	background: #111 url('../images/bg_video.png') repeat-x 0 35px;
}
#blogarea .video p.title { float: right; clear: left; font-weight: bold; font-size: 17px; line-height: 23px; }
#blogarea .video object, #blogarea .video embed { margin-bottom: 20px; }

#headlines > ul { list-style-type: none; }
#headlines > ul li { 
      list-style-type: desc; 
      line-height: 48px;
      background: url('http://www.danconnor.com/assets/images/icons/important.png') 0 0 no-repeat; 
      padding-left: 60px;
      margin-left: -30px;
}

#rightcol { float: right; margin: 10px 0 10px 10px; }
#rightcol ul li a, #blogarea a img { border: 1px solid #333; }
#rightcol ul li a:hover , #blogarea a img:hover { border: 1px solid #FF7313; }
#rightcol ul { margin: 0; }
#rightcol ul li { 
	display: block;
	position: relative;	
	margin: 5px 0;
}

#footer { clear:both; padding: 10px; text-align: right; font-size: .8em; }

.reflect_archive { clear:both; font-size: .8em; display: none; }

.show_archive { cursor: pointer; margin: 5px 5px 10px 5px;}

/*.reflect_archive_list  ul li {
	display:block;
	float:left;
}
.reflect_archive_list  ul li:before {
	content:", ";
	white-space:pre;
}
.reflect_archive_list  ul li:first-child:before {
	content:"";
}
.reflect_archive_list  ul li:last-child:before {
	content:", ";
	white-space:pre;
}
.reflect_archive_list  ul + * {
	clear:left;
}
*/
