.window {
  border: 2px solid #000000;
  width: 400px;
  padding: 0px;
  color: #000000;
  font-family: Tahoma, Arial, sans-serif;
  position: absolute;
  background-color: #c0c0c0;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.windowheader {
  background-color: #000080;
  color: #ffffff;
  padding: 4px 8px;
  font-weight: bold;
  cursor: grab;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.closebutton {
  width: 16px;
  height: 16px;
  background-color: #c0c0c0;
  color: #000000;
  border: 1px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: Arial;
  font-size: 12px;
}

.topbar {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #000080;
  color: #ffffff;
  font-family: Tahoma, Arial, sans-serif;
  padding: 4px 8px;
  box-sizing: border-box;
  border-bottom: solid 2px #ffffff;
}

.painttool {
  width: 28px;
  height: 28px;
  background-color: #c0c0c0;
  border: 2px outset #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.painttool.selectedtool {
  border: 2px inset #808080;
}

.sizeoption {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 10px;
}

.sizeoption.selectedtool {
  border: 1px solid #000000;
  background-color: #ffffff;
}

.swatch {
  width: 18px;
  height: 18px;
  border: 1px solid #000000;
  cursor: pointer;
}