/**
 * @file
 * Print styling
 *
 * We provide some sane print styling for Drupal using Zen's layout method.
 */

@media print {

  a:link,
  a:visited { /* underline all links */
    text-decoration: underline !important;
  }

  #site-name a:link,
  #site-name a:visited { /* Don't underline header */
    text-decoration: none !important;
  }

  #content a[href]:after { /* Add visible URL after links. */
    content: " (" attr(href) ")";
    font-weight: normal;
    font-size: 16px;
  }

  #content a[href^="javascript:"]:after,
  #content a[href^="#"]:after { /* Only display useful links. */
    content: "";
  }

  #content abbr[title]:after { /* Add visible title after abbreviations. */
    content: " (" attr(title) ")";
  }

  #content { /* Un-float the content */
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body,
  #page,
  #main,
  #content { /* Turn off any background colors or images */
    color: #000;
    background-color: transparent !important;
    background-image: none !important;
  }

  #skip-link,
  #toolbar,
  #navigation,
  .region-sidebar-first,
  .region-sidebar-second,
  #footer,
  .breadcrumb,
  .tabs,
  .action-links,
  .links,
  .book-navigation,
  .forum-topic-navigation,
  .pager,
  .feed-icons { /* Hide sidebars and nav elements */
    visibility: hidden;
    display: none;
  }


  /**************************************************************************************/
  /*                Xenos Custom Styles                                                 */
  /**************************************************************************************/

  /* Hide page header */
  #header {
      display: none !important;
  }

  /*******************************/
  /* Calendar specific overrides */
  /*******************************/

  /* Make content black  */
  .calendar-calendar td,
  .calendar-calendar td a,
  .calendar-calendar td .inner div.day a,
  .calendar-calendar .month-view .full td.multi-day div.monthview a,
  .calendar-calendar .week-view .full td.multi-day div.weekview a,
  .calendar-calendar .day-view .full td.multi-day div.dayview a {
    color: #000;
  }

  /* Give multi-day banners a gray background */  
  .calendar-calendar .month-view .full td.multi-day div.monthview,
  .calendar-calendar .week-view .full td.multi-day div.weekview,
  .calendar-calendar .day-view .full td.multi-day div.dayview,
  .calendar-calendar .month-view .full td.multi-day .inner .monthview .continues,
  .calendar-calendar .month-view .full td.multi-day .inner .monthview .cutoff,
  .calendar-calendar .week-view .full td.multi-day .inner .weekview .continues,
  .calendar-calendar .week-view .full td.multi-day .inner .weekview .cutoff {
    background: #ccc;
  }

  /* Remove underlining from links */
  .calendar-calendar td a {
    text-decoration: none !important;
  }

  /* Use a normal font weight for times */
  .calendar-calendar td span.date-display-single,
  .calendar-calendar td span.date-display-start,
  .calendar-calendar td span.date-display-end,
  .calendar-calendar td span.date-display-separator {
    font-weight: normal !important;
  }

  /* Hide links (Zen's print view normally outputs link URLs) */
  .calendar-calendar a[href]:after,
  .feed-icon {
    content: "";
    display: none;
  }

} /* End @media print */
