/*
Theme Name: Good News for Adventists
Description: Custom Wordpress Theme
Author: Matthew Rochow
Author URI: http://www.matthewrochow.com
*/

/* Reset */
a, abbr, acronym, address, area, b, bdo, big, blockquote, body, button, caption, cite,
code, col, colgroup, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4,
h5, h6, hr, html, i, images, ins, kbd, label, legend, li, map, object, ol, p, param, pre,
q, samp, small, span, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead,
tr, tt, ul, var {margin:0;padding:0;vertical-align:baseline}

/* Defaults */
:focus {outline:0}
a, a:visited {color:#069}
a:hover {}
abbr, acronym, dfn {border-bottom:1px dotted;cursor:help}
blockquote {}
blockquote p {margin:.5em}
body {background:#FFF;color:#000;font:75%/125% Arial, Sans-Serif}
code, pre {font-size:1em}
del {text-decoration:line-through}
dfn {font-style:italic;font-weight:bold}
dt {font-weight:bold}
dd {margin:0 0 1em 10px}
em {font-weight:bold}
fieldset {border:0}
fieldset p {margin:0 0 5px}
img {border:0;vertical-align:bottom}
ins {text-decoration:none}
h1 {color:#1e1f36;font:bold 1.285em/1.25em Arial, Sans-Serif;margin:10px 0 0 10px;text-transform:uppercase}
h2 {color:#333;font:bold 1.145em/1.25em Arial, Sans-Serif;margin:0 0 5px}
h3 {color:#333;font:bold 1em/1.25em Arial, Sans-Serif;margin:0 0 5px}
strong {color:#a33a58}
h4 {font:bold 0.75em/1.25em Arial, Sans-Serif;}
hr {margin:0 0 0.5em}
p {margin:0 0 1em}
ul, ol {list-style:none;margin:0 0 1em}
textarea {font:1em Arial;overflow:auto}
tt {display:block;margin:0.5em 0;padding: 0.5em 1em}
th {background:#EEE;border:solid #CCC;border-width:1px 0 0 1px;padding:3px}
td {border:solid #CCC;border-width:1px 0 0 1px;padding:3px}
table {border:solid #CCC;border-width:0 1px 1px 0;margin:0 0 1em}

/* Containers */
#page {font-size:1.165em; margin:20px auto;width:783px}
#main {background: url(images/bg.gif) center repeat-y;overflow:hidden;padding:7px 0;position:relative;width:783px}

/* Header */
#header {overflow:hidden;width:100%}
#header #logo {color:#09C;font:italic bold 2.25em/1.2em Georgia, Garamond, Serif}

/*Left Sidebar*/
#left-sidebar {float:left;padding: 0 7px 0 10px;width:168px}
#left-sidebar ul#nav {float:left;list-style:none;margin:0;padding: 0 0 12px;width:168px}
#left-sidebar ul#nav li {border-bottom:1px dotted #000;float:left;padding:0;position:relative;width:168px}
#left-sidebar ul#nav li li {border:0}
#left-sidebar ul#nav li a {color:#462F00;display:block;float:none;font-weight:bold;padding:4px 17px 6px 12px;text-decoration:none}
#left-sidebar ul#nav li li a {font-weight:normal;padding:4px 17px 4px 20px}
#left-sidebar ul#nav a:hover, #left-sidebar ul#nav a:focus {text-decoration:underline}
#left-sidebar ul#nav li.current_page_item {background:#ffff99}

	/*Left Sidebar Search*/
	#left-sidebar form {float:left;padding: 15px 0;width:168px;}
	#left-sidebar form label {color:#333;font:1em Arial, Sans-Serif}
	#left-sidebar form input {font:1em Arial, Sans-Serif}
	#left-sidebar form input#s {background:#fff;border: 1px solid #CCC;color:#666;padding: 3px 5px;width:156px}
	#left-sidebar form input#searchsubmit {background:#462F00;border:0;color:#fff;font-weight:700;height:26px;width:46px}
	
/* Content*/
#content {background:url(images/dove.png) center bottom no-repeat;float:left;min-height:500px;overflow:hidden;padding:5px 16px 20px;width:554px}
* html #content {height:auto!important;height:500px;overflow:visible}
#content h1 {margin:0;padding:0 0 12px 0;}




	/* Post */
	#content .post {padding:5px 0 10px;margin:0 0 25px}
	#content .post .meta {font-size:0.8em}
	#content .post ul {list-style:disc;margin:0 0 1em 18px}
	#content .post ol {list-style:decimal;margin:0 0 1em 22px}
	#content .post h2 a {color:#3d9797;}
	
	/*Featured*/
	#content .featured {background:url(images/featured.png) center repeat-y; margin: 0 auto;padding:0;width:415px}
	#content .featured div {background:url(images/featured.png) left top no-repeat; margin: 0 auto;padding:0;width:415px}
	#content .featured div div {background:url(images/featured.png) right bottom no-repeat; margin: 0 auto;padding:10px 0;width:415px}
	#content .featured div div div{background:none; margin: 0 auto;padding:10px 15px;width:385px}
	#content .featured blockquote#good-news {background:url(images/good-news.jpg) top left no-repeat;color:#333;font-weight:700;height:72px;margin: 0 0 0 12px;padding:24px 10px 20px 210px}
	#content .featured cite {display:block;font-style:normal}

	/*Latest Edition*/
	#latest-edition {margin: 20px auto 0 -10px;overflow:hidden;padding:10px;}
	#latest-edition h2 {padding: 0 0 10px}
	#latest-edition a.read {background:url(images/button.png) left no-repeat;color:#fff;display:block;float:left;font-weight:700;height:21px;padding: 6px 0 0 8px;text-decoration:none;width:125px}
	
	/*Online Shop Styles*/
        div.paginate p {font-size:.915em}
        ul.eshopsubpages li {font-size:.915em;line-height:18px;overflow:hidden;position:relative;width:100%}
        ul.eshopsubpages li a.itemref {color:#00666B;font-size:1em; text-decoraton:none}
        ul.eshopsubpages li a.itemref:hover {color:#00666B;font-size:1em; text-decoraton:underline}
        ul.eshopsubpages li a.itemref img{background:#fff;border: 1px solid #00666B;margin: 8px 0 8px 8px;padding: 4px;float:right}

		#content ul.subpages, #content #articles  {list-style:none;margin:0 0 1em}
		#content ul.subpages li a, #content #articles li a {background:#DCFFB5;border-bottom:1px dotted #DBC79F;color:#333;display:block;padding:3px;text-decoration:none}
		#content ul.subpages li a:hover, #content #articles li a:hover {background:#DBC79F;color:#FFF}

		
/* Pagination */
#prev-next {list-style:none}
#prev-next #prev {float:left}
#prev-next #next {float:right}

/* Sidebar */
#sidebar {float:left;padding:20px 0 20px;width:143px}
#sidebar ul {list-style:none;margin:0 0 1em 13px}
#sidebar ul ul {list-style:none;margin:0 0 1em}
#sidebar h3 {font-weight:400;padding: 0 0 10px}
#sidebar ul li a {color:#676767;text-decoration:none}
#sidebar ul li ul li {background:url(images/bullet.gif) left 6px no-repeat; padding:0 0 0 9px}

	/*For Kids*/
	#for-kids { background:url(images/for-kids.png) center repeat-y;margin: 20px 0 0 -6px; width:157px}
	#for-kids div {background:url(images/for-kids.png) left top no-repeat; width:157px;}
	#for-kids div div {background:url(images/for-kids.png) right bottom no-repeat;padding:60px 15px 70px 25px; width:117px;}
	#for-kids div div div {background:none;padding:0; width:117px;}

/* Footer */
#footer {background:url(images/footer.png) top no-repeat;clear:both;color:#676767;height:1%;margin: 0 auto;padding:10px 10px;overflow:hidden}
#footer p {text-align:center}
#footer ul {float:right;list-style:none}
#footer ul li {display:inline;margin:0 0 0 20px}

/* Image Alignment */
img.centered {display:block;margin-left:auto;margin-right:auto}
img.alignright {display:inline;margin:0 0 2px 7px;padding:4px}
img.alignleft {display:inline;margin:0 7px 2px 0;padding:4px}
.alignright {float:right}
.alignleft {float:left}

/* Comments */
#comments #commentlist {list-style:none;margin:0 0 1em;padding:0;text-align:justify}
#comments #commentlist li {list-style:none;margin:15px 0 3px;padding:5px 10px 3px}
#comments #commentlist li.alt {background:#EEE}
#comments #commentlist li .avatar {background:#fff;border:1px solid #eee;float:right;padding:2px}
#comments #commentlist cite, #commentlist cite a {font-style:normal;font-weight:bold}
#comments #commentlist p {margin:10px 5px 10px 0}
#comments #commentmetadata {font-weight:normal}
#comments #commentform input.input {border:1px solid #CCC;font-size:1.1em;margin:5px 5px 1px 0;padding:2px;width:170px}
#comments #commentform input.input:hover {background:#EEE}
#comments #commentform textarea {border:1px solid #CCC;padding:2px;width:98%}
#comments #commentform textarea:hover {background:#EEE}
#comments #commentform #submit {}
#comments #commentform p {margin:0 0 .5em}
#comments #allowed-tags strong {display:block}
#comments .nocomments {margin:0;padding:0;text-align:center}
#comments .commentmetadata {display:block;margin:0}