/**
 * @author zhixin wen <wenzhixin2010@gmail.com>
 * version: 1.11.1
 * https://github.com/wenzhixin/bootstrap-table/
 */

.bootstrap-table .table {
    margin-bottom: 0 !important;
    border-bottom: 1px solid #dddddd;
    border-collapse: collapse !important;
    border-radius: 1px;
}

    .bootstrap-table .table:not(.table-condensed),
    .bootstrap-table .table:not(.table-condensed) > tbody > tr > th,
    .bootstrap-table .table:not(.table-condensed) > tfoot > tr > th,
    .bootstrap-table .table:not(.table-condensed) > thead > tr > td,
    .bootstrap-table .table:not(.table-condensed) > tbody > tr > td,
    .bootstrap-table .table:not(.table-condensed) > tfoot > tr > td {
        padding: 8px;
    }

    .bootstrap-table .table.table-no-bordered > thead > tr > th,
    .bootstrap-table .table.table-no-bordered > tbody > tr > td {
        border-right: 2px solid transparent;
    }

        .bootstrap-table .table.table-no-bordered > tbody > tr > td:last-child {
            border-right: none;
        }

.fixed-table-container {
    position: relative;
    clear: both;
    border: 1px solid #dddddd;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

    .fixed-table-container.table-no-bordered {
        border: 1px solid transparent;
    }

.fixed-table-footer,
.fixed-table-header {
    overflow: hidden;
}

.fixed-table-footer {
    border-top: 1px solid #dddddd;
}

.fixed-table-body {
    overflow-x: auto;
    overflow-y: auto;
    height: 100%;
}

.fixed-table-container table {
    width: 100%;
}

.fixed-table-container thead th {
    height: 0;
    padding: 0;
    margin: 0;
    border-left: 1px solid #dddddd;
}

    .fixed-table-container thead th:focus {
        outline: 0 solid transparent;
    }

    .fixed-table-container thead th:first-child {
        border-left: none;
        border-top-left-radius: 4px;
        -webkit-border-top-left-radius: 4px;
        -moz-border-radius-topleft: 4px;
    }

    .fixed-table-container thead th .th-inner,
    .fixed-table-container tbody td .th-inner {
        padding: 4px;
        line-height: 24px;
        vertical-align: top;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fixed-table-container thead th .sortable {
        cursor: pointer;
        background-position: right;
        background-repeat: no-repeat;
        padding-right: 30px;
    }

    .fixed-table-container thead th .both {
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC');
    }

    .fixed-table-container thead th .asc {
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==');
    }

    .fixed-table-container thead th .desc {
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ');
    }

.fixed-table-container th.detail {
    width: 30px;
}

.fixed-table-container tbody td {
    border-left: 1px solid #dddddd;
}

.fixed-table-container tbody tr:first-child td {
    border-top: none;
}

.fixed-table-container tbody td:first-child {
    border-left: none;
}

/* the same color with .active */
.fixed-table-container tbody .selected td {
    background-color: #f5f5f5;
}

.card-view.bs-checkbox {
    text-align: left !important;
}

/*thamu*/
.card-view.bs-button {
    display: inline;
}

.fixed-table-container .bs-checkbox {
    text-align: center;
}

    .fixed-table-container .bs-checkbox .th-inner {
        padding: 8px 0;
    }

.fixed-table-container input[type="radio"],
.fixed-table-container input[type="checkbox"] {
    margin: 0 auto !important;
}

.fixed-table-container .no-records-found {
    text-align: center;
}

.fixed-table-pagination div.pagination,
.fixed-table-pagination .pagination-detail {
    margin-top: 10px;
    margin-bottom: 10px;
}

    .fixed-table-pagination div.pagination .pagination {
        margin: 0;
    }

.fixed-table-pagination .pagination a {
    padding: 6px 12px;
    line-height: 1.428571429;
}

.fixed-table-pagination .pagination-info {
    line-height: 34px;
    margin-right: 5px;
}

.fixed-table-pagination .btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.fixed-table-pagination .dropup .dropdown-menu {
    margin-bottom: 0;
}

.fixed-table-pagination .page-list {
    display: inline-block;
}

.fixed-table-toolbar .columns-left {
    margin-right: 5px;
}

.fixed-table-toolbar .columns-right {
    margin-left: 5px;
}

.fixed-table-toolbar .columns label {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
}

.fixed-table-toolbar .bs-bars,
.fixed-table-toolbar .search,
.fixed-table-toolbar .columns {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 34px;
}

.fixed-table-pagination li.disabled a {
    pointer-events: none;
    cursor: default;
}

.fixed-table-loading {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background-color: #fff;
    text-align: center;
}


.fixed-table-body .card-view .title {
    font-weight: bold;
    display: inline-block;
    width: 30%;
    text-align: left !important;
}
/*thamu*/
@media(max-width:990px) {
    .fixed-table-body .card-view .title {
        width: 100%;
        margin-top: 10px;
    }
}


/* support bootstrap 2 */
.fixed-table-body thead th .th-inner {
    box-sizing: border-box;
}

.table th, .table td {
    vertical-align: middle;
    box-sizing: border-box;
}

.fixed-table-toolbar .dropdown-menu {
    text-align: left;
    max-height: 300px;
    overflow: auto;
}

.fixed-table-toolbar .btn-group > .btn-group {
    display: inline-block;
    margin-left: -1px !important;
}

    .fixed-table-toolbar .btn-group > .btn-group > .btn {
        border-radius: 0;
    }

    .fixed-table-toolbar .btn-group > .btn-group:first-child > .btn {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .fixed-table-toolbar .btn-group > .btn-group:last-child > .btn {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

.bootstrap-table .table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid #ddd;
}

/* support bootstrap 3 */
.bootstrap-table .table thead > tr > th {
    padding: 0;
    margin: 0;
}

.bootstrap-table .fixed-table-footer tbody > tr > td {
    padding: 0 !important;
}

.bootstrap-table .fixed-table-footer .table {
    border-bottom: none;
    border-radius: 0;
    padding: 0 !important;
}

.bootstrap-table .pull-right .dropdown-menu {
    right: 0;
    left: auto;
}

/* calculate scrollbar width */
p.fixed-table-scroll-inner {
    width: 100%;
    height: 200px;
}

div.fixed-table-scroll-outer {
    top: 0;
    left: 0;
    visibility: hidden;
    width: 200px;
    height: 150px;
    overflow: hidden;
}

/* for get correct heights  */
.fixed-table-toolbar:after, .fixed-table-pagination:after {
    content: "";
    display: block;
    clear: both;
}

/*Table reorder*/

.reorder_rows_onDragClass td {
    background-color: #eee;
    -webkit-box-shadow: 11px 5px 12px 2px #333, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
    -webkit-box-shadow: 6px 3px 5px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
    -moz-box-shadow: 6px 4px 5px 1px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
    -box-shadow: 6px 4px 5px 1px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
}

    .reorder_rows_onDragClass td:last-child {
        -webkit-box-shadow: 8px 7px 12px 0 #333, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
        -webkit-box-shadow: 1px 8px 6px -4px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
        -moz-box-shadow: 0 9px 4px -4px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset, -1px 0 0 #ccc inset;
        -box-shadow: 0 9px 4px -4px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset, -1px 0 0 #ccc inset;
    }

/* The Modal (background) */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
}

.image-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.embed-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    min-height: 700px;
    max-height: 950px;
    background-color: white;
}

.image-modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.image-modal-content, .image-modal-caption {
    animation-name: imagemodalzoom;
    animation-duration: 0.6s;
}

@keyframes imagemodalzoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.image-modal-prev {
    position: absolute;
    top: 50%;
    left: 30px;
    color: #bbb;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.image-modal-next {
    position: absolute;
    top: 50%;
    right: 30px;
    color: #bbb;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.image-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #bbb;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .image-modal-close:hover,
    .image-modal-close:focus,
    .image-modal-prev:hover,
    .image-modal-prev:focus,
    .image-modal-next:hover,
    .image-modal-next:focus {
        color: #f1f1f1;
        text-decoration: none;
        cursor: pointer;
    }

@media only screen and (max-width: 700px) {
    .image-modal-content {
        width: 100%;
    }
}



.iframe-container {
    padding-bottom: 60%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

    .iframe-container iframe,
    .iframe-container object,
    .iframe-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.bootstrap-table-filter {
    position: relative;
    float: left;
    color: black;
    width: 0;
    height: 0;
    transition: all 0.5s;
    overflow-x: hidden;
    float: left;
    margin-top: 10px;
    margin-right: 10px;
}

    .bootstrap-table-filter.in {
        width: 16.66666667%;
        display: inline-block;
        height: auto;
    }

        .bootstrap-table-filter.in ~ .bootstrap-table {
            width: 81.33333333%;
            display: inline-block;
        }

.bootstrap-table-filter-close {
    cursor: pointer;
}

.bootstrap-table-filter-body {
    display: inline-block;
    overflow-y: auto;
}

@media(max-width:500px) {
    .bootstrap-table-filter.in {
        width: 100%;
    }

        .bootstrap-table-filter.in ~ .bootstrap-table {
            width: 100%;
        }
}

.lazy-load-return-top {
    position: fixed;
    margin: auto;
    right: 30px;
    bottom: 50px;
    border-radius: 50%;
    padding: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
    border: solid 0.5px #dee3e7;
    color: #878787;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
}

    .lazy-load-return-top:hover {
        opacity: 1;
        color: #474747;
        background: white;
        border-color: #474747;
    }

.lazy-load-fixed-header {
    position: fixed;
    top: 0;
    background: white;
    z-index: 1;
}

.lazy-load-fixed-filter {
    position: fixed;
    margin: auto;
    z-index: 1;
    top: 0;
    background: white;
    transition: none;
}

.lazy-load-top-horizontal-scroll {
    overflow: auto !important;
}

.bs-button .btn-link {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
