/* Code From Here >> -- http://blog.themearmada.com/off-canvas-slide-menu-for-bootstrap/   */

/* Added by Rez */

.x-button {
	padding-top: 10px !important;
	padding-bottom: 9px !important;
	padding-right: 0px !important;
}

a:hover#nav-close{
    background-color: transparent !important;
}



/* The CSS */
a.nav-expander {
  background: none repeat scroll 0 0 #000;
  color: #000;
  display: block;
  font-size: 15px;
  font-weight: 400;
  height: 50px;
  margin-right: 0;
  padding: 1em 1.6em 2em;
  position: absolute;
  right: 0;
  text-decoration: none;
  text-transform: uppercase;
  top: 0;
  transition: right 0.3s ease-in-out 0s;
  width: 40px;
  z-index: 12;

  transition: right 0.3s ease-in-out 0s;
  -webkit-transition: right 0.3s ease-in-out 0s;
  -moz-transition: right 0.3s ease-in-out 0s;
  -o-transition: right 0.3s ease-in-out 0s;

}

a.nav-expander:hover {
  cursor: pointer;
  color:#000;
}

a.nav-expander.fixed {
  position: fixed;
}

.nav-expanded a.nav-expander.fixed {
    right: 20em;
}

.navbar-inverse {
	background-color: #6557eb;
	border-color: #6557eb !important;
}


/*  Off Canvas Menu */ 

.fa {
	margin-top: 4px !important;
	margin-left: -8px !important;
}

.fa-lg {
margin: 15px 20px 0px 0px;
color: #FFFF00;
}

.fa-lg:hover {
color: #666;
}


nav {
  background: #EEE;
  display: block;
  height: 100%;
  overflow: auto;
  position: fixed;
  right: -20em;
  font-size: 15px;
  top: 0;
  width: 20em;
  z-index: 2000;

  transition: right 0.3s ease-in-out 0s;
  -webkit-transition: right 0.3s ease-in-out 0s;
  -moz-transition: right 0.3s ease-in-out 0s;
  -o-transition: right 0.3s ease-in-out 0s;

}
.nav-expanded nav {
  right: 0;
}

#nav-expander.fixed: a {
  color: #FFF !important;
}

body.nav-expanded {
  margin-left: 0em;
  transition: right 0.4s ease-in-out 0s;
  -webkit-transition: right 0.4s ease-in-out 0s;
  -moz-transition: right 0.4s ease-in-out 0s;
  -o-transition: right 0.4s ease-in-out 0s;
}

#nav-close {
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight: 300;
  font-size: 24px;
  padding-right: 10px;
}


/* Menu Style and animations on hover */

.main-menu {
  padding-top: 0px;
}

.main-menu li {
 /* border-bottom: 1px solid #CCC; */
  margin-left: 20px;
  margin-right: 20px;
  font-size: 1.1em;
  line-height:1.4em;
  padding-bottom:22px;
  
}

.main-menu li a {
  color: #666;
  text-decoration: none;
  
}

.main-menu li a:hover {
  color: #333;
  text-decoration: none;
  background-color: #FFFF00;
}

.main-menu li .sub-nav {
  border-bottom: 0px;
  padding: 4px;
}

.main-menu a .caret {
	width: 0;
	height: 0;
	display: inline-block;
	vertical-align: top;
	border-top: 4px solid #4f5963;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
    margin-top: 8px;
}

.main-menu a:hover .caret {
	border-top-color: #4f5963;
}

.main-menu li.open > a > .caret {
	border-top: none;
	border-bottom: 4px solid #4f5963;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.main-menu li.open > a:hover > .caret {
	border-bottom-color: #4f5963;
}

.icon:before {
  font-family: 'FontAwesome';
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  content: '\f105';
}

.main-menu li > a > span.icon {
  float: right;
  margin: 0.1em 1.7em -0.1em 0;
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;

}

.main-menu li > a:hover > span.icon {
  float: right;
  margin: 0.1em 0.8em -0.1em 0;
  opacity: 1;
}

