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

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


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

body {
 	&.rtl {

		#sp-top-bar .sp-module {
			margin: 0 20px 0 0;
		}

		//top address
		.sp-contact-info {
			float: right;
		}

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


		//Offcanvas
		#offcanvas-toggler {
			float: left;
		}
		#offcanvas-toggler >i {
			padding: 0 10px 0 0;

		}
		.close-offcanvas {
			right: auto;
			left: 10px;
		}
		.offcanvas-menu {
			-webkit-transition: opacity 400ms cubic-bezier(0.7,0,0.3,1), left 400ms cubic-bezier(0.7,0,0.3,1);
			transition: opacity 400ms cubic-bezier(0.7,0,0.3,1), left 400ms cubic-bezier(0.7,0,0.3,1);
		}

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

		.offcanvas-menu {
			left: -280px;
		}

		&.offcanvas {
			.offcanvas-menu {
				left: 0;
			}
		}

		//mega menu
		.sp-megamenu-parent {
			float: left;
		}

		.sp-megamenu-parent >li.sp-has-child>a:after {
			display: none;
		}


		.sp-megamenu-parent .sp-dropdown .sp-dropdown-items .sp-has-child>a:after {
			float: left;
			content: " \f104";
		}

		//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;
		}



		/**************************************************************************************/
		/**************************           Shaper Mednet           ************************/
		/************************************************************************************/


		//Top Bar
		.sp-contact-info li{
			margin-right: 0;
			margin-left: 5px;
		}
		#sp-top2{
			text-align: left;
		}

		//Menu
		.sp-megamenu-parent .sp-dropdown.sp-dropdown-main.sp-menu-right,
		.sp-megamenu-parent .sp-dropdown.sp-dropdown-main.sp-menu-full {
			left: inherit;
			right: 0;
		}
		.sp-megamenu-parent .sp-dropdown.sp-dropdown-sub{
			left: inherit;
			right: 100%;
		}

		//Off Canvas
		.offcanvas-menu .offcanvas-inner .sp-module ul > li .offcanvas-menu-toggler{
			right: inherit;
			left: 0;
		}

		//Slider
		.sppb-slider-wrapper{
			direction: ltr;
		}
		.sppb-slider-wrapper .customNavigation a.sppbSlidePrev{
			right: inherit;
			left: 70px;
			i.fa-angle-left{
				&:before{
					content: "\f105";
				}
			}
		}
		.sppb-slider-wrapper .customNavigation a.sppbSlideNext{
			i.fa-angle-right{
				&:before{
					content: "\f104";
				}
			}
		}
		.sppb-slider-wrapper .customNavigation a{
			right: inherit;
			left: 0;
		}
		.sppb-slideshow-fullwidth-item-text{
			text-align: right;
		}
		.sppb-slider-wrapper .sppb-slide-item-bg .sppb-slideshow-fullwidth-item-text .sppb-fullwidth-title .sppb-slidehsow-sub-title {
			margin-left: 0;
			margin-right: -4px;
		}
		.sppb-slider-wrapper .sppb-slide-item-bg .sppb-slideshow-fullwidth-item-text .sppb-fullwidth-title .sppb-slidehsow-sub-title span {
			margin-left: 0;
			margin-right: 4px;
		}

		//Feature
		.mednet-features-list{
			.sppb-addon-content{
				text-align: right;
			}
		}
		.mednet-features-list .sppb-addon-feature .btn-click:after {
			content: "\f0d9";
			margin-left: 0;
			position: absolute;
			margin-right: 5px;
		}

		//GLobal
		.sppb-text-left {
			text-align: right;
		}
		.pull-left {
			float: right !important;
		}
		.sppb-addon-blocknumber .sppb-blocknumber >.pull-left {
			margin-right: 0;
			margin-left: 22px;
		}
		.sppb-media > .pull-left{
			margin-right: 0;
			margin-left: 15px;
		}
		#sp-page-title .sp-page-title .breadcrumb{
			right: inherit;
			left: 0;
		}

		//Testimonial
		.sppb-testimonial-pro-advanced .sppb-carousel-indicators >li.sppb-tm-indicators {
			margin: 0 0 0 15px;
		}
		.sppb-testimonial-pro-advanced .sppb-carousel-indicators {
			position: absolute;
		}
		.sppb-testimonial-pro-advanced .sppb-carousel-icon {
			text-align: right;
		}
		.sppb-testimonial-pro-advanced .sppb-carousel-inner {
			text-align: right;
		}

		//Article
		.sppb-addon-articles .sppb-addon-article .sppb-article-info{
			padding-left: 0;
			padding-right: 40px;
		}
		.sppb-addon-articles .sppb-addon-article .sppb-img-wrap .sppb-img:after{
			content: "\f060";
		}

		//Twitter
		.sppb-addon-tweet .sppb-tweet-slider:before{
			left: inherit;
			right: -230px;
		}
		.sppb-addon-tweet .sppb-tweet-slider:after{
			left: inherit;
			right: 100%;
		}

		//Bottom-2
		.bottom-newsletter .acymailing_form .acysubbuttons{
			right: inherit;
			left: 0;
		}
		.bottom-social ul>li{
			float: right;
		}

		//Footer
		#sp-footer #sp-footer1 ul.nav.menu{
			text-align: right;
		}
		#sp-footer #sp-footer1 ul.nav.menu >li{
			margin-right: 0; 
			margin-left: 30px;
		}

		//About Page
		.sppb-nav-tabs > li{
			float: right;
		}
		.mednet-tabs .sppb-tab .sppb-nav-tabs li a{
			margin-right: 0;
			margin-left: 42px;
		}
		.mednet-tabs .sppb-tab .sppb-tab-pane .col-sm-3:before{
			left: inherit;
			right: 14px;
		}
		.mednet-tabs .sppb-tab .sppb-tab-pane .col-sm-3:after{
			left: inherit;
			right: 9px;
		}
		.mednet-tabs .sppb-tab .sppb-tab-pane .line{
			left: inherit;
			right: 15px;
		}
		.mednet-accordion .sppb-addon-accordion .sppb-addon-content:before{
			left: inherit;
			right: 0;
		}
		.mednet-accordion .sppb-addon-accordion .sppb-addon-content .sppb-panel.sppb-panel-default .sppb-panel-heading:before{
			left: inherit;
			right: -44px;
		}
		.mednet-accordion .sppb-addon-accordion .sppb-addon-content .sppb-panel.sppb-panel-default .sppb-panel-heading:after{
			left: inherit;
			right: -50px;
		}
		.mednet-accordion .sppb-addon-accordion{
			padding-left: 0;
			padding-right: 70px;
		}
		.mednet-accordion .sppb-addon-accordion .sppb-addon-content{
			padding-left: 0;
			padding-right: 40px;
		}

		//Appointment Page
		.sppb-addon-appointment-form form.sppb-appointment-form >.sppb-form-btn{
			float: right;
			margin-right: 15px;
		}
		.appointment-callto-action .sppb-addon-text-block .sppb-addon-content span span:before{
			left: inherit;
			right: -32px;
		}

		//Contact Page
		.mednet-contact-page .sppb-icon.sppb-text-left{
			float: right;
			margin-right: 0; 
			margin-left: 5px;
		}

		//Blog Listing
		.blog-info-wrapper{
			padding-left: 0 !important;
			padding-right: 80px;
		}
		.article-info >dd{
			float: right;
		}
		article .article-info >dd{
			margin: 0 7px 0 20px;
		}
		article.item .entry-image a:after{
			content: "\f060";
		}
		.pagination-wrapper .pagination li a,
		.pagination-wrapper .pagination li span {
			float: right;
		}
		#sp-left .sp-module .sp-module-title,
		#sp-right .sp-module .sp-module-title{
			padding-left: 0;
			padding-right: 30px;
		}
		#sp-left .sp-module .sp-module-content .latestnews .mednet-news-title,
		#sp-right .sp-module .sp-module-content .latestnews .mednet-news-title {
			padding-left: 0;
			padding-right: 10px;
		}
 	}
}