/* all pages */
.breadcrumb-p {
  display: inline;
}

/* Home pages */
#banner-credit {
  text-align: end;
}

#home-boxes-container {
  max-width: 1429px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

.home-box {
  width: 250px;
  padding: 16px;
  height: 200px;
  background-color: lightgray;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
}

.home-box > h3 {
  background-color: #7f3c18;
  padding: 8px;
  color: white;
  text-align: center;
}

.home-link {
  margin: 16px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
}

.home-link:hover {
  color: white;
  border: 2px solid #7f3c18;
  border-radius: 12px;
  overflow: hidden;
}

#home-box-fun {
  background-image: url(../images/fun/nye.jpg);
  background-size: 250px 200px;
  background-repeat: no-repeat;
}

#home-box-missions {
  background-image: url(../images/missions-box.jpg);
  /* background-color: white; */
  background-size: 250px 200px;
  background-repeat: no-repeat;
}

#home-box-equipment {
  background-image: url(../images/equipment2.jpg);
  background-size: 250px 200px;
  background-repeat: no-repeat;
}

#home-box-media {
  background-image: url(../images/media-box.webp);
  background-size: 250px 200px;
  background-repeat: no-repeat;
}

#home-box-publications {
  background-image: url(../images/publication-box.png);
  background-size: 250px 200px;
  background-repeat: no-repeat;
}

#home-box-people {
  background-image: url(../images/people-box.jpg);
  /* background-size: 250px 200px; */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#home-box-about {
  background-image: url(../images/about-box.png);
  background-size: 250px 200px;
  background-repeat: no-repeat;
}

#home-box-funding {
  background-image: url(../images/nasa-logo.png);
  /* background-position: 5% 5%; */
  background-color: white;
  background-size: 250px 200px;
  background-repeat: no-repeat;
}
/* About */
#about-btn-container {
  display: flex;
  flex-wrap: wrap;
}

#about-image {
  margin: 16px 0px;
}
 
.analytical-explanation-button {
  background-color: #7f3c18;
  padding: 0.5rem;
  margin: 8px;
}

/* people */
#analytical-researchers, #current-students{
  margin-bottom: 7px;
}

.analytical-researcher.first{
  margin-left: 0;
}

.analytical-researcher:last-child{
  margin-right: 0;
}

.analytical-researcher{
  text-align: center;
  width: 150px;
  display: inline-block;
  margin: 7px;
  vertical-align: top;
}

.analytical-researcher div{
  text-align: center;
}

.analytical-researcher img{
width: 100%;
}

.analytical-researcher .image-container{
  margin-bottom: 5px;
}

div.researcher-name{
  margin-bottom: 1px;
  font-weight: bold;
}

#analytical-researchers h3{
  margin-bottom: 0;
}

#rightcontent .analytical-people h3{
  margin-bottom: 7px;
}

/* equipment */
.equipment-images img {
  height: 166px;
}

.equipment{
  display: inline-block;
  box-sizing: border-box;
}

.equipment div{
  text-align: center;
}

.equipment-images{
  margin-bottom: 20px;
  color: #595959;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#click-to-expand{
  margin-bottom: 5px;
}

#equip-1{
  padding-right: 5px;
  width: 226.5px;
}

#equip-2{
  padding: 0 2.5px;
  width: 254.167px;
}

#equip-3{
  padding-left: 5px;
  width: 226.65px;
}

/* funding */
#funding-list{
  font-weight: bold;
  font-size: 13px;
}

/* media */
#press-releases {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

  /* press-release carousel */
#press-carousel-container, #press-carousel {
  display: flex;
  width: 100%;
  background-color: lightgray;
  justify-content: space-between;
  padding-top: 16px;
}

#carousel-container {
  flex: 1;
  display: flex;
  justify-content: space-around;
}

#carousel-navigator {
  background-color: lightgray;
  text-align: center;
}

.carousel-nav-active {
  color: #7f3c18;
  text-decoration: underline;
  font-weight: bold;
}

.carousel-btns {
  display: flex;
  align-items: center;
}

.carousel-btns img {
  margin: 16px;
}

.carousel-btns > button > img {
  width: 32px;
  height: 32px;
  z-index: 100;
}

.press-release-item {
  background-color: white;
  text-align: center;
  border: 1px solid #7f3c18;
  margin: 16px;
  flex: 1;
}

#see-all-press {
  display: block;
  background-color: lightgrey;
  text-align: end;
  padding: 16px;
}

.press-1 {
  background-color: white;
}

.press-release-img {
  width: 100%;
 /* height: 400px; */
}

.press-release-text {
  padding: 8px;
  background-color: white;
  width: inherit;
}

.press-release{
  margin-bottom: 16px;
  overflow: auto;
  display: flex;
  /* clear: left; */
  /* margin-right: 7px; */
  background-color: lightgray;
}

.press-release img{
  /* float: left; */
  height: 70px;
  margin-right: 8px;
}

#press-releases .press-title {
  width: 229px;
  font-weight: bold;
  color: black;
  line-height: 1.4;
}

.press-release.two-lines .press-title{
  padding: 16.8px 0;
}

.press-release.three-lines .press-title{
  padding: 8.4px 0;
}

.media-section, .fun-section{
  margin-bottom: 20px;
}

/* .media-section h3{
  font-size: 14px;
} */

.media-section ul{
  font-weight: bold;
  font-size: 13px;
}

/* mission */
#current-heading, #future-heading, #historical-heading {
  padding: 1rem;
  text-align: center;
  color: white;
  background-color: #7f3c18;
}

.mission-logo{
  float: left;
  width: 100px;
  /* height: fit-content; */
  margin-bottom: 15px;
  margin-right: 15px;
}

.mission-contribution{
  margin-bottom: 0;
}

.mission{
  clear: left;
  display: flex;
  align-items: center;
}

.mission-text {
  flex: 1;
}

#rightcontent .research-heading{
  width: 100%;
  clear: left;
  margin-top: 20px;
}

a.research-link{
  display: block;
  margin: 7px 0;
  font-weight: bold;
}

/* fun */
#tv ul{
  font-weight: normal;
}

#tree img{
  width: 100%;
}

#asteroids img, #people img{
  width: 475px
}

#people h4{
  font-size: 13px;
  margin-bottom: 5px;
}

.photo-group{
  margin-bottom: 15px;
}

#asteroid-city-interview {
  width: 475px;
  height: 267px;
}

/* utils */
.hidden {
  display: none;
}

@media screen and (max-width: 675px) {
  #about-image {
    width: 90vw;
  }
}

@media screen and (max-width:500px){
  #asteroids img, #people img {
    width: calc(100vw - 32px);
    height: auto;
  }

  .nye-vid-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
  }

  .nye-vid-container video {
    width: calc(100vw - 64px);
    height: fit-content;
  }

  .asteroid-city-vid-container {
    display: flex;
    justify-content: center;
  }

  #asteroid-city-interview {
    width: calc(100vw - 64px);
    height: calc(calc(100vw - 64px) * 0.56);
  }
}

@media screen and (max-width: 330px) {
  #about-btn-container {
    justify-content: center;
  }

  .mission-logo {
    width: 75px;
  }

  .carousel-btns > button > img  {
    width: 16px;
    height: 16px;
  }
}