/*  
Theme Name: AndePhotos
Theme URI: http://wordpress.org/
Description: The theme for andephotos.com.
Version: 1.0
Author: Adam Chew
Author URI: http://adamchew.com/

*/

/* JEFF'S CSS */
body,td,th {
	font-family: "Times New Roman", Times, serif;
	font-size: 12pt;
	color: #3D2421;
	line-height: 1.5em;
}

body {
	margin: 0;
	background: #EDE4D5 url(images/tile.jpg);
}

#banner {
	background: url(images/banner_bar_bg.gif) repeat-x;
	height: 67px;
}

#banner #logo {
	position: absolute; /* req'd for IE 6 & 7 */
	z-index: 1; /* req'd for IE 6 & 7 */
}

#banner #tag {
	font-family: Times, serif;
	font-size: 14pt;
	font-style: italic;
	letter-spacing: 1px;
	width: 27em;
	position: absolute;
	  top: 10px;
	  left: 290px;
	color: #EDE4D5;
	margin: 0; /* req'd for IE 6 & 7 */
}

#banner #by {
	font-family: Times, serif;
	font-size: 0.9em;
	font-style: italic;
	width: 13em;
	position: absolute;
	  top: 35px;
	  left: 320px;
	color: #EDE4D5;
	margin: 0; /* req'd for IE 6 & 7 */
}

#banner #aux_navbar {
	background: url(images/aux_navbar_blank.gif) no-repeat;
	height: 39px;
	width: 208px;
	position: absolute;
	  top: 43px;
	  right: 10px;
}

#banner #aux_navbar #events_label {
	background: url(images/label_events.png) no-repeat;
	background-position: center center;
	height: 12px;
	width: 49px;
	padding: 10px 15px;
	position: absolute;
	   left: 1px;
	   top: 2px;
}

#banner #aux_navbar #events_label:hover {
	background: url(images/label_events_u.png) no-repeat;
	background-position: center center;
	height: 12px;
	width: 49px;
	padding: 10px 15px;
	position: absolute;
	   left: 1px;
	   top: 2px;
}

#banner #aux_navbar #takeAction_label {
	background: url(images/label_takeAction.png) no-repeat;
	background-position: center center;
	height: 12px;
	width: 85px;
	padding: 10px 17px;
	position: absolute;
	   left: 82px;
	   top: 2px;
}

#banner #aux_navbar #takeAction_label:hover {
	background: url(images/label_takeAction_u.png) no-repeat;
	background-position: center center;
	height: 12px;
	width: 85px;
	padding: 10px 17px;
	position: absolute;
	   left: 82px;
	   top: 2px;
}

#map_top {
	background: url(images/map_top_bg.gif) no-repeat top center;
	height: 25px;
}

#navbar_container {
	text-align: center;
}

#navbar_container #navbar {
	background: url(images/navbar_blank.png) no-repeat top center;
	height: 33px;
	min-width: 48em;
}

#breadcrumb {
}

ul#sub_nav {
	padding-left: 25px;
	margin-left: 0px; /* req'd for IE 5 & 6 */
	width: 8em;
	position: absolute;
	  top: 180px;
	  left: 10px;
}

#sub_nav li {
	margin-bottom: 10px;
}

#content {
	background: url(images/africa_bg.jpg) no-repeat top center;
	min-height: 512px;
	padding: 10px;
}

#body_text {
}
	
#body_text_left {
	margin-right: 300px;
	min-width: 10em;
}

#body_text_right {
	position: absolute;
	top: 135px;
	left: 316px;
	padding-right: 20px;
	min-width: 10em;
}

#body_text_middle {
	margin-right: 227px;
	margin-left: 170px;
	min-width: 10em;
}

#body_text_middle p {
	margin-top: 0; /* req'd for IE 5 & 6 */
}

#blog {
	line-height: 1.4em;
}

#photo_content_left {
	position: relative;
	  top: 10px;
	width: 290px;
}

#photo_content_right {
	position: absolute;
	  top: 145px;
	  right: 10px;
	width: 280px;
}

#photo_gallery_right {
	position: absolute;
	  top: 195px;
	  right: 10px;
	width: 207px;
}

img.gallery_thumb {
	border-style: none;
}

.teaser {
	clear: left;
}

.teaser_photo {
	float: left;
	border-style: none;
	margin-right: 20px;
	margin-bottom: 20px;
}

.teaser_text {
}

.book_cover {
	float: left;
	border-style: none;
	margin-right: 20px;
	margin-bottom: 20px;
}


.enlargement_portrait {
	float: right;
	margin-left: 10px;
}


.enlargement_landscape {
	float: right;
	margin-left: 10px;
}


a:link {
	color: #990000;
}

a:visited {
	color: #660000;
}

a:hover {
	color: #660000;
}

a:active {
	color: #990000;
}

#navbar a {
	position: relative;
	  top: 3px;
	font-style: italic;
	font-size: 14pt;
	padding: 3px 24px;
}

#navbar a:link {
	text-decoration: none;
}

#navbar a:visited {
	text-decoration: none;
}

#navbar a:hover {
	text-decoration: underline;
}

#navbar a:active {
	color: green;
	text-decoration: none;
}

#sub_nav li a:link {
	text-decoration: none;
}

#sub_nav li a:visited {
	text-decoration: none;
}

#sub_nav li a:hover {
	text-decoration: underline;
}

#sub_nav li a:active {
	color: green;
	text-decoration: none;
}

a.current_page {
	font-weight: bold;
	color: #2E1B19;
}

img.nav_sep {
	vertical-align: middle;
}

h1 {
	font-size: 2em;
	letter-spacing: 0.2em;
	font-weight: normal;
}

h2 {
	font-size: 1.8em;
	letter-spacing: 0.2em;
	font-weight: normal;
	margin-bottom: 0.5em;
	text-align: left;
	line-height: 1.2em;
}

h3 {
	font-size: 1.5em;
	margin-bottom: 0.5em;
}

h4 {
	font-size: 1em;
	margin-bottom: 0;
}

h4.book_category {
	margin-bottom: 0.75em;
}

h5 {
	font-size: 1em;
}

h5.book_title {
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 120px;
	padding-bottom: 0;
	font-style: italic;
}

p.book_author {
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 120px;
}

p.book_desc {
	margin-top: 0;
	margin-left: 120px;
}

p.quote {
	font-weight: bold;
	font-style: italic;
}

p.copyright {
	font-size: .75em;
}

ul {
	margin-top: 0;
}

ul#sub_nav {
	margin-top: 1em;
}

/* WORDPRESS CSS */

/* Begin Typography & Colors */

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt {
	border-top: 3px dotted #DECFB0;
	border-bottom: 3px dotted #DECFB0;
	}

small {
	font-size: 0.9em;
	line-height: 1.5em;
	}

h2.pagetitle {
	font-size: 1.6em;
	}

#sidebar h2 {
	font-size: 1.2em;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	}

h2 a, h2 a:visited, h3 a, h3 a:visited {
	color: #990000;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p a:visited {
	color: #990000;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #3D2421;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #660000;
	text-decoration: none;
	}

a:hover {
	color: #990000;
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */

#sidebar {
	}

.narrowcolumn {
	float: right;
	padding: 0 0 20px 15px;
	margin: 0px 20px 0 25px;
		position: absolute;
	  top: 130px;
	  left: 200px;
	width:auto;

	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 10px 0 10px;
	width:auto;
	}

.post {
	margin: 0 0 40px;
	text-align: justify;
	border: #B2997A solid 1px;
	padding: 10px 20px 20px 20px;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
}

#footer {
	padding: 0;
	margin: 0 auto;
	width: 760px;
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
	
/* End Structure */



/*	Begin Headers */

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

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

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	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
	}
/* End Images */

/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 20px 10px 0;
	margin-left: 5px;
	width: 190px;
	}

#sidebar form {
	margin: 0;
	}
	
#sidebar h2 {
	font-size: 1.1em;
	}

#sidebar {
	font-size: .95em;
	}
/* End Sidebar */

/* Image behaviors */

a img,:link img,:visited img { border:none }

img.center, img[align="right"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.alignright, img[align="right"] {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft, img[align="left"] {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
	
/* End Image behaviors */

