/*
Theme Name: Toolbox

Adding support for language written in a Right To Left (RTL) direction is easy -
it's just a matter of overwriting all the horizontal positioning attributes
of your CSS stylesheet in a separate stylesheet file named rtl.css.

http://codex.wordpress.org/Right_to_Left_Language_Support

*/

body {
	direction: rtl;
	unicode-bidi: embed;
}
#access {
	float: right;
	margin: 0 auto 1em;
}
#access ul {
	padding-right: 0;
}
#access li {
	float: right;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	float: right;
	right: 0;
	left: auto;
}
#access ul ul ul {
	right: 100%;
	left: auto;
}
#content nav .nav-previous {
	float: right;
}
#content nav .nav-next {
	float: left;
	text-align: left;
}


#primary {
	background: url(images/rtl/white-page-header.png) no-repeat top right;
	float: right;
	margin: 0 8px 0 -240px;
}
#content {
	background: url(images/rtl/bg-content.png);
	margin: 0 -10px 0 208px;
}
#main .widget-area {
	background: url(images/rtl/bg-sidebar.png) repeat-y top left;
	float: left;
}
#tertiary.widget-area {
	background: url(images/rtl/bg-sidebar-two.png) repeat-y top left;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0 -10px 0 0;
}


/* =Content
-------------------------------------------------------------- */

footer.entry-meta {
	padding-right: 10px;
	padding-left: 0;
}
#content nav .nav-previous {
	float: right;
	text-align: right;
}
#content nav .nav-next {
	float: left;
	text-align: left;
}

/* 404 page */
.error404 .widget {
	float: right;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-left: 1em;
	margin-right: 0;
}


/* Aside Posts */
.format-aside .entry-content,
.format-aside .entry-summary {
	margin-right: 10px;
	margin-left: 0;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	margin-right: 0;
}

/* Sticky Posts */
article.sticky {
	border-right: 20px solid #d6d5b5;
	border-left: none;
	margin-right: -50px;
	padding-right: 30px;
	margin-left: 0;
	padding-left: 0;
}

/* Galleries */
.format-gallery .gallery-thumb {
	float: right;
	margin: 0 0 1.5em 1.5em;
}

/* Status */
.format-status .entry-content {
	margin: 0 90px 1em 0;
}
.format-status .avatar {
	float: right;
	margin: 13px 10px 1.5em 0;
}

/* Quotes */
#primary .format-quote blockquote cite {
	text-align: left;
}

/* =Forms
-------------------------------------------------------------- */

input[type=text],
input#s {
	margin: 0 0 0 1em;
}


/* =Comments
-------------------------------------------------------------- */
.commentlist .children {
	padding-right: 30px;
	padding-left: 0;
}
.commentlist li {
	background: url(images/rtl/bg-comment-alt.jpg);
}
.commentlist .bypostauthor {
	background: url(images/rtl/bg-comment.jpg);
}
#comments .avatar {
	position: absolute;
	left: auto;
	right: 0px;
}
article.comment footer {
	padding-left: 0;
	padding-right: 50px;
}
#comments .reply a {
	background: url(images/rtl/reply_arrow.png) no-repeat;
	padding-right: 15px;
	padding-left: 0;
}


/* =Widgets
-------------------------------------------------------------- */

.widget-title {
	background: url(images/rtl/sidebar-h2.png);
	padding-right: 10px;
	padding-left: 0;
}
#tertiary .widget-title {
	background: url(images/rtl/sidebar-two-h2.png);
}
.widget-area .widget_search input {
	float: right;
}
