.oopwindow-back{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;   
}

.oopwindow-dialog{    
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 5px;
    border-color: #2a8cef;
    min-width: 350px;
    position: fixed;
    z-index: 999;   
    transform-origin: center center;
    transform: translateX(-50%) translateY(-50%);
    transition: 400ms;
    -webkit-box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.2);
    top: 50vh;
    left: 50vw;
    max-height: 100%;
    display: inline;
    width: 50vw;
}

.maxHeight{
    height: 100% !important;
}

.withfooter .maxHeight{
    padding-bottom: 20px;
}

.withheader .maxHeight{
    height: 95%;
}

.oopwindow-animation-flip{    
    opacity:0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-50%) rotateY(-180deg);
}

.oopwindow-animation-default{    
    visibility: hidden;
}

.oopwindow-animation-top{
    top: -100vh;
    left: 50vw;
}

.oopwindow-animation-left{
    top: 50vh;
    left: -100vw;
}

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.oopwindow-animation-fadeIn{
    visibility: hidden;
    opacity:0;  /* make things invisible upon start */
    -webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
    -moz-animation:fadeIn ease-in 1;
    animation:fadeIn ease-in 1;

    -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;

    -webkit-animation-duration:0.5s;
    -moz-animation-duration:0.5s;
    animation-duration:0.5s;
}


.oopwindow-visible-top {
    top: 50vh;
}

.oopwindow-visible-left {
    left: 50%;
}

.oopwindow-visible-flip{
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) rotateY(0deg);
}

.oopwindow-visible-default{
    visibility: visible;
}

.oopwindow-visible-fadeIn{
    visibility: visible;
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.oop-window-fullScreen{
    object-fit: contain;
    position: fixed !important;
    top: 0px !important;
    right: 0px !important;
    bottom: 0px !important;
    left: 0px !important;
    box-sizing: border-box !important;
    min-width: 0px !important;
    max-width: none !important;
    min-height: 0px !important;
    max-height: none !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    margin: 0px !important;
}

.oopwindow-resize{
    resize: both;
    overflow: auto;   
}

.oopwindow-header{   
    float: left;
    border-bottom: 1px solid #2a8cef73;
    padding: 10px 15px 5px 15px;
    top: 0px;
    width: 100%;
    min-height: 40px;
    height:5%;

}

.oopwindow-dialog.withfooter{    
    padding-bottom: 55px;
}
.oopwindow-body{ 
    float: left;
    padding: 10px;
    overflow: auto;
    width: 100%;
    height: 100%;
}

.withheader .oopwindow-body{
    height: 95%;
}

.oopwindow-footer{        
    border-top: 1px solid #2a8cef73;
    padding: 5px 15px 5px 15px; 
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 50px;
    background-color: white;
}

.oopwindow-headerbtn{
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 2.9rem;
    font-weight: 700;
    line-height: 1;
    color: #2a8cef73;
    text-shadow: 0 1px 0 #fff;
    cursor: pointer;
    text-decoration: none;
    text-transform: none;
}

.oopwindow-headerbtn:hover {
    text-decoration: none;
    color: #23527c;
}

.oopwindow-footer .btn{
    float: right;
    margin: 5px;
    min-width: 70px;
    border-color: #2a8cef73;
}


.oopwindow-dialog .row{
    margin-left: 0;
    margin-right: 0;
}

.oopwindow-dialog .oopwindow-header h3 {
    margin: 0 ;
}


