table.custom_view .pagination {
    margin: 0;
    float: right;
}

table.custom_view input[name="show_records"] {
    position: relative;
    margin-left: -1px;
    line-height: 1.42857143;
    min-height: 34px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    text-align: center;
}

table.custom_view .pagination input {
    position: relative;
    float: left;
    margin-left: -1px;
    line-height: 1.42857143;
    min-height: 34px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    max-width: 40px;
    text-align: center;
}

table.custom_view .records {
    text-align: center;
    vertical-align: middle !important;
}

table.custom_view thead th .sortable {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

table.custom_view thead input[name="id"] {
    width: 75px;
    padding: 5px;
}

table.custom_view thead .sortBox {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
}

table.custom_view thead .sortBox .btn {
    padding: 0px 3px;
}

table.custom_view thead #column_visibility {
    margin-left: 5px;
}

table.custom_view thead th {
    vertical-align: middle;
}
table.custom_view thead th .input-group.date input{
    min-width: 100px;
}
table.custom_view thead th .input-group.date .bootstrap-datetimepicker-widget{
    z-index: 1000000;
}
table.custom_view thead .input-group.date .input-group-addon {
    padding: 3px;
}

table.custom_view tr th:first-of-type,
table.custom_view tr td:first-of-type {
    max-width: 27px;
}
table.custom_view tr th:last-of-type,
table.custom_view tr td:last-of-type {
    max-width: 120px;
}