/**
*	Name: NAVIGATION BUTTON MODULE | Dropdown CSS
*	Author: Vipaka
**/
/* First Level of CSS - The Main Menu */

#menu_bar{
	display: block;
	width: calc(100% + 4px);
	font-size: 1.2em;
	text-align: center;
	height: 40px;
	z-index: 999999;
	top: 0px;
	position: relative;
	left: 0;
}
#menu_bar p{/* Disabled */
	font-size: 1.5em;
	padding: 8px;
	margin: 0;
}
#menu_bar ul{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	padding: 0px;
	margin: 0 auto;
	width: 100%;
    top: 0px;
    overflow-y: visible;
}
#menu_bar ul li span{
	display: none;
	font-size: 0.8em;
	text-shadow: 1px -2px 2px #000;
	position: absolute;
	z-index: 3;
	top: 65%;
  	left: 5px;
}

#menu_bar svg.fa-circle {
  top: 0;
  position: absolute;
  left: 40px;
  display: none;
}

#menu_bar a.active .fa-circle{
	display: block;
}

#menu_bar ul li ul{
	display: flex;
	grid-template-columns: 1fr 1fr 1fr;
	flex-direction: column;
}

#menu_bar ul.top_menu{
	display: flex;
	flex-direction: row;
	position: relative;
	top: 0;
}
#menu_bar ul li ul {
	display: none;
}

#menu_bar ul li svg {
  padding-top: 10px;
  left: -6px;
  position: relative;
}

#menu_bar ul li ul .dropdown .dropdown-contents{
	display: block;
}
.top_menu {
	list-style-type: none;
	margin: 0 auto;
	position: relative;
	display: inline-block;
	height: 40px;
}

.top_menu li {
	font-weight: normal;
	text-align: center;
	padding: 0px;
    transition: background 0.3s ease-in-out;
}
.top_menu > li a:last-child{
	border-right: 1px solid #ccc;
}
.top_menu li:hover{
	/*background-color: rgba(100,100,100, 0.2);*/
}

.top_menu .top_menu_sub > li a{
	font-family: Open Sans;
	font-size: 0.9rem;
}

.top_menu > li a {
	font-family: 'Eagle Lake', cursive, Patrick Hand SC, Handlee;
	font-size: 1rem;
	border-right: 1px solid #ccc;
	width: auto;
	text-align: center;
	padding: 0;
	display: block;
	font-weight: bold;
	text-shadow: 0px 0px 3px #182DA4;
	height: 30px;
	line-height: 1.7em;
}
.top_menu > li ul.linklist li{
	position: relative;
	float: none;
}
.top_menu > li ul.linklist li a{
	border-right: 0px solid transparent;
	color: #333;
	text-shadow: none;
	font-size: 1.1em;
	height: auto;
}
.top_menu > li ul.linklist li a:hover{
	border-radius: 0px;
}
.top_menu > li ul.linklist li i.fa{
	position: absolute;
	display: block;
	top: 0px;
	left: 0px;
}
.top_menu li a:hover {
	text-decoration: none;
	transition-duration: 0.5s;
	text-shadow: 0px 0px 5px #000;
}

#menu_bar .top_menu:after {
	content: ""; 
	clear: both;
	display: inline-block;
}

.top_li {
	padding: 0 30px 0 0;
	float: left;
}

/* Second Level of CSS - The Dropdown*/

.top_menu li:hover > ul {
	display: block;
	width: auto;
}
.top_menu li:hover > ul li{
	width: 100%;
	border-radius: 0;
}
.top_menu li:hover > .top_menu_sub li:first-child a:hover{
	border-top-left-radius: 0;
}
.top_menu li:hover > .top_menu_sub li:last-child a:hover{
	border-top-right-radius: 0;
}



/* Third Level of CSS - Sub Sub Menus */

.top_menu li ul li ul {
	left: 100%;
	top: 0px;
	z-index: 2;
}

.top_menu > li ul li ul:last-child {
	border-radius: 0px;
}

.top_menu > li ul li ul li:first-child {
	border: 0px solid transparent;
}

.top_li:hover .sheen {
  opacity: 1;
  top: -30%;
  left: -30%;
}
#top_menu_nav > li.top_li{
	position: relative;
	width: 12%;
}
#mobile-logo{
	display: block;
	position: absolute;
	height: 30px;
	padding: 3px 0 5px;
}
.top_li:active .sheen {
  opacity: 0;
}

.top_li.current {
	filter: brightness(2);
}
/** Second level menu */
#menu_bar ul li .top_menu_sub{
	height: auto;
}
.top_menu_sub{
	display: none;
}
.top_menu_sub li:last-child{
	border-bottom-right-radius: 12px;
	border-bottom-left-radius: 12px;
}

.top_menu_sub, .top_menu_sub li ul{
	padding: 0px;
	display: none;
	list-style: none;
	z-index: 1001;
	position: relative;
	top: 0px;
}
.top_menu_li .top_menu_sub > li{
	border-left: none;
}
.top_menu_sub > li a {
	width: auto;
	text-align: center;
	padding: 0; 
	display: block;
	/*background:  rgba( 255, 255, 255, 0.1 );
	color: white;*/
	font-weight: bold;
	font-size: 1.3em;
	border-right: none;
}
.top_menu li a:last-child{
	border-right: none;
}
.top_menu_sub > li:first-child a{
	border-top-left-radius: 0;
}

#logo-background-color{
	width: 70%;
	height: 93%;
	border-radius: 100px / 45px;
	display: block;
	position: absolute;
	z-index: -1;
	left: 16%;
	top: 4%;
}
/*
*This part adds those uh..reverse border radiuses to the top of the dropdowns.
*/

.top_menu_sub li a:hover{
	text-decoration: none;
}

#ul-1 li:last-child, #ul-9 li:last-child, #ul-17 li:last-child, #ul-21 li:last-child, #ul-32 li:last-child, #ul-28 li:last-child {
	border-bottom-right-radius: 12px;
	border-bottom-left-radius: 12px;
}
.fa-bars, .fa-star{
	background: none;
	position: relative;
	font-size: 1.4em;
}
.navbar .inner .bulletin .no-bulletin{
	margin-left: 7px;
}
ul.linklist > li.rightside{
	margin-left: 0px;
}
.fa-bars{
	top: 5px;
	font-size: 2em;
}
.collapsing-nav{
	display: none;
}
.dropdown li.separator{
	margin: 0px;
}
#wrap{
	margin: 0 auto;
}
#page-header{
	height: 40px;
	position: fixed;
	right: 0px;
	left: 0px;
	z-index: 99;
}
#logo{
	display: none;
}
#menu_bar{
	height: auto;
	width: 100%; 
	top: 0;
	position: fixed;
	z-index: 99999;
}
.top_menu li a:last-child{
	border: 0px solid #fff;
}
.top_li{
	float: none;
}
.top_menu li a{
	border-right: 0px solid #000;
	height: 30px;
	padding: 0;
    font-size: 1rem;
    width: auto;
}
}
.top_menu li:first-child{
	border-left: 0px solid #fff;
}
.top_menu{
	padding: 0px;
	width: 100%;
}
#top_menu_nav > li.top_li{
	width: 50%;
}

#page-header {
	background: none;
}

@media screen and (min-width: 480px){
	#top_menu_nav > li.top_li.mobile-home{
		display: none;
	}

	.top_li.current {
		filter: brightness(1.3);
	}

	#menu_bar ul li span{
		display: inline-block;
		font-size: 1em;
		text-shadow: none;
		position: relative;
		left: 0;
		top: 0;
		z-index: 2;
	}

	#menu_bar a.active span {
		text-shadow: 0 0 10px #fff;
	}

	#menu_bar a.active svg.fa-circle {
		display: none;
	}

	#menu_bar ul li svg{
		display: none;
	}

	#menu_bar ul li ul {
		display: flex;
	}

	#wrap{
		padding: 0px;
	}
	.navbar ul.linklist{
		position: relative;
		font-size: 1.4em;
	}
	ul.linklist li.responsive-menu{
		top: 5px;
	}
	#menu_bar ul{
		height: 41px;
	}
	#menu_bar ul li .top_menu_sub{
		height: 0px;
	}
	.top_menu li a{
		padding: 5px 5px 0 5px;
	}
	#menu_bar ul.top_menu{
		display: flex;
	}
	.top_menu li a{
		height: 36px;
	}
	#top_menu_nav > li.top_li{
		width: 10%;
		display: block;
	}
	#logo{
		display: block;
	}
	#mobile-logo{
		display: none;
	}
	#menu_bar ul.top_menu{
		flex-direction: row;
		top: 0;
	}
	#top_menu_nav > li.top_li{
		width: 12%;
	}
	#menu_bar ul li ul{
		display: none;
		flex-direction: row;
	}
	.top_menu li a{
		padding: 5px 3px 0;
	}
}
@media screen and (min-width: 700px){
	#logo-background-color{
		left: 14%;
		height: 85px;
		width: 72%;
	}
	#page-header{
		display: none;
	}
	#menu_bar{
		width: auto;
		position: relative;
		top: 0px;
	}
	#menu_bar ul{
		width: 100%;
		overflow-y: visible;
	}
	#menu_bar ul li .top_menu_sub{
		display: none;
	}

	.top_menu_sub{
		position: relative;
	}
	.top_menu > li a {
		height: 22px;
		line-height: 1em;
	}
	.top_menu_sub > li a {
		padding: 6px 0; 
	}
	.top_menu_sub li:first-child {
		border-top: 2px solid rgba( 0, 0, 0, 0.2 );
	}
	.top_menu > li a {
		padding: 12px 5px 0px 5px;
		height: 29px;
	}
	#ul-1 li:last-child, #ul-9 li:last-child, #ul-17 li:last-child, #ul-21 li:last-child, #ul-32 li:last-child, #ul-28 li:last-child{
		border-radius: 0px 0px 0px 0px;
	}
	.top_menu_sub li{
		/*box-shadow: 0px solid #fff;
		border-left: 5px solid gray;*/
	}
	.top_menu .top_menu_sub li a, .top_menu .top_menu_sub li a:hover{
		border-top-left-radius: 0;
		border-top-right-radius: 0;
	}
	.top_menu_sub > li a {
		min-width: 90px;
	}
}
@media screen and (min-width: 768px){
	#logo-background-color{
		width: 66%;
		left: 17%;
	}

}
@media screen and (min-width: 990px){
	#logo{
		display: block;
	}
	#menu_bar ul.top_menu{
		width: 70%;
	}
	#logo-background-color{
		left: 14%;
		width: 72%;
	}
}

@media screen and (min-width: 1200px){
	#menu_bar ul{
		width: 100%;
		top: -1px;
	}
	#top_menu_nav > li.top_li{
		width: 12%;
	}
	#logo-background-color{
		left: 18%;
		width: 66%;
	}
}

@media screen and (max-width: 480px){
	.darkmedmedbg-nonhover-bg{
		background: none;
	}
	#menu_bar ul li a {
		background: none;
	}
}