body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 0;
}

.appBuilderTitle {
  position: absolute;
  left: calc(10vh + 35vw);
  transform: translate(-50%, 0);
  font-size: 2.2em;
  color: #004080;
  font-weight: 600;
}

.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;
}

#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: 50px;
  width: 50px;
  position: absolute;
  background: grey;
  cursor: grab;
  z-index: 8;
}

.draggable {
  border: solid;
}

.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: 58vh;
  position: absolute;
  width: 70vw;
  background-color: lightgray;
  margin-left: 0;
  bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  z-index: 4;
}

#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: 7;
  overflow-y: auto;
}

.rightMenu {
  position: absolute;
  height: 79vh;
  width: 260px;
  right: 0;
  margin-top: 10vh;
  background-color: white;
  border-left-style: solid;
  border-top-style: solid;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: black;
  border-radius: 15px 0px 0px 15px;
  z-index: 10;
  overflow-y: auto;
  user-select: none;
}

#rightMenuButtonsContainer {
  width: 60%;
  height: 40px;
  border: solid;
  border-radius: 20px;
  margin: 10px auto 40px auto;
}

#rightMenuNewElements {
  width: 220px;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 20px;
  margin: auto;
  overflow-y: scroll;
}

#rightMenuEditElements {
  width: 100%;
  display: none;
}

.rightMenuTopButtonLeft {
  float: left;
  margin-left: 10px;
  background-color: inherit;
  border: 0;
}

.rightMenuTopButtonRight {
  float: right;
  margin-right: 10px;
  background-color: inherit;
  border: 0;
}

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%;
  height: 1px;
  width: 100%;
}

.guide-line.vertical {
  left: 50%;
  width: 1px;
  height: 100%;
}
