@media print {

  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
        url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  /* roboto-italic - latin */
  @font-face {
    font-family: 'Roboto Italic';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/roboto-v30-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/roboto-v30-latin-italic.woff') format('woff'), /* Modern Browsers */
        url('../fonts/roboto-v30-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/roboto-v30-latin-italic.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  /* roboto-700 - latin */
  @font-face {
    font-family: 'Roboto Bold';
    font-style: bold;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/roboto-v30-latin-700.woff') format('woff'), /* Modern Browsers */
        url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
  }
  /* roboto-700italic - latin */
  @font-face {
    font-family: 'Roboto Bold Italic';
    font-style: bold italic;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/roboto-v30-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/roboto-v30-latin-700italic.woff') format('woff'), /* Modern Browsers */
        url('../fonts/roboto-v30-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/roboto-v30-latin-700italic.svg#Roboto') format('svg'); /* Legacy iOS */
  }

  body {
  font: 13pt Roboto, sans-serif;
  line-height: 1.3;
  background: #fff !important;
  color: #000;
  }

  h1 {
  font-size: 24pt;
  }

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

  [dir="rtl"] body {
    direction: rtl;
  }

  table {
    border: 1px solid black;
    border-collapse: collapse;
    border-spacing: 0;
  }

  th {
    text-align: left; /* LTR */
    color: #006;
    border-bottom: 1px solid #ccc;
  }
  [dir="rtl"] th {
    text-align: right;
  }
  tr:nth-child(odd) {
    background-color: #ddd;
  }
  tr:nth-child(even) {
    background-color: #fff;
  }
  td {
    padding: 5px;
  }

  .node--type-book #block-encsd-net-pagetitle-2 {
      content: "";
      background-image: url(../images/policies-logo.png);
      background-repeat: no-repeat;
      background-position: right;
      background-size: 112px 75px;
      padding: 1rem;
      display: block;
  }


  /* Setting content width, unsetting floats and margins */
  /* Attention: the classes and IDs vary from theme to theme. Thus, set own classes here */
  #content,#page {
  width: 100%; 
  margin: 0; 
  float: none;
  border-radius: 0;
  }

  /** Setting margins */       
  @page { 
    margin: 4rem;
  }
  /* Or: */

  @page :left {
    margin: 2rem;
  }

  @page :right {
   margin: 2rem;
  }

  /* The first page of a print can be manipulated as well */
  @page :first {
    margin: 2rem 4rem;
  }

  /* Page Breaks */
  a {
    page-break-inside:avoid;
  }

  blockquote {
    page-break-inside: avoid;
  }

  h1, h2, h3, h4, h5, h6 { 
    page-break-after:avoid; 
    page-break-inside:avoid;
  }
  img { 
    page-break-inside:avoid; 
    page-break-after:avoid;
  }
  table, pre { 
    page-break-inside:avoid; 
  }
  ul, ol, dl  { 
    page-break-before:avoid; 
  }

  /* Displaying link color and link behaviour */
  a:link, a:visited, a {
    background: transparent;
    color: #086c38;
    transition: none;
    font-weight: bold;
    text-decoration: underline;
    text-align: left;
  }

  a {
    line-break:avoid;
  }

  .external::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 0;
    background-image: none;
    display: inline-block;
  }

  a[href^=http]:after {
  content:" < " attr(href) "> ";
  }

  article a[href^="#"]:after {
  content: "";
  }

  a:not(:local-link):after {
  content:" < " attr(href) "> ";
  }

  /* Making intergated videos disappear, and removing the iframes' whitespace to zero. */

  .entry iframe, ins {
  display: none;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  line-height: 0pt !important;
  white-space: nowrap;
  }

  .embed-youtube, .embed-responsive {
  position: absolute;
  height: 0;
  overflow: hidden;
  }

  /* Hiding unnecessary elements for the print */
  #block-encsd-net-breadcrumbs, nav, .highlighted,  
  .heading, .related-posts, #sidebar_first, 
  #header, footer, .site-footer  
  {
  display: none;
  }

  main.main-content {
    box-shadow: none;
    border-radius: 0;
    width:100%;
  }

  /* Adding custom messages before and after the content */

  #header:before {
    content: "Eastern North Carolina School for the Deaf";
    color: #777 !important;
    font-size: 1em;
    padding-top: 30px;
    text-align: center !important;    
  }
}