/*
 * Boxer v1.10.3 - 2014-01-03
 * A jQuery plugin for displaying images, videos or content in a modal overlay. Part of the Formstone Library.
 * http://www.benplum.com/formstone/boxer/
 *
 * Copyright 2014 Ben Plum; MIT Licensed
 */

.boxer-open {
    overflow: hidden !important;
}

iframe {
    border: none;
    padding: 0;
    background-color: transparent;
}

#boxer,
#boxer .boxer-container,
#boxer .boxer-content,
#boxer-overlay {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

#boxer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    opacity: 1;
    z-index: 100000;
}

#boxer {
    position: absolute;
    z-index: 100001;
}

#boxer.mobile {
    background: rgba(0,0,0,.9);
    height: 100vh;
}

#boxer.inline {
    padding: 30px;
}

#boxer .boxer-close {
    font-family: Meiryo, sans-serif;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10002;
    width: 53px;
    height: 53px;
    background: #0054A7;
    display: flex;
    justify-content: center;
    align-content: center;
    font-size: 28px;
    color: #fff;
    line-height: 53px;
    cursor: pointer;
}

#boxer .boxer-container {
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 100001;
    zoom: 1;
}

#boxer .boxer-content {
    padding: 0;
    width: 10000px;
}

#boxer .boxer-image {
    float: left;
}

#boxer .boxer-video {
    height: 100%;
    width: 100%;
}

#boxer .boxer-iframe {
    float: left;
    height: 100%;
    overflow: auto;
    width: 100%;
}

#boxer .boxer-meta {
    clear: both;
}

#boxer.mobile .boxer-meta {
    padding: 0 50px;
}


#boxer .boxer-arrow {
    position: absolute;
    top: 0;
    width: 53px;
    height: 53px;
    background-color: #000;
    background-repeat: no-repeat;
    background-size: 12.5px;
    background-position: center;
    cursor: pointer;
}

#boxer .boxer-arrow.previous {
    left: -53px;
    background-image: url(../img/icon_lightbox_prev.png);
}

#boxer .boxer-arrow.next {
    right: -53px;
    background-image: url(../img/icon_lightbox_next.png);
}

#boxer .boxer-arrow.disabled {
    display: none;
}

#boxer .boxer-position {
    display: none!important;
    color: #999;
    font-size: 11px;
    margin: 0;
    padding: 15px 10px 5px;
}

#boxer .boxer-caption p {
    margin: 0;
    font-size: 16px;
    color: #fff;
}

#boxer .boxer-caption.gallery p {
    padding-top: 0;
}

#boxer.loading .boxer-container {
    background: #fff url(jquery.fs.boxer-loading.gif) no-repeat center;
}

@media screen and (min-width: 980px) {
    #boxer .boxer-close:hover {
        background-position: -70px -20px;
    }

    #boxer .boxer-arrow {
        opacity: 1;
    }

    #boxer .boxer-content:hover .boxer-arrow {
        opacity: 0.75;
    }

    #boxer .boxer-content .boxer-arrow:hover {
        opacity: 1;
    }

    #boxer .boxer-content:hover .boxer-arrow.disabled {
        opacity: 0;
        cursor: default !important;
    }

    #boxer .boxer-caption p {
        font-size: 14px;
    }
}
