.marker-note {
  position: absolute;
  width: 2em;
  height: 2em;
  line-height: 2em;
  border-radius: 999em;
  background-color: rgb(1 22 56 / var(--tw-bg-opacity));
  color: #1d1d1d;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.marker-note--opened {
  z-index: 101;
}

.marker-note__label {
  cursor: pointer;
}

.marker-note:hover,
.marker-note:focus {
  background-color: rgb(1 22 56 / var(--tw-bg-opacity));
}

.marker-note__note {
  background: #ffffff;
  position: absolute;
  padding: 1em;
  border-radius: 0.5em;
  top: 3.25em;
  left: -1em;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.marker-note__note:before {
  background: #ffffff;
  position: absolute;
  content: "\00a0";
  display: block;
  height: 1.5em;
  width: 1.5em;
  top: -0.75em;
  left: 1.25em;
  transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.marker-note__note-header {
  text-transform: uppercase;
  text-align: left;
  color: #1d1d1d;
}

.marker-note__textarea {
  width: 24em;
  height: 12em;
  resize: none;
  color: #0c0a09;
}

.marker-note__buttons {
  text-align: right;
}

.marker-note__close-button,
.marker-note__cancel-button,
.marker-note__save-button,
.marker-note__delete-button {
  min-width: 80px !important;
  margin: 4px;
}

.marker-note__close-button,
.marker-note__cancel-button {
  background-color: #e8e8e8;
}

.marker-note__close-button:hover,
.marker-note__close-button:focus,
.marker-note__cancel-button:hover,
.marker-note__cancel-button:focus {
  background-color: #e0e0e0;
}

.marker-note__delete-button {
  background-color: #585756;
  color: #ffffff;
}

.marker-note__delete-button:hover,
.marker-note__delete-button:focus {
  background-color: #1d1d1d;
  color: #ffffff;
}

.marker-note__close-button.button,
.marker-note__cancel-button.button {
  line-height: 10px !important;
}

.marker-note__close-button.button,
.marker-note__cancel-button.button {
  position: absolute;
  top: 9px;
  background: none;
  padding: 0 !important;
  margin: 0;
  width: auto;
  font-weight: bold;
  padding-left: 0 !important;
  border-radius: 0;
  display: block;
  right: 10px;
  min-width: 0 !important;
  min-width: 0 !important;
  width: 25px !important;
  height: 25px !important;
  padding: 0px !important;
  border-radius: 100% !important;
  background: rgb(1 22 56 / var(--tw-bg-opacity)) !important;
}

.marker-note__close-button.button:hover,
.marker-note__cancel-button.button:hover {
  background: none;
}

.marker-note__close-button {
  min-width: 0 !important;
  width: 25px !important;
  height: 25px !important;
  padding: 10px !important;
  border-radius: 100% !important;
  background: rgb(1 22 56 / var(--tw-bg-opacity)) !important;
}

.marker-note__save-button {
  background-image: url("/static/images/icons/marker-save-regular.svg") !important;
}

.marker-note__delete-button {
  background-image: url("/static/images/icons/marker-trash-alt-regular.svg") !important;
}

.marker-note__buttons .marker-note__save-button.button,
.marker-note__buttons .marker-note__delete-button.button {
  min-width: 0 !important;
  width: auto;
  padding: 10px;
  background: rgb(1 22 56 / var(--tw-bg-opacity));
}

.marker-note__buttons .marker-note__save-button.button .fa-save,
.marker-note__buttons .marker-note__delete-button.button .fa-delete {
  background-size: cover;
  width: 20px !important;
  height: 20px !important;
}

.marker-note__buttons .marker-note__save-button.button .fa-save {
  background-image: url("/static/images/icons/marker-save-regular.svg");
}

.marker-note__buttons .marker-note__delete-button.button .fa-delete {
  background-image: url("/static/images/icons/marker-trash-alt-regular.svg");
}

.marker-note__textarea {
  height: 7em !important;
  border-radius: 0.5em;
  border: 1px solid rgb(1 22 56 / var(--tw-bg-opacity));
  background: #f3f3f3 !important;
}
