/**
 * @package		Joomla.Administrator
 * @subpackage	templates.bluestork
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

/* -- GENERAL STYLES RTL ------------------------------ */

body{
	direction: rtl;
}

h1, h2, h3 {
	text-align: right;
}

#border-top span.logo {
	float: left;
	padding-left:15px;
}

#border-top span {
	padding-right: 15px;
}

.button1 {
	background: url(../images/j_button1_right.png) 100% 0 no-repeat;
	margin-left: 5px;
	padding-right: 10px;
	white-space: nowrap;
	padding-left: 0;
}
.button1 .next { background: url(../images/j_button1_prev.png) no-repeat; }
.button1 a { padding: 0 6px 0 30px; }

.button1,
.button1 div{
	float: left;
}

.button2-left a, .button2-left span {
	padding: 0 6px 0 24px;
}

.button2-left {
	background: transparent url(../images/j_button2_right.png) no-repeat scroll 100%;
	float: right;
}

.button2-left .end{
	background:	transparent url(../images/j_button2_first.png) no-repeat scroll 0 0;
}

.button2-left.off .end{
	background:	transparent url(../images/j_button2_first_off.png) no-repeat scroll 0 0;
}

.button2-left .next{
	background:	transparent url(../images/j_button2_prev.png) no-repeat scroll 0 0;
}

.button2-left.off .next{
	background:	transparent url(../images/j_button2_prev_off.png) no-repeat scroll 0 0;
}

.button2-left .page,
.button2-left .blank {
	background: url(../images/j_button2_left_cap.png) 0 no-repeat;
}

.button2-right a, .button2-right span {
	padding: 0 24px 0 6px;
}

.button2-left .image {
	background:transparent url(../images/j_button2_image_rtl.png) no-repeat scroll 0 0;
}

.button2-left .article {
	background:transparent url(../images/j_button2_readmore_rtl.png) no-repeat scroll 0 0;
}

.button2-left .pagebreak {
	background:transparent url(../images/j_button2_pagebreak_rtl.png) no-repeat scroll 0 0;
}

.button2-left .readmore {
	background:transparent url(../images/j_button2_readmore_rtl.png) no-repeat scroll 0 0;
}

.button2-right {
	background:transparent url(../images/j_button2_left.png) no-repeat scroll 0 0;
	float: right;
}

.button2-right .prev {
	background:transparent url(../images/j_button2_next.png) no-repeat scroll 100%;
}

.button2-right.off .prev {
	background:transparent url(../images/j_button2_next_off.png) no-repeat scroll 100%;
}

.button2-right .start {
	background:transparent url(../images/j_button2_last.png) no-repeat scroll 100%;
}

.button2-right.off .start {
	background:transparent url(../images/j_button2_last_off.png) no-repeat scroll 100%;
}

#border-top .version{
	float: left;
	padding: 25px 0 0 5px;
}

#border-top .title{
	padding-right: 10px;
	padding-left: 10px;
	float: right;
}

#module-status {
	float: left;
}

#module-status > * {
	float: right !important;
}

#module-status span {
	padding: 4px 22px 0 10px;
}

#module-status .legacy-mode,
#module-status .viewsite {
	background-position: right 5px;
}

#module-status .preview,
#module-status .unread-messages,
#module-status .no-unread-messages,
#module-status .loggedin-users,
#module-status .multilanguage,
#module-status .logout,
#module-status .backloggedin-users {
	background-position: right 3px;
}

fieldset.filter {
	border: 0;
	padding: 0;
	margin:0 0 10px;
}

div.left {
	float: right;
}

div.right {
	float: left;
}

table.adminform td {
	text-align: right;
}

.cpanel div.icon ,
#cpanel div.icon {
	margin-right: 0;
	margin-left: 5px;
}

.pane-toggler span,
.pane-toggler-down span {
	background-position: right;
	padding-right: 20px;
	padding-left: 0;
}

.pane-toggler span {
	background-image: url(../images/j_arrow_left.png);
}

div.toolbar {
	float: left;
	padding: 0;
	text-align: left;
}

div.header {
	margin-right: 10px;
	margin-left: 0;
	padding-right: 55px;
	padding-left: 0;
}

.header{ background-position: right; }

table.adminlist thead th.left {
	text-align: right;
}

table.adminlist tbody tr{
	text-align: right;
}

table.adminform th{
	text-align: right;
	padding: 6px 4px 4px 2px;
}

fieldset {
	text-align:right;
}

table.adminform td.filter{
	text-align: right;
}

table.adminform td.helpMenu{
	text-align: left;
}

table.adminlist .pagination{
	display: -moz-box;
}

.pagination div.limit{
	float: right;
	margin: 0 10px 0 0;
}

.button2-left .page a, .button2-right .page a, .button2-left .page span, .button2-right .page span, .button2-left .blank a, .button2-right .blank a, .button2-left .blank span, .button2-right .blank span{
	float: right;
}

div.col{
	float: right;
}

#system-message dd.message ul {
	background-position: 99% center;
}

#system-message dd {
	text-indent: 35px;
}

/* -- LOGIN STYLES ----------------------------- */

#section-box{
	float: left;
	margin-left: 0;
	margin-right: 10px;
}

#form-login label{
	float: right;
	text-align: right;
}

#form-login div.button_holder{
 	padding-left: 0;
}

form .inputbox {
	margin-left: 0;
	margin-right: 10px;
}

/* ---- MENU STYLES RTL ------------------- */

/* common styling */
#menu li {
	border-right:1px solid #FFFFFF;
	border-left:1px solid #D8D8D8;
	float: right;
}

#menu li:hover li:hover ul {
	left: auto;
	right: 100%;
}

#menu a, #menu div {
	background-position: right;
}

#menu ul {
	background-position: right;
}

#menu ul li.node {
	background:transparent url(../images/j_arrow_left.png) no-repeat scroll left 50%;
}

#menu li ul {
	left: auto;
	right: 0;
}

#menu ul a {
	padding-right:25px;
	padding-left:20px;
}

#submenu li {
	float:right;
}

#submenu li a,
#submenu span.nolink {
	border-right:none;
	border-left:1px solid #CCCCCC;
	display: -moz-inline-box;
}


#form-login .button-holder {
	float: left;
	padding-left: 5px;
	clear:left;
}
input#mod-login-username,
input#mod-login-password,
select#lang {
	float:left;
	margin: 0 20px 0 0;
	clear:left;
}
fieldset label,
fieldset span.faux-label {
	float: right;
	clear: right;
}
div.cpanel-left {
	width: 54%;
	float: right;
}
div.cpanel-right {
	width: 45%;
	float: left;
}
.cpanel div.icon ,
#cpanel div.icon {
	float: right;
}
div.pagetitle {
	padding-right: 60px;
	background-position:right;
	margin-right: 10px;
}
div.toolbar-list {
	float: left;
}
div.toolbar-list li {
	float: right;
}
td.left,th.left {
	text-align: right;
}
fieldset input,
fieldset textarea,
fieldset select,
fieldset img,
fieldset button {
	float: right;
	text-align:right;
	margin: 5px 5px 0 5px;
}

#jform_id {
	float:right;
}

li#jform_menutype_label,
li#jform_parentid_label,
li#jform_published_label,
li#jform_access_label {
	float: right;
	clear: right;
}

fieldset.adminform label,
fieldset.adminform span.faux-label {
	padding: 0 0 0 5px;
}

fieldset.adminform ul.checklist li {
	float:right;
}

fieldset.panelform label,
fieldset.panelform div.paramrow label,
fieldset.panelform span.faux-label {
	padding: 0 0 0 5px;
}

fieldset.adminform fieldset.radio,
fieldset.panelform fieldset.radio,
fieldset.adminform-legacy fieldset.radio {
	border: 0;
	float: right;
	padding: 0;
	margin: 0 5px 5px 0;
	clear: left;
}

fieldset.adminform fieldset.radio label,
fieldset.panelform fieldset.radio label {
	float: right;
}

fieldset.panelform-legacy label,
fieldset.adminform-legacy label {
	float: right;
}

/* checkboxes */
fieldset.adminform fieldset.checkboxes,
fieldset.panelform fieldset.checkboxes,
fieldset.adminform-legacy fieldset.checkboxes  {
	float:right;
	margin: 0 0 5px 0;
	clear:left;
}

fieldset.adminform fieldset.checkboxes input[type="checkbox"],
fieldset.panelform fieldset.checkboxes input[type="checkbox"] {
	float: right;
	clear: right;
}

fieldset.adminform fieldset.checkboxes label,
fieldset.panelform fieldset.checkboxes label,
fieldset.adminform fieldset.checkboxes span.faux-label,
fieldset.panelform fieldset.checkboxes span.faux-label {
	clear: left;
}
/* end checkboxes */

div#position-icon.pane-sliders div.pane-down .icon-wrapper .icon {
	padding: 5px 10px 5px 0;
	margin: 0;
}

dl.tabs {
	float: right;
}

dl.tabs dt {
	float: right;
}
td.col1 {
	text-align: right;
}
.clrlft		{clear: right;}
.clrrt		{clear: left;}
.fltlft		{float: right;}
.fltrt		{float: left;}
.fltnone	{float: none;}

#user-groups li {
float:right; text-align:right;
}

/* -------- Batch Section ---------- */
fieldset.batch {
	margin: 20px 10px 0 0;
}

fieldset#batch-choose-action {
	clear: right;
}
fieldset.batch label {
	float: right;
}
fieldset label#batch-choose-action-lbl {
	clear: right;
}
label#batch-language-lbl,
label#batch-user-lbl {
	clear: right;
	margin-left: 10px;
	margin-right: 0;
	margin-top: 15px;
}
select#batch-language-id,
select#batch-user-id {
	margin-top: 15px;
}
select#batch-category-id,
select#batch-menu-id,
select#batch-position-id {
	margin-left: 30px;
	margin-right: 0;
}
 {
	margin-left: 30px;
	margin-right: 0;
}
label#batch-access-lbl,
label#batch-client-lbl {
	margin-left: 10px;
	margin-right: 0;
}

/* Icons */
span.icon-16-unset,
span.icon-16-allowed,
span.icon-16-denied,
span.icon-16-locked {
	padding-left: 0;
	padding-right: 18px;
}

span.icon-16-unset {
	background: url(../images/admin/icon-16-denyinactive.png) no-repeat right;
}

span.icon-16-allowed {
	background: url(../images/admin/icon-16-allow.png) no-repeat right;
}

span.icon-16-denied {
	background: url(../images/admin/icon-16-deny.png) no-repeat right;
}

span.icon-16-locked {
	background: url(../images/admin/checked_out.png) no-repeat right;
}

/**
* Permission Rules
*/

#permissions-sliders ul#rules,
#permissions-sliders ul#rules ul {
    margin: 0 !important;
    padding: 0 !important;
}

#permissions-sliders ul#rules li {
	margin: 0;
	padding: 0;
}

#permissions-sliders ul#rules li h3.pane-toggler-down a {
	border: solid 0;
}

#permissions-sliders ul#rules table.group-rules td {
    padding:4px;
    vertical-align:middle;
    text-align:right;
}

ul#rules table.group-rules td label {
	margin:0 !important;
}

table.group-rules td select {
	margin: 0 !important;
}

#permissions-sliders ul#rules .mypanel {
	padding: 0;
}

#permissions-sliders ul#rules {
	padding:5px;
}

#permissions-sliders  ul#rules  table.group-rules th {
    text-align:right;
    padding:4px;
}

#permissions-sliders .pane-toggler span {
	padding-right: 20px;
	padding-left: 0;
}

#permissions-sliders .pane-toggler-down span {
	padding-right: 20px;
	padding-left: 0;
}

div.current #permissions-sliders select {
	float:right;
	margin:3px 2px 0 2px;
}

/* Additional RTL fixes for forms */

div.current label,
div.current span.faux-label {
	float: right;
	clear: none;
	clear: right;
	margin-top: 8px;
}

div.current fieldset.radio {
	float: right;
}

div.current fieldset.radio input {
	float: right;
	margin: 3px 2px 0 0;
}

div.current fieldset.radio label {
	float: right;
	margin: 3px 5px 0 0;
}

div.current fieldset.checkboxes {
	float: right;
	clear: left;
}

div.current fieldset.checkboxes input {
	clear: right;
	float: right;
	margin: 3px 2px 0 0;
}

div.current fieldset.checkboxes label {
	clear: left;
	margin: 3px 5px 0 0;
}

div.current input,
div.current textarea,
div.current select {
	float: right;
	margin: 3px 2px 0 0;
}

.mod-desc {
	margin-right: 135px !important;
	float: none !important;
}

div#menu-assignment {
	clear:right;
}

 div#menu-assignment ul.menu-links {
	float: right;
}

div#menu-assignment h3 {
	clear:right;
}

div#menu-assignment ul.menu-links li.menu-link label {
	float: right;
	margin: 3px 2px 0 0;
}
div#menu-assignment ul.menu-links li.menu-link input {
	clear: right;
	float: right;
}

/**
* Mod_rewrite Warning
*/
#jform_sef_rewrite-lbl {
	background: url(../images/admin/icon-16-notice-note.png) left top no-repeat;
}

/* -- MODAL STYLES ----------- */

div#sbox-window {
	text-align: right;
}

h2.modal-title {
	margin: 5px 15px 0 0;
}

ul.menu_types {
	padding: 0 15px 0 0;
	margin: 0;
}

ul.menu_types li,
dl.menu_type dd ul li {
	float: right;
	margin-left: 10px;
	margin-right: 0;
}
dl.menu_type dt {
	float: right;
	margin: 13px 0 5px 0;
}

dl.menu_type dd {
	clear: right;
	margin: 0;
}

dl.menu_type dd ul li {
	margin: 0;
}

dl.menu_type dd ul {
	margin-left: 0;
	margin-right: -40px;
}

ul#new-modules-list {
	padding: 5px 15px 0 0;
	margin: 0;
}
ul#new-modules-list li {
	float:right;
	margin: 0 0 0 20px;
	font-size: 1.091em;
}

/* Installer Database */
#installer-database p.warning {
	padding-left: 0;
	padding-right: 20px;	
	background-position: center right;
}

#installer-database p.nowarning {
	padding-left: 0;
	padding-right: 20px;	
	background-position: center right;}
