@charset "UTF-8";
.rinphotos-gallery,
.rinphotos-gallery>.slides>.slide>.slide-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -moz-backface-visibility: hidden;
}

.rinphotos-gallery>.slides>.slide>.slide-content {
    margin: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    opacity: 1;
}

.rinphotos-gallery {
    position: fixed;
    z-index: 999999;
    overflow: hidden;
    background: #fff;
    opacity: 0;
    display: none;
    direction: ltr;
    -ms-touch-action: none;
    touch-action: none;
}

.rinphotos-gallery-carousel {
    position: relative;
    z-index: auto;
    margin: 1em auto;
    padding-bottom: 56.25%;
    box-shadow: 0 0 10px #000;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

.rinphotos-gallery-display {
    display: block;
    opacity: 1;
}

.rinphotos-gallery>.slides {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.rinphotos-gallery-carousel>.slides {
    position: absolute;
}

.rinphotos-gallery>.slides>.slide {
    position: relative;
    float: left;
    height: 100%;
    text-align: center;
    -webkit-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -ms-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -o-transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.rinphotos-gallery,
.rinphotos-gallery>.slides>.slide>.slide-content {
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -ms-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

.rinphotos-gallery>.slides>.slide-loading {
    background: url(../images/loading.gif) center no-repeat;
    background-size: 64px 64px;
}

.rinphotos-gallery>.slides>.slide-loading>.slide-content {
    opacity: 0;
}

.rinphotos-gallery>.slides>.slide-error {
    background: url(../images/error.png) center no-repeat;
}

.rinphotos-gallery>.slides>.slide-error>.slide-content {
    display: none;
}

.rinphotos-gallery>.prev,
.rinphotos-gallery>.next {
    position: absolute;
    top: 50%;
    left: 0;
    width: 50px;
    height: 80px;
    line-height: 80px;
    margin-top: -40px;
    font-weight: 100;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    opacity: 0.5;
    cursor: pointer;
    display: none;
    color: #000;
    font-size: 40px;
    text-align: center;
}

.rinphotos-gallery>.prev {}

.rinphotos-gallery>.next {
    left: auto;
    right: 0;
}

.rinphotos-gallery>.prev i,
.rinphotos-gallery>.next i {
    font-size: inherit;
    color: inherit;
}

.rinphotos-gallery>.close,
.rinphotos-gallery>.title {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
    color: #333;
    display: none;
    font-weight: 400;
    background-color: rgba(255, 255, 255, .5);
}

.rinphotos-gallery>.title {
    left: 50% !important;
    right: auto !important;
    padding: 5px 12px;
    line-height: 20px;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    color: #111;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-transform: translateX(-50%) !important;
    -ms-transform: translateX(-50%) !important;
    -o-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
}

@media screen and (max-width: 400px) {
    .rinphotos-gallery-controls>.title {
        left: 0 !important;
        right: 0 !important;
        text-align: center;
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        -o-transform: none !important;
        transform: none !important;
        white-space: pre-wrap;
        line-height: 1.4em;
        font-size: 12px;
    }
}

.rinphotos-gallery>.close {
    top: 10px;
    padding: 7px 10px 2px 10px;
    right: 15px;
    left: auto;
    margin: -15px;
    font-size: 30px;
    text-decoration: none;
    cursor: pointer;
    bottom: auto;
}

.rinphotos-gallery>.play-pause {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 15px;
    height: 15px;
    background: url(../images/play-pause.png) 0 0 no-repeat;
    cursor: pointer;
    opacity: 0.5;
    display: none;
}

.rinphotos-gallery-playing>.play-pause {
    background-position: -15px 0;
}

.rinphotos-gallery>.prev:hover,
.rinphotos-gallery>.next:hover,
.rinphotos-gallery>.close:hover,
.rinphotos-gallery>.play-pause:hover {
    color: #333;
    opacity: 1;
}

.rinphotos-gallery-controls>.prev,
.rinphotos-gallery-controls>.next,
.rinphotos-gallery-controls>.close,
.rinphotos-gallery-controls>.title,
.rinphotos-gallery-controls>.play-pause {
    display: block;
    /* Fix z-index issues (controls behind slide element) on Android: */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

.rinphotos-gallery-single>.prev,
.rinphotos-gallery-left>.prev,
.rinphotos-gallery-single>.next,
.rinphotos-gallery-right>.next,
.rinphotos-gallery-single>.play-pause {
    display: none;
}

.rinphotos-gallery>.slides>.slide>.slide-content,
.rinphotos-gallery>.prev,
.rinphotos-gallery>.next,
.rinphotos-gallery>.close,
.rinphotos-gallery>.play-pause {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body:last-child .rinphotos-gallery>.slides>.slide-error {
    background-image: url(../images/error.svg);
}

body:last-child .rinphotos-gallery>.play-pause {
    width: 20px;
    height: 20px;
    background-size: 40px 20px;
    background-image: url(../images/play-pause.svg);
}

body:last-child .rinphotos-gallery-playing>.play-pause {
    background-position: -20px 0;
}

*+html .rinphotos-gallery>.slides>.slide {
    min-height: 300px;
}

*+html .rinphotos-gallery>.slides>.slide>.slide-content {
    position: relative;
}