/*
Theme Name: Sojourn
Theme URI: http://mikenymanphotography.com/
Description: Modified from Kubrik, originally for Salem Covenant Church's Secret Sojourn 2008
Version: 2.0
Author: Mike Nyman
*/

body {
background-color:#FFF;
border:1px solid #000;
font-family:Helvetica, sans-serif;
font-size:small;
line-height:1.4em;
margin:10px auto;
padding:0;
width:1000px;
}

#page {
background:url(images/page-background2.png) 0 0 repeat-y;
background-color:#DAE9FF;
}

#skipnav {
left:-5000px;
position:absolute;
}

img {
border:1px solid black;
}

/*
.entry img {
border:1px solid #000;
float:right;
margin:0 0 20px 20px;
}
*/

.attachment img,.smallattachment img {
float:none;
margin:0 20px 20px 0;
}

div.alignright {
display:block;
float:right;
margin:0 0 1em 1em;
padding:0;
text-align: center;
}

div.alignright img {
margin:0 0 .5em;
}

img.alignright {
display:block;
float:right;
margin:0 0 1em 1em;
padding:0;

}

p.wp-caption-text {
margin:0;
padding:0;
text-align:center;
}

#sidebar {
background-color:#EBF3FF;
color:#000;
float:left;
padding:20px 0 10px 20px;
position:relative;
text-align:center;
width:240px;
}

#sidebar ul {
display:block;
margin-left:2px;
padding:0;
text-indent:0;
}

#sidebar li {
clear:left;
display:block;
list-style:none;
margin-top:0;
}

#sidebar li#linkcat-47,#sidebar li#linkcat-48 {
margin-top:40px;
}

input#s {
background-color:#ccc;
border:1px solid #000;
margin:0;
}

li#search {
margin-bottom:0;
width:100%;
}

#content {
background-color:#A3C8FD;
border-left:1px solid #000;
color:#000;
margin:0 0 0 260px;
padding:10px 20px;
text-align:left;
}

.post h2,.post h3 {
background-color:#476DA6;
clear:right;
color:#FFF;
font-size:1.5em;
margin:-10px -20px -3.5em -10px;
padding:1em;
z-index:2;
}

#wp_page .post h2,#wp_page .post h3 {
margin-bottom: 0em;
}

h3.chapter {
color:#ddd;
margin-bottom:0;
margin-top:0;
}

p.timestamp {
color:#fff;
display:block;
margin-left:400px;
position:relative;
right:-1em;
text-align:right;
top:2.5em;
z-index:1;
}

p.postmetadata {
margin-bottom:2em;
margin-top:2em;
text-align:center;
}

p.postmetadata.alt {
background-color:transparent;
text-align:left;
}

#footer {
background-color:#476DA6;
clear:both;
color:#FFF;
margin:0;
padding:0;
text-align:center;
}

#footer p {
display:block;
margin:0 auto;
padding-top:1em;
text-align:center;
}

#footer ul {
margin:0;
padding:0 0 1em;
text-align:center;
text-indent:0;
}

#footer li {
display:inline;
margin:0;
padding:0 1em;
}

/* CATEGORY PAGES */

h2.pagetitle {
color:#000;
font-size:2em;
margin:.25em 0 1em;
text-align:center;
}

/*ENTRY NAVIGATION */

div.navigation {
clear:right;
color:#000;
font-size:1.5em;
line-height:2em;
margin:.25em 0 .5em;
text-align:center;
}

div.prev_link,div.next_link {
height:2em;
overflow:hidden;
}

div.prev_link {
float:right;
line-height:2em;
margin:0 0 .75em;
text-align:right;
width:45%;
}

div.next_link {
text-align:left;
width:45%;
float:left;
}

div.entry {
margin-top:3.5em;
}

li p.timestamp {
color:#000;
margin-bottom:0;
}

/*
table {
background:#FF0;
border:1px solid #000;
margin:0 auto;
text-align:center;
width:60%;
}

th {
padding:5px;
width:25%;
}

td {
background:#e0e0e0;
border:1px solid #000;
padding:0;
text-align:center;
vertical-align:top;
}
*/


div.video {
background:#DAE9FF;
border:1px solid #000;
margin:0 auto;
padding:4px;
text-align:center;
width:425px;
}


/*COMMENT FORMATTING*/

ol.commentlist, ol.commentlist ul.children {
list-style:none;
padding:0;
}

.commentlist li {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0 -20px;
padding:0 2em;
}


.commentlist li>div {  /* Places a dashed line above each comment */
border-top:1px dashed gray;
margin:0 -26px;
padding:1em 2em;
}

.commentlist li.depth-1>div, div#respond h3 {  /* Places a solid line above first comment of thread */
border-top:1px solid black;
}

div#respond h3 {  /* Closes the final comment with a solid line */
margin:-13px -20px 0;
padding:1.5em 1.5em 0;
}

div.post+div#respond h3 {  /* Removes solid line when there are no comments */
border-top:0;
}

.commentlist li.depth-2>div{  /* Indents nested comments */
margin:0 -32px;
padding:1em 2em 1em 6em;
}

.commentlist li.depth-3>div{  /* Indents nested comments */
margin:0 -38px;
padding:1em 2em 1em 10em;
}

.commentlist li.depth-4>div{  /* Indents nested comments */
margin:0 -44px;
padding:1em 2em 1em 14em;
}



li.thread-even div {
background-color:#bed3f1;
}

.commentlist div.comment-author vcard, .commentlist div.comment-meta, .commentlist div.reply {
border:0;
}






.previmage {
clear:right;
float:right;
margin-top:10px;
text-align:center;
width:142px;
}

.nextimage {
float:right;
margin-top:-10px;
text-align:center;
width:142px;
}

.previmage img,.nextimage img {
height:120px;
margin:5px 10px 10px;
padding:0;
width:120px;
}

/* LINK COLORING */

a#home {
background-image:url(images/dove.png);
background-repeat:no-repeat;
color:#000;
display:block;
height:240px;
margin:-20px 0 0 -20px;
overflow:hidden;
padding:0;
text-align:left;
text-decoration:none;
text-indent:-1000em;
width:240px;
}

a#home:hover {
background-position:0 -250px;
}

a {
color:#000;
font-weight:700;
text-decoration:underline;
}

a:visited {
color:#666;
}

a:hover {
color:#fff;
}

a:active {
color:#476DA6;
text-decoration:none;
}

#sidebar li a {
background:url(images/star_button.png) 0 0 no-repeat;
color:#000;
display:block;
font-size:20px;
height:34px;
left:1px;
line-height:34px;
margin:20px 0 0;
overflow:hidden;
padding:11px 0 6px;
position:relative;
text-align:center;
text-decoration:none;
text-indent:30px;
width:237px;
z-index:5;
}

/* Makes child category and child page button smaller size */

#sidebar ul.children li a,#sidebar li.pagenav ul ul a {
background:url(images/star-small-button.png) 0 0 no-repeat;
font-size:16px;
height:24px;
margin:6px 0 0 45px;
padding:5px 0 12px;
width:190px;
}

#sidebar li.page-item-882 a { /* Calendar Button */
background:url(images/alpha_button.png) 0 0 no-repeat;
}

#sidebar li.page-item-1056 a { /* Photos Button */
background:url(images/flowers_button.png) 0 0 no-repeat;
}

#sidebar li.cat-item-52 a { /* About Button */
background:url(images/rose_button.png) 0 0 no-repeat;
}

#sidebar li.cat-item-15 a { /* Events Button */
background:url(images/grapes_button.png) 0 0 no-repeat;
}

#sidebar li.cat-item-50 a { /* Ministries Button */
background:url(images/anchor_button.png) 0 0 no-repeat;
}

#sidebar li.cat-item-14 a { /* Worship Button */
background:url(images/cross_button.png) 0 0 no-repeat;
}

#sidebar li.cat-item-16 a { /* Youth Button */
background:url(images/omega_button.png) 0 0 no-repeat;
}

#sidebar li a:visited {
color:#222;
}

#sidebar li a:hover,#sidebar ul.children li a:hover {
background-position:0 -100px;
color:#FFF;
}

#sidebar ul.children li a:hover,#sidebar li.pagenav ul ul li a:hover {
background-position:0 -80px;
}

h2 a,h3 a {
color:#FFF;
display:block;
text-decoration:none;
z-index:3;
}

h2 a:visited,h3 a:visited {
color:#FFF;
text-decoration:none;
}

h2 a:hover,h3 a:hover {
color:#ccc;
}

#footer a:hover {
text-decoration:underline;
}

#sidebar li.current-cat a,#sidebar li.current_page_item a {
background-position:0 -200px;
}

#sidebar ul.children li.current-cat a,#sidebar li.pagenav ul li.current_page_ancestor ul li.current_page_item a {
background-position:0 -160px;
}

 /* turns off child category visual attachment */
 
#sidebar li.current-cat li a { 
background-position:0 0;
}

#sidebar p {
clear:both;
margin-right:20px;
margin-left:15px;
padding-top:1em;
text-align:justify;
}

/* MEDIA GALLERY */

.gallery {
margin:auto;
overflow:hidden;
}

.gallery-item {
float:left;
margin-top:10px;
text-align:center;
width:33%;
}

.gallery img {
border:1px solid #000;
float:none;
margin:0 auto;
}

.gallery-caption {
margin-left:0;
}

.commentlist p.timestamp {
color:#000;
margin-top:-1em;
top:1em;
}

 /* Allows children categories to display when on the parent category */
 
#sidebar li.current-cat ul.children,#sidebar li.current-cat-parent ul.children,#wp_page #sidebar li.pagenav ul li.current_page_item ul, #wp_page #sidebar li.pagenav ul li.current_page_parent ul {
display:block;
}

/* Keeps children categories from displaying on the main page */

#sidebar li h2,#sidebar ul.children,#sidebar li.pagenav ul ul {
display:none;
}

#sidebar p a:hover,#sidebar li a:active,#sidebar ul.children li a:active,div.navigation a {
color:#476DA6;
}

#footer a,div.navigation a:hover {
color:#FFF;
}

/* RECENT COMMENT FORMATTING */

ul#recent_comments a {
background: none;
text-align:right;
width:200px;
padding-bottom:0;
font-size:1.4em;

}

ul#recent_comments a:hover {
color:#476DA6;
}

ul#recent_comments {
margin-top: 40px;
}
ul#recent_comments ul {
margin: 0 20px 0 15px;
text-align: right;
}

#sidebar ul#recent_comments li h2 {
margin-top:60px;
display:block;
}


h3#comments, h3#respond {
clear:right;
}

p#mission {
text-align: right;
}

/* Translation Services */
div#transl_sign {
display: none;
}

div#translation_bar img {margin-right: 10px;}

table#vbs td {
vertical-align: top;
padding:.5em;
}

div.sermonqt {
text-align:center;
}

