﻿@font-face {
  font-family: "RMNeueReg";
  src: url("/css/fonts/RMNeue-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
html, body {
  margin: 0;
  display: flex;
  flex-direction: column;
}

body.modal-open {
  padding-right: 0 !important;
}

main {
  flex: 1 0 auto; /* allows it to grow and fill space */
  margin-bottom: 60px;
}

footer {
  flex-shrink: 0; /* prevent it from shrinking */
}

.pointer {
  cursor: pointer;
}

#editor {
  height: 150px;
}

.z-max {
  z-index: 9999;
}

.autofill-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 180px;
  z-index: 1000;
  border: 1px solid #ccc;
  background-color: #fff;
  white-space: nowrap;
  overflow-y: auto;
  display: inline-block;
}

.autofill-item {
  padding: 5px 10px;
  margin: 2px 0;
  border: 1px solid transparent;
  color: #03624C;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.autofill-item:hover {
  background-color: #03624C;
  color: white;
  border-color: #03624C;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.btn-image {
  display: inline-flex;
  flex-shrink: 0;
  white-space: nowrap;
  align-items: center;
}
.btn-image img {
  max-height: 32px;
  min-width: 40px;
}
.btn-image span + img {
  padding-left: 10px;
}
.btn-image img + span {
  padding-left: 10px;
}
