//--------------------------------------------------------------
// Copyright (C) joomla-monster.com
// License: http://www.joomla-monster.com/license.html Joomla-Monster Proprietary Use License
// Website: http://www.joomla-monster.com
// Support: info@joomla-monster.com
//---------------------------------------------------------------

// VARIABLES import
//---------------------------------------------------------------

@import "bootstrap_variables.less";  
@import "template_variables.less";

// MIXINS import
//---------------------------------------------------------------
  
@import "template_mixins.less";

// MEGAMENU RTL
//---------------------------------------------------------------

html[dir='RTL'] {
//wrapper

.dj-megamenu-override {
	text-align: right;
}

.dj-megamenu-override li.dj-up {
  float: right;
  margin: 0 @JMtopmenuItemWidth 0 0;
}

// submenu
// --------------------------  

//first level submenu
.dj-megamenu-override {
  li:hover,
  li.hover {
    div.dj-subwrap {
      left: auto;
      right: 0;
    }
  }
}

//second+ level submenu
.dj-megamenu-override {
  li:hover,
  li.hover {
    div.dj-subwrap div.dj-subwrap {
      left: auto;
      right: 100%;
    }
  }
}

//submenu elements styles
.dj-megamenu-override .dj-submenu {
  > li.parent > a {
    &:after {
      right: auto;
      left: 5px;
    }
  }
}

//image / icon in menu element
.dj-megamenu-override {
	li.dj-up a {
		span.image-title {
			margin: 0 15px 0 0;
		}
	}
}

// submenu tree
// --------------------------  
.dj-megamenu-override .dj-subtree {
  > li > a {
    background-position: right 50%;
  }
  > li.parent > a {
    &:after {
      right: auto;
      left: 5px;
    }
  }
}

// columns border
// --------------------------  

.dj-megamenu-override .multiple_cols .dj-subcol + .dj-subcol {
	&:after {
		border-left: none;
		border-right: 1px solid jmdarken(@JMtopSubmenuBackground, 20%);
	}
}

// modules
// --------------------------  


// menus module
// --------------------------  


//end wrapper
}
