/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox_movie,
#cbox_movieOverlay,
#cbox_movieWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
}

#cbox_movieOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cbox_movieMiddleLeft,
#cbox_movieBottomLeft {
    clear: left;
}

#cbox_movieContent {
    position: relative;
}

#cbox_movieLoadedContent {
    overflow: auto;
}

#cbox_movieTitle {
    margin: 0;
}

#cbox_movieLoadingOverlay,
#cbox_movieLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cbox_moviePrevious,
#cbox_movieNext,
#cbox_movieClose,
#cbox_movieSlideshow {
    cursor: pointer;
    border: none;
}

.cbox_moviePhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
}

.cbox_movieIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#colorbox_movie,
#cbox_movieContent,
#cbox_movieLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

/* 
    User Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cbox_movieOverlay {
    background: #000;
}

#colorbox_movie {}

#cbox_movieContent {
    background:transparent; 
}

.cbox_movieIframe {
    background: #fff;
}

#cbox_movieError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cbox_movieLoadedContent {
    margin-top: 45px;
}

#cbox_movieTitle {
    position: absolute;
    bottom: 0px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #999;
}

#cbox_movieCurrent {
    display: none;
}

#cbox_movieSlideshow {
    position: absolute;
    bottom: 0px;
    right: 42px;
    color: #444;
}

#cbox_moviePrevious {
    display: none;
}

#cbox_movieNext {
    display: none;
}

#cboxLoadingOverlay {
    background: url(../image/loading.gif) no-repeat center center;
}

#cbox_movieClose {
    width: 30px;
    height: 45px;
    background: url(../image/btn-close.png) no-repeat 0 0;
    background-size: 100%;
    text-indent: -9999px;
    display: block;
    position: absolute;
    top: 0;
    right: 10px
}

@media screen and (min-width: 320px) {
    #cbox_moviePrevious {
        background: url(../image/chara-arrow-l.png) no-repeat 0 0;
        background-size: 100%;
        left: -10%;
        top: 54%;
        width: 27px;
        height: 37px;
        position: absolute;
        text-indent: -9999px;
        z-index: 100;
    }

    #cbox_movieNext {
        background: url(../image/chara-arrow-r.png) no-repeat 0 0;
        background-size: 100%;
        top: 54%;
        right: -10%;
        width: 27px;
        height: 37px;
        position: absolute;
        text-indent: -9999px;
        z-index: 100;
    }

}

@media screen and (min-width: 380px) {
    #cbox_moviePrevious {
        background: url(../image/chara-arrow-l.png) no-repeat 0 0;
        background-size: 100%;
        left: -10%;
        top: 54%;
        width: 27px;
        height: 37px;
        position: absolute;
        text-indent: -9999px;
        z-index: 100;
    }

    #cbox_movieNext {
        background: url(../image/chara-arrow-r.png) no-repeat 0 0;
        background-size: 100%;
        top: 54%;
        right: -10%;
        width: 27px;
        height: 37px;
        position: absolute;
        text-indent: -9999px;
        z-index: 100;
    }


}

@media screen and (min-width: 470px) {
    #cbox_moviePrevious {
        background: url(../image/chara-arrow-l.png) no-repeat 0 0;
        background-size: 100%;
        left: -10%;
        top: 54%;
        width: 30px;
        height: 64px;
        position: absolute;
        text-indent: -9999px;
        z-index: 100;
    }

    #cbox_movieNext {
        background: url(../image/chara-arrow-r.png) no-repeat 0 0;
        background-size: 100%;
        top: 54%;
        right: -10%;
        width: 30px;
        height: 64px;
        position: absolute;
        text-indent: -9999px;
        z-index: 100;
    }

}

@media screen and (min-width: 540px) {
    #cbox_moviePrevious {
        background: url(../image/chara-arrow-l.png) no-repeat 0 0;
        background-size: 100%;
        left: -10%;
        top: 54%;
        width: 40px;
        height: 60px;
        position: absolute;
        text-indent: -9999px;
        z-index: 100;
    }

    #cbox_movieNext {
        background: url(../image/chara-arrow-r.png) no-repeat 0 0;
        background-size: 100%;
        top: 54%;
        right: -10%;
        width: 40px;
        height: 60px;
        position: absolute;
        text-indent: -9999px;
        z-index: 100;
    }

}

@media screen and (min-width: 640px) {
    #cbox_moviePrevious {
        width: 59px;
        height: 74px;
        background: url(../image/chara-arrow-l.png) no-repeat 0 0;
        background-size: 100%;
        text-indent: -9999px;
        display: block;
        position: absolute;
        top: 50%;
        left: -59px;
        z-index: 100;
        z-index: 100;
    }

    #cbox_movieNext {
        width: 59px;
        height: 74px;
        background: url(../image/chara-arrow-r.png) no-repeat 0 0;
        background-size: 100%;
        text-indent: -9999px;
        display: block;
        position: absolute;
        top: 50%;
        right: -59px;
        z-index: 100;
        z-index: 100;
    }
    


}
