.tools {
  display: none;
  width: 250px;
  height: 100%;
  background-color: var(--white);
}

.tools.visible {
  display: block;
}

.tools .screens {
  height: 100%;
}

.tools .screens .screen {
  display: none;
  height: 100%;
}

.tools .screens .screen.visible {
  display: flex;
  flex-direction: column;
}

.tools .screen .screen-footer {
  background: var(--gray);
  padding: 16px;
  display: flex;
  flex-direction: column;
}


.tools .list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: scroll;
}

.tools .list li {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.tools .list li:hover {
  background: var(--gray);
}

.tools .list li .icon {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 32px;
  width: 32px;
  margin-right: 12px;
}

.tools .list li .icon:not([style]){
  border-radius: 50%;
  border: 2px dashed #666;
  box-sizing: border-box;
}

.tools .list li .content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2em;
}

.tools .list li .content strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-weight: normal;
}

.tools .list li .content span {
  font-size: 10px;
  opacity: .75;
}

.tools .list li.no-save .content span {
  color: #FF0000;
}

.tools label {
  display: flex;
  flex-direction: column;
}

.tools label .label {
  font-size: 12px;
  opacity: .75;
}

.tools label select,
.tools label input[type="text"] {
  position: relative;
  padding: 8px 12px;
  appearance: none;
  border: 2px solid var(--black);
  box-sizing: border-box;
}

.tools label select {
  padding-right: 32px;
  background-image: url('../assets/select-arrow.svg');
  background-position: calc(100% - 16px) center;
  background-repeat: no-repeat;
}

.tools .checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.tools .checkbox-label input[type="checkbox"] {
  display: block;
  margin-right: 8px;
}

.tools .point-action-id,
.tools .marker-action-id {
  display: none;
}

.tools .point-action-id.active,
.tools .marker-action-id.active {
  display: flex;
}

.tools .buttons {
  display: flex;
  flex-direction: column;
  margin: 16px 0;
}

.tools .buttons .button {
  margin: 4px 0;
}


.tools .form {
  padding: 16px;
}

.tools .form label {
  margin: 8px 0;
}


.tools .header {
  padding: 16px;
  background: var(--gray);
}

.tools .header .back {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.tools .header .back:hover {
  opacity: .75;
}

.tools .header .back::before {
  content: '';
  display: block;
  height: 10px;
  width: 10px;
  background-image: url('../assets/back.svg');
  background-position: center;
  background-size: contain;
  margin-right: 8px;
}
