.preview-modal {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 250px;
}

body {
  color: black;
  font-weight: 200;
  font-size: 1.2rem;
}

.n-right {
  justify-content: flex-end;
}

.navbar-nav li,
a {
  padding-right: 7px;
  color: black;
  padding-left: 7px
}

/* docket preview */

.preview-docket {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 2000px;
}

.preview-sidepanel {
  background-color: #f0f0f5;
  flex: 1;
  height: auto;
  min-height: 100vh;
  max-width: 300px;
  padding: 32px 0 0 32px;
}

.preview-main {
  background-color: red;
  flex: 2;
  height: auto;
  min-height: 100vh;
  max-width: 1500px;
  padding: 32px 0 0 32px;
}


.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: .20;
  transition: .3s ease;
  background-color: #c3c3c3;
}

.processing {
  display: none;
}

.processing.show {
  display: block;
  position: fixed;
  width: 500px;
  height: 200px;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  /* Negative half of height. */
  margin-left: -250px;
  /* Negative half of width. */
  color: #3d3d3b;
  font-size: 80px;
  z-index: 110;
  pointer-events: none;
}

#message_container {
  display: none;
}

#message_container.show {

  /* to position it at bottom-left (dependent on the parent) */
  position: fixed;
  bottom: 2em;
  left: 2em;

  /* to position the contents within the box (ie the message text) */
  display: flex;
  justify-content: center;
  align-items: center;

  /* to style the message box in particular ways */
  padding: 2em;
  border-radius: 40px;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 200px;
  background-color: white;
}

/* table and columns */
table,
th,
td {
  white-space: nowrap;
  border: 1px solid black;
  border-collapse: collapse;
}

th,
td {
  padding: 15px;
  text-align: center;
}

/* Alignment */
.flex-row-start {
  display: flex;
  justify-content: flex-start;
}

.flex-row-end {
  display: flex;
  justify-content: flex-end;
}

.flex-row-SB {
  display: flex;
  justify-content: space-between;
}

.flex-col-start {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

iframe.preview {
  min-width: 65%;
  min-height: 300px;
  height: 100%;
  height: -moz-available;
  height: -webkit-fill-available;
  height: fill-available;
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
  width: fill-available;
}

.cursor-pointer {
  cursor: pointer;
}

@media (max-width: 320px) {

  #message_container {
    padding: 0.5em;
    padding-top: 1em;
    padding-bottom: 1em;
    left: 50%;
    transform: translate(-50%, 0);
  }

  #message_content {
    font-size: 0.9em;
  }
}