figure {
  /*float: left;
  width: 300px;
  margin-left: 30px;*/
}
figure:first-child {
  /*margin-left: 0;*/
}
figure img {
  /*vertical-align: bottom;*/
}



.transform01 {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
.transform02 {
  -webkit-transform: rotate(15deg) scale(1.4);
  transform: rotate(15deg) scale(1.4);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}
figure:hover .transform01 {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
figure:hover .transform02 {
  -webkit-transform: rotate(0) scale(1);
  transform: rotate(0) scale(1);
}
figure h3 {
  padding: 20px 0 5px;
  color: #fff;
  font-size: 24px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}
figure p {
  color: #fff;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}



/* Effect 01 */
#caption-effect01 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect01 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 0;
}
#caption-effect01 figure:hover figcaption {
  opacity: 1;
}



/* Effect 02 */
#caption-effect02 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect02 figcaption {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 1;
}
#caption-effect02 figure:hover figcaption {
  top: 0;
  left: 0;
}



/* Effect 03 */
#caption-effect03 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect03 figcaption {
  position: absolute;
  top: 0;
  left: -100%;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 1;
}
#caption-effect03 figure:hover figcaption {
  top: 0;
  left: 0;
}



/* Effect 04 */
#caption-effect04 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect04 figcaption {
  position: absolute;
  top: -100%;
  left: -100%;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 1;
}
#caption-effect04 figure:hover figcaption {
  top: 0;
  left: 0;
}



/* Effect 05 */
#caption-effect05 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect05 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transform: rotate(90deg) scale(0);
  transform: rotate(90deg) scale(0);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 0;
}
#caption-effect05 figure:hover figcaption {
  -webkit-transform: rotate(360deg) scale(1);
  transform: rotate(360deg) scale(1);
  opacity: 1;
}



/* Effect 06 */
#caption-effect06 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect06 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transform: rotate(90deg) scale(3);
  transform: rotate(90deg) scale(3);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 0;
}
#caption-effect06 figure:hover figcaption {
  -webkit-transform: rotate(360deg) scale(1);
  transform: rotate(360deg) scale(1);
  opacity: 1;
}



/* Effect 07 */
#caption-effect07 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect07 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transform: rotateX(-180deg);
  transform: rotateX(-180deg);
  -webkit-transition: .5s;
  transition: .5s;
  opacity: 0;
}
#caption-effect07 figure:hover figcaption {
  -webkit-transform: rotateX(0);
  transform: rotateX(0);
  opacity: 1;
}



/* Effect 08 */
#caption-effect08 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect08 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transition: .5s;
  transition: .5s;
  opacity: 0;
}
#caption-effect08 figure:hover figcaption {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
  opacity: 1;
}



/* Effect 09 */
#caption-effect09 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect09 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transform: rotateY(-90deg) rotateX(-90deg);
  transform: rotateY(-90deg) rotateX(-90deg);
  -webkit-transition: .5s;
  transition: .5s;
  opacity: 0;
}
#caption-effect09 figure:hover figcaption {
  -webkit-transform: rotateY(0) rotateX(0);
  transform: rotateY(0) rotateX(0);
  opacity: 1;
}



/* Effect 10 */
#caption-effect10 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect10 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
  opacity: 0;
}
#caption-effect10 figcaption h3,
#caption-effect10 figcaption p {
  position: absolute;
  left: -100%;
  width: 260px;
  padding: 0;
  text-align: left;
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect10 figcaption h3 {
  top: 30px;
}
#caption-effect10 figcaption p {
  top: 75px;
  font-size: 12px;
}
#caption-effect10 figure:hover figcaption {
  opacity: 1;
}
#caption-effect10 figure:hover figcaption h3,
#caption-effect10 figure:hover figcaption p {
  left: 20px;
}
#caption-effect10 figure:hover figcaption h3 {
  -webkit-transition-delay: .2s;
  transition-delay: .2s;
}
#caption-effect10 figure:hover figcaption p {
  -webkit-transition-delay: .5s;
  transition-delay: .5s;
}



/* Effect 11 */
#caption-effect11 figure {
  position: relative;
  -webkit-perspective: 1500px;
  perspective: 1500px;
  -webkit-perspective-origin: 0 50%;
  perspective-origin: 0 50%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
#caption-effect11 figure div {
  overflow: hidden;
}
#caption-effect11 figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: 0;
  transform-origin: 0;
  -webkit-transform: rotateY(-90deg);
  transform: rotateY(-90deg);
  -webkit-transition: -webkit-transform .4s, opacity .1s .3s;
  transition: transform .4s, opacity .1s .3s;
  opacity: 0;
}
#caption-effect11 figcaption h3, #caption-effect11 figcaption p {
  text-align: left;
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
  opacity: 0;
}
#caption-effect11 figcaption h3 {
  padding: 30px 20px 0;
}
#caption-effect11 figcaption p {
  padding: 10px 20px 0;
  font-size: 12px;
}
#caption-effect11 figure:hover figcaption {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
  -webkit-transition: -webkit-transform .4s, opacity .1s;
  transition: transform .4s, opacity .1s;
  opacity: 1;
}
#caption-effect11 figure:hover figcaption h3,
#caption-effect11 figure:hover figcaption p {
  -webkit-transition-delay: .4s;
  transition-delay: .4s;
  opacity: 1;
}


/* Effect 12 */
#caption-effect12 .figure-inner {
  position: relative;
  -webkit-perspective: 1000;
  perspective: 1000;
  width: 300px;
  height: 200px;
  -webkit-transition: .5s;
  transition: .5s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
#caption-effect12 .image,
#caption-effect12 figcaption {
  position: absolute;
  width: 300px;
  height: 200px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
#caption-effect12 .image {
  z-index: 2;
}
#caption-effect12 figcaption {
  padding: 10px 20px 20px;
  background: #fff;
  border: 2px solid #666;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#caption-effect12 figcaption h3,
#caption-effect12 figcaption p {
  color: #555;
}
#caption-effect12 figure:hover .figure-inner,
#caption-effect12 figcaption { 
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}



/* Effect 13 */
#caption-effect13 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect13 figcaption {
  position: absolute;
  bottom: -60px;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 60px;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect13 figcaption h3 {
  padding: 5px 0 0;
  font-size: 18px;
}
#caption-effect13 figcaption p {
  font-size: 13px;
}
#caption-effect13 figure:hover figcaption {
  bottom: 0;
}



/* Effect 14 */
#caption-effect14 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect14 figcaption {
  position: absolute;
  bottom: 30px;
  right: 40px;
  z-index: 2;
  width: 100%;
  height: 60px;
  background: rgba(0,0,0,.6);
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect14 figcaption h3 {
  padding: 5px 0 0;
  font-size: 18px;
  margin-right: -30px;
}
#caption-effect14 figcaption p {
  margin-right: -30px;
  font-size: 13px;
}
#caption-effect14 figure:hover figcaption {
  right: 100%;
}



/* Effect 15 */
#caption-effect15 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect15 figcaption h3,
#caption-effect15 figcaption p {
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0;
  background: rgba(0,0,0,.6);
  color: #fff;
  text-align: center;
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect15 figcaption h3 {
  top: -40px;
  font-size: 18px;
}
#caption-effect15 figcaption p {
  bottom: -40px;
  font-size: 13px;
}
#caption-effect15 figure:hover figcaption h3 {
  top: 0;
}
#caption-effect15 figure:hover figcaption p {
  bottom: 0;
}



/* Effect 16 */
#caption-effect16 figure {
  position: relative;
  overflow: hidden;
}
#caption-effect16 figure img {
  position: relative;
  z-index: 2;
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect16 figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100px;
  background: #46ceb4;
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect16 figcaption h3 {
  padding-top: 15px;
}
#caption-effect16 figure:hover img {
  -webkit-transform: translateY(-100px);
  transform: translateY(-100px);
}



/* Effect 17 */
#caption-effect17 figure {
  position: relative;
  overflow: hidden;
  background: #46ceb4;
}
#caption-effect17 figure img {
  position: relative;
  z-index: 1;
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect17 figcaption {
  position: absolute;
  bottom: -70px;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 70px;
  background: #46ceb4;
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect17 figcaption h3 {
  padding-top: 15px;
}
#caption-effect17 figure:hover img {
  -webkit-transform: translateY(-40px);
  transform: translateY(-40px);
}
#caption-effect17 figure:hover figcaption {
  bottom: 0;
  -webkit-transform: translateY(-30px);
  transform: translateY(-30px);
}



/* Effect 18 */
#caption-effect18 figure {
  position: relative;
  overflow: hidden;
  background: #46ceb4;
}
#caption-effect18 figure img {
  position: relative;
  z-index: 1;
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect18 figcaption {
  position: absolute;
  bottom: 0;
  right: -170px;
  z-index: 2;
  width: 170px;
  height: 100%;
  background: #46ceb4;
  -webkit-transition: .3s;
  transition: .3s;
}
#caption-effect18 figcaption h3 {
  padding: 70px 0 5px 15px;
  font-size: 20px;
  text-align: left;
}
#caption-effect18 figcaption p {
  padding-left: 15px;
  text-align: left;
}
#caption-effect18 figure:hover img {
  -webkit-transform: translateX(-100px);
  transform: translateX(-100px);
}
#caption-effect18 figure:hover figcaption {
  right: 0;
  -webkit-transform: translateX(-30px);
  transform: translateX(-30px);
}



/* Effect 19 */
#caption-effect19 figure {
  position: relative;
}
#caption-effect19 figure img {
  position: relative;
  z-index: 2;
}
#caption-effect19 figure h3,
#caption-effect19 figure p {
  position: absolute;
  bottom: 0;
  left: 10px;
  z-index: 1;
  padding: 0;
  opacity: 0;
  -webkit-transition: .3s;
  transition: .3s;
  color: #555;
  text-align: left;
}
#caption-effect19 figure h3 {
  font-size: 18px;
}
#caption-effect19 figure:hover h3 {
  bottom: -35px;
  opacity: 1;
}
#caption-effect19 figure:hover p {
  bottom: -58px;
  opacity: 1;
}



/* Effect 20 */
#caption-effect20 figure {
  position: relative;
}
#caption-effect20 figure img {
  position: relative;
  z-index: 2;
}
#caption-effect20 figure h3,
#caption-effect20 figure p {
  position: absolute;
  z-index: 1;
  opacity: 0;
  padding: 0;
  -webkit-transition: .3s;
  transition: .3s;
  color: #555;
  text-align: left;
}
#caption-effect20 figure h3 {
  bottom: -35px;
  left: 0;
  font-size: 18px;
}
#caption-effect20 figure p {
  bottom: -33px;
  right: 0;
}
#caption-effect20 figure:hover h3 {
  opacity: 1;
}
#caption-effect20 figure:hover p {
  opacity: 1;
  -webkit-transition-delay: .3s;
  transition-delay: .3s;
}


