/* TABLE v.1.0.19 */

.table-responsive {
    border: 0 !important;
    margin-top: 3px;
    clear: both;
    background: #FFF;
    position: relative;
}

.table-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.vertical-align-top td,
.vertical-align-top {
    vertical-align: top !important;
}

.vertical-align-bottom td,
.vertical-align-bottom {
    vertical-align: bottom !important;
}

.vertical-align-middle td,
.vertical-align-middle {
    vertical-align: middle !important;
}

.shadow-right:after,
.shadow-left:before {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    bottom: 0;
    width: 15px;
    height: 100%;
    background-color: transparent;
}

.shadow-right:after {
    right: 0;
    box-shadow: inset -8px 0 8px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset -8px 0 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset -8px 0 8px rgba(0, 0, 0, 0.1);
}

.shadow-left:before {
    left: 0;
    box-shadow: inset 8px 0 8px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 8px 0 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 8px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 9;
}

.table-scroll-y {
    max-height: 400px;
    -webkit-overflow-y: scroll;
    -ms-overflow-y: scroll;
    overflow-y: scroll;
    border: 1px solid #CCC !important;
    -webkit-box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.08);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.tab-content .table-responsive {
    margin-top: -1px;
}

.table {
    border: 0;
    margin: 0;
}

.table-icons {
    text-align: center;
}

.table-icons a {
    margin: 5px;
    display: inline;
    text-decoration: none;
}

.table thead,
.table thead tr,
.table tfoot {
    border: 0 !important;
}

.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
    border: 0;
}

.table-bordered > tbody {
    border: 1px solid #FFF;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    position: relative;
    padding: 10px;
    /*vertical-align: top;*/
    vertical-align: middle;
    /*line-height: 30px;*/
}

.table tbody tr {
    border-bottom: 1px solid #DDD;
    background-color: transparent;
}

.table thead tr {
    cursor: default;
}

.table tbody[data-link="row"]:hover {
    cursor: pointer;
}

.table tfoot tr,
.table tfoot td {
    background-color: #EEE !important;
    font-weight: bold;
}

th > a,
th > a:hover,
th > a:active {
    color: #444;
    text-decoration: none;
}

table input,
table .input-select-wrapper {
    width: 100% !important;
    margin: 0 !important;
    min-width: 185px;
}

table thead {
    white-space: nowrap;
}

table tbody {
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
}

.table-wrapper.full-width,
.full-width {
    width: 100% !important;
}

.table-in-view input {
    padding-right: 30px;
}

.table-sortable th > a {
    color: #333;
    padding: 10px 0;
    text-decoration: none;
}

.table .table-thumb {
    width: 70px;
}

.table-thumb.logo {
    width: auto;
    min-width: 70px;
    max-width: 120px;
}

.table-thumb.logo .profile-image-thumbnail {
    width: 100%;
}

.table-thumb {
    border: 1px solid #DDD;
    padding: 4px;
    width: 70px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.table-thumb img {
    background-color: #FFF;
    width: 100%;
    z-index: 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.view-image {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.4);
    width: 60px;
    height: 60px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.view-image:hover:before {
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    color: #999;
    content: "View";
    position: absolute;
    top: 22px;
    left: 16px;
}

.profile-image-thumbnail {
    display: table;
    width: 60px;
    background-color: #EEEEEE;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    opacity: 1;
    cursor: default;
}

.profile-image {
    display: table;
    width: 80px;
    background-color: #EEEEEE;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    opacity: 1;
    cursor: default;
}

.profile-image i,
.profile-image-thumbnail i {
    display: table-cell;
    color: #BBB;
    padding: 5px;
    vertical-align: middle;
    text-align: center;
}

.profile-image-thumbnail i {
    font-size: 45px;
    height: 77px;
}

.profile-image i {
    font-size: 70px;
    height: 105px;
}

.table-icons i {
    font-size: 30px;
}

.table-sortable th > a:hover,
.table-sortable th > a:hover:after {
    color: #333;
    text-decoration: none;
}

.table-sortable th > a:after {
    margin-left: 10px;
    display: inline;
    content: "\f0dc";
    font-family: 'FontAwesome';
    font-weight: normal;
    color: #333;
}

table.sorting-table {
    cursor: move;
}

table tr.sorting-row td {
    background-color: #8b8;
}

.sorter {
    width: 14px;
    height: 14px;
    margin: 2px 0 0 6px;
    cursor: move;
}

.table-icon i {
    color: #555;
}

.cell-action {
    width: 80px;
}

.table-sortable th > a.asc:after,
.rtl .table-sortable th > a.asc:after {
    content: "\f0dd";
}

.table-sortable th > a.desc:after,
.rtl .table-sortable th > a.desc:after {
    content: "\f0de";
}

.highlight {
    background-color: #FFEA57;
}


/* TABLE LINED */

.table-lined > thead:first-child > tr:first-child > th {
    border-top: 1px solid #DDD;
}

.table-lined th,
.table-lined td {
    border-right: 1px solid #DDD !important;
}

.table-lined td:first-child {
    border-left: 1px solid #DDD;
}

.table tbody tr:last-child td,
.table-lined tbody tr:last-child td,
.table-lined>tbody>tr>td.active {
    border-bottom: 1px solid #DDD;
}

.table-lined .error-message {
    float: none;
}

.table-lined .no-border {
    border-left: 0 !important;
}


/* TABLE ALIGNMENT */

.vertical-align-top {
    vertical-align: top !important;
}

.vertical-align-bottom {
    vertical-align: bottom !important;
}

.vertical-align-middle {
    vertical-align: middle !important;
}


/* TABLE WITH CURVE */

.table-curved,
.table {
    /* border-collapse: separate; */
    border-left: 0px;
    border-top: 0px;
    width: 100%;
    -webkit-text-shadow: 1px 1px 0px #FFF;
    -moz-text-shadow: 1px 1px 0px #FFF;
    text-shadow: 1px 1px 0px #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-overflow-x: hidden;
    -ms-overflow-x: hidden;
    overflow-x: hidden;
}

.safari .table-curved,
.safari .table {
    -webkit-overflow-x: scroll;
    -ms-overflow-x: scroll;
    overflow-x: scroll;
}

.rtl .table-curved,
.rtl .table {
    -webkit-overflow-x: scroll;
    -ms-overflow-x: scroll;
    overflow-x: scroll;
    border-collapse: collapse !important;
}

.rtl.chrome .table-curved,
.rtl.chrome .table,
.rtl.safari .table-curved,
.rtl.safari .table {
    border-collapse: separate !important;
}

.table > thead:first-child > tr:first-child > th,
.panel-toolbar,
.table-curved > thead:first-child > tr:first-child > th,
.table-curved tfoot,
.table tfoot {
    font-weight: bold !important;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD !important;
    background: rgba(204, 204, 204, 0.3) !important;
}

.table-header,
.table-footer {
    background: rgba(204, 204, 204, 0.3) !important;
    font-weight: bold !important;
}

.table-curved > thead:first-child > tr:first-child > th {
    -webkit-box-shadow: inset 0 1px 0 #FFF;
    -moz-box-shadow: inset 0 1px 0 #FFF;
    box-shadow: inset 0 1px 0 #FFF;
}

.table > thead:first-child > tr:first-child > th,
.table tfoot tr td,
.table-curved > thead:first-child > tr:first-child > th,
.table-curved tfoot tr td,
.table tfoot tr td {
    border-bottom: 1px solid #DDD;
    border-top: 1px solid #DDD;
}

.table tbody tr:last-child td,
.table-curved tbody tr:last-child td {
    border-bottom: 1px solid #DDD;
    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    text-shadow: none;
}

.table tfoot td,
.table-curved tfoot td {
    border-top: 0 !important;
    font-size: 12px;
}

.table tfoot td,
.table th,
.table-curved tfoot td,
.table-curved th {
    padding: 10px;
}

.table tbody td,
.table-curved tbody td {
    padding: 10px;
    border-top: 1px solid #DDD;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #DDD;
    background: transparent;
    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    text-shadow: none;
}

.table>tbody>tr>td {
    border-top: 0;
}

.table >:first-child >:first-child >:first-child {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-left: 1px solid #DDD;
}

.table >:first-child >:first-child >:last-child {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border-right: 1px solid #DDD;
}

.table-curved >:first-child >:first-child >:first-child {
    border-top-left-radius: 5px;
    border-left: 1px solid #DDD;
}

.table-curved >tfoot:last-child >tr:last-child >:first-child,
.table >tfoot:last-child >tr:last-child >:first-child {
    border-bottom-left-radius: 5px;
    border-left: 1px solid #DDD;
}

.table-curved >:first-child >:first-child >:last-child {
    border-top-right-radius: 5px;
    border-right: 1px solid #DDD;
}

.table-curved >tfoot:last-child >tr:last-child >:last-child,
.table >tfoot:last-child >tr:last-child >:last-child {
    border-bottom-right-radius: 5px;
    border-right: 1px solid #DDD;
}


/* TABLE PLACEHOLDER */

.canvas {
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, 0) url("./img/canvas.png") repeat scroll 0 0;
    padding: 5px;
    height: 52px;
}

.canvas h5 {
    color: #BBB;
    text-align: center;
    line-height: 40px;
    padding: 0;
    margin: 0;
}


/* TABLE CENTER */

.table .align-center {
    text-align: center !important;
}


/* TABLE SECTION HEADER */

.table .body-header,
.table-lined .body-header {
    background-color: rgba(204, 204, 204, 0.2) !important;
    border-color: #DDD !important;
    font-weight: bold;
}


/* CREATE TABLE */

.remove-row {
    width: 40px !important;
    min-width: 40px !important;
}

.remove-column {
    position: relative;
    height: 45px;
}

.remove-column .kd-remove {
    position: absolute;
    top: 25%;
    left: 50%;
    -webkit-transform: translate(-25%, -50%);
    -moz-transform: translate(-25%, -50%);
    -ms-transform: translate(-25%, -50%);
    -o-transform: translate(-25%, -50%);
    transform: translate(-25%, -50%);
    z-index: 3;
}

.table-header {
    min-width: 150px;
}

.table-header input {
    font-weight: bold !important;
}

.table-edit-view .table-header {
    border-right: 1px solid #DDD;
}

.table-edit-view td input,
.table-edit-view th input {
    min-width: 100% !important;
    padding-right: 50px;
}

.input-group.input-group-invert {
    width: 100% !important;
    margin: 0;
}

.table-edit-view .table-header:last-child {
    border-right: 0 !important;
}

.table .reorder-icon {
    padding-top: 7px;
}

/* Multiline in table */
.table.row-align-top > tbody > tr > td,
.table.row-align-top > tbody > tr > th,
.table.row-align-top > tfoot > tr > td,
.table.row-align-top > tfoot > tr > th,
.table.row-align-top > thead > tr > td,
.table.row-align-top > thead > tr > th {
    vertical-align: top;
}

.table.row-align-top>tbody>tr>td>div.dropdown{
    margin-top: 1px;
}

.table.row-align-top>tbody>tr>td>a,
.table.row-align-top>tbody>tr>td>i,
.table.row-align-top>tbody>tr>td>p{
    padding: 7px 0;
    display: block;
}

.table.row-align-top>tbody>tr>td>.btn{
    margin-top: 2px;
}

.table.row-align-top>tbody>tr>td>.selection-wrapper{
    margin-top: 6px;
}
.table.row-align-top>tbody>tr>td>.selection-wrapper>input[type="checkbox"]{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* TABLE WITH INPUTS */
.table p,
.table select,
.table input,
.table textarea {
    margin-bottom: 0;
}

.table input {
    float: left;
    border: 1px solid #CCC !important;
    padding: 5px 10px;
    margin-bottom: 15px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 150px !important;
    background-color: transparent;
}

.table textarea {
    min-width: 100%;
    width: 200px !important;
}

table .input-group {
    width: inherit !important;
}

.table .time,
.table .date {
    display: block;
}

.table .time,
.table .time input,
.table .date,
.table .date input,
.table .input-select-wrapper,
.table .number input {
    width: 100% !important;
}


/* TABLE WITH DATE/TIME PICKER */

.table .input-group-addon {
    position: absolute;
    right: 0;
    line-height: 0;
    cursor: pointer;
    font-size: 15px;
    width: 52px;
    height: 30px;
}

@media (max-width: 767px) {
    .table-responsive .dropdown-menu {
        position: relative !important;
        top: -4px;
    }
    .table-responsive .dropdown {
        width: 80px !important;
    }
    .table-thumb.logo {
        width: 120px;
    }
}

@media (max-width: 1055px) and (min-width: 485px) {
    table .input-group {
        width: inherit !important;
    }
}


/* RTL v.1.0.1 */

.rtl .table-responsive {
    direction: ltr;
}

.rtl .table-responsive > table {
    direction: rtl;
}

.rtl .table-curved >:first-child >:first-child >:first-child {
    border-top-right-radius: 5px;
    -webkit-border-top-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-right: 1px solid #DDD;
    border-left: 0;
}

.rtl .table-curved >tfoot:last-child >tr:last-child >:first-child,
.rtl .table >tfoot:last-child >tr:last-child >:first-child {
    border-bottom-right-radius: 5px;
    border-right: 1px solid #DDD;
    border-left: 0;
    font-size: 14px;
    line-height: 14px;
}

.rtl .table-curved >:first-child >:first-child >:last-child {
    border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-left: 1px solid #DDD;
    border-right: 0;
}

.rtl .table-curved >tfoot:last-child >tr:last-child >:last-child,
.rtl .table >tfoot:last-child >tr:last-child >:last-child {
    border-bottom-left-radius: 5px;
    border-left: 1px solid #DDD;
    border-right: 0;
}

.rtl .table >:first-child >:first-child >:first-child {
    border-left: 0 !important;
    border-right: 1px solid #DDD;
    -webkit-border-top-left-radius: 0 !important;
    -moz-border-top-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

.rtl .table >:first-child >:first-child >:last-child {
    border-left: 1px solid #DDD;
    border-right: 0;
    -webkit-border-top-right-radius: 0 !important;
    -moz-border-top-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.rtl .table-lined td:first-child {
    border-left: 0 !important;
}

.rtl .table-sortable th > a {
    position: relative;
    padding-left: 25px;
}

.rtl .table-sortable th > a:after {
    position: absolute;
    left: -25px;
    top: 10px;
    margin-right: 10px;
    display: inline;
    content: "\f0dc";
    font-family: 'FontAwesome';
    font-weight: normal;
    color: #333;
}

.chrome .table-sortable th > a:after,
.safari .table-sortable th > a:after {
    left: 0;
}

.rtl .table-in-view input {
    padding-left: 30px;
    padding-right: 0 !important;
}

.rtl .table input {
    float: right;
}

.rtl .table-edit-view .table-header,
.rtl .table >:first-child >:first-child > .table-header:first-child {
    border-left: 1px solid #DDD !important;
    border-right: 0 !important;
}

.rtl .table .input-select-wrapper {
    float: none;
}

/* RTL TABLE WITH DATE/TIME PICKER */

.rtl .table .input-group-addon {
    left: 0;
    right: auto !important;
}