* {
  margin: 0;
  padding: 0;
}
section, figure, figcaption {
  display: block;
}
h1 {
  margin-top:5%;
  color: #F39D41;
  font-weight: normal;
  letter-spacing: -1px;
  font-size:4em;
  font-family: 'AvenirNext-Regular',sans-serif;
  text-align:center;
  font-weight:bold;
  text-shadow: -1px 2px #F39D41;
  text-shadow:  1px 3px rgba(255, 255, 255, 0.4);
  text-shadow:  -1px 3px rgba(255, 255, 255, 0.4);
}
.photos{
	width:100%;
}
/*section, header{*/
/*  padding: 10px 2em;*/
/*}*/
/*section header{*/
/*  padding: 10px 0;*/
/*}*/
.cityimg{
width: 310px;
}
.image3d {
  list-style: none;
  font-size: 20px;
  position: relative;
  max-width: 300px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto 20px;
  height: 250px;
  font-family: 'AvenirNext-Regular',sans-serif;
  background: #222;
  background: -webkit-linear-gradient( #000, #222 );
  background: -moz-linear-gradient( #000, #222 );
  background: -ms-linear-gradient( #000, #222 );
  background: -o-linear-gradient( #000, #222 );
  box-shadow: 0 0 1px rgba( 0, 0, 0, 0.6 );
  border-radius: 4px;
  /* define a perspective of 800 pixels */
  -moz-perspective:    800px;
  -webkit-perspective: 800px;
  -ms-perspective:     800px;
  -o-perspective:      800px;
  perspective:         800px;

}

.image3d img {
  /* smoothly transition any changes to the image in a second */
  -webkit-transition: all 1s;
  -moz-transition:    all 1s;
  -o-transition:      all 1s;
  -ms-transition:     all 1s;
  transition:         all 1s;

}
.image3d figure:hover img, .image3d figure:focus img {

  /* rotate the image and move it to the back */
  -webkit-transform: rotateY( 50deg ) rotateX( 10deg )
                     translate3d( 80px, -20px, -100px );
  -moz-transform:    rotateY( 50deg ) rotateX( 10deg )
                     translate3d( 80px, -20px, -100px );
  -o-transform:      rotateY( 50deg ) rotateX( 10deg )
                     translate3d( 80px, -20px, -100px );
  -ms-transform:     rotateY( 50deg ) rotateX( 10deg )
                     translate3d( 80px, -20px, -100px );
  transform:         rotateY( 50deg ) rotateX( 10deg )
                     translate3d( 80px, -20px, -100px );

  opacity:0.5;    

}
figure {
    margin: 0 !important; 
}
.image3d figcaption {
  position: absolute;
  background: rgba( 0, 0, 0, 0.7 );
  color: #fff;
  border-radius: 5px;
  left: 300px;
  bottom: 20px;
  width: 240px;
}
.image3d:hover figcaption, .image3d:focus figcaption {
  -webkit-transition: all 1s;
  -moz-transition:    all 1s;
  -ms-transition:     all 1s;
  -o-transition:      all 1s;
  transition:         all 1s;
  left: 30px;
}
.image3d figcaption strong {
  display: block;
  color: 	#F39D41;
  font-weight: normal;
  font-size:22px;
  padding: 5px 0;
  font-family: 'AvenirNext-Regular',sans-serif;
  text-transform: uppercase;
}
.textpara {
  display: block;
  color: white;
  padding: 5px;
}
.textpara p{
    font: 14px/30px 'AvenirNext-Regular',sans-serif;
    margin: 0 auto;
    font-weight: 600;
    text-align: left;
    
}


