/**
 * Plugin: Cleaner Plugin Installer
 *
 * @package    Cleaner Plugin Installer
 * @subpackage Admin Styles RTL
 * @author     David Decker - DECKERWEB
 * @copyright  Copyright (c) 2014, David Decker - DECKERWEB
 * @license    http://www.opensource.org/licenses/gpl-license.php GPL-2.0+
 * @link       http://genesisthemes.de/en/wp-plugins/cleaner-plugin-installer/
 * @link       http://deckerweb.de/twitter
 *
 * @since	   1.2.0
 * @version	   1.2.1
 */


/** Table of Content:

 * RTL: Plugin's Own Stuff
 * RTL: Misc. Stuff
 * RTL: Column Classes
 * RTL: Media Queries

 */


/** Plugin's Own Stuff
------------------------------------------------------------ */

.rtl .cpi-block,
.rtl .cpi-start-after p {
	margin-left: 0;
	margin-right: 30px;
}

.rtl .cpi-block h3:before {
	margin-left: 5px;
	margin-right: 0;
}


/** Original search form in toolbar */
.rtl.plugin-install-php .wp-filter .search-form {
	text-align: left;
}


/** Upload Tab */
.rtl.ddw-cpi .cpi-uploader input[type="submit"]:before,
.rtl.ddw-cpi .cpi-uploader button[type="submit"]:before {
	margin-left: 2px;
	margin-right: 0;
}


/** Topic Tags */
.rtl .cpi-topic {
	float: right;
	margin: 0 15px 25px;
}

.rtl .cpi-topic:nth-child(odd) {
	margin-right: 0;
}

.rtl .cpi-topic:nth-child(even) {
	margin-left: 0;
}


/** Misc. Stuff
------------------------------------------------------------ */

/** Network plugin installer notice */
.rtl .cpi-network-notice {
	float: left;
	padding: 10px 2px 1px 15px;
}

.rtl .cpi-network-notice:before {
	margin-left: 5px;
	margin-right: 0;
}


/** Our help tab */
.rtl #tab-panel-cpi-plugin-installer-help h3:before,
.rtl #tab-panel-cpi-plugin-installer-help h4:before {
	margin-left: 5px;
	margin-right: 0;
}

.rtl #tab-panel-cpi-plugin-installer-help div.description.right {
	float: right;
}


/** Screen Options */
.rtl #screen-options-wrap h5:before {
	margin-left: 5px;
	margin-right: 0;
}


/** Column Classes
------------------------------------------------------------ */

.rtl .five-sixths,
.rtl .four-sixths,
.rtl .one-half,
.rtl .one-sixth,
.rtl .three-sixths,
.rtl .two-sixths {
	float: right;
	margin-right: 2.564102564102564%;
	margin-left: 0;
}

.rtl .first {
	margin-right: 0;
}

.rtl .one-sixth,
.rtl .two-sixths,
.rtl .three-sixths {
	text-align: right !important;
}

.rtl .one-sixth.description {
	text-align: left !important;
}

.rtl .five-sixths.description {
	float: left;
	margin-left: 0;
}


/** Media Queries
------------------------------------------------------------ */

@media screen and ( min-width: 1600px ) {

	.rtl .cpi-topic:nth-child(odd) {
		margin-right: 15px;
	}

	.rtl .cpi-topic:nth-child(even) {
		margin-left: 15px;
	}

	.rtl .cpi-topic:nth-child(3n+1) {
		margin-right: 0;
	}

	.rtl .cpi-topic:nth-child(3n) {
		margin-left: 0;
	}

}


@media screen and ( max-width: 782px ) {

	.rtl .cpi-topic {
		clear: both;
		float: none;
		margin: 0 0 25px;
	}

}


@media only screen and ( max-width: 600px ) {

	.rtl .cpi-block,
	.rtl .cpi-start-after p {
		margin-left: 0;
		margin-right: 10px;
	}

	.rtl .three-sixths,
	.rtl .two-sixths {
		margin-right: 0;
	}

	.rtl .one-sixth.description {
		text-align: right !important;
	}

	.rtl .five-sixths.description {
		text-align: left !important;
	}

	.rtl .cpi-uploader.upload-plugin .install-help {
		text-align: right !important;
	}

	.rtl .cpi-uploader.upload-plugin .wp-upload-form {
		padding-right: 0;
	}

	.rtl.ddw-cpi .cpi-uploader input[type="submit"],
	.rtl.ddw-cpi .cpi-uploader button[type="submit"] {
		margin-left: 0;
		margin-right: 0;
	}

	.rtl .cpi-uploader-after {
		margin-right: 0;
	}

}