.grid-counter {
    line-height: 34px;
    font-size: 14px;
}

.grid-date,
.grid-datetime,
.grid-time {
    white-space: nowrap;
}

.crud-results .thumbnail {
    margin-bottom: 0;
    height: 100px;
    width: 100px;
    display: block;
    box-sizing: content-box;
    position: relative;
    background: url('../../../images/canvas.png');
}

.crud-results .thumbnail a > img,
.crud-results .thumbnail > img {
    max-width: 100px !important;
    max-height: 100px;
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.crud-results .thumbnail .fa {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 1em;
    height: 1em;
}

.crud-results .thumbnail img[src$="loader.svg"] {
    width: 40px;
    height: 40px;
}

.crud-results .grid-actions .btn-toolbar {
    float: right;
}

.grid-actions .btn {
    margin-left: -1px;
}

.grid-actions .btn-group > .btn {
    float: none;

    border: 1px solid #ddd;
}

.grid-actions .btn-group {
    vertical-align: middle;
    white-space: nowrap;
    font-size: 0;
}

.grid-actions .btn-group .btn.disabled {
    opacity: 1;
}

.grid-actions .btn-group .btn.disabled .fa {
    opacity: 0.4;
}

.grid-actions .btn-group .separator {
    display: inline-block;
    float: left;
    height: 18px;
    width: 1px;
    background: #ccc;
    position: relative;
    top: 6px;
    left: -1px
}

.rwd-table .table-rwd-label,
.rwd-table .table-value {
    width: 100%;
    display: inline-block;
}

.rwd-table .table-rwd-label {
    display: none;
}

.rwd-table tfoot tr {
    background-color: #fff;
}

.grid-counter .table-perpage {
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #ddd;
}

.grid-counter .table-perpage .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.crud-tiles {
    overflow-x: hidden;
}

.crud-tiles .sortable_placeholder {
    float: left;
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
}

.crud-tiles .table-rwd-label,
.crud-tiles .table-value {
    display: inline-block;
    float: left;
    padding: 4px 9px;
    overflow: hidden;
}

.crud-tiles .table-rwd-label {
    text-align: right;
    width: 40%;
}

.crud-tiles .table-value {
    width: 60%;
}

.crud-tiles .rwd-table-hidden {
    display: none;
}

.crud-tiles .grid-actions {
    text-align: center;
}

.crud-tiles .grid-actions .btn-group {
    margin-left: 0;
}

.crud-tiles .panel-heading {
    line-height: 18px;
}

.crud-tiles .panel-heading .lp-cell {
    display: inline-block;
    margin-top: 6px;
}

.crud-footer {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
}

.crud-tile-image {
    text-align: center;
}

.filter-grid .btn {
    float: none;
    margin-top: 26px;
}

@media screen and (min-width: 768px) {
    .rwd-table .table-value-image {
        text-align: center;
        width: 100%;
        display: block;
    }

    .rwd-table .table-value-right {
        text-align: right;
    }

    .table.table-crud > tbody > tr > td {
        padding: 10px;
    }

    .crud-tiles .sortable_placeholder {
        width: calc(50% - 30px);
    }
}

@media screen and (min-width: 992px) {
    .crud-tiles .sortable_placeholder {
        width: calc(33.33333333% - 30px);
    }
}

@media screen and (min-width: 1200px) {
    .crud-tiles .sortable_placeholder {
        width: calc(25% - 30px);
    }
}

@media screen and (max-width: 767px) {
    table.table-bordered.rwd-table tbody td {
        padding: 0;
        border: 0;
        background: #fff;
    }

    table.table-bordered.rwd-table tbody td.lp-cell {
        padding: 10px 0;
        background: #f5f5f5;
        text-align: center;
    }

    .rwd-table .table-rwd-label,
    .rwd-table .table-value {
        display: inline-block;
        float: left;
        padding: 4px 9px;
        overflow: hidden;
    }

    .rwd-table .table-rwd-label {
        text-align: right;
        width: 40%;
    }

    .rwd-table .table-value {
        width: 60%;
    }

    .rwd-table .rwd-table-hidden {
        display: none;
    }

    .rwd-table .grid-actions {
        text-align: center;
    }

    .rwd-table .grid-actions .btn-toolbar {
        float: none;
        margin: 0 auto;
        display: inline-block;
    }

    .rwd-table .grid-actions .btn-group {
        margin-left: 0;
    }

    /*rwd table */
    .rwd-table thead {
        display: none;
    }

    .rwd-table,
    .rwd-table td,
    .rwd-table tr,
    .rwd-table tbody,
    .rwd-table tfoot {
        display: block;
        float: left;
        width: 100%;
        border: 0;
        background: none;
    }

    .rwd-table.table-bordered {
        background: none;
    }

    .rwd-table tbody tr {
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }

    .rwd-table .rwd-table-heading-cell {
        text-align: center;
        font-weight: bold;
    }

    .grid-counter {
        float: left;
        width: 100%;
    }

    .grid-counter .table-count,
    .grid-counter .table-perpage {
        width: 100%;
        text-align: center;
    }

    .grid-counter .table-perpage {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .grid-pagination {
        float: left;
        width: 100%;
    }

    .grid-pagination .pagination-wrapper {
        margin: 10px 0 0;
    }
}
