/* -------------------------------------------------------------- /*
	$Bidi
/* -------------------------------------------------------------- */
/* stylelint-disable selector-max-compound-selectors */
/* stylelint-disable selector-no-qualifying-type */

/**
* common.css
*/
.rtl h1 {
	margin-right: 0;
	margin-left: 200px;
}

.rtl p.right {
	text-align: left;
}

.rtl p.jumpbox-return {
	float: right;
}

.rtl div.rules ul {
	margin-right: 20px;
	margin-left: 0;
}

/* Main blocks
---------------------------------------- */
.rtl .icon {
	padding-right: 0;
	padding-left: 2px;
}

.rtl .logo {
	float: right;
	padding: 10px 10px 0 13px;
}

/* Site Description
--------------------------------------------- */
.rtl .site-description {
	float: right;
}

.rtl .site-description h1 {
	margin-left: 0;
}

/* Round cornered boxes and backgrounds
---------------------------------------- */
.rtl .post {
	background-position: 0 0;
}

/* Horizontal lists
---------------------------------------- */
.rtl ul.linklist > li {
	float: right;
	margin-right: 0;
	margin-left: 7px;
}

.rtl ul.linklist > li.rightside,
.rtl p.rightside,
.rtl a.rightside {
	text-align: left;
	float: left;
	margin-right: 7px;
	margin-left: 0;
}

.rtl ul.leftside > li,
.rtl ul.rightside > li {
	float: left;
}

.rtl ul.leftside {
	text-align: right;
	float: right;
	margin-right: 0;
	margin-left: 5px;
}

.rtl ul.rightside {
	text-align: left;
	float: left;
	margin-right: 5px;
	margin-left: -5px;
}

/* Bulletin icons for list items
---------------------------------------- */
.rtl ul.linklist.bulletin > li:before {
	padding-right: 0;
	padding-left: 4px;
}

/* Dropdown menu
---------------------------------------- */
.rtl .dropdown-container.topic-tools,
.rtl .dropdown-container-left {
	float: right;
}

.rtl .dropdown li {
	text-align: right;
}

.rtl .dropdown-contents > li {
	padding-right: 0;
	padding-left: 15px;
}

.rtl .dropdown-nonscroll > li {
	padding-left: 0;
}

.rtl .dropdown li li {
	padding-right: 18px;
	padding-left: 0;
}

.rtl .dropdown-extended .header {
	text-align: right;
}

.rtl .dropdown-extended .header .header-settings,
.rtl .dropdown-container-right {
	float: left;
}

.rtl .jumpbox .dropdown-contents a {
	margin-right: 0;
	margin-left: 20px;
}

/* Notifications
----------------------------------------- */
.rtl .notification-avatar {
	float: right;
	margin-right: 0;
	margin-left: 5px;
}

.rtl .notification-block .avatar-placeholder,
.rtl .notification-list .topiclist .notification-item .avatar-placeholder,
.rtl .notification-list .topiclist .notification-item .avatar {
	float: right;
}

.rtl .notification-menu .notifications {
	margin-right: 50px;
	margin-left: 0;
}

.rtl .notification-text {
	margin-right: 58px;
	margin-left: 0;
}

.rtl .notification-time {
	text-align: left;
}

/* Responsive breadcrumbs
---------------------------------------- */
.rtl .breadcrumbs .crumb {
	float: right;
}

.rtl .breadcrumbs .crumb:before {
	font-weight: bold;
	padding: 0 0.5em;
	content: "\2039";
}

/* Table styles
---------------------------------------- */
.rtl table.table1 thead th {
	padding: 0 3px 4px 0;
}

.rtl table.table1 thead th span {
	padding-right: 7px;
	padding-left: 0;
}

.rtl table.table1 tbody th {
	text-align: right;
}

/* Specific column styles */
.rtl table.table1 .name {
	text-align: right;
}

.rtl table.table1 .joined {
	text-align: right;
}

.rtl table.table1 .active {
	text-align: right;
}

.rtl table.table1 .info {
	text-align: right;
}

/* Not used anywhere maybe deprecated? */
.rtl table.table1 thead .autocol {
	padding-right: 10px;
	padding-left: 0;
}

.rtl table.table1 span.rank-img {
	float: left;
}

.rtl table.info tbody th {
	text-align: left;
}

.rtl .forumbg table.table1 {
	margin: 0 -1px -1px -2px;
}

/* Misc layout styles
---------------------------------------- */

/* column[1-2] styles are containers for two column layouts */
.rtl .column1 {
	float: right;
	clear: right;
}

.rtl .column2 {
	float: left;
	clear: left;
}

/* General classes for placing floating blocks */
.rtl .left-box {
	text-align: right;
	float: right;
}

.rtl .right-box {
	text-align: left;
	float: left;
}

.rtl dl.details dt {
	text-align: left;
	float: right;
	clear: right;
}

.rtl dl.details dd {
	float: right;
	margin-right: 0;
	margin-left: 0;
	padding-right: 5px;
	padding-left: 0;
}

/* Pagination
---------------------------------------- */
.rtl .page-number {
	float: left;
}

.rtl .pagination {
	text-align: left;
	float: left;
}

.rtl .pagination > ul {
	margin-right: 5px;
	margin-left: 0;
}

/* Pagination in viewforum for multipage topics */
.rtl .row .pagination {
	background-position: 100% 50%;
	float: left;
	padding-right: 15px;
	padding-left: 0;
}

.rtl .row .pagination > ul {
	margin: 0;
}

.rtl .pagination span {
	direction: ltr;
}

.rtl .pagination li.page-jump {
	margin-right: 0;
	margin-left: 5px;
}

.rtl .topic-poster {
	float: right;
	padding-left: 6px;
}

/* Action Bar styles
---------------------------------------- */
.rtl .action-bar .button {
	float: right;
	margin-right: 0;
}

.rtl .action-bar > .button {
	float: right;
	margin-left: 5px;
}

.rtl .action-bar .dropdown-button-control .button {
	margin-left: 5px;
}


/* Miscellaneous styles
---------------------------------------- */
.rtl .quick-links {
	margin-right: 0;
	margin-left: 7px;
}

.rtl .header-avatar span:after {
	float: left;
	padding-right: 2px;
	padding-left: 0;
}

.rtl .member-search {
	float: right;
}

/**
* links.css
*/

/* Links adjustment to correctly display an order of rtl/ltr mixed content */
.rtl a {
	direction: rtl;
	unicode-bidi: embed;
}

.rtl li.breadcrumbs span:first-child > a {
	padding-left: 0;
}

/* Notification mark read link */
.rtl .dropdown-extended a.mark_read {
	border-radius: 0 3px 3px 0;
	right: auto;
	left: 0;
}

.rtl .back2top .top {
	float: left;
	margin-left: -10px;
}

.rtl .skiplink {
	right: -999px;

	/* invisible skip link, used for accessibility  */
	left: 0;
}

.rtl a.feed-icon-forum {
	float: left;
}

/**
* mentions.css
*/

/* Mention block
---------------------------------------- */

/* Mention dropdown
---------------------------------------- */
.rtl .mention-container { /* mention-container */
	text-align: right;
}

.rtl .mention-media {
	margin-right: 0;
	margin-left: 16px;
}

/**
* content.css
*/
.rtl ul.topiclist dt,
.rtl li.header dt {
	float: right;
	margin-right: 0;
	margin-left: -440px;
}

.rtl ul.topiclist.missing-column dt {
	margin-right: 0;
	margin-left: -345px;
}

.rtl ul.topiclist.two-long-columns dt {
	margin-right: 0;
	margin-left: -250px;
}

.rtl ul.topiclist.two-columns dt {
	margin-right: 0;
	margin-left: -80px;
}

.rtl ul.topiclist dt .list-inner {
	margin-right: 0;
	margin-left: 440px;
}

.rtl ul.topiclist.missing-column dt .list-inner {
	margin-right: 0;
	margin-left: 330px;
}

.rtl ul.topiclist.two-long-columns dt .list-inner {
	margin-right: 0;
	margin-left: 250px;
}

.rtl ul.topiclist.two-columns dt .list-inner {
	margin-right: 0;
	margin-left: 80px;
}

.rtl ul.topiclist dd {
	border-right-width: 1px;
	border-right-style: solid;
	border-left: none;
	float: right;
}

.rtl ul.topiclist dfn {
	right: -999px;
	left: auto;
}

.rtl ul.topiclist li.row dt a.subforum {
	background-position: right;
	position: static;
	padding-right: 12px;
}

.rtl .forum-image {
	float: right;
	margin-right: 0;
	margin-left: 5px;
}

.rtl li.header dt,
.rtl li.header dd {
	border-right-width: 0;
}

.rtl li.header dd {
	padding-right: 1px;
	padding-left: 0;
}

.rtl dl.row-item {
	background-position: 99.5% 50%;
}

.rtl li.header dl.row-item dt .list-inner {
	/* Tweak for headers alignment when folder icon used */
	padding-right: 0;
	padding-left: 50px;
}

.rtl dl.row-item dt {
	background-position: 99.5% 95%; /* Position of topic icon */
}

.rtl dl.row-item dt .list-inner {
	padding-right: 45px; /* Space for folder icon */
	padding-left: 5px;
}

.rtl dl a.row-item-link { /* topic row icon links */
	right: 0;
	left: auto;
	display: inline-block;
	margin-right: 2px;
	margin-left: 0;
}

.rtl dd.lastpost > span,
.rtl ul.topiclist dd.info > span,
.rtl ul.topiclist dd.time > span,
.rtl dd.redirect > span,
.rtl dd.moderation > span {
	padding-right: 5px;
	padding-left: 0;
}

/* Post body styles
---------------------------------------- */
.rtl .date {
	float: left;
}

.rtl .postbody,
.rtl .postbody h3 {
	float: right !important;
}

.rtl .has-profile .postbody h3 {
	margin-right: 0;
	margin-left: 180px;
}

.rtl p.post-notice {
	padding-left: 5px;
}

.rtl p.post-notice:before {
	right: 0;
	left: auto;
}

/* Topic review panel
---------------------------------------- */
.rtl .topicreview {
	padding-right: 0;
	padding-left: 5px;
}

/* Content container styles
---------------------------------------- */
.rtl .content ul,
.rtl .content ol {
	margin-right: 40px;
	margin-left: 0;
}

.rtl .signature {
	clear: right;
}

.rtl .notice {
	clear: right;
}

/* Jump to post link for now */
.rtl ul.searchresults {
	text-align: left;
}

/* BB Code styles
---------------------------------------- */

/* Quote block */
.rtl blockquote {
	margin: 5px 25px 0 1px;
}

/* Nested quotes */
.rtl blockquote blockquote {
	margin: 5px 15px 0 1px;
}

/* Username/source of quoter */
.rtl blockquote cite {
	margin-left: 0;
}

.rtl blockquote cite:before,
.rtl .uncited:before {
	padding-left: 5px;
}

.rtl blockquote .codebox {
	margin-right: 0;
}

.rtl code {
	direction: ltr;
}

/* Attachments
---------------------------------------- */
.rtl .attachbox {
	float: right;
	clear: right;
	margin: 5px 0 5px 5px;
}

.rtl .attachbox dd {
	clear: right;
}

.rtl .attachbox p {
	clear: right;
}

.rtl .attachbox p.stats {
	clear: right;
}

/* Post poll styles
---------------------------------------- */
.rtl fieldset.polls dt {
	text-align: right;
	border-left: none;
	float: right;
}

.rtl fieldset.polls dd {
	border-right: none;
	float: right;
	margin-right: 0;
}

.rtl fieldset.polls dd div {
	text-align: left;
}

.rtl .pollbar1,
.rtl .pollbar2,
.rtl .pollbar3,
.rtl .pollbar4,
.rtl .pollbar5 {
	border-right: none;
	border-left-width: 1px;
	border-left-style: solid;
}

/* Poster profile block
---------------------------------------- */
.rtl .postprofile {
	border-width: 0 1px 0 0;
	float: left;
}

.rtl .pm .postprofile {
	border-right-width: 1px;
	border-right-style: solid;
	border-left: none;
}

.rtl .postprofile dd,
.rtl .postprofile dt {
	margin-right: 8px;
	margin-left: 0;
}

.rtl .postprofile .avatar {
	float: left;
}

.rtl dl.pmlist dd {
	margin-right: 61% !important;
	margin-left: 0 !important;
}

/**
* buttons.css
*/

.rtl .caret {
	border-right: 1px solid;
	border-right-color: inherit;
	border-left: none;
	right: 6px;
}

/* Post control buttons
--------------------------------------------- */
.rtl .post-buttons {
	float: left;
}

.rtl .has-profile .post-buttons {
	right: auto;
	left: 0;
}

.rtl .post-buttons li {
	float: right;
}

/* Poster contact icons
 ---------------------------------------- */
.rtl .contact-icons a {
	border-right: none;
	border-left-width: 1px;
	border-left-style: dotted;
	float: right;
}

.rtl .contact-icons .last-cell {
	border-left: none;
}

/**
* cp.css
*/

/* Control Panel Styles
---------------------------------------- */


/* Main CP box
---------------------------------------- */
.rtl .cp-menu {
	float: right;
}

.rtl .cp-main {
	float: right;
}

.rtl .cp-main .panel ol {
	margin-right: 22px;
	margin-left: 0;
}

.rtl .cp-main .buttons {
	margin-right: 0;
	margin-left: 0;
}

.rtl .tabs-container h2 {
	float: right;
}

/* CP tabbed menu
---------------------------------------- */
.rtl .tabs {
	margin-right: 7px;
	margin-left: 0;
}

.rtl .tabs .tab {
	float: right;
}

.rtl .tabs .tab > a {
	margin-right: 0;
	margin-left: 1px;
}

/* Mini tabbed menu used in MCP
---------------------------------------- */
.rtl .minitabs {
	float: left;
	margin-right: 0;
	margin-left: 7px;
}

.rtl .minitabs .tab {
	float: left;
}

.rtl .minitabs .tab > a {
	margin-right: 2px;
	margin-left: 0;
}

/* Responsive tabs
---------------------------------------- */
.rtl .tabs .dropdown {
	margin-left: -2px;
}

.rtl .tabs .dropdown li {
	text-align: left;
}

.rtl .minitabs .dropdown {
	margin-left: -4px;
}

.rtl .minitabs .dropdown li {
	text-align: right;
}

/* UCP navigation menu
---------------------------------------- */

/* Preferences pane layout
---------------------------------------- */
.rtl .cp-main h2 {
	margin-right: 10px;
	margin-left: 0;
}

/* Friends list */
.rtl .cp-mini {
	margin: 10px 5px 10px 15px;
}

/* PM Styles
---------------------------------------- */

/* PM panel adjustments */
.rtl .reply-all a.right {
	background-position: 5% 60%;
}

.rtl .reply-all a.right:hover {
	background-position: 3% 60%;
}

.rtl .reply-all {
	padding-left: 5px;
}

/* Defined rules list for PM options */
.rtl ol.def-rules {
	padding-right: 0;
}

/* PM marking colours */
.rtl .pm-legend {
	border-right-width: 10px;
	border-right-style: solid;
	border-left-width: 0;
	padding-right: 3px;
	padding-left: 0;
}

/* Avatar gallery */
.rtl .gallery label {
	float: right;
}

/**
* forms.css
*/

/* General form styles
---------------------------------------- */

.rtl option {
	padding-right: 0;
	padding-left: 11px;
}

.rtl label {
	padding-right: 0;
	padding-left: 5px;
}

/* Definition list layout for forms
---------------------------------------- */
.rtl fieldset dt {
	text-align: right;
	float: right;
}

.rtl fieldset dd {
	margin-right: 41%;
	margin-left: 0;
}

/* Specific layout 1 */
.rtl fieldset.fields1 dt {
	border-right-width: 1px;
	border-left-width: 0;
}

.rtl fieldset.fields1 dd {
	border-right-width: 0;
	border-left-width: 1px;
	margin-right: 165px;
	margin-left: 0;
}

/* Specific layout 2 */
.rtl fieldset.fields2 dt {
	border-right-width: 1px;
	border-left-width: 0;
}

.rtl fieldset.fields2 dd {
	border-right-width: 0;
	border-left-width: 1px;
	margin-right: 176px;
	margin-left: 0;
}

/* Form elements */
.rtl dt label {
	text-align: right;
}

.rtl dd input,
.rtl dd textarea {
	margin-right: 0;
	margin-left: 3px;
}

/* Quick-login on index page */
.rtl fieldset.quick-login input.inputbox {
	margin-right: 0;
	margin-left: 5px;
}

.rtl fieldset.quick-login label {
	padding-right: 0;
	padding-left: 2px;
}

/* Display options on viewtopic/viewforum pages  */
.rtl fieldset.display-options label {
	padding-right: 0;
	padding-left: 2px;
}

.rtl .dropdown fieldset.display-options label {
	text-align: left;
}

/* Display actions for ucp and mcp pages */
.rtl fieldset.display-actions {
	text-align: left;
	padding-right: 0;
	padding-left: 11px;
}

.rtl fieldset.display-actions label {
	padding-right: 0;
	padding-left: 2px;
}

/* MCP forum selection */
.rtl fieldset.forum-selection {
	float: left;
}

.rtl fieldset.forum-selection2 {
	float: left;
}

/* Posting page styles
---------------------------------------- */

/* Emoticons panel */
.rtl .smiley-box {
	float: left;
}

/* Search box
---------------------------------------- */

/* Topic and forum Search */
.rtl .search-box {
	float: right;
}

.rtl .search-box .inputbox {
	border-right-width: 1px;
	border-left-width: 0;
	border-radius: 0 4px 4px 0;
	float: right;
	padding: 3px;
}

.rtl .button-search,
.rtl .button-search-end {
	float: right;
}

.rtl .button-search-end {
	border-right-width: 0;
	border-left-width: 1px;
	border-radius: 4px 0 0 4px;
}

.rtl .search-header .button-search-end {
	border: 0;
	border-radius: 4px 0 0 4px;
}

.rtl .search-header {
	float: left;
	margin-right: 0;
	margin-left: 5px;
}

/* Form button styles
---------------------------------------- */

/** Reference: Bug #27155 */
.rtl .wrap,
.rtl .headerbar,
.rtl .site-description,
.rtl .navbar {
	position: relative;
}

/**
* plupload.css
*/

.rtl .attach-controls {
	float: left;
}

/* stylelint-enable selector-no-qualifying-type */
