@font-face {
  font-family: 'DejaVu Sans Mono';
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/DejaVuSansMono.woff") format('woff');
}

@font-face {
  font-family: "DM Mono";
  src: url("../fonts/DM_Mono.woff2");
}

a {
  text-decoration: none;
}


html {
  margin: 0;
  height: 100%;
  background-color: rgb(22, 22, 26);
}

body {
  height: 100%;
  margin: 0;
}

select {
  border-radius: 0;
  padding: 4px;
  font-family: 'DM Mono', monospace;
  border: none;
  color: white;
  background-color: #171718;
  outline: none;
}

.hidden {
  visibility: hidden;
}

.collapsed {
  height: 0;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
  align-items: center;
}

.flex-col {
  flex-flow: column;
}

.container {
  padding: 0 10px;
}

.dropi-nav {
  user-select: none;
  background-color: #353538;
  height: 45px;
  min-height: 40px;
  justify-content: space-between;
  flex-shrink: 0;
}

.nav-main {
  height: 27px;
  padding: 0;
}

.hljs {
  background-color: transparent;
}

.nav-icon {
  height: 25px;
}

.dropi-icon {
  background-color: white;
  scale: 0.5;
  mask: url(../dropi.svg) no-repeat ;
}

.dropi-icon > img {
  visibility: hidden;
}

.nav-header {
  margin: 3px 6px;
  padding: 3px 6px;
  font-family: 'DM Mono', monospace;
  color: black;
  background-color: #eaeaea;
}

.options-wrap {
  padding: 0 12px;
}

.attachments-wrap {
  /* ensures that the blue line stays visible even if drop-text-pre overflows */
  flex-shrink: 0;

  background-color: #4979e7;
  height: 3px;
}

.error-wrap {
  text-align: center;
  font-family: 'DejaVu Sans Mono', sans-serif;
  font-size: 12px;
  padding: 0 10px;
  color: white;
  background-color: #d24343;
  height: 0;
}

.grow-anim {
  animation: grow 0.3s forwards;
}

.shrink-anim {
  animation: grow 0.3s backwards;
}

@keyframes grow {
  0% {
    height: 0;
  }
  100% {
    height: 36px;
  }
}

.text-lbl {
  width: 100%;
  height: 100%;
}

.dropi-textarea {
  font-family: 'DejaVu Sans Mono', sans-serif;
  font-size: 12px;
  color: white;
  caret-color: #eaeaea;
  width: 100%;
  padding: 10px;
  resize: none;
  border: none;
  background-color: #171718;
}

.dropi-textarea:focus {
  border: none;
  outline: none;
}

.drop-text-pre {
  overflow: scroll;
  margin: 0;
  width: 100%;
}

.drop-text {
  padding: 12px;
}

.dnd-upload-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 248px;
}

#dnd_upload_image {
  opacity: 0;
  transition: opacity 0.5s;
}

#dnd_upload_image.fade {
  opacity: 1;
  transition: opacity 0.5s;
}

.upload-btn {
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  position: fixed;
  right: 10px;
  bottom: 10px;
  padding: 6px 12px;
  border: none;
  border-radius: 0;
  background-color: #dae5ef;
  color: black;
  display: block;
  float: right;
}
