@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed');

.photo_block {
    width: 100%
}
.photo_block .panel {
    position: relative;
    background: #222;
    overflow: hidden
}
.photo_block .panel ul {
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0
}
.photo_block .panel ul li {
    float: left;
    position: relative;
    padding: 0;
    min-width: 100px;
    margin: 0
}
.photo_block .panel ul li.twelve-in-line {
    width: 8.32%
}
.photo_block .panel ul li.eleven-in-line {
    width: 9.08%
}
.photo_block .panel ul li.ten-in-line {
    width: 10%
}
.photo_block .panel ul li.nine-in-line {
    width: 11.1%
}
.photo_block .panel ul li.eight-in-line {
    width: 10%
}
.photo_block .panel ul li.seven-in-line {
    width: 12.5%
}
.photo_block .panel ul li.six-in-line {
    width: 16.66666666%
}
.photo_block .panel ul li.five-in-line {
    width: 20%
}
.photo_block .panel ul li.four-in-line {
    width: 20%
}
.photo_block .panel ul li.three-in-line {
    width: 20%
}
.photo_block .panel ul li.two-in-line {
    width: 50%
}
.photo_block .panel ul li.one-in-line {
    width: 100%
}
.photo_block .panel ul li a {
    position: absolute;
    top: 0;
    display: block
}
.photo_block .panel ul li a img {
    float: left;
    max-width: 100%;
    width: 100%;
    box-shadow: #000 0 0 0
}
.photo_block .panel ul li a span {
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    color: #fff;
    width: 100%;
    padding: 4.545454545454546%;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .8) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, .8)));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .7) 100%);
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .8) 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .8) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .8) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#b3000000', GradientType=0)
}
.flipBlock {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative
}
.blackoutBlock {
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .7)
}
.loading-gif {
    display: block;
    position: absolute;
    top: 35%;
    left: 50%;
    margin-left: -85px;
    background-color: #222;
    width: 150px;
    border-radius: 5px;
    padding: 8px;
    color: #fff
}