body {
    margin: 0;
}

.blur {
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;
position: relative;
z-index: 1;
padding-top: 50px;
}

.blur-on {
	-webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    opacity: 1;
}

[class*="bbox-"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.bbox-media {
    max-height: 90%;
}


.bbox-in {
    overflow: visible;
}

#s {
    background:#fff; 
    border:1px solid #fff;
    display:none;
    position:relative;
    padding: 15px;
    overflow-y: scroll;
}
 
.bbox-close {
color: #333;
position: absolute;
background: url(https://media.buywithfetch.com/201406280001/bentobox/close.svg) no-repeat 50% 50% rgba(255, 255, 255, 0);
background-size: 29px 29px;
z-index: 9999999999;
top: -32px;
right: -32px;
font-size: 30px;
-webkit-border-radius: 100px;
border-radius: 100px;
/* border: 1px solid #fff; */
padding: 1px;
height: 29px;
width: 29px;
line-height: 29px;
cursor: pointer;
}
 
.bbox-close:hover {
    color:#666;
}
 
.bbox-window {
width: 100%;
height: 100%;
background-color: rgba(0, 43, 73, 0.69);
position: fixed;
z-index: 0;
text-align: center;
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;
opacity: 0;
visibility: hidden;
top: 0px;
}

.bbox-window.bbox-up {
    width:100%;
    height:100%;
    display:block;
    z-index:999999999999;
    opacity:1;
}

.bbox-window.bbox-up.bbox-loaded {
    visibility: visible;
}
 
.bbox-window .bbox-content {
    height:auto;
    margin:auto;
    max-width: 90%;
    max-height: 90%;
    padding:0px;
    display: inline-block;
    position:relative;
    
    /*
    -webkit-transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    -moz-transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    -ms-transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    -o-transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);*/
}

.bbox-window img.bbox-media {
    max-width: 100%;
    max-height: 90%;
    border: 1px solid #fff;
}

.bbox-window iframe {
    width: 100%;
    height: 100%;
}

.bbox-window iframe.bbox-video {
    border: 1px solid #fff;
}

.bbox-html-window {
    line-height: 1;
	border: 1px solid #fff;
	background:#fff;
}
.bbox-window .video-container {
    margin:5% 10% 15% 10%;
    -webkit-transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    -moz-transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    -ms-transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    -o-transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    transition: all 300ms cubic-bezier(0.860, 0.000, 0.070, 1.000);
    
}
 
.bbox-up .video-container {
    display:block;
}
 
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
 
.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 82%;
}