   
.layer
{
    background:rgba(0, 0, 0, 0.55);
    pointer-events:all;
}

.mask
{
    background: rgba(0, 0, 0, 0.0);
    pointer-events:none;
}

.fullscreen
{
    z-index:10;
    width:100%;
    height:100%;
    position:absolute;
    left:0;right:0;top:0;bottom:0;
}

.layer-topbar-left
{
    z-index:10;
    height:70px;
    width:410px;
    position:absolute;
    left:0;top:0;
}

.layer-topbar-right
{
    z-index:10;
    height:70px;
    position:absolute;
    left:410px;right:0;top:0;
}

.layer-map
{
    z-index:10;
    height:100%;
    position:absolute;
    left:410px;right:0;top:70px;bottom:0;
}

.layer-partialscreen
{
    z-index:10;
    width:100%;
    height:100%;
    position:absolute;
    left:0;right:0;top:0;bottom:0;
}

.layer .container
{
    display:table;
    width:100%;
    height:100%;
}

.layer .content
{
    display:table-cell;
    vertical-align:middle;
}

.layer .content .box
{
    margin:10px;
    padding:10px;
    text-align:center;
    font-size:20px;
    line-height:20px;
    color:#333;
    background:#fff;
    -webkit-box-shadow:4px 4px 0 0 rgba(0, 0, 0, 0.3);
    box-shadow:4px 4px 0 0 rgba(0, 0, 0, 0.3);
    border-top:3px solid #46a546;
}

.layer .content .box-compacttop
{
    padding:5px;
    margin:5px;
    right:0;
    top:0;;
    position:absolute;
    left:0;
}

.layer .content .box-fullscreen
{
    height:calc(100% - 63px);
    height:-webkit-calc(100% - 63px);
}

.layer .content .box h2
{
    margin-bottom:20px;
}

.layer .content .box textarea
{
    background:none;
    border:1px solid #999;
    padding:5px;
    -webkit-appearance: none;
}

.layer .content .box textarea:disabled
{
    background:#fff;border:0;
    cursor:not-allowed;
    pointer-events:none;
}

button.btn-minimize
{
    display:inline;
    position:absolute;
    right:60px;
    height:48px;
}

button.btn-maximize
{
    display:inline;
    position:absolute;
    right:10px;
    height:40px;
}

button.btn-red
{
    margin-top:+10px;
}

.layer .content .box .button-wrapper .button
{
    margin-left:5px;
    text-transform:uppercase;
    font-size:11px;
    padding:4px 15px;
    font-weight:700;min-width:100px;
}

/*
    .box .content .progress
    {
        margin:20px 0 0;
    }
*/
#lightbox{display:none;background:#000;z-index:10;opacity:0.55;position:absolute;left:0;right:0;top:0;bottom:0;}
#loading_img{display:none;position:absolute;z-index:30;color:#333;}

.layer .content .box-fullscreen{
    height: calc(100vh - var(--app-header-offset));
    overflow: auto;
}

.layer .content table
{
    width: 100%;
}
.layer .content table th
{
   padding: 5px;
   background-color: #ddd;
   line-height: 1;
   min-width: 36px;
}
.layer .content table td
{
   padding: 0 5px;
   min-width: 36px;
   font-size: 15px;
   font-weight: normal;
}
.layer .content table td img
{
   width: 40px;
   height: auto;
}
.layer .content .scrollable-area{
    height: calc(100vh - 180px);
    overflow: auto;
    border:#5ebb51 2px solid;
}

@media (max-width: 1023px){
    .layer .content .scrollable-area{
        height: calc(100vh - 140px);
    }
}


/*
 GLOBAL MESSAGING
#globalmessage{
	display:none;position:absolute;width:100%;max-width:1024px;z-index:60;top:47px;left:0;padding:0;margin:0;box-sizing:border-box;border-radius:0;-webkit-border-radius:0;
	p{padding:10px;text-align:center;font-size:16px;}
}
*/