/*** ESSENTIAL STYLES ***/
.menu-block{display:none !important;}
.gf-menu-toggle{display:none !important;}


.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
.sf-menu {
	float: right;
	margin: 0.5em 0;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	padding:10px;
	border: 1px solid #ccc;
	background:#fff;
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu a {
	padding:4px 3px;
	font-size: 11px;
	text-decoration: none;
	text-transform: uppercase;
	zoom: 1; /* IE7 */
}
.sf-menu a {
	color: #1c1d1f;
}
.sf-menu li {
	background: #fff;
	border:1px solid transparent;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
	border-radius: 3px;
}
.sf-menu ul li {
	background: #fff;
}
.sf-menu ul ul li {
	background: #fff;
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	border:1px solid #ccc;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

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

/*********** new code here ***********/

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


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

/*******************/


body{
  overflow-x: hidden;
}


/*******************************************
      Menu Styles
********************************************/

.slide-menu {
  background: #202024;
  left: -285px;  /* start off behind the scenes */
  height: 100%;
  position: fixed;
  width: 285px;
  z-index: 99999;
  /*overflow-y: scroll;*/
}

.ost-icon-menu{
	float:left;
    background-color: #2447b7;
    border: 1px solid #172e77;
    border-radius: 3px;
	color:#fff;
	padding:2px 7px;
	position: relative;
    z-index: 100;
	cursor: pointer;
}

.icon-close{
	cursor: pointer;
}
/**
 * Framework starts from here ...
 * ------------------------------
 */

.tree,
.tree ul {
  margin:0;
  padding:0;
  list-style:none;
}

.tree a {
  color:#fff;
  font-size: 13px;
  text-decoration: none;
}

.tree ul {
  margin-left:1em; /* indentation */
  position:relative;
}

.tree ul ul {margin-left:.5em} /* (indentation/2) */

.tree ul:before {
  content:"";
  display:block;
  width:0;
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  border-left:1px solid;
}

.tree li {
  margin:0;
  padding:0 1.5em; /* indentation + .5em */
  line-height:1.8em; /* default list item's `line-height` */
  color:#fff;
  font-weight:normal;
  position:relative;
}

.tree ul li:before {
  content:"";
  display:block;
  width:10px; /* same with indentation */
  height:0 !important;
  border-top:1px solid;
  margin-top:-1px; /* border top width */
  position:absolute;
  top:1em; /* (line-height/2) */
  left:0;
}

.tree ul li:last-child:before {
  background:white; /* same with body background */
  height:auto;
  top:1em; /* (line-height/2) */
  bottom:0;
}


@media only screen and (max-width: 1024px) {
	#menu_1{overflow-y:scroll;}

}

@media only screen and (max-width: 960px) {
	
	.ost-menu{display:none;}

	/*#rt-header .rt-grid-2 {
		-webkit-flex-basis:26.6667%;
		-moz-flex-basis:26.6667%;
		-ms-flex-basis:26.6667%;
		flex-basis:26.6667%%;
	}
	#rt-header .rt-grid-7 {
		-webkit-flex-basis:45.3333%;
		-moz-flex-basis:45.3333%;
		-ms-flex-basis:45.3333%;
		flex-basis:45.3333%%;
	}*/

}

/*
@media only screen and (max-width: 767px) {
	.ost-menu{display:none;}

	#rt-header .rt-grid-2 {
		-webkit-flex-basis:100%;
		-moz-flex-basis:100%;
		-ms-flex-basis:100%;
		flex-basis:100%%;
	}

	#rt-header .rt-grid-7 {
		-webkit-flex-basis:100%;
		-moz-flex-basis:100%;
		-ms-flex-basis:100%;
		flex-basis:100%%;
	}
}*/