// Global print stylesheet

// reset everything



* {
  background: transparent;
  color: $black;
  text-shadow: none;
  filter: none;
  -ms-filter: none;
}

body {
  @include core-14;
  margin: 0;
  padding: 0;
  width: 100%;
}

a,
a:visited {
  word-wrap: break-word;
}

a[href^="/"]::after,
a[href^="http://"]::after,
a[href^="https://"]::after {
  content: " (" attr(href) ")";
  font-size: 90%;
}

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

img { max-width: 100% !important; }

select { background: $white; }

// sass-lint:disable no-ids
#global-header {
  margin: 3px 0 1em; // 3px additional space at top for countering -3px re-positioning of #logo img

  #logo {
    @include bold-48;
    font-size: 28pt;
    //`bold-80` can be used instead when govuk_frontend_toolkit gem is >= 4.18.2,
    // see https://github.com/alphagov/govuk_frontend_toolkit/pull/328 */
    text-rendering: optimizeLegibility;

    img {
      width: 45px;
      height: 40px;
      position: relative;
      top: -3px; // aligns bottom of img with bottom of "G"
      vertical-align: bottom;
    }
  }

  .content {
    margin: 0 !important;
  }

  a,
  a:visited {
    text-decoration: none;
  }

  a::after {
    content: "";
  }

  img {
    border: 0;
    vertical-align: middle;
  }

}

// hide the unnecessary page elements
body footer,
.visuallyhidden,
#global-cookie-message,
#skiplink-container {
  display: none !important;
}
// sass-lint:enable no-ids
