gridster {
  position: relative;
  display: flex;
  overflow: auto;
  flex: 1 auto;
  background: grey;
  width: 100%;
  height: 100%;
  user-select: none;
}

gridster.fit {
  overflow-x: hidden;
  overflow-y: hidden;
}

gridster.scrollVertical {
  overflow-x: hidden;
  overflow-y: auto;
}

gridster.scrollHorizontal {
  overflow-x: auto;
  overflow-y: hidden;
}

gridster.fixed {
  overflow: auto;
}

gridster.mobile {
  overflow-x: hidden;
  overflow-y: auto;
  display: block;
}

gridster.mobile gridster-item {
  position: relative;
}

gridster-grid {
  display: none;
  position: absolute;
}

gridster-grid .rows, gridster-grid .columns {
  position: absolute;
}

gridster-grid .columns {
  display: flex;
  flex-direction: row;
}

gridster-grid .column, gridster-grid .row {
  transition: .3s;
  box-sizing: border-box;
}

gridster-grid .column {
  height: 100%;
  border-left: 1px solid #2e6c9938;
  border-right: 1px solid #2e6c9938;
}

gridster-grid .row {
  width: 100%;
  border-top: 1px solid #2e6c9938;
  border-bottom: 1px solid #2e6c9938;
}

gridster-item {
  box-sizing: border-box;
  z-index: 1;
  position: absolute;
  overflow: hidden;
  transition: .3s;
  display: none;
  background: white;
  user-select: text;
}

gridster-item.gridster-item-moving {
  cursor: move;
}

gridster-item.gridster-item-resizing, gridster-item.gridster-item-moving {
  transition: 0s;
  z-index: 2;
  box-shadow: 0 0 5px 5px rgba(0, 0, 0, .2), 0 6px 10px 0 rgba(0, 0, 0, .14), 0 1px 18px 0 rgba(0, 0, 0, .12);

}

.noliveresize gridster-item.gridster-item-resizing, .nolivemove gridster-item.gridster-item-moving {
  box-shadow: none;
  display: none !important;
}

.gridster-item-resizable-handler {
  position: absolute;
  z-index: 2;
}

.gridster-item-resizable-handler.handle-n {
  cursor: n-resize;
  height: 10px;
  right: 0;
  top: 0;
  left: 0;
}

.gridster-item-resizable-handler.handle-e {
  cursor: e-resize;
  width: 10px;
  bottom: 0;
  right: 0;
  top: 0;
}

.gridster-item-resizable-handler.handle-s {
  cursor: s-resize;
  height: 10px;
  right: 0;
  bottom: 0;
  left: 0;
}

.gridster-item-resizable-handler.handle-w {
  cursor: w-resize;
  width: 10px;
  left: 0;
  top: 0;
  bottom: 0;
}

.gridster-item-resizable-handler.handle-ne {
  cursor: ne-resize;
  width: 10px;
  height: 10px;
  right: 0;
  top: 0;
}

.gridster-item-resizable-handler.handle-nw {
  cursor: nw-resize;
  width: 10px;
  height: 10px;
  left: 0;
  top: 0;
}

.gridster-item-resizable-handler.handle-se {
  cursor: se-resize;
  width: 0;
  height: 0;
  right: 0;
  bottom: 0;
  border-style: solid;
  border-width: 0 0 10px 10px;
  border-color: transparent;
}

.gridster-item-resizable-handler.handle-sw {
  cursor: sw-resize;
  width: 10px;
  height: 10px;
  left: 0;
  bottom: 0;
}

gridster-item:hover .gridster-item-resizable-handler.handle-se {
  border-color: transparent transparent #ccc
}

gridster-preview {
  background: rgba(0, 0, 0, 0.15);
  position: absolute;
}
