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

/**
 * By importing this CSS file as media "all", we allow this print file to be
 * aggregated with other stylesheets, for improved front-end performance.
 */
@media print {

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

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

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

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

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

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

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

  /* Hide sidebars and nav elements. */
  #skip-link,
  #toolbar,
  #navigation,
  .region-sidebar-first,
  .region-sidebar-second,
  #footer,
  .breadcrumb,
  .tabs,
  .action-links,
  .links,
  .book-navigation,
  .forum-topic-navigation,
  .pager,
  .feed-icons,
  .block-tb-megamenu,
  .header__region,
  .tabs-primary, 
  .tabs-secondary,
  .field-type-addthis,
  #block-views-news-voir-aussi-related-content,
  #footer,
  .region-footer-second,
  .region-bottom {
    visibility: hidden;
    display: none;
  }
  
  /* inrap */
  body {padding-top:0 !important;}
  #site-slogan {float:right;padding:0;width:auto;}
  #header {position:static !important;}
  .header-wrapper {overflow:hidden;}
  .header__logo-image {max-width:100px !important;}
  h1.page__title, h1.node__title {font-size:2em !important;font-weight:700 !important;text-shadow:none !important;line-height:normal !important;padding:20px 0 !important;}
  .group-header {margin-bottom:20px !important;text-shadow:none !important;padding:0 !important;width:auto !important; border:none !important;}
  .groups-wrapper {padding:0 !important;}
  .ds-3col-stacked .group-left {width:100% !important;padding:0 !important;float:none !important;}
  .ds-3col-stacked .group-middle {margin:20px 0 0 0 !important;float:none !important;}
  .ds-3col-stacked .group-middle-content {padding:0 !important;max-width:inherit !important;}
  .ds-3col-stacked .group-right {width:100% !important;float:none !important;}
  .group-right {position:static !important;}
  .group-taxonomy a {padding:0 !important; display:block; }
  #content .field-name-post-date, 
  #content .field-name-changed-date,
  #content .field-name-field-chronique,
  .groups-wrapper-content,
  .group-footer {padding-left:0 !important; padding-right:0 !important;}
  .group-middle .type-image.context-dnd_context_default, 
  .group-middle .type-image.context-sdl_editor_representation {margin-left:0 !important;}
  
  .bloc-standard div,
  h2,
  p,
  .group-right {page-break-inside: avoid;}
	
	.node-type-glossaire .field-name-formulaire-contact,
	.node-type-glossaire .group-taxonomy{display:none;}
  
}
