/* =============================================
 *
 *   FIXED RESPONSIVE NAV
 *
 *   (c) 2014 @adtileHQ
 *   http://www.adtile.me
 *   http://twitter.com/adtilehq
 *
 *   Free to use under the MIT License.
 *
 * ============================================= */

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;
}
/* new */
html, body, div {
	margin:0;
	padding:0;
	/*height:100%;*/
}
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; }


/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */

/*.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}*/

/*.nav-collapse li {
  width: 100%;
  display: block;
}*/

/* new */
img {
	max-width: 100% !important;
	/*max-height:100%;*/
}


.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  /*max-height: 9999px;*/
}

.disable-pointer-events {
  pointer-events: none !important;
}

/*.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}*/


/* uncomment for menu */ 
/*@media screen and (min-width: 40em) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }

}*/

/* ------------------------------------------
 STYLES
--------------------------------------------- */

body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #37302a;
 background: #000 /* url(../images/tile_320.png) repeat-y center*/;
  font: normal 100%/1.4 sans-serif;
}

#outer {
background: #000 url(../images/tile_320.png) repeat left;	
max-width:640px;
 margin:0 auto;
}


.content-panel {
  border-top: 0px solid #4BDF10;
  text-align: center;
  padding: 0 0 0px 0;
  margin:0px 0 60px 0;
  width: 100%;
  min-height:600px;
  display:block;
}
.content-panel-first {
  border-bottom: 0px solid #999;
  text-align: center;
  padding: 0 0 10px 0;
  margin:0px 0 60px 0;
  
}

#trailer iframe {margin:80px 0 0 0;}


/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */

#wrapper {
 max-width:640px;
 /*height:auto;*/
 margin:auto;
 border:0px solid #13BEBF;
 display:block;
 z-index: 5;
}

header {
  position:fixed;
  z-index: 3;
  width: 100%;
  max-width:640px;
}

footer {
  width: 100%;
  max-width:640px;
  border:0px solid #2D5AD3;
  text-align:center;
  margin:0 auto;
  padding:0 0 30px 0;
}

#container {
	text-align:center;
}



/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  transition: opacity 300ms;
  background: rgba(0,0,0, .5);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

.android .mask {
  -webkit-transition: none;
  transition: none;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 100em) {
  .mask {
    display: none !important;
    opacity: 0 !important;
  }
}


/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */

.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

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

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

/*@media screen and (min-width: 40em) {
  .nav-collapse {
    float: right;
    width: auto;
  }
}*/

/*.nav-collapse li {
  float: left;
  width: 100%;
}*/

@media screen and (min-width: 40em) {
  .nav-collapse li {
    /*width: auto;
	max-width:640px;*/
  }
}

/*.nav-collapse a {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  border-top: 1px solid #000000;
  text-decoration: none;
  background: #000000;
  padding: 0.7em 1em;
  color: #fff;
  width: 100%;
  float: left;
}
*/
.nav-collapse a:active,
.nav-collapse .active a {
  background: #FFF;
  color:#000;
}

/*@media screen and (min-width: 40em) {*/
  .nav-collapse a {
    border-left: 0px solid white;
    padding: 1.02em 2em;
	text-decoration: none;
  background: #000000;
    text-align: center;
    border-top: 0;
    color: #fff;
  width: 100%;
  float: left;
  }
/*}*/

/*.nav-collapse ul ul a {
  background: #ca3716;
  padding-left: 2em;
}
*/
.nav-collapse ul ul a {
    display: none;
  }


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
  font-family: "responsivenav";
  src:url("../icons/responsivenav.eot");
  src:url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../icons/responsivenav.ttf") format("truetype"),
    url("../icons/responsivenav.woff") format("woff"),
    url("../icons/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 100px;
  height: 78px;
  float: right;
  right:10px;
  top:10px;
  border:0px solid #000;
}

.nav-toggle:before {
  color: #ffb500; /* Edit this to change the icon color */
  font: normal 28px/55px "responsivenav"; /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: right;
  position: absolute;
  /* content: "\2261"; *//* Hamburger icon */
 content:url(../images/menu.png);
  text-indent: 0;
  speak: none;
  width: 100%;
  left: 0;
  top: 0;
/*  background: #fff url(../images/menu.png) no-repeat right top;
*/  border:0px solid #FFF;
}

.nav-toggle.active:before {
  font-size: 54px;
  text-align: right;
  content: "\78"; /* Close icon */
  color:#ffb500;
  background:url(../images/menuOff.png) no-repeat right top;
}





