/*** ESSENTIAL STYLES ***/
.main-menu, .main-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
	z-index: 300;
	dir: rtl; 
	text-align: right!important;
}
.main-menu li {
	position: relative;
}
.main-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	right: 0;
	
}
.main-menu > li {
	float: right;
}

.main-menu li:hover > ul,
.main-menu li.sfHover > ul {
	display: block;
}

.main-menu ul ul {
	top: 0;
	left: 0%;
	float: left;
	display: block;
}

/*** SKIN ***/
.main-menu {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	z-index: 280;
	height: 42px;
	background-color: transparent;
}

#nav-float .main-menu{
	position: relative;
	margin-top: 0px!important;
	left: 0!important;
}


.main-menu ul {
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}

.main-menu a {
	display: block;
	position: relative;
	text-decoration: none;
	zoom: 1; /* IE7 */
	font-size: 12px;
	margin: 0;
	padding: 0 1.10em;
	height: 41px;
	line-height: 44px;
}

/* iPads (portrait and landscape */
@media only screen and (min-device-width:768px) and (max-device-width:1024px) {
	.main-menu ul a {
		margin-top: -1px;
	}
}

@-moz-document url-prefix() {
	.main-menu a{
		/*line-height: 13px!important;*/
	}
}

.main-menu li a{
	color: #ffffff;
}

.main-menu li a:hover{
	color: #ffffff;
}

.main-menu li a.active{
	color: #ffffff!important;
	background: #2980b9!important;
}

.main-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	-moz-transition: background .2s;
	-o-transition: background .2s;
	transition: background .2s;
	/*border-right: 1px solid #134f7c;*/
	/*border-left: 1px solid #3897e0;*/
	background-color: transparent;
}
.main-menu ul li {
	color: #fff;
	background: #2980b9;
	border-right: none;
	border-left: none;	
}

.main-menu ul li a{
	color: #fff;	
	text-align: left;
}

.main-menu ul li a:hover{
	color: #fff;
}

.main-menu ul ul li {
	color: #fff;
	background: #3498db;
	border-right: none;
	border-left: none;
	text-align: right;
}
.main-menu li:hover,
.main-menu li.sfHover {
	color: #fff;
	background: #2980b9;
	text-align: right;
	-webkit-transition:all 0.4s ease;
	-moz-transition:all 0.4s ease;
	-o-transition:all 0.4s ease;
	-ms-transition:all 0.4s ease;
	transition: all 0.4s ease;
}

.main-menu li:hover a,
.main-menu li.sfHover a {
	color: #fff;
}

.main-menu ul li:hover,
.main-menu ul li.sfHover {
	color: #fff;
	background: #3498db;
}

.main-menu ul ul li:hover,
.main-menu ul ul li.sfHover {
	color: #fff;
	background: #9b0968;
	text-align: right;
}


/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 1.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0.6em;
	margin-top: -1px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 3px solid transparent;
	border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
	margin-top: -1px;
	margin-right: 6px;
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}

