#joverlay{
    position: absolute;
    background:rgba(0,0,0,0.6);
    width: 100%;
    height: 800px;
    z-index: 2000;
    opacity: 0;
}


#jwindow{
    max-width:700px;
    background:#fff;
    margin:auto;
    margin-top:30%;
    -webkit-box-shadow:  3px 3px 5px 0px rgba(0, 0, 0, 0.3);
    box-shadow:  3px 3px 5px 0px rgba(0, 0, 0, 0.3);
    padding: 10px;
    position: absolute;
    opacity: 0;
    
}

#jwindow.dofullscreen{
    position: fixed;
    top: 0;
    max-width: 100%;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    background:rgba(0,0,0,0.6);
    padding: 30px;
}


#jwindow.dofullscreen img.fs-portrait{
    width: 100%;
    height: auto;
}

#jwindow.dofullscreen img.fs-landscape{
    width: auto;
    height: 85%;
}


#jloader{
    margin: auto;
    height: 50px;
    background: url(../images/jbox/loader.gif) center no-repeat;
    position: absolute;
    width: 100%;
}


#jcontent{
    opacity: 1;
    overflow: hidden;
}

#L2jcontent{
    float: left;
}


.jclose-btn{
    background: url(../images/jbox/close-btn.png) top no-repeat;
    height: 40px;
    width: 40px;
    position: absolute;
    
    z-index: 3000;
    top:0;
    right: 0;
}

.jback-btn{
    height: 40px;
    width: 40px;
    position: absolute;
    opacity: 0;
    z-index: 3000;
    top:-20px;
    right: 20px;
}

.jclose-btn:hover, .jback-btn:hover{
    opacity: 0.8;
    cursor: pointer;
}

.jscroll{
    overflow-y: scroll;
    border: 1px solid #eee;
}

.jrounded-corners{
   /* -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;*/
}

.controls div{
text-align:center;
margin-right:-110px;
}