:root {
  --grey: #D9D9D9;
  --green: #008053;
  --blue: #4993d0;
  --dblue: #295274;
  --tblue: #295274BF;
  --white: #FFF;
  --typeHeight: 41px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: monospace;
}

HTML,
BODY {
  border: none;
  height: 100%;
  width: 100%;
}

[v-cloak] {
  display: none;
}

.btn-green,
.styled-input {
  border: none;
}

HTML {
  background-color: var(--grey);
}

#canvas {
  z-index: 20;
  min-width: 100vw;
  width: 100%;
  min-height: 100vh;
  height: 100%;
}

#sidebar {
  background-color: #fff; 
  position: fixed; 
  top: 0; left: 0; 
  width: 200px; 
  height: 100vh; 
  z-index: 100; 
  overflow-y: scroll;
}

#sidebar > div:first-child {
  margin-bottom: 40px;
  padding-left: 40px;
}

#sidebar > div {
  margin-bottom: 20px;
}

#sidebar input, #sidebar select, #sidebar textarea{
  max-width: 180px;
  width: 180px;
}

div.editor input, div.editor textarea{
  width: 100%;
}
div.editor textarea{
  height: 260px;
}


/* Block */
.block {
  cursor: grab;
  z-index: 1;
  -webkit-box-shadow: 2px 2px 2px 0px rgba(82, 82, 82, 0.44);
  -moz-box-shadow: 2px 2px 2px 0px rgba(82, 82, 82, 0.44);
  box-shadow: 2px 2px 2px 0px rgba(82, 82, 82, 0.44);
  display: inline-block;
  background-color: var(--white);
  max-width: 200px;
  overflow: hidden;
}

.connect-block{
  cursor: ne-resize;
  position: absolute; 
  top: 0; right: 0; 
  width: 10px; height: 10px; 
  background-color: var(--tblue);
}

.delete-block{  
  cursor: pointer;
  float: right;
}


.block-title{  
  color: var(--dblue);
  font-weight: 900;
}

/* Excel table */
#excel {
  z-index: 1;
  position: fixed;
  bottom: 0;
  right: 0;
  border: 1px; 
  background-color: #fff;
}
#excel input{
  border: 0; 
  -webkit-border-radius: 0; 
  border-radius: 0; 
  -webkit-box-shadow: none; 
  box-shadow: none;
}

#excel table {
  min-width: 400px;
  border-collapse: collapse;
  table-layout: fixed;
}

#excel th, #excel td {
  border: 1px solid #ccc;
  padding: 0;
  text-align: center;
  height: 20px;
  min-width: 20px;
  overflow: hidden;
}

#excel tr>th:first-child, #excel tr>td:first-child {
  width: 10px;
}

#excel td[contenteditable] {
  background-color: #fff;
}

#excel td[contenteditable]:hover {
  background-color: #f9f9f9;
}


/* Leader Line */
svg.leader-line>text {
  pointer-events: all;
  cursor: pointer;
}

.clickable{
  cursor: pointer;
  user-select: none;
}