/* Special Rounded Photos */

.roundphoto img {
  width: 100%;
  margin-bottom: 10px;
  vertical-align: top;
}

.round {
  display: inline-block;
  align: center;
  width: 120px;
  height: 120px;
  text-align: center;
  margin-right: 20px;
  vertical-align: top;
  overflow: hidden;
  border-radius: 120px;

}



/* Special Captioned Images */
.caption-common{
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.caption-common::before, .caption-common::after{
    content: '';
    width: 100%;
    height: 100%;
    background: black;
    position: absolute;
    opacity: 0.3;
    top: 0;
    left 0;
    -moz-transform: translate3d(0, -100%, 0);
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}


.pic-caption {
    position: absolute;
    text-align: center;
    background: #354ca1;
    color: white;
    z-index: 999;
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    top: 50%;
    -webkit-transform: translate3d(-100%, -50%, 0);
    transform: translate3d(-100%, -50%, 0);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    //line-height: 30px;
    font-size: 85%;
}

.pic-caption a{
    text-decoration: none;
    color: white;
    text-decoration: underline;
}

/* Vertical Split Caption */

.split-vert::before{
    -moz-transform: translate3d(-100%, 0, 0);
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}

.split-vert::after{
    -moz-transform: translate3d(100%, 0, 0);
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.split-vert:hover::before{
    -moz-transform: translate3d(-50%, 0, 0);
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
}

.split-vert:hover::after{
    -moz-transform: translate3d(50%, 0, 0);
    -webkit-transform: translate3d(50%, 0, 0);
    transform: translate3d(50%, 0, 0);
}

.split-vert:hover .pic-caption{
    opacity: 1;
    -moz-transform: translate3d(0, -50%, 0);
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -moz-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
}
