/*s: general*/
#top_marsBanner {min-height: 74px;}
#topSubNav {display: none}
.section.pageIntro h1:first-child:after, .pageContent h1:first-child:after {display:none;}
.pageContent{font-weight: normal}
@media screen and (max-width: 750px){
	body, html {
		overflow-x: hidden;
	}
}

#footer{background-image: url('https://mars.nasa.gov/assets/footer_bg.png'); background-position: bottom left;}
#footer .socialIcons .follow{color: #ccdeef}
#footer .gradient_line{width: 100%;height: 1px;}
/*e: general*/

/*s: #1 MARCI Map*/
#Latest-Info {}
#Latest-Info .sectionInner .info.text{
	position: absolute;
    background-color: rgba(0,0,0,0.6);
    width: 400px;
	padding: 15px;
	color: white;
	position: absolute;
	bottom:3%; 
	left:3%;
	margin-right:5%;
}
@media screen and (min-width: 1224px){
#Latest-Info .sectionInner .info.text a{
font-size: 18px
}
}

#Latest-Info .text h1{
    font-size: 1.7em;
	font-weight: lighter;
	text-align: left;
	color: white;
	font-family: "Montserrat",Helvetica,Arial,sans-serif;
	margin-top: 0;
	padding-top: 0;
}
#Latest-Info .text p {
	line-height: normal;
	font-weight: lighter;
}
#Latest-Info .sectionInner { 
max-width: 100%; height: 70%; min-height:500px; min-height: 70vh; background: url('/imgs/mep/mars-dust-storm.gif') no-repeat center center; background-size:cover;
}
@media only screen and (max-width: 1240px){
	#Latest-Info .sectionInner .info.text {
		left:5%;
	}
}
	@media only screen and (max-width: 799px){
	#Latest-Info .sectionInner .info.text {
		width:80%;
		margin: 0 auto;
		left:0;
		right:0;
	}
}

/*e: #1 MARCI Map*/

/*s: #2 Status Update*/
#Status-Updates .sectionInner {margin:5% auto; padding: 0 20px;}
	#Status-Updates .subtitle {margin-top: 0; font-size:2em;}
	#Status-Report.grid .rowItem img {width:100%;}
	#Status-Report.grid .rowItem.tauDial img {width:85%;}
@media only screen and (max-width: 799px){
	#Status-Report.grid .rowItem img {width:50%;}
	#Status-Report.grid .rowItem.tauDial img {width:60%;}
	#Status-Report #Opportunity-Update, #Status-Report #Curiosity-Update{ padding:0 10%;}
	#Status-Report .grid .rowItem:first-child img { width:150px; height:auto; float:right; }
	#Status-Report .grid .rowItem.tauDial img { width:60%; }
	/*#Opportunity-Update { padding: 10px 20px 0px 20px;}*/
}

#Status-Report .selectText{display:block;width:272px; font-size:small;clear:both; margin: 0 -45px 0 auto;}
#Status-Report .switch {
    position: relative;
    display: block;
    width: 275px;
    height: 50px;
	margin: 0 10px 0 auto  
	}
#Status-Report .selectText{  margin: 0 -55px 0 auto;}  
#Status-Report .switch input {display:none;}
  
#Status-Report .slider-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eaeaea;
    -webkit-transition: .4s;
    transition: .4s;
    user-select: none;
  }
  
#Status-Report .slider-switch:before {
    position: absolute;
    content: "";
    height: 40px;
    width: 50%;
    left: 7px;
    bottom: 5px;
    background-color: #5283ff;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
input:checked + .slider-switch {
    background-color: #e8e8e8;
  }
  
input:focus + .slider-switch {
    box-shadow: 0 0 1px #5283ff;
  }
  
input:checked + .slider-switch:before{
    -webkit-transform: translateX(124px);
    -ms-transform: translateX(124px);
    transform: translateX(124px);
    background-color: #5283ff;
  }
  
  /* Rounded slids */
#Status-Report .slider-switch.round {
    border-radius: 34px;
  }
  
#Status-Report .slider-switch.round:before {
    border-radius: 34px;
  }
#Status-Report .slider-switch.square:before {
    border-radius: 4px;
  }
  
.switch-opportunity {
    position: absolute;
    top: 50%;
    transform: translate(100%, -50%);
    right: 45%;
    color: white
  }

.switch-curiosity {
    position: absolute;
    top: 50%;
    transform: translate(-150%, -50%);
    left: 55%;
	  color: white;
  }

input:checked + .slider-switch > .switch-curiosity {
    color: #222
  }
@media screen and (min-width: 1224px) {
	.statusChbx span[class^="switch-"] { font-size:16px }
}
@media only screen and (max-width: 799px){
	#Status-Report .switch { margin: 0 auto; float:none; }
	#Status-Report .selectText {margin: 0 auto; text-align:center;}
	.switch-opportunity { left: 160px; }
	.switch-curiosity { left: 130px; }
	#Status-Report .switch{width: 280px; height:35px;}
	#Status-Report .slider-switch:before{ height:25px;width: 50%; }
	#Opportunity-Status.grid .rowItem { display: block !important; }
	
#Opportunity-Status.grid .rowItem {
    display: block!important;
    width: 100%!important;
    margin-left: 0!important;
}
}
/*e: #2 Status Update*/
 
/*s: #3 MARCI Weather Movie*/
#Global-Weather {padding:5%; width:90%}
#Global-Weather #Video-Clip { width: 42%; padding: 20px 4%; background-color: #000; color: white;}
#Global-Weather #Video-Clip .is-splash.flowplayer .fp-ui, #Global-Weather #Video-Clip .is-paused.flowplayer .fp-ui{background-size:20%} 
#Global-Weather #Video-Clip .vid-map_movie_180528_180603-mp4 .fp-ratio {padding-top: 100% !important}

#Global-Weather #Video-Clip-Info { width: 42%;     padding: 0 3%; background-color: whitesmoke; color: #222;}
/*#Global-Weather #Video-Clip-Info a{color: orange}*/

@media only screen and (max-width: 570px){
	#Global-Weather.vCentered{display:block;}
	#Global-Weather #Video-Clip {width:92%; display:block;}
	#Global-Weather #Video-Clip-Image{width:100%; display:block;}
}

/*e: #3 MARCI Weather Movie*/

/*s: #4 Multimedia */
#Multimedia{ vertical-align: middle}
#Multimedia .sectionInner{  width:90%; padding: 0 5% 5%}
#Multimedia #Multimedia-Slider .slick-list{padding:0 !important; margin: 0 50px;}
#Multimedia #Multimedia-Slider .imageItem{padding:15px;}
#Multimedia #Multimedia-Slider .imageItem .title{text-align:center;display: block;}
#Multimedia #Multimedia-Slider .imageItem img {height:240px; width:auto; display: block; opacity: 1}
#Multimedia #Multimedia-Slider .imageItem .title {display:block;padding-top:5px;}
#Multimedia #Multimedia-Slider.slickGeneral .slick-prev, #Multimedia #Multimedia-Slider.slickGeneral .slick-next { background-image: none;
	margin-top:-40px;
}
#Multimedia #Multimedia-Slider.slickGeneral{padding-bottom:0;}
#Multimedia #Multimedia-Slider.slickGeneral .slick-prev:before, #Multimedia #Multimedia-Slider.slickGeneral .slick-slider .slick-next:before {
    content: '';
    display: inline-block;
    padding: 0;
    cursor: pointer;
    width: 17px;
    height: 25px;
    background: url(https://mars.nasa.gov/assets/ui_sprite@2x.png) -30px -100px;
    background-size: 300px;
    opacity: 1;
}
#Multimedia #Multimedia-Slider.slickGeneral .slick-next:before {
    content: '';
    display: inline-block;
    padding: 0;
    cursor: pointer;
    width: 17px;
    height: 25px;
    background: url(https://mars.nasa.gov/assets/ui_sprite@2x.png) -30px -150px;
    background-size: 300px;
}
/*e: #4 Multimedia*/
/*s: #5 Weather Diagram*/
#Science-Observation .sectionInner {width:90%;padding: 0 5% 5%}
#Science-Observation .image {line-height:normal;font-size: 0}
#Science-Observation .image img {width:100%}
#Science-Observation .caption {background-color: whitesmoke;padding:10px 15px;}
#Science-Observation .caption h2 {padding-top: 0;margin-top:0;}
 
/* From InSight Weather CSS*/
h1.textWhite.textAlignLeft {
  color: white;
}

.vCentered .vCenteredInner {
  display: table-cell;
  vertical-align: middle;
}

.textAlignCenter {
  text-align: center !important;
}

.vBottom, .vCentered, .vTop {
  display: table;
}

.textLarger {
  font-size: 150%;
  line-height: normal;
}

.textWhite, a.textWhite {
  color: #fff !important;
}

/*s: general*/
#top_marsBanner {min-height: 74px;}
#topSubNav {display: none}

.pageContent{font-weight: normal}
@media screen and (max-width: 750px){
	body, html {
		overflow-x: hidden;
	}
}

#weather_observation .lbl_fahrenheit , #weather_observation .lbl_celsius, #weather_observation .lbl_mph , #weather_observation .lbl_mps { cursor: pointer}
#weather_observation .fadeBlack {color:rgba(0,0,0,0.3);}
.degree .lbl_fahrenheit, .degree .lbl_celsius{cursor: pointer}
.temperatures.main .fahrenheit, .temperatures.main .celsius{ text-align: right; display: inline-block}
.highs, .lows {display: table;}
.highs span, .lows span{display:table-cell;padding: 0 3px; text-align: right; }
span.dateSol {
    font-size: 16px;
    font-weight: 600;
}

#weather_observation td {
    padding: 10px 5px;
    text-align: center;
}
#weather_observation thead th {
	border: none;
	border-bottom: 1px solid darkgray;
	background: #f9f9f9;
	padding: 10px 5px;
}
#weather_observation td.sol{ padding: 10px 5px;}
#weather_observation th.sol, #weather_observation td.windspeed{ background: #f9f9f9; border:none;}
#weather_observation td.temperature, #weather_observation td.pressure{ background: #fff; border:none;}
/*e: #8 InSight Latest Weather*/

/*MBCMS override*/
#insight-weather .module {padding:0;}
/*e: #5 Weather Diagram*/

/*s: #6 MSL Latest Weather*/
#MSL-Weather-Report.section {background: url('/imgs/msl/PIA20316-1440.jpg') no-repeat top center; background-size: cover;}
#MSL-Weather-Report #Weather-Content {padding: 0 5% 0}
#MSL-Weather-Report #Weather-Content #Weather-Data{padding:50px 0 0 20px; width:55%;}
.pageContent #MSL-Weather-Report #Weather-Data h1{font-weight: bold;letter-spacing: 1px;}
#MSL-Weather-Report #Weather-Data p{line-height: normal;width:95%}
#MSL-Weather-Report .slash, #MSL-Weather-Report .degree .celsius, #MSL-Weather-Report .fadeWhite {color:rgba(255,255,255,0.5);}
.degree .lbl_fahrenheit, .degree .lbl_celsius{cursor: pointer}
.temperatures.main .fahrenheit, .temperatures.main .celsius{ text-align: right; display: inline-block}
.highs, .lows {display: table;}
.highs span, .lows span{display:table-cell;padding: 0 3px; text-align: right; }
#MSL-Weather-Report .vCentered {padding:5% 0; width: 100%}
#MSL-Weather-Report .temperatures.main { padding-left:5%;}
#MSL-Weather-Report #tempDate .marsDate {font-weight: bold; font-size: larger}
#MSL-Weather-Report #tempDate .marsDate, #MSL-Weather-Report #tempDate .earthDate {display: block;}
#MSL-Weather-Report #Forecast { margin: 0 auto; text-align: center;}
#MSL-Weather-Report #Forecast .item {
	width:10%;
	margin:20px 1% 50px;
	background-color:  rgba(0,0,0,0.25);
	padding: 15px 0.2%;
	display: inline-block;
	text-align: center; 
	font-weight: 600;
	letter-spacing: 1px;
}
#MSL-Weather-Report #Forecast .item .fadeWhiteLine {
	background-color: rgba(255,255,255,0.5);
	height: 2px; 
	width: 80%;
	text-align: center;
	margin: 10px auto;
}
#MSL-Weather-Report #Forecast .item  .dateUTC{font-size: smaller; font-weight:500; letter-spacing: 0; display: block;}
	#MSL-Weather-Report #Forecast .item .low{ color: rgba(255,255,255,0.5);}
@media only screen and (max-width: 920px){

	#MSL-Weather-Report #Forecast .item{font-size: 0.9em; margin: 20px 0.2% 50px;line-height: normal; padding: 8px 3px;}
	#MSL-Weather-Report #tempDate .earthDate, #MSL-Weather-Report #Forecast .item .dateSol{font-size: 0.8em;}
	#MSL-Weather-Report #Forecast .item .dateUTC{font-weight: 300}
	#MSL-Weather-Report #tempDate .earthDate {display: block; }
}

@media only screen and (max-width: 512px){
	#MSL-Weather-Report #Forecast .item{font-size: 0.8em;}
	#MSL-Weather-Report #Forecast .item .slash {display: inline-block;}
	#MSL-Weather-Report #Forecast .item:nth-child(-n+4) {
    	display:none; 
	}
	#MSL-Weather-Report #Forecast .item {width:25%; font-size:1.2em}
}

	/*EMBED*/
	#embedWeather { font-family: "Montserrat",Helvetica,Arial,sans-serif; color: #222; font-size: 0.8em }
	#embedWeather .box{display: none;}
	#embedWeather #sizeOptions { margin: 0px; padding: 0px; }
	#embedWeather #sizeOptions li { list-style: none; font-size: 90%; }
	#embedWeather .contents {margin:0 auto; text-align: center; display: table}
	#embedWeather .preview, #embedWeather .options { display:table-cell;vertical-align: top; text-align: left;}
	#embedWeather .preview {line-height: 0}
	#embedWeather .options {border: #ccc solid thin; padding: 20px;}
	#embedWeather .options .contain {width: 300px}
	#embedWeather .embed-code-wrapper{padding: 5%; width: 80%; word-wrap:break-word; font-family: monospace, serif; font-size: 1em }
	#embedWeather .options h3{ border-bottom: thin #ccc solid;margin-top: 0;padding-top: 0;}
	#cboxLoadedContent{overflow-y: inherit !important}
@media only screen and (max-width: 990px){
	#embedWeather .options .contain{width: 100%}
	#embedWeather .contents, #embedWeather .preview, #embedWeather .options { display: block;}
	#embedWeather .preview iframe{width: 100%}
}

@media only screen and (max-width: 920px){
	#MSL-Weather-Report #Weather-Content #Weather-Data {width:100%;}
	#MSL-Weather-Report.section .gradientOverlay{    background: -owg-linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 70%);
		background: -webkit-linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 70%);
		background: -moz-linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 70%);
		background: -o-linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 70%);
		background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 70%);
		z-index: 1;}

	#MSL-Weather-Report #Forecast .item{font-size: 0.9em; margin: 20px 1% 50px;line-height: normal; padding: 8px 3px;}
	#MSL-Weather-Report #tempDate .earthDate, #MSL-Weather-Report #Forecast .item .dateSol{font-size: 16px;}
	#MSL-Weather-Report #Forecast .item .dateUTC{font-weight: 300}
	#MSL-Weather-Report #tempDate .earthDate {display: block; }

	#MSL-Weather-Report #Forecast .item{font-size: 0.8em;}
	#MSL-Weather-Report #Forecast .item .slash {display: inline-block;}
	#MSL-Weather-Report #Forecast .item:nth-child(-n+3),#MSL-Weather-Report #Forecast .item:nth-child(-n+4) {
    	display:none; 
	}
	/*6*/
    #MSL-Weather-Report #Forecast .item:nth-child(4):nth-last-child(3){
		display: inline-block;
		width: 25%;
	}

	/*5*/
    #MSL-Weather-Report #Forecast .item:nth-child(4):nth-last-child(2),
    #MSL-Weather-Report #Forecast .item:nth-child(3):nth-last-child(3){
		display: inline-block;
		width: 25%;
	}

	/*4*/
    #MSL-Weather-Report #Forecast .item:nth-child(2):nth-last-child(3),
    #MSL-Weather-Report #Forecast .item:nth-child(3):nth-last-child(2),
    #MSL-Weather-Report #Forecast .item:nth-child(4):nth-last-child(1){
		display: inline-block;
		width: 25%;
	}
    
	/*3*/
    #MSL-Weather-Report #Forecast .item:nth-child(1):nth-last-child(3),
    #MSL-Weather-Report #Forecast .item:nth-child(2):nth-last-child(2),
    #MSL-Weather-Report #Forecast .item:nth-child(3):nth-last-child(1){
		display: inline-block;
		width: 25%;
	}
    
	/*2*/
    #MSL-Weather-Report #Forecast .item:nth-child(1):nth-last-child(2),
    #MSL-Weather-Report #Forecast .item:nth-child(2):nth-last-child(1){
		display: inline-block;
		width: 35%;
   }
    
	/*1*/
    #MSL-Weather-Report #Forecast .item:nth-child(1):nth-last-child(1){
         display: inline-block;
		 width: 30%;
		}
	/* all */
	#MSL-Weather-Report #Forecast .item {width:25%; font-size:0.9em}
	#MSL-Weather-Report #Weather-Content.vCentered{padding:5% 0} 
}

/* specific to table */
#weather_observation td.pressure {
	background: #f9f9f9;
	border: none;
}
#weather_observation td.sun {
	background: #fff;
	border: none;
}
#weather_observation thead th{
	border: none;
	border-bottom: none;
	background: #f9f9f9;
}
#weather_observation thead th.header-left {
	padding-left: 10px;
}
#weather_observation thead th.second-row {
	border-bottom: 1px solid darkgray;
}
#MSL-Weather-Report #Forecast .item .low {
	color: rgba(255,255,255,1);
}
table{
	table-layout: fixed;
	width: 100%;
}
#MSL-Weather-Report #Forecast .item .fahrenheit, #MSL-Weather-Report #Forecast .item .celsius {
	font-weight: 500;
}

#weather_observation thead th{
	font-size: 0.60em;
	padding: 10px 0px;
}
@media (min-width: 325px){
	#weather_observation thead th{
		font-size: 0.75em;
	}
	div.high, div.low {
		white-space: nowrap;
	}
}

/* 600px or wider*/
@media (min-width: 600px){
	#weather_observation thead th{
		font-size: 1.0em;
	}
	#sol-header {
		width: 10%;
	}
}
@media (min-width: 920px){
	div.high, div.low {
		font-size: 0.8em;
	}
}

@media (min-width: 1100px){
	div.high, div.low {
		font-size: 1.0em;
	}
}

@media only screen and (max-width: 920px){
	#MSL-Weather-Report #Forecast .item .fahrenheit, #MSL-Weather-Report #Forecast .item .celsius {
		font-weight: 300;
	}
}

/*e: #6 MSL Latest Weather*/

/*s: #7 Feature */

#Feature .sectionInner { padding: 10%}
#Feature .sectionInner .grid { margin-bottom:25px }
#Feature .sectionInner .grid .rowItem {vertical-align: top}
@media only screen and (max-width: 990px){
#Feature .sectionInner .grid { margin-bottom:0 }
#Feature .sectionInner .grid .rowItem { margin-bottom:25px;}
}
/*e: #7 Feature */

