/* ---------- Print Layout ---------- */

@media print {
  body {
    padding: 0 !important;
  }

  body.node-type-pet-profile {
    /* width: 670px; */
    width: 100%;
    /* margin: 0 auto; */
    /* font: 12pt Georgia, "Times New Roman", Times, serif; */
    line-height: 1.3;
    color: #000;
    position: fixed;
  }

  body.node-type-pet-profile #sidebar-first,
  body.node-type-pet-profile #sidebar-second,
  body.node-type-pet-profile .navigation,
  body.node-type-pet-profile #toolbar,
  body.node-type-pet-profile #triptych-wrapper,
  body.node-type-pet-profile #footer-wrapper,
  body.node-type-pet-profile .tabs,
  body.node-type-pet-profile .add-or-remove-shortcuts {
    display: none;
  }

  body.node-type-pet-profile #header {
    border: none;
    overflow: hidden;
  }

  #header div.section {
    margin: 0;
  }

  body.node-type-pet-profile #header div.section #logo {
    padding: 0;
    float: none;
  }

  body.node-type-pet-profile #header .search-wrapper {
    margin: 0;
    width: 100%;
  }

  body.node-type-pet-profile #header .region-header,
  body.node-type-pet-profile #header .user-dropdown-menu,
  body.node-type-pet-profile #header .slidr-menu {
    display: none;
  }

  article.node.node-pet-profile>div#print-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: .25in .25in .25in .25in;
    font-family: Verdana, sans-serif;
  }

  /* Hide everything unneeded */
  body.node-type-pet-profile header nav {
    display: none
  }

  #header {
    display: none;
  }

  #highlighted {
    display: none;
  }

  #messages {
    display: none;
  }

  #main-wrapper {
    margin: 0;
    padding: 0;
  }

  body.node-type-pet-profile #content {
    margin-top: 0 !important;
    margin-left: 0;
    margin-right: 0;
    width: 100% !important;
    overflow: hidden;
  }

  body.node-type-pet-profile #content .section {
    padding: 0;
  }

  body.node-type-pet-profile #content .print-info {
    display: block;
    width: 90%;
  }

  h1#page-title {
    display: none;
  }

  h2 {
    font-size: 14pt;
    margin-top: 25px
  }

  /* Some browsers like to show a border around images. Switch it off */
  img {
    border: 0
  }

  .chip-number {
    display: none;
  }

  #pet-info>* {
    margin-top: .125in;
    font-size: 1.5em;
  }

  #pet-info>#important-pet-details {
    font-size: 1.6em;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  #pet-info>.field-wrapper#pet-description {
    font-size: 1.6em;
    margin-top: 10px;
  }

  /* By default links are blue. For optimal legibility change them to black */
  p a {
    color: #000
  }

  /* External links don't get this treatment */
  p a[href^="http://"]:after,
  p a[href^="https://"]:after {
    content: " (" attr(href) ")";
  }

  /* Append the source of the citation */
  q:after {
    content: " (" attr(cite) ")"
  }

  body.node-type-pet-profile .print-link {
    display: none;
  }

  div#avid-contact-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid grey;
    /* background-color: #5c88da !important; */
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    padding: .125in .25in .25in .25in;

    img {
      height: 75px;
    }
  }

  #if-found-contact {
    margin-top: 10px;
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
  }

  body.node-type-pet-profile #content h1.print-title {
    display: flex;
    align-items: center;
    height: 75px;
    font-size: 5em;
    line-height: normal;
    margin: 0 0 10px 0;
    padding: 0;
    text-align: center;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    color: red;
  }

  body.node-type-pet-profile #content h2.print-subtitle {
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 2.5em;
    line-height: normal;
    margin: 0 0 10px 0;
    padding: 0;
    text-align: center;
    font-family: Verdana, sans-serif;
  }

  @page {
    margin: 0;
  }
}