
/******************************************************************************
 CUSTOM ADDED CODE ************************************************************
 TODO: Integrate with the main style codebase *********************************
*******************************************************************************/

/* Show a help cursor for any elements with tooltips */
[title]:not([title="home" i]),
a[title]:not([title="home" i]) {
  cursor: help;
}

#views-form-book-book-child-checkboxes .views-row {
  background-color: #EEF;
  border: 2px solid #DDD;
}
#views-form-book-book-child-checkboxes .views-row:not(.views-row-first) {
  border-top-width: 0;
}
#views-form-book-book-child-checkboxes .views-row .views-field {
  color: #0D5C84;
  float: left;
  font-size: 14px;
  line-height: 28px;
  font-weight: bold;
  margin: 1em;
}
#views-form-book-book-child-checkboxes .views-row .views-field-view-node {
  float: right;
}
#views-form-book-book-child-checkboxes .views-row .views-field-view-node a {
  color: #C00;
  font-size: 20px;
}
#views-form-book-book-child-checkboxes .views-row .form-type-checkbox {
  left: 0.5em;
}

/* Clean up the results view for "Request For Information". */
.main-container > .row > section .view-display-id-page_rfi table.views-table tr td {
  border-bottom: 1px dotted #DDD;
  vertical-align: top;
}
.view-display-id-page_rfi table.views-table tr td.views-field-value-2 a:before{
  content: "\01F4CE";
}

/* This is a quick fix. Figure out proper fix later. */
.page-news-outreach-graphs-data-recent-filings .main-container input#edit-submit#edit-submit {
  font-size: 14px;
  font-size: inherit;
}

/* Make the translations buttons more aesthetically pleasing. */
.node header {
  margin: 1em 0;
}
.node .links .language-link {
  border: 1px solid #CCC;
  border-radius: 0.333em;
  box-shadow: 1px 1px 0.125em 0 #888;
  padding: 0.333em 0.5em;
}
.node .links .language-link:focus,
.node .links .language-link:hover,
.node .links .language-link:active {
  background: #555;
  box-shadow: none;
  color: #FFF;
}
.node .links .language-link:before {
  content: "\01F4AC\000020";
}

/* Highlight and append an icon to any newsworthy or noteworthy elements */
.newsworthy,
.noteworthy {
  border: 2px solid transparent;
  display: inline-block;
  font-weight: bold;
  padding: 0.125em;
  position: relative;
}
.newsworthy:hover,
.newsworthy:focus,
.newsworthy:active,
.noteworthy:hover,
.noteworthy:focus,
.noteworthy:active {
  background-color: #FEF3E5;
  background-color: hsla(34, 100%, 48%, 10%);
  border-radius: 0.25em;
  border-color: #F38B00;
  border-color: hsla(34, 100%, 48%, 99%);
  text-decoration: none !important;
}
.newsworthy:after,
.noteworthy:after {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "\2003\00A0";
  display: inline-block;
  font-size: 1.25em;
  margin: 0.125em;
}
.newsworthy:hover:after,
.noteworthy:hover:after {
  filter: invert(100%) sepia(100%) hue-rotate(170deg) saturate(250%);
}
.newsworthy:after {
  background-image: url("/sites/all/themes/nlrb/images/news-icon.png");
}
.noteworthy:after {
  background-image: url("/sites/all/themes/nlrb/images/note-icon.png");
}
.menu > li > a.newsworthy,
.menu > li > a.noteworthy {
  margin-left: -4px;
  margin-left: calc(0 - 2px - 0.125em);
}
