/* Utility applies to all pages */

/**
 * UTILITY CLASSES
 */

/* Layout */

html,
body {
  background-color: white;
}

main {
  min-width: 100%;
}

.jumbotron {
  background-color: #f4f3f1;
}

/* lists */

ol,
ul {
  font-size: 18px;
  font-family: "Work Sans", Arial, Helvetica, sans-serif;
  line-height: 1.25;
}

.breadcrumb {
  background-color: white;
}

@media (max-width: 700px) {
  .breadcrumb {
    background-color: #f9f4ee;
  }
  .breadcrumb-item {
    padding: 0.5rem;
  }
}

/* Links */

a[href]:not(.btn) {
  color: #664dff;
  text-decoration: underline 0.15rem solid;
  /* text-underline-offset: .09rem; */
}

a[href].link-dark {
  color: black;
}

/* a[href]:visited {
    color: black;
    this is affecting button text too so remove it for now
} */

a[href]:hover,
a[href]:active {
  text-decoration: none;
}

a[href]:focus {
  outline: 0.15rem solid black;
}

/* Badges */

.badge-primary {
  color: black;
  background-color: #ccd1ff;
}

.badge-secondary {
  color: black;
  background-color: #f1bf5c;
}

/* Download Data Page */

/* State Menu --- without icons */

.state-list-small {
  display: block;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
  grid-auto-rows: minmax(2em, auto);
  grid-gap: 0.25rem;
  gap: 0.25rem;
  max-width: 100%;
  padding: 1rem;
}

/* State Menu */

.state-card p {
  text-align: center;
  margin-bottom: 0;
}

.state-list {
  display: block;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
  grid-auto-rows: minmax(2em, auto);
  grid-gap: 1em;
  gap: 1em;
  max-width: 100%;
  text-align: center;
}

.state-list li {
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 1em;
  box-shadow: 0 4px 8px 0 rgb(0 0 0 / 10%);
  transition: 0.3s;
  border-radius: 0.25rem;
  background-color: white;
  font-weight: 400;
}

.state-list li:hover {
  box-shadow: 0 8px 16px 0 rgb(0 0 0 / 15%);
}

a[href]:focus figure {
  border: 2px solid black;
}

.list-typesofdata {
  display: block;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
  grid-auto-rows: minmax(2em, auto);
  grid-gap: 1em;
  gap: 1em;
  max-width: 100%;
  text-align: center;
  padding: 2em;
}

.list-typesofdata li {
  padding: 1em;
  font-weight: 500;
  line-height: 1.15;
  text-align: left;
}

.state-icon {
  max-height: 75px;
  width: auto;
  padding: 0.5em;
}

/* on data pages */

.brownbox {
  background-color: #f9f4ee;
}

/* ONLY FOR DATA DOWNLOAD TERMS OF USE AGREEMENT PAGE */

.terms-of-use {
  width: auto;
  height: 300px;
  overflow: scroll;
  padding: 1em 1em 0;
  border: 2px solid #d6d6d6;
  margin-bottom: 1.5em;
}

.terms-of-use h2 {
  font-size: 1.777rem;
}

.terms-of-use h3 {
  font-size: 1.333rem;
}

/* I think this is still used with terms of use page */

.story-text {
  max-width: 39.375rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
}

/* form - this may need it's own page */

#mc_embed_signup {
  clear: left;
}

/* #mc_embed_signup div.mce_inline_error {
    background-color: #CCD1FF;
    color: black;
    border-radius: .25rem;
}

#mc_embed_signup input.mce_inline_error {
    border: 2px solid black;
} */

.indicates-required {
  font-size: 0.563rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
}

input,
textarea,
select,
button {
  width: 150px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

label {
  font-size: 1rem;
  margin-bottom: 0;
  margin-top: 0.25rem;
}

input,
textarea {
  border: 1px solid grey;
  border-radius: 0.25rem;
  padding: 0.25rem;
}

input[type="text"],
input[type="email"] {
  display: block;
  margin-bottom: 1rem;
  min-width: 12rem;
  min-height: 1rem;
}

/* input:focus, textarea:focus {
  background   : rgba(0,0,0,.1);
  border-radius: 5px;
} */

input {
  -webkit-appearance: none;
  appearance: none;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
}

input[type="checkbox"] {
  position: relative;
  width: 25px;
  height: 25px;
  border: 1px solid gray;
  border-radius: 0.25rem;
  vertical-align: -2px;
  color: black;
  background-color: white;
}

input[type="checkbox"]::before {
  content: "✔";
  position: absolute;
  font-size: 1.333rem;
  right: -4px;
  top: -6px;
  visibility: hidden;
}

input[type="checkbox"]:checked::before {
  visibility: visible;
}

.checkbox-group {
  display: block;
}

.checkbox-label {
  padding-left: 0.5rem;
  padding-bottom: 0.5rem;
}

/* search styling  */

.input-group-text {
  color: black;
  background-color: #ccd1ff;
}

/* style print page */

@media only print {
  nav, footer, .gtranslate-embed-here, .input-group, .input-group-sm {
    display:none;
    }
}