/**
 * @package Helix Framework
 * @author JoomShaper http://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2014 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/

@import 'variables';
@import 'mixins';


/* RTL Direction
 *=======================================*/

body {
 	&.rtl {
 		.form-horizontal .control-label{float:right;}
 		[class^="fa-"], .glyphicon, [class*=" fa-"] {margin: 0;}
		

		.sp-module-content .mod-languages ul.lang-inline li {
			margin: 0 0 0 5px;
		}

		.close-offcanvas {
			right: auto;
			left: 10px;
		}
		
		

		.body-innerwrapper:after {
			left: 0;
			right: auto;
		}

		.offcanvas-menu{    margin: 0 -255px 0 0;left: auto;right: 0;}

		.offcanvas .offcanvas-menu {
			transform: translate(-255px, 0px);
			
		}
		&.offcanvas {
			.offcanvas-menu {
				left: 0;
				right: auto;
			}
		}


		&.offcanvas .body-wrapper {
			left: 0;
			right: auto;
			transform: translateX(320px);
			-webkit-transform: translateX(320px);
			-moz-transform: translateX(320px);
			-ms-transform: translateX(320px);
			-o-transform: translateX(320px);
		}

		/*blog*/
		.entry-header.has-post-format {
			margin-left: 0;
			margin-right: 68px;
		}
		
		.post-format {
			left: auto;
			right: -68px;
		}
		.article-info >dt >i, .article-info >dd >i {
			margin-right: 0;
			margin-left: 3px;
		}
		.entry-link:before {
			top:auto;
			left: auto;
			right: -60px;
			transform: rotate(-90deg);
		}
		.entry-quote:before {
			left: auto;
			transform: rotate(-15deg);
			top:auto;
			right: -40px;
		}
		.categories-list .page-header a.pull-right {
			float: left !important;
		}
		.newsfeed-category .category li .pull-left{
			float: right !important;
		}

		/*search*/
		.search .btn-toolbar .pull-left{
			float: right !important;
		}
		.sppb-text-left {
			text-align: right;
		}
		.sppb-text-right {
			text-align: left;
		}
		/*========================= HELix==================================*/
		/*==========================================================================*/
		
		
		@media (min-width: 992px) {
			.sppb-col-md-1, .sppb-col-md-2, .sppb-col-md-3, .sppb-col-md-4, .sppb-col-md-5, .sppb-col-md-6, .sppb-col-md-7, .sppb-col-md-8, .sppb-col-md-9, .sppb-col-md-10, .sppb-col-md-11, .sppb-col-md-12 {
			    float: right;
			}
			.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11 {
			    float: right;
			}
		}
		.fa-angle-double-right:before{ content: "\f100";}
		
		/*================================ SJ Iconstruct ================================*/
		/*==========================================================================*/
		#sp-main-menu #search-top-bar{text-align: left;}
		#search-top-bar .form-search .btn-search{left: 0; right: auto;}
		table.header-info {
 			td{padding: 0  40px 0 0;}
 			td:last-child {text-align: left;}
 			.fa{left: auto; right: 0;}

 			&:nth-child (3) {padding: 0  50px 0 0;}
 		}
 		#sp-top1 .yt-loginform > li{
 			border:none;
 			border-left: 1px solid #3e3e3e;
    		margin-left: -2px;
 		}
 		.sppb-addon-whychoose .col-md-7{float: left;}
 		ul.sj-megamenu-parent .sj-dropdown.sj-dropdown-main.sj-menu-right{left: auto;right: 0;}
		.sj-megamenu-parent .sj-dropdown li.sj-menu-item > a, 
		.sj-megamenu-parent .sj-dropdown li.sj-menu-item > span{
			text-align: right;
		}
		/*mega menu*/
		.sambar .menu_horizontal .sj-megamenu .sj-megamenu-parent .sj-menu-item.level-1{ margin: 0 0 0 50px; }
		
		

		.sp-module .menu_social_header{float: left;}
		.sp-module .menu_social_header li{margin-left: 0;margin-right: 15px;}

		.yt-content-slider,.sj-extraslider{
			direction: ltr;
		}
		
		#sppb-addon-1504165457714 .sppb-addon-faq ul.yt-accordion li.yt-accordion-group h3.accordion-heading:after{left:15px; right:auto;}
		

		.chzn-container{
			.chzn-search{
				display: none;
				left: 0;
			}
	        .chzn-drop{
	            left: 0;
	            display: none;
	        }
	        &.chzn-with-drop{
	            .chzn-drop{display: block;}
	        }
	    }

 	}
}
