﻿
/* TURN OFF BIG BROWSER ELEMENTS - FIX OTHER THIGS THAT WILL CAUSE MOBILE LAYOUT TO BREAK */

	div#header,
	div#stripe,
	div#footer,
	div.desktopOnly {
		display: none;
		}
		
	div.container_12 {
		padding: 0px 0px 0px 0px;
		}
		
	/*h1, h2, h3, h4, h5, h6, */
	h3, p, ol, ul, img {
	margin-left: 10px;
	margin-right: 10px;
	}
	
	h1 {font-size: 20px;}
	h3 { color:#587b6f; }

	ul {list-style: square;}
	
	span.error {
		display: block;
		width:100%;
		color: red;
		}
	
	.code {
		font-family:"Courier New", Courier, monospace;
		font-weight: bold;
		}
		

/* MOBILE STYLES */

	img  { display: block; max-width:100%; }
/*	div.featureImage { background: #00947c url('/historicsite/images/mobile/feature-bg.png')} */
	div.featureImage img { margin:0; } 
	div.featureImage p { background-color:#00947c; margin:0; padding:10px; max-width:100%; color:#fff; font-size:12px; }

	body {
	    background-color: #e2e2e2; /* Background color */
	    color: #222; /* Foreground color used for text */
	    font-family: Helvetica;
	    font-size: 14px;
	    margin: 0; /* Amount of negative space around the outside of the body */
	    padding: 0px 0px 20px 0px; /* Amount of negative space around the inside of the body */
		}
		
	#mobileHeader {
		margin-bottom: 0px;
		}
			

	#mobileHeader h1 {
		color: #fff;
		display:block;
		padding:7px 7px 7px 7px;
	    margin: 0;
	    /* background gradient */
		background: #4a675d; /* Old browsers */
		background: -moz-linear-gradient(top, #4a675d 0%, #72a493 50%, #54796d 51%, #8ec8b4 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4a675d), color-stop(50%,#72a493), color-stop(51%,#54796d), color-stop(100%,#8ec8b4)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top, #4a675d 0%,#72a493 50%,#54796d 51%,#8ec8b4 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, #4a675d 0%,#72a493 50%,#54796d 51%,#8ec8b4 100%); /* Opera11.10+ */
		background: -ms-linear-gradient(top, #4a675d 0%,#72a493 50%,#54796d 51%,#8ec8b4 100%); /* IE10+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a675d', endColorstr='#8ec8b4',GradientType=0 ); /* IE6-9 */
		background: linear-gradient(top, #4a675d 0%,#72a493 50%,#54796d 51%,#8ec8b4 100%); /* W3C */	    
		}
	
	#mobileHeader h1 a {
	    background-color: #ccc;
	    border-bottom: 1px solid #666;
	    color: #222;
	    display: block;
	    font-size: 20px;
	    font-weight: bold;
	    padding: 10px 0;
	    text-align: center;
	    text-decoration: none;
		}
		
	#mobileHeader ul,
	.mobileMenuBars ul {
	    list-style: none;
	    margin: 10px;
	    padding: 0;
		}

#mobileHeader ul li a,
.mobileMenuBars ul li a {
    background-color: #FFFFFF;
    border: 1px solid #999999;
    color: #222222;
    display: block;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: -1px;
    padding: 12px 10px;
    text-decoration: none;
}

#mobileHeader h1 a {
    text-shadow: 0px 1px 0px #fff;
	background-image: -moz-linear-gradient(-90deg, #ccc, #999 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));
	}

#mobileHeader ul li:first-child a,
.mobileMenuBars ul li:first-child a {
	border-top-left-radius: 8px;
    border-top-right-radius: 8px;
	-moz-border-radius-topleft: 8px;
    -moz-border-radius-topright: 8px;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
}
#mobileHeader ul li:last-child a,
.mobileMenuBars ul li:last-child a {
	border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
	-moz-border-radius-bottomleft: 8px;
    -moz-border-radius-bottomright: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
}

#mobileHeader ul.hide {
    display: none;
}



/* ----- TOP BUTTONS ----- */

	.leftButton a:link,
	.leftButton a:visited,
	.leftButton a:active,
	.leftButton a:hover,
	.rightButton a:link,
	.rightButton a:visited,
	.rightButton a:active,
	.rightButton a:hover {
		border: 0px;
		text-decoration: none;
		color: #fff;
		}

.leftButton {
    position: absolute;
    top: 7px;
    left: 6px;
    height: 30px;
    font-weight: bold;
    text-align: center;
    color: white;
    text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
    line-height: 28px;
    border-width: 0 8px 0 8px;
    -moz-border-image: url(/historicsite/images/mobile/button.png) 0 8 0 8;
    -webkit-border-image: url(/historicsite/images/mobile/button.png) 0 8 0 8;
}

#mobileHeader div.pressed {
    -moz-border-image: url(/historicsite/images/mobile/button_clicked.png) 0 8 0 8;
    -webkit-border-image: url(/historicsite/images/mobile/button_clicked.png) 0 8 0 8;
}


.rightButton {
    position: absolute;
    top: 3px;
    right: 6px;
    height: 30px;
    font-weight: bold;
    text-align: center;
    color: white;
    text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
    line-height: 28px;
    border-width: 0 8px 0 8px;
    -moz-border-image: url(/historicsite/images/mobile/button.png) 0 8 0 8;
    -webkit-border-image: url(/historicsite/images/mobile/button.png) 0 8 0 8;
}

#mobileHeader div.leftBackButton {
    position: absolute;
    top: 7px;
    left: 6px;
    height: 30px;
    font-weight: bold;
    text-align: center;
    padding-left:8px;
    color: white;
    text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
    line-height: 28px;
    border-width: 0 8px 0 8px;
    -moz-border-image: url(/historicsite/images/mobile/back_button.png) 0 8 0 8;
    -webkit-border-image: url(/historicsite/images/mobile/back_button.png) 0 8 0 8;
}

div.leftBackButton a:link,
div.leftBackButton a:active,
div.leftBackButton a:visited,
div.leftBackButton a:hover {
	color: white;
	text-decoration: none;	
	}

#mobileHeader div.backButtonPressed {
    -moz-border-image: url(/historicsite/images/mobile/button_clicked.png) 0 8 0 8;
    -webkit-border-image: url(/historicsite/images/mobile/button_clicked.png) 0 8 0 8;
}


/* ----- mobileContent CONTAINER ----- */

	div#mobileContentContainer {
		display: block;
		width: 100%;
		margin: 0px;
		padding: 0px;
		}

	div.mobileContentContainer p {
		margin: 0px;
		padding: 0px;
		font-size: 12px;
		line-height: 16px;
		}
			
	div#nextdecade { float:right; margin-right:15px; padding-bottom:20px;}
	div#nextdecade a { color:#587b6f; }
	div#nextdecade a:hover { text-decoration: underline; }
	
	div#mobileContentContainer a { color:#587b6f; }
	div#mobileContentContainer a:hover { text-decoration: underline; }

	
	div#mobileContentContainer h2 {
		color:#253e36;
/*		color:#587b6f;*/
		padding:8px 10px;
		display: block;
		margin: 1px 0 0 0;
		font-size: 16px;
		/* gradient background */

background: rgb(206,220,231); /* Old browsers */
background: -moz-linear-gradient(top, rgba(206,220,231,1) 0%, rgba(89,106,114,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(206,220,231,1)), color-stop(100%,rgba(89,106,114,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cedce7', endColorstr='#596a72',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* W3C */

		}
		
	div#mobileContentContainer h2 a {
		color: #587b6f;
		}	
	
	div#mobileContentContainer h2 a:hover {
		color: #fff;
		text-decoration:none;
		}
		
	div#mobileContentContainer h3 {
		margin-left:10px;
		color: #587b6f;
		}

	div#mobileContentContainer ul li {
		color: #4a675d;		
		}
	div#mobileContentContainer ul li a {
		color: #4a675d;		
		}
	div#mobileContentContainer ul li a:hover {
		text-decoration:none;
		}
		
	div#mobileContentContainer h3#nav {
		padding:8px 10px;
		display: block;
		margin: 1px 0 0 0;
		background-color: #00947c; /*#dadbdb;*/
		font-size: 12px;
		font-weight:normal;
		color: #f1f1f1;
		font-size: 12px;
		font-weight:normal;
		color: #f1f1f1;
		}
	div#mobileContentContainer h3#nav a:link,
	div#mobileContentContainer h3#nav a:active,
	div#mobileContentContainer h3#nav a:visited {
		color: #f1f1f1;
		font-weight: normal;
		text-decoration: none;
		}
	div#mobileContentContainer h3#nav a:hover {
		text-decoration:underline;
		}
@media screen and (max-width: 480px) {
	.facility img { float:left; margin: 0 0 15px 0; display: block; max-width:100%; }
/*	.facility h2 { color:#fff; }/*#e5b53b; }*/
	h2 	{
		color:#fff;
/*		color:#587b6f;*/
		padding:8px 10px;
		display: block;
		margin: 1px 0 0 0;
		font-size: 16px;
/*		 gradient background */

background: rgb(206,220,231); /* Old browsers */
background: -moz-linear-gradient(top, rgba(206,220,231,1) 0%, rgba(89,106,114,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(206,220,231,1)), color-stop(100%,rgba(89,106,114,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cedce7', endColorstr='#596a72',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%); /* W3C */
		}
	}		
	
/* ----- mobileContent Buttons -------*/
div#mobilestop .contentButton,
div#contentNav .contentButton {
    position: absolute;
    height: 40px;
    font-weight: bold;
    text-align: center;
    color: white;
    text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
    line-height: 38px;
    border-width: 0 8px 0 8px;
    margin-bottom: 20px;
    -moz-border-image: url(/historicsite/images/mobile/button.png) 0 8 0 8;
    -webkit-border-image: url(/historicsite/images/mobile/button.png) 0 8 0 8;
}

div#mobilestop .contentButton a:link,
div#mobilestop .contentButton a:active,
div#mobilestop .contentButton a:visited,
div#mobilestop .contentButton a:hover,
div#contentNav .contentButton a:link,
div#contentNav .contentButton a:active,
div#contentNav .contentButton a:visited,
div#contentNav .contentButton a:hover {
	color: white;
	text-decoration: none;	
	}
div#contentNav { float:left; width:100%; height:52px; margin:0 0 20px 0px; }
div#mobilestop { float:left; height:52px; }
}
div#mobilestop p,
div#contentNav p { line-height:38px;  }


/* ----- JOHNS TEST STYLES ----- */
	
	div.fullWidthButtons {
		width: 100%;
		overflow: hidden;
		margin: 0px 0px 0px 0px;
		padding: 0px 0px 0px 0px;
		}
		
	div.fullWidthButtons div#contentNav {
		width: 100%;
		height: 40px;
		display: block;
		position: relative;
		overflow: hidden;
		margin: 20px auto 10px auto;
		padding: 0px;
		}
	
	div#contentNav p.contentButton {
	    width: 100%;
	    height: 40px;
	    overflow: hidden;
	    margin: 0px 0px 0px 0px;
	    padding:0px;
		}
		
	div#contentNav .contentButton a {
		margin: 0px;
		padding:0px;
		width: 100%;
		overflow:hidden;
		}

	div.noSpace div#contentNav {
		margin: 0px auto 0px auto;
		}

	
/*----- Mobile Audio ----- */
/*	div#mobiletour p { padding:3px 0 0 20px; font-size:16px; line-height:18px;}*/
	div#mobiletour { width:100%; height:60px;}
/*	div#mobiletour { border-bottom:1px #ccc solid; width:100%; height:52px;}
	div#mobiletour a { color:#4a675d; }
	div#mobilestop { float:left; }*/
	div#mobileplayer { float:right; padding-top:10px;}
	div#mobileplayer-detailpage { float:left; width:100%; padding: 5px 0 0 10px;}

	
/*----- Mobile Timeline -----*/
	div#mobiletimeline { border-bottom: 1px #ccc solid; width:100%; height:40px;}
	div#mobiletimeline p { padding: 3px 0 0 3px; font-size:16px; line-height:18px;}
	div#mobiletimeline a { color: #4a675d; }
