﻿/* http://forums.asp.net/t/1969639.aspx?CSS+Menu */
.menu-bar {
  width: 100%;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  height: 40px;
  line-height: 100%; 
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  box-shadow: 2px 2px 3px #666666;
  -webkit-box-shadow: 2px 2px 3px #666666;
  -moz-box-shadow: 2px 2px 3px #666666;
  background: #8B8B8B;
  background: linear-gradient(top,  #D5FFC9,  #216321);
  background: -ms-linear-gradient(top,  #D5FFC9,  #216321);
  background: -webkit-gradient(linear, left top, left bottom, from(#D5FFC9), to(#216321));
  background: -moz-linear-gradient(top,  #D5FFC9,  #216321);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D5FFC9', endColorstr='#216321',GradientType=0 ); /* IE6-9 */        	     	
  border: solid 1px #6D6D6D;
  position:relative;
  z-index:999;    
}
/* Static menu captions */
.menu-bar li {
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;  
  float: left;
  position: relative;
  list-style: none;
}
.menu-bar a {
  font-weight: bold;
  font-family: arial;
  font-style: normal;
  font-size: 22px;
  color: #217421;
  text-decoration: none;
  display: block;
  padding: 6px 20px 6px 20px;  
  margin: 0;
  margin-bottom: 6px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  text-shadow: 2px 2px 3px #DAFF7F;
  height: 38px;
}
.menu-bar li ul li a {
  margin: 0;
}

/* Hover para Static */
.menu-bar .active a, .menu-bar li:hover > a {
  background: #0399D4;
  background: linear-gradient(top,  #D5FFC9,  #216321);
  background: -ms-linear-gradient(top,  #D5FFC9,  #216321);
  background: -webkit-gradient(linear, left top, left bottom, from(#D5FFC9), to(#216321));
  background: -moz-linear-gradient(top,  #D5FFC9,  #216321);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D5FFC9', endColorstr='#216321',GradientType=0 ); /* IE6-9 */        	     	
  color: #E7E5E5;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  text-shadow: 2px 2px 3px #000000;
}
.menu-bar ul li:hover a, .menu-bar li:hover li a {
  background: none;
  border: none;
  color: #666;
  -box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}
/*Hover para Dynamic */
.menu-bar ul a:hover {
  background: #0399D4 !important;
  background: linear-gradient(top,  #D5FFC9,  #216321) !important;
  background: -ms-linear-gradient(top,  #D5FFC9,  #216321) !important;
  background: -webkit-gradient(linear, left top, left bottom, from(#D5FFC9), to(#216321)) !important;
  background: -moz-linear-gradient(top,  #D5FFC9,  #216321) !important;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D5FFC9', endColorstr='#216321',GradientType=0 ); /* IE6-9 */        	     	
  color: #FFFFFF !important;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  text-shadow: 2px 2px 3px #FFA799;
}
/*Paneles de subitems*/
.menu-bar ul { 
  background: #FFFFFF;
  background: linear-gradient(top,  #FFFFFF,  #CFCFCF);
  background: -ms-linear-gradient(top,  #FFFFFF,  #CFCFCF);
  background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CFCFCF));
  background: -moz-linear-gradient(top,  #FFFFFF,  #CFCFCF);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#CFCFCF',GradientType=0 ); /* IE6-9 */        	     	
  display: none;
  margin: 0px 0px 0px 0px;
  padding: 0;
  width: 185px;
  position: absolute;
  top: 40px;
  left: 0;
  border: solid 1px #B4B4B4;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-box-shadow: 2px 2px 3px #222222;
  -moz-box-shadow: 2px 2px 3px #222222;
  box-shadow: 2px 2px 3px #222222;  
  z-index: 9999; /* IE8 FIX for asp:Menu */}
}

.menu-bar li:hover > ul {
  display: block;
}
.menu-bar ul li {
  float: none;
  margin: 0;
  padding: 0;
}
.menu-bar ul a {
  padding:10px 5px 10px 15px;
  color:#424242 !important;
  font-size:12px;
  font-style:normal;
  font-family:arial;
  font-weight: normal;
  text-shadow: 2px 2px 3px #FFFFFF;
}
.menu-bar ul li:first-child > a {
  border-top-left-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  border-top-right-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-radius-topright: 5px;
}
.menu-bar ul li:last-child > a {
  border-bottom-left-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -moz-border-radius-bottomright: 5px;
}
.menu-bar:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.menu-bar {
  display: inline-block;
}
  html[xmlns] .menu-bar {
  display: block;
}

* html .menu-bar {
  height: 1%;
}
