body {
  margin: 0px;
}

/* STYLES FOR DESKTOP DEVICES */
.hidden-mobile { display: inherit !important; }
.hidden-desktop { display: none !important; }

.section {
  float: left;
  width: 100%;
  min-width: 980px;
}

.container {
  width: 980px;
}
.container {
  margin-right: auto;
  margin-left: auto;
  *zoom: 1;
}
.container:before,
.container:after {
  display: table;
  line-height: 0;
  content: "";
}
.container:after { clear: both; }

.row {
  float: left;
  margin-right: 20px;
}
.row:after { clear: both; }

[class*="span"] {
  float: left;
  min-height: 1px;
  margin-left: 20px;
}
.span1  { width: 60px; }
.span2  { width: 140px; }
.span3  { width: 220px; }
.span4  { width: 300px; }
.span5  { width: 380px; }
.span6  { width: 460px; }
.span7  { width: 540px; }
.span8  { width: 620px; }
.span9  { width: 700px; }
.span10 { width: 780px; }
.span11 { width: 860px; }
.span12 { width: 940px; }

.nomargin { margin-left: 0px !important; }

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
  /* STYLES FOR AN IPAD */
  .section {
    zoom: 0.75;
    -moz-transform: scale(0.75);
    -moz-transform-origin: 0 0;
  }
}


@media only screen
and (max-width: 640px) {

  /* STYLES FOR A MOBILE DEVICE */
  .hidden-mobile { display: none !important; }
  .hidden-desktop { display: inherit !important; }

  .section {
    min-width: 320px !important;
  }
  .container {
    width: auto;
  }
  .row {
    width: 94%;
    padding-left: 3% !important;
    padding-right: 3% !important;
    margin-right: 0px !important;
    margin-bottom: 20px;
  }
  [class*="span"] {
    display: block;
    float: none;
    width: 100%;
    margin-left: 0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }

}




/* MENU SCAFFOLD
-------------------------------------- */
.toggleMenu { display:  none; }

ul.nav ul { display: none; }

ul.nav li:hover > ul { display: block; }
.container ul.nav {
  /* This must be within a containing DIV, otherwise it interferes with the Concrete5 Admin UI */
  width: 100%;
  list-style: none;
  margin: 0px;
  padding: 0px;
  position: relative;
  display: inline-table;
}

/* GENERAL MENU BUTTON STYLES */
ul.nav li {
  float: left;
}
ul.nav li a {
  display: block;
  text-decoration: none;
}

/* SECOND LEVEL SPECIFIC MENU STYLES */
ul.nav ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: 100%;
}
ul.nav ul li {
  position: relative;
  float: none;
}
ul.nav ul li a {
  max-width: 180px;
}

/* THIRD LEVEL SPECIFIC MENU STYLES */
ul.nav ul ul {
  width: 180px;
  position: absolute;
  left: 100%;
  top: 0px;
  list-style: none;
  margin: 0px;
  padding: 0px;
}
ul.nav ul ul li a {
  max-width: 180px;
}	

@media (max-width: 640px) {
  /* MOBILE CSS GOES HERE */

  .toggleMenu {
    display: block;
    text-decoration: none;
  }
  .active {
    display: block;
  }
  ul.nav {
    overflow: hidden;
  }
  ul.nav > li {
    float: none;
  }
  ul.nav li a,
  ul.nav ul li a,
  ul.nav ul ul li a {
    max-width: 100%;
  }
  ul.nav,
  ul.nav ul,
  ul.nav ul ul {
    display: block;
    width: 100%;
  }
  ul.nav > li.hover > ul,
  ul.nav li li.hover ul {
    position: static;
  }

}