
.project-bg {
  background-color: #fff;
  width: 100%;
  height: 100%;
  padding-top: 66px;
}

.project-bg a:link {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #ff7700;
}
.project-bg a:visited {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #ff7700;
}
.project-bg a:hover {
  text-decoration: none;
  color:#777;
}
.project-bg a:active {
  color: #000;
  text-decoration: none;
}

.project-container {
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-direction:row;
  flex-wrap: wrap;
  padding-right: 10px;
  padding-left: 10px;
}

.project-footer {
  justify-content: center;
  align-content: center;
  flex-basis: 100%;
  order: 10;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.project-content{
  order:2;
  flex-basis: 70%;
  margin-right: 16px;
}

/* Description */

.project-header {
  order:1;
  flex-basis: 100%;
}

.project-desc {
  order:3;
  flex: 1 1 20%;
}

.project-description {
  font-size: 14px;
  font-weight: 300;
  font-family: 'Roboto Slab', serif;
}

.project-desc-fixed {
  position: fixed;
}

#project-desc-wrapper {
  padding-top: 8px;
  padding-right: 10px;
}

#project-splash {
  display: none;
}

.description-italics {
  display: none;
}

html.mobile .description-italics {
  display: block;
  color: black;
  font-size: 13px;
  padding-left: 3vw;
  padding-right: 9vw;
  padding-top: 2px;
  padding-bottom: 0px;
  font-style: italic;
}

html.mobile .scroll-indicator {
  position: fixed;
  width: 100%;
  height: 90px;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,0); /* fallback color if gradients are not supported */
  background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 80%); /* For Chrome 25 and Safari 6, iOS 6.1, Android 4.3 */
  background-image:    -moz-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 80%); /* For Firefox (3.6 to 15) */
  background-image:      -o-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 80%); /* For old Opera (11.1 to 12.0) */ 
  background-image:         linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 80%);
}

html.mobile #firstImage {
  display: none;
}

html.mobile #project-splash {
  margin-top: 10px;
  display: block;
  width: 100%;
  width: 106vw;
  margin-left: -3vw;
}

html.mobile #project-splash img {
  width: 100%;
  background-color: #0F0F0F;
}

@media (max-width: 800px) {
  .project-desc {
    width: 100%;
    order:2;
    flex-basis: 100%;
    padding-bottom: 45px;
  }
  .project-content {
    order:3;
    flex-basis: 100%;
    margin-right: 0;
  }
}

.project-subheading {
  font-size: 14px;
  margin: 0;
}

/* Images */

.project-image {
  max-width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.project-image img {
  height: 100%;
  width: 100%;
  display: block;
}

.project-image-desc {
  padding: 5px;
  background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 96%);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 96%);
  font-size: 12px;
  font-weight: 300;
  left: 0px;
  right: 0px;
  position: absolute;
  bottom: 0;
}

html.mobile .project-image-desc {
  font-size: 13px;
}

.project-image-desc.project-left-image {
  right: 8px; 
}

.project-image-desc.project-right-image {
  left: 8px; 
}

.project-left-image.project-image {
  width: 50%;
  float: left;
  margin-bottom: 0;
  box-sizing: border-box;
  padding-right: 8px;
}

.project-left-image.project-image img {
  box-sizing: border-box;
  width: 100%;
}

.project-right-image.project-image {
  width: 50%;
  float: right;
  margin-bottom: 0;
  box-sizing: border-box;
  padding-left: 8px;
}

.project-right-image.project-image img {
  box-sizing: border-box;
  width: 100%;
}

/* Videos */

.project-video {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.project-video iframe, .project-video object, .project-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.project-video-desc {
  margin-bottom: 21px;
  margin-top: 0.5rem;
  text-align: right;
}
