/* @override http://andrewmccall.com/wp-content/themes/andrew/style.css */

/*  
Theme Name: Andrew
Theme URI: http://andrewmccall.com/theme
Version: 1.0-SNAPSHOT
Author: Andrew McCall
Author URI: http://andrewmccall.com.com
*/



/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/

li, dd { margin-left:5%; }
fieldset { padding: .5em; }
select option{ padding:0 5px; }
select, option { color:black; }
.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
.clear{ clear:both; height:1px; font-size:1px; line-height:1px; }
a img{ border:none; }

/*-----------------------------------------------------------------------------------------------
  Layout / Base Page Styling
-----------------------------------------------------------------------------------------------*/


p{
  line-height:1.75em;
}

p+p {
	text-indent:0;
}

#content ul li{
  margin:0.5em 0 0.5em 2em;
}

blockquote{
  margin-left:1em;
  padding-left:1em;
  border-left:2px solid #CCC;
}

pre{
  width:100%;
  padding:1em 0;
  overflow:auto;
  border-top:1px dotted #333;
  border-bottom:1px dotted #333;
}

a {
	color: #336699;
}

/*-----------------------------------------------------------------------------------------------
  Header
-----------------------------------------------------------------------------------------------*/

#header, #content, #bottom, #footer, #comments{
	min-width: 1100px;
  margin: 0 0.5em;
  padding:0.5em 0.5em;
  border-bottom: 0.25em solid #336699;
}

#content {
	padding: 0.5em 0;
}

#header h1{
  margin:0 0.5em 0 0;
  padding:0 0.5em 0.25em 0;
  //border-right: 0.2em solid #336699;
  float:left;
  	width: 360px;
  height: 34px;

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

#header h1 a {
		width: 390px;
  height: 36px;
  display: block;
	background: url(images/logo-big.png) no-repeat;

}

#header h2{
  padding:0.65em 0;
  margin:0;
  line-height:1em;
  color: #555;
  font-size: 1.2em;
}

#header ul {
	list-style: none;
	margin: 0 2em ;
}

#header ul li:first-child {
	border-left: 1px solid #336699;
}

#header ul li {
	float: left;
	margin: 0;
	padding: 0  0.5em 0 0.5em ;
	border-right: 1px solid #336699;
}

/*-----------------------------------------------------------------------------------------------
  Primary Items
-----------------------------------------------------------------------------------------------*/


#content div.col {
	width: 350px;
	float: left;
	border-left: 1px dotted #336699;
	padding: 0 0.5em 1em 0.5em;
	margin: 0 0 1em 0;
}

#content div.col:first-child {
	border: 0;
}

.postlist,
.story {
	margin: 1em 0 1em 0;
}

#content.post .story,
#content.post .postlist {
	font-size: 1em;
	width: 760px;
	margin: 0;
	padding: 0 2em;
	float: left;
}

.post .postlist,
.post .story {
	font-size: 1em;
	width: 800px;
	margin: 2em 0 2em 0;
	float: left;
}

div.related h3,
div.related a,
div.related {
	//font-variant: small-caps;
	font-size: 1em;
	font-weight: bold;
	line-height: 1em;
	color: #555;
}

.story.first {
	font-size: 1.3em;
	margin-top: 0;
}	

.story h1{
  font-size:1.9em;
  margin: 0 0 0.5em -0.75em;
  padding-top: 0.4em;;
  font-weight:normal;
  border-top: 1px dotted #336699;
  line-height: 1.2em;
}

#content div.postlist.posts>h1 {
	font-variant: small-caps;
	font-size: 1em;
	font-weight: bold;
}

#content div.story span.meta {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #666;
	font-size: 0.7em;
	line-height: 0.7em;
}


.post .postlist a,
.story h1 a{
  text-decoration:none;
}

.story.first h1 {
	border: 0;
}
.posts .story h1{
	margin: 0;
}

.story .details{
  margin:1em 0;
  text-align:right;
  border-top:1px solid #333;
  padding:0.5em 0;
  font-size:0.95em;
}

.story .details a{
  text-decoration:none;
}

.more {
	border-top: 2px solid #336699;
}
div.col>div>h1,
.more h1,
div.widget h1 {
	font-size: 1.3em;
	padding-bottom: 0.5em;
	margin: 0;
	font-weight: bold;
	border-bottom: 1px dotted #336699;
}

.more .story {
	margin: 0 1em 0 0;
}

.more .story h2 {
	margin: 0;
	font-size: 1.25em;
	line-height: 1.2em;
	border-bottom: 1px dotted #336699;
}

#content div.widget ul {
list-style: none;
}

#content div.widget li:first-child {
	border: 0;
}

#content div.widget li {
	border-top: 1px dotted #336699;
}

#content div.widget li.tumblr_post {
	padding: 1em 0;
}
#content div.widget li.tumblr_post {
	margin: 0;
	padding: 1em 0;
}


#content div.widget,
#content .col>div {
	font-size: 0.7em;
	line-height: 1.5em;
}

#content .col p,
#content .col>div.posts p{
	line-height: 1.4em;
}


#content div.widget h1 {
	font-size: 1.3em;
}

#content div.widget h3 {
	line-height: 2em;
	margin: 0;
}

#content div.widget span.entry-content {
	display: block;
}

#content div.widget span.time-meta {
display: inline;
}

* html #content .secondary{ margin-right:4%; }

.secondary .featured p{
  border-bottom:1px solid #ccc;
  border-top: 1px solid #ccc;
  padding:0.5em 0 0.6em 0;
  line-height:1.5em;
  margin:1em 0 0 0;
}
.secondary .featured dl{
  margin:0 0;
  border-bottom:1px solid #ccc;
  padding:0.5em 0 0.6em 0;
}
.secondary dt{
  display:inline;
  margin:0;
  padding:0;
  color:#AAA;
}
.secondary dd{
  display:inline;
  margin:0;
  padding:0;
}

.single-post h1, .single-post h2{ margin-top:0; }

/*-----------------------------------------------------------------------------------------------
  Secondary Items
-----------------------------------------------------------------------------------------------*/

#secondary{
  padding:1px 2em;
}

.comment-head{
  border-bottom:1px solid #1C1C1C;
}
.comment-head h2{
  font-size:1.5em;
  margin:0;
}
.comment-head a{
  text-decoration:none;
}
.comment-head .details{
  font-size:0.95em;
}

ol#comments{
  list-style-type:none;
  margin:2em 0;
}
ol#comments li{
  list-style-type:none;
  margin:2em 0;
}

ol#comments li .avatar {
  border: 1px solid #222;
  padding: 2px;
}

#comments cite{
  float:left;
  width:31%;
  font-style:normal;
  text-align:right;
}
* html #comments cite{ width:30.6%; }
#comments cite span{
  display:block;
}
#comments cite span.avatarspan{ float: left; }
#comments cite .author{ font-size:1.2em; }
#comments cite .author a{
  text-decoration:none;
}
#comments cite .admin-tools{
  margin:5px 0;
}
#comments cite .admin-tools a{
  float:right;
  margin:0 5px;
  padding:0px 3px 3px;
  border:1px solid #999;
  text-decoration:none;
}
#primary .secondary .admin-tools{ margin:1em 0; }

#preview{
  margin:1em 0;
  padding:0.5em;
  border:1px solid #333;
}
#preview p{ margin:1em 0 0 0; }
#errors{ color:#FF0000; font-weight:bold; }

#comments .pingback cite .author{
  display:block;
  padding-top:68px;
  background:url(images/trackback_pingback.gif) 100% 0 no-repeat;
}

#comments .content{
  float:left;
  width:60%;
  margin-left:1.9%;
  border-left:1px solid #868686;
  padding: 0 0 0 2%;
}
#comments .content p{
  margin:0 0 1em 0;
}
#comments .content h3{
  margin:0;
  font-size:1em;
}

#comment-form{
  margin:5em 0 5em 35.4%;
  width:36em;
}
input.textfield{
  width: 15em;
  margin:5px 0;
}
textarea.commentbox{
  width:28em;
  height:10em;
  padding:0.25em;
  margin:5px 0;
  font-size:1.25em;
  font-family:Arial, Helvetica, sans-serif;
}

label.text{
  position:relative;
  left:0.5em;
  top:-0.5em;
}
.formactions input.submit{ 
  float:right; 
  margin:-1em 0 0 0;
  padding:0 0.5em;
}
.formactions .spinner{
  float:right;
  margin:-8px -20px 0 0;
}

/*-----------------------------------------------------------------------------------------------
  Ancillary Items
-----------------------------------------------------------------------------------------------*/

#bottom{
  padding: 1em 0 0 0;
}

#bottom div.col {
	width: 350px;
	float: left;
	border-left: 1px dotted #336699;
	padding: 0 0.5em 1em 0.5em;
	margin-bottom: 1em;
}
#bottom div.col:first-child {
	border: 0;
}

#bottom .widget {
	font-size: 0.7em;
	line-height: 1.5em;
}

#bottom div.widget>h1 {
	font-size: 1.3em;
	padding: 0.5em 0 0.5em 0;
}

#bottom .first, * html #ancillary .first{
  clear:both;
  margin:0;
}
#bottom .block-separator{
  clear:both;
  height:2.5em;
}

#bottom .block h2, #bottom .block h3{
  margin:0 0 0.5em 0;
}


div.textwidget {
	margin-bottom: 2em;
}

ul#twitter-list a{
  color:#858585;
  padding:0 1.5em 0 0;
}

ul.reader a {
	text-decoration: none;
}

ul#twitter-list a {
	display: block;
	text-align: right;
}

ul.counts .count{
  float:right;
  color:#858585;
}


ul.blogroll{ margin-top:0; }
ul.blogroll li{
  list-style-type:none;
  margin:0;
}

ul.pages ul{
  margin:0;
}
ul.pages ul li{
  border:none;
  margin-left:2em;
  list-style-type:square;
}
/*-----------------------------------------------------------------------------------------------
  Foooter
-----------------------------------------------------------------------------------------------*/

#footer{
  clear:both;
  color:#939393;
  margin: 0 0 1em 0;
  padding: 0.5em  0 0.5em 3em;
  border: 0;
}

#footer p{
  margin:0;
  font-size:0.95em;
}

#footer p.copyright{ 
	float:left; 
	font-size: 0.4em;
	background: url(images/logo-small.png) no-repeat;
	padding-left: 140px;
}

/*-----------------------------------------------------------------------------------------------
  Search
-----------------------------------------------------------------------------------------------*/

#search{
  float:right;
  width:200px;
  margin:0.5em 0 0 0;
  -moz-opacity:0.4;
  text-align:right;
}

body, html {
	margin: 0;
	padding: 0;
}
#search:hover{
  -moz-opacity:1.0;
}
#search .searchimg{
  float:left;
  width:14px;
  height:13px;
  background:url(images/search.gif) 0 0 no-repeat;
  position:relative;
  top:7px;
}
#search input{ 
  width:175px; 
  font-size: 0.85em; 
  background:#CCC;
  margin-top:2px;
}
#search input:focus{
  background:#FFF;
}

#searchform{
  margin:1em 0;
}

#searchform #s{
  background:#222;
  border:none;
  border-bottom:1px solid #333;
  width:30em;
  color:#666666;
  padding:0.25em;
}

#searchform #searchsubmit{
  background:#000;
  color:#666;
  border:none;
  font-size:0.9em;
  text-transform:uppercase;
  letter-spacing:0.25em;
}

/* Legacy Typo CSS */

#search-results{
  width:30%;
  background:#333;
  padding:0 0 0 0;
  float:right;
  -moz-opacity:0.9;
  border-top:1em solid #000;
}
#search-results h3{
  font-weight:bold;
  text-align:left;
  margin:0;
  padding:0 0 1em 0;
  background:#000;
  
}
#search-results small{
  display:block;
  text-align:left;
  font-size:0.9em;
  padding:0.5em 1em 0.7em 1em;
  border-top:1px solid #666;
  border-bottom:1px solid #555;
}
#search-results small a{
  color:#CCC;
}
#search-results ul li{
  list-style-type:none;
  padding:0 1em 0.5em 1em;
  margin:0.5em 0;
}
#search-results ul li:hover{
  background:#202020;
}
#search-result ul{ margin:0; }
#search-results ul li a{
  text-decoration:none;
  border-bottom:1px dotted #CCC;
}

#search img.archives-icon{
  margin:0 7px 0 0;
  top:1px;
}

img.centered, img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignright {
  padding: 4px;
  margin: 0 0 2px 7px;
  display: inline;
}

img.alignleft {
  padding: 4px;
  margin: 0 7px 2px 0;
  display: inline;
}

.alignright {
  float: right;
}

.alignleft {
  float: left;
}
.aligncenter, div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}



.story .details a:hover{
	text-decoration:underline;
}
.story .details{ border-top:1px solid #7F7F7F; }

.comment-head{
	border-bottom:1px solid #E3E3E3;
}




