.data-table {
    width: 100%;
    border-collapse: separate; /* the default option */
    //border-collapse:collapse;
    border-spacing: 0; /* remove border gaps */

    &.hover {
        cursor: pointer;

        tr:hover {
            background-color: map_get($default-colors-transparency, quinary);
        }

        thead tr:hover {
            background-color: transparent;
        }
    }

    tr {
        height: 48px;


        &.active {
            background-color: map_get($default-colors-transparency, quinary);
        }

        th {
            font-weight: 400;
            color: map_get($default-colors-transparency, secondary);
            text-align: left;
        }

        td, th {
            padding: 12px 16px;
            border-bottom: 1px solid $input-border-color;

            &.number {
                text-align: right;
            }

            &.main {
                border-right: 1px solid $input-border-color;
            }

            .field-group {
                padding-top: 0;

                &.select:after {
                    top: 8px;
                }

                label {
                    top: 0.5em;
                }

                input:focus ~ label,
                input:valid ~ label,
                input:disabled ~ label,
                input.invalid ~ label,
                select:focus ~ label,
                select:valid ~ label,
                select:disabled ~ label,
                select.invalid ~ label {
                    top: -0.5em;
                }
            }

            .btn {
                margin-top: 0;
                margin-bottom: 0;
                padding-top: 0;
                padding-bottom: 0;

                &:last-child {
                    padding-right: 0;
                }

                &:first-child {
                    padding-left: 0;
                }
            }


            &.controls {
                text-align: right;

                .dropdown {
                    display: inline-block;

                    ul {
                        text-align: left;
                        left: inherit;
                        min-width: 200px;
                        right: 0;
                    }
                }

                .dropdown-btn,
                i.btn {
                    font-size: 1.3em;
                }
            }

        }

        &:after {
            content: ' ';
            clear: both;
            display: table-cell;
        }
    }

    tbody tr {
        &:last-child {
            td,th {
                border-bottom: 0;
            }
        }
    }
}