/* ------------------------------------------
  DEMO PAGE'S STYLES
--------------------------------------------- */
body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
  margin: 0;
  padding: 0;
  border: 0; 
}

a:active,
a:hover {
  outline: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #37302a;
  /*background: #fff;*/
  font: normal 100%/1.4 sans-serif;
}

#nav,
#nav * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#nav,
#nav ul {
  list-style: none;
  width: 100%;
  float: left;
}

#nav li {
  float: none;
  width: 100%;
}

@media screen and (min-width: 40em) {
  #nav li {
    float:left;
    width: 10%;
    *width: 24.9%; /* IE7 Hack */
    _width: 19%; /* IE6 Hack */
  }
}



#nav a {
  color: #fff;
  text-decoration: none;
  width: 100%;
  background: #E8E8E8;
  border-bottom: 1px solid white;
  text-align: center;
  padding: 0.3em 0.3em;
  float: left;
  height: 3.2em;
}

@media screen and (min-width: 40em) {
  #nav a {
    margin: 0;
    /*padding: 1em;*/
    float: left;
    text-align: center;
    border-bottom: 0;
    border-right: 1px solid white;
    font-size: 130%;
    height: 5em;
  }
}

#nav ul ul a {
  background: #ca3716;
  padding-left: 2em;
}

@media screen and (min-width: 40em) {
  #nav ul ul a {
    display: none;
  }
}

#nav-toggle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 70px;
  height: 55px;
  float: right;
  text-indent: -9999px;
  overflow: hidden;
  background: #DFDFDF url("hamburger.png") no-repeat 45% 45%;
  border-radius:5px;
}

@media screen and (-webkit-min-device-pixel-ratio: 1.3), screen and (min--moz-device-pixel-ratio: 1.3), screen and (-o-min-device-pixel-ratio: 2 / 1), screen and (min-device-pixel-ratio: 1.3), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
  #nav-toggle {
    background-image: url("hamburger-retina.gif");
    -webkit-background-size: 100px 100px;
    -moz-background-size: 100px 100px;
    -o-background-size: 100px 100px;
    background-size: 100px 100px;
  }
}

li #menu_default {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color:#333;
background: -moz-linear-gradient(left, rgba(232, 232, 232, 0.65) 0%, #E8E8E8 1%, #E8E8E8 99%, rgba(232, 232, 232, 0) 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(232, 232, 232, 0.65)), color-stop(1%, #E8E8E8), color-stop(99%, #E8E8E8), color-stop(100%, rgba(232, 232, 232, 0)));
background: -webkit-linear-gradient(left, rgba(232, 232, 232, 0.65) 0%, #E8E8E8 1%, #E8E8E8 99%, rgba(232, 232, 232, 0) 100%);
background: -o-linear-gradient(left, rgba(232, 232, 232, 0.65) 0%, #E8E8E8 1%, #E8E8E8 99%, rgba(232, 232, 232, 0) 100%);
background: -ms-linear-gradient(left, rgba(232, 232, 232, 0.65) 0%, #E8E8E8 1%, #E8E8E8 99%, rgba(232, 232, 232, 0) 100%);
background: linear-gradient(left, rgba(232, 232, 232, 0.65) 0%, #E8E8E8 1%, #E8E8E8 99%, rgba(232, 232, 232, 0) 100%);
}

@media screen and (max-width: 1000px) {
  #nav a {
    font-size: 110%;
  }
}

@media screen and (max-width: 850px) {
  #nav a {
    font-size: 90%;
  }
}