/*
Theme Name:Food  template
Theme URI: http://www.bytech.co.il/
Version: 1.0
Description: Food template with a special category feature and a home page built with a page and a category listing
*/

/* standard elements */

html{background-color:#701400;
	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:#fff;
	margin:auto;

}

* {
	margin: 0;
	padding: 0;
}

a {
	color:#577883;
}
a:hover {
	color:#628793;
}


p,code,ul {padding-bottom: 10px;	
direction:rtl;
}

p {color:#333; font-weight:bold;}

li {list-style: none;}

h1 {
	font-size:16px;
	margin-bottom: 4px;
	text-align:right;
	width:auto;
	color:#577883;
	font-weight: bold;
	clear:both;
	border-bottom:1px solid #577883;
	padding-bottom:5px;
	direction:rtl;
}
h2 {font: normal 1.3em sans-serif;}
h3 {font: bold 1.3em sans-serif;}

code {
	background: #FFF;
	border: 1px solid #EEE;
	border-right: 1px solid #C1CAD3;
	color: #217995;
	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 {
	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 {
	background-color:#fdfcf7;
	font-size:12px;
	height:144px;
	margin: 0 auto;
	margin-top:5px;
	padding:0px 0px 0px;
	width:800px;
	border-top:0px solid #c39d3f;
	background:url('img/header.jpg') no-repeat;
	clear:both; 
	direction:rtl;
}

/* navigation */
.navigation {	
	border: 1px solid #fff;
	border-color:#fff;
	background:#fff url('img/nav.gif');
	height: 41px;
	direction:rtl;
	width:800px;
	margin:auto;

	
}
.navigation a {
	background: #fff url('img/nav.gif');
	border-left: 1px solid #fff;
	color: #fff;
	display: block;
	float: right;
	text-decoration: none;
	font: bold 1em 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:#afcdac;
}
.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:#ebcd91;
	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 {
	float:left;
	margin: 10px 0;
	padding: 0 16px;
	width: 551px;
	direction:rtl;
}
.content2 {
	float:left;
	margin: 10px 0;
	padding: 0 0px;
	width:795px;
	direction:rtl;
	background-color:#423c3b;
}
.content .descr {
	color: #664;
	font-size: 12px;
	margin-bottom: 6px;
}
.content li {
	background: url('img/li.gif') no-repeat 0 30%;
	padding: 1px 16px 1px 0;
}
.content p {font-size:12px; line-height:18px;}

/* footer */
.footer {
	background: url('img/bgfooter.gif') repeat-x;
	color: #FFF;
	font-size:12px;
	font-weight:bold;
	padding:10 0px 10px 0px;
	line-height: 39px;
	height: 39px;
	direction:rtl;
	color: #993333;
	padding-bottom:5px;
	width:800px;
	margin:auto;
}
.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;}
.post h1 a:hover {text-decoration:underline;}

.post {margin: 6px 0 2px;}
.post .info{
	padding: 5px 10px;
	border: 1px solid #E3E4E4;
	background:#F5F5F5;
	color: #555;
	margin: 2px 0 4px;
	direction:rtl;
}
.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 {
	margin: 1em 0;
	background: #FAFAFA;
	width: 280px;
	direction:rtl;
}
.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;
	background: url('img/bg_form.gif') no-repeat;
}

.bottomnav ul
{
    display:inline;
	text-align:center;
	width:800px;
}

.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_title2 
{
	margin-bottom: 3px;
	text-align:right;
	width:auto;
	color:#000099;
	font-weight: normal;
	clear:both;
	border-bottom:1px solid #d7ecf2;
	padding-bottom:3px;
	direction:rtl;
	width:270px;
	height:91px;
}

.excerpt_pic{
    width: 100px;
	height:80px;
	float:right;
	border:1px solid #d7ecf2;
	padding:2px;
	margin-left:5px;
}


.excerpt_title2 a {
	text-decoration: none;
	color:#217995;
	font-size: 12px;
	font-weight:bold;
	direction:rtl;
	padding-right:0px;
}

.excerpt_entry 
{
}

.excerpt_continue 
{
}

.excerpt_space 
{
    width:55px;
}

/*
special category
*/

.special_img 
{
    width:100px;
    height:80px;
    border : solid 1px black;
    float:right;
	direction:rtl;
	margin:0px 0px 0px 10px;
}

.special_img2 
{
    width:100px;
    height:80px;
    float:right;
	direction:rtl;
	margin:0px;
	padding:0px 0px 0px 0px;
}

.event_img 
{
    width:800px;
    height:100%;
    border : solid 1px black;
    float:right;
	direction:rtl;
	margin:0px 0px 0px 0px;
}

.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: #9c2024;
}

.special_excerpt_space 
{
    width:15px;
    float:right;
}

.special_category_title {
	font-size:16px;
	margin-bottom: 4px;
	text-align:right;
	width:auto;
	color:#577883;
	font-weight: bold;
	clear:both;
	border-bottom:1px solid #577883;
	padding-bottom:5px;
	direction:rtl;
}

.special_category_subtitle {
}


.one_pic {
    width:110px;
    height:82px; /* there is the border on the image*/
    background-color:rgb(fff,fff,fff);
    float:right;
    overflow:hidden;
    padding:0 0px;
    margin-bottom:10px;
}

/* 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:100px;
}

#newsbar li 
{
    background:none;
    padding:0px;
}



#newswidget
{
    height:100px;
}


#newswidget ul {
	padding: 0px;
	margin:0px;
}
#newswidget li {
	padding: 0px;
	margin:0px;
	background-image: none;
	height:20px;
}
#newswidget li a {
    color:#5A5A43;
	padding-right: 12px;
}
#newswidget li a:hover {
	color: #654;	
	padding-right: 12px;
	
}

.cat-item-28{display: none;}