 .toggle, [id^=drop] {
 display: none;
}

 .toggleflag, [id^=dropflag] {
 display: none;
}


nav {
	padding: 0;
	margin-top: 0;
#	margin-right: auto;
	margin-bottom: 0;
#	margin-left: auto;
#	width: 99%;
}
#icons_holder {
	margin-top: 0px;
	position: relative;
	text-align: right;
	float: left;
	margin-left: 8px;
	margin-bottom: 0px;
}
a.icon {
    height: 34px;
    width: 34px;
    position: relative;
    margin-left: 2px;
    margin-top: 10px;
	background-position: left top;
    display: inline-block;
    zoom: 1;
    *display: inline;
    background-size: 200% 100%;
    vertical-align: top;
}

#search {
	display: block;
	float: left;
	width:auto;
	line-height: 40px;
	color: #999;
	text-decoration: none;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 0px;
}

#logo img {
	margin-right: 10px;
}

nav:after {
  content: "";
  display: table;
  clear: both;
}


nav ul {
	float: left;
	padding: 0px;
	margin: 0;
	list-style: none;
	position: relative;
}

#menudropmain_right1 {
	float: left;
	padding: 0px;
	margin: 0;
	list-style: none;
	position: relative;
}

nav ul li {
	margin: 0px;
	display: inline-block;
	float: left;
	z-index: 9999;

}

nav a {
	display: block;
	color: #FFF;
	font-size: 17px;
	line-height: 54px;
	text-decoration: none;
	z-index: 9999;
	font-weight: bold;
	padding-top: 0;
	padding-right: 30px;
	padding-bottom: 0;
	padding-left: 10px;
}

nav ul li ul li { background-color: #B49542; 
width: 190px; }

nav ul li ul li:hover { background-color: #ccc; }

nav a:hover {

	color: #B49542; 
}

nav ul ul {
	display: none;
	position: absolute;
	top: 54px;
	z-index: 9999;
}

nav ul li:hover > ul { display: inherit; }

nav ul ul li {
  width: 170px;
  float: none;
  display: list-item;
  position: relative;
}

nav ul ul ul li {
  position: relative;
  top: -60px;
  left: 170px;
}

li > a:after { content: ' '; }

li > a:only-child:after { content: ''; }




/* Media Queries
--------------------------------------------- */

@media all and (max-width : 900px) {


#search {
	display: block;
	width: 100%;
	text-align: left;
	float: left;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #CCC;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 0px;
	margin-bottom: 10px;
}

nav ul li {
	
}

nav { margin: 0; }

.toggle + a,
 .menu {
	display: none;
	z-index: 9999;
			background-color:#B49542;
		 background: rgba(0,0,0,0.5);
}

.toggle + a,
 .menuflag {
	display: none;
	z-index: 9999;
			background-color:#B49542;
		 background: rgba(0,0,0,0.5);
}

.toggle {
	display: block;
	color: #FFF;
	font-size: 16px;
	line-height: 36px;
	text-decoration: none;
	font-weight: 700;
	padding-top: 0;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 10px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.toggleflag:hover {
	color: #FFF;
}

.toggleflag + a,
 .menu {
	display: none;
	z-index: 9999;
			background-color:#B49542;
		 background: rgba(0,0,0,0.5);
}

.toggleflag + a,
 .menuflag {
	display: none;
	z-index: 9999;
			background-color:#B49542;
		 background: rgba(0,0,0,0.5);
}

.toggleflag {
	display: block;
	color: #FFF;
	font-size: 16px;
	line-height: 36px;
	text-decoration: none;
	font-weight: 700;
	padding-top: 0;
	padding-right: 20px;
	padding-bottom: 0;
	padding-left: 10px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

.toggleflag:hover {
	color: #FFF;
}

[id^=drop]:checked + ul { display: block; }
[id^=dropflag]:checked + ul { display: block; }

nav ul li {
  display: block;
  width: 100%;
}

nav ul ul .toggle,
 nav ul ul a { padding: 0 24px; }

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 {
  float: none;
  position: static;
  color: #ffffff;
}

nav ul ul li:hover > ul,
nav ul li:hover > ul { display: none; }

nav ul ul li {
  display: block;
  width: 100%;
}

nav ul ul ul li { position: static;

}
}

@media all and (max-width : 330px) {

nav ul li {
  display: block;
  width: 94%;

}




}

