/* ------------------------------------------
  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: #333;
  font:bold 16px 'corbel'; /*grace changed*/
  width: 100%;
}

.nav-collapse,
.nav-collapse * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  }

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: right;/*doesn't work*/
  }

.nav-collapse li {
  float: left;
  width: 100%;
  /*border-top:2px dashed #ddd; grace changes*/
  margin-left:10px;/*grace added*/
  margin-top:3px;
}

@media screen and (min-width: 40em) {
  .nav-collapse li {
    width: auto;
    *width: auto; /* IE7 Hack */
    _width: auto; /* IE6 Hack */	
	}/*grace changed*/
}

.nav-collapse a {
  color: #333;
  text-decoration: none;
  width: 100%;
  padding: 0.5em 1em;/*grace changed*/
  float: left;
  }

@media screen and (min-width: 40em) {
  .nav-collapse a {
    margin: 0;
    padding: 0.5em;
    float: left;
    text-align: center;
    border-bottom: 0;
    }
}

.nav-collapse ul ul a {
  padding-left: 0.5em;
  width: 100%;
}

@media screen and (min-width: 40em) {
  .nav-collapse 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: #ccc url("hamburger.gif") no-repeat 50% 33%;
  position:absolute; top:1.5%; right:0;/*grace added*/
 }

@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;
  }
}
