#SingleExperienceOuterContainer {
  height: 100%;
  width: 95%;
  padding: 10px;
}

#SingleExperienceContainer {
  top: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: auto;
  overflow-x: hidden;
}

#SingleExperienceContainer h1 {
  text-align: center;
}

#SingleExperienceContainer #SingleExperience {
  margin-top: auto;
  margin-bottom: auto;
}

#SingleExperience {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px;
}

#SingleExperienceContainer h1 {
  font-size: 3em;
  margin: 10px;
  color: rgb(240, 240, 240);
}

.slideshow {
  width: 100%;
  height: 100%;
  /* height: auto; */
}

.slideshow .carousel-slider {
  max-height: 500px;
}

.slideshow .carousel-slider img {
  align-self: center;
  justify-self: center;
  width: auto !important;
  max-width: 100%;
  max-height: 500px;
}

.slide {
  display: flex;
}

.slide div {
  margin-top: auto;
  margin-bottom: auto;
}

.slideshow .thumbs-wrapper img {
  height: auto;
  max-height: 80px;
  width: auto !important;
  max-width: 100%;
  margin-left: 10px;
  margin-right: 10px;
}

.slideshow .thumbs-wrapper .thumb {
  margin: 0px 10px;
  height: 100%;
  width: auto !important;
}

.carousel .thumbs-wrapper {
  display: none;
}

.slideshow .carousel .control-prev.control-arrow:before {
  border-right: 8px solid rgb(62, 168, 124);
}

.slideshow .carousel .control-next.control-arrow:before {
  border-left: 8px solid rgb(62, 168, 124);
}

#SingleExperienceContainer .experienceInfo {
  margin: 15px 0;
  /* padding: 10px 2rem 10px 10px; */
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
}

.experienceInfo p {
  font-size: 1.4em;
  color: rgb(240, 240, 240);
  /* Site-wide Rajdhani on body text (inherits from index.css body rule). */
  font-weight: 300;
  line-height: 1.5;
}

#SingleExperienceContainer .links {
  margin: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#SingleExperienceContainer .links a {
  flex-wrap: wrap;
  margin: 10px 10px;
  color: rgb(240, 240, 240);
  text-decoration: none;
  padding: 10px;
  border: 2px solid rgb(240, 240, 240);
  border-radius: 10px;
  transition: all 0.2s;
}

.links a:hover {
  background-color: rgba(0, 255, 0, 0.2);
}

#SingleExperienceContainer .mobile {
  display: none;
}

@media only screen and (max-width: 1050px) {
  #SingleExperienceContainer h1 {
    font-size: 2rem;
  }

  .experienceInfo p {
    font-size: 1.1rem;
  }

  #SingleExperienceOuterContainer {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    /* No own background — the SingleExperience content reads against the
       same dark opaque subpage overlay that every other subpage uses
       (defined in index.css for #ProfessionalExperienceContainer).
       The parent PE picker fades out separately when an experience is
       selected; the SingleExperience content fades in. */
    background: none;
    z-index: 1000000000;
    padding: 10px 10px;
  }

  #SingleExperienceContainer {
    padding: 10px 10px;
    width: 100%;
    /* box-sizing: needed because 97%/100% + padding 10px without border-box
       pushes this child past its parent and surfaces a horizontal scrollbar
       on the document. */
    box-sizing: border-box;
    height: 100dvh;
  }

  #SingleExperienceContainer .mobile {
    display: block;
    min-height: 75px;

  }
}

@media only screen and (max-height: 700px) {
  .slideshow .carousel-slider img {
    max-height: 500px;
  }
}

@media only screen and (max-height: 500px) {
  .slideshow .carousel-slider img {
    max-height: 350px;
  }
}

#SingleExperienceOuterContainer hr {
  width: 100%;
  margin: 15px 0px;
  border: 0;
  height: 2px;
  background-image: linear-gradient(to left,
      rgba(117, 117, 117, 0),
      rgba(117, 117, 117, 0.75),
      rgba(117, 117, 117, 0));
}

#SingleExperienceContainer .mobile button {
  align-self: flex-start;
  margin: 5px 5%;
  border: 1px solid rgba(240, 240, 240, 0.2);
  text-decoration: none;
  font-size: 1.3rem;
  color: rgb(240, 240, 240);
  position: relative;
  z-index: 100000;
  background-color: rgba(201, 105, 105, 0.336);
  display: inline-block;
  padding: 10px;
  border-radius: 2px;
  transition: all 0.2s;
}

#SingleExperienceContainer .mobile button:hover {
  background-color: rgba(201, 105, 105, 0.801);
  cursor: pointer;
}