/* app.css */
/* local copy... @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700); */
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 200; src: local('Source Sans Pro ExtraLight'), local('SourceSansPro-ExtraLight'), url(../fonts/SourceSansPro/SourceSansPro-ExtraLight.ttf) format('truetype'); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 300; src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(../fonts/SourceSansPro/SourceSansPro-Light.ttf) format('truetype'); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(../fonts/SourceSansPro/SourceSansPro-Regular.ttf) format('truetype'); }
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 700; src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(../fonts/SourceSansPro/SourceSansPro-SemiBold.ttf) format('truetype'); }

body, .tooltip, .popover, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: Source Sans Pro,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

body {
  color: #595959;
}

script[type="text/template"] {
  display: none;
}

.bg-black { background-color: #000 !important; }
.bg-dark-blue { background-color: #273142 !important; }
.bg-light-grey { background-color: #f7f7f7 !important; }

.text-dark-grey { color: #999 !important; }
.text-light-grey { color: #a6a6a6 !important; }

#c-loading {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 10;
  background-color: #fff;
  opacity: 1.0;
}

#c-toggle-facets {
  border: solid 1px #739a42;
  background: #fff;
  color: #000;
  padding: 0.25rem;
}

#c-toggle-facets .navbar-toggler-icon {
  background-size: 50%;
  background: no-repeat center url('../img/menu.svg');
}

#c-facets {
  font-size: 0.938em;
}

#c-remove-filters .btn.btn-light {
  border: solid 1px #e3e3e3;
}

#c-remove-filters .btn:after {
  font-size: 15px;
  font-weight: bold;
  width: 15px;
  height: 15px;
  display: inline-block;
  line-height: 15px;
  content: '×';
  color: rgba(0, 0, 0, 0.25);
  padding: 0px 0px 0px 5px;
}

.btn-primary,
.btn-primary:hover,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.page-item.active .page-link {
  background-color: #273142;
  border-color: #273142;
}

.page-link { color: #273142; }
.page-link:hover { color: #273142; }

#ri .form-control {
  color: #595959;
  border-color: rgba(0, 0, 0, 0.1);
}

#c-results thead th {
  vertical-align: top;
}

#c-results thead th a {
  color: #333;
}

#c-results tbody td {
  font-size: 0.9em;
  color: #595959;
}

#c-results-pagination {
  font-size: 0.85em;
}

#ri .table-striped tbody tr:nth-of-type(odd) {
  background-color: #fafafa;
}

#ri .custom-control-input:checked~.custom-control-label::before {
  border-color: #0474f8;
  background-color: #338ffc;
}

#ri .custom-control-input:not(:disabled):active~.custom-control-label::before {
  border-color: #eef4ea;
  background-color: #eef4ea;
}

#c-facets {
  font-size: 0.938em;
}

.c-response-statistics {
  color: #595959;
}

.c-filter-collapse:hover,
.c-filter-title:hover {
  text-decoration: underline;
}

.c-filter-title {
  color: #202020;
  background: none;
  padding-bottom: 0;
  font-weight: 700;
  font-size: 0.9em;
  letter-spacing: 0.02em;
}

.c-filter-items {
  max-height: 370px;
  overflow-y: auto;
}

.c-filter .c-show-more-link {
  display: inline-block;
  font-style: italic;
  font-weight: bold;
  color: #999;
  padding: 0.25rem;
  margin-left: 0.75rem;
}

/* filter item lists can get pretty long... */
.c-filter-items li {
  width: 100%;
}

.c-filter-items > li {
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
}

/* https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
#ri .custom-control-label,
.c-filter-items a:not(.item-count),
.c-filter-items span:not(.item-count) {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
}

a,
.c-filter-items a,
.c-filter-items a:not(.item-count),
.c-filter-items a:not(.item-count):hover {
  color: #498fe2;
}

.c-filter-items .item-count {
  color: rgba(0, 0, 0, 0.4);
  background-color: rgba(0, 0, 0, 0.025);
  text-align: center;
  height: 18px;
  padding: 0 4px;
  margin-top: 2px;
  margin-left: 3px;
  font-size: 0.75em;
  line-height: 1.25em;
  overflow-wrap: normal !important;
  word-wrap: break-word !important;
  -ms-word-break: break-word !important;
  word-break: normal !important;
}

#c-remove-filters .btn.btn-light {
  border: solid 1px #e3e3e3;
}

#c-remove-filters .btn:after {
  font-size: 15px;
  font-weight: bold;
  width: 15px;
  height: 15px;
  display: inline-block;
  line-height: 15px;
  content: '×';
  color: rgba(0, 0, 0, 0.25);
  padding: 0px 0px 0px 5px;
}

#c-remove-filters .btn-primary:after {
  color: rgba(255, 255, 255, 0.75);
}

.table thead th {
  border-bottom-width: 1px;
  padding: 1rem 0.7rem;
  font-size: 0.9em;
  border-top: none;
}

.table td {
  padding: 0.5rem 0.7rem;
}

.c-sort-dir {
  display: inline-block;
  width: 10px;
  height: 10px;
}

.c-sort-dir img {
  width: 100%;
}

.c-filter .c-checkbox label {
  display: block;
}

/*  ---------------------------------------------------  */

@media (max-width: 767px) {
  .table td {
    line-height: 1.2;
  }
}

@media (min-width: 768px) {
  #c-facets {
    display: block !important;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS styles go here */
}
