/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden; -webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0); }
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{ scrollbar-color:  #ffd851 #000; scrollbar-width: thin;}
.shoppopup #cboxLoadedContent{ scrollbar-color:  #fe6867 #FFF; scrollbar-width: thin;}
#cboxLoadedContent::-webkit-scrollbar {
	width:5px;
	background:#000;
}
#cboxLoadedContent::-webkit-scrollbar:horizontal{
	height:5px;
}
#cboxLoadedContent::-webkit-scrollbar-button{
	width:5px;
	height:5px;
	background:#FFF;
}
#cboxLoadedContent::-webkit-scrollbar-piece{
	background:#FFF;
}
#cboxLoadedContent::-webkit-scrollbar-piece:start{
	background:#FFF;
}
#cboxLoadedContent::-webkit-scrollbar-thumb{
	background:#ffd851;
}
#cboxLoadedContent::-webkit-scrollbar-corner{
	background:#FFF;
}
.shoppopup #cboxLoadedContent::-webkit-scrollbar-thumb{
	background:#fe6867;
}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{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.
*/
#cboxOverlay{background-color: rgba(255, 255, 255, 0.8);}
#colorbox{outline:0;}
    #cboxContent{padding: 0;}
    .cardpopup #cboxContent{padding:20px;}
    .shoppopup #cboxContent{padding:20px;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{padding: 0px;border: 0;-webkit-box-shadow: 0px 0px 20px 8px rgba(0,0, 0, 0.37);box-shadow: 0px 0px 20px 8px rgba(0, 0, 0, 0.37);}
        .cardpopup #cboxLoadedContent{padding: 0px;border: 0;border-radius: 20px;-webkit-box-shadow: 0px 0px 10px 8px rgba(0,0, 0, 0.2);box-shadow: 0px 0px 10px 8px rgba(0, 0, 0, 0.2);}
        .shoppopup #cboxLoadedContent{padding: 0px;border: 0;border-radius: 20px;-webkit-box-shadow: 0px 0px 10px 8px rgba(0,0, 0, 0.2);box-shadow: 0px 0px 10px 8px rgba(0, 0, 0, 0.2);background: #fff;}
        #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
        #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
        #cboxLoadingGraphic{background:url(../images/loading.gif) no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
        
        #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
        #cboxPrevious{position:absolute; top:50%; left:36px; margin-top:-34.5px; background:url(../images/prev.svg) no-repeat top left; width:36px; height:69px; text-indent:-9999px;mix-blend-mode:exclusion;}
        #cboxPrevious:hover{background-position:bottom left;}
        #cboxNext{position:absolute; top:50%; right:36px; margin-top:-34.5px; background:url(../images/next.svg) no-repeat top right; width:36px; height:69px; text-indent:-9999px;z-index: 20;mix-blend-mode:exclusion;}
        #cboxNext:hover{background-position:bottom right;}
        #cboxClose{position:absolute; top:0; right:0; display:block; background:url(../images/close.png) no-repeat top center; width:60px; height:60px; text-indent:-9999px; background-size: 100% auto;mix-blend-mode:exclusion;}
        .cardpopup #cboxClose{position:absolute; top:50px; right:50px; display:block; background:url(../images/close.png) no-repeat top center; width:38px; height:38px; text-indent:-9999px;mix-blend-mode:exclusion;}
        .shoppopup #cboxClose{position:absolute; top:40px; right:40px; display:block; background:url(../images/close.png) no-repeat top center; width:80px; height:80px; text-indent:-9999px;mix-blend-mode:exclusion;}
        #cboxClose:hover{background-position:bottom center;}
@media screen and (max-width:767px) {
    #cboxContent{background: url("../images/top/movie_bg.png") left top no-repeat;background-size: 100% 100%;padding: 10% 0 0;}
    #cboxPrevious{position:absolute; top:50%; left:0; margin-top:-34.5px; background:url(../images/prev.svg) no-repeat top left; width:7%; height:0;padding-top:13.5%;background-size:100% auto;mix-blend-mode:exclusion;}
    #cboxNext{position:absolute; top:50%; right:0; margin-top:-34.5px; background:url(../images/next.svg) no-repeat top right; width: 7%; height:0;padding-top:13.5%;background-size:100% auto;mix-blend-mode:exclusion;}
    #cboxClose{position:absolute; top:0; right:5px; display:block; background:url(../images/close.png) no-repeat top center; width:10%; height:0;padding-top:10%; text-indent:-9999px;background-size:100% auto;mix-blend-mode:exclusion;}
    .cardpopup #cboxContent{padding:10px;}
    .cardpopup #cboxLoadedContent{padding: 0px;border: 0;border-radius: 2.08vw;-webkit-box-shadow: 0px 0px 5px 4px rgba(0,0, 0, 0.2);box-shadow: 0px 0px 5px 4px rgba(0, 0, 0, 0.2);background:url(images/cpop_bg_sp.png) no-repeat center center;background-size:100% auto;}
    .cardpopup #cboxClose{position:absolute; top:4vw; right:4vw; display:block; background:url(../images/close.png) no-repeat top center;background-size:100% auto; width:3.02vw; height:3.02vw; text-indent:-9999px;mix-blend-mode:exclusion;}
    .shoppopup #cboxContent{padding:10px;}
    .shoppopup #cboxClose{position:absolute; top:4vw; right:4vw; display:block; background:url(../images/close.png) no-repeat top center; width:10%; height:0;padding-top:10%; text-indent:-9999px;background-size:100% auto;mix-blend-mode:exclusion;}
    #cboxContent{padding: 0;}
}
