/*
Theme Name:	iTech *Child Theme*
Theme URI: 	http://outofwhatbox.com/dan-iTech/
Description: 	Dan Breslau's custom child theme for iTech. Make all your custom changes in the <code>themes/dan-iTech</code> folder.
Author:		Dan Breslau
Author URI:	http://www.outofwhatbox.com
Template: iTech
*/

/*
 *  Tested with: IE7, IE8, FF3.5, Opera 9, Chrome 3
 *  Will probably *not* work well with IE6 or lower.
 */


/* Import Stylesheets, don't remove these.
-----------------------------------------------------------*/
@import url("../iTech/style.css");

/* Required Wordpress Classes, don't remove these.
-----------------------------------------------------------*/
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
  }
.alignleft { float: left; }
.alignright { float: right; }

/* Make all custom CSS changes BELOW this line
-----------------------------------------------------------*/
/* Example: Change the sidebar background to blue:
#sidebar {
	background: blue;
	}
*/


#header {
	height: auto;
	background: #FFF;
	margin-bottom: 15px;
}

#logo {
	padding-top: 20px;
	padding-bottom: 20px;
	background: url("images/bg_header.jpg") #464646 bottom repeat-x scroll;
	margin-bottom: 1px;
	height: auto;
}

#header #logo h2  {
	display: block;
}


#logo h1  {
	margin-right: 0.5em !important; 
	float: none;
}	

#header ul, #header, #header #logo, #header #logo h1, #header #logo h2  {
	float: none;
}

#header ul {
	background: #e3e3e3;
}

#header li.right {
	float: right;
}

#header li {
	padding: 0 0 0 20px;
}

#header li:first-child {
	padding: 0 0 0 30px;
}


#header li.right { 
	margin-left:20px;
	margin-right:20px;
	width: auto;
}

#header ul li.subscribe   {
	background-position: 0 -128px !important;
}

#header ul li.twitter {
	background-position: 0 -274px !important;
}


#header ul li a {
	font-weight:normal;
}


/*-----------------*/
/* Text margins */

#container .entry h4, 
#container .entry h5, 
#container .entry h6, 
#container .entry p, 
#container .entry form, 
#container .entry ul,
#container .entry img {
	margin:10px 0;
	padding: 0;
}

#container .entry h1, 
#container .h2,
#container .entry h3 {
	margin: 15px 0 10px;
	padding: 0;
}

#container h2 {
	padding-top: 10px;
}


/*-----------------*/
/* Turn off border for first post */
div#container div:first-child h2 {
	border: 0;
	padding-top: 10px;
}


/*-----------------*/
/* Links */

#footer p a:link,
#footer p a:visited {
	color:#FFFFFF;
	text-decoration:underline;
}

#wrapper .post h2 a:link, 
#wrapper .post h2 a:visited {
	color : #000000;
}

/*-----------------*/
/* Tables */


#container table {
	border:0 none;
	border-collapse:collapse;
	margin: 6px 3px 10px;
	width: auto;
}



#container table {
	border-collapse:collapse;
	display:table;
	text-indent:0;
}

#container tbody {
	display:table-row-group;
}

#container th {
	background:#EEEEEE none repeat scroll 0 0;
	font-size:110%;
}

#container td, #container th {
	border:1px solid #DCDCDB;
	padding:3px;
}



/*-----------------*/
/* Main column */
#container .post {
	margin: 0 30px 10px 30px;
}

/*-----------------*/
/*  Sidebar */

#sidebar {
	margin-left: 3px;

	/* Align the top of the tabs with the top of the post column */
	margin-top: 15px;
}

#sidebar h2 {
	padding: 6px 0 0;
	margin: 12px 0 5px;
}

/*-----------------*/
/*  Lists */

#div.entry li {
	margin-left: 40px;
}


/*-----------------*/
/*  Headlines   */

div.post h2 {
	line-height: 1.2em;
}



#container .commentlist li img.avatar {
	margin-right: 10px;
}

/*-----------------*/
/*  CSS Sprites */

#header li.right,
.metaDate, .metaComment, .metaTag, .post_tags {
	background: url('images/sprites.png') no-repeat top left !important;
}

.metaDate {
	 background-position: 0 -62px !important;
}

.metaComment { 
	background-position: 0 0 !important; 
}

.metaTag, .post_tags {
	background-position: 0 -208px !important;
}


/*-----------------------------------------------------------------------*/
/* OOWB site-specific changes below this line.                           */
/*-----------------------------------------------------------------------*/

div.syntaxhighlighter {
	margin: 3px;
	border: 2px dotted #DDF !important;
}

.aligncenter {
	margin-left: auto !important;
	margin-right: auto !important;
}


#description {
	color: #C9A997;
	}



.entry ul li {
	list-style: outside;
	list-style-type: none;
	list-style-image: url("images/box.gif");
	margin-left: 3em ;
	margin-top: 10px;
	padding-left: 0.3em;
}

.entry ul div,
.entry ol div {
	margin-left: 3em ;
	padding-left: 0.3em;
	margin-top: 10px;
}


a code {
	color: inherit !important;
	font-weight: inherit !important;
}


#container .entry img.oowbleft, 
img.oowbleft {
	float: left;
	margin-top: 4px;
	margin-right: 4px;
}

#container .entry img.oowbleft2, 
.oowbleft2 {
	float: left;
	margin-top: 4px;
	margin-left:0px;
	margin-right:0px;
}


#container .entry img.oowbright,
img.oowbright {
	float: right;
	margin-top: 4px;
	margin-left: 4px;
	margin-bottom: 4px;
}


#container .entry img.oowbright2, 
.oowbright2 {
	float: right;
	margin-top: 4px;
	margin-right:25px;
	margin-left:0px;
}


#container .entry img.oowb2col,
div.oowb2col {
	margin-left:10px;
	margin-right:10px;
	overflow: auto;
	width: 100%;
	padding-left:5px;
	padding-right:5px;
}



.oowbcenter {
	text-align: center;
	margin-top: 4px;
	margin-bottom: 4px;
	margin-right: auto;
	margin-left: auto;
}


.oowbnotice {
	background: #F4F4FC none repeat scroll 0 0;
	border: 2px dotted #B4B4BC !important;
	margin: 16px 20px 16px 20px;
	padding: 6px 12px;
}

.oowbbtw {
	background: #F1F1F2 none repeat scroll 0 0;
	border: 1px dotted #C9A997 !important;
	margin: 12px 20px 12px 20px !important;
	padding: 6px 12px;
	line-height: 1.6em;
}

.oowbsummary {
	background: #EEE1DE none repeat scroll 0 0;
	border: 1px dotted #C9A997 !important;
	padding: 6px 12px;
}

.oowbsidebar {
	padding-left: 6%;
	padding-right: 6%;
}

.oowbcaption {
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	background-color:#F3F3F3;
	border:1px solid #DDDDDD;
	font-weight:bold;
	padding-top:4px;
	text-align:center;
	margin-top:10px;
}

/* Adjacent sibling selector (not supported in IE6) */
.oowbcaption + .oowbcaption {
	margin-top: 20px;
}


.wp-caption {
	-moz-border-radius-bottomleft:3px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-topright:3px;
	background-color:#F3F3F3;
	border:1px solid #DDDDDD;
	margin:10px;
	padding-top:4px;
	text-align:center;
}

#container p.oowb-caption-text {
	font-weight:bold;
	font-size: 85%;
}


.entry del, .about del {
	color:#A00;
}

/*
 * Disabling the tabbed content for now. The tag cloud feature doesn't
 * seem to work, and I'm not sure how useful the other features will be
 * on my site. (dbreslau)
 */
#sidebar .menu,
#sidebar .tabcontent
{
	display: none !important;
}
