/*----------main navigation----------*/
#nav_bar {
	background: rgba(50,49,50,0.95);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	font-size:0.91em;
}
#nav_logo {
	width: 40px;
	height:25px;
	left: 50%;
	top: 7px;
	position: absolute;
	margin-left: -20px;
}
#nav_toggle {
    display: none;
    color: #FFF;
	width: 100%;
	height:40px;
	line-height:40px;
	text-decoration:none;
}
#nav_container {
	width: 95%;
	margin: 0 auto;
	max-width: 1000px;
	list-style: none;
}
#nav_container ul {
    list-style: none;
    min-width: 200px;
}
#nav_container a {
	height: 40px;
	line-height: 40px;
    color: #FFF;
	padding-right:10px;
	padding-left:10px;
	min-width:20px;
	text-decoration:none;
}
#nav_container li {
    position: relative;
	transition:0.35s;
}
#nav_container li:hover {
    position: relative;
	background: #4C4C4E;
}
#nav_container > li {
    float: left;
}
#nav_container > li.right {
    float: right;
}
#nav_container > li > a {
    display: block;
}
#nav_container li ul {
    position: absolute;
    left: -9999px;
	opacity:0;
	transition:opacity 0.35s;
	/*box-shadow: 2px 2px 3px 0px #A7A9AB;*/
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}
#nav_container > li.hover > ul {
    left: 0;
	opacity:1;
}
#nav_container > li.right.hover > ul {
    left: -160px;
	opacity:1;
}
#nav_container li li.hover ul {
    left: 100%;
    top: 0;
}
#nav_container li li a {
    display: block;
    position: relative;
	background: #4C4C4E;
	border-left:3px solid #4C4C4E;
	transition:0.35s;
	height: 30px;
	line-height: 30px;
	white-space:nowrap;
}
#nav_container li li a:hover {
	background: #323132;
	border-left:3px solid #6FBE44;
}
#nav_container li li:last-child a {
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}
#nav_container li ul li:last-child {
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}
.small-inactive {
	display: block;
}
.large-inactive {
	display:none;
}
.triangle:hover:after {
    border-left: solid transparent 6px;
    border-right: solid transparent 6px;
    border-bottom: solid #6FBE44 5px;
    bottom: 0px;
    content: " ";
    height: 0;
    left: 50%;
    margin-left: -6px;
    position: absolute;
    width: 0;
}
/*----------main navigation (small size)----------*/
@media screen and (max-width: 900px) {
    #nav_bar {
		position:absolute;
		z-index: 9999;
	}
	#nav_container {
		width:100%;
	}
	.active {
        display: block;
    }
	#nav_container > li {
        float: none;
    }
	#nav_container > li.right {
		float: none;
	}
	#nav_container > li > .parent {
        background-position: 95% 50%;
		background-image: url("../images/drop_arrow.svg");
        background-repeat: no-repeat;
		background-size: 14px 6px;
    }
    #nav_container ul {
        display: block;
        width: 100%;
    }
	#nav_container > li.hover > ul , #nav_container li li.hover ul {
        position: static;
    }
	#nav_container li ul {
		box-shadow:none;
	}
	#nav_container li a {
		border-top: 1px solid #000;
	}
	#nav_container li li a {
		text-indent:20px;
	}
	.small-inactive {
		display: none;
	}
	.large-inactive {
		display:block;
	}
	.triangle:hover:after {
		display:none;
	}
}
/*----------hamburger icon----------*/
.ham-icon {
	position: relative;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
}
.ham-icon span {
	display: block;
	position: absolute;
	height: 2px;
	width: 20px;
	background: #FFF;
	opacity: 1;
	left: 10px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	-o-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius:2px;
}
.ham-icon span:nth-child(1) {
	top: 16px;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
}
.ham-icon span:nth-child(2) {
	top: 24px;
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center;
}
.ham-icon.open span:nth-child(1) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 13px;
	left: 12px;
}
.ham-icon.open span:nth-child(2) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: 27px;
	left: 12px;
}