/*
	* Visual Builder Stylesheets (RTL)
	* Author: UIUX Lab
	* Twitter: @uiux_lab
	* Author URL: https://uiux.cc
	
	* Dual licensed under the MIT and GPL licenses:
	* http://www.opensource.org/licenses/mit-license.php
	* http://www.gnu.org/licenses/gpl.html


	TABLE OF CONTENTS
	---------------------------
	
	1. jQuery Accessible Tabs
	2. Visual Builder Page 
	3. Responsive Switching Preview
	4. Elements Navigation
	5. Gridster Core
	6. Primary Module Buttons
	7. Sub Module
	8. Save Templates


*/

/* 1. jQuery Accessible Tabs
-------------------------------------------------------------- */
@media only screen and (min-width: 768px) {
	
	
	.uix-page-builder-col-tabs.js-tabs {
		margin: 0 0;
	}
	
	/* Tabs control text */
	.js-tabs_control-text {
		direction: rtl;
		left: auto;
		right: -999em;
	}
	
	/* Tabs control */
	.uix-page-builder-col-tabs.js-tabs .js-tabs_control {
		float: right;
	}
	
	.uix-page-builder-col-tabs.js-tabs .js-tabs_control li {
		float: right;
		margin: 0 0 0 6px;
	}


}


/* 2. Visual Builder Page 
-------------------------------------------------------------- */
#uix-page-builder-themepreview {
	left: auto;
	right: 315px;
}	

#uix-page-builder-themepreview.active {
	left: auto;
	right: 0;
	
}



.uix-page-builder-themepreview-btn {
    margin-left: auto;
	margin-right: -17px;
    left: auto;
	right: 317px;
}

.uix-page-builder-themepreview-btn.active {
	left: auto;
	right: 0;
}


.uix-page-builder-themepreview-btn .dashicons {
	margin-left: auto;
	margin-right: 12px;
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}


.uix-page-builder-themepreview-btn.active .dashicons {
	margin-left: auto;
	margin-right: 6px;
	-webkit-transform: rotate(0deg);
	-ms-transform: rotate(0deg);
	transform: rotate(0deg);
}


#uix-page-builder-visualBuilder-loader {
    left: auto;
	right: 315px;
}

#uix-page-builder-visualBuilder-loader.active {
    left: auto;
	right: 0;
}


#uix-page-builder-visualBuilder-loader .loader {
    left: auto;
	right: calc( ( 100% + 315px ) / 2 );
	
}

#uix-page-builder-visualBuilder-loader.active .loader {
	left: auto;
	right: 50%;
}



/* 3. Responsive Switching Preview
-------------------------------------------------------------- */
ul.uix-page-builder-res-selector {
	left: auto;
	right: 0;
}


ul.uix-page-builder-res-selector li {
    float: right;
}



/* 4. Elements Navigation
-------------------------------------------------------------- */

.uix-page-builder-col {
	float: right;
	margin-right: auto;
	margin-left: 15px;
	
}



.uix-page-builder-col .t {
	left: auto;
	right: 0;
	margin-left: auto;
	margin-right: 1px;
	
}


/* 5. Gridster Core
-------------------------------------------------------------- */

#uix-page-builder-gridster-wrapper.visualBuilder {
	left: auto;
	right: 0;
	border-right: none;
	border-left: 1px solid #ddd;
	
}

#uix-page-builder-gridster-wrapper.visualBuilder.active {
	margin-left: auto;
	margin-right: -315px;
}


#uix-page-builder-save-status {
	left: auto;
	right: 0;
}

.uix-page-builder-gridster-addbtn.visualBuilder {
	left: auto;
	right: 0;
	padding-left: auto;
	padding-right: 2px;
}


.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).wait .wait {
	left: auto;
	right: 0;
}



.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary):hover:after {
    left: auto;
	right: 0;
}

.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).publish-visual-builder:hover:after {
	margin-left: auto;
	margin-right: -20px;
}
.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).exit-visual-builder:hover:after {
	margin-left: auto;
	margin-right: -70px;
}



.uix-page-builder-gridster-addbtn.visualBuilder .li {
	margin-left: auto;
	margin-right: -2px;
}


.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).select-temp,
.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).save-temp,
.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).export-temp,
.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).publish-visual-builder {
	margin-left: 0;
	margin-right: -2px;
}

.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).save-temp {
	margin-left: auto;
	margin-right: -1px;
}

.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).add {
	margin-left: 0;
}

.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).exit-visual-builder {
	margin-left: auto;
	margin-right: -2px;
}


.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary).publish-visual-builder.wait:hover .wait{
	left: auto;
	right: 0;
}

.uix-page-builder-gridster-addbtn.visualBuilder .button:not(.button-primary) .dashicons {
	margin-left: auto;
	margin-right: 5px;
	
}


/* Pre row content*/
.uix-page-builder-gridster-widget .content-box {
	right: auto;
	left: -80px;
	
}

.uix-page-builder-gridster-widget .title-box {
	margin-left: auto;
	margin-right: 3px;
	
}




.uix-page-builder-gridster-widget .settings-wrapper,
.uix-page-builder-gridster-widget .dashicons.settings {
	right: auto;
	left: 40px;

}

.uix-page-builder-gridster-widget .settings-wrapper a.close {
	right: auto;
	left: 5px;
}


.uix-page-builder-gridster-widget .dashicons.settings {
	border-right: none;
	border-left: 1px dotted #26272d;
	padding-right: auto;
	padding-left: 3px;
}
	

.uix-page-builder-gridster-widget .settings-wrapper strong {
	padding-right: auto;
	padding-left: 3px;
}



/* Add button*/
.uix-page-builder-gridster-addbtn {
	margin: 10px 18px 00 ;
}

.uix-page-builder-gridster-addbtn a:not(.button) {
	margin-left: auto;
	margin-right: 5px;
}

.uix-page-builder-visual-mode.side .dashicons {
	margin-right: auto;
	margin-left: 5px;
	
}


.uix-page-builder-gridster-addbtn i {
	margin-right: auto;
	margin-left: 5px;
	
}


/* Drag Area*/
.uix-page-builder-gridster-drag {
	border-right: none;
	left: auto;
	right: 0;
}

.uix-page-builder-gridster-drag:before {
	left: auto;
	right: 0;
}

#uix-page-builder-gridster-wrapper.visualBuilder .uix-page-builder-gridster-drag {
	left: auto;
	right: -1px;
}


/* Remove Button */
.remove-gridster-widget {
	right: auto;
	left: 14px;
	
}

/* Gridster Data */

.uix-page-builder-gridster .temp-data {
	right: auto;
	left: -80px;
}



/* 6. Primary Module Buttons
-------------------------------------------------------------- */

.sortable-list .row .widget-items-container {
	padding: 8px;
}

.sortable-list .row .widget-items-container .widget-item-btn {
	margin-right: auto;
	margin-left: 12px;
}



.sortable-list .row .widget-item-btn.used {
	padding-right: auto;
	padding-left: 7px;
}


/* 7. Sub Module
-------------------------------------------------------------- */
/* Column Item */

.sortable-list .row {
	float: right;
	margin-right: auto;
	margin-left: 10px;
	
}


.sortable-list .row:after {
	margin-right: auto;
	margin-left: 5px;
	right: auto;
	left: 3px;
}


#uix-page-builder-gridster-wrapper.visualBuilder .sortable-list .row {
	margin-left: 0;
}


/* Column Elements */

.widget-items-col-container .btnlist {
	left: auto;
	right: 0;
	
}

.widget-items-col-container button {
	margin-right: auto;
	margin-left: 12px;
	
}
.widget-items-col-container i {
	margin-right: auto;
	margin-left: 10px;
	
}

.widget-items-col-container:hover .btnlist {
	padding-left: auto;
	padding-right: 7px;
	left: auto;
	right: -11px;
}


.widget-items-col-container .btnlist > .widget-items-col:hover:after {
    left: auto;
	right: 0;
}


/* 8. Save Templates
-------------------------------------------------------------- */

.settings-temp-wrapper {
	left: auto;
	right: 0;
}


.settings-temp-wrapper #uix-page-builder-templatelist .close-tmpl {
	margin-left: auto;
	margin-right: 10px;
}



.settings-temp-wrapper label .default {
	margin-left: auto;
	margin-right: 4px;
	
}

.settings-temp-wrapper label .preview-thumb {
	left: auto;
	right: 315px;

}


.settings-temp-wrapper a.close {
	margin-left: auto;
	margin-right: 10px;
	right: auto;
	left: 5px;
}


