h1 {
  text-align: center;
}

h2 {
  color: #ed8033;
  font-weight: bold;
}

h2 span {
  color: #bc0b36;
}

#content .formsRow {
  display: flex;
}

#content b {
  color: #333;
}

#content {
  color: #696969;
}

form#counties,
form#cities {
  padding: 20px;
  width: calc(100% / 2);
}

form#states,
form#foreignImprints {
  padding: 20px;
  width: 50%;
}

form#searchText,
form#categories {
  padding: 20px;
}

form h3 {
  text-align: center;
}

#content input:active,
#content input:focuts,
#content select:active,
#content select: focus {
  border: none;
  outline: none;
}

#content input[type="text"],
#content select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  background: #f1f1f1;
  display: inline-block;
  border: none;
  border-radius: 100px;
  box-sizing: border-box;
}

body input[type="submit"] {
  width: 100%;
  background-color: #00a5c9;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-weight: bold;
  font-family: sans-serif;
  transition: 0.3s;
}

input[type="submit"]:focus {
  border: none !important;
  outline: none !important;
}

body input[type="submit"]:hover {
  background-color: #19aece;
  transform: translateY(-4px);
}

select {
  /* reset */

  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;

  /*Styling*/
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1.2em + 2px),
    calc(100% - 15px) calc(1.2em + 2px), calc(100% - 2.5em) 0.7em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
}

select:focus {
  background-image: linear-gradient(45deg, #00a5c9 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, #00a5c9 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 15px) 1.2em, calc(100% - 20px) 1.2em,
    calc(100% - 2.5em) 0.7em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  border-color: #00a5c9;
  outline: 0;
}

#pageNumContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: -30px;
}

#pageNumContainer a {
  width: 40px;
  height: 40px;
  margin: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  border-radius: 30px;
}

#pageNumContainer a:hover,
#pageNumContainer #active:hover {
  text-decoration: none;
  background: rgba(76, 144, 218, 1);
  color: white;
  font-weight: bold;
  transform: scale(1.25);
}

#pageNumContainer #active {
  text-decoration: none;
  background: rgba(76, 144, 218, 0.5);
  color: white;
  border-radius: 30px;
  font-weight: bold;
}

h2 {
  margin-top: 0;
}

.recordTitles b {
  font-size: 18px;
}

#perPageSelector input:hover,
#perPageSelector label:hover {
  cursor: pointer;
}

/* SPINNER STYLES HERE */

@-webkit-keyframes rotate-forever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes rotate-forever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate-forever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#loading-spinner {
  -webkit-animation-duration: 0.75s;
  -moz-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: rotate-forever;
  -moz-animation-name: rotate-forever;
  animation-name: rotate-forever;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  animation-timing-function: linear;
  height: 100px;
  width: 100px;
  border: 20px solid #333;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
}

#loading-spinner {
  position: fixed;
  top: 50%;
  right: 0;
  bottom: 0;
  left: 50%;
  margin: -70px -70px;
}

/*INST_RESULTS STYLING*/

table {
  border-spacing: 0;
  border-collapse: collapse;
}

#holdings th,
#holdings td {
  border: 2px solid #7a7a7a;
}

#holdings th,
#holdings td {
  padding: 10px;
}

#holdings th {
  text-align: left;
  color: black;
}