/*  grid editor */

#layout-designer::-webkit-scrollbar {
    display: none;
}

#layout-designer {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}


.layout-base {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.layout-text {
  height: 100%;
  max-width:100%;
  display: flex;
  overflow: hidden;
}

carousel {
  display: block;
  scroll-snap-type: x mandatory;

  overflow-scrolling: auto;
  -webkit-overflow-scrolling: touch;


  overflow-x: scroll;
  overflow-y: hidden;

  /* overflow: hidden; */
  white-space: nowrap;
  scroll-snap-points-x: repeat(100%);
}

cell {
  width: 100%;
  height: 100%;
  display: inline-block;
  /* Snap align start. */
  scroll-snap-align: start;
}

scrollview, list {
  height: -webkit-fill-available;
  width: inherit;

  overflow: hidden;
  overflow-y:scroll;
  overflow-scrolling: auto;
  -webkit-overflow-scrolling: touch;
}
list ul {
  width: 100%;
  height: 100%;
  list-style:none;
}

list ul, li {
  margin: 0;
  padding: 0;
}

.layout-img {
  display: block;
  overflow: hidden;
  width: inherit;
  height: inherit;
}

/* .layout-base > div:not(.selected) {
    color: lightgray
} */

.layout-base .selected {
    border-width: thick;
}

.layout-webview {
  display: block;
  overflow: hidden;
  width: inherit;
  height: inherit;
  /* -ms-zoom: 0.75;
  -moz-transform: scale(0.75);
  -moz-transform-origin: 0 0;
  -o-transform: scale(0.75);
  -o-transform-origin: 0 0;
  -webkit-transform: scale(0.75);
  -webkit-transform-origin: 0 0; */
}
.layout-image {
  /* display: block; */
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-repeat:no-repeat;
  background-position:center;
}

.layout-navbar {
  display: flex;
  flex-basis: 100%;
  overflow: hidden;
  font-size: medium;
  height: 52px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.grid-item {
  position: absolute;
}

.grid-line-row {
width: 100%;
height: 2px;
border-bottom: 1px dotted;
/* position: absolute; */
}

.grid-line-col {
height: 100%;
width: 2px;
border-bottom: 1px dotted;
/* position: absolute; */
}

.script-debug {
    padding: 8px;
    display: block;
    font-size: 87.5%;
    color: #0f7bb5;
    background-color: #e9ecef;
    font-weight: bold;
    word-break: break-word;
}
