/*
 * 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
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * 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: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    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;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

body {
	margin: 0;
	padding: 0;
	background-color: #000;
	font: Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 14px;
	color: #fff;
}

#gfxContainer {
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	width: 960px;
	height: 4570px;
	background: url(../img/map_template.gif);
}

#topTitle {
	position: absolute;
	top: -220px;
	left: 120px;
	width:717px;
	height:194px;
}
#hours {
	position: absolute;
	top: 742px;
	left: 970px;
	width:768px;
	height:75px;
}

/* HOMETOWN ITEMS */
#hometownStar {
	position: absolute;
	top: 863px;
	left: -400px;
	width:347px;
	height:165px;
}
#hometownNames {
	position: absolute;
	top: 0px;
	left: 0px;
	width:600px;
	height: 600px;
	opacity: 0;
}

.astroLbl {
	position: absolute;
	cursor: pointer;
	width: 210px;
}
.astroLbl p { margin: -1em; display: inline-block; }
.astroLbl img { padding-left: 18px; }

#lblHarbaugh { top: 958px; left: 708px; }
#lblWilliams { top: 946px; left: 464px; }
#lblOvermyer { top: 1000px; left: 410px; }
#lblHenricks { top: 1070px; left: 254px; }
#lblGood { top: 1104px; left: 448px; }
#lblSpringer { top: 1152px; left: 388px; }
#lblGernhardt { top: 1203px; left: 362px; }
#lblEisele { top: 1294px; left: 386px; }
#lblHennen { top: 1312px; left: 356px; }
#lblGlenn { top: 1282px; left: 518px; }
#lblArmstrong { top: 1124px; left: 90px; }
#lblCurrie { top: 1188px; left: 106px; }
#lblJohnson { top: 1254px; left: 72px; }
#lblBassett { top: 1328px; left: 72px; }
#lblHenize { top: 1416px; left: 130px; }
#lblForeman { top: 1344px; left: 730px; }
#lblResnik { top: 1278px; left: 748px; }
#lblParise { top: 1217px; left: 778px; }
#lblCameron { top: 1047px; left: 782px; }
#lblLovell { top: 1066px; left: 782px; }
#lblLow { top: 1085px; left: 782px; }
#lblSega { top: 1104px; left: 782px; }
#lblThomas { top: 1123px; left: 782px; }
#lblWalz { top: 1142px; left: 782px; }
#lblWeber { top: 1161px; left: 782px; }


#ft1 {
	position: absolute;
	top: 1622px;
	left: -400px;
	width:315px;
	height:204px;
}
#ft2 {
	position: absolute;
	top: 1582px;
	left: 1300px;
	width:320px;
	height:339px;
}

#armstrong {
	position: absolute;
	top: 1972px;
	left: -2100px;
	width:887px;
	height:50px;
}
#glenn {
	position: absolute;
	top: 2032px;
	left: 2000px;
	width:801px;
	height:41px;
}

#spacewalker {
	position: absolute;
	top: 2125px;
	left: 30px;
	width:340px;
	height:61px;
	opacity:0;
}

#williams {
	position: absolute;
	top: 2584px;
	left: 0px;
	width:435px;
	height:300px;
	opacity:0;
}
#williams-r {
	position: absolute;
	top: 2664px;
	left: 970px;
	width:382px;
	height:103px;
}

#pilot {
	position: absolute;
	top: 2950px;
	left: 1100px;
	width:848px;
	height:136px;
}

#ft3 {
	position: absolute;
	top: 3172px;
	left: -500px;
	width:486px;
	height:56px;
}

#overmyer {
	position: absolute;
	top: 3652px;
	left: 1000px;
	width:745px;
	height:145px;
}

#daysinspace {
	position: absolute;
	top: 4168px;
	left: -600px;
	width:544px;
	height:68px;
}
#gernhardt {
	position: absolute;
	top: 4300px;
	left: 970px;
	width:863px;
	height:146px;
}

a { text-decoration: none; color: #fff; }
a:hover { color: #FC0; }

.innerShadow {
	-moz-box-shadow: inset 0 0 20px rgba(0,0,0,.75);
   	-webkit-box-shadow: inset 0 0 20px rgba(0,0,0,.75);
   	box-shadow: inset 0 0 10px rgba(0,0,0,.75);
}

/* ==========================================================================
   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.
   ========================================================================== */

@media screen and (max-width: 480px) {
	#gfxContainer {
		width: 480px;
		height: 2816px;
		background: url(../img/map_template_480.gif);
	}
	#hometownStar { display: none; }
	#hours { display: none; }
	#hometownNames { display: none; }
	#topTitle { display: none; }
	#ft1 { display: none; }
	#ft2 { display: none; }
	#armstrong { display: none; }
	#glenn { display: none; }
	#spacewalker { display: none; }
	#williams { display: none; }
	#williams-r { display: none; }
	#pilot { display: none; }
	#ft3 { display: none; }
	#overmyer { display: none; }
	#daysinspace { display: none; }
	#gernhardt { display: none; }
}


/* ==========================================================================
   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;
    }
}
