/*
THEME NAME: Delicatessen
THEME URI: 
DESCRIPTION: A Theme for Michal Barel's (Barella) blog Delicatessen. Based on the <a href="http://www.plaintxt.org/themes/sandbox/">Sandbox</a> Theme
VERSION: 1.2
AUTHOR: Ronny Shani
AUTHOR URI: <a href="http://ironnysh.com">
TAGS: sandbox, Delicatessen, Barella
LAYOUT: Three-Column
DESCRIPTION: Three-column fluid layout with two sidebars on both sides of content
*/


/* reset.css */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ol, ul, li, form {margin:0;padding:0;border:0;}


/************************************************
*	Structure									*
************************************************/

body {
font: 12px "arial hebrew", helvetica, sans-serif;
color: #8C8984;
direction:rtl;
margin: 20px auto 0 auto;
}

#page-wrap {
width: 900px;
margin: 0 auto;
position: relative;
border-top: 1px dotted #8C8984;
}

#main-content {
padding: 0 130px;
width: 640px;
min-height: 630px;
}

#main-sidebar {
position: absolute;
left: 0;
top: 20px;
width: 130px;
bottom: 60px;
padding: 0 5px;
border-right: 1px dotted #8C8984;
}
                      
#secondary-sidebar {
position: absolute;
right: 0;
top: 20px;
width: 130px;
bottom: 60px;
padding: 10px 5px 0 5px;
border-left: 1px dotted #8C8984;
}
                      
#footer {
width: 900px;
clear:both;
margin: 0 auto;
padding: 10px 0;
text-align: center;
border-top: 1px dotted #8C8984;
}


/************************************************
*	Links									*
************************************************/

a, a:active, a:visited {
text-decoration: none;
color: #00467F;
border: none;
}

a:hover {
color: #61A6DF;
}

/************************************************
*	Typography									*
************************************************/


h1, h2, h3, h4, h5, h6 {
color: white;
background: #D1CAB0;
font-weight: normal;
margin: 0 15px;
}

h1 {font-size: 36px;}

h2 {
font-size: 20px;
color: #C3C3C3;
background: white;
}

hr {
color: #8C8984;
}

/************************************************
*	Sidebars									*
************************************************/

div#main-sidebar h3, div#secondary-sidebar h3 {
padding: 3px 3px 3px 0;
margin: 0 0 8px 0;
}

div#main-sidebar input#s.searchbar{
width: 99%;
background: #D1CAB0;
padding: 5px 3px 5px 0;
margin: 0 0 8px 0;
color: white;
font-family: "arial hebrew", sans-serif;
font-size: 14px;
border: none;
}

div#main-sidebar li, div#secondary-sidebar li {
list-style:none;
margin: 0 0 15px 0;
}

div#main-sidebar li form {
margin:0.2em 0 0;
padding:0;
}

div#main-sidebar ul ul, div#secondary-sidebar ul ul {
margin:0 0 0 1em;
}

div#main-sidebar ul ul li, div#secondary-sidebar ul ul li {
list-style:none;
margin:0;
}

div#main-sidebar ul ul ul, div#secondary-sidebar ul ul ul {
margin:0 0 0 0.5em;
}

div#main-sidebar ul ul ul li, div#secondary-sidebar ul ul ul li {
list-style:none;
}

div#blog-title {
background: url(images/logoh.jpg) no-repeat top right;
height: 233px;
padding: 0;
margin: 0;
border: none;
}

div#blog-description {
float: right;
width: 100%;
padding-bottom: 20px;
}

div#main-sidebar .slider {
margin: 0 0 10px 0;
}

#about .icons {font-family: FontAwesome; font-size: 20px;}

/************************************************
*	Post									*
************************************************/


.entry-title {
clear:both;
padding: 0 10px 0 0;
}

.entry-meta {
clear:both;
padding: 10px 10px;
margin: 0 15px;
}

div.post h2, div.post .entry-date {
text-align: center;
margin: 25px 15px 0 15px;
color: #C3C3C3;
background: white;
}

div.post .entry-date
{
margin: 7px 15px 24px 15px; 
}

div.error404, div.error404 div.entry-content
{
text-align: center;
margin: 25px 15px 0 15px;
}

div.error404 #tags {
padding: 40px;
}

div.error404 li {
padding: 0;
margin: 0 200px 0 0;
text-align: right;
}

div.error404 h4 {
margin-top: 20px;
}

div.entry-content {
width: 90%;
padding: 0 10px 10px 10px;
line-height: 25px;
border-bottom: 1px dotted #8C8984;
text-align: justify;
margin-right: 20px;
}

div.entry-content p {
margin: 15px 0;
}

div.navigation {
width: 100%;
height:10px;
margin-top:10px;
}

div.navigation div.nav-next {
float:left;
text-align:right;
}

div.navigation div.nav-previous {
float: right;
}

strong.search-excerpt { background: yellow; }


/************************************************
*	Images									*
************************************************/

div.entry-content img {
padding: 8px 0 5px 0;
}

p.wp-caption-text{
text-align: center;
border-bottom: 1px solid #8C8984;
padding: 0;
margin: 0;
}

.alignright,img.alignright{
float:right;
margin-left:5px;
}

.alignleft,img.alignleft{
float:left;
margin-right:10px;
}

.aligncenter,img.aligncenter{
display:block;
margin:1em auto;
text-align:center;
}

/************************************************
*	Comments									*
************************************************/

.formcontainer {
padding: 0 10px 10px 0;
margin: 0 15px;
}

form#commentform .form-label {
margin:1em 0 0;
}

form#commentform span.required {
background:#fff;
color:#c30;
}

form#commentform,form#commentform p {
padding:0;
}

input#author,input#email,input#url,textarea#comment {
padding:5px;
}

div.comments ol {
margin: 0 30px 0 0;
padding: 0;
width: 90%;
}

div.comments ol li {
margin:0 0 25px 0;
padding:5px;
border-bottom: 1px dotted #8C8984;
}

.pretty-hover, div.comments ol li:hover {
background-color: #f1f1f1;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
} 


textarea#comment {
height:100px;
margin:0 0 0.5em;
overflow:auto;
width:50%;
}

.form-submit input.button {
background: #D1CAB0;
border: 1px solid #6e6e6e;
padding:5px;
width: 52%;
color: white;
font-family: "arial hebrew", sans-serif;
}

div.comments p {padding-right: 35px;}

div.comments li.bypostauthor {
background-color: #f1f1f1;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
/* NOTE: webkit gradient implementation is not as per spec */
background:-webkit-gradient(linear, left top, left bottom, from(#c3c3c3), to(#f1f1f1));
background:-moz-linear-gradient(top, #c3c3c3, #f1f1f1);
background:-o-linear-gradient(top, #c3c3c3, #f1f1f1);
background:linear-gradient(top, #c3c3c3, #f1f1f1);
}



/************************************************
*	Misc									*
************************************************/


/* Bubble with a right angled triangle
------------------------------------------ */

.triangle-right {
	position:relative;
	padding:15px;
	margin:1em 0 3em;
	color:#fff;
	background:#075698; /* default background for browsers without gradient support */
	
	/* css3 */
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	/* NOTE: webkit gradient implementation is not as per spec */
	background:-webkit-gradient(linear, left top, left bottom, from(#2e88c4), to(#075698));
	background:-moz-linear-gradient(top, #2e88c4, #075698);
	background:-o-linear-gradient(top, #2e88c4, #075698);
	background:linear-gradient(top, #2e88c4, #075698);
}

/* creates triangle */
.triangle-right:after {
	content:"\00a0";
	display:block; /* reduce the damage in FF3.0 */
	position:absolute;
	bottom:-40px; /* value = - border-top-width - border-bottom-width */
	left:50px; /* controls horizontal position */
	width:0;
	height:0;
	border-width:20px 0 20px 20px; /* vary these values to change the angle of the vertex */
	border-style:solid;
	border-color:#075698 transparent transparent; 
}