@media (max-width: 500px) and (orientation:portrait) {
	body { font-size: 14pt; }
	.main-content-wrapper { padding-left: 1em; padding-right: 1em; }	

        iframe {
            width: 100%;
        }
}

@media (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 2) {
	.footer.iphone-view,
	.footer.iphone-view .staff { font-size: 29px; }

	.iphone-view .gallery-section-title { font-size: 50px;}

	.iphone-view .news .list-group-item .f12 { font-size: 25px!important; top: 0!important; }
	.iphone-view .news .list-group-item .f17 { font-size: 35px!important; top: 0!important; }

	#mobile_sidebar_nav { display: block; }
	#sidebar_nav { display: none; }

        iframe {
            width: 100%;
        }
}

@media only screen and (min-width: 1045px) {
	.featured-image .image-wrapper { height: auto; max-height: 201px; }
}

@media only screen and (max-width: 1045px) {
	.featured-image .image-wrapper { height: auto; max-height: 600px; }
	/*#profiles .slick-slider img { max-width: 200px; }	*/
	#sidebar_nav { display: none; }
	.navbarMenu { display: none; }
	.pageslide-drawer { display: block; position: absolute; }
	.sidebar-nav.drawer { display: block; }
	#drawer-wrapper { position: fixed; }

	.basics .sidebar-left { display: none; }
  .basics .content.table-col.view-content { width: 100%!important; }
  .basics.not-front .bosf-header { background-size: contain; }

        iframe {
            width: 100%;
        }
}

@media screen and (max-device-width: 768px), screen and (max-width: 768px) {
	.subhead-wrapper .f29 { font-size: 40px!important; }
	.cTitle.f30 { font-size: 42px!important }

	#idx-infobar.mid .cleft,
	#idx-infobar.mid .cleft .cTitle,
	#idx-infobar.mid .cleft .subhead-wrapper { height: 120px; }	

	#idx-infobar.mid .curr-time .label, #idx-infobar.mid .curr-time .timestamp { font-size: 20px!important; }
	#idx-infobar.mid .curr-time clock { font-size: 25px; }

	#sidebar_nav { display: none; }
	.pageslide-drawer { display: block; position: absolute; }
	#pageContent p { margin: 0 0 45px; }
	body { font-size: 25px; }
	/*#pageContent .main-content { font-size: 55px!important; }*/
	.footer { font-size: 20px; }	
	.footer>.container { padding-left: 10%; padding-right: 10%; }
	.footer .staff { font-size: 20px; padding-top: 1.5em; }
	.footer nav { line-height: 2em; }
	.footer .credits .staff, .footer .credits .staff p { line-height: 2em; }
	.more-button div { padding: 0.5em; }

	/*.col-xs-12 { width: 100%; }*/
	.related-news .news-pubdate { position: relative; padding-top: 5%; }
	.related-news .item { margin-bottom: 10%; }
	.related-news .item.last { margin-bottom: 0; }

	.vital-stats-carousel .carousel-indicators {display: none;}
	#profiles .slick-slider img,
	.timeline .item img { max-width: none; width: 60%; }
	.featured-image .image-wrapper { height: auto; }
	.timeline .item img { border-radius: 400px; -webkit-border-radius: 400px; }

	.container.page .credits-info { margin-top: 1em; width: 100%; }	

	.featured-carousel .carousel-caption { position: relative; background: rgba(0, 0, 0, 0.5); }
	.featured-carousel .carousel-inner img.icon.hide-caption { display: none; }

	.sidebar-nav.drawer { display: block; }
	#drawer-wrapper { position: fixed; }

	.whats-new .tab { font-size: 0.8em; width: 15%; border-width: 3px; margin-right: 1%; width: 16%; }
	.whats-new .img_desc_wrapper { max-height: none; }

	.whats-new .tabs-wrapper { padding-top: 1em; padding-bottom: 1em; }
	.whats-new .tabs-wrapper.more-button { padding-top: 0; }

	/* social icons */
	.social-icons { top: 30px; width: 9%; right: 0; font-size: 30px; }
	.social-icons.expanded { width: 35%; right: 0; }
	.social-icons a.social-icon { height: 1.5em; line-height: 1.5em; width: 1.5em; position: absolute; display: none; }
	.social-icons a.mobile-social-icon {
		display: block;
		background: url(../images/social-icon-share.png) no-repeat;
	  background-size: 100%;
	  height: 1.5em;
	  line-height: 1.5em;
	  width: 1.5em;
	  right: 0.7em;
	}
	.social-icons a.social-icon.expanded {
		position: relative;
		display: block;
	}
	.social-icons a.custom-icon { max-width: 1.5em; }
	.social-icons a.custom-icon img { height: 1.5em; }
	.social-icons .a2a_dd .a2a_svg,
	.social-icons .a2a_button_email .a2a_svg,
	.a2a_button_print .a2a_svg { height: 1.5em; line-height: 1.5em; width: 1.5em; }

	.nasa_science { right: 75px; line-height: 40px; }

  iframe {
      width: 100%;
  }

  .basics.front .delta_rocket,
  .basics.front .orbits_trajectories,
  .basics.front .pioneer { display: none; }

  .page.basic.basics.front .main-content-wrapper-inner { padding-top: 4em; }
  .basics.front .main-content .p1,
  .basics.front .main-content .p2,
  .basics.front .main-content .p3,
  .basics.front .main-content .p4,
  .basics.front .main-content .p5,
  .basics.front .main-content .p6,
  .basics.front .main-content .p7 { padding-top: 0; padding-left: 0; padding-right: 0; width: 100%; text-align: left; }

	.basics.front .main-content.p1 { padding-top: 2em; }

  .basics.front #pageContent p { margin: 0; }
  .basics.front .main-content p { padding-left: 0; padding-right: 0; }
}

@media screen and (max-device-width: 768px) and (-webkit-min-device-pixel-ratio: 2) , screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
	.footer nav { font-size: 35px; }

  iframe {
      width: 100%;
  }  
}

@media screen and (max-device-width: 667px), screen and (max-width: 667px) {
	.whats-new .tab { font-size: 29px; min-width: 60px; }

        iframe {
            width: 100%;
        }  
}

/*@media only screen and (max-width: 990px) {
	#profiles .slick-slider img { width: 175px; }
}*/

@media screen and (max-device-width: 414px), screen and (max-width: 414px) {
	body { font-size: 50px; }
	.cf-s12 { font-size: 38px; }
	.cf-s13 { font-size: 38px; }
	.cf-s14 { font-size: 38px; }
	.cf-s16 { font-size: 43px; }
	.cf-s17 { font-size: 45px; }
	.cf-s18 { font-size: 50px; }
	.cf-s20 { font-size: 55px; }
	.cf-s22 { font-size: 60px; }
	.cf-s26 { font-size: 80px; }
	.f32 { font-size: 80px!important; }
	.cfont13 { font-size: 50px; }
	#profiles .slick-slider img,
	.timeline .item img { max-width: none; width: 60%; }
	.credits-info .inner-wrapper { padding: 2em 0; }
	.more-button.more-stats { width: 350px; }

	/* people landing */
	#sseGallery.people .item .gal-name { font-size: 50px; }
	#sseGallery.people .item .title { font-size: 30px; } 	

	/* pull-quote */
	.pull-quote figcaption { width: 100%; }
	.pull-quote figure { display: none; }

	#sseGallery.people .item.col-sm-6 { width: 100%; }
	#sseGallery.people .item.col-sm-6 .img-window  { width: 100%!important; }

        iframe {
            width: 100%;
        }
}

/*@media (max-width: 500px) {
	#mobile_nav { display: block; }
}*/

/* columns of same height styles */
@media (min-width: 500px) {
	.container.table .table-row {
		/*display: table-row;*/
		overflow: hidden;
	}
	.container.table .table-col {
		margin-bottom: -99999px;
	  padding-bottom: 99999px;
		/*display:table-cell;
		float:none;
		vertical-align:top;*/
	}

        iframe {
            width: 100%;
        }
}

/*.phone-view .col-xs-12 { width: 100%; }
.phone-view .related-news .news-pubdate { position: relative; padding-top: 5%; }
.phone-view .related-news .item { margin-bottom: 10%; }
.phone-view .related-news .item.last { margin-bottom: 0; }

.phone-view .vital-stats-carousel .carousel-indicators {display: none;}
.phone-view #profiles .slick-slider img,
.phone-view .timeline .item img { max-width: none; }	
.phone-view .featured-image .image-wrapper { height: auto; }
.phone-view .timeline .item img { width: 80%; border-radius: 400px; -webkit-border-radius: 400px; }*/


/* end detail page styles */