#menu{
	width: 100%;
	margin: 0;
	padding: 8px 0 0 0;
	list-style: none;  
	background: #f1bb01;
	background: -moz-linear-gradient(#fedd6f, #f1bb01); 
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #f1bb01),color-stop(1, #fedd6f));	
	background: -webkit-linear-gradient(#fedd6f, #f1bb01);	
	background: -o-linear-gradient(#fedd6f, #f1bb01);
	background: -ms-linear-gradient(#fedd6f, #f1bb01);
	background: linear-gradient(#fedd6f, #f1bb01);
	border-radius: 5px;
	border: 1px solid #d19405;
}

#menu li{
	float: left;
	padding: 0 0 5px 0;
	position: relative;
}

#menu a, .opt {
	float: left;
	height: 20px;
	padding: 0 15px;
	color: #400000;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	font: italics;
}
@media only screen and (max-width: 767px) {
#menu {
/*
	position: absolute;
	top: 8px;
*/
	left: 8px;
	float: left;
	margin-left: 0;
	width: 100%;
}

#menu img {
	width: 80%;
	height: 80%;
	margin: 3px 0 0 0;
}

#menu a, .opt {
	font-size: 11px;
	padding: 0 8px;
}
}

#menu .opt {
	font-style: italic;
	cursor: pointer;
}

#menu li:hover > a {
	color: #ffffff;
	background: #f27e02;
	background: -moz-linear-gradient(#fd921f,  #f27e02);	
	background: -webkit-gradient(linear, left top, left bottom, from(#fd921f), to(#f27e02));
	background: -webkit-linear-gradient(#fd921f,  #f27e02);
	background: -o-linear-gradient(#fd921f,  #f27e02);
	background: -ms-linear-gradient(#fd921f,  #f27e02);
	background: linear-gradient(#fd921f,  #f27e02);
}

*html #menu li a:hover{ /* IE6 */
	color: #ffffff;
}

#menu li:hover > ul{
	display: block;
}

/* Sub-menu */

#menu ul{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 99999;    
    background: #fedd6f;
    background: -moz-linear-gradient(#fedd6f, #f1bb01);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #f1bb01),color-stop(1, #fedd6f));
    background: -webkit-linear-gradient(#fedd6f, #f1bb01);    
    background: -o-linear-gradient(#fedd6f, #f1bb01);	
    background: -ms-linear-gradient(#fedd6f, #f1bb01);	
    background: linear-gradient(#fedd6f, #f1bb01);	
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#menu ul ul
{
  top: 0;
  left: 210px;
}

#menu ul li{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    -moz-box-shadow: 0 1px 0 #111111, 0 1px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 1px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 1px 0 #777777;
}

#menu ul li:last-child{   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}

#menu ul a, #menu ul .opt {    
    padding: 10px;
	height: 10px;
	width: 190px;
	height: auto;
    line-height: .8;
    display: block;
    white-space: nowrap;
    float: none;
}

*html #menu ul a{ /* IE6 */   
	height: 10px;
	width: 180px;
}

*:first-child+html #menu ul a{ /* IE7 */    
	height: 10px;
	width: 180px;
}

#menu ul a:hover{
	background: #f27e02;
	background: -moz-linear-gradient(#fd921f,  #f27e02);	
	background: -webkit-gradient(linear, left top, left bottom, from(#fd921f), to(#f27e02));
	background: -webkit-linear-gradient(#fd921f,  #f27e02);
	background: -o-linear-gradient(#fd921f,  #f27e02);
	background: -ms-linear-gradient(#fd921f,  #f27e02);
	background: linear-gradient(#fd921f,  #f27e02);
}

#menu ul li:first-child a{
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#menu ul li:first-child a:after{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
}

#menu ul li:first-child a:hover:after{
    border-bottom-color: #fd921f; 
}

#menu ul ul li:first-child a:hover:after
{
    border-right-color: #04acec; 
    border-bottom-color: transparent; 	
}

#menu ul li:last-child > a
{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menu:after 
{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */

#menu .menuhome {
	float: left;
	margin-top: -5px;
	padding: 0;
	background: transparent;
}

#menu a img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	background	:	transparent;
}

#menu .menuhome :hover {
	background: transparent;
	cursor: pointer;
	//opacity: 1.5;
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}