/*   
Theme Name: defcon0 2.0
Theme URI: /wp-content/themes/defcon0-2/
Description: Custom theme for Defcon0
Author: David Dylan Jessurun
Author URI: www.defcon0.com
.
General comments/License Statement if any.

NOT a public theme. All rights reserved.

.
*/

/* CSS Portfolio site David Dylan Jessurun 2009 - www.defcon0.com */

/* Thank you for looking here. It shows that you care about more than pretty pictures, which is good. :-) 
My code is mostly "longhand", there is a reason for that: Portability. This site won't be handed off to another developer any time soon, but
I like to work in this, slightly "for dummies", kind of way because it keeps code easy to read for humans. For that rason you'll also note
a lack of "hacks" and aural, import, etc. styles. Zealotry is a good thing, but in moderation. KISS: Keep It Simple Stupid. ;-) You'll also find some redundancy, if you dig really deep. I like to play it (cross-browser) safe.  */


/* v1.0 | 20080212 */

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,
b, u, i, center,
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-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html, body {
	font-size: 1em;
	line-height: 1.7em;
	font-family: Trebuchet MS, Arial, sans-serif;
	height: 100%;	
}


/* structurals */

.struct {

}

body {

}

.container {
 	float: left;
 	clear: both;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	width: 100%;
	min-width: 960px;
	margin: 0 auto -10em;
}

.abstop {
	position: relative;
	float: left; clear: both;
	width: 100%;
	min-height: 75px;
	height: auto!important;
	height: 75px;
	background: #dfdfdf url(http://www.defcon0.com/wp-content/themes/defcon0-2/images/interface/bg_1_topbar.jpg) no-repeat 0 0;
}

.bodycopy {
	display: table;
	width: 100%; 
	min-height:900px;
  	height:auto !important;
  	height:900px;
}

.footer, .push {
	height: 10em;
	width: 100%;
	float: left;
	clear: both;
}

.footer {
	background: #8fb04c url(http://www.defcon0.com/wp-content/themes/defcon0-2/images/interface/bg-1-bottom.png) repeat-x 0 0;
}

/* modules */

.top_bar_content {
	position: relative;
	float: left; clear: both;
	width: 100%;
	min-height: 45px;
	height: auto!important;
	height: 45px;
	background: transparent;
}

.col_top1 {
	position: relative;
	float: right; clear: left;
	width: 20em;
	min-height: 45px;
	height: auto!important;
	height: 45px;
	margin-right: 0.3em;
	background: #F3F7ED;
}

.skiplink {
	font-size: 0.8em;
	display: block;
	height: 1.5em;
	width: 10em;
	margin: 0;
	padding: 2px;
	z-index: 99;
}

.totop {
	font-size: 0.8em;
	display: block;
	height: 3em;
	width: 10em;
	float: right;
	margin-bottom: 1em; margin-top: 1em;
	padding: 1em;
	z-index: 99;
}

.top {
	margin-top: 5px;
}

.logo {
	display: block;
	position: absolute;
	top: 0; left: 0;
	width: 162px; height: 44px;
	background: url(http://www.defcon0.com/wp-content/themes/defcon0-2/images/interface/logo.png) no-repeat 0 0!important;
	background: transparent;
}

.feedburner {
	position: absolute;
	right: 10px; top: 3px;
}

.tagline {
	color: #9d9d96;
	margin: 0; padding: 0;
	position: absolute;
	left: 170px;
	top: 10px;	
}

.menu_bar {
	position: relative;
	float: left; clear: both;
	width: 100%;
	min-height: 30px;
	height: auto!important;
	height: 30px;
	background: white url(http://www.defcon0.com/wp-content/themes/defcon0-2/images/interface/bg_1_menubar.png) repeat-x 50% 0!important;
	background: white url(http://www.defcon0.com/wp-content/themes/defcon0-2/images/interface/bg_1_menubar.jpg) repeat-x 50% 0;
	border-top: solid 1px black; border-bottom: solid 1px black;
}

.main-menu {
	z-index: 99;
	margin: 0;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
}

#main-menu li {
 	display: inline;
	margin: 2px;
	list-style-type: none;
	list-style: none;
}

#main-menu a:link {
	display: inline-block;
	margin: 0;
	padding: 1px;
	padding-left: 3px;
	width: auto;
	height: auto;
	color: #55682C;
	font-weight: bold;
	text-decoration: none;
}

#main-menu a:hover {
	display: inline-block;
	margin: 0;
	padding: 1px;
	padding-left: 3px;
	height: auto;
	background: transparent;
	color: #55682C;
	font-weight: bold;
	text-decoration: none;
}

#main-menu a:visited {
	display: inline-block;
	margin: 0;
	padding: 1px;
	padding-left: 3px;
	height: auto;
	color: #55682C;
	font-weight: bold;
	text-decoration: none;
}

#main-menu a:hover:visited {
	display: inline-block;
	margin: 0;
	padding: 1px;
	padding-left: 3px;
	height: auto;
	color: #55682C;
	font-weight: bold;
	text-decoration: none;
}

.sidebar {
	width: 20em;
	margin-right: 0.3em;
	min-height: 150px;
	height: auto!important;
	height: 150px;
	float: right; clear: right;
	background: #F3F7ED;
}

.sidebar_content {
	width: 20em;
	float: left; clear: both;
	min-height: 150px;
	height: auto!important;
	height: 150px;
}

.sidebar_footer {
	width: 20em;
	height: 150px;
	float: left; clear: both;
	background: white url(http://www.defcon0.com/wp-content/themes/defcon0-2/images/interface/bg_1_sidebar.png) no-repeat;
}

.bodycopy_container {
	position: relative;
	margin-right: auto; margin-left: auto;
	display: table;
	min-height: 300px;
	height: auto!important;
	height: 300px;
	width: 42em;
}

.author {
	background: #F7F7F7;
	font-size: 0.9em;
	line-height: 1.3em;
	margin: 0;
	padding: 5px;
	margin-top: 10px;
	margin-bottom: 10px;	
}

div.code {
	display: block;
 	width: auto;
 	margin: 5px;
 	padding: 5px;
	color: #8FB04C;
	background: #F7F7F7;
	font-size: 1.0em;
}

blockquote {
	display: block;
	margin: 3px;
	padding: 5px;
	width: 200px;
	height: auto;
	float: right;
	clear: both;
	border: dotted 1px #8FB04C;
	background: #F3F7ED;
}

blockquote h3 {
	font-size: 1.2em;
	display: block;
	width: inherit;
	border-bottom: dotted 1px #8FB04C;
	text-align: right;
	line-height: 21px;
	font-style: italic;
	margin-bottom: 5px;
	color: black;
}

blockquote p:first-letter {
	font-size: 1.3em;
	line-height: 21px;
	font-style: italic;
	margin-bottom: 5px;
	color: #8FB04C;
}

.wp-caption {
	position: relative;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	border-bottom: dotted 1px #8FB04C;
}

.wp-caption-text {
	font-size: 0.9em;
	background: #F3F7ED;
	text-align: center;	
}

#commentform {
  	position: relative;
	float: right;
	margin: 0; padding: 0;
	width: 500px;
}

#respond {
	position: relative;
	float: right;
	margin: 0; padding: 0;
	width: 500px;
}

ol.commentlist {
 	margin: 0; padding: 0;
 	display: block;
	position: relative;
	max-width: 700px;
	width: 40em;
	font-size: 1em;	
	background: #fafcf7;
	border-left: dotted 1px #8FB04C; border-top: dotted 1px #8FB04C; border-right: dotted 1px #8FB04C;
}

.commentlist li {
	display: block;
	position: relative;
	float: right; clear: both;
	width: 40em; height: auto;
	margin: 0; padding: 0;
	border-bottom: dotted 1px #8FB04C;
	list-style-type: none;
}

.commentlist li p {
	display: block;
	width: 25em; height: auto;
	margin: 0; padding: 0;
	padding: 0.5em;
	padding-top: 1em; padding-bottom: 1em;
	float: left;
}

.commentlist li p.comment_info {
	display: block;
	width: 10em; height: auto;
	margin: 0; padding: 0;
	float: right;
	font-size: 0.8em;
	padding-top: 0.5em; padding-bottom: 0.5em;
}

textarea {
 	position: relative;
	float: right;
	clear: both;
	width: 500px;
	margin: 0;
	margin-bottom: 5px;
	background: white url(/wp-content/themes/defcon0-2/images/interface/defc_textarea_bg.jpg) 50% 0 no-repeat;
	border-right: solid 2px #DFDFDF;
	border-top: solid 2px #DFDFDF;
	border-left: dotted 1px #8FB04C;
	border-bottom: dotted 1px #8FB04C;
	padding: 5px;
}

text {
	border-right: solid 2px #DFDFDF;
	border-top: solid 2px #DFDFDF;
	border-left: dotted 1px #8FB04C;
	border-bottom: dotted 1px #8FB04C;
	padding: 5px;
}

#submit {
	display: block;
	width: 20em;
	height: 3em;
	background: white;
	border: dotted 1px #8FB04C;
	cursor: pointer;
	margin: 5px;
}

.sociable {
	padding: 0;
	margin: 0;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.sociable img {
	border: none;
}

.sociable li {
	list-style-type: none;
	margin: 1px;
	padding: 0;
	display: inline-block;
	
}

.main {
	display: table;
	min-height: 300px;
	height: auto!important;
	height: 300px;
	width: 42em;
}

.post {
	position: relative;
	width: 42em;
	min-height: 300px;
	z-index: 50;	
}

/* nav menu */

ol.nav_menu {
 	margin: 1.5em;
 	margin-top: 1.7em;
	display: block;
	width: 90%;
	height: 3em;
	border: solid 2px #8dc33f;
	background: #8dc33f;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px; 
}

.nav_menu li {
	display: inline-block!important;
	display: inline; width: 5em;
	float: left;
	margin: 2px; padding: 2px;
	list-style-type: none;
	border: dotted 1px white;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px; 	
}

.nav_menu li a {
	font-size: 1em;
	color: white;
}

.bcopy_excerpt {
	float: left;
	width: 20em;
	height: 30em;
	padding: 0.5em;
}

.thumb_pushfloat {
 	position: relative;
	float: right; clear: left;
	width: 30%; height: 20em;
	margin: 0; padding: 0;
	margin-left: 5px;
	z-index: 200;
}

span.pointer {
	display: block;
	position: absolute;
	right: 2px; top: 2px;
	background: transparent url(/wp-content/themes/defcon0-2/images/interface/pointer.png) no-repeat 0 0;
	width: 30px; height: 30px;
}

a.thumb {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 100%; height: 30%;
	border: dotted 1px #8FB04C;
}

a.thumb:hover {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 300px; height: 300px;
	border: dotted 1px #8FB04C;
	z-index: 99;
}

.spotlight a.thumb:hover {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 300px; height: 300px;
	border: dotted 1px #8FB04C;
	z-index: 99;
}

a.thumb:visited {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 100%; height: 30%;
	border: dotted 1px #8FB04C;
}

a.thumb:visited:hover {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 300px; height: 300px;
	border: dotted 1px #8FB04C;
	z-index: 200;
}

a.thumb_2 {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 100px; height: 100px;
	border: dotted 1px #8FB04C;
	z-index: 200;
}

a.thumb_2:hover {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 300px; height: 300px;
	border: dotted 1px #8FB04C;
	z-index: 99;
}

.spotlight a.thumb_2:hover {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 300px; height: 300px;
	border: dotted 1px #8FB04C;
	z-index: 200;
}

a.thumb_2:visited {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 100%; height: 30%;
	border: dotted 1px #8FB04C;
	z-index: 200;
}

a.thumb_2:visited:hover {
 	display: block;
 	overflow: hidden;
	position: absolute;
	right: 0; top: 0;
	width: 300px; height: 300px;
	border: dotted 1px #8FB04C;
	z-index: 200;
}

.thumb_2_pushfloat {
 	position: relative;
	float: right; clear: left;
	width: 101px; height: 101px;
	margin: 0; padding: 0;
	padding-left: 5px;
	z-index: 50;
	
}

.dd_profile {
 	position: relative;
	width: 18em; height: auto;
	border: dotted 1px #8fb04c;
	list-style-type: none;
	margin: 0; padding: 0;
	margin-bottom: 1em; margin-left: 1em; margin-top: 1em;
	 	margin-left: auto; margin-right: auto;
	padding: 3px;			
}

.dd_profile img {
	float: left; clear: right; margin: 3px;
}

.meta ul {
 	margin-left: auto; margin-right: auto;
 	margin-bottom: 1em;
	background: transparent url(http://www.defcon0.com/wp-content/themes/defcon0-2/images/interface/defc_loginmenu_bg.jpg) no-repeat center center;
	height: auto; min-height: 120px;	
}

.meta li {
 	margin: auto;
	border: none;
	text-align: center;
	width: 12em;	
}

.blogroll_container {
	display: block;
	width: 18em;
	height: auto;
	border: dotted 1px #8fb04c;	
	margin: auto;	
	padding: 0.5em;
}

.blogroll_container ul {
	width: 18em;
}

.blogroll_container ul li {
	display: inline-block;
	font-size: 0.9em;
}


/* universal declarations */

.white {
	background: white;
}

.odd {
	background: #fafcf7 url(/wp-content/themes/defcon0-2/images/interface/comment_info_bg.gif) repeat-y 30em 0;
}

.even {
	background: white url(/wp-content/themes/defcon0-2/images/interface/comment_info_bg.gif) repeat-y 30em 0;	
}

/* text & etc. */

a {
	color: #55682C;	
}

a:hover {
	color: #55682C;	
}

a:hover {
	color: #55682C;	
}

a:visited:hover {
	color: #55682C;	
}

a.ext {
 	display: inline-block;
 	min-height: 12px;
 	height: auto!important;
 	height: 14px;
 	width: auto;
	color: #55682C;
	padding-right: 14px;
	background: transparent url(/wp-content/themes/defcon0-2/images/interface/ext-site.png) no-repeat center right;
}

h3 {
	font-size: 1em;
	color: #8FB04C;
	text-decoration: none;
	display: inline-block;
	width: 59%;
	height: auto;
	padding: 0;
}

h3 a {
	font-size: 1em;
	color: #8FB04C;
	text-decoration: none;
	display: inline-block;
	width: 100%;
	height: auto;
} 

h3 a:visited {
	font-size: 1em;
	color: #8FB04C;
	text-decoration: none;
	display: inline-block;
	width: 100%;
	height: auto;	
} 

h3 a:hover {
	font-size: 1em;
	color: #8FB04C;
	text-decoration: none;
	display: inline-block;
	width: 100%;
	height: auto;	
} 

h3 a:hover:visited {
	font-size: 1em;
	color: #8FB04C;
	text-decoration: none;
	display: inline-block;
	width: 100%;
	height: auto;	
} 

p {
	font-size: 1em;
	line-height: 2em;
	margin: 0;
}

div.sub {
	position: relative;
	width: 10em;
	height: 55%;
	color: #55682C;
	line-height: 1.1em;
	font-size: 0.9em;
	left: 2px; top: 35%;
}

p.p_sub {
 	width: 6em;
 	line-height: 1.2em;
 	min-height: 3.5em;
 	height: auto;
 	margin: 0; padding: 2px;
	background: #DFDFDF;
	margin-bottom: 1.5em;
	border: solid 1px #DFDFDF;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px; 	
}

p.readmore {
 	float: right;
	color: #55682C;
	line-height: 1.1em;
	font-size: 0.9em;
}

p.readmore a {
 	color: #55682C;
	line-height: 1.1em;
	font-size: 0.9em;
}

/* accessibility */

.hidden {position:absolute;
left:-10000em;
top:auto;
width:1px;
height:1px;
overflow:hidden;}

p#breadcrumbs {
 	position: relative;
	display: block;
	float: left;
	clear: both;
	padding: 1em;
	font-size: 0.9em;
	color: #8FB04C;
	width: 100%;
	z-index: 0;
}

#breadcrumbs strong {
	color: #8FB04C;
	font-size: 0.9em;
}
