/*
  Theme Name: Site Name TODO: Add Site Name
  Author: Stephen Arias, Lucas Jordan
  Description: Styles gallery
  Version: 0.0.1
  Copyright: Raremedia Pty Ltd (Andrew Davidson)'
*/

/*--------------------------------------------------------------
Default Structure
--------------------------------------------------------------*/

.gallery-thumbnail > .row {
    margin-bottom: 30px;
}

.gallery-thumbnail .row .columns {
    margin-bottom: 30px;
}
.gallery-thumbnail figure a {
    display: block;
    position: relative;
    overflow: hidden;
}
.gallery-thumbnail figure a > img {
    pacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    max-width: 100%;

    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.gallery-thumbnail figure a > .bg {
  content: "";
  position: absolute;
  top: -193%;
  left: 87%;
  width: 116%;
  height: 219%;
  background-color: #1B3351;
  opacity: 0.8;
  -moz-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  -webkit-transform: rotate(40deg);
  transform: rotate(40deg);
}
.gallery-thumbnail figure a > .middle {
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;

    opacity: 0;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    text-align: center;
}
.gallery-thumbnail figure a > .middle > .text {
    color: #ffffff;
    font-size: 1.250em;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.250em;
    font-weight: 500;
}
.gallery-thumbnail figure a:hover > .middle {
    opacity: 1;
}
.gallery-thumbnail figure a:hover > .bg {
  top: -73%;
  left: 0;
}
.gallery-thumbnail figure a:hover > img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
@media screen and (min-width: 416px) and (max-width: 639px) {
    .gallery-thumbnail figure a > .middle > .text {
        font-size: 0.875em;
        padding: 0.2em;
    }
}
@media screen and (min-width: 100px) and (max-width: 415px) {
    .gallery-thumbnail figure a > .middle > .text {
        font-size: 0.875em;
    }
}
