/*
Theme Name:Bible Festival template
Theme URI: http://www.bytech.co.il/
Version: 1.0
Description: Bible Festival template with a special category feature and a home page built with a page and a category listing
*/

/* standard elements */

html{background-color:#687143;
	padding:0px 0px 0px 0px;
	margin:10px 0px 0px 0px;
	height:auto;
}

body{min-height: 100%;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	padding:5px;
	width:810px;
	height: auto;
	background-color:#FFFFFF;
	margin:auto;

}

* {
	margin: 0;
	padding: 0;
}

a {color: #963;}
a:hover {color: #C60;}


p,code,ul {padding-bottom: 10px;	
direction:rtl;
}

li {list-style: none;}

h1 {
	border-bottom:2px solid #BABA8F;
	clear:both;
	color:#687143;
	direction:rtl;
	font-size:16px;
	font-weight:bold;
	margin-bottom:10px;
	text-align:right;
	width:559px;
}
h2 {font: normal 1.3em sans-serif;}
h3 {font: bold 1.3em sans-serif;}

code {
	background: #FFF;
	border: 1px solid #EEE;
	border-right: 6px solid #C1CAD3;
	color: #666;
	display: block;
	font: normal 1em;
	line-height: 1.6em;
	margin: 4px 0 12px;
	padding: 8px 10px;
	white-space: pre;
}

blockquote {
	background: url('img/quote.gif') no-repeat;
	display: block;
	font: bold 0.9em;
	padding-right: 26px
}

big {font-size: 1.1em;}

h1, h2, h3 {
	padding-top:6px;
}

label {
	display: block;
	font-size: 0.9em;
}

/* misc */
.clearer {clear: both;}
.left {float: right;}
.right {float: left;}
.center { clear:both; margin:auto;}

/* structure */
.container {
	background: #FFF;
	font-size: 1.2em;
	margin: 0 auto;
	padding: 0 0px 0px;
	width:800px;
}

/* header */
.top {
	background: url('img/clouds.gif') repeat-x;
	padding-right:10px; padding-left:10px; padding-top:50px; padding-bottom:0
}

/* title */
.header {
	float:right;
	height:315px;
	margin:0;
	padding:5px 6px 0 0;
	width:800px;
}

.haeder img {
	width:315px;
	height:315px;
	border:0;	
}

.header .left {
	color: #FFF;
	height:260px;	
	background: #B3C2C7 url('img/header.jpg') no-repeat;
	text-align: center;	
	width:470px;
	line-height:260px;
	direction:rtl;
}


.header .right {
    background-image:url(img/logo.gif);
    background-position:top right;
    background-repeat:no-repeat;
	color: #FFF;
	height:150px;	
	overflow: auto;
	width:312px;
	background-color:#fdfcf7;
	padding:90px 18px 0 0;
	text-align:center;
	direction:rtl;
}
.header .right p, .header .right h2 {padding: 0 14px;}
.header .right h2 {padding-top: 14px; font: normal 12px Arial, Helvetica, sans-serif;}

/* navigation */
.navigation {	
	border: 1px solid #c39d3f;
	border-color:#fff;
	background:#fff url('img/nav.gif');
	height: 41px;
	direction:rtl;
	float:right;
	width:800px;
	
}
.navigation a {
	background: #D9E1E5 url('img/nav.gif');
	border-left: 1px solid #fff;
	color: #fff;
	display: block;
	float: right;
	text-decoration: none;
	font: bold 12px Arial, Helvetica, sans-serif;
	line-height: 41px;
	padding: 0 20px;
}
.navigation a:hover {background-position: right bottom; color:#fff;}
.navigation ul {display: inline;}
.navigation li {display: inline;}

/* main */
.main {
	border-top: 4px solid #FFF;
	background: url('img/bgmain.gif') repeat-y;
}

/* sub navigation */
.sidenav {
	float: right;
	width: 210px;
	direction:rtl;
}
.sidenav h2 {
	color: #5A5A43;
	font: bold 14px;
	line-height: 30px;
	margin: 0;
	padding-right: 12px;
	background-color:#efe5c9;
}
.sidenav ul {
	padding: 0;
	border-top: 1px solid #fff;
}
.sidenav li {border-bottom: 1px solid #fff;}
.sidenav li a {
	font-size:12px;
	color: #554;
	display: block;
	padding: 8px 5% 8px 0;
	text-decoration: none;
	width: 95%;
}
.sidenav li a:hover {
    background-color:#faf6e9;
	color: #654;	
	
	
}

/* small pic */

.small_pic{
    width:66px;
	height:auto;
	overflow:hidden;
	float:right;
	color:#011479;
	font-size:12px;
	padding:0px 0px 0px 10px;
}

.small_pic a {
	color: #011479;
	text-decoration: none;
	padding:10px 0px 0px 0px;
	text-align:center;
	font-weight:bold;
}
.small_pic a:hover {color: #456;}


/* content */
.content {
	direction:rtl;
	float:left;
	margin:10px 0 10px 10px;
	padding:0;
	width:562px;
}
.content .descr {
	clear:both;
	color:#666644;
	float:right;
	font-size:12px;
	margin-bottom:6px;
}
.content li {
	background: url('img/li.gif') no-repeat 0 30%;
	padding: 1px 16px 1px 0;
}
.content p {
	line-height:21px;
	text-align:justify
}

/* footer */
.footer {
	background: url('img/bgfooter.gif') repeat-x;
	color: #FFF;
	font-size:12px;
	font-weight:bold;
	padding: 0 16px;
	line-height: 39px;
	height: 39px;
	direction:rtl;
	color: #993333;
	padding-bottom:5px;
}
.footer a, .footer a:hover {color: #FFF;}
.footer ul {display: inline;}
.footer li {float: right; padding:0px 10px 0px 10px;}

/* posts */
.post h1 a {text-decoration:none; width:559px}
.post h1 a:hover {text-decoration:underline;}

.post {
	float:left;
	margin:6px 0 2px;
	width:564px;
}
.post .info{
	background:none repeat scroll 0 0 #F5F5F5;
	border:1px solid #E3E4E4;
	clear:both;
	color:#555555;
	direction:rtl;
	float:right;
	margin:2px 0 4px;
	padding:5px 10px;
	width:543px;
}
.post img {border: 4px solid #DDD; margin: 4px 0;}
.post a img {border: 4px solid #DDD;}
.post a:hover img {border-color: #CCC;}

.info a {text-decoration: none;}
.info a:hover {text-decoration: underline;}

/* comments */
.content ol li {list-style: none; background: none;}

#commentlist li {
	margin-bottom: 1.5em;
	padding-bottom: 1em;
	border-bottom: 1px solid #700000;
	list-style: none;
}
#commentform {
	background:none repeat scroll 0 0 #FAFAFA;
	clear:both;
	direction:rtl;
	float:right;
	margin:1em 0;
	width:280px;
}
.commentmetadata {padding: 2px 0 4px;}
.commentmetadata a {color: #664;}

textarea.styled {width: 280px;}

.styled {
	font-size: 1.1em;
	background: #F8F7F6;
	border: 1px solid #D6D3D3;
}
.styled:hover {
	background: #FFF;
	border: 1px solid #D6D3D3;
}
.styled:focus {
	background: #FFF;
	border: 1px solid #939793;
}
#commentform input {margin-bottom: 3px;}

a img {border:none;}

/* calendar */
#wp-calendar {color:#A0A0A0;}

.sidenav table caption {border-bottom-color:#000;}

.sidenav table thead tr {
  border-bottom-color:#000;
  color:#A53512;
}

.sidenav table th {border-bottom-color:#000;}

.sidenav table td#today {
  border-color:#000;
  color:#A53512;
	direction:rtl;
}

.sidenav table td a {
  border-bottom-color:#000;
  background-color:#EDF3DE;
}

.sidenav table tfoot {border-top-color:#000;}

.sidenav table tfoot a {background:none;}

/* calendar
--------------------------------------------------*/
#wp-calendar {
  display:inline-table;
  border-collapse:collapse;
  width:185px;
  margin:0px 10px 0 10px;
  text-align:center;
	direction:rtl;
}

.sidenav table caption {
  margin: -5px 10px 0 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid;
  letter-spacing: 0.1em;
	direction:rtl;
}

.sidenav table thead tr {border-bottom:1px solid;}

.sidenav table th {border-bottom:1px solid;}

.sidenav table td {
  width: 225px; /* maximaize width; honestly, I don't know much about tables... */
  padding: 1px;
  font-size: 0.9em;
}

.sidenav table td#today {
  padding: 0;
  border: 1px solid;
  font-size: 1em;
  font-weight: bold;
}

.sidenav table td a {
  display: block;
  border-bottom: 1px solid;
  font-weight: bold;
  font-size: 1.15em;
}

.sidenav table tfoot {border-top:1px solid;}
.sidenav table tfoot a {
  border: none;
  font-weight: bold;
	direction:rtl;
}
.sidenav table tfoot #prev a {text-align:right;}
.sidenav table tfoot #next a {text-align:center;}

#searchform {padding:10px;}

.bottomnav li
{
    display:inline;
}

/*
manage the excerpts on the home page
*/

tr 
{
    vertical-align:top;
}

.excerpt {
    width:245px; 
}

.excerpt_title 
{
	margin-bottom: 4px;
	text-align:right;
	width:auto;
	color:#000099;
	font-weight: normal;
	clear:both;
	border-bottom:2px solid #BABA8F;
	padding-bottom:5px;
	direction:rtl;
}

.excerpt_title a {
	text-decoration: none;
	color:#000099;
	background-color:#f7f7f2;
	font-size: 18px;
	direction:rtl;
}

.excerpt_entry 
{
}

.excerpt_continue 
{
}

.excerpt_space 
{
    width:55px;
}

/*
special category
*/

.special_img 
{
    width:105px;
    height:80px;
    border : solid 1px black;
    float:right;
	direction:rtl;
	margin:0px 0px 0px 10px;
}

.special_excerpt 
{
    width:260px;
    height:120px; /* there is the border on the image*/
    background-color:rgb(fff,fff,fff);
    float:right;
    overflow:hidden;
    padding:0 2px;
    margin-bottom:20px;
}

.special_excerpt a {
text-decoration: underline;
	font-weight: bold;
	color:rgb(131,43,85);
}

.special_excerpt_space 
{
    width:15px;
    float:right;
}

.special_category_title{

}


.special_category_subtitle 
{
}

/* news ticker */

  .ticker li{
      width:200px;
  }
  /* the news box when JavaScript is available */
  .ticker.hasJS
  {
  overflow:hidden;
  position:relative;
  }
  /* The nested UL when JavaScript is available */
  .ticker.hasJS ul
  {
  position:absolute;
  top:120px;
  right:0;
  margin:0 .5em 0 .5em;
  padding:0;
  }

#newsbar 
{
    height:200px;
}

#newsbar li 
{
    background:none;
    padding:0px;
}

#newswidget
{
    height:120px;
}

#newswidget li a
{
    padding:0px;
    text-decoration:underline;
}
/* -=-=-=-=-===-=-=-=-=-=- */
.feature_posts{
	float:left;
	height:350px;
	width:581px;
}
.feature_posts h1{
	float:right;
	margin-bottom:10px;
	margin-right:5px;
	width:559px;
	color:#687143;
}

.feature_entry{
	float:right;
	height:auto;
	margin-right:5px;
	width:140px;
}
.feature_entry p a{
	text-decoration:none;
}
.feature_entry p a:hover{
	color:#996633;
	text-decoration:underline;
}
.feature_img{
	float:left;
	margin-top:0px;
}
.feature_img a img{
	background-color:#EFE5C9;
	border:0 none;
	float:right;
	margin:0;
	padding:4px;
}
.feature_text{
	direction:rtl;
	width:140px;
}
.feature_text span{
	color:#8D9376;
	float:right;
	font-size:11px;
	font-style:italic;
	padding-left:5px;
}
.feature_text p{
	width:140px;
}
.feature_posts p{
	clear:right;
}
.feature_title{
	float:right;
	font-size:12px;
	font-weight:bold;
	height:auto;
	text-align:right;
}
#feature_title a{
	background-color:#687143;
	color:#FFF;
}
#feature_title a:hover{
	background-color:#faf6ea;
	color:#000;
	text-decoration:none;
}
#feature_date{
	background-color:#EFE5C9;
	font-weight:bold;
	margin-bottom:6px;
	padding-bottom:5px;
	text-align:center;
}
#feature_date a{
	color:#687143;
	font-size:13px;
}
#feature_date a:hover{
	color:#7a5306;
	text-decoration:none;
}
.feature_excerpt{
	font-size:12px;
	line-height:16px;
}

.small_post{
	float:left;
	margin:6px 0 2px;
	padding-bottom:22px;
	width:564px;
}
.small_post img{
	background-color:#EFE5C9;
	border:0 none;
	float:right;
	margin:0;
	padding:4px;
}
.small_entry{
	float:right;
	height:105px;
	width:562px;
}
.small_entry h1{
	border:medium none;
	clear:right;
	float:right;
	font-size:15px;
	width:388px;
}
.small_entry_img{
	float:left;
	padding-top:8px;
	width:140px;
}
.small_entry_excerpt{
	float:right;
	width:408px;
}
.entry_info{
	background-color:#EFE5C9;
	border-bottom:2px solid #BABA8F;
	float:right;
	font-size:12px;
	height:21px;
	line-height:18px;
	width:562px;
}
.entry_info ul{
	float:left;
	padding-left:5px;
}
.entry_info li{
	display:inline;
	font-weight:bold;
}

#info_right{
	background-color:#EFE5C9;
	float:right;
	font-size:12px;
	height:10px;
	line-height:18px;
	padding-left:14px;
	width:548px;
}
.entry{
	clear:right;
	float:right;
	width:100%;
}
.entry p{
	height:auto;
	line-height:1.43em;
	padding:0 0 5px;
	text-align:justify;
	width:auto;
}
.entry img{
	border:4px solid #DDDDDD;
	display:inline;
	float:left;
	margin-left:0;
	margin-right:10px;
	margin-top:4px;
}
.post_img{
	float:left;
	width:330px;
}
.sub_feature_posts{
	float:left;
	width:581px;
}
.sub_feature_posts h1{
	float:right;
	margin-bottom:10px;
	margin-right:5px;
	width:559px;
	color:#687143;
}
.sub_feature_entry{
	float:right;
	height:62px;
	margin-right:5px;
	width:140px;
}
.sub_feature_entry p a{
	text-decoration:none;
}
.sub_feature_entry p a:hover{
	color:#996633;
	text-decoration:underline;
}

.sub_feature_text p{
	height:auto;
	padding-bottom:0;
	width:135px;
}
.sub_feature_text span{
	color:#8D9376;
	float:right;
	font-size:11px;
	font-style:italic;
	padding-left:5px;
}
.sub_feature_title{
	font-size:12px;
	font-weight:bold;
	height:28px;
	text-align:right;
	float:right;
}
#sub_feature_title a{
	color:#687143;
}
#sub_feature_title a:hover{
	background-color:#faf6ea;
	color:#000;
	text-decoration:none;
}
#searchsubmit{
	background:none repeat scroll 0 0 #AFB691;
	border-color:#C5BCA3 #B7BE9B #B7BE9B #C5BCA3;
	color:#FFFFFF;
	float:left;
	font-size:10px;
	height:19px;
	margin-left:3px;
	margin-top:-2px;
	padding:0 0 5px;
	width:38px;
}