#nav,
#nav ul {
  padding: 0 0 0px 0;
  margin: 0 !important;
  list-style: none;
  z-index: 9998;
}
#nav li ul {
  margin: 0px 0 0px 0px;
}
#nav {
  /* height:55px; */
  height: auto;
  padding: 0;
  border: 0px #000 solid;
  width: auto;
  display: inline-block;
}

#nav li {
  float: left;
  text-align: left;
  background: none;
  margin-right: 0px;
  position: relative;
  /* margin-right: 10px; */
}

#nav li li {
  float: none;
  border: 0px #ccc solid;
  background: none;
  /* box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px; */
}

/* a hack for IE5.x and IE6 */
* html #nav li li {
  float: left;
}

#nav li a {
  /* color: var(--white); */
  position: relative;
  text-decoration: none;
  display: block;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  /* line-height: 30px; */
  /* line-height: 50px; */
  /* height: 50px; */
  line-height: 35px;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0px 8px;
  text-transform: uppercase;
  font-family: var(--sans-serif-font);
}

#nav li a:not(:first-child) {
  margin: 0 20px;
}
#nav li li a {
  /* height:30px; 
	line-height:30px;  */
  float: none;
  /* font-size:9pt !important;  */
  font-size: 13px !important;
  background: none;
  font-weight: 400;
  letter-spacing: 0;
  color: #000 !important;
  padding: 3px 0;
}

#nav li li td a {
  /* height:15px;  */
  line-height: 30px;
  float: none;
  color: #2a166f;
  background: none;
  text-transform: capitalize !important;
}

#nav li li td a.sub_menulink:hover,
#nav li li td a.sub_menulink2:hover {
  text-decoration: none;
  font-weight: normal;
  background: none;
}
#nav li li td a:hover {
  color: #ce0000;
  text-decoration: none !important;
  background: none;
}

#nav li li td a.menu_sub_title {
  color: #2a2a2a;
  font-weight: 700 !important;
  height: 25px;
  padding-top: 0px;
  background: none;
}

#nav li li a.menu_sub_title {
  color: #999 !important;
  font-size: 12px !important;
  font-weight: 100 !important;
  padding-top: 0px;
  background: none;
  display: inline-block !important;
  width: auto !important;
  margin-bottom: 0rem;
  font-family: var(--sans-serif-font);
  letter-spacing: 0.5px !important;
}

.main_category_content i {
  text-align: right;
  margin: auto;
  font-size: 16px;
  color: #787878;
  cursor: pointer;
}

.main_category_content:hover i {
  color: #000 !important;
}

#nav li li td a.menu_sub_cat {
  float: none;
  font-size: 9pt;
  color: #fff;
  padding-bottom: 3px;
  font-size: 9.5pt;
}

#nav li:hover {
  z-index: 300;
  background: none;
}
#nav li:hover ul {
  left: 8px;
  top: 40px;
  border-top: 0px #ddd solid;
  border-bottom: 0px #ddd solid;
  padding: 0px 0px 0px 0px;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  min-width: 200px;
}

#nav li:hover ul li {
  opacity: 1 !important;
}

/* another hack for IE5.5 and IE6 */
* html #nav li:hover ul {
  left: 10px;
}

#nav ul {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* yet another hack for IE5.x and IE6 */
* html #nav ul {
  width: 1px;
}

/* it could have been this simple if all browsers understood */
/* show next level */
#nav li:hover li:hover > ul {
  left: 0px;
  margin-left: 100%;
  top: -1px;
  background: #fff;
  padding: 5px 0px 10px 0px;
}

/* keep further levels hidden */
#nav li:hover > ul ul {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: auto;
}
/* show path followed */
#nav li:hover > a,
#nav li:hover > img {
  /* color:#fff; */
  display: inline-block;
}

ul.submenu_scroll {
  background: none;
  /* margin-top: 1rem !important; */
  /* background-color: #fff; */
  /* transition: all .5s ease; */
}

/* but IE5.x and IE6 need this lot to style the flyouts and path followed */
/* show next level */
#nav li:hover li:hover ul,
#nav li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover li:hover ul {
  left: 0px;
  margin-left: 100%;
  top: -1px;
  border: 0px #ccc solid;
}

/* keep further levels hidden */
#nav li:hover ul ul,
#nav li:hover li:hover ul ul,
#nav li:hover li:hover li:hover ul ul,
#nav li:hover li:hover li:hover li:hover ul ul {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* show path followed */
#nav li:hover li:hover a,
#nav li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover li:hover li:hover a {
  /*text-decoration:none; color:#fff; font-size:8pt;font-weight:normal;*/
}

#nav li:hover a {
  background-position: 0;
}

#nav li:hover li a,
#nav li:hover li:hover li a,
#nav li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li:hover li a {
  text-decoration: none;
  color: #2a166f;
  font-weight: normal;
}

/* hide futher possible paths */
#nav li:hover li a,
#nav li:hover li:hover li a,
#nav li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li:hover li a {
  text-decoration: none;
  color: #2a166f;
  font-size: 10pt;
  letter-spacing: 0px;
  font-weight: normal;
  width: 100%;
  line-height: 30px;
  border-bottom: 0px #000 solid;
}

#nav li:hover li:hover,
#nav li:hover li:hover li:hover,
#nav li:hover li:hover li:hover li:hover,
#nav li:hover li:hover li:hover li:hover li:hover {
  position: relative;
  z-index: 300;
  background: none;
}

#nav li li A.special_link {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  border-bottom: 0px #000 solid;
  background: none;
}
#nav li .special_link:hover {
  text-decoration: underline;
  color: #fff;
  font-weight: 400;
  border-bottom: 0px #000 solid;
  background: none;
}

a.menu_sub_title {
  font-size: 8pt !important;
  color: #2f2f2f;
  font-weight: 400;
  display: inline-block;
  letter-spacing: 1.5px !important;

  -o-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -khtml-transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

#nav li li a.menu_sub_title:hover
/* ,
#nav li li .main_category_content:hover a.menu_sub_title */ {
  /* color:#000 !important; */
  /* border-bottom:3px #000 solid !important; */
}

/* #nav li li .main_category_content:hover i{
	color:#000 !important;
	transition: right .3s linear;
	right: .5rem;
} */

span.category_subtitle {
  display: inline-block;
  /* float:left; */
  width: 100%;
  font-size: 10pt;
  letter-spacing: 1px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#nav li li a.sub_menulink {
  font-size: 14pt !important;
  color: #333;
  font-weight: 400;
  letter-spacing: 1px;
  text-decoration: none;
  border: 0px #000 solid;
  /* margin:0px; */
  margin: 1rem;
  width: 100%;
  display: inline-block;
  padding: 6px 0px;
  line-height: 16px;
  height: auto !important;

  -o-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -khtml-transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

#nav li li a.sub_menulink:hover {
  color: #000 !important;
  text-decoration: none;
  border-bottom: 0px #fff solid !important;
  margin-left: 5px;
}

/*From top_categories.php file*/
.dropdown_light {
  color: #fff !important;
}

.dropdown_dark {
  color: #232323;
}
/*From top_categories.php file*/

@media screen and (max-width: 1350px) and (min-width: 1140px) {
  /*#nav li a {border:0px #ccc solid;display:block; float:left; color:#fff; margin:0 15px 0 15px; height:70px; line-height:70px; text-decoration:none; white-space:nowrap; text-transform: uppercase; font-size:9.5pt;font-weight:600;letter-spacing:1.5px;}
	
	#nav li:hover ul {left:0px; top:74px;
	}*/
}
