.tile-container {
  background-color: #333;
  box-sizing: border-box;
  display: flex;
  flex-flow: column;
  flex-grow: 1;
  height: 100%;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding: 4px;
}

.tile-header {
  display: flex;
  justify-content: space-between;
  flex: 0 1 25px;
  padding: 0 5px;
  min-height: 25px;
  max-height: 25px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 25px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom: 1px solid #999;
  background-color: #333;
  user-select: none;
}

.tile-name:hover {
  cursor: grab;
}

.tile-name:active {
  cursor: grabbing;
}

.tile-header .tile-name {
  display: flex;
  flex: 2;
  font-size: 16px;
  height: 25px;
  line-height: 25px;
  word-break: break-all;
  text-overflow: ellipsis;
}

.tile-content {
  position: relative;
  margin: 3px;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-content: center;
}

.tile-overlay {
  z-index: 2;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.tile-content iframe {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.react-resizable > .react-resizable-handle::after {
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}
