
html { height: 101%; }
body { font-size: 62.5%; line-height: 1; font-family: Arial, Tahoma, sans-serif; background: #c5bde5 url('images/bg.png'); }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
strong { font-weight: bold; } 

table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; }


#w { display: block; width: 740px; margin: 0 auto; padding-top: 45px; }


/* nav menu styles */
#nav { 
  display: block; 
/*  width: 200px; */
  margin: 0 auto; 
  -webkit-box-shadow: 3px 2px 3px rgba(0,0,0,0.7);
  -moz-box-shadow: 3px 2px 3px rgba(0,0,0,0.7);
  box-shadow: 3px 2px 3px rgba(0,0,0,0.7);
margin: 0 5px 15px 0;
}

#nav li { }

#nav > li > a { 
  display: block; 
  padding: 16px 18px;
  font-size: 1.3em;
  font-weight: bold;
  color: #fff !important;
  text-decoration: none;
  border-bottom: 1px solid #B6E3FB;
  background-color: #589CC1;
  background: -webkit-gradient(linear, left top, left bottom, from(#589CC1), to(#7DBFE1));
  background: -webkit-linear-gradient(top, #589CC1, #7DBFE1);
  background: -moz-linear-gradient(top, #589CC1, #7DBFE1);
  background: -ms-linear-gradient(top, #589CC1, #7DBFE1);
  background: -o-linear-gradient(top, #589CC1, #7DBFE1);
  background: linear-gradient(top, #589CC1, #7DBFE1);
       border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
#nav > li > a:hover, #nav > li > a.open { 
  color: #e9e9e9;
  border-bottom-color: #384f76;
  background-color: #5499C0;
  background: -webkit-gradient(linear, left top, left bottom, from(#6985b5), to(#456397));
  background: -webkit-linear-gradient(top, #6985b5, #456397);
  background: -moz-linear-gradient(top, #6985b5, #456397);
  background: -ms-linear-gradient(top, #6985b5, #456397);
  background: -o-linear-gradient(top, #6985b5, #456397);
  background: linear-gradient(top, #6985b5, #456397);
}

#nav li ul { display: none; background: #F9F9F9;}

#nav li ul li a { 
  display: block; 
  background: none;
  padding: 10px 0px;
  padding-left: 18px;
  font-size: 11px;
  text-decoration: none;
  font-weight: bold;
  font-family:Tahoma, Geneva, sans-serif;
  color: #333;
  border-bottom:1px dashed #9BC2FF;
}
#nav li ul li a:hover {
  background: #A9CBDA;
}