/**
 * Styles applied to the Help Desk 9 Reply modal window.
 */
#hd9-modal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
}
  #hd9-modal.d-none {
    display: none;
  }
  #hd9-modal.d-flex {
    display: flex;
  }
    #hd9-modal .hd9-modal-body {
      min-width: 50%;
      min-height: 50%;
      background-color: #ffffff;
      box-shadow: 0 0 0 10000px rgba(0, 0, 0, 0.25);
      border-radius: 4px;
      position: relative;
    }
      #hd9-modal textarea {
        position: absolute;
        width: 100%;
        height: 100%;
        padding: 1rem;
        font-size: 1.4rem;
        display: inline-block;
      }
      #hd9-modal input[type="submit"] {
        position: absolute;
        z-index: 1;
        bottom: 1rem;
        right: 1rem;
        padding: .5rem;
        width: calc( 100% - 2rem );
        font-size: 1rem;
      }
      #hd9-modal button[type="button"] {
        position: absolute;
        z-index: 1;
        top: -1rem;
        right: -1rem;
        color: #ffffff;
        background-color: #424242;
        display: block;
        border-radius: 300px;
        font-size: 1rem;
        line-height: 0;
        padding: 15px 10px;
        cursor: pointer;
        position: absolute;
        outline: 0;
        text-decoration: none;
      }
/**
 * Apply some style to the extened content on Flaming Inbound Single Message view.
 */
.wrap-extened {
  margin-right: 320px;
  margin-top: 0;
}
  @media (max-width: 850px) {
    .wrap-extened {
      margin-right: 12px;
    }
  }
  .wrap-extened .ui-sortable-handle {
    font-size: 14px; 
    padding: 8px 12px; 
    margin: 0; 
    line-height: 1.4;
  }
  .wrap-extened .inside {
    margin-bottom: 0;
  }
  .wrap-extened small {
    font-size: 11px;  
    font-weight: normal;
  }
/** 
 * Some hacks to fix the Flamingo menu & layout after altering it.
 */
#toplevel_page_flamingo ul li:last-of-type {
  display: none;
}
  .flamingo_page_flamingo_inbound .status-close,
  .flamingo_page_flamingo_inbound .status-close a {
    color: orange;
  }
  .flamingo_page_flamingo_inbound .status-open,
  .flamingo_page_flamingo_inbound .status-open a {
    color: green;
  }
