/*----- GENERAL STYLES ----- */
@media only screen and (min-width: 1024px) {
		#home {
			background: url(/images/iss031e146326.jpg) no-repeat 50% -10% fixed;
			-webkit-background-size: cover;
			-moz-background-size: cover;
			-o-background-size: cover;
			background-size: cover;
			background-color:#000;
			width: 100%;
			min-height: 100%;
			margin: 0;
			padding: 0;
			-webkit-text-size-adjust: 100%;
		}}

.centered {
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
	text-align: center }

	/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) 
and (max-width : 767px) {
	#home { background: url(/images/iss031e146326-small.jpg) no-repeat 50% -26% fixed; background-size:cover;}
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) 
 {
	#home { background: url(/images/iss031e146326-small.jpg) no-repeat 50% -30% fixed;background-size:cover; }
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) 
and (orientation : landscape) {
	#home  {
	background: url(/images/iss031e146326-small.jpg) no-repeat 50% 33% fixed;
	background-size:cover; }
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) 
and (orientation : portrait) {
	#home  {
	background: url(/images/iss031e146326-small.jpg) no-repeat 50% 33% fixed;
	background-size: cover;
	background-position: 50% 33%; }
}
body { margin: 0; font-size: 16px;}
.input_pad { 	padding-left: 5px; }
.top_header {
	font-size: 24px; 
	font-weight: bold; 
	font-style: italic;
	margin-bottom: 10px;
	text-align: center;
}
@media (max-width: 465px) {
	.top_header {
		margin-top: 15px;
	}
}
li {
	padding-left: 25px;
}
p {
	-webkit-margin-before: 0;
}
@media (max-width: 1080px) {
	* {
	box-sizing: border-box;
}
}
@media (max-width: 465px) {select.chosen-select {width: 100%}}
/* ----- SELECTION COLORS ----- */

::selection 	 	{ background: rgba(255,255,150,.9); }
::-moz-selection 	{ background: rgba(255,255,150,.9); }
img::selection 		{ background: transparent; }
img::-moz-selection	{ background: transparent; }
body { -webkit-tap-highlight-color: rgb(239,248,247); }

/* ----- LINKS ----- */
a img {
	-webkit-transition: opacity .2s ease;
	   -moz-transition: opacity .2s ease;
	     -o-transition: opacity .2s ease;
	        transition: opacity .2s ease;
}
a:hover img { opacity: .75; }

a {
	-webkit-transition: all .2s ease;
	   -moz-transition: all .2s ease;  
   	     -o-transition: all .2s ease;  
        	transition: all .2s ease; 
}

.content p a { border-bottom: 1px dashed #E5E5E5; }
.content p a:hover { background: #EFF8F7; }

a:hover, a:focus { color: #EC6635;  }
a:link, a:visited  {color: #002776; text-decoration:inherit;}

/* ----- Latest ISS Imagery -----*/
.hdev {
	float: right;
	border: 4px solid #eee;
	display: inline-block;
}
.hdev img {width: 155px}

/* ----- FAQ -----*/
a.tooltip {outline:none; }
a.tooltip strong {line-height:30px;}
a.tooltip:hover {text-decoration:none;} 
a.tooltip span {
    z-index:10;display:none; padding:14px 20px;
    margin-top:-30px; margin-left:28px;
    line-height:16px; height: 200px; overflow-y: scroll;
}
a.tooltip:hover span{
    display:inline; position:absolute; color:#111;
    border:1px solid #DCA; background:#fffAF0;}
.callout {z-index:20;position:absolute;top:30px;border:0;left:-12px;}
    
/*CSS3 extras*/
a.tooltip span
{
    border-radius:4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
        
    -moz-box-shadow: 5px 5px 8px #CCC;
    -webkit-box-shadow: 5px 5px 8px #CCC;
    box-shadow: 5px 5px 8px #CCC;
}
li {
	display:list-item;
}

#iss-pos-wrapper {
	width: 655px;
	height: 600px;
	overflow: hidden;
	position: relative }
#iss-pos {
	position: absolute;
	top: -500px;
	left: 2px;
	width: 655px;
	height: 1140px;
	overflow: hidden; }
.cbp-caption-defaultWrap img {width: 100%}

/* ----- SPACE STATION ORBIT TUTORIAL ---- */
.tutorial_box {
	border-bottom: 1px dotted #e5e5e5;
	padding: 10px;
	margin-bottom: 25px;
}
.tutorial_box figure {
	position: relative;
	margin: 0 auto;
	padding: 20px 0 0 0;
	
	text-align: center;
	max-width: 500px;
}
.tutorial_box figure img {
	width: 100%;
    height: auto;
    vertical-align: top;
}
.tutorial_box figure figcaption {
	font-size: small;
}

/* ----- REQUEST NEW IMAGERY ----- */
.education {
	margin-right: 20px; 
	margin-left: 40px;
}
.science {
	margin-left: 20px;
}
@media (max-width: 991px) {
	.education {
		margin-right: 0;
		margin-left: 0;
	}
	.science {
		margin-left: 0;
	}
}
/* ----- SOCIAL MEDIA ----- */
.twitter_left {
	float: left;
	width: 340px;
	margin: 10px;
	text-align: center;
}
.twitter_center {
	float: left;
	width: 340px;
	margin: 10px;		
	text-align: center;
}
.twitter_right {
	float: left;
	width: 340px;
	margin: 10px;
	text-align: center;
}
.crew table {
	min-width: 100%;
}
.crew td {
	width: 16%;
	display: inline-block;
}
.gray_out {
	opacity: 0.4;
	filter: alpha(opacity=40);
	background-color: #000;
}

@media (max-width: 1080px) {
	.twitter_left {
		width: 31%;
	}
	.twitter_center {
		width: 31%;
	}
	.twitter_right {
		width: 31%;
	}
}
@media (max-width: 883px) {
	.twitter_left {
		width: 100%;
		float: none;
		margin: 0;
	}
	.twitter_center {
		width: 100%;
		float: none;
		margin: 0;
	}
	.twitter_right {
		width: 100%;
		float: none;
		margin: 0;
	}
	.crew {display:inline-block}
}
@media (max-width: 550px) {
	.twitter_left iframe {
		height: 355px;
	}
	.twitter_center iframe {
		height: 355px;
	}
	.twitter_right iframe {
		height: 355px;
	}
}
.crew {
	width: 100%;
	height: 135px;
	display: inline-block;
	text-align: center;
}
.crew_small {text-align: center;}
.crew, .crew_small small {
	font-size: small;
}
.crew_small table {
	display: none;
}
@media (max-width: 680px) {
	.crew_small table {
		display: block;
		width: 100%;
	}
	.crew_small tr {
		margin: auto;
	}
	.crew_small td {
		width: 38%;
	}
	.crew {
		display: none;
	}

}
/* ------ VIDEOS -----*/
.download {
	letting-spacing: 1px;
	display: inline-block;
	height: 40px;
	padding: 0 16px;
	line-height: 40px;
	color: #333;
	background-color: #ddd;
	text-align: center;
	white-space: nowrap;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border: 1px solid #999;
	float: left;
	margin: 5px;
	border-radius: 10px;
	-webkit-transition: background 0.5s linear;
        -moz-transition: background 0.5s linear;
        -ms-transition: background 0.5s linear;
        -o-transition: background 0.5s linear;
        transition: background 0.5s linear;
}
.download:hover {background-color: #959595; }
.video_overall {
	overflow: hidden;
	margin-top: 10px;
	border-top: 1px dashed #cccccc;
}

.video_description {
	margin-top: 10px;
	float: left;
}

.video {
	margin-top: 5px;
	text-align: center;
}
.video video {
	width: 100%;
}

.special_videos {
	display: inline-block;
	border-bottom: 1px dashed #cccccc;
	margin-left: 25%;
	margin-right: 25%;
}
.special_videos_list {
	float: left;
	padding: 3px 5px 0 0;
	width: 20%;
}
.back_main {
	font-size:10px;
	width: 100%;
	margin-top: 110px;
}
	@media (max-width: 465px) {
		.back_main {margin-top: 70px;}
	}
/* ----- FIND PHOTOS -----*/
#map-canvas {
	width: auto; height: 450px; margin-bottom: 5px;
}
@media (max-width : 320px) {
	#map-canvas {
		height: 200px;
	}}
.content_search {
	width: 100%;
	margin: 0 auto;
}
.content_search input {
	width: 100%;
	height: 40px;
	border: 1px solid #B6B6B6;
	border-radius:3px;
	box-shadow: 0 0 2px 1px rgba(0,0,0,.35);
	margin-right: 10px;
	text-align: center;
}
 
#SearchBoxInput {
	padding: 0 11px 0 13px;
	width: 75%;
	height: 32px;
	font-size: 15px;
	box-shadow: 0 0 2px 1px rgba(0,0,0,.35);
}
.advanced {
	clear: both;
	padding: 5px 0 0 0;
	float: right;
}
#advancedOptions {
	margin-top: 80px;
	clear: both;
}
#advancedOptions small {
	font-size: 10px;
}
.left {
	border-bottom: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	padding:15px;
	width: 300px;
}
.middle {
	border-bottom: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	padding: 15px;
	width: 350px;
}
.right {
	border-bottom: 1px solid #e5e5e5;
	padding: 15px;
	width: 300px;
}

.source-title-box a{
    color:#467FD9;
    display:block;
    text-decoration:none; 
	padding: 15px;    
}
.source-title-box a:hover{
    background-color:#467FD9;
    color:#FFFFFF;
}
.top_border {
	margin-top: 15px; 
	border-top:1px dashed #e5e5e5;
}
.search_buttons {
	height: 25px; 
	margin: 5px 5px 0 0; 
	float: right;
}
	@media (max-width: 562px) {
		.search_buttons {
			height: 30px;
			width: 100%;
			margin: 7px 0 0 0;
		}
	}
textarea#styled {
	width: 100%;
	overflow: auto;
}
/* ----- DISPLAY RECORD ----- */
.main_photo {
	float: left;
}
	@media (min-width: 1025px) {
		.main_photo {margin-right: 40px;}
	}
	@media (max-width: 1024px) {
	.main_photo {
		padding: 0;
		float: none;
		-webkit-box-shadow: none; 
		-moz-box-shadow: none; 
		box-shadow: none;
	}
	}
@media (min-width: 1025px) {
.information {
	float: left; 
	width: 33%; 
}
.table_resolution {float: none}
.table_info {float: none;}
}
@media (max-width: 1024px)  {
	.information {
		overflow: hidden;
		position: relative;
		margin-top: 15px;
	}
}
@media (max-width: 700px) {
	.information {left: 0;}
}
@media (min-width: 888px) and (max-width: 1024px) {
	.table_info {
		width: 40%;
		/*left: 15%;
		position: relative;*/

	}
}
.table_info {
	float: left;
	line-height: 2.8em;
	overflow: auto;
}
.table_left {
	border-bottom: 1px dotted #cfcfcf;
	float: left;
	width: 55%;
}
.table_right {
	border-bottom: 1px dotted #cfcfcf;
	float: left;
	width: 45%;
}
.table_resolution {
	line-height: 2.8em;
}


/* ----- MISSION HIGHLIGHTS -----*/
#mh {
	height: 100%;
	width: 100%;
}

.mh_rightContainer {
	float: left;
}

.mh_rightContainer h3 {
	font-weight: bold;
}
.mh_entry {
	float: left;
	margin-left: 10px;
	border-bottom: 1px dashed #cccccc;
}

.mh_bottomSpacer {
	float: left;
	margin-left: 10px;
	margin-bottom: 40px;
}

.photo_left {
	float: left;
	margin-right: 10px;
}
	
.photo_right {
}
.main_mh {
	padding-top: 15%;
	font-size: x-large;
	font-family: 'Unica One', sans-serif;
	text-align: center;
}
	@media (max-width: 750px) {
		.main_mh {display: none;}	
	}

/* ----- EARTH OBSERVATORY -----*/
#map {
	margin-bottom: 20px;
}
.new_articles {
	width: 100%;
}
.article {
	width: 250px;
	float: left;
	padding: 0 7px 17px 7px;
}
	@media (max-width: 1026px) {
		.article {
			width: 50%;
			float: left;
			padding: 0 7px 17px 7px;
}	
	}
.article_text {
	margin-top: 20px;
	margin-bottom: 10px;
}



/* PAGE STRUCTURE
----------------------------------------------- */

.content {
	width: 1080px;
	padding: 5px;
	font-family: "Times New Roman", Times, serif;
	margin: 0 auto;
	color: #333;
	-webkit-text-size-adjust: 100%;
	position: relative;
}
	@media (max-width: 1080px) {
		.content {
			width:auto;
		}}
.wrapper {
	margin: 5px;
}
a.anchor{display: block; position: relative; top: -110px; visibility: hidden;}

/* ---- IMAGE DETECTIVE ---- */
.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
	display: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
	display: block;
}

.modalDialog > div {
	width: 400px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
}
.close_modalDialog {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close_modalDialog:hover { background: #00d9ff; }
.detectiveMain {width: 100%;}
/* HEADER
----------------------------------------------- */

.header_fixed {
	position:fixed;
	display:inline-block;
	width: 100%;
	margin-bottom: 15px;
	top:0px;
	background-color: rgba(0,0,0,0.8);
	background-image:url(../thumbnail_black.png); background-size: 110px;
	background-repeat:no-repeat;
	background-position:left; 
	padding: 40px 40px 10px 30px;
	z-index:999;
}
#thumbnail {
	font-family: 'Alegreya Sans SC', sans-serif;
	color:#FFF;
	font-size: 20px;
	float: left;
}
	#thumbnail a {color:#fff}
	#thumbnail a:hover {color:#ccc;}
@media (max-width: 1024px) {
	.top-nav{
    margin-top:9px;
    padding:0;
    font-size:20px;
    font-weight:normal;
	line-height: 2.5em;
	font-family: 'Unica One', sans-serif;
}
    .top-nav li {
        margin-left:7px;
		display: block;
    }
}
@media (min-width: 1025px) {
	.top-nav{
    margin: 0;
    padding:0;
	position: absolute;
	bottom: 0;
	right: 22px;
    font-size:15px;
	font-family: 'Unica One', sans-serif;
} 
   .top-nav li {
        display:inline;
    }
}
@media (max-width: 465px) {
	.top-nav {
		margin-top: 0;
	}
}
    .top-nav li a { color:#fff; }
    .top-nav li.selected_section a { color: #ccc; }
    .top-nav li a:hover { color:#ccc; 
	-webkit-transition: all .2s ease;
	   -moz-transition: all .2s ease;
	     -o-transition: all .2s ease;
	        transition: all .2s ease;}
	
/* SHARE BUTTONS */
.share-buttons img {
width: 35px;
padding: 5px;
border: 0;
box-shadow: 0;
display: inline;
float: right;
}	
.share-buttons ul { list-style: none; }

/* ----- FOOTER -----*/
html, body {height: 100%;}

.wrap {min-height: 100%;}

.main {overflow:auto;
	padding-bottom: 150px;}  /* must be same height as the footer */
	@media (max-width: 479px) {
		.main {padding-bottom: 128px}
	}
#footer {
	position: relative;
	margin-top: -150px; /* negative value of footer height */
	height: 150px;
	clear:both;
	}
	@media (max-width: 479px) {
		#footer {margin-top: -128px; height: 128px}
	}
/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;/
}



.footer1 {
	text-align: center;
	display:inline-block;
	width: 100%;
	background-color: #E6E6E6;
}
.footer_text {color:#000; z-index: 99;}
.footer1 a {color:#999;}
.footer1 a:hover, a:focus { color: #EC6635; }
.footer_nasa {
	float: right;
}
.footer_ESRS {
	float: left;
}
.newsletter {
	overflow: hidden;
	clear: both;
	margin-bottom: 20px;
	margin-top: 8px;
	}
	@media (max-width: 480px) {
		.newsletter {
			display: none;
			margin: 0;
		}
		.newsletter .submit {
			display: none;
		}}
.newsletter-mobile {
	display: none;
	color: #000;
}
.newsletter-mobile .subscribe {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	font-family: 'Unica One', sans-serif;
	font-size: 16px;
	padding-top: 20px;
	letter-spacing: 1px;
	display: inline-block;
	height: 42px;
	padding: 0 46px;
	line-height: 22px;
	color: #ffffff;
	background-color: #222222;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border: none;
}
	@media (max-width: 479px) {
		.newsletter-mobile {
			display:inline;
		}}
.newsletter form {
	display: block;
}
.newsletter fieldset { 
	display: inline; 
	border:0;
}
.newsletter .submit { margin-left: 0; }
.newsletter .email {
	color: #000;
	width: 275px;
	background: #fff;
	border-color: #fff;
	height: 57px;
	padding: 0 15px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	font-family: 'Unica One', sans-serif;
	font-size: 14px;
	letter-spacing: 1px;
	display: inline-block;
	line-height: 57px;
	white-space: nowrap;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border: 1px solid #b8b8b8;
}
.newsletter .subscribe {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	font-family: 'Unica One', sans-serif;
	font-size: 14px;
	letter-spacing: 1px;
	display: inline-block;
	height: 56px;
	padding: 0 16px;
	line-height: 56px;
	color: #ffffff;
	background-color: #222222;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border: none;
}
.footer1 .esrs {
	margin-top: 20px; 
	margin-right: 70%;
	width: 88px;
}
.footer1 .nasa {
	 width: 90px; 
	 margin-top: 20px; 
	 margin-left: 70%;
}
	@media (max-width: 479px) {
		.footer1 .esrs {margin-top: 0;}
		.footer1 .nasa {margin-top: 0;}
	}

@media (max-width: 767px) {
	.footer1 {
		font-size: 10px;
	}
	.footer1 .esrs {
		width: 50px;
	}
	.footer1 .nasa {
		width: 50px;
	}
}
@media (max-width: 1199px) {
	.footer1 .esrs {
		margin-right: 0;	
	}
	.footer1 .nasa {
		margin-left: 0;
	}
}
/* ----- MAIN NAVIGATION ----- */

.content nav {
	position: absolute;
	top: 80px;
	left: 0;
	width: 184px;
}
.content nav li {
	display: block;
	margin-bottom: 18px;
	line-height: 1em;
}
.content nav li:last-child { margin: 0; }

.content nav a {
	display: block;
	height: 28px;
	padding: 4px 0 0 4px;
	font-style: italic;
	color: #222;
	-webkit-transition: all .2s ease;
	   -moz-transition: all .2s ease;
	     -o-transition: all .2s ease;
	        transition: all .2s ease;
}
.content nav a:hover { color: #EC6635; }

.content nav li a { 
	background-position: 0 65%; 
	background-repeat: no-repeat; 
}
.content nav li a:hover { background-position: 5px 65%; }




/* CONTENT
----------------------------------------------- */

/* BASE TYPOGRAPHY */
#content h2 {
	margin-bottom: 20px;
	line-height: 1.4em;
	font-size: 1.3125em;
	font-weight: bold;
}

/* IMAGES */
#content article img { 
	max-width: 100%;
	height: auto;
}
#content .right {
	float: right;
	margin: 0 0 20px 20px;
}
#content .left {
	float: left;
	margin: 0 20px 20px 0;
}
#content img.border {
	padding: 9px;
	background: #FFF;
	border: 1px solid #E5E5E5;
	-webkit-box-shadow: 1px 2px 3px #F5F5F5;
	   -moz-box-shadow: 1px 1px 3px #F5F5F5;
	        box-shadow: 1px 1px 3px #F5F5F5;
}
#content article a img {
	-webkit-transition: opacity .2s ease;
	   -moz-transition: opacity .2s ease;
	     -o-transition: opacity .2s ease;
	        transition: opacity .2s ease;
}
#content article a:hover img { opacity: .75; }



