/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
  background: #fcfcfc;
}

.header nav {
  background-color: #25aae1;
}

.header .wh-logo {
  display: inline-block;
  margin: 7px;
  width: 50px;
  height: auto;
  vertical-align: top;
}

#stats .collapsible-header:not(.consent) {
  display: block;
  line-height: 32px;
  font-size: 24px;
  font-weight: 300;
}

#stats .collapsible-header:not(.consent):focus {
  outline: medium none;
}

#stats .accordion-item:not(.consent).active {
  background: #fff;
  padding: 24px;
}

#stats .accordion-item.active .collapsible-body:not(.consent) {
  padding: 0;
}

#stats .accordion-item.active .collapsible-header:not(.consent) {
  background: transparent;
  border-bottom: medium none;
  display: block;
  line-height: 32px;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 300;
  padding: 0;
}

#stats .accordion-item.active .card-action:last-child {
  border-radius: 0 0 2px 2px;
}

#stats .accordion-item.active .card-action {
  background-color: inherit;
  border-top: 1px solid rgba(160, 160, 160, 0.2);
  position: relative;
  padding: 16px 24px;
}

.pagination li a,
.pagination li button {
  background-color: transparent;
  border: medium none;
  box-sizing: border-box;
  color: #444;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 1.2rem;
  height: 30px;
  padding: 0 10px;
}

.pagination li a:hover,
.pagination li a:focus,
.pagination li button:hover,
.pagination li button:focus {
  background-color: rgba(160, 160, 160, 0.2);
}

.pagination li.active a,
.pagination li.active button {
  color: #fff;
}

.pagination li.active {
  background-color: #ee6e73;
}

.pagination li.disabled a,
.pagination li.disabled button {
  cursor: default;
  color: #999;
}

.pii-value {
  font-size: .8rem;
}

#information-notice .card .card-content.scrollspy {
  counter-increment: chapter-first;
}

#information-notice .card .card-content .card-title:before {
  content: counter(chapter-first) ". ";
}

#information-notice .card .card-content .second-level {
  counter-increment: chapter-second;
}

#information-notice .card .card-content .second-level .card-title {
  font-size: 21px;
  padding: 14px 14px 0;
}

#information-notice .card .card-content .second-level .card-title:before {
  content: counter(chapter-first) "." counter(chapter-second) " ";
}

#information-notice .card .card-content .third-level {
  counter-increment: chapter-third;
}

#information-notice .card .card-content .third-level .card-title {
  padding: 14px 28px 0;
}

#information-notice .card .card-content .third-level .card-title:before {
  content: counter(chapter-first) "." counter(chapter-second) "." counter(chapter-third) " ";
}

#information-notice {
  max-width: 100%;
  width: 100%;
}

#information-notice #table-of-contents.pin-top {
  width: 100%;
}

#information-notice .diagram {
  display: flex;
  flex-direction: column;
}

#information-notice .diagram-block {
  align-items: flex-start;
  display: flex;
  flex: 1 1 25%;
  flex-direction: row;
  min-height: 70px;
  justify-content: space-between;
}

#information-notice .diagram-block .bubble {
  align-items: center;
  background: #4373c5;
  border: 1px solid #375ca0;
  border-radius: 100%;
  color: #fff;
  display: flex;
  font-size: 1.1rem;
  flex: 0 1 30%;
  font-weight: bold;
  height: 64px;
  justify-content: center;
  margin-bottom: 50px;
  position: relative;
}

#information-notice .diagram-block .bubble:before {
  bottom: -45px;
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 5px 0 5px;
  border-color: #375ca0 transparent transparent transparent;
  position: absolute;
}

#information-notice .diagram-block .bubble:after {
  background: #375ca0;
  bottom: -40px;
  content: '';
  display: block;
  height: 40px;
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  width: 2px;
}

#information-notice .diagram-block:last-of-type .bubble:before,
#information-notice .diagram-block:last-of-type .bubble:after {
  content: none;
  display: none;
}

#information-notice .diagram-block .desc {
  flex: 1 1 70%;
  font-size: 0.875rem;
  margin-top: 0;
}

.consent-cell {
  padding: 0;
}

.collapsible-table-header {
  font-weight: bold;
  padding-left: calc(1rem + 1px);
  padding-right: calc(1rem + 1px);
}

.collapsible-header.consent {
  position: relative;
}

.collapsible-header.consent:after {
  content: 'Click to expand';
  opacity: 0.4;
  position: absolute;
  right: calc(1rem + 1px);
}

.active > .collapsible-header.consent:after {
  content: 'Click to collapse';
}

.collapsible-table-header,
.collapsible-header.consent,
.active > .collapsible-body.consent {
  align-items: center;
  display: flex;
  flex-direction: row;
}

.collapsible-table-header > div,
.collapsible-header.consent > div {
  flex: 1 1 100%;
}

.active > .collapsible-body.consent {
  margin-bottom: 0;
  padding: 1rem 0.25rem 1.25rem;
}

.collapsible-body.consent table {
  margin-bottom: 2rem;
}

.collapsible-body.consent table caption {
  font-size: 1.15rem;
  line-height: 110%;
  margin: .7666666667rem 0 0.06rem 0;
  padding: 0 5px;
  text-align: left;
}

.collapsible-body.consent table th {
  font-size: 0.9rem;
  padding-bottom: 5px;
}

.integration > svg {
  display: inline-block;
  height: auto;
  margin-right: 10px;
  width: 20px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.table-of-contents a.active,
.table-of-contents a:hover {
  border-color: #25aae1;
}

#deletion-log {
  margin-top: 2rem;
}

#deletion-log li.collection-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#deletion-log li.collection-item .time {
  opacity: 0.4;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  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 {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
