body {
    font-family: "Roboto", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 300;
}

h5 {
    font-weight: 300;
}

h3 {
    margin-top: 10px;
    text-transform: uppercase;
    margin-left: 10px;
    font-weight: 300;
}

h1 {
    margin-top: 10px;
    margin-bottom: 5px;
}

a.search_result_link {
    font-size: 13px;
}

nav h3 a {
    color: black;
}

nav h3 a:hover {
    text-decoration: none;
}

span.vertical-line {
    margin-right: 15px;
    border-right: 1px solid gray;
    margin-left: 20px;
}

div.home p {
    font-size: 20px;
}

th {
    font-weight: normal !important;
}

div.home p.lead {
    font-size: 24px;
    font-weight: bold;
}

div.home p a.btn {
    font-size: 30px;
}

nav ul.navbar-nav {
    padding: 10px;
    float: right;
    display: block;
}

nav ul.portal_nav {
}

nav ul.portal_nav li {
    display: inline;
}

nav li.nav-item a.nav-link {
    background: gainsboro;
    padding: 5px 15px;
    color: black;
    margin-right: 10px;
}

div.portal_nav h5 a {
    color: gray;
}

div.portal_nav h5 a:hover {
    text-decoration: none;
}

div.portal_nav img.logo {
    width: 180px;
    margin-bottom: 4px;
}

div.portal_nav h5 span.company {
    background-color: #18181c;
    color: #ffffff !important;
    padding: 3px 10px 3px 10px;
}

div.portal_nav h5 span.portal {
    font-weight: 300;
    color: black;
    white-space: nowrap
}

div.dataset_card h5 {
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 18px;
}

div.dataset_card h5 a {
    color: black;
}

div.dataset_card p {
    font-size: 16px;
}

div.dataset_column h4 {
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 20px;
}

div.datasets div.dataset_card h5 {
    font-size: 30px;
}

div.datasets div.dataset_card p {
    font-size: 18px;
}

.card-header {
    font-weight: 300;
    font-size: 18px;
}

p.affiliate_disclaimer {
    text-align: center;
    font-size: 12px;
}

code {
    color: #4e73df;
}

ul.errorlist {
    color: #806520;
    background-color: #fdf3d8;
    border-color: #fceec9;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0.35rem;
}

tr.errors p {
    font-weight: bold;
    color: #e74a3b;
}

tr.errors ul {
    margin-bottom: 10px;
}

tr.errors ul li {
    color: #e74a3b;
}

button.error_button {
    border: 0;
}

div.copyright {
    margin-bottom: 20px;
}

div.dataset_type_section h5 a {
    margin-left: 5px;
}

div.dataset_type_section {
    border-bottom: 1px dotted gainsboro;
}

div.dataset_type_form {
    margin-bottom: 10px;
}

div.dataset_type_instructions {
    margin-bottom: 10px;
}

div.dataset_type_instructions img {
    margin: 5px 0 10px 0;
}

div.popover h3 {
    margin: 0;
}

div.popover ul {
    margin-bottom: 0;
}

div.alert h4 {
    font-size: 18px;
}

div.weights_popover {
    text-align: right;
}

a.report_button {
    margin-bottom: 10px;
}

code.bad {
    color: #78261f;
    background-color: #fadbd8;
    border-color: #f8ccc8;
}

div.popover_container {
    width: 500px;
}

div.popover {
    width: 100%;
    max-width: 100%;
}

div#content {
    padding-bottom: 30px;
}

div.report-form-fields {
    margin-bottom: 16px;
}
/* Field groups, used on the Economic Factor report building page */
div.field-group {
    border-radius: 2px;
    padding-left: 2px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
}
div.field-group .row {
    padding-top: 3px;
    padding-bottom: 3px;
    vertical-align: middle;
}
.field-group-header {
    line-height: 28px;
}
.field-group-name {
    margin-left: 5px;
    font-weight: 400;
}
.field-group .row {
    line-height: 40px;
    margin-bottom: 0px;
    vertical-align: middle;
}

.ungrouped-field-row {
    margin-bottom: 4px;
}

/* Switch checkbox; thanks W3 */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #dddfeb;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #5570b6;
}

input:focus + .slider {
  box-shadow: 0 0 1px #5570b6;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 30px;
}

.slider.round:before {
    border-radius: 50%;
}

span.admin_only {
    text-transform: uppercase;
}

span.filter_label {
    font-size: 14px;
}

td.report_buttons form, span.report_detail_buttons form {
    display: inline;
}

input.archive_button, input.unarchive_button, a.download_button {
    font-size: 11px;
    padding: 1px 5px;

}

span.report_detail_buttons a.prominent_download_button {
    padding: 2px 40px;
    font-size: 16px;
}

span.report_detail_buttons a.prominent_download_button i {
    padding-right: 10px;
}

span.report_detail_buttons input, span.report_detail_buttons a {
    font-size: 14px;
}

div.weights_popover table {
    width: 100%;
}

div.weights_popover table td.weight_name {
    text-align: left;
}

div.weights_popover table td.weight_value {
    text-align: right;
}

div.filter_group {
    padding-right: 10px;
}

h5.fields_weights {
    font-size: 16px;
}

/* Fix for blurry downscaled images in Chrome */
@media screen and (-webkit-min-device-pixel-ratio:0)
and (min-resolution:.001dpcm) {
  img {
    image-rendering: -webkit-optimize-contrast !important;
  }
}

/* Unset for Safari 11+ */
@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) and (stroke-color:transparent) {
  img {
    image-rendering: unset !important;
  }
}}
