/* wallery.css 1.0 */
#wallery_bg {
    display: none;
    background-color: black;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99990;
    opacity: 0.8;
}

#wallery_box {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99995;
}

#wallery_relative {
    position: relative;
}

#wallery_image_box {
    position: relative;
    display: none;
}

#wallery_image {
    text-align: center;
}

#wallery_image img {
    margin: 0 auto;
}

#wallery_image iframe {
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 99999;
    width: 90%;
    height: 90%;
    padding-top: 2.5%;
}

#wallery_text {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    bottom: 0;
    color: #FFFFFF;
    font-size: 12px;
    left: 0;
    padding: 5px 0;
    position: absolute;
    width: 100%;
}

#wallery_title {
    padding: 0 20px;
}

#wallery_num {
    float: right;
    font-weight: bold;
    padding: 0 20px 0 0;
}

#wallery_loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    text-align: center;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

#wallery_close {
    position: absolute;
    top: 2%;
    right: 2%;
    cursor: pointer;
    z-index: 99999;
    padding: 10px;
    opacity: 0.8;
    background-image: url('wallery_empty.png');
}

#wallery_close:hover {
    opacity: 1;
}

#wallery_close .img {
    background-image: url('close.svg');
    display: block;
    width: 32px;
    height: 32px;
}

#wallery_prev {
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
    z-index: 99998;
    height: 100%;
    width: 50%;
    text-align: left;
    background-image: url('wallery_empty.png');
    opacity: 0.6;
}

#wallery_prev:hover {
    opacity: 1;
}

#wallery_prev img, #wallery_prev .img {
    position: absolute;
    top: 50%;
    left: 1%;
    transform: translateY(-50%);
}

#wallery_prev .img {
    background-image: url('prev.svg');
    display: block;
    width: 21px;
    height: 40px;
}

#wallery_next {
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    z-index: 99998;
    height: 100%;
    width: 50%;
    text-align: right;
    background-image: url('wallery_empty.png');
    opacity: 0.6;
}

#wallery_next:hover {
    opacity: 1;
}

#wallery_next img, #wallery_next .img {
    position: absolute;
    top: 50%;
    right: 1%;
    transform: translateY(-50%);
}

#wallery_next .img {
	background-image: url('next.svg');
	display: block;
	width: 21px;
	height: 40px;
}

.wallery {
    cursor: url('wallery_cursor_zoom.png'), -moz-zoom-in;
    cursor: url('wallery_cursor_zoom.png'), -webkit-zoom-in;
}

.wallery[href*="//www.youtube.com"], .wallery[href*="//youtu.be"] {
    cursor: url('wallery_cursor_play.png'), -moz-zoom-in;
    cursor: url('wallery_cursor_play.png'), -webkit-zoom-in;
}

.clear {
    float: none;
    clear: both;
}

@media only screen and (max-width: 800px) {
    #wallery_image iframe {
        width: 75%;
    }
}