/* -> HOVER EFFECT
============================================================== */

.hover-gallery {
    margin: 20px 0;
    padding: 0;
    list-style: none;
    display: block;
    text-align: center;
    width: 100%;
}
.hover-gallery li {
    display: inline-block;
    text-align: left;
}

/* Image only
---------------------- */

figure.image {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
figure.image a {
    margin: 0 !important;
}
figure.image.circle,
figure.image.circle img,
figure.image.circle .hover-item,
figure.image.circle .hover-item:before,
figure.image.circle .hover-img,
figure.image.circle .hover-info {
    border-radius: 50%;
    -webkit-shape-outside: circle();
    -moz-shape-outside: circle();
    -o-shape-outside: circle();
    -ms-shape-outside: circle();
    shape-outside: circle();
    /* Text-wrap around circle images */
}
figure.image a,
.hover-item {
    position: relative;
    display: inline-block;
    margin: 20px;
}
figure.image a:before,
.hover-item:before {
    content: '';
    /*position: absolute;*/
    width: 100%;
    height: 100%;
    z-index: 10;
    box-shadow: inset 0 0 0 20px rgba(255, 255, 255, 0.5);
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
figure.image a:hover:before,
.hover-item:hover:before {
    content: '';
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.hover-info {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    opacity: 0;
    text-align: center;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-backface-visibility: hidden;
}
.hover-info.empty {
    background: rgba(0, 0, 0, 0.8) url('../images/plus.png') no-repeat 50% 50%;
}
.hover-info h3,
.small .hover-info h3,
.medium .hover-info h3,
.large .hover-info h3 {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
    font-size: 22px;
    height: 110px;
    margin: 0 20px;
    padding: 50px 0 0 0;
}
.small .hover-info h3 {
    font-size: 18px;
    height: 100px;
    margin: 0 20px;
    padding: 15px 0 0 0;
}
.medium .hover-info h3 {
    font-size: 22px;
    height: 110px;
    margin: 0 20px;
    padding: 50px 0 0 0;
}
.large .hover-info h3 {
    font-size: 28px;
    height: 150px;
    margin: 0 50px;
    padding: 70px 0 0 0;
}
.hover-info p,
.small .hover-info p,
.medium .hover-info p,
.large .hover-info p {
    color: #fff;
    font-style: italic;
    text-align: center;
    opacity: 0;
    font-size: 12px;
    margin: 0 10px;
    padding: 10px 0;
    -webkit-transition: all 0.3s ease-in-out 0.2s;
    transition: all 0.3s ease-in-out 0.2s;
}
.medium .hover-info p {
    font-size: 12px;
    margin: 0 10px;
    padding: 10px 0;
}
.large .hover-info p {
    font-size: 14px;
    margin: 0 20px;
    padding: 20px 0;
}
.large .hover-info p {
    font-size: 14px;
    margin: 0 20px;
    padding: 20px 0;
}
.hover-item:hover .hover-info {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
.hover-item:hover .hover-info p {
    opacity: 1;
}