.desktop-container {
  display: grid;
  height: 100vh;
  width: 100vw;
  justify-content: stretch;
  grid-template-columns: 20vw auto;
  grid-template-areas: "sidebar" "content-wrapper";
}

.components-container {
  display: flex;
  flex-direction: column;
  height: 80vh;
  padding: 0em 1em 0em 1em;
  margin-top: 1em;
}

.desktop-sidebar {
  grid-area: "sidebar";
  position: sticky;
}

.desktop-content-wrapper {
  grid-area: "content-wrapper";
  display: grid;
  grid-row: 15vh 80vh 5vh;
  grid-template-areas: "navbar" "content" "footer";
}

.desktop-navbar {
  grid-area: "navbar";
}

.desktop-content {
  grid-area: "content";
  overflow-y: scroll;
}

.desktop-footer {
  grid-area: "footer";
}

.dot {
  height: 25px;
  width: 25px;
  background-color: powderblue;
  border-radius: 50%;
  display: inline-block;
}

.red-dot {
  height: 25px;
  width: 25px;
  background-color: #ff5252;
  border-radius: 50%;
  display: inline-block;
}

.green-dot {
  height: 25px;
  width: 25px;
  background-color: #1eff00;
  border-radius: 50%;
  display: inline-block;
}

.yellow-dot {
  height: 25px;
  width: 25px;
  background-color: #ffff00;
  border-radius: 50%;
  display: inline-block;
}

.footer {
  background-color: rgba(128,128,128,0.9);
  margin-left: 260px;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

#footer-content {
  width: calc(100% - 260px)
}

#footer-nav {
  margin-left: 1rem;
}

@media (max-width: 1300px) {
  .footer {
    margin-left: 0;
  }

  #footer-content {
    width: 100%
  }

  #footer-nav {
    margin-left: 0;
  }
}

.avatar-image {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  /* margin: auto; */
  margin: 0em 0em 0em 0em;
}

.navbar-toggle-btn {
  background-color: Transparent;
  /* background-repeat:no-repeat; */
  border: none;
  cursor:pointer;
  /* overflow: hidden; */
  outline:none;
}

.primary {
  color: #7FA4E7;
}

/* in machine_instances -> machine_parts, clicking the icon in the button doesn't open the modal. this fixes that issue. */
#machine_parts_link i {
  pointer-events: none;
}

/* to space out 'edit' and 'delete' */
.material-symbols-outlined {
  margin-left: 3px;
  margin-right: 3px;
}

/* remove skinny arrows from datatable (parts index) */
table.dataTable thead .sorting:before {
  content: '';
}

table.dataTable thead .sorting:after {
  content: '';
}

/* Conversations */
.conversation-container {
  display: flex;
  /* grid-template-columns: 20% auto auto; */
  column-gap: .5em;
  margin-left: -1em;
  min-width: 60%;
  max-height: 60em;
}

.conversation-group-column {
  width: 15em;
  max-height: 50em;
  overflow-y: auto;
}

.conversation-group-name {
  padding: 0em 0em 1em 0em;
}

.conversation-topic-column {
  max-width: 20em;
  border-left: solid #e0e0e0;
  padding: 0em 0em 0em .5em;
  min-height: 50em;
  max-height: 50em;
  overflow-y: auto;
}

.conversation-messages-column {
  display: flex;
  flex-direction: column;
  border-left: solid #e0e0e0;
  padding: 5px 5px 0px 10px;
  justify-content: flex-end;
  max-height: 50em;
  max-width: 60%;
  width: 60%;
}

.conversation-group-tab {
  display: grid;
  grid-template-columns: auto auto;
  margin-bottom: 2em;
  max-width: 13em;
  column-gap: 1em;
  padding: 5px 0px 0px 5px;
}

/* TODO: is this the right color to use? */
.conversation-group-tab:hover {
  cursor: pointer;
  background: #f2f3ff;
}

.conversation-group-tab-selected {
  display: grid;
  grid-template-columns: auto auto;
  margin-bottom: 2em;
  max-width: 13em;
  column-gap: 1em;
  background: #f2f3ff;
  padding: 5px 0px 0px 5px;
}

.conversation-group-item-a {
  padding: 5px 0px 0px 5px;
}

.conversation-group-item-b {
  padding: 5px 0px 0px 5px;
}

.conversation-preview {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto;
  margin-bottom: 1em;
}

.conversation-preview:hover {
  cursor: pointer;
  background: #f2f3ff;
}

.conversation-preview-selected {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto;
  margin-bottom: 1em;
  background: #f2f3ff;
}

.conversation-preview-topic {
}

.conversation-preview-last-message {

}

.conversation-messages-container {
  margin: 0; 
  box-sizing: border-box;
}

.chat {
  --rad: 20px;
  --rad-sm: 3px;
  font: 16px/1.5 sans-serif;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  margin-top: 1em;
}

.msg {
  position: relative;
  max-width: 75%;
  padding: 7px 15px;
  margin-bottom: 1.5em;
}

.msg.sent {
  border-radius: var(--rad) var(--rad-sm) var(--rad-sm) var(--rad);
  background: #7FA4E7;
  color: #fff;
  /* moves it to the right */
  margin-left: auto;
}

.msg.rcvd {
  border-radius: var(--rad-sm) var(--rad) var(--rad) var(--rad-sm);
  background: #f1f1f1;
  color: #555;
  /* moves it to the left */
  margin-right: auto;
}

/* Improve radius for messages group */

.msg.sent:first-child,
.msg.rcvd+.msg.sent {
  border-top-right-radius: var(--rad);
}

.msg.rcvd:first-child,
.msg.sent+.msg.rcvd {
  border-top-left-radius: var(--rad);
}


/* time */

.msg::before {
  content: attr(data-time);
  font-size: 0.8rem;
  position: absolute;
  bottom: 100%;
  color: #888;
  white-space: nowrap;
  /* Hidden by default */
  display: none;
}

.msg.sent::before {
  right: 15px;
}

.msg.rcvd::before {
  left: 15px;
}


/* Show time only for first message in group */

.msg::before,
.msg.sent+.msg.rcvd::before,
.msg.rcvd+.msg.sent::before {
  /* Show only for first message in group */
  display: block;
}

.conversation-group-column-header{

}

.document_sub_container {
  padding-top: 1em;
}

/* forms */
.form-container {
  margin-left: 3em;
  margin-bottom: 1em;
}

.font-medium {
  font-size: 1rem;
}

.search-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  column-gap: 5px;
  margin-bottom: 1em;
  padding-left: 1em;
  grid-template-areas: "search-button" "search-text-field";
}

.search-text-field {
  grid-area: "search-text-field";
}

.search-button {
  grid-area: "search-button";
}

.attrs-component {
  padding-left: 1em;
}

.job-keys-form {
  padding: 1em;
}

.rfq-form-field {
  margin-bottom: 1rem; 
}

.rfq-form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  position: static;
  transform: none;
}

#rfqModal .modal-footer {
  justify-content: center;
}

#rfqModal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(to right, #5897fb, #868e96);
  color: white;
}

#rfqModal .modal-header .modal-title {
  margin-bottom: 0;
}

#rfqModal .modal-header .close {
  color: white;
  opacity: 0.75;
}

#rfqModal .modal-header .close:hover {
  opacity: 1;
}

.btn-rfq-outline {
  background-color: transparent !important;
  border: 1px solid #0d6efd !important;
  color: #0d6efd !important;
}

.btn-rfq-outline:hover,
.btn-rfq-outline:focus,
.btn-rfq-outline:active {
  background-color: transparent !important;
  border: 1px solid #0d6efd !important;
  color: #0d6efd !important;
  box-shadow: none !important;
}
trix-editor {
  height: 300px;
  overflow-y: auto;
}

/*# sourceMappingURL=customs.css-68743f4d0ca72338a9fb3047038959e8ce7bb378adcd55c68e38528b2f993efa.map */
