.ui-widget-overlay{
    background: rgba(0, 0, 0, .3);
    opacity: 1;
}

.a31-table .table-inner{
    font-size: 14px;
    font-family: sans-serif;
    line-height: 1.2em;
}

.a31-table .columns-display-controls{
    display: none;
}

    .a31-table .columns-display-controls.active{
        display: block;
    }

    .a31-table .columns-display-toggle{
        display: inline-block;
        padding: 5px;
        margin: 10px 0;
    }

        .a31-table .columns-display-toggle:before{
            content: "+";
            margin-right: 10px;
        }

    .a31-table .columns-display-controls label{
        display: inline-block;
        padding: 5px;
    }

.a31-table .table-scroller{
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
}

.a31-table .table-inner table{
    
    margin-top: 20px;
    width: auto;
}

    .a31-table .table-inner table tr td:first-child{
        width: 50px;
    }
/* 
        .a31-table .table-inner table tr th{

        } */

        .a31-table .table-inner table tr th.th-col{
            min-width: 100px;
            max-width: 100%;
            white-space: nowrap;
        }

        .a31-table .table-inner table tr th[data-col="action-approval"]{
            min-width: 200px;
        }

            .a31-table .table-inner table tr td label{
                display: block;
            }

        .a31-table .table-inner table tr th.th-col:first-child{
            min-width: auto;
        }

        .a31-table .table-inner table tr td[data-column="action-approval"]{
            vertical-align: top;
        }

.a31-table .table-inner .paginator{
    margin: 20px 0;
}

.a31-table .table-inner .paginator ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

    .a31-table .table-inner .paginator ul li{
        display: inline-block;
    }

        .a31-table .table-inner .paginator .pageholder{
            letter-spacing: 0.3em;
            margin: 0 10px;
        }

    .a31-table .table-inner .paginator a.go-to-page{
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        display: inline-block;
        color: #000;
        border: 1px solid #000;
    }

        .a31-table .table-inner .paginator a.go-to-page.active{
            background: #000;
            color: #fff;
        }

.a31-table .table-inner .action{
    display: inline-block;
    font-size: 14px;
    padding: 5px;
}

.a31-table .a31-modal, .a31-form-modal{
    z-index: 999;
    display: none;
    flex: auto;
    flex-direction: column;
    font-size: 14px;
    font-family: sans-serif;
    position: fixed;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    background: #fff;
    box-shadow: 0 0 500px #555;
}

    .a31-table .a31-modal.active, .a31-form-modal.active{
        display: flex;
    }

    .a31-table .a31-modal .modal-header, .a31-form-modal .modal-header{
        padding: 10px;
        background: #555;
        color: #fff;
        font-size: 20px;
        flex: none;
    }

        .a31-table .a31-modal .modal-header-inner, .a31-form-modal .modal-header-inner{
            display: table-cell;
            width: 100%;
        }

        .a31-table .a31-modal .modal-header-close, .a31-form-modal .modal-header-close{
            display: table-cell;
            width: 30px;
        }

        .a31-table .a31-modal .modal-header-do-close, .a31-form-modal .modal-header-do-close{
            color: #fff;
            text-decoration: none;
            padding: 5px;
        }

    .a31-table .a31-modal .modal-body, .a31-form-modal .modal-body{
        padding: 10px;
        display: flex;
        flex: auto;
        overflow-y: auto;
    }

    .a31-table .a31-modal .modal-body-inner, .a31-form-modal .modal-body-inner{
        width: 100%;
    }

        .a31-table .a31-modal input{
            font-size: 14px;
        }

        .a31-table .a31-modal iframe{
            width: 100%;
            height: 100%;
        }

    .a31-table .a31-modal .modal-footer{
        flex: none;
        padding: 10px;
    }

.a31-table .search-toggle{
    display: inline-block;
    padding: 5px;
    margin: 10px 0;
}

    .a31-table .search-toggle:before{
        content: "+";
        margin-right: 10px;
    }

.a31-table .search{
    display: none;
}

    .a31-table .search.active{
        display: block;
    }

    .a31-table .search ul.columns{
        list-style: none;
        margin: 0 0 20px 0;
        padding: 0;
    }

[data-modal="notes"] table th{
    text-align: left;
}

[data-modal="notes"] textarea{
    width: 100%;
}