body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 0;
}

#viewRename {
  position: absolute;
  left: 10vh;
  top: calc(15vh + 7vh + 10vh - 1vh);
  transform: translate(0, -100%);
  border: solid 2px black;
  border-radius: 5px;
}

.appBuilderTitle {
  position: absolute;
  left: calc(10vh + 35vw);
  transform: translate(-50%, 0);
  font-size: 2.2em;
  color: #004080;
  font-weight: 600;
}

#viewsContainer {
  position: absolute;
  left: calc(10vh + 70vw);
  top: calc(15vh + 7vh + 10vh - 1vh);
  transform: translate(-100%, -100%);
}

.container {
  position: relative;
  background-color: #fff;
  border-style: dashed;
  border-color: black;
  border-width: thin;
  margin-top: 10vh;
  margin-left: 10vh;
  margin-bottom: 10vh;
  height: 70vh;
  width: 70vw;
  overflow: hidden;
  z-index: 4;
}

#saveChangesButton {
  float: right;
  margin-right: 30px;
  margin-top: 2.5vh;
  padding: 10px 20px;
  font-size: 1.2em;
  border: none;
  border-radius: 5px;
  background-color: #004080;
  color: white;
  cursor: pointer;
}

#nextButton {
  float: right;
  margin-right: 30px;
  margin-top: 2.5vh;
  padding: 10px 20px;
  font-size: 1.2em;
  border: none;
  border-radius: 5px;
  background-color: #004080;
  color: white;
  cursor: pointer;
}

.item {
  height: 100px;
  width: 100px;
  position: absolute;
  background: grey;
  cursor: grab;
  z-index: 15;
  box-sizing: border-box;
}

.draggable {
  outline: 3px solid black;
}

.newElements {
  height: 100px;
  width: 100px;
  cursor: grab;
}

.newElementsContainer {
  height: 140px;
  width: 100px;
  margin-bottom: 20px;
}

.newElementsText {
  text-align: center;
}

#tableElement {
  left: 40px;
  top: 150px;
  background-color: orange;
}

#newButtonElement {
  left: 180px;
  top: 150px;
  background-color: green;
}

.resizer {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: blue;
  z-index: 7;
  display: none;
}

.resizer.nw {
  top: -10px;
  left: -10px;
  cursor: nw-resize;
}

.resizer.ne {
  top: -10px;
  right: -10px;
  cursor: ne-resize;
}

.resizer.sw {
  bottom: -10px;
  left: -10px;
  cursor: sw-resize;
}

.resizer.se {
  bottom: -10px;
  right: -10px;
  cursor: se-resize;
}

.inAppHeader {
  height: 12vh;
  width: 70vw;
  background-color: lightgray;
  margin-left: 0;
  margin-top: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  z-index: 198;
}

#editorHeader {
  width: 100vw;
  height: 12vh;
  background-color: white;
  top: 0;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: black;
}

#menuButton {
  width: 5vh;
  height: 5vh;
  position: absolute;
  margin-top: 1vh;
  margin-left: 1vh;
  z-index: 8;
  cursor: grab;
}

.menuButtonLines {
  width: 70%;
  height: 10%;
  border-radius: 5px;
  background-color: black;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20%;
}

#leftMenu {
  position: absolute;
  visibility: hidden;
  height: 88vh;
  width: 20vw;
  margin-left: 0;
  margin-top: 0;
  padding-top: 10vh;
  padding-left: 1vh;
  background-color: white;
  border-right-style: solid;
  border-right-width: 1px;
  border-right-color: black;
  z-index: 200;
  overflow-y: auto;
}

ul {
  list-style-type: none;
}

h3 {
  padding-top: 4vh;
}

table, th, td {
  border: solid 1px;
  border-collapse: collapse;
}

.hidden-preview {
  opacity: 0.3 !important;
}

.guide-line {
  position: absolute;
  background: rgba(0, 153, 255, 0.7);
  z-index: 9;
  pointer-events: none;
  display: none;
}

.guide-line.horizontal {
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
}

.guide-line.vertical {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.bracket {
  position: absolute;
  pointer-events: none;
}

.bracket-line {
  position: absolute;
  background: red;
}

.bracket-tick {
  position: absolute;
  background: red;
}

.bracket.horizontal .bracket-line {
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
}

.bracket.horizontal .bracket-tick.left {
  left: 0; width: 1px; height: 8px; top: 0;
}

.bracket.horizontal .bracket-tick.right {
  right: 0; width: 1px; height: 8px; top: 0;
}

.bracket.vertical .bracket-line {
  left: 4px;
  top: 0;
  bottom: 0;
  width: 1px;
}

.bracket.vertical .bracket-tick.left {
  top: 0; height: 1px; width: 8px; left: 0;
}

.bracket.vertical .bracket-tick.right {
  bottom: 0; height: 1px; width: 8px; left: 0;
}
