sw-grid-col {
    display: none;
}

.sw-grid {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    opacity: 0;
    position: relative;
    overflow: auto;
}

.sw-grid[ ready ] {
    opacity: 1;
}

.sw-grid td {
    position: relative;
}

.sw-grid thead td.sw-grid_cell-content-align-center {
    text-align: center;
}

.sw-grid thead td.sw-grid_cell-content-align-right {
    text-align: right;
}

.sw-grid .sw-grid_data-cell-content-wrapper {
    align-items:center;
    bottom: 0;
    display: flex;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
}

.sw-grid .sw-grid_data-cell-content {
    margin-bottom: auto;
    margin-top: auto;
}

.sw-grid tbody td.sw-grid_cell-content-align-center .sw-grid_data-cell-content-wrapper {
    justify-content: center;
}

.sw-grid tbody td.sw-grid_cell-content-align-right .sw-grid_data-cell-content-wrapper {
    justify-content: flex-end;
}

.sw-grid .sw-grid_col-resizer {
    bottom: 0;
    cursor: col-resize;
    position: absolute;
    right: 0;
    top: 0;
    width: 5px;
    z-index: 100000;
}

body[ sw-grid-col-resizing ] {
    cursor: col-resize !important;
}

.sw-grid .sw-grid_col-resize-border {
    background-color: black;
    bottom: 0;
    position: absolute;
    top: 0;
    width: 1px;
    z-index: 100000;
}

.sw-grid .sw-grid_col-drop-icon-above {
    pointer-events: none;
    position: fixed;
    transform: translate( -50%, -100% );
    z-index: 100000;
}

.sw-grid .sw-grid_col-drop-icon-below {
    pointer-events: none;
    position: fixed;
    transform: translateX( -50% );
    z-index: 100000;
}

.sw-grid .sw-grid_col-drag-image {
    align-items: center;
    display: flex;
    left: 100000px;
    max-width: 250px;
    overflow: hidden;
    position: fixed;
}

.sw-grid .sw-grid_col-drag-image > div {
    margin: auto 0;
}

.sw-grid .sw-grid_load-indicator {
    bottom: 0;;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 100000;
}