/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * RTL Style Sheet - Used for right-to-left language localizations
 */


/* Base
----------------------------------------------------------------------------------------------------*/

ul, ol, dl {
	padding-left: 0;
	padding-right: 30px;
}

dd {
	margin-left: 0;
	margin-right: 40px;
}


/* Layout
----------------------------------------------------------------------------------------------------*/

.grid-box,
.bfc-f,
.float-left { float: right; }
.float-right { float: left; }

#toolbar .float-left .module,
#toolbar .float-left > time {
	margin: 0 0 0 15px;
	float: right;
}

#toolbar .float-right .module {
	margin: 0 15px 0 0;
	float: left;
}

#headerbar .module {
	margin-left: 0;
	margin-right: 15px;
	float: left;
}

#logo, #logo > img,
#menu { float: right; }
#search { float: left; }


/* Menus
----------------------------------------------------------------------------------------------------*/

/* Mega Drop-Down Menu */
.menu-dropdown,
.menu-dropdown .level1,
.menu-dropdown .level1 > span { float: right; }

.menu-dropdown .dropdown {
	left: auto;
 	right: 0px;
}

.menu-dropdown .column { float: right; }

.menu-dropdown span.icon { float: right; }

.menu-dropdown span.icon + span,
.menu-dropdown span.icon + span + span {
	margin-left: 0;
	margin-right: 35px;
}


/* Modules
----------------------------------------------------------------------------------------------------*/

/* Badges */
.module .badge {
	right: auto;
	left: 0;
}

/* Icons */
.module .module-title .icon {
	margin-right: 0;
	margin-left: 5px;
	float: right;
}


/* Tools
----------------------------------------------------------------------------------------------------*/

/* Alignment (Needed for System Markup, without hyphen needed for WP) */
.align-left,
.alignleft {
	margin-right: 0;
	margin-left: 15px;
	float: right;
}

.align-right,
.alignright {
	margin-left: 0;
	margin-right: 15px;
	float: left;
}

/* Tables (Needed for System Markup) */
table.zebra th,
table.zebra caption { text-align: right; }

/* Definition Lists */
dl.separator dt {	
	padding-right: 0;
	padding-left: 10px;
	float: right;
}

dl.separator dd {
	margin-left: 0;
	margin-right: 170px;
	padding-left: 0;
	padding-right: 20px;
}

/* Text Alignment */
.text-left { text-align: right; }
.text-right { text-align: left; }

/* Drop Caps */
p.dropcap:first-letter {
	margin-right: 0;
	margin-left: 4px ;
	float: none; /* Fix for IE */
}

/* Boxes */
div.box-info,
div.box-warning,
div.box-hint,
div.box-download {
	padding-left: 0;
	padding-right: 40px;
	background-position: 100% 0;
}


/* System
----------------------------------------------------------------------------------------------------*/

/* Item */
#system .item > .links a {
	margin-right: 0;
	margin-left: 15px;
}

#system .item .socialbuttons > div {
	margin-right: 0;
	margin-left: 10px;
	float: right;
}

/* Pagination */
#system .pagination a,
#system .pagination strong {
	margin-left: 0;
	margin-right: 5px;
}
#system .pagination > *:first-child { margin-right: 0; }

/* Search Box */
#searchbox input { float: right; }

#searchbox.filled button {
	right: auto;
	left: 0;
}

#searchbox .results {
	right: auto;
	left: 0;
}

/* Breadcrumbs */
.breadcrumbs a,
.breadcrumbs > span {
	margin-right: 0;
	margin-left: 10px;
}

/* Author Box */
#system .author-box .avatar {
	margin-right: 0;
	margin-left: 15px;
	float: right;
}

/* Comments */
#system #comments .comment-head .avatar {
	margin-right: 0;
	margin-left: 10px;
	float: right;
}

#system #comments ul.level1 ul {
	padding-left: 0;
	padding-right: 55px;
}

#system #respond input[type='text'] {
	padding-left: 0;
	padding-right: 5px;
}

#system ul #respond {
	padding-left: 0;
	padding-right: 10px;
}

ul.line.comments .avatar {
	margin-right: 0;
	margin-left: 10px;
	float: right;
}

/* Joomla 1.5/1.7 Specific */
#system .item > header .icon { 
	margin-left: 0;
	margin-right: 5px;
	float: left;
}

#system .filter > div {
	margin-right: 0;
	margin-left: 10px;
	float: right;
}

#system form.submission fieldset > div > label:first-child { float: right; }
#system form.submission div > .calendar {
	margin-left: 0;
	margin-right: 5px;
}

#system a img.calendar {
	margin-left: 0;
	margin-right: 3px;
}

#system #editor-xtd-buttons .button2-left,
#system #editor-xtd-buttons .button2-left * { float: right; }

#system #editor-xtd-buttons .button2-left {
	margin-right: 0;
	margin-left: 5px;
}

#system-message dd { margin-right: 0; }

/* WordPress Specific */
table.calendar tfoot td { text-align: left; }
table.calendar tfoot td:first-child { text-align: right; }

