﻿html
{
    height: 100%;
}

body
{
    height: 100%;
    width: 100%;
    font-size: 62.5%;
    font-family: Verdana;
    color: #ddd;
    background-color: #002;
    margin: 0px;
    padding: 0px;
}

h4
{
    margin: 0 0 0 0;
    background-color: #555;
    color: #fff;
}

#spaceStationFinderLogo
{
    position: absolute;
    top: -32px;
    left: 0px;
    background-image: url("../images/SpaceStationFinderLogo.png");
    height: 215px;
    width: 223px;
}

/* Splash Screen Specific selectors */
#spaceStationFinderLogoSplash
{
    position: absolute;
    top: -32px;
    left: 0px;
    background-image: url("../images/SpaceStationFinderLogo.png");
    height: 215px;
    width: 223px;
}

#uhaapi
{
    position: absolute;
    top: 220px;
    left: 40px;
}

/* not enough room for UHAAPI credits, chicklets on small devices */
@media screen and (max-width:420px)
{
    #chicklets, #uhaapi, #spaceStationFinderLogo
    {
        display: none;
    }
}
@media screen and (max-width:514px)
{
    #chicklets2, #tweetViewingInfo, #viewingDirectionInstructions
    {
        display: none;
    }
}

#chicklets
{
    position: absolute;
    text-align: left;
    left: 60px;
    top: 140px;
    width: 200px;
}

#chicklets2
{
    position: absolute;
    right: 10px;
    top: 180px;
    z-index: 10;
}

#tweetViewingInfo
{
    position: absolute;
    right: 10px;
    top: 130px;
    z-index: 10;
}

#getVersionsSplash
{
    position: relative;
    top: 10px;
    line-height: 2em;
}

#txtAddressSplash
{
    border-radius: 4px;
    background-color: #fffbec;
    display: block;
    margin: auto;
    width: 195px;
    height: 30px;
    font-size: 1.4em;
    text-align: center;
}

#lblLocationNotSetSplash
{
    font-size: 1.6em;
    width: 400px;
    margin: auto;
}

.downloadLink
{
    position: relative;
    text-align: center;
    text-decoration: none;
    color: #FFFF00;
    font-size: 1.2em;
    display: block;
}
.downloadButton
{
    display: none;
}
/* End Splash Screen Specific selectors */

#storedLocations
{
    margin-top: 5px;
}

.storedLocation
{
    color: #FFFF00;
    font-size: 1.6em;
    line-height: 2.0em;
}

.storedLocation:hover
{
    cursor: pointer;
}

.storedLocation:active
{
    cursor: pointer;
}

#specialMessage
{
    width: 200px;
    color: Lime;
    margin: auto;
}

#viewingDirectionInstructionsContainer
{
	display:none;
	width:100%;
	text-align:center;
	z-index:-10;
	position:absolute;
}
/********Also stretch out Where on Earth text if we have room*********/
@media screen and (max-width:600px)
{
	#viewingDirectionInstructionsContainer
	{
		display:none;
	}
}

#viewingDirectionInstructions
{
	margin-left:50%;
	text-align:right;
	position:relative;
	width:220px;
	height:45px;
    	background-image: url("../images/DirectionInstructions.png");
    background-repeat: no-repeat;
    background-position: left;
	z-index:-10;
}
#viewingDirectionInstructionsText{
	position:absolute;
	text-align:left;
	top:20px;
	left:59px;
}

#lblLocationNotSet
{
    width: 220px;
    margin: auto;
}

/********This whole section is the multi-column search layout for when the screen
            is greater than 500px *********/
/********Also stretch out Where on Earth text if we have room*********/
@media screen and (min-width:600px)
{

    #specialMessage
    {
        width: 350px;
    }

    #lblLocationNotSet
    {
        width: 500px;
        font-size: 1.5em;
        font-weight: bold;
        margin: auto;
        padding: 35px 0px 15px 0px;
    }

    #getVersionsSplash
    {
        position: absolute;
        top: 60px;
        line-height: 2.6em;
        right: 10px;
    }

    .downloadLink
    {
        text-align: right;
        font-style: italic;
        text-decoration: none;
        color: #ccc;
        font-size: 1.4em;
        display: block;
    }

    .downloadLink:hover
    {
        color: #FF9201;
    }

    .downloadLink:active
    {
        color: #FFFF00;
    }

    .downloadButton
    {
        display: inline;
        position: relative;
        top: 3px;
    }

}

/********End multi-column search layout for when the screen
            is greater than 500px *********/

/********Different logo image based on width*********/
@media screen and (max-width:900px)
{
    #spaceStationFinderLogo
    {
        position: absolute;
        top: -32px;
        left: 0px;
        background-image: url("../images/SpaceStationFinderLogo100.png");
        height: 96px;
        width: 100px;
    }
    #chicklets
    {
        position: absolute;
        text-align: left;
        left: 5px;
        top: 60px;
        width: 200px;
    }

    #uhaapi
    {
        position: absolute;
        width: 80px;
        top: 110px;
        left: 5px;
    }
}

input[type="submit"]
{
    background-color: #0A0;
    margin-bottom: 20px;
    width: 200px;
}


#btnUsePhoneLatLon
{
    display: none;
    background-color: #F00;
    color: #ff0;
    margin-bottom: 20px;
    margin: auto;
}

#lblClearLocations
{
    color: #FF0;
}

#lblClearLocations:hover
{
    color: #F00;
    cursor: pointer;
}

.pass
{
    color: #777;
    width: 210px;
    border-top: 2px solid #444;
    border-left: 2px solid #444;
    border-right: 2px solid #222;
    border-bottom: 2px solid #222;
    text-align: center;
    padding: .5em;
    margin: 0.2em;
    float: left;
    background-color: #FFFBEC;
}

.passTime
{
    color: #D00;
}

.time
{
    color: #DD0;
    line-height: .9em;
}

#directionBar
{
    position: relative;
}

.directionSymbol
{
    float: left;
    height: 23px;
    width: 12.5%;
    text-align: center;
    line-height: 12px;
    font-weight: bolder;
    font-size: 1.2em;
    color: #ff0;
    background-color: #4d445c;
    border-top: 1px solid #000;
    border-bottom: 1px solid #999;
}

#redWhiteMapBorder
{
    width: 100%;
    height: 4px;
    background-image: url("../images/redWhiteMapBorder.gif");
}

.centeredDivContainer
{
    text-align: center;
    position: relative;
}

#maxDirection
{
    position: relative;
    margin: auto;
    width: 72px;
    height: 35px;
    background-color: #090;
    color: #fff;
    border: 2px solid #333;
    border-top-style: none;
    z-index: 10;
}

#facingDirection
{
    position: absolute;
    width: 100%;
    line-height: 15px;
}

#enterLocation
{
    position: relative;
    top: 20px;
    text-align: center;
    width: 100%;
}

#directionBarStartDate
{
    color: #fff;
    top: 2px;
    font-size: .8em;
}

#startDate, #endDate
{
    color: #000;
}

#lblLocation
{
    color: #777;
    font-size: .9em;
}

#txtAddress
{
    border-radius: 4px;
    background-color: #fffbec;
    display: block;
    margin: auto;
    width: 195px;
    height: 24px;
    text-align: center;
}


.message
{
    color: #aac;
    width: 100%;
    font-size: 1.2em;
    margin-bottom: 10px;
}

#lblZip
{
    font-size: .9em;
}

#setLocation
{
    text-align: center;
    position: absolute;
    width: 100%;
    display: none;
}

#lblNewLocation
{
    font-size: .9em;
    position: relative;
    top: 64px;
}

#sputnik
{
    background-image: url("../images/Sputnik.png");
    background-repeat: no-repeat;
    background-position: right;
    height: 85px;
    width: 100%;
    text-align: right;
    position: relative;
    top: -23px;
    font-size: 0.9em;
    font-weight: bold;
    color: #7f7;
    z-index: 10;
}

#sputnik:hover
{
    cursor: pointer;
    background-image: url('../images/sputnikHighlight.png');
}

#sputnik:active
{
    cursor: pointer;
    background-image: url('../images/sputnikHighlight.png');
}

#saturn
{
    background-image: url('../images/saturn.png');
    background-repeat: no-repeat;
    height: 33px;
    width: 130px;
    position: absolute;
    top: 40px;
    z-index: 20;
}

#saturn:hover
{
    cursor: pointer;
    background-image: url("../images/saturnHighlight.png");
}

#saturn:active
{
    cursor: pointer;
    background-image: url("../images/saturnHighlight.png");
}

#lblPassesInNext24Hrs
{
    position: relative;
    top: 10px;
    font-size: 0.8em;
    color: #7f7;
}

#searchButton
{
}

#searchButton:hover
{
    cursor: pointer;
}

#resultsContainer
{
    clear: both;
    width: 480px;
}

#allResultsContainer
{
    display: none;
    position: relative;
    top: 15px;
    width: 213px;
}

#wikiPageHTML
{
    height: 708px;
    width: 535px;
    left: 50px;
    background-color: #FFFBEC;
    color: #777777;
    padding: 10px;
}

#pageGrid
{
    position: relative;
    background-image: url('../images/EarthWithGlow360.png');
    background-repeat: no-repeat;
    background-position: bottom center;
    height: 100%;
}

#pageGridResults
{
    position: relative;
    background-image: url('../images/treelineLeft360.png');
    background-repeat: no-repeat;
    background-position: bottom center;
    height: 100%;
}

/********Different bottom trees image based on width*********/
@media screen and (min-width:480px) and (max-width:767px)
{
    #pageGrid
    {
        position: relative;
        background-image: url('../images/EarthWithGlow480.png');
        background-repeat: no-repeat;
        background-position: bottom center;
        height: 100%;
    }
    
    #pageGridResults
    {
        position: relative;
        background-image: url('../images/treelineLeft360.png');
        background-repeat: no-repeat;
        background-position: bottom center;
        height: 100%;
    }
}

@media screen and (min-width:768px) and (max-width:1023px)
{
    #pageGrid
    {
        position: relative;
        background-image: url('../images/EarthWithGlow768.png');
        background-repeat: no-repeat;
        background-position: bottom center;
        height: 100%;
    }
    
    #pageGridResults
    {
        position: relative;
        background-image: url('../images/treelineLeft768.png');
        background-repeat: no-repeat;
        background-position: bottom center;
        height: 100%;
    }
}
@media screen and (min-width:1024px)
{
    #pageGrid
    {
        position: relative;
        background-image: url('../images/EarthWithGlow1024.png');
        background-repeat: no-repeat;
        background-position: bottom center;
        height: 100%;
    }
    
    #pageGridResults
    {
        position: relative;
        background-image: url('../images/treelineLeft1024.png');
        background-repeat: no-repeat;
        background-position: bottom center;
        height: 100%;
    }
}

/********End Different bottom trees image based on width*********/

#currentPass
{
    display: none;
    width: 100%;
    text-align: center;
}

#degreesGrid
{
    width: 100%;
    text-align: left;
    position: absolute;
    top: 40px;
    color: #444;
    font-size: .9em;
}

#degreesGrid div
{
    padding: 0px 90px 15px 0px;
    background: url("../images/degreeLines.png");
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    color: #777;
}

#locationStatus
{
    position: absolute;
    float: none;
    bottom: 10px;
    text-align: right;
    width: 100%;
}
/********Different DegreesGrid and LocationStatus leading based on Height*********/

@media screen and (min-height:460px) and (max-height:599px)
{
    #degreesGrid div
    {
        padding: 0px 90px 30px 0px;
        background: url("../images/degreeLines.png");
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        color: #777;
    }

    #locationStatus
    {
        position: absolute;
        float: none;
        top: 440px;
        text-align: right;
        width: 100%;
    }
}

@media screen and (min-height:600px) and (max-height:859px)
{
    #degreesGrid div
    {
        padding: 0px 90px 40px 0px;
        background: url("../images/degreeLines.png");
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        color: #777;
    }
    #locationStatus
    {
        position: absolute;
        float: none;
        top: 560px;
        text-align: right;
        width: 100%;
    }
}

@media screen and (min-height:860px) and (max-height:1023px)
{
    #degreesGrid div
    {
        padding: 0px 90px 53px 0px;
        background: url("../images/degreeLines.png");
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        color: #777;
    }

    #locationStatus
    {
        position: absolute;
        float: none;
        top: 728px;
        text-align: right;
        width: 100%;
    }
}

@media screen and (min-height:1024px)
{
    #degreesGrid div
    {
        padding: 0px 90px 69px 0px;
        background: url("../images/degreeLines.png");
        background-repeat: no-repeat;
        background-position: center;
        text-align: center;
        color: #777;
    }

    #locationStatus
    {
        position: absolute;
        float: none;
        top: 984px;
        text-align: right;
        width: 100%;
    }
}

/********End Different DegreesGrid leading based on width*********/

.spaceStationStage
{
    height: 42px;
    width: 33%;
    float: left;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    text-align: center;
}


.spaceStationStageCounterClockwise
{
    height: 42px;
    width: 33%;
    float: right;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    text-align: center;
}

#spaceStationMax
{
    background: url("../images/spaceStation.png");
    background-repeat: no-repeat;
    background-position: center;
}

#spaceStationStart
{
    background: url("../images/spaceStationAppearing.png");
    background-repeat: no-repeat;
    background-position: center;
}

#spaceStationEnd
{
    background: url("../images/spaceStationVanishing.png");
    background-repeat: no-repeat;
    background-position: center;
}

#startHereArrow
{
	position:absolute;
	top:-40px;
	margin:auto;
	width:100%;
}

#startTime
{
	padding-top:10px;
}

#startTime, #maxTime, #endTime
{
    position: relative;
}

.smallLabel
{
    font-size: .9em;
}

.dimLabel
{
    color: #999;
}

.briteLabel
{
    color: #F00;
    font-size: 1.1em;
    font-weight:bold;
}

.yellowLabel
{
    color: #FF0;
}

#friendlyMessage
{
    position: absolute;
    top: 180px;
}

.localTimeMessage
{
    margin: auto;
    width: 280px;
    color: #f00;
}

#ad
{
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

#ad2
{
    position: absolute;
    bottom: 5px;
}

/* bag the ad on the results screen if it's too narrow */
@media screen and (max-width:419px)
{
    #ad2
    {
        display: none;
    }
}

/* iPhone full-screen instruction section */

#iPhoneFullScreenInstructions
{
    background-color: #FFFF00;
    border: 2px solid #ffffff;
    font-size: 1.3em;
    -webkit-border-radius: 10px;
    -webkit-box-shadow: 0 0 5px #888888;
    bottom: 22px;
    color: #000000;
    display: none;
    font-family: helvetica;
    left: 0px;
    padding: 10px 0px 10px 0px;
    position: relative;
    margin: auto;
    text-align: center;
    width: 250px;
}

.chat-bubble-arrow-border
{
    border-color: #ffffff transparent transparent transparent;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
    position: absolute;
    bottom: -22px;
    left: 110px;
}

.chat-bubble-arrow
{
    border-color: #FFFF00 transparent transparent transparent;
    border-style: solid;
    border-width: 10px;
    height: 0;
    width: 0;
    position: absolute;
    bottom: -19px;
    left: 110px;
}
/* iPhone full-screen instruction section */

.button
{
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 1.6em;
    display: inline-block;
    zoom: 1;
    vertical-align: baseline;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font: 14px/100% Arial, Helvetica, sans-serif;
    padding: .5em 2em .55em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.button:hover
{
}

.green
{
    color: #FFFFFF;
    font-weight: bold;
    border: solid 1px #538312;
    background: #64991E;
    background: -webkit-gradient(linear, left top, left bottom, from(#afcf6b), to(#325a00));
    background: -moz-linear-gradient(top, #afcf6b, #325a00);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#afcf6b', endColorstr='#325a00');
}

.green:hover
{
    color: #FFFFFF;
    font-weight: bold;
    background: #538018;
    background: -webkit-gradient(linear, left top, left bottom, from(#6B9D28), to(#103800));
    background: -moz-linear-gradient(top, #6B9D28, #103800);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b9d28', endColorstr='#103800');
}

.help
{
    background-color:#7F7;
    color:#000000;
    font-size:1.5em;
    font-weight: bold;
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .5em;
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 50px;
    padding-left: 5px;
    padding-right: 5px;
}

.suppressHelp
{
    background-color:#F77;
    color:#000000;
    float:left;
    margin-left: 5px;
    position: relative;
    margin-right:10px;
}

.helpBox
{
    background-color: #000022;
    z-index:21;
    top:-70px;
    width:100%;
    height:190px;
    overflow:auto;
    border-color:#222222;
    border-style:solid;
    border-width:thin;
    padding:2px;
    position:absolute;
    text-align:left;
    filter:alpha(opacity=80);
    -ms-filter: alpha(opacity=80);
    -ms-opacity:0.8;
    -moz-opacity:0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}

#appearsHelp
{
    display:none;
}
#maxHelp
{
    display:none;
}
#endsHelp
{
    display:none;
}
