/* CSS Document */

#container {
	margin: 0 auto;
	max-width: 890px;
}

p {
	/*text-align: center;*/
}

.toggle,
[id^=drop] {
	display: none;
}
.top{z-index: 1000; }

.fix-nav{
  position: fixed;
  background-color: #fff;
  overflow: visible;
  width: 100%;
  height; auto;
  z-index: 10000;
  border-bottom: solid 1px #ccc;
}
.padding-menu{ width: 100%; position: relative; height: 109px;}
/* Giving a background-color to the nav container. */
nav {
	margin:20px 0;
	padding: 0;
	z-index: 1000;
  color: #393636;
}
nav a {
color: #393636;
}

#logo {
	display: block;
	float: left;
	font-size:20px;
	line-height: 60px;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
	}
	nav > ul {
	  margin-top:10px;
	}
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	}

/* Styling the links */
nav a {
	display:block;
	font-size:17px;
	text-decoration:none;
}


nav ul li ul li:hover {  }

/* Background color change on Hover */
nav > ul > li > a:hover {
	color: #006857;
}

nav #logo > a:hover {
	background-color: #fff;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute;
	/* has to be the same number as the "line-height" of "nav a" */
	top: 53px;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
	background-color:#fff;
}

nav ul li > ul > li:hover {
	background-color:#006857;
}

nav ul li > ul > li:hover a{
	color:#fff;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
	width:170px;
	float:none;
	display:list-item;
	position: relative;
}



/* Second, Third and more Tiers
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */
	left:170px;
}


/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' \25bc'; }
li > a:only-child:after { content: ''; }


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {

	#logo {
		display: block;
		padding: 0;
		width: 100%;
		text-align: center;
		float: none;
	}

	nav {
		margin: 15px 0 0 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle2 {
		display: block;
		border:none;
		width: 50px;
		position: absolute;
		top: 0px;
		right: 0px;
	}
	.toggle {
		display: block;
		background-color: #254441;
		padding:14px 20px;
		color:#FFF;
		font-size:17px;
		text-decoration:none;

	}

	.toggle:hover {
		/*background-color: #ccc;*/
	}
  ul.navi_toggle-index{
		background-color: #fff;
  /*border-radius: 100%;*/
	}
	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
		width: 100%;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {

	}

	nav ul li ul li .toggle,
	nav ul ul a,
  nav ul ul ul a{
		padding:6px 20px;
		color:#FFF;
		font-size:17px;
	}


	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #006857;
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}

	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}

	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */

	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}

ul.toggle {
    display: inline-block;
    float: right;
    font-size: 0;
    margin-top: 10px;
	margin-right:6px;
    padding: 5px;
    transform: rotate3d(0, 0, 1, 0deg);
    transition: transform 0.25s ease 0s;
}
ul.toggle > li {
    display: block;
}
ul.toggle > li > svg {
    margin-top: 3px;
    transform: translate3d(0px, 0px, 0px);
    transition: transform 0.25s ease 0s;
}
ul.toggle > li:first-child > svg {
    margin: 0;
    padding: 0;
}
.open.mobile-button {
    background: #3d3e40 none repeat scroll 0 0;
}
ul.toggle.active {
    transform: rotate3d(0, 0, 1, 45deg);
}
ul.toggle.active > li > svg {
}
ul.toggle.active > li > svg.top {
    transform: translate3d(0px, 5px, 0px);
}
ul.toggle.active > li > svg.bot {
    transform: translate3d(0px, -5px, 0px);
}
ul.toggle.active > li > svg.mid {
    transform: rotate3d(0, 0, 1, 90deg);
}
toggle.navi_toggle {
    display: block;
}

.toggle.navi_toggle.active {
    right: 80%;
}
.toggle.navi_toggle-index.active {
    right: 80%;
	background-color:#fff;
	border-radius: 100%;
	padding: 13px 9px;
}
.toggle.navi_toggle-index.active > li{
    right: 80%;
	background-color:#fff;
	border:none;

}
.bar{
			position: relative;
	    width: 100%;
			height: 10px;
			background-color: red;
		}

.test{
  background:none;
  position:absolute;
  top:0;
  right:0;
  line-height:45px;
  padding:5px 15px 0px 15px;
  color:#999;
  border:0;
  font-size:1.4em;
  font-weight:bold;
  cursor:pointer;
  outline:none;
  z-index:10000000000000;
}

.cross{
  background:none;
  position:absolute;
  top:0px;
  right:0;
  padding:7px 15px 0px 15px;
  color:#999;
  border:0;
  font-size:3em;
  line-height:65px;
  font-weight:bold;
  cursor:pointer;
  outline:none;
  z-index:10000000000000;
}
#logo a{
	width:auto;
	display: inline;
}
		/* ======================================================================== */
	  /* ========================= MEDIA QUERIES   ============================== */
	  /* ======================================================================== */

	  /* ======================================================================== */
	  /* ========================= Second Smallest    =========================== */
	  /* ======================================================================== */

	  @media (min-width: 768px) {
			#logo img{height: 55px;}
		 #logo {	padding: 0 5px;}
		 .toggle.navi_toggle-index {
				 display: none;
		 }
		 nav > ul > li > ul a {
		 	color: #006857;
		 }
     nav a {padding:14px 20px;}
	  }

	  /* ======================================================================== */
	  /* =========================   Second Largest    ========================== */
	  /* ======================================================================== */
	  @media (min-width: 992px) {
			#logo img{height: 69px;}
			#logo {	padding: 0 30px;}
			.toggle.navi_toggle-index {
			    display: none;
			}
			nav > ul > li > ul a {
				color: #006857;
			}
      nav a {padding:14px 20px;}
	  }

	  /* ======================================================================== */
	  /* =========================  LArgest    ================================== */
	  /* ======================================================================== */
	  @media (min-width: 1200px) {
			#logo img{height: 69px;}
			#logo {	padding: 0 30px;}
			.toggle.navi_toggle-index {
			    display: none;
			}
			nav > ul > li > ul a {
				color: #006857;
			}
      nav a {padding:14px 20px;}
	  }

	  /* ======================================================================== */
	  /* =========================  XL LArgest  ================================= */
	  /* ======================================================================== */
	  @media (min-width: 1600px) {
			#logo img{height: 69px;}
			#logo {	padding: 0 10px;}
			.toggle.navi_toggle-index {
			    display: none;
			}
			nav > ul > li > ul a {
				color: #006857;
			}
      nav a {padding:14px 20px;}
	  }


	  /* ======================================================================== */
	  /* =========================  Smallest   ================================= */
	  /* ======================================================================== */
	  @media (max-width: 767px) {
			#logo img{height: 69px;}
			#logo {	padding: 0 30px 20px 30px;}
			.toggle.navi_toggle-index.active {
				    right: 0%;
					background-color:#fff;
					border-radius: 100%;
					padding: 15px 9px;
				}
				.toggle.navi_toggle-index.active > li{
				    right: 80%;
					background-color:#fff;
					border:none;

				}
				.nav > li {
				    width: 100%;
				}
				.toggle.navi_toggle-index {
				    display: block;
				}
				nav > ul > li > ul a {
					color: #fff;
				}
        nav a {padding:6px 20px;}
	  }
