/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
/*! normalize.css v1.1.1 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    *zoom: 1;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */



html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

body {
    margin: 0;
}

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

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


/**
 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}
sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

dl,
menu,
ol,
ul {
    margin: 1em 0;
}

dd {
    margin: 0 0 0 40px;
} 
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;
}
a{
	text-decoration:none;
}
table {
    border-spacing: 0;    
}
fieldset,img {
    border: 0;
}
strong{
	font-weight: bold;
}
caption,th {
    text-align: center;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
    margin:0;
    padding:0;
    color:#444;
}
.section{
	text-align:center;
}
html {
	background-color:#000000;
	}
br {
	margin:0px;
}
audio {
	z-index:5000;
	position: fixed;
	display: hidden;
}
/* classes associated with the loadingScreens */
div#loadingScreen{
	width: 100%;
	height: 100%;
	background-color: black;
	z-index: 9998;
	position:fixed;
}
div#loadingText{
	position: relative;
	top: 30%;
	width: 50%;
	height: 400px;
	margin-left: auto;
	margin-right:auto;
	display: block;
	font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;	
	font-size: 3em;
	z-index: 9999;
}
div.LSchapt1{
}
div.LSchapt2{}
div.LSchapt3{}
div.LSchapt4{}
div.LSchapt5{}
div.LSchapt6{}
div.LSchapt7{}
div.LSchapt8{}

.musicTrigger1 {
}
.musicTrigger2 {
}
.musicTrigger3{
}
.musicTrigger4{
}
.musicTrigger5 {
}

div.box {
	width:100px;
	height:100px;
	clear: left;
}
.fade1 {
    opacity: 0.7;
    transition: opacity 0.5s;
	-webkit-filter:blur(2px);
	filter:blur(2px);
}
.fade1:hover {
    opacity: 1;
	-webkit-filter:blur(0px)
}
.fade2 {
    opacity: 0.1;
    transition: opacity 1s;
}
.fade2:hover {
    opacity: 1;
}

/* GOOGLE FONTS 
font-family: 'Amarante', cursive;
font-family: 'Amatic SC', cursive;
*/
h1 {

}
h2 { 

}
textarea {
    color: inherit;
}
/*   Image rollover classes   */
span.rollover img {
	width: 167px;
	height: 250px;
	transition: .5s;
	-webkit-transition : .5s; 
	-moz-transition : .5s;
}
span.rollover:hover > img {
	height: 532px;
	width: 350px;
	top: -100px;
	transition: 1s;
	-webkit-transition : .5s; 
	-moz-transition : .5s;
}	
div.90Container{
	margin-left: auto;
	margin-right: auto;
	width: 90%;
}
.margined {
	margin-top:5px;
	margin-bottom:1px;
	margin-left:2px;
	margin-right:2px;
}
.centered {
	margin: 0 auto;
	width:100%;
}
.floatright {
	float:right;
	clear:right;
}
.floatleft {
	float:left;
	clear:both;
}
.pullRight{
	position: relative;
	right:10px;
}
.imagefloat {
	position: static;
	clear: both;
	margin-left: auto;
	margin-right: auto;
}
.cleared {
	clear:both;
	position: absolute;
}
.magazine {
	top: 25%;
	left: 45%;
}
.topLeft{
	position: relative;
	top:-20px;
	left: -70px;
}
.bottomLeft{
	position: relative;
	bottom:-40px;
	left: -70px;
}
.topRight{
	position: relative;
	top:-20px;
	right: -70px;
}
.bottomRight{
	position: relative;
	bottom:-40px;
	right: -70px;
}
.pinLeft {
	position:relative;
	left:-200px;
}
.pinRight {
	position:relative;
	right:-200px;
}
.pinToTop{
	position:relative;
	top:-290px;
}
.stalactite1{
	height:50%;
}
.stalactite2{
	height:50%;
}
.fitImage{
	width:90%;
	height:90%;
}
body {
	background: #000000;
    font-size: 1em;
    line-height: 1.4;
}

/* Image Layer properties. Z0-Z4 reserved for DIV elements */

.z5 {
    z-index:5;
}
.z6 {
	z-index:6;
}
.z7 {
	z-index:7;
}
.z1000 {
	z-index:1000;
}
.z1001 {
	z-index:1001;
}
.z1002 {
	z-index:1002;
}
.z2000 {
	z-index:2000;
}
.z2001 {
	z-index:2001;
}
.z2002 {
	z-index:2002;
}
.visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 2s linear;
}
.hidden {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 2s, opacity 2s linear;
}

/*rotate 15 degrees*/
.rotate15 {
transform: rotate(15deg);
-moz-transform: rotate(15deg);
-ms-transform: rotate(15deg);
-webkit-transform: rotate(15deg);
-o-transform: rotate(15deg);
}
.bumpUp{
position:relative;
bottom: 200px;
}
.bumpDown{
position:relative;
top: 200px;
}
.bumpLeft{
position:relative;
left: -200px;
}
.bumpRight{
position:relative;
right: -200px;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
    background: #111111;
    text-shadow: none;
}
::selection {
    background: #111111;
    text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
	color: #AAAAAA
}
textarea {
    resize: vertical;
}
/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


a:link {color:#999999;}
a:visited {color:#555555;}
a:active {color:#667766;}

.videoBorder{
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: 7px 7px 15px 0px rgba(20, 20, 20, 0.75);
-moz-box-shadow:    7px 7px 15px 0px rgba(20, 20, 20, 0.75);
box-shadow:         7px 7px 15px 0px rgba(20, 20, 20, 0.75);
transition : border 1s ease-out; 
-webkit-transition : border 1s ease-out; 
-moz-transition : border 1s ease-out;
-o-transition : border 1s ease-out;
padding: 0 0;
margin: 0px 0px;
border:4px
}
.videoBorder.White{
border:4px solid #ddd;
}
.videoBorder.Black{
border:4px solid black;
}
.videoBorder.Grey{
border:4px solid #666;
}
.videoBorder.Red{
border:6px solid #922 !important;
}
video {
	margin: 0px;
	opacity: 0;
	display: none;
}
video.borderImmune{
}
video.transitionImmune {
}
video.playGroup1{}video.playGroup2{}video.playGroup3{}video.playGroup4{}video.playGroup5{}
video.posRel{
	position: relative;
}
video.noRepeat{
}
video.autoPlay{
}
div.posFixed{
	position: fixed !important;
}
div.widthCentered{
	margin: 0 auto;
	
}
video.delayPlay{
}

.fullSizeVid {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
}
.chapterArrow {
    position: absolute;
    top: 50%;
    cursor: pointer;
    width: 0;
    height: 0;
    border-style: solid;
    margin-top: -38px;
	opacity: .7;
	z-index: 4242
}
.chapterArrow.prev {
    left: 10px;
    width: 0;
    border-width: 38.5px 25px 38.5px 0;
    border-color: transparent #999 transparent transparent;
}
.chapterArrow.next {
    right: 10px;
    border-width: 38.5px 0 38.5px 25px;
    border-color: transparent transparent transparent #999;
}
.bgBlack{
	background-color: black;
	padding: 0% 0 0 0;
	background-size: cover;
}
.bgWhite{
	background-color: white;
	padding: 0% 0 0 0;
	background-size: cover;
}
.bgImg{
	background-size: cover;
	background-repeat:no-repeat;
	padding: 0% 0 0 0;
	background-position:center center; 
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}
.bgImg.bg1{
	background-image: url('img/background1.jpg');
	/* Hillside */
}
.bgImg.bg2{
	background-image: url('img/background2.jpg');
	background-size:  contain !important;
	/* Map */
}
.bgImg.bg3{
	background-image: url('img/background3.jpg');
	/* Forest */
	}
.bgImg.bg4{
	background-image: url('img/background4.jpg');
	/* wooded road */
	}
.bgImg.bg5{
	background-image: url('img/background5.jpg');
	/* Lake */
	}
.bgImg.bg6{
	background-image: url('img/picnicbackground.jpg');
    /* do not use!! */
}
.bgImg.bg7{
	background-image: url('img/cavebackground.jpg');
	background-size: contain !important;
	/* cave */
}
.bgImg.bg9{
	background-image: url('img/cavebackground.jpg');
	background-size: fit !important;
	/* cave */
}
.bgImg.bg8{
	background-image: url('img/BWmeadow.jpg');
	/* MEADOW */
}
#instructionsFloatOpener{
	position:relative;
	z-index: 1999;
	color: #888;
	font-size: .75em;
	font-style: bold;
	border: 1px solid #999;
	border-radius: 2px;
	margin: 2px;
	background-color: #333;
	opacity: .5;
}
div#instructionsFloat{
	background-image: url('img/instruction.jpg');
	background-size: contain !important;
	background-repeat: no-repeat;
	width: 280px;
	height: 360px;
	z-index: 6000;
	float: both;
	clear: both;
	display: none;
	border: 1px solid white;
	border-radius: 8px;
	position: fixed;
	top: 40px;
	right: 60px;
	opacity: 0.8;
}
.song1 {}
.song2 {}
.song3 {}
.song4 {}
.song5 {}
.song6 {}
.audioAutoPlay {}
.scrollable{}
.PGcontainer{
	display: inline-block
}
#fadeIn {
	z-index: 9000;
	transition: opacity 2s;
	opacity: 1;
	background-color: black;
	position: relative;
	top: 0px;
	left: 0px;
	float: both;
	clear: both;
}
#welcomeContainer{
	margin-left: auto;
	margin-right: auto;
	position: relative;
	top: 10px;
	display: block;
	width: 70%;
	height: 90%;
	bottom: 10%;
}
#welcome{
	height: 80%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	display: inline-block;
	z-index: 10;
	vertical-align: middle;
}
#zipLinks{
	margin-left: auto;
	margin-right: auto;
	font-style: bold;
	font-size: 1em;
	color: #777;
	border: 2px solid #777;
	display: inline-block;
	position: relative;
	top: 8px;
	border-radius: 6px;
	z-index: 5000;
}
#zipLinks a{
	color: #ccc;
}
#toolTip {
	color: white;
	opacity: 0.5;
	transition: opacity .5s;
	font-size: 1em;
	position: relative;
	top:10px;
	margin: auto;
}
#toolTip :hover{
	opacity: 1;
	transition: opacity .5s;
}

#masterControls{
	display: block;
	position: fixed;
	width: 100px;
	right: 18px;
	bottom: 18px;
	z-index: 4000;
}

#audioControls{
	display: inline-block;
	position: relative;
	border-radius: 6px;
	border: 1px solid #888;
	background-color: #333;
	opacity: .5;
	transition: opacity .2s;
	z-index: 4002
}
#audioControls:hover{
	opacity: 1;
	transition: opacity .5s;
}
#mute {
	position: relative;
	width: 26px;
	height: 26px;
	background-color: #555;
	border-radius: 6px;
}

#play_pause {
	position: relative;
	display: block;
	top: 1px;
    width: 26px;
    height: 26px;
	z-index:4004;
}
img.button_playing{
	background: url(img/audioControls.gif) -52px 0;
}

img.button_playing:hover{
	 background: url(img/audioControls.gif) -78px 0;
}
img.button_paused{
	display: block;
    width: 26px;
    height: 26px;
    background: url(img/audioControls.gif) 0 0;
	z-index:2001
}
img.button_paused:hover{
	 background: url(img/audioControls.gif) -26px 0;
}
p.controlText {
	float: left;
	clear: right;
	display: inline-block;
	position: relative;
	font-size: .75em;
	color: #ccc;
	font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;
}
#playPause{
	float: left;
	margin: auto;
	position: relative;
	width: 28px;
	height: 28px;
	background-color: #222;
	border: 2px solid black;
	border-color: #ddd;
	border-radius: 6px;
}

/* Chapter Navigation Tool
*/ 
#chapterMenuCtnr{
	position: fixed;
	bottom: 9%;
	left: 50%;
	margin: 0 0 2px -350px;
	z-index: 5000;
}
#chapterMenuOpener{
	position: fixed;
	left: 48%;
	color: #999;
	border: 1px dotted #333;
	border-radius: 2px;
	margin: 10px;
}
#chapterMenu{
	height: 20px;
	border: 1px dotted white;
	border-color: white;
	background-color: #111;
	border-radius: 4px;
	color: #ddd;
	display: none;
	float: both;
	opacity: 0.7;
	transition: opacity 1s;
}
#playTypeControl {
	display: block;
	position: relative;
	z-index: 4001;
	color: #aaa;
	font-size: .75em;
	font-style: bold;
	border: 1px solid #888;
	border-radius: 2px;
	margin: 2px;
	background-color: #333;
	opacity: .5;
}
#playTypeControl.clickActive{}
#playTypeControl.mouseOverActive{}


/*TEST CLASSES */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    /*text-indent: -9999px; */
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}



.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
