/*** Generic styles ***/

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Trebuchet MS",Verdana,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
}

footer {
    background-color: #2c3e50;
    color: #fff;
}

h1, .h1 {
    font-size: 28px;
}

h2, .h2 {
    font-size: 22px;
    color: #8c8d8f;
}

h3, .h3 {
    font-size: 18px;
    margin-top: 36px;
}

h4, .h4 {
    font-size: 14px;
}

tr.fill, td.fill {
    background-color: #f1f1f1;
}

table tr:nth-child(2n+2).unfill, td.unfill {
    background-color: #fff;
}

dd {
    margin-bottom: 24px;
}

img {
    border: none;
}

hr {
    border-top-color: #999;
}

br {
    clear: both;
}

/*** Header ***/

.navbar-brand img {
    width: 47px;
    height: 40px;
    display: inline-block;
    margin-top: -7px;
    margin-right: 7px;
}

#alerts {
    position: relative;
    padding: 0px 18px 20px 18px;
    border-bottom: 1px dotted #333;
    overflow-y: hidden;
}

#alerts h3, #alerts .h3 {
    margin-top: 30px;
}

#alerts.collapse {
    max-height: 175px;
    display: block;
}

#alerts-archive-container {
    margin: 32px 0;
}

.alert h3 {
    margin-top: 8px;
}

#show-more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

#show-more a {
    color: DarkRed;
}

#show-more a:hover {
    text-decoration: none;
}

/*** Container styles ***/

.green footer a, 
.green footer a:hover {
    color: #66a5ad;
}

.blue footer a, 
.blue footer a:hover {
    color: #c8e3f4;
    font-weight: bold;
}

.background-layer {
    position: fixed; 
    top: 0px; 
    left: 0px; 
    z-index: 100; 
    width: 100%; 
    height: 100%; 
    /*opacity: 0.5;*/
}

.main-container {
    background-color: #ebebeb;
}

div.container, div.container-fluid {
    background: #fff;
    opacity: 0.95;
}

/*** Navigation ***/

.navbar {
    border-radius: 0;
    margin-bottom: 0;
}

.navbar-nav li li span:last-of-type, 
.navbar-nav li li i:last-of-type {
    padding-right: 8px;
}

.blue .navbar-inverse {
    background-color: #2c3e50;
}

.blue .navbar-inverse .navbar-brand,
.blue .navbar-inverse .navbar-nav > li > a {
    color: #eee;
}

.green .navbar-inverse .navbar-brand,
.green .navbar-inverse .navbar-nav > li > a {
    color: #abc0c3;
}

.navbar-nav > li > a > .glyphicon, .navbar-nav > li > a > .fa {
    display: block;
    font-size: 26px;
    margin-bottom: 2px;
}

.navbar-form .input-group > input {
    margin-top: 14px;
}

.navbar-form .input-group > .input-group-btn {
    padding-top: 14px;
}

.navbar-brand {
    font-size: 32px;
}

.navbar-right {
    text-align: center;
    margin-right: 0;
}

.navbar-static-top {
    margin-bottom: 0;
    margin-top: 30px;
}

.nav-widgets > div {
    margin: 20px 0;
    border: 1px solid #ccc;
    padding: 6px 12px;
    border-radius: 6px;
}

.nav-widgets li {
    margin-bottom: 12px;
}

.nav-widgets h4 {
    font-size: 16px;
    text-transform: uppercase;
}

.subnav {
    padding-left: 16px;
}

.breadcrumb {
    margin-bottom: 0;
}

/*** Environment Banner ***/

#environment-banner {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    padding-top: 2px;
    padding-bottom: 1px;
}

#environment-banner.local {
    background-color: orange;
    color: #333;
}

#environment-banner.staging {
    color: #eee;
    background-color: maroon;
}

#environment-banner p {
    margin-bottom: 0;
}

#environment-banner.find-data {
    position: absolute;
    z-index: 1000;
    width: 100%;
}

/*** Banner ***/

#banner {
    min-height: 220px;
    position: relative;
}

#banner > .caption {
    margin-top: 100px;
    padding-bottom: 8px;
}

.alerts-button-container a {
    margin-top: 0.67em;
    margin-bottom: 0.67em;
}

#banner h1 {
    margin: 0;
}

.image-of-day-reference {
    background-color: #eee;
    opacity: 0.80;
    font-size: 14px;
    padding: 5px;
}

.image-of-day-reference .glyphicon {
    background-color: rgb(51, 51, 51);
    color: #fff;
    padding: 5px;
}

#search-box {
    margin-top: 12px;
}

#search-box input {
    margin-right: 0;
}

#search-box .input-group-btn .btn {
    margin: 0.3em auto;
}

#product-group-tabs .nav-tabs {
    font-size: 22px;
    margin-top: 8px;
}

#product-group-icons .row {
    background-color: #ddd;
    margin-bottom: 18px;
}

#product-group-icons h2 {
    border-bottom: none;
    margin: 24px auto;
    color: slategray;
}

#product-group-icons h2:hover a {
    color: #2c3e50;
}

#product-group-icons a {
    color: slategray;
}

#product-group-icons h2 i {
    font-size: 90px;
}

#product-group-icons h2 span {
    font-size: 28px;
    display: block;
}

#breadcrumbs-container {
    background-color: #f1f1f1;
    padding-bottom: 4px;
}

.absolute-parent {
    position: relative;
}

.science-domain-highlights {
    margin-top: 12px;
}

.science-domain-highlights h1 {
    font-size: 3em;
    border-bottom: 1px dotted #2c3e50;
    width: 75%;
    margin: 0 auto 36px auto;
    padding-bottom: 16px;
}

.science-domain-highlights a, #product-group-tabs a {
    color: #323232
}

.science-domain-highlights .popover {
    width: 276px;
}

.science-domain-figure {
    width: 100%;
    margin: 12px auto 0 auto;
}

.science-domain-thumbnail {
    border-radius: 12px;
    background-size: cover;
    height: 275px;
}

.science-domain-caption {
    color: #666;
    text-align: center;
    font-size: 20px;
    min-height: 40px;
}

/*** LAADS Archive ***/

#laads-archive-container {
    padding-left: 120px;
    min-height: 500px;
}

#laads-archive-help {
    margin-bottom: 16px;
}

#laads-archive-multi-download-confirm-open {
    width: 165px;
}

#multi-download-modal-total-file-size, 
#multi-download-modal-num-files {
    font-weight: bold;
}

#laads-archive-download-instructions {
    display: none;
}

#laads-archive-list {
    width: 100%;
    font-family: Courier;
    font-size: 14px;
    border: none;
}

#laads-archive-header-name {
    width: 55%;
}

#laads-archive-header-details {
    display: none;
    width: 190px;
}

#laads-archive-header-last-modified {
    width: 310px;
}

#laads-archive-header-size {
    width: 180px;
    text-align: right;
    padding-right: 30px;
}

#laads-archive-list td {
    padding-top: 5px;
    padding-left: 5px;
	border:none;
}

#laads-archive-list tbody td {
    padding-top: 16px;
    font-size: 16px;
}

#laads-archive-list th {
    background:#C0C0C0;
    height: 30px;
	border:none;
    padding:5px;
}

#laads-archive-select-all {
    display: none;
    cursor: pointer;
    margin-right: 32px;
}

#laads-archive-list tbody tr.selected {
    background-color: #ADD8E6;
}

#laads-archive-list tbody tr.selected:hover {
    background-color:#9DC8D6;
}

#laads-archive-list tbody tr {
    user-select: none;
}

#laads-archive-list tbody tr:hover {
    background: #E0E0E0;
    cursor: pointer;
}

#laads-archive-list .right {
    text-align:right;
    padding-right:7px;
}

#laads-archive-details-column {
    display: none;
}

#laads-archive-wget-sample {
    margin-bottom: 22px;
    border-bottom: 1px dashed gray;
}

#multi-file-loading-confirm, 
#multi-file-download-confirm, 
#multi-file-log-in-confirm,
#multi-file-error-confirm {
    display: none;
}

#multi-file-log-in-confirm h2 {
    border-bottom: none;
    padding: 0 12px;
    margin: 0;
}

#multi-file-log-in-confirm h2 a {
    color: inherit;
}

#multi-download-modal-list-of-files {
    max-height: 325px;
}

.glyphicon-folder-close, .glyphicon-folder-open {
    float: left;
    margin-right: 9px;
}

.science-product-fragment {
    display: block;
    float: left;
}

.science-product-fragment:nth-of-type(2) {
    width: 61px;
}

.science-product-fragment:nth-of-type(2n + 1) {
    width: 20px;
}

.science-product-fragment:nth-of-type(4) {
    width: 58px;
}

.science-product-fragment:nth-of-type(6) {
    width: 48px;
}

.science-product-fragment:last-of-type {
    max-width: 499px;
}

.change-me {
    font-weight: bold;
    color: maroon;
}

.icon-refresh-animate {
    animation-name: rotateThis;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.navbar-nav li li span.no-side-padding {
    padding-left: 0px;
    padding-right: 0px;
}

@keyframes rotateThis {
    from { transform: scale( 1 ) rotate( 0deg );   }
    to   { transform: scale( 1 ) rotate( 360deg ); }
}

/*** Content pages ***/

h3 a[aria-expanded] {
    padding-right: 25px;
    color: #333;
    background: transparent url('/images/icons/rsaquo_gray.gif') no-repeat center right;
}

h3 a[aria-expanded="true"] {
    background-image: url('/images/icons/expanded_b.gif');
}

h3 a[aria-expanded="false"] {
    background-image: url('/images/icons/collapsed_b.gif');
}

a .glyphicon-new-window {
    font-size: 11px;
}

a:link.btn-default, a:visited.btn-default {
    color: #333;
}

a:link.btn-primary, a:visited.btn-primary {
    color: #fff;
}

a:link.btn-warning, a:visited.btn-warning {
    color: #fff;
}

a:link.btn-danger, a:visited.btn-danger {
    color: #fff;
}

.last-modified {
    font-style: italic;
    font-size: 12px;
    margin-top: 32px;
}

.related-sites li {
    margin-bottom: 18px;
}

.linklist li {
    margin-bottom: 12px;
}

pre.wrap, pre.bash, pre.perl, pre.python {
    white-space: pre-wrap;
}

.rounded-text {
    display: inline-block;
    background-color: black;
    color: white;
    border-radius: 12px;
    padding: 0px 8px;
    min-width: 24px;
    text-align: center;
}

.quicklooks {
    float: right;
    margin: 0px 0px 15px 15px;
    width: 250px;
}

/* Page: Tools & Services */

.node h2 {
    color: #333;
}

.org-chart-container a[href="#"] {
    display: inline-block;
    margin-bottom: 9px;
}

.org-chart-container a[href="#"] + div {
    display: none;
    margin-top: 6px;
    border: 1px dotted #333;
    background-color: #fafafa;
    padding: 9px;
}

.org-chart-container div.orgChart {
    background: none;
    border: none;
}

.org-chart-container div.orgChart div.node {
    background-color: #c8e3f4;
}

.org-chart-container div.orgChart div.hasChildren {
    background-color: #b5cede;
}

.org-chart-container div.orgChart ul.stack, .org-chart-container div.orgChart ul.stack ul {
    text-align: left;
}

.org-chart-container div.orgChart ul.stack > li {
    border-left: 1px dotted #333;
    padding: 1em 0 0.7em 0.3em;
    list-style: disc;
    list-style-position: outside;
    font-size: 13px;
    font-weight: normal;
    font-style: normal;
    line-height: 1.2em;
    position: relative;
}

.org-chart-container.tools-and-services div.orgChart ul.stack > li {
    left: 20px;
}

.org-chart-container.land div.orgChart ul.stack > li {
    left: 25px;
}

.org-chart-container.atmosphere div.orgChart ul.stack > li {
    left: 91px;
}

.org-chart-container div.orgChart ul.stack > li a {
    display: inline-block;
    width: 85px;
}

.org-chart-container div.orgChart ul.stack > li:last-child {
    padding-bottom: 0;
}

.org-chart-container div.orgChart div.node {
  padding-top: 8px;
}

#chart-descriptions > div > div {
  width: 100%;
  background-color: #fafafa;
  border: 1px dotted #333;
  padding: 6px 12px;
  float: left;
  margin-bottom: 6px;
}

#chart-descriptions > div > div.selected {
    background-color: #f5f7d4;
}

#chart-descriptions > div > div h3 {
    margin-top: 8px;
}

h4.modal-title {
    font-size: 20px;
}

/*** Bootstrap style overrides ***/

.table>tbody>tr.info>td, .table>tbody>tr.info>th, .table>tbody>tr>td.info, .table>tbody>tr>th.info, .table>tfoot>tr.info>td, .table>tfoot>tr.info>th, .table>tfoot>tr>td.info, .table>tfoot>tr>th.info, .table>thead>tr.info>td, .table>thead>tr.info>th, .table>thead>tr>td.info, .table>thead>tr>th.info {
    background-color: #c8e3f4;
}

.nav-tabs>li>a {
    color: #555;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    background-color: #f1f1f1;
    /* color: #fff; */
}

.product-group .nav-tabs>li>a {
    font-size: 22px;
}

.btn-danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.panel-default {
    border-width: 3px;
}

.panel-default>.panel-heading {
    background-color: #f9f9f9;
}

.panel-title>a {
    display: block;
}

.nav.nav-tabs li {
  background-color: #ddd;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  color: #333;
  margin-right: 8px;
}

.nav.nav-tabs li a {
  display: block;
  padding: 12px 36px;
}

.nav.nav-tabs li.hover a {
  margin-right: 0;
}

.nav.nav-tabs li.active a {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e2e2e2+0,ffffff+28 */
  background: #e2e2e2; /* Old browsers */
  background: -moz-linear-gradient(top, #e2e2e2 0%, #ffffff 28%); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #e2e2e2 0%,
    #ffffff 28%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #e2e2e2 0%,
    #ffffff 28%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */

  margin-right: 0;
}

.nav.nav-tabs a {
  color: #333;
}

/*** EUI style overrides ***/

.earthdata .wrap, .static-browser .wrap {
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.daac-selector {
    border: 1px solid transparent;
    border-radius: 3px;
    box-sizing: border-box;
    display: inline-block;
    font-weight: bold;
    font-size: 1.8em;
    padding: 0.4em 0.5em;
    text-transform: uppercase;
    width: 100%;
    z-index: 200;
}

.eui-btn:link {
    color: #323232;
}

.eui-accordion__title {
    font-size: 22px;
}

/* Activate these styles when LAADS Alerts header becomes a clickable dropdown menu */
/*.daac-selector:hover, .daac-selector.active {
    border: 1px solid #dde4e6;
    background-color: #fff;
    background-image: -webkit-linear-gradient(#fff,#ecf0f1);
    background-image: linear-gradient(#fff,#ecf0f1);
}*/

/*.daac-selector:after {
    font-family: 'EUI-Icon-Library';
    content: "\f10d";
    font-size: 0.8em;
    vertical-align: text-bottom;
    margin-left: 0.4em;
    color: #cfd9db;
}*/

.earthdata .wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.daac-selector-list {
    list-style-type: none;
    border: 1px solid #dde4e6;
    box-sizing: border-box;
    background: #fff;
    border-radius: 3px;
    padding: 0;
    background: #fff;
    z-index: 100;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    display: none;
    position: absolute;
    text-align: left;
    width: 100%;
}

a.daac-selector, a.daac-selector:link {
    color: #95a5a6;
}

.feed-section ul, .collab-section ul {
    margin: 0;
}

.feed-section {
    text-align: center;
}

.feed-section .feed-grid {
    display: table;
    text-align: left;
    width: 100%;
}

.feed-section .feed-grid div.row {
    display: table-row;
}

.feed-section .feed-grid div.row div.eui-super-bullet {
    display: table-cell;
    width: 50%;
    padding: 1em 0;
}

.feed-section img.loading {
    border: none;
    display: none;
    height: 60px;
    margin: auto;
    margin-bottom: -60px;
}

.feed-section-header {
    background: none;
    box-shadow: none;
    display: inline-block;
    font-size: 1.4em;
    margin: 0.5em auto;
    text-align: center;
    z-index: inherit;
}

.feed-section .feed-grid blockquote {
    font-size: 14px;
}

.eui-breadcrumbs {
    background-color: #f1f1f1;
    padding: 8px 12px;
    margin-bottom: 0px;
}

.eui-super-bullet a:link, .eui-super-bullet a:visited {
    font-weight: bold;
    color: #95a5a6;
}

.eui-super-bullet .eui-super-bullet-content h4 a {
    color: #95a5a6;
    font-size: 18px;
}

.eui-super-bullet .eui-super-bullet-content p {
    margin-top: 14px;
}

.eui-super-bullet .eui-super-bullet-content ul {
    margin-bottom: 14px;
}

.eui-super-bullet .eui-super-bullet-content .alerts-expand-collapse {
    color: #95a5a6;
}

.eui-super-bullet .eui-super-bullet-icon {
    vertical-align: top;
}

.eui-super-bullet .eui-super-bullet-icon i, .eui-super-bullet .eui-super-bullet-image i {
    margin-top: 35px;
}

.panel-title>.small, .panel-title>.small>a, .panel-title>a, .panel-title>small, .panel-title>small>a {
    color: inherit;
}

div.orgChart table, div.orgChart td {
    padding: 0;
    border: none;
}

div.orgChart table tr:nth-child(2n+2) {
    background: inherit;
}

.acronyms {
    margin-top: 24px;
}

.table.acronyms>tbody>tr>th h3 {
    margin-top: 12px;
}

.tutorials > div {
    min-height: 170px;
}

/*** Footer ***/

footer > div:last-of-type {
    margin-bottom: 16px;
}

footer a.img {
    display: block;
    float: left;
    margin-right: 16px;
}

footer a.logo img {
    width: 95px;
    height: 81px;
}

footer .gsfc {
    min-height: 95px;
}

footer .policy-links li {
    background: transparent url("/images/rsaquo_gray.gif") no-repeat scroll 0px 1px;
    padding-left: 12px;
}

/*** Responsive styles ***/

@media (min-width: 992px) {

    /*** Navigation ***/

    .navbar-header {
        padding-top: 12px;
    }

    #product-group-tabs .nav-tabs {
        padding: 0 12px;
    }

}

@media (min-height: 768px) {

    /*** Content pages ***/

    #mainContentRow {
        min-height: calc(100vh - 269px);
    }

}

/* Device: Min SM */
@media (min-width: 768px) {

    .navbar-header {
        padding-top: 12px;
    }

    .nav-tabs {
        border-bottom: none;
    }

    .navbar-collapse.collapse {
        padding-left: 0;
        padding-right: 5px;
    }

    #product-group-tabs > ul > li > a {
        background: none;
        background-color: #3A5269;
        border-radius: 12px;
        border: none;
        color: #eee;
    }

    #product-group-tabs > ul > li.active > a {
        background-color: #ccc;
        color: #333;
    }

    .nav.nav-tabs li.active a {
        background-color: aliceblue;
    }

    #product-group-tabs > ul > li {
        border-radius: 28px;
    }

    /*** Content pages ***/

    #chart-descriptions > div > div {
        width: 49%;
        margin-right: 0.5%;
        height: 375px;
        overflow-y: auto;
    }

    /*** Footer ***/

    /* First three boxes */
    footer > div:nth-of-type(-n+3) {
        margin-top: 12px;
        margin-bottom: 20px;
    }

}

/* Device: Max large tablet */
@media (max-width: 1024px) {
    .nav.nav-tabs li a {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* Device: Min SM -> Max MD */
@media (min-width: 768px) and (max-width: 992px) {

    /*** Navigation ***/

    .navbar-brand {
        font-size: 27px;
    }

    .nav > li > a {
        padding: 10px 10px;
    }

    .navbar-nav a {
        font-size: 11px;
    }

    .navbar-nav .dropdown-menu a {
        font-size: 14px;
    }

    .nav.nav-tabs li {
        font-size: 18px;
    }

    .nav.nav-tabs li a {
        padding-left: 18px;
        padding-right: 18px;
    }

    #product-group-tabs .nav-tabs li:first-child {
        margin-left: 9px;
    }

    .navbar-form .input-group .form-control {
        width: 52px;
    }

    /*** Pages ***/

    #chart-descriptions > div > div {
        height: auto;
        min-height: 410px;
    }

    .org-chart-container div.orgChart ul.stack > li {
        left: 1px;
    }

}

/* Device: Max XS */
@media (max-width: 767px) {
    .main {
        margin-top: 0;
    }

    /*** Navigation ***/

    .blue .navbar-inverse .navbar-brand,
    .blue .navbar-inverse .navbar-nav > li > a {
        color: #fff;
    }

    .navbar-brand {
        font-size: 21px;
    }
    
    .navbar {
        font-size: 14px;
    }

    .navbar-right {
        text-align: left;
    }

    .navbar-nav .glyphicon,
    .navbar-nav .fa {
        display: none;
    }

    .navbar-nav .navbar-form {
        margin-left: 4px;
    }

    .nav.nav-tabs li {
        width: 100%;
        margin-top: 4px;
    }

    .navbar-form .input-group > input {
        margin-top: 6px;
    }

    .navbar-form .input-group > .input-group-btn {
        padding-top: 6px;
    }

    .navbar-nav .navbar-form .glyphicon {
        display: inline;
    }

    .navbar-nav > li > a > .glyphicon,
    .navbar-nav > li > a > .fa {
        display: inline-block;
        font-size: 14px;
        margin-bottom: auto;
        margin-right: 8px;
    }

    #banner > .caption {
        margin-top: 73px;
    }    

    /* EUI overrides */

    .wrap {
        padding: 0 1.2em;
    }

    .feed-section-header {
        width: 100%;
    }

    .daac-selector {
        padding: 0;
    }

    .feed-section .feed-grid {
        display: block;
        width: inherit;
        padding: 0.5em 0;
        height: inherit;
    }

    .feed-section .feed-grid div.row div.eui-super-bullet {
        width: inherit;
        display: block;
    }

    .feed-section .feed-grid div.row {
        display: block;
    }

    /*** Footer ***/

    footer {
        padding-top: 16px;
    }

    footer .gsfc {
        padding-top: 12px;
    }

    footer .gsfc img {
        width: 160px;
        height: 63px;
    }

    footer .policy-links li:first-child {
        margin-top: 12px;
    }

    footer .policy-links li {
        padding-left: 0;
        background: none;
        margin-bottom: 12px;
    }

}
