.tile-gallery
{
    display: flex;
    flex-flow: row wrap;
}
.tile-gallery + .tile-gallery
{
    margin-top: 10px;
}
.tile-gallery .col
{
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
}
.tile-gallery > .col > .figure
{
    flex: 2;
}
.tile-gallery > .col:nth-child(1),
.tile-gallery > .col:nth-child(3)
{
    flex: 2;
}
.tile-gallery > .col:nth-child(2),
.tile-gallery > .col:nth-child(5)
{
    flex: 1;
}
.tile-gallery .row
{
     display: flex;
     flex-flow: row nowrap;
}
.tile-gallery .figure + .row,
.tile-gallery .row + .figure,
.tile-gallery .figure + .figure,
.tile-gallery .row + .row
{
    margin-top: 10px;
}
.tile-gallery .col + .col
{
    margin-left: 10px;
}
.tile-gallery .break + .col
{
    margin-left: 0;
    flex: 2;
}
.tile-gallery .tile
{
    flex: 1;
    height: 26vh;
}
.tile-gallery .tile.big
{
    height: 67vh;
}

.tile-gallery .tile.narrow
{
    height: 32vh;
}
.tile-gallery .figure
{
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.tile-gallery .figure::after
{
     transition: opacity 250ms ease-in-out;
     content: '';
     position: absolute;
     z-index: 5;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     box-shadow: 0 0 50px 0px rgba(0, 0, 0, 1) inset;
     opacity: 0;
}
/*
.tile-gallery .figure:hover,
.tile-gallery .figure:focus,
.tile-gallery .figure:active
{
    &:after {
         opacity: 1;
     }

    .tile-gallery__image {
        transform: translate(-50%, -50%) scale(1.25);
    }
}*/

.tile-gallery img
{
    transition: transform 250ms ease-in-out;
    object-fit: cover;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    max-width: initial;
    /*width: auto;*/
    min-height: 100%;
}
.tile-gallery a
{
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}
.tile-gallery .break
{
    flex-basis: 100%;
    height: 10px;
}

/* IF > 480 */
@media screen and (min-width: 480px)
{
    .tile-gallery .tile
    {
        height: 40vh;
    }
}

/* IF > 768 */
@media screen and (min-width: 768px)
{
    .tile-gallery + .tile-gallery
    {
        margin-top: 15px;
    }

    .tile-gallery .break
    {
        display: none;
    }
    .tile-gallery .figure + .row,
    .tile-gallery .row + .figure,
    .tile-gallery .figure + .figure,
    .tile-gallery .row + .row
    {
        margin-top: 15px;
    }
    .tile-gallery .col + .col
    {
        margin-left: 15px;
    }
    .tile-gallery .break + .col
    {
        margin-left: 15px;
    }
    .tile-gallery .tile
    {
        height: 32vh;
    }
}