body {
  background-color: #FFFEF2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

h1 {
  text-align: center;
  margin: 10px;
}

h2 {
  margin: 10px;
}

svg {
  width: 100%;
  height: 100%;
}

button {
  background-color: #f3951d;
  color: #fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  font-size: 12px;
}

#picapp {
  width: 936px;
  height: 768px;
  margin: 0 auto;
  background-color: #ddd;
  position: relative;
}

#simulator-control {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 75px;
  background-color: #777;
}
#simulator-control-title {
  padding: 5px;
  background-color: #ccc;
}
#simulator-control-area {
  color: #fff;
  font-size: 12px;
  text-align: center;
}
#simulator-control-area button {
  margin: 15px 5px;
}

#auto-wiring {
  position: absolute;
  top: 75px;
  right: 0;
  width: 200px;
  height: 75px;
  background-color: #777;
}
#auto-wiring-title {
  padding: 5px;
  background-color: #ccc;
}
#auto-wiring-area {
  color: #fff;
  font-size: 12px;
  text-align: center;
}
#auto-wiring-area button {
  margin: 15px 2px;
}


#sidebar-chat {
  position: absolute;
  top: 150px;
  right: 0;
  bottom: 0;
  width: 200px;
  background-color: #777;
}
#sidebar-chat-title {
  padding: 5px;
  background-color: #ccc;
}
#sidebar-chat .sidebar-chat-items {
  padding: 10px;
  overflow: auto;
  position: absolute;
  top: 26px;
  right: 0;
  left: 0;
  bottom: 110px;
}
#sidebar-chat .sidebar-chat-items .chat-item {
  clear: both;
  margin-bottom: 5px;
  padding: 5px 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  word-wrap: break-word;
  max-width: 135px;
}
#sidebar-chat .sidebar-chat-items .chat-item-me {
  float: right;
  background-color: #37edc1;
}
#sidebar-chat .sidebar-chat-items .chat-item-others {
  float: left;
  background-color: #86c6ff;
}
#sidebar-chat .sidebar-chat-input {
  padding: 10px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}
#sidebar-chat .sidebar-chat-input textarea {
  width: 100%;
  height: 60px;
  resize: none;
}
#sidebar-chat .sidebar-chat-input button {
  margin-top: 5px;
  float: right;
}


#workspace {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.board {
  background-color: #bbb;
}
.editable-board {
  background-color: #fefefe !important;
}

.board-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: default;
}
.board-user {
  padding: 5px;
  background-color: #ccc;
  float: left;
}
.editable-board-user {
  background-color: #f3951d !important;
  color: #fff;
}
.board-toggle {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px;
}
.button {
  cursor: pointer;
}

.pin-info {
}

.pic-info-title {
  padding: 5px;
  background-color: #ccc;
}
.pic-info-code-wrapper {
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: auto;
}
.pic-info-code {
  padding: 10px;
  font-family: monospace;
  white-space: pre;
}

.modalDialog select {
  margin-right: 10px;
}

.modalDialog button {
  padding: 3px 10px;
  margin: 10px 10px 0 0;
}

#we-got-it {
  text-align: center;
  margin: 10px;
}

#we-got-it-popup-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  opacity: 0.25;
  z-index: 10000;
}

#we-got-it-popup-dialog-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
}

#we-got-it-popup-dialog {
  width: 500px;
  position: relative;
  margin: 20% auto;
  padding: 5px 20px 13px 20px;
  border-radius: 5px;
  background: #fff;
  background: -moz-linear-gradient(#fff, #D0D0D0);
  background: -webkit-linear-gradient(#fff, #D0D0D0);
  background: -o-linear-gradient(#fff, #D0D0D0);
  text-align: center;
}
#we-got-it-popup-dialog div {
  margin: 10px 0;
}
