/* 

Theme Name: All AJAX
Theme URI: http://digwp.com/
Description: Theoretical test of AJAXing a theme
Author: Chris Coyier 
Author URI: http://chriscoyier.net/ 

*/ 

/*
    RESET
*/
* { margin: 0; padding: 0; }
body {
	font-size: 14px;
	line-height: 1.5;
	font-family: Helvetica, Sans-Serif;
	color:#6E4722;
	background: #95754E url(images/background2.gif) repeat-x fixed left 50%;
}
.screen-reader-text { position: absolute; left: -9999px; }


/*
    TYPOGRAPHY
*/
a {
	color: #4F0000;
	outline: 0;
	font-weight: bold;
	text-decoration:none;
}
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-weight: 400; font-family: Arial, Helvetica, sans-serif; color:#6E4722;}
h1 { font-size: 28px; font-weight: 100; margin: 0 0 5px 0; }
h1 a { text-decoration: none; }
h2 { font-weight: 400; font-size: 22px; border-bottom: 1px solid black; margin: 0 0 5px 0; }
h3 { font-weight: 800; font-size: 18px; }

h5 { font-weight: 400; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }




/*
    BASIC STRUCTURE
*/
#page-wrap {
	width: 960px;
	margin: 40px auto;
	
	}
	#nofooter {
	width: 960px;
	border: 1px solid black;
	background:#fff url(images/linen.jpg) repeat-y;
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	}
#main-content {
	width: 882px;
	padding: 0 12px 0 12px;
	float: left;
	
}
#column-wrap { position: relative; overflow: hidden; }
#ajax-loader { position: absolute; display: none; top: 50px; left: 250px; }



/*
    HEADER
*/
#header { display:none; height: 160px; position: relative; }
#logo { display: block; }
#header p { position: absolute; right: 60px; top: 62px; width: 300px; text-align: right; }
#header h1 { font-size: 54px; position: absolute; left: 60px; top: 40px; }
#header h1 a { background: white !important; }




/*
    NAVIGATION
*/







/*
ADDITIONAL FOR DROPDOWNS
*/
#main-nav {
	margin: 0;
	padding: 0;
	font-size: .8em;
	position: relative;
	z-index: 50;
	text-transform: lowercase;
	font-weight: bold;
}
#main-nav li {
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
	list-style: none;
	border-right: 1px solid #666666;
	
}


/* main level link */
#main-nav a {
	font-weight: bold;
	color: #000000;
	text-decoration: none;
	display: block;
	padding:  8px 10px;
	margin: 0;
}
#main-nav a:hover {
	background: #CC9933;
	color: #fff;
}

/* main level link hover */
#main-nav .current a, #main-nav li:hover > a {
	color: #444;
	background: #CC9933;

}

/* sub levels link hover */
#main-nav ul li:hover a, #main-nav li:hover li a {
	background: #fff;
	border: none;
	color: #000000;	
}
#main-nav li:hover li a:hover {
	background: #FFFFE8;
}
#main-nav ul a:hover {
	color: #333 !important;
	background-color:#666;

}

/* dropdown */
#main-nav li:hover > ul {
	display: block;
}

/* level 2 list */
#main-nav ul {
	display: none;

	margin: 0;
	padding: 0;
	width: 185px;
	position: absolute;
	top: 33px;
	left: 0;

	
}
#main-nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}

#main-nav ul a {
	font-weight: bold;
	
}

/* level 3+ list */
#main-nav ul ul {
	left: 181px;
	top: -3px;
}

/* rounded corners of first and last link */
#main-nav ul li:first-child > a {
	
}
#main-nav ul li:last-child > a {
	
}

/* clearfix */
#main-nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#main-nav {
	display: inline-block;
} 
html[xmlns] #main-nav {
	display: block;
}
 
* html #main-nav {
	height: 1%;
}
/* END OF DROPDOWN CRAP */


/*
    SEARCH FORM
*/
#searchform { margin: 30px 0; border-top: 1px solid black; border-bottom: 1px solid black; }
#s { width: 217px; border: 0; font-style: italic; font-size: 15px; padding: 8px; }
#searchsubmit { border-left: 1px solid black; font-size: 14px; border-top: 0; border-right: 0; border-bottom: 0; background: white; padding: 8px; }
#searchsubmit:hover { background: #eee; }




/*
    SIDEBAR
*/
#sidebar { width: 180px; float: right; text-align: center; padding: 0 0 20px 0; }
#sidebar h3 { border-bottom: 1px solid black; margin: 40px 0 0 0; }

.widget_categories { overflow: hidden; }
.widget_categories ul { list-style: none; }
.widget_categories ul li { display: inline; }
.widget_categories ul li a { float: left; display: block; width: 139px; border-bottom: 1px solid black; text-decoration: none; }
.widget_categories ul li:nth-child(odd) a { border-right: 1px solid black; }

.widget_tag_cloud { overflow: hidden; }
.widget_tag_cloud a { float: left; display: block; width: 139px; border-bottom: 1px solid black; text-decoration: none; font-size: 14px !important; }
.widget_tag_cloud a:nth-child(even) { border-right: 1px solid black; }


.widget_links ul { list-style: none; }
.widget_links ul li a { border-bottom: 1px solid black; display: block; text-decoration: none; }

.widget a:link:hover, .widget a:visited:hover { background: #eee; }






/*
    POSTS
*/
.meta { font-size: 12px; text-transform: uppercase; position: relative; border-top: 1px solid black; border-bottom: 1px solid black; padding: 2px 0; margin: 0 0 20px 0; padding-right: 150px; }
.meta span { position: absolute; right: 0; top: 1px; }
.meta a { text-decoration: none; }
.meta a:hover { text-decoration: underline;}

/*.article-content p:first-child:first-letter { font: 50px/1 Georgia, Serif; float: left; margin: 0 5px 1px 0; }
*/
.article-content blockquote p:first-child:first-letter { font: 14px Helvetica, Sans-Serif; float: none; margin: 0; }
.article-content p {
	margin: 8px 0 8px 0;
}
.article-content ul, .article-content ol { margin: 0 0 10px 20px; }
.article-content ul ul, .article-content ol ol { margin-top: 5px; }
.article-content li { margin: 0 0 5px 0; }
.article-content code { font: 12px Monaco, Courier, Sans-Serif; }
.article-content pre { border: 1px solid black; padding: 10px; margin: 0 0 15px 0; }

.post { margin: 30px 40px 30px 0; clear:both;}



/*
    PAGINATION
*/
.pagination { overflow: hidden; }
.pagination .newer { float: right; }
.pagination .older { float: left; }




/*
    COMMENTS
*/
ol.commentlist { list-style: none; }
ol.commentlist li { }
ol.commentlist li.alt { }
ol.commentlist li.bypostauthor { }
ol.commentlist li.byuser { }
ol.commentlist li.comment-author-admin {}
ol.commentlist li.comment { border-bottom: 1px solid black; padding: 10px 10px 25px 10px; position: relative; font-size: 12px; }
ol.commentlist li.comment div.comment-author { }
ol.commentlist li.comment div.vcard { margin: 0 0 5px 0; font-size: 15px; }
ol.commentlist li.comment div.vcard cite.fn { font-style:normal; }
ol.commentlist li.comment div.vcard cite.fn a.url {}
ol.commentlist li.comment div.vcard img.avatar { border: 1px solid black; float: right; margin: 0 0 15px 15px; padding: 5px; }
ol.commentlist li.comment div.vcard img.avatar-32 { }
ol.commentlist li.comment div.vcard img.photo { }
ol.commentlist li.comment div.vcard span.says { }
ol.commentlist li.comment div.commentmetadata { position: absolute; top: 10px; right: 60px; }
ol.commentlist li.comment div.comment-meta { font-size:9px; }
ol.commentlist li.comment div.comment-meta a { color:#ccc; }
ol.commentlist li.comment div.comment-meta a:hover { color: black; }
ol.commentlist li.comment p {  margin: 0 0 0 10px 0; }
ol.commentlist li.comment ul, ol.commentlist li.comment ol { margin: 0 0 15px 20px; }
ol.commentlist li.comment div.reply { font-size:11px; position: absolute; bottom: 5px; right: 10px; }
ol.commentlist li.comment div.reply a { }
ol.commentlist li.comment ul.children { list-style: none; margin:1em 0 0; text-indent:0; }
ol.commentlist li.comment ul.children li { }
ol.commentlist li.comment ul.children li.alt { }
ol.commentlist li.comment ul.children li.bypostauthor { }
ol.commentlist li.comment ul.children li.byuser { }
ol.commentlist li.comment ul.children li.comment { }
ol.commentlist li.comment ul.children li.comment-author-admin { }
ol.commentlist li.comment ul.children li.depth-2 { border-left:5px solid #ccc; margin:0 0 .25em .25em; }
ol.commentlist li.comment ul.children li.depth-3 { border-left:5px solid #999; margin:0 0 .25em .25em; }
ol.commentlist li.comment ul.children li.depth-4 { border-left:5px solid #bbb; margin:0 0 .25em .25em; }
ol.commentlist li.comment ul.children li.depth-5 { }
ol.commentlist li.comment ul.children li.odd { }
ol.commentlist li.even {  }
ol.commentlist li.odd { }
ol.commentlist li.parent { }
ol.commentlist li.thread-alt { }
ol.commentlist li.thread-even { }
ol.commentlist li.thread-odd { }

#commentform { }
#commentform div { margin: 0 0 5px 0; }
#commentform input[type=text] { border: 1px solid black; font: 12px Helvetica, Sans-Serif; padding: 3px; }
#commentform #submit { border: 1px solid black; padding: 4px; background: white; font: 14px Helvetica, Sans-Serif; }
#commentform #submit:hover { background: #eee; }
#commentform textarea { width: 400px; padding: 3px; border: 1px solid black; }

/*
    FOOTER
*/
#footer {
	clear: both;
	padding: 20px 20px;
	color: #F6F6F0;
}
#footer h3 {
	color: #F6F6F0;
	font-size: 1.2em;
	text-align: center;
}



.alignright { float:right; margin: 20px; 
-webkit-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	}
	.alignleft { float:left; margin: 20px; 
-webkit-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	}
blockquote {
	font-style: italic;
	color: #666666;
	margin-left: 20px;
}

.wp-caption {
	background-color:#FAF6EA;
	padding: 5px;
	border:solid 1px #999999;
	font-size: 0.8em;
	font-style: italic;
	text-align: center;
	margin-bottom: 25px;
}
img.alignright {
border: 1px solid black;
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	}
	
.wp-caption img {
	margin:0px auto;
	}
	
p.wp-caption-text  { margin:0; padding:0; }
#imageContainer { position: relative; z-index:1000; }

a:visited {color:#6E4722; }
.googleMap {
	border: 2px solid #723A15;
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	box-shadow: 5px 5px 5px rgba(0,0,0, .3);
	margin-top: 10px;
	margin-right: auto;
	margin-left: auto;
}
.page h1 {
	text-transform: lowercase;
}
.page-id-63 .article-content > p, .page-id-63 .article-content > h3 { width: 470px; margin-left: 230px;  }

.parent-pageid-7 .page h1 {
	font-size: 1.5em !important;
	margin-bottom: 0;
}

.page-id-19 .article-content ul {width: 400px; }
.recommend .sociable { float:left; }
.article-content .sociable { float:right; }

div.recommend {width: 335px; float:right }
#footer h3 a, #footer h3 a:visited {
	color:#F0F0D5;
}
div.recommend a, div.recommend a:link, div.recommend a:visited, div.recommend a:hover { border:none !important; color:#6E4722 !important; }

div.TA_excellent {float:right;}

.page-id-3 .article-content p, .page-id-3 .article-content h4 {float:left; }

div#myGallery_1 {
	width: 650px;
	height: 400px;
	
	float:right;
	
}

.page #sidebar {display: none;}
.blog #sidebar, .single #sidebar, .archive #sidebar {display: block; margin-right: 60px; }

.blog #main-content, .single #main-content, .archive #main-content {width: 650px; float:left; margin-left: 30px; }


.post h1 {
	font-size: 1.5em;
}
body.page-template-template-home-php .article-content {width: 229px;  float:left; display:inline-block; margin-top: 20px;}

body.page-template-template-home-php div#myGallery_1 {
	width: 650px;
	height: 400px;
	margin-top: 20px;
	margin-bottom: 20px;
	float:right;
	display:inline-block;
}

