/**
 * Makes tables responsive on xs and sm devices for shared content
 */
@media screen and (max-width: 991px) {
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
      white-space: pre-line !important;
  }

  .table-responsive > .table {
      width: 100% !important;
  }
}

/**
 * Add swipe message on extra small screens
 */
  @media screen and (max-width: 500px) {
    .table-responsive .table:before {
      padding: 2px 5px;
      content: "Swipe left/right to read more";
      color: #fff;
      background: #222421;
      width: 100%;
      border: 1px solid lightgray;
      display: table-caption;
    }
  }

/**
 * Node and Comment unpublished status:
 *
 * background-color changed to pink with "unpublished" text underneath
 */
  .node-unpublished {
    background-color: #fff4f4;
    padding: 10px;
    min-height: 95px;
  }

  .unpublished {
    position: relative;
    overflow: visible;
    color: #d8d8d8;
    font-size: 75px;
    line-height: 1;
    font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    word-wrap: break-word;
    height: auto;
  }
  
  @media(max-width: 768px) {
    .unpublished {
      font-size: 40px;
    }
  }

  .comment-unpublished:before {
    content: "";
    height: 0;
    overflow: visible;
    color: #d8d8d8;
    font-size: 35px;
    line-height: 1;
    font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
    text-transform: uppercase;
  }

  .comment-unpublished {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }