/* stylelint-disable declaration-no-important */
@import 'layouts/base-styles/variables';
@import 'layouts/base-styles/base';

*,
*:before,
*:after {
  background: transparent !important;
  color: #000 !important; // Black prints faster: h5bp.com/s
  box-shadow: none !important;
  text-shadow: none !important;
}

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

abbr[title]:after {
  content: ' ('attr(title) ')';
}

// Don't show links that are fragment identifiers,
// or use the `javascript:` pseudo protocol
a[href^='#']:after,
a[href^='javascript:']:after {
  content: '';
}

pre,
blockquote {
  border: 1px solid #999;
  page-break-inside: avoid;
}

thead {
  display: table-header-group; // h5bp.com/t
}

tr,
img {
  page-break-inside: avoid;
}

img {
  max-width: 100% !important;
  border: 0;
  page-break-inside: avoid;
}

p,
h2,
h3 {
  orphans: 3;
  widows: 3;
}

h2,
h3 {
  page-break-after: avoid;
}

// Bootstrap specific changes start

// Bootstrap components
.btn {
  > .caret {
    border-top-color: #000 !important;
  }
}

.label {
  border: 1px solid #000;
}

.table {
  border-collapse: collapse !important;

  td,
  th {
    background-color: #fff !important;
  }
}

// Bootstrap specific changes end

@page {
  margin: .5cm;
}

body {
  font: 12pt Georgia, 'Times New Roman', Times, serif;
  line-height: 1.3;
}

h1 {
  font-size: 24pt;
}

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

aside h2 {
  font-size: 18pt;
}

blockquote,
ul {
  margin: 0;
}

.tui-text-content a:after {
  content: ' ('attr(href) ')';
  font-size: 80%;
}

a {
  color: $color-black;
}

p a {
  word-wrap: break-word;
}

.tui-aside-navigation,
.cux-footer-main,
.favs,
.tui-hero.light {
  display: none !important;
}

.info-box .tui-text-content {
  border: 0;
}

.tui-accordion {
  .accordion-item {
    border: 0;
  }

  .trigger {
    background: none;
    padding: 0;
  }

  .tui-text-expander {
    height: auto !important;
  }

  .pictogram {
    display: none !important;
  }

  .tui-text-content {
    padding: 0;
  }
}

.info-breadcrumb {
  margin-bottom: 24px;
}

/* stylelint-enable */
