.jspopup{
    z-index: 999999;
}

.jspopup .hideMask{
    background-color: rgba(0,0,0,0) !important;
    pointer-events: none !important;
}

.jspopup .unselectable{
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.jspopup .top{
    top: 0;
}

.jspopup .bottom{
    bottom: 0;
}

.jspopup .left{
    left: 0;
}

.jspopup .right{
    right: 0;
}

.jspopup .frame.top, .jspopup .frame.bottom{
    left: 0;
}

.jspopup .frame.left, .jspopup .frame.right{
    top: 0;
}

.jspopup div.overlay{
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 23, 23, 0.9);
    z-index: 999999;
}

.jspopup div.main-container{
    min-height: 300px;
    min-width: 300px;
    max-width: 100% !important;
    max-height: 100% !important;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: inline-block;
    pointer-events: all;
}

.jspopup div.sub-container{
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
    background-color: #333;
    padding: 32px 10px 10px 10px;
    box-shadow: 0 10px 25px 3px rgba(0,0,0,0.75);
    border: #000000 solid 1px;
}

.jspopup div.header{
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    cursor: move;
}

.jspopup div.caption{
    font-size: 16px;
    font-weight: bold;
    color: white;
    line-height: 32px;
    margin: 0 140px 0 10px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
}

.jspopup div.jspopup-controls{
    position: absolute;
    top: 0;
    right: 10px;
    display: inline-block;
    white-space: nowrap;
}

.jspopup div.jspopup-control{
    margin-left: -5px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    background-color: #e8e8e8;
    border-right: #000000 solid 1px;
    border-left: #000000 solid 1px;
    border-bottom: #000000 solid 1px;
    padding: 3px 15px 3px 15px;
    font-size: 14px;
    color: black;
    font-weight: bold;
}

.jspopup div.minimize{
    border-bottom-left-radius: 5px;
}

.jspopup div.close{
    border-bottom-right-radius: 5px;
}

.jspopup div.minimize:hover, .jspopup div.maximize:hover{
    background-color: #2a2a2a;
    color: white;
}

.jspopup div.close:hover{
    background-color: #d92020;
    color: white;
}




.jspopup div.content-container{
    box-sizing: border-box;
    background-color: #fff;
    height: 100%;
    width: 100%;
    border: #000000 solid 1px;
    position: relative;
    overflow: auto;
    text-align: center;
    padding: 0;
    margin: 0;
    display: block;
}

.jspopup div.content{
    padding: 0;
    margin: 0;
    display: inline-block;
    box-sizing: border-box;
    text-align: left;
    min-height: 0;
}

.jspopup div.frame{
    z-index: 2;
    padding: 0;
    margin: 0;
    position: absolute;
}

.jspopup div.frame.top, .jspopup div.frame.bottom{
    height: 5px;
    width: 100%;
    cursor: ns-resize;
}

.jspopup div.frame.left, .jspopup div.frame.right{
    height: 100%;
    width: 5px;
    cursor: ew-resize;
}

.jspopup div.corner{
    z-index: 3;
    padding: 0;
    margin: 0;
    position: absolute;
    height: 10px;
    width: 10px;
}

.jspopup div.corner.top.left, .jspopup div.corner.bottom.right{
    cursor: nwse-resize;
}

.jspopup div.corner.top.right, .jspopup div.corner.bottom.left{
    cursor: nesw-resize;
}





