/*
Theme Name: ecommr
Theme URI: http://ecommr.com
Description: Theme for ecommr
Version: 1.0
Author: Tom Sullivan
Author URI: http://robotictom.com/

*/

/* base style reset 
---------------------------------------------------- */

html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0;}
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th { font-size: 1em; font-weight: normal; font-style: normal; }
ul,ol { list-style: none; }
fieldset,img { border: none; }
caption,th { text-align: left; }
table { border-collapse: collapse; border-spacing: 0; }
a { outline: none; }

/* general style
---------------------------------------------------- */

body {
	font: 70% Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
	background: #e3e7ef url("images/bg_gradWhite.png") repeat-x;	
	border-top: 5px solid #e3e7ef;
	color: #282A28;
}

form {
	margin: 0;
	padding: 0;
}

a:link,
a:visited {
	color: #092767;
	text-decoration: none;
}

a:hover,
a:active {
	color: #BC0633;
	text-decoration: underline;
}

li.flickr a,
div.commentAuthor a,
div.commentTitle a,
div.page a {
	background: #e3e3e3;
}

li.flickr a:hover,
div.commentAuthor a:hover,
div.commentTitle a:hover,
div.page a:hover {
	background: #BC0633;
	color: #fff;	
}

h3 {
	background: #282A28;
	color: #FFF;
	padding: 10px 5px 5px;
	text-transform: uppercase;
	margin-left: -5px;
	font-size: 1.4em;
	margin-bottom: 15px;
}

h4, h5, h6 {
	margin: 10px 0;
	color: #282a28;
}

h1 a {
	font-size: 4.0em;
	/* background: transparent url("images/logo.png") no-repeat; */
	display: block;
	color: #4f4f4f;
}

h2 {
	font-size: 1.6em;
	margin-top: 10px;
}

h4 {
	font-size: 1.4em;
}

h5, h6 {
	font-size: 1.2em;
}

p {
	margin-bottom: 10px;
}

blockquote {
	padding: 0 25px;
	border-left: 5px solid #b50606;
	margin: 0 15px;
}

/* layout
---------------------------------------------------- */

div#pageWrapper {
	width: 990px;
	margin: 0 auto;
	background: #fff;
	border: solid #ccc;
	border-width: 0 1px;	
}

div#header {
	padding: 25px 0 15px;
	margin: 0 15px 15px;
	background: url("images/dotted.png") bottom left repeat-x;
	color: #4f4f4f;	
}

div.logoContainer {
	float: left;
}

div#nav {
	float: right;
	font-size: 1.3em;
}

div#nav ul li {
	float: left;
	padding-left: 5px;
}

div#nav ul li a {
	background: #e3e3e3;
	text-transform: uppercase;
	padding: 5px 10px;
	display: block;
}

div#nav ul li a:hover {
	background: #BC0633;
	color: #fff;
}

div#nav ul li.rss a {
	background: #fff;
	padding: 0;
}

div#content {
	clear: left;
	width: 725px;
	float: left;
	padding: 0 15px 25px;
}

div#sidebar {
	width: 205px;
	padding: 0 15px;
	float: left;
	background: url("images/dottedVert.png") bottom left repeat-y;
}

/* index content
---------------------------------------------------- */

div.page h2,
h2.pagetitle {
	background: #282A28;
	color: #FFF;
	padding: 10px 5px 5px !important;
	text-transform: uppercase;
	margin-left: -5px;
	margin-top: 0;
}

div#intro {
	width: 347px;
	float: left;
	margin-bottom: 15px;	
	margin-right: 15px;
}

li.flickr p,
div#intro p {
	line-height: 1.2em;
	font-size: 1.1em;
	padding-right: 10px;
}

li.flickr p {
	margin-bottom: 15px;
}

div#featured { 
	float: left;
	width: 348px;
	padding-right: 15px;
}

div#featured dl {
	text-align: center;
}

div#featured dl dt {
	margin-bottom: 10px;
}

div#featured dl dd.title {
	margin-bottom: 5px;
}

#recent {
	clear: both;
	margin-top: 15px;
}

/* the entry
---------------------------------------------------- */

div.post {
	padding: 0 0 15px;
	margin: 0;
	background: url("images/dotted.png") bottom left repeat-x;
}

div.post h2 {
	background: #282A28;
	color: #FFF;
	padding: 10px 5px 5px !important;
	margin: 0 0 15px -5px;
	text-transform: uppercase;
}

div.post h2 a {
	color: #FFF;
}

h4.title {
	font-size: 1em;
}

div.entry {
	text-align: center;
	padding: 0 0;
}

div.entry div.action {
	padding: 10px 0 0;
	color: #666;
	font-size: 1.2em;
}

div#featured img,
div.entry img,
ul.archiveIndex li img {
	border: 10px solid #F2F1F5;
}

div#featured a:hover img,
div.entry a:hover img,
ul.archiveIndex li a:hover img {
	border: 10px solid #BC0633;
}

p.larger {
	font-size: 1.2em;
	color: #;
}

ul.postInfoData,
div.commentLinks {
	background: url("images/dotted.png") top left repeat-x;
	padding: 15px 0 0;
	margin: 15px 0;
	font-size: 1.1em;
	line-height: 1.5em;
	color: #666;
}

div.commentLinks {
	background: 0;
	padding-top: 0;
}

ul.postInfoData a {
	text-transform: uppercase;
}

div.navigation {
	clear: left;
	padding: 15px 0 0;
	margin: 15px 0 0;
	font-size: 1.2em;
}

div.navigation div.alignleft {
	float: left;
}

div.navigation div.alignright {
	float: right;
}

div.postAdvertising {
	background: url("images/dotted.png") top left repeat-x;
	padding: 15px 0;
	margin: 0 0 15px;
	text-align: center;
}

div.indexAdvertising {
	background: url("images/dotted.png") top left repeat-x;
	padding: 15px 0 0;
	margin: 15px 0;
	text-align: center;
}

#recentComments {
	color: #666;
	font-size: 1.1em;
}

#recentComments li {
	float: left;
	height: 170px;
	width: 160px;
	margin: 5px 2px;
	padding: 5px 5px;
	background: url("images/dotted.png") bottom left repeat-x;	
}

#recentComments .recent-excerpt {
	margin: 10px 0;	
	height: 100px;
	color: #000;
}

#recentComments .recent-meta {
	margin-top: 5px;
	font-size: 0.9em;
}

/* comments
---------------------------------------------------- */

div#commentContainer {
	margin: 15px 0;
}

ol#commentlist li {
	background: url("images/dotted.png") bottom left repeat-x;
	padding: 15px 0;
	border-width: 0 0 1px;	
}

.authcomment {
	background-color: #D5E6F1 !important;
}

dl.comment dt,
dl.comment dd {
	float: left;
}

dl.comment dt {
	width: 160px;
	text-align: right;
}

dl.comment dt div {
	margin-bottom: 10px;
}

dl.comment dt div.name {
	font-size: 1.2em;
}

dl.comment dt div.id {
	font-size: 2em;
	color: #ccc;
	margin: 20px 0 0;
}

div.commentInformation {
	color: #666;
	background: url("images/dotted.png") top left repeat-x;
	padding: 15px 0;
	font-size: 1.2em;
}

div.commentInformation span.date,
div.commentInformation span.time {
	color: #000;
}

dl.comment dd {
	width: 480px;
	margin: 0 0 0 30px;
}

dl.comment dd div.commentText {
	font-size: 1.2em;
}

dl.comment img.avatar {
	border: 1px solid #ccc;
}

div#commentForm dl dt,
div#commentForm dl dd {
	margin: 5px 0;
}

div#commentForm dl dt {
	color: #666;
	font-size: 1.2em;
}

div#commentForm input {
	width: 300px;
}

div#commentForm textarea {
	width: 500px;
	margin: 10px 0 0;
}

div.formControls input {
	border: 1px solid #666;
	padding: 5px 10px;
	margin: 10px 0 0;
	width: 150px !important;
}

div.loggedIn {
	font-size: 1.2em;
	color: #666;
}

p.noComments {
	font-size: 1.2em;
	color: #666;
	margin: 15px 0;
}

/* sidebar
---------------------------------------------------- */

div#sidebar {
	padding-bottom: 25px;
}

div.archives {
	float: left;
	width: 350px;
	margin: 0 5px;
}

div.archives ul,
li.archives ul {
	line-height: 1.4em;
	font-size: 1.1em;
}

div.archives ul li ul,
li.archives ul li ul {
	padding-left: 5px;
	font-size: 1em;
	margin-bottom: 10px;	
}

div.archives ul li ul a,
li.archives ul li ul a {
	padding-left: 12px;
	background: url("images/bullet_off.png") no-repeat 0 5px;	
}

div.archives ul li ul a:hover,
li.archives ul li ul a:hover {
	background: url("images/bullet_on.png") no-repeat 0 5px;	
}

li.advertising {
	background: url("images/dotted.png") top left repeat-x;
	padding: 15px 0;
	margin: 15px 0;	
	text-align: center;
}

#tagCloud {
  clear: left;
}

div.st-tag-cloud {
	text-align: center;
}

/* grid layout for small images
---------------------------------------------------- */

ul.archiveIndex {
	margin: 0 14px;
}

div#featured ul li,
ul.archiveIndex li {
	float: left;
	height: 170px;
	width: 170px;
	text-align: center;
	margin: 0 2px;
	padding: 5px 0 10px;
	margin-bottom: 5px;
	background: url("images/dotted.png") bottom left repeat-x;	
}

div#featured ul li {
	height: 225px;
	background: 0;
	padding-bottom: 0;
}

/* pages 
---------------------------------------------------- */

div.page div.entry {
	padding: 10px 0;
}

div.page div.entry p {
	line-height: 1.4em;
	font-size: 1.2em;
	margin-bottom: 10px;
	text-align: left;
}

div.page h4 {
	text-transform: uppercase;
	background: url("images/dotted.png") top left repeat-x;	
	padding-top: 15px;
	margin-top: 10px;
}

div.page h4.intro {
	background: none;
	padding-top: 0;
	margin-top: 0;
}

div.archiveDescription {
	margin: 15px 0;
	padding: 0 0 15px;
	line-height: 1.5em;
	font-size: 1.2em;
	background: url("images/dotted.png") bottom left repeat-x;	
}

/* footer
---------------------------------------------------- */

div#footerWrapper {
	padding: 35px 0;
	background: #C7C7C7;
	color: #616161;
	clear: left;
	border-top: 5px solid #999;
}

div#footer {
	width: 975px;
	margin: 0 auto;
	text-align: center;
	font-size: 1.2em;
}

/* lightbox
---------------------------------------------------- */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ }
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }


/* self clearing floats
---------------------------------------------------- */

div#pageWrapper:after,
div#header:after,
div.navigation:after,
dl.comment:after {
	  content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
