@import url("fontello/css/fontello.css");

.percent {
  display: none;
  white-space: pre-wrap;
}
#dl {
  display: none;
  text-align: center;
  margin-top: 15px;
}
.total,
.grosstotal,
.nettotal {
  color: #1b1b1b !important;
  margin-top: 0.25em !important;
  border-top: 1px solid #1b1b1b;
}
#splash {
  margin: 10px auto;
}
#splashimage {
  width: 100%;
}
#slider {
  margin-top: 1rem;
}
#forSlider,
#forSlider input {
  font-weight: bold;
  width: auto !important;
  display: inline-block !important;
  margin-bottom: 0.3rem;
}
#forSlider input,
#percentChange input {
  border: 0;
  cursor: default;
  outline: none;
}
#percentChange {
  margin-bottom: 15px;
}
#percentChange .percent {
  display: block;
}
#percentChange .amountTitle,
#percentChange #amountAside,
#percentChange #amountSingle {
  display: none;
}
#percentChange .amountTitle {
  font-weight: bold;
}
#percentChange #amountAside,
#percentChange #amountSingle {
  margin: 0.25em auto;
  font-weight: bold;
}
#percentChange #amountAside {
  border: 0;
}
#percentChange .n1 {
  color: #e41a1c;
}
#percentChange .n2 {
  color: #377eb8;
}
#percentChange .n3 {
  color: #984ea3;
}
#percentChange .n4 {
  color: #4daf4a;
}
#percentChange .n5 {
  color: #ff7f00;
}
#percentChange .n6 {
  color: #c0c020;
}
#percentChange .n7 {
  color: #a65628;
}
#percentChange .n8 {
  color: #f781bf;
}
#percentChange .n9 {
  color: #999999;
}
#percentChange .n10 {
  color: #000080;
}
#percentChange .n11 {
  color: #6dd4bf;
}
#percentChange .n12 {
  color: #00e04e;
}
#percentChange .n13 {
  color: #186571;
}

ul.relatedlinks {
  padding-left: 10px;
}

ul.relatedlinks li {
  list-style: none;
  float: left;
}
ul.relatedlinks li:before {
  content: " \2022 ";
  padding-right: 0.5em;
  padding-left: 0.5em;
}

p#statelink a {
  font-size: 1.125rem !important;
}
small.footnote,
small > em {
  display: block;
  margin-top: 5px;
  line-height: 1.2 !important;
}

/*USWDS overrides*/
#selections fieldset div.grid-row.grid-gap-2 div[class^="grid-col-"] {
  padding: 0px 8px 8px 8px !important;
  border-radius: 4px;
}

select:disabled {
  opacity: 0.5 !important;
  border-color: rgba(118, 118, 118, 0.5) !important;
}

@media only screen and (max-width: 850px) {
  div[class^="grid-col-4"] {
    width: 33.3333333333%;
  }
  div[class^="grid-col-3"] {
    width: 25%;
  }
  div[class^="grid-col-9"] {
    width: 75%;
  }
}

@media only screen and (max-width: 614px) {
  div[class^="grid-col"] {
    width: 100%;
  }
  .usa-select {
    max-width: 100% !important;
  }
  #viewTabs button {
    width: 100%;
    margin-bottom: 10px;
  }

  ul.relatedlinks li {
    list-style: disc;
    float: none;
  }
  ul.relatedlinks li:before {
    content: "";
    padding-right: 0;
    padding-left: 0;
  }
}

/*Datatable overrides*/
.dataTables_wrapper {
  padding-top: 1rem;
}
.dataTables_filter input {
  margin: 0 3px 10px 3px !important;
}

/*for space for DT download button*/
div.dataTables_length {
  margin-right: 2rem;
  margin-bottom: 1rem;
}

table.dataTable thead,
table.dataTable thead tr th,
table.dataTable tbody tr td {
  font-size: 0.875rem;
}
table.dataTable thead tr th:not(:first-child),
table.dataTable tbody tr td:not(:first-child) {
  text-align: center;
}
table.dataTable thead tr th {
  border-bottom: 1px solid #1b1b1b !important;
}

/*DataTable fixed left col - old way*/
/*table.dataTable thead tr th:nth-child(1),
table.dataTable tbody tr td:nth-child(1) {
  left: 0;
  position: sticky;
  z-index: 9999;
}*/

/*overrides for DataTables fixed left/right cols applied
/*left col header bg same as others (default white)*/
table.dataTable thead tr > .dtfc-fixed-left,
table.dataTable thead tr > .dtfc-fixed-right {
  background-color: #dfe1e2;
}
table.dataTable thead tr > .dtfc-fixed-right {
  border-right: 2px solid;
}
/*highlight sorted fixed cols*/
table.dataTable thead tr > .dtfc-fixed-right.sorting_asc,
table.dataTable thead tr > .dtfc-fixed-right.sorting_desc {
  background-color: #97d4ea;
}
/*prevent overlap of EPA template back to top icon (default 1)*/
table.dataTable thead tr > .dtfc-fixed-right,
table.dataTable tbody tr > .dtfc-fixed-right,
.ui-slider .ui-slider-range,
.ui-slider .ui-slider-handle {
  z-index: auto;
}

/*align chart elements when zoomed out or very large screen*/
#chartTable_wrapper,
#mapTable_wrapper {
  max-width: max-content;
}

/*map container*/
#mapContainer {
  margin: 20px auto;
}
