/* Due to time constraints this was copied from the production legacy site */

body{
  background-color:#212228;
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  line-height: 1.4;
  margin: 0;
}

a {
  color: #E1FA47;
  font-weight: bold;
}
@media (max-width: 767px){ /* Mobile */
  a { font-size: 14px; }
}
@media (min-width: 768px) and (max-width: 991px){ /* Tablet */
  a { font-size: 16px; }
}
@media (min-width: 992px){ /* Desktop */
  a { font-size: 16px; }
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

img {
  /* Images always fill the height of their container */
  height: 100%;
}

/* Section: h1, h2, etc */
h1 {
  font-weight: 500;
  margin: 30px;
}
h2 {
  font-weight: 400;
  margin: 30px;
}
/* Media Queries for headers */
@media (max-width: 767px){ /* Mobile */
  h1 {
    font-size: 18px;
  }
  h2 {
    font-size: 16px;
  }
}
@media (min-width: 768px) and (max-width: 991px){ /* Tablet */
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
}
@media (min-width: 992px){ /* Desktop */
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
}


/* Section: helpers */
.busy {
  /* see: https://www.w3schools.com/howto/howto_css_loader.asp */
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3AA844; /* Image Target Green */
  border-bottom: 4px solid #3AA844; /* Image Target Green */
  border-radius: 50%;
  display: inline-block;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
}
@keyframes spin { /* Used by .busy */
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.container-fluid {
  margin: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.responsive {
  width: 100%;
  margin: auto;
}

/* Section: header */
#header{
  color:#fff;
}
#header .tooltip{font-size:16px}
#header .tooltip-inner{max-width:400px}
#header .banner_section{
  background-position:center;
  background-size: cover;
  display: flex;
  /* height:215px; */
  justify-content: space-between;
  width: 100%;
}
/* Media Queries for header */
/* TODO: Add for 2x banner */
/* @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) {
  #header .banner_section{
    background-image:url(/assets/layouts/desktop-table-header-2x.png);
  }
} */
@media (max-width: 767px){ /* Mobile */
  #header .banner_section {
    background-image:url(/assets/layouts/mobile-header-1024-256.png);
  }
  #header .banner_section .logo {
    height: 65px;
    padding: 10px;
  }
}
@media (min-width: 768px) and (max-width: 991px){ /* Tablet */
  #header .banner_section{
    background-image:url(/assets/layouts/desktop-tablet-header.png);
  }
  #header .banner_section_side .logo {
    height: 75px;
    padding: 10px;
  }
}
@media (min-width: 992px){ /* Desktop */
  #header .banner_section{
    background-image:url(/assets/layouts/desktop-tablet-header.png);
  }
  #header .banner_section_side .logo {
    height: 75px;
    padding: 35px;
  }
}

/* Section: footer */
#footer{
  align-items: center;
  background-color: #464952;
  display: flex;
  flex-direction: column;
}

#footer .footer_links a{
  margin-left: 5px;
  margin-right: 5px;
}
#footer .footer_links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
#footer .footer_links a {
  border-right: solid 1px #fff; /* delimiter */
  padding: 0 10px 0 0;
}
#footer .footer_links a:last-child {
  border-right: none; /* removes last delimiter */
}
@media (max-width: 767px){ /* Mobile, stack links */
  #footer .footer_links {
    flex-direction: column;
    align-items: center;
  }
  #footer .footer_links a {
    border-right: none; /* removes delimiters */
  }
}

#footer .footer_section {
  margin: 15px;
}

#footer .social_links {
  display: flex;
  height: 56px; /* Height for images */
  justify-content: center;
}
#footer .social_links a {
  height: 100%; /* So embedded images are the height of the container */
  margin: 10px;
}

#footer .stsci_link {
  height: 41px;
}
