/*
html for image

<figure>
	<a href="#imagepop">
		<img src="images/landing/timeline.jpg" />
	</a>
	<figcaption>Click to enlarge</figcaption>
</figure>



<div id="imagepop" class="overlay">
<a class="cancel" href="#"></a>
	<div class="popup">
		<a class="close" href="#!">&times;</a>  <!--exclamation popint is crucial to prevent href from going to top -->
		<h3>Development Timeline</h3>

		<div class="content">
		<img src="images/landing/timeline.jpg" />
		</div>
	</div>
</div>

*/
#imagepop,
#imagepopRedwood {
  z-index: 1500;
  overflow-y: scroll;
}
#figureWrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
figure {
  width: 40%;
  /* float: right;*/
  border: 1px solid #000;
  padding: 2.5%;
  margin: 2.5% auto;
  box-shadow: 2px 2px 10px 2px #bbb, -2px -2px 10px 2px #bbb;
}
figure.graph {
  width: 80%;
  margin: 2.5% auto;
  padding: 5% 2.5%;
}

@media (max-width: 600px) {
  #figureWrap {
    flex-direction: column !important;
  }
  figure {
    width: 95%;
    margin: 5% auto;
  }
}

figcaption {
  font-size: 1em;
  float: right;
  margin-top:15px;
  font-family: quicksand;
}
figure h3 {
  font-family: 'Quicksand' !important;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.15em !important;
}
.overlay {
  position: fixed;
  top: -33px;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  transition: opacity 200ms;
  visibility: hidden;
  opacity: 0;
}
.overlay .cancel {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: default;
  z-index: 1;
}
.overlay:target {
  visibility: visible;
  opacity: 500;
  pointer-events: auto;
}

.popup {
  margin: 75px auto;
  padding: 20px 50px;
  background: #fff;
  border: 1px solid #666;
  width: 40%;
  margin: -13% auto 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  position: relative;
}
.popTitle {
  margin-top: 7.5% !important;
}
.popup img {
  margin-bottom: 2%;
}
.popup .close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 20px;
  right: 20px;
  opacity: 0.8;
  transition: all 200ms;
  font-size: 24px;
  font-weight: normal;
  text-decoration: none;
  color: #666;
  z-index: 20;
}
.popup .close:hover {
  opacity: 1;
}
.content {
  max-height: none;
  overflow: scroll;
}
