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


/* menu */

#tm_menu {
	position: relative;
	z-index: 45;
}

#tm_menu ul,
#tm_menu div {
	list-style: none;
	margin: 0;
	padding: 0;
}

#tm_menu>ul,
#tm_menu>div {
	position: relative;
}

#tm_menu ul ul,
#tm_menu div ul {
	display: none;
	height: auto;
	min-width: 100%;
	width: 100%;
	left: 0;
	position: absolute;
}

#tm_menu ul ul ul,
#tm_menu div ul ul {
	left: 100%;
	display: inline-block;
	padding-top: 0;
	top: 0;
	padding-left: 3px;
}

#tm_menu ul li,
#tm_menu div li {
	position: relative;
}

#tm_menu ul ul li,
#tm_menu div ul li {
	background: #ebebeb;
	border-bottom: 1px solid #a0a0a0;
}

#tm_menu ul ul li:first-child,
#tm_menu div ul li:first-child {
	border-top: none;
}

#tm_menu ul ul li a,
#tm_menu div ul li a {
	font-size: 13px;
	line-height: 16px;
	color: #fff;
	display: inline-block;
	padding: 7px 20px 7px 10px;
	width: 100%;
	background: #898987;
	/* border-radius: 25px 0 0 25px; */
}

.li_head span {
	display: inline-block;
	width: calc(100% - 36px);
	vertical-align: middle;
	padding-left: 7px;
}

.li_head img {
	display: inline-block;
}

#tm_menu ul ul li>a:hover:after,
#tm_menu ul ul .menu li.sfHover>a:after,
#tm_menu ul ul .menu li>a.active:after {
	color: #fff;
}

#tm_menu div ul li>a:hover:after,
#tm_menu div ul .menu li.sfHover>a:after,
#tm_menu div ul .menu li>a.active:after {
	color: #fff;
}

#tm_menu ul ul ul li>a:hover:after,
#tm_menu ul ul ul .menu li.sfHover>a:after,
#tm_menu ul ul ul .menu li>a.active:after {
	color: #333;
	background: #fff;
}

#tm_menu div ul ul li>a:hover:after,
#tm_menu div ul ul .menu li.sfHover>a:after,
#tm_menu div ul ul .menu li>a.active:after {
	color: #333;
	background: #fff;
}

#tm_menu ul ul li>a:hover,
#tm_menu ul ul .menu li.sfHover>a,
#tm_menu ul ul .menu li>a.active {
	color: #fff;
	background: #848484;
}

#tm_menu div ul li>a:hover,
#tm_menu div ul .menu li.sfHover>a,
#tm_menu div ul .menu li>a.active {
	color: #fff;
	background: #848484;
}

#tm_menu ul ul ul li>a:hover,
#tm_menu ul ul ul .menu li.sfHover>a,
#tm_menu ul ul ul .menu li>a.active {
	background: #333;
}

#tm_menu div ul ul li>a:hover,
#tm_menu div ul ul .menu li.sfHover>a,
#tm_menu div ul ul .menu li>a.active {
	background: #333;
}

#tm_menu ul ul ul ul li>a:hover,
#tm_menu ul ul ul ul .menu li.sfHover>a,
#tm_menu ul ul ul ul .menu li>a.active {
	background: #999;
}

#tm_menu div ul ul ul li>a:hover,
#tm_menu div ul ul ul .menu li.sfHover>a,
#tm_menu div ul ul ul .menu li>a.active {
	background: #999;
}

a.button-category {
	display: inline-block;
	padding: 5px 0px 5px 20px;
	font-size: 24px;
	line-height: 36px;
	font-weight: bold;
	/*  text-transform: uppercase; */
	color: #fff;
	width: 100%;
	background: none;
}

#tm_menu>.menu:hover .button-category i,
#tm_menu .sfHover .button-category i {
	/*	color:#f97001;*/
}

a.button-category i {
	padding: 0 20px 0 0px;
	display: inline-block;
	font-size: 21px;
	line-height: 37px;
	height: 36px;
	vertical-align: top;
	color: #fff;
}

span.button-category {
	display: inline-block;
	padding: 5px 0px 5px 20px;
	font-size: 20px;
	line-height: 36px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	font-weight: normal;
	/* text-transform: uppercase; */
	color: #fff;
	width: 100%;
	background: #8d8d8d;
}

span.button-category i {
	padding: 0 10px 0 0px;
	display: inline-block;
	font-size: 21px;
	line-height: 37px;
	height: 36px;
	vertical-align: top;
	color: #fff;
}


/* styling for both css and generated arrows */

#with-ul.sf-arrows:after {
	display: inline-block;
	content: '\f101';
	font-family: 'FontAwesome';
	font-size: 23px;
	line-height: 23px;
	position: absolute;
	top: 3px;
	right: 10px;
	height: 23px;
	width: 36px;
	color: #f97001;
	text-align: center;
	background: #f5f5f5;
}

#with-ul.sf-with-ul:after {
	display: none;
	content: '\f101';
	font-family: 'FontAwesome';
	font-size: 23px;
	line-height: 23px;
	position: absolute;
	top: 3px;
	right: 10px;
	height: 23px;
	color: #f97001;
	text-align: center;
	margin-right: 1px;
}

#menu-gadget .menu ul ul a {
	padding-left: 60px !important;
}


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

#menu-icon {
	color: #333;
	cursor: pointer;
	display: block;
	font-size: 25px;
	line-height: 30px;
	padding: 20px;
	/* text-transform: uppercase; */
	position: relative;
}

#menu-icon:after {
	float: right;
	content: "\f0c9";
	background-image: none;
	background-position: 0 0;
	background-repeat: repeat;
	display: inline;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	height: auto;
	margin-top: 0;
	text-decoration: inherit;
	vertical-align: baseline;
	width: auto;
	display: inline-block;
	text-decoration: inherit;
	text-align: center;
	width: 1.25em;
	font-size: 21px;
	line-height: 30px;
	color: #333;
	vertical-align: middle;
}

#menu-icon.active:after,
#menu-icon:hover:after {
	color: #f97001;
}

#menu-gadget .menu {
	display: none;
	padding: 0;
	margin: 0
}

#menu-gadget .menu li {
	position: relative;
	list-style-type: none;
	background-color: #323232;
}

#menu-gadget .menu li a {
	display: inline-block;
	color: #fff;
	border-top: 1px solid #000;
}

#menu-gadget .menu li {
	padding: 0;
}

#menu-gadget .menu li>a {
	font-size: 13px;
	padding: 6px 15px;
	display: block;
}

#menu-gadget .menu li li a {
	padding: 10px 15px 10px 45px;
	font-size: 14px;
	display: block;
}

#menu-gadget .menu li li li a {
	padding: 10px 15px 10px 35px;
	display: block;
}

#menu-gadget .menu li a:hover,
#menu-gadget .menu li a.active {
	color: #f97001;
}

#menu-gadget .menu li li {
	font-size: 12px;
}

#menu-gadget .menu li li.last {
	padding-bottom: 0 !important;
}

#menu-gadget .menu li i {
	position: absolute;
	display: block;
	top: 2px;
	right: 0;
	height: 24px;
	width: 24px;
}

#menu-gadget .menu li i {
	top: 0;
	font-size: 21px;
	padding: 0 20px;
	height: 45px;
	line-height: 45px;
	right: 0;
	width: 68px;
	color: #a7a7a7;
}

#menu-gadget .menu li i:hover {
	color: #fff;
}

#menu-gadget .menu li i.fa-angle-up:before {
	content: '\f106' !important
}

#menu-gadget .menu li i:hover {
	cursor: pointer;
}

#menu-gadget .menu li i.opened {
	background-position: center 7px;
}


/** dropdown **/

#menu-gadget .menu ul {
	width: auto;
	padding: 0px 0px;
	display: none;
}

#menu-gadget .menu li.active>a>span {
	color: inherit;
}

#menu-gadget .menu li.active>a,
#menu-gadget .menu li:hover>a {
	color: #f97001;
}

#menu-gadget .menu li:hover>a {
	color: #f97001;
	background: #222;
}