/*
 * Theme Name:  Terra Responsive Child
 * Description: A responsive HTML5 theme for Wordpress.
 * Author:      Susannah Pearce
 * Template:    responsive
 * Version:     1.0.0
 * Tags:        Terra
 * Text Domain: TerraResponsiveChild
 */
html {
    margin: 0 !important;
    padding: 0;
    background: #000000; 
    min-width: 320px;
}
body {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif; 
    color:#666666; 
    font-size: 16px; 
    font-weight: 500;
    padding: 0; 
    margin: 0; 
    line-height: 125%;
    background-color: #000000;
 /* 
    background: url('img/terra-element-earth.jpg') no-repeat;
    background-size: 130%;
    background-position: top right; 
  */
    background-image: url(./img/bg_image.jpg);
    background-position: left top;
    background-size: auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.col-60, .col-140, .col-220, .col-300, 
.col-380, .col-460, .col-540, .col-620, 
.col-700, .col-780, .col-860 {
     display: inline;
     margin-left: 2.12766%;
     margin-right: 0 !important;
}
p, ul, h1, h2, h3 {
    margin: 0; 
    padding: 0 0 0.5em 0;
}
h2 {
    font-size: 1.8em;
}
ol {
    margin-left: 1em;   
}
ul {
    padding-left: 4em;
    margin: 1.5em 2em;
}
br {
    clear: both;
}
a img.aligncenter {
    display: inline-block;
}
#content ul li {
    margin-bottom: 0.5em;
}
.post-entry ul {
    padding-left: 1em;
}
#content-full {
    width: 66%;
    float: right;
}
img { 
    border:none;
    max-width: 100%;
    height: auto;
}
.wp-block-image img {
    max-width: inherit;
}
figure.wp-block-image {
    display: inline-block;
}
figcaption, .caption {
    font-size: 85%;
}
a {
    color: #0E0B89; 
    text-decoration:none;
}
a:hover {
    color:#4DBEF7;
}
#widgets h3 a:hover {
    color: #009fee;
}
#container {
    padding: 0.5rem 0;
}
.skip-container {
    padding: 0.25em 0.5em;
}
#terra-wrap {
    width: 100%;
/*
    background: url('img/splices/terra.png') no-repeat;
    background-position: top left;
*/
}
#wrapper {
    background: #F0F5F1;
    background: -webkit-linear-gradient(left, #F0F5F1, #F0F5F1 32%, #FFFFFF 32%); 
    background: -o-linear-gradient(right, #F0F5F1, #F0F5F1 32%, #FFFFFF 32%); 
    background: -moz-linear-gradient(right, #F0F5F1, #F0F5F1 32%, #FFFFFF 32%); 
    background-image: linear-gradient(to right, #F0F5F1, #F0F5F1 32%, #FFFFFF 32%);
    border-top:  0px;
    border-left: 0px;
}
#wrapper, .front-page #wrapper {
    margin:  0 0 !important;
    padding: 0 0 !important;
} 
#main-nav ul {
    background: #505050;
    background: -webkit-linear-gradient(#505050, #000000); 
    background: -o-linear-gradient(#505050, #000000); 
    background: -moz-linear-gradient(#505050, #000000); 
    background: linear-gradient(#505050, #000000); 
}
#main-nav ul {
    width: 100%;
    max-height: 2em;
    display: inline; 
    margin-bottom: 0;
    list-style: none;
    float: left; 
    -moz-border-bottom-right-radius: 6px;
    -khtml-border-bottom-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    border-bottom-right-radius: 6px;
    -moz-border-bottom-left-radius: 6px;
    -khtml-border-bottom-left-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    border-bottom-left-radius: 6px;
    height: 2em;
}
.menu .current_page_item a, .menu .current-menu-item a {
    background: transparent;
}
#topnav li {
    display: inline;
    color: #999999;
    padding: 0.5em 0em;
}
#main-nav ul li {
    border: none;
}
#main-nav ul li a {
    text-align:center;
}
#main-nav ul li {
    padding: 0 0;
    width: 12.5%;
    text-align: center;
    -moz-border-radius: 6px;
    -khtml-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    height: 2em;
}
#main-nav ul li a {
    font-weight: 400;
    line-height: 1.5em;
    width: 100%;
    -moz-border-radius: 6px;
    -khtml-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    max-height: 1.8em;
}
#main-nav ul li a:first-child {
    margin-left: 0;
    border-top-left-radius: 0;
    border-left: 1px solid #555555;
}
#main-nav ul li ul li a {
    color: #000000; 
    font-weight:500; 
    line-height: 125%; 
    font-size: inherit;
    position: relative;
    margin: 0 auto;
}
#main-nav ul li a:hover, #main-nav ul li:hover > a {
    color: #666666; 
    background: #242424;
    background: -webkit-linear-gradient(#404040, #000000); 
    background: -o-linear-gradient(#404040, #000000); 
    background: -moz-linear-gradient(#404040, #000000); 
    background: linear-gradient(#404040, #000000); 
}
#main-nav ul li ul li {
    color: #949494
}
#header {
    background: #000000;
    -moz-border-radius: 1em 1em 0 0;
    -khtml-border-radius: 1em 1em 0 0;
    -webkit-border-radius: 1em 1em 0 0;
    border-radius: 1em 1em 0 0;
    min-height: 100px;
    border: 1px solid #505050;
}
.in-block {
    display: inline-block;
    clear: both;
}
.in-block span {
    display: block;
    padding-left: 1.5em;
    color: #AECED9;
}
.slogan {
    text-align: center;
    line-height: 1em;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0.5em;
    color: #B2B2B2;
}
#header a {
    display: inline-block;
}
#nasa {
    float: left;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1rem 1rem; 
    max-width: 6em;
}
#nasa img {
    padding: 0 0;
    width: 100%;
    max-width: 100%;
    min-width: 90px;
    height: auto;
}
#terra img {
    padding: 1em 0 0 0;
}
#header #topLinks {
    float: right;
    color:#eee;
    font-size: 80%;
    padding: 1em 1em;
}
#topLinks a {color:#009fee;}
#topLinks a:hover {color:#b9e7fe;}

#logo {
    display: inline-block;
    margin-top: 1em;
}
.menu {
    position: static;
}
.menu a {
    font-size: inherit;
    margin: 0 0;
    padding: 0 0;
}
.menu:after, .menu ul:after {
    display: none;
}
#data {
    background: #000000;
    font-size: 90%;
    -moz-border-radius: 1em 1em 0 0;
    -khtml-border-radius: 1em 1em 0 0;
    -webkit-border-radius: 1em 1em 0 0;
    border-radius: 1em 1em 0 0;
    border: 1px solid #505050;
    border-bottom: 4px solid #000000;
    min-height: 95px;
    padding: 0.5em 0.5em 0.5em 1.5em;
    color: #A3A3A3;
    clear: both;
    position: relative;
}
@media all and min-width: 769px) {
  #data {
    top: 1em;
    margin-bottom: 0.5em;
  }
}
#data p {
    line-height: 1em;
    font-size: 14px;
}
.instrument a {
    display:block;
    float:left; 
    color: #000000; 
    font-size: 1em; 
    font-weight: bold;
    margin: 0 0;
}
#data a.terra {
    color: #999999;
}
#data a:hover span {
    background:none; 
    color:#fff;
}
#data span a {
    width: 100%;
    height: 100%;
    margin: 0 0;
    padding: 0 0;
}
@media all and (min-width: 1069px) {
  #data a span {
    display:block;
    padding: 5em 1em 1em 1em;
    background: -webkit-linear-gradient(rgba(166,166,166,0.6), rgba(36,36,36,0.6)); 
    background: -o-linear-gradient(rgba(#166,166,166,0.6), rgba(36,36,36,0.6)); 
    background: -moz-linear-gradient(rgba(166,166,166,0.6), rgba(36,3.63,36,0.6)); 
    background: linear-gradient(rgba(166,166,166,0.6), rgba(36,36,36,0.6)); 
  }
}
#data a.terra span {
    padding-left: 0.5em;
}
#data #data-header {
    position: absolute; 
    width: 200px;
    margin-top: -20px; 
    padding-left: 8px; 
    text-transform: uppercase; 
    font-weight: bold; 
    font-size: 0.8em;
}
.instruments {
    display: inline-block;
    width: 100%;
    min-width: 790px;
    margin: 0 0;
}
.instrument, .widget_sp_image img {
    width: 150px;
    height: 100px;
}
.widget_sp_image img {
    position: relative;
    top: 1rem;
}
div.widget_sp_image {
    display: inline-block;
    text-align: center;
    width: 19.75%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.widget_sp_image img {
    padding-left: 0.5em;
}
#home_widget_3 div:first-child div {
    margin-bottom: 1em;
}
.widget_sp_image-description {
    margin-top: 20px;
    /*display: inline-block;
    margin-top: 3em;
    text-align: center;
*/
}
.instrument {
    display: inline-block;
}
.instrument a:hover span {
    text-shadow: 4px 4px 2px #000000;
}
.terra {
    background: 
    url('https://terra.gsfc.nasa.gov/wp-content/themes/TerraResponsiveChild/img/Terra_0.png') no-repeat 100% 100%;
    max-height: 100px;
}
.aster, .ceres, .misr, .modis, .mopitt {
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
#tagMenu a.aster, #tagMenu a.ceres,
#tagMenu a.misr, #tagMenu a.modis, #tagMenu a.mopitt {
    background-image: none;
    background: transparent;
}
#main {
    background: #FFFFFF;
    clear:both;
    margin-top: 2em;
}
#sidebar {
    float: left;
    width: 25%;
    max-width: 280px;
    min-width:120px;
    min-height:320px;
    background: #F0F5F1;
    clear:both;
}
#sidebar div {
    clear: both;
    padding: 1em;
}
#widgets {
    background: #F0F5F1;
    margin-bottom: 0px !important;
}
#widgets div:not('#featured_category_widget-4') {
    background: #F0F5F1;
    padding-bottom: 1em !important;
}
.widget-wrapper {
    background: #F0F5F1;
}
.rss-widget-icon {
    display: none;
}
.widget_rss_multi_importer_widget, 
.widget_featured_category_widget {
    border-top: none;
    border-left: none;
}
.rssmi_title_class {
    padding-top: 0.25em !important;
}
#widgets div > div:first-child:not(.news) {
    padding: 0 0 !important;
}
#widgets div div:first-child h3 {
    padding: 1em 1em;
}
#featured_category_widget-2, 
#featured_category_widget-6 {
    margin: 0 1.5em;
}
#featured_category_widget-2 div:first-child, 
#featured_category_widget-6 div:first-child {
    margin: 0 -1.5em 0 -1em;
}
#widgets a {
    display: inline !important;
}
.widget-wrapper {
    border: 0 !important;
    border-radius: 0;
}
.widget-title-home {
    border-right: 2px solid #555555;
}
#sidebar h2, #widgets h3 {
    background: #555555;
    background: -webkit-linear-gradient(#555555, #000000); 
    background: -o-linear-gradient(#555555, #000000); 
    background: -moz-linear-gradient(#555555, #000000); 
    background: linear-gradient(#555555, #000000); 
    font-size:1em; 
    font-weight:500; 
    line-height:20px; 
    height: auto; 
    padding:13px 20px 15px; 
    color:#fff;
}
#sidebar h2 a, #customSide h3 a {
    color: #fff !important;
}
#sidebar h2 a:hover {
    color: #4DBEF7;
}
img.size-full {
    max-width: 95%;
    height: auto;
}
.front-page #content {
    background: #FFFFFF;
}
#content, #content-archive {
    margin-top: 0.75em;
    line-height: 125%;
    min-height: 480px;
}
#content.front {
    margin: 0 0;
}
#content img, .primary-content img {
    max-width: 97.5%;
    width: auto;
    height: auto;
}
#content h1 {
    color: #000000; 
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.1em;
}
#content h2 {
    color: #000000; 
    font-size: 1.4em; 
    font-weight: 700; 
    line-height: 1.1em;
}
#content h3, #content h3 a {
    color: #525252; 
    font-size: 1.2em; 
    font-weight: 600; 
    padding-bottom: 2px;
}
#featured {
    float: right;
    display: inline-block;
}
#featured .featured-title {
    display: none;
}
#featured h1, #featured h2, #featured h3 {
    padding: 0.5em 0 0.5em 0.5em;
    text-align: left;
}
#featured-image h2 {
    padding-bottom: 0.1em;
    clear:both;
}
#featured p {
    text-align: left;
    padding: 0.5em 1em;
    font-size: 16px;
    line-height: 125%;
}
#featured-content {
    background: #FFFFFF;
    padding-right: 1em;
    border-top: 15px solid black;
}
#featured-content ul {
    margin-left: 0;
}
#featured-content .featured-title {
    display: none;
}
#featured-content h2 {
    text-align: left;
    margin-top: 1em;
}
.featured-subtitle {
    background-image: url('terra.gif') no-repeat top left;
    padding-left: 0;
}
#footer {
    background: -webkit-linear-gradient(#333333, #000000); 
    background: -o-linear-gradient(#333333, #000000); 
    background: -moz-linear-gradient(#333333, #000000); 
    background: linear-gradient(#333333, #000000); 
    border-top: 1px solid #333333;
    color:#657d88; 
    min-height: 120px; 
    position:relative; 
    font-size: 80%;
    clear:both;
    margin: 0 0 20px 0;
    padding: 1em 2em;
    width: 100%;
    max-width: 150%;
    min-height: 100px;
}
#footer span span span {
    color:#fff;
}
#footer a {
    color:#999;
}
#footer a:hover {
    color:#fff;
}
#footer div:first-child {
    background: url('img/nasa-footer-logo-trans.png') no-repeat center top;
    margin: 1.5em auto 0.5em auto;
    min-height: 100px;
}
#left-foot {
    float: left;
    display: inline-block;
    clear: both;
}
#right-foot {
    float: right;
    display: inline-block;
}
#center-foot{
    display: block;
    text-align: center;
    padding-bottom: 1.5em;
}
/* Sidebars and Menus */
.menu-item {
    display: inline;
}
#customSide, #archiveSide a {
    color: #474747;
    padding: 0 0 20px 0;
}
.customSide .current_page_item a {
   color: green !important;
}
.customSide ul li, #archiveSide li, .customized li {
    padding: 0.25em 0;
}
#archiveSide {
    max-height: 340px;
    overflow:scroll;
}
#archiveSide li, .customized li {
    list-style-type: none; 
    background: -webkit-linear-gradient(#F4F4F4, #FFFFFF, #EEEEEE); 
    background: -o-linear-gradient(#F4F4F4, #FFFFFF, #EEEEEE); 
    background: -moz-linear-gradient(#F4F4F4, #FFFFFF, #EEEEEE); 
    background: linear-gradient(#F4F4F4, #F0F5F1, #EEEEEE);
}
#archiveSide li:hover, .customized li:hover {
    background: white;
}
.post-entry p, .post-entry div {
    padding-bottom: 1em;
    margin: 0 0 !important;
}
.widget_featured_category_widget h4 { 
    font-size: 14px;
    margin-bottom: 0;
    display: inline-block;
    margin-left: 0;
}
#featured_category_widget-6 h4 {
    margin-top: 3em;
}
#featured_category_widget-6 div:first-child {
    margin-bottom: 1.5em;
}
.widget_featured_category_widget h4 a {
    width: 100%;
}
.widget_featured_category_widget p { 
    font-size: 12px;
    font-weight: bold;
    padding-left: 0 !important;
}
.widget_fetaured_category_widget img {
    width: 50px;
}
#featured_category_widget-4 h4 {
    float: right;
    width: 50%;
    display: inline;
}
#featured_category_widget-4:first-child h4 {
    margin-top: 4em;
}
#featured_category_widget-4 h4:nth-child(2) {
    margin-top: 4em;
}
#content-archive {
    margin-top: 0em;
}
#content-archive  h2 {
    padding-top: 0.25em;
}
.post-entry p {
    margin-left: 1em;
    max-width: 95%;
}
.customized {
    margin: 0.5em 0.25em;
    padding: 0 0;
    list-style: none;
}
.customized a {
    color: #525252;
}
.customized a:hover {
    color: #78785B;
}
.customized ul {
    margin: 0.5em 0.25em;
    padding-left: 1em;
    list-style: none;
}
.customized li {
    line-height: 150%;
}
.customized .children li a {
    padding: 0.25em 0.5em;
}
/* Widgets */
#widgets {
    border: none;
    display: inline-block;
    margin-top: 0;
}
.widget-wrapper ul {
    color:  #474747;
}
.widget-wrapper ul li {
    list-style: none;
    padding: 0.25em 1em;
    border-bottom: 1px solid #DCDCDC;
    background: -webkit-linear-gradient(#F4F4F4, #FFFFFF, #EEEEEE); 
    background: -o-linear-gradient(#F4F4F4, #FFFFFF, #EEEEEE); 
    background: -moz-linear-gradient(#F4F4F4, #FFFFFF, #EEEEEE); 
    background: linear-gradient(#F4F4F4, #F0F5F1, #EEEEEE);
}
.widget-wrapper ul li:hover {
    background: -webkit-linear-gradient(#EEEEEE, #F4F4F4, #E6E6E6); 
    background: -o-linear-gradient(#EEEEEE, #F4F4F4, #E6E6E6); 
    background: -moz-linear-gradient(#EEEEEE, #F4F4F4, #E6E6E6); 
    background: linear-gradient(#EEEEEE, #F4F4F4, #E6E6E6); 
}
.widget-wrapper h3 a, .widget-wrapper h3 a:visited {
    color: #FFFFFF;
} 
.widget_featured_category_widget h3 {
    margin-left: -0.5em !important;
}
.widget_featured_category_widget img {
    width: 140px;
    max-height: 110px;
}
.widget_featured_category_widget .size-full {
    display: none;
}
.widget_featured_category_widget h3:not(:first-child), 
.widget_featured_category_widget h3 a:not(:first-child) {
    display: inline;
    background: transparent !important;
    color: black;
}
.widget_featured_category_widget p,
#featured_category_widget-2 p, 
#featured_category_widget-6 p { 
    padding-left: 0 !important;
}
#featured_category_widget-2 hr,
#featured_category_widget-4 hr {
    margin: 1em 0 0 0!important;
    padding:  0 0 !important;
}
.widget_featured_category_widget img {
    margin-top: 1em;
    margin-left: 0;
}
#featured_category_widget-2 img {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}
#featured_category_widget-6 img {
    margin-left: 1.5em;
    margin-top: 0;
    margin-bottom: 0;
}
#featured_category_widget-2 :not(h4) :not(div) :not(img),
#featured_category_widget-6 :not(h4) :not(div) :not(img) {
    margin-left: 0.5em;
}
/* Home Page Widgets/Sidebar */
#sideWidgets {
    overflow: hidden;
}
.widget_rss_multi_importer_widget {
    margin-top: 0;
}
.widget_rss_multi_importer_widget img {
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    width: 140px;
    display: inline-block;
    padding-left: 0.25em;
}
.widget_rss_multi_importer_widget .imagefix {
    margin-right: 0.5em;
}
div.widget_sp_image img,
.widget_sp_image-image-link img {
    width: 140px;
}
.widget_rss_multi_importer_widget #widget_sp_image-2 {
    margin-top: 1em;
}
#featured_category_widget-2, 
.widget_rss_multi_importer_widget {
    padding: 0 1em !important; 
    background: #F0F5F1;
}
div.terra-features div.widget-title,
.widget_rss_multi_importer_widget .widget-title,
#widget-title-three.widget-title-home {
    margin: 0 -20px;
}
#widget-title-one.widget-title-home img {
    margin-left: 0.5em;
}
#home_widget_1 div ul, 
#featured_category_widget-2 div ul,
.widget_featured_category_widget, 
.widget_rss_multi_importer_widget {
    font-size: 14px;
}
#home_widget_2 div ul a, 
#featured_category_widget-2 div ul a,
.widget_featured_category_widget a, 
.widget_rss_multi_importer_widget a {
    font-weight: bold;
}
/*
#home_widget_1, #home_widget_2, #home_widget_3 {
    margin-left: 0 !important;
    margin-bottom: 1em;
}
*/
#newsticker {
    background: transparent !important;
}
.widget-title-home {
    padding: 0 0;
}
#home_widget_1 .widget-wrapper {
    padding: 0 0 !important;
    margin: 0 0 !important;
}
.widget_rss_multi_importer_widget .news:not(:last-child) {
    border-bottom: 1px solid #DDDDDD;
}
.news-contents .news {
    margin-top: 1em;
    padding-bottom: 1em !important;
}
.news, .widget-rss-output, .widget-rss-output a {
    word-wrap: break-word;
}
div.news a {
    padding-bottom: 1em;
 }
.news-contents .news .imagefix {
    padding: 0 0.5em 1em 0;
    margin-top: 0.5em;
    display: absolute !important;
}
.news-contents .news {
    margin-left: 0 !important;
}
#featured-image {
    max-width: 99%;
    margin-top: 0;
    background: #FFFFFF;
    margin: 0;
}
#featured-image h2 img {
   border-top: 6px solid #6E0000;
   border-radius: 0.25em;
}
#featured-image img.no-border {
    border: none !important;
}
#front-page-content {
    display: inline-block;
    max-width: 95%;
    margin-left: 2%;
    margin-right: 0;
    clear:both;
}
#featuredImage {
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}
.showLess {
    max-height: 250px !important;
}
.toggleView {
    display: none;
    overflow: hidden;
}
/* News Section */
.post {
    border-bottom: 2px solid #DCDCDC;
}
.post h2 {
    padding-top: 1em;
}
/* Custom Gallery */
#threeByGallery {
    display: block;
    max-width: 95%;
} 
.gallRow {
    clear: both;
    font-size: 1em;
}
.gallRow img {
    width: 100% !important;
    max-width: 150px !important;
}

.gallRow div, .gallRow div div, .gallRow div div div {
    max-width: 150px !important;
    float: left !important;
    display: inline-block !important;
}
.photonic-picasa-stream ul {
    margin: 0 0;
    padding-left: 0;
}
ul.sub-menu, ul.sub-menu li {
    display: none !important;
}
ul .menu-item-has-children:after,
ul.sub-menu:after {
    display: none !important;
}
.photonic-picasa-image, .photonic-picasa-photo {
    width: 27%;
}
.photonic-picasa-image {
    float: left;
}
@media all and (min-width: 768) {
    .gallery .gallery-item {
        max-width: 30%;
    }
    .gallery .gallery-icon {
        min-height: 130px;
        background: #F0F0F0;
    }
}
.wp-caption {
    padding-right: 2em !important;
    background-color: transparent;
    border: none !important;
}
/* Features */
.rssmi_wrap .rss-output {
    clear: both;
}
/*Overrides for Individual Pages without Parents */
.page-id-69498 #widgets #rss_multi_importer_widget-4,
.page-id-1267 #widgets #rss_multi_importer_widget-4,
.page-id-2033 #widgets #rss_multi_importer_widget-4,
.page-id-1225 #widgets #rss_multi_importer_widget-4 {
    position: relative;
    top: -20px;
    left: 3px;
}
.page-id-69498 #widgets #rss_multi_importer_widget-4 h3,
.page-id-1267 #widgets #rss_multi_importer_widget-4 h3,
.page-id-2033 #widgets #rss_multi_importer_widget-4 h3,
.page-id-1225 #widgets #rss_multi_importer_widget-4 h3 {
    position: relative;
    right: 1px;
}
.title-archive {
    display: none;
}
#content-archive .taxonomy-description p {
    margin-top: 0.75em;
    font-size: 1.5em;
    color: black;
}
.flag {
    height: 100px !important; 
    max-width: 180px !important; 
    border: 1px solid silver;
    margin: 1em 0.5em;
}

/* Landscape Tablets */
@media all and (min-width: 768px) and (max-width: 1024px) {
    body, #terra-wrap {
        width: 100%;
        max-width: 1024px;
        background-image: none;
    }
    img.alignleft {
        clear: both !important;
    }
    img.aligncenter {
        position: relative;
        margin: 0 auto;
    }
    #container { 
        padding: 0 0 0 0;
        overflow: hidden;
    }
    .skip-container {
        display: none;
    }
    #wrapper {
        background-image: none;
        background: #FFFFFF;
        position: relative;
        top: 0.5em;
        width: 100%;
        clear: both;
    }
    .front-page #wrapper {
        background: white;
    }
    #content {
        width: 100%;
        overflow: hidden;
    }
    #content.col-620 h1 {
        padding-top: 1em;
    }
    #widgets {
/*        display: none;
*/
    }
    #content .page {
        padding: 0 1.5em;
    }
    #header {
        border-radius: 0 0;
        width: 100%;
    }
    #data {
        width: 100%;
        position: relative;
        padding: 0 0;
        border-width: 2px;
    }
    #data a span {
        background: transparent;
        padding-top: 4em;
    }
    .instrument {
        clear: both;
        width: 15%;
        height: 83px;
        padding: 0.75em 0 0.5em 0.25em;
    }
    .instruments {
        margin: 0 0;
    }
    .instruments:first-child {
        margin-left: 1em;
        font-size: 0.9em;
    }
    #wrapper {
        padding-bottom: 140px;
    }
    #content {
        width: 100%;
        margin: 0 0;
        padding-right: 0;
    }
    #featured-image, #featured-content {
        width: 90%;
        padding: 1em 0 0 0 !important;
        margin-top: 0;
        background: #FFFFFF;
        margin: 0;
    }
    #featured-image p, #featured-image h1, #featured-image h2, #featured-image h3,
    #featured-content p, #featured-content h1, #featured-content h2, #featured-content h3 {
        padding: 1em 0 1em 2em;
    }
    a img.alignnone {
        max-width: 95%;
    }
    #footer {
        background: url('img/nasa-footer-logo-trans.png') no-repeat left top;
        padding: 0 0;
        margin: 0 0;
        width: 100%;
    }
    #footer div {
        background-position: left top;
    }
    #footer div:first-child {
        background: transparent;
        min-height: 33px;
    }
    #left-foot, #right-foot {
        display: block;
        text-align: center;
        float: none;
    }
    #center-foot {
        position: relative;
        top: 1em;
    }
    #main-nav ul {
        width: 100%;
    }
    #main-nav ul li {
        display: inline;
        max-height: 80px;
    }
    #main-nav ul li a {
        margin-top: 6px;
    }
    #main-nav ul ul {
        display: none;
    }
    #home_widget_1,
    #widgets {
        display: block;
        width: 100%;
        border: none;
        background: transparent;
        background-color: transparent;
    }
    .abs {
        position: absolute !important;
    }
    #featured_category_widget-2 {
        display: none;
    }
    #content-archive {
        margin: 4em 1em 0 1em;
        display: inline-block;
        width: 98%;
    }
    #archiveSide ul, #news-topics ul {
        display: none;
        padding: 0 1em !important;
        margin: 0 0 !important;
    }
    #archiveSide ul li, #archiveSide ul li a {
        background: transparent;
        color: white;
        border: none;
    }
    #archiveSide, #news-topics span {
        width: 33%;
        float: left;
        display: inline-block;
        border-left: 1px solid silver;
        overflow: visible;
    }
    .newsMenu {
        display: absolute;
        z-index: 100;
        background: #333333 !important;
        max-height: 400px;
        overflow: scroll;
    }
    .newsMenu li {
        display: block;
        width: 100%;
    }
    .newsMenu li:hover {
        background: #555555 !important;
    }
    #archiveSide h3:before, #news-topics h3:before {
        content: url('img/menu.png');
        padding-right: 1em;
    }

    .trans {
        background: transparent !important;
    }
    .front-page #widgets {
        margin-top: 0;
    }
    #featured-image, #featured-content {
        width: 98%;
        max-width: 100%;
        padding: 0 1.5em;
    }
    #featured-image img {
        width: 95%;
    }
    /*
    #home_widget_1, #home_widget_2, #home_widget_3 {
        width: 33%;
        float: left;
        overflow: hidden;
    }
    */
    #widgets h1, #widgets h2, #widgets h3{
        width: 100% !important;
    }
    #customSide ul {
        list-style-type: none;
        display: inline-block;
        background: transparent;
        overflow: hidden;
    }
    #customSide h3 {
        display: none;
    }
    #rss_multi_importer_widget-3,
    #rss_multi_importer_widget-4, #rss_multi_importer_widget-6 {
        display: none;
    }
    #customSide {
        background: #555555;
        background: -webkit-linear-gradient(#555555, #000000); 
        background: -o-linear-gradient(#555555, #000000); 
        background: -moz-linear-gradient(#555555, #000000); 
        background: linear-gradient(#555555, #000000); 
        font-size:1em; 
        font-weight:900; 
        line-height:20px; 
        min-height:20px; 
        color:#fff;
        padding: 0 0;
    }
    #widgets{
        background: -webkit-linear-gradient(#777777, #333333); 
        background: -o-linear-gradient(#777777, #333333); 
        background: -moz-linear-gradient(#777777, #333333); 
        background: linear-gradient(#777777, #333333); 
    }
    #widgets ul .children {
        display: none;
    }
    #widgets h3 {
        padding-left: 0;
        padding-right: 0;
    }
    .customized {
        background: transparent;
        margin: 0 0;
        position: relative;
        width: 100%;
    }
    .customized li, #archiveSide li {
        display: inline-block; 
        padding: 0 1em;
        font-size: 0.9em;
        border-right: 1px solid #666666 !important;
        border-bottom: 1px solid #666666 !important;
        min-width: 18%;
        padding: 10px 0;
        text-align: center;
    }
    #archiveSide h3, #news-topics h3 {
        text-align: center;
    }
    #customSide a {
        padding: 0 0.25em;
        font-size: 16px;
    }
    .customized li:hover {
        background: transparent;
        background: -webkit-linear-gradient(#777777, #333333); 
        background: -o-linear-gradient(#777777, #333333); 
        background: -moz-linear-gradient(#777777, #333333); 
        background: linear-gradient(#777777, #333333); 
        color: white;
    }
    .customized li a, #sidebar h2, #widgets h3 {
        color: #DCDCDC;
    }
    .customized li {
        background: transparent;
        color: white;
    }
    input[type='select'] .responsiveMenuSelect {
        -moz-box-shadow:    3px 3px 2px 3px #E6E6E6;
        -webkit-box-shadow: 3px 3px 2px 3px #E6E6E6;
        box-shadow:         3px 3px 2px 3px #E6E6E6;
    }
    .photonic-picasa-image {
        float: left;
    }
    .gallery {
        position: relative;
        margin: 0 auto;
        left: 3%;
    }
    .gallery .gallery-item {
        margin-right: 0.5em;
        width: 30%;
    }
    .gallery .gallery-icon {
        min-height: 130px;
        background: transparent;
    }
    .youlist {
        position: relative;
        left: 12.5%;
    }
    a:first-child img.flag {
        margin-left: 15%;
    }
}
@media all and (max-width: 1024px) {
    iframe {
        max-width: 100% !important;
        height: auto !important;
        min-height: 280px;
    }
    p.video {
        position: relative;
        margin: 0 auto;
        text-align: center;
    }
    .post {
        padding: 1em 1em;
    }
}
/* Portrait Tablets */
@media all and (max-width: 767px) {
    #container {
        width: 100%;
        padding: 0 0;
        margin: 0 0;
        overflow: hidden;
    }
    #wrapper {
        background: white;
        top: 0;
    }
    #customSide, .customized {
        display: none;
    }
    #header {
        border: none;
    }
    #terra-wrap {
        background-image: none;
        background: #000000;
    }
    #nasa img, #logo {
        display: inline-block;
/*        width: 90%; 
*/    }    
    #nasa img {
        min-width: 70px;
        width: 70px;
    }
    #logo {
        padding-right: 0 !important;
        position: relative;
        right: 1rem;
    }
    div.breadcrumb-list {
        display: none;
        border: none;
    }
    #content {
/*        border-top: 2px solid #000000;
*/    }
    #content div {
/*        padding-top: 1em;
*/    }
    .wp-caption {
        padding-right: 1em !important;
    }
    select.responsiveMenuSelect {
        margin-top: 0;
    }
    #main-nav ul {
        width: 100%;
        max-height: 2em;
        display: inline; 
        border: 0 0 0 0 !important;
        height: auto;
    }
    #topLinks {
        display: none;
    }
    #data {
        display: none;
    }
    .instruments {
        margin: 0 0;
    }
    #content {
        width: 95%;
        min-width: 460px;
    }
    #content .page {
        padding: 0 1em;
    }
    .post-entry {
        margin: 0 0;
        padding: 0 0;
    }
    #footer {
        background-image: none;
    }
    #footer div:first-child {
        margin: 1em 0 0 0;
    }
    #footer div:first-child {
        background: transparent;
        min-height: 4px;
        padding-bottom: 14px;
    }
    #footer .lg-only {
        display: none;
    }
    #widgets {
        margin-bottom: 0;
        border: none;
        overflow: hidden;
        position: absolute;
        bottom: 4em;
    }
    #home_widget_1, #home_widget_2, #home_widget_3, 
    #featured_category_widget-2 {
        display: none;
    }
    #content-archive,  #content-archive h6,
    #content-archive div, #content-archive img {
        margin: 0 1em;
    }
    #footer div {
        background-image: none;
    }
    #center-foot a {
        display: block;
        text-align: center;
    }
    #main-nav ul li a {
        background: transparent;
        color: #DCDCDC;
        font-size: 1em;
        text-align: center !important;
    }
    #featured-image, #featured-content {
        width: 100%;
        max-width: 100%;
        padding: 0 0.25em;
    }
    #widgets {
/*      display: none;
*/    }
    /*
    #archiveSide li {
        width: 35%;
        margin-left: 1em;
    }*/
    .photonic-picasa-image {
        width: 40%;
    }
    .responsiveMenuSelect {
        background-color: #333333 !important;
        color: white;
        margin-top: 1em;
    }
    .responsiveMenuSelect option {
        min-height: 2em;
        border-bottom: 1px solid gray;
        line-height: 150%;
        padding-top: 6px;
        padding-left: 3em;
    }
    body.home #content {
        position: relative;
        top: -1.25em;
    }
    #left-foot {
        float: none;
        display: block;
        clear: both;
        text-align: center;
    }
    #right-foot {
        float: none;
        display: block;
        text-align: center;
    }
    .gallery {
        position: relative;
        left: 4%;
        padding-top: 0 !important;
    }
    .gallery .gallery-item {
        margin-right: 0.5em;
        width: 30%;
    }
    .gallery .gallery-icon {
        min-height: 130px;
        background: transparent;
    }
    .post-entry {
        max-width: 100%;
    }
    .youlist {
        max-width: 480px !important;
        max-height: 320px !important;
        width: 95% !important;
        margin-left: 8%;
    }
    a:first-child img.flag {
        margin-left: 0%;
    }
    .flag {
        max-width: 28% !important; 
        max-height: 80px;
    }
}
/* Target IE */
@media all and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .slogan {
        position: relative;
        float: left;
        right: -1em;
    }
    .in-block {
       max-width: 280px; 
    }
}
@media all and (max-width: 480px) {
    ul {
        padding-left: 0; 
        margin: 1em 1em;
    }
    #wrapper {
        background-image: none;
    }
    .in-block {
        max-width: 300px;
        clear: none;
        float: left;
        display: inline;
        position: absolute;
        margin-right: 1em;
    }    
    #nasa img, #logo {
        width: 80%; 
        margin-bottom: 1em; 
    }    
    #logo {
        min-width: 180px;
        margin-top: 0;
        padding-right: 1em;
        padding-top: 1.5em;
    }
    .slogan {
        display: none;
    }    
    .wp-caption {
        padding-right: 0 !important;
    }
    #left-foot > span {
        display: block;
        clear: both;
        text-align: center;
    }
    #right-foot > span {
        display: block;
        clear: both;
        text-align: center;
    }
    #center-foot {
        display: block;
        text-align: center;
        padding-bottom: 1.5em;
    }
    .gallery {
        position: relative;
        margin: 0 auto;
        left: 0;
    }
    .gallery .gallery-item {
        display: block;
        width: 100%;
    }
    .gallery-item img {
        width: 80% !important;
    }
    .youlist {
        max-width: 320px !important;
        max-height: 240px !important;
        width: 95% !important;
        margin-left: 5%;
    }
    .post-1840 {
        padding: 0 0.25em !important;
    }
    a:first-child img.flag {
        margin: 0 0;
    }
    .flag {
        max-width: 180px !important; 
        height: 100px !important;
        display: block;
        position: relative;
        margin: 1em auto !important;
    }
}
@media all and (max-width: 380px) {
    #content { 
        min-width: 280px;
    }
    .photonic-picasa-image {
        width: 100%;
    }
    #wrapper {
        background-image: none;
    }
    #content {
        width: 95%;
        min-width: 320px;
    }
    #logo img {
        position: relative;
        right: 1em;
    }
}
#content-archive .post {
    clear: both;
}
.photonic-picasa-stream li { 
    margin-right: 1em; 
}

#newsticker .news-contents .news {
    float: left;
    width: 280px;
    margin: 5px;
    border-bottom: none;
    padding: 5px;
}

#newsticker .news-contents .news .rssmi_title_class {
    clear: both;
}

#newsticker .news-contents img {
    width: 280px;
}

#featured_category_widget-2 {
    margin: 5px;
    padding: 0px !important;
}

#text-3 {
    margin-left: -16px;
    margin-right: -16px;
}

#text-3 #widget-title-one {
    margin: 0px;
}

#text-3 .textwidget {
    padding: 25px;
}

.pt-cv-readmore {
    padding: 5px !important;
}

#homepage_contents {
    max-width: 100%;
}
#homepage_contents figure {
    max-width: 100%;
}
.homepage_science_visualization {
    float: left;
}
#homepage_carousel, .slick_images {
    max-width: 100%;
    height: 360px;
}
#homepage_carousel .slick-slide img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}
.slick_image_caption {
    font-size: 16px;
    background-color: rgba(0, 0, 0, .8);
    color: whitesmoke;
    font-weight: bold;
    font-family: "Geneva, Tahoma, sans-serif";
    text-align: center;
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}
.slick_image_caption h3 {
    color: #FFFFFF !important;
    font-size: 16px;
    padding: 16px auto !important;
}
#homepage_contents {
    padding: 5px 10px 5px 10px;
}

#homepage_contents h2 {
    text-align: left;
}

#homepage_contents h2.featured-subtitle {
    margin-bottom: 5px;
}

.home #wrapper {
    background-image: none;
    background-color: #FFFFFF;
}
/*
div.widget_sp_image,
#home_widget_1 .homepage_science_visualization .widget_sp_image-description {
    margin-top: 20px;
}
#home_widget_1 .widget-3 {
    margin: 0px 20px 0px 40px;
}
#home_widget_1 .widget-3 img.attachment-full {
    margin: 5px auto;
}
*/
#widgets .news-contents .imagefix {
    max-width: 90%;
    height: auto;
}
/**
 * Contact / Feedback Forms
 */
div.wpforms-container-full .wpforms-form .wpforms-one-half,
div.wpforms-container-full .wpforms-form input { 
    margin-right: 1.5em !important;
}
/* Parent Theme Fixes */
.responsiveMenuSelect {
    background-color: #333333 !important;
    color: white;
    margin-top: 1em;
    min-height: 30px;
}
.responsiveSelectFullMenu {
    display: none;
}
img.avatar-32 {
    width: 32px;
    height: 32px;
}
