.photo-modal {
    background-color: #000;
    background-color: rgba(0, 0, 0, .85);
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
    z-index: 9999
}

.photo-modal:before {
    height: 0
}

.photo-modal button {
    background: 0 0;
    border: 0;
    cursor: pointer;
    height: 100%;
    outline: 0;
    position: absolute;
    top: 0;
    width: 75px;
    height: 100%;
    z-index: 3
}

.photo-modal .modal-content {
    box-shadow: none;
    border: none
}

.photo-modal .prev-btn {
    left: 0;
    font-size: 32px;
    color: #fff
}

.photo-modal .next-btn {
    right: 0;
    font-size: 32px;
    color: #fff
}

.modal-table {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%
}

.modal-cell {
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: middle;
    padding: 50px
}

.photo-modal .carousel-chevron {
    background: 0 0;
    border: 0;
    cursor: pointer;
    height: 100%;
    outline: 0;
    position: absolute;
    top: 0;
    width: 75px;
    height: 100%;
    z-index: 3
}

.photo-modal .modal-content {
    background-color: transparent;
    height: 100%;
    max-width: 100%;
    -webkit-transition: max-height .5s;
    -moz-transition: max-height .5s;
    -o-transition: max-height .5s;
    transition: max-height .5s
}

.photo-modal .modal-close-btn {
    color: #fff;
    font-size: 24px;
    padding-bottom: 5px;
    position: fixed;
    right: 40px;
    top: 15px;
    z-index: 4;
    cursor: pointer
}

.photo-modal .slide-images {
    position: relative;
    height: 100%
}

.photo-modal li.active {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    z-index: 2
}

.photo-modal .slide-image {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
    z-index: 1
}

.photo-modal .img-box {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 15%;
    bottom: 15%;
    right: 0;
    left: 0;
    cursor: pointer;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -ms-background-size: contain;
    -o-background-size: contain;
    background-size: contain
}

.text-center {
    text-align: center
}

.slide-media-caption {
    overflow: hidden;
    padding-bottom: 0;
    z-index: 2
}

.media-caption {
    padding: 25px 15px 15px;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    background-image: -webkit-linear-gradient(transparent, rgba(0, 0, 0, .8));
    background-image: linear-gradient(transparent, rgba(0, 0, 0, .8));
    filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#CC000000', GradientType=0);";
    color: #fff;
    text-align: center;
    z-index: 99999
}

.slide-caption-viewport {
    margin-bottom: 24px;
    overflow: hidden
}

.slide-caption-container {
    margin: 0 auto;
    width: 90%;
    position: relative;
    top: 0;
    -webkit-transition: top .2s;
    -moz-transition: top .2s;
    -o-transition: top .2s;
    transition: top .2s
}

.slide-caption-container.collapsed {
    top: 64px
}

.text-left {
    text-align: left
}

.text-right {
    text-align: right
}

.thumb-viewport {
    position: relative;
    overflow: hidden;
    height: 64px
}

.thumb-slide-container {
    position: absolute;
    width: 4000px
}

.thumb-slide-panel {
    position: absolute;
    -webkit-transition: left .3s ease-in-out;
    -moz-transition: left .3s ease-in-out;
    -o-transition: left .3s ease-in-out;
    transition: left .3s ease-in-out
}

.thumb-slide-panel li {
    background: #000
}

.pull-left {
    float: left;
    margin-left: 10px
}

.photo-modal .media-photo {
    background-color: transparent
}

.media-photo {
    opacity: .5;
    filter: alpha(opacity=50);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    overflow: hidden
}

.media-photo.active, .media-photo:hover {
    opacity: 1;
    filter: alpha(opacity=100)
}

.thumb-viewport img {
    height: 64px
}

.collapsed {
    top: 64px
}