/* forms.css */

input {
  border: 0;
}

input[type=text], input[type=password] {
  border: 1px solid #000000;
  margin-bottom: 10px;
}

label {
  display: block;
}

fieldset {
  border: 1px solid #ACC3E1;
  display: block;
  padding: 1em;
}

fieldset div label {
  display: inline-block;
  width: auto;
}

fieldset.fieldset-date div label {
  display: block;
  width: auto;
}

fieldset.fieldset-date input {
  margin-right: 1em;
}

label {
  display: block;
  width: auto;
}

input, select, checkbox {
  padding: .2em;
}

input[type="text"] {
  width: 90%;
}

input.slider-numeric-indicator[type=text] {
  margin: 0;
  margin-right: .5em;
  width: auto;
}

select {
  margin-bottom: 1em;
  width: 90%;
}

select.citation-format {
  width: auto;
}

.results-counter {
  font-size: 1.2em;
  font-weight: bold;
  margin: .5em 0;
  padding: .5em 0;
}

input[type="date" i] {
  border: 1px solid black;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

.submit_button {
  border: 0;
  background: #ACC3E1;
  color: #1d385e;
  font-size: 14px;
  text-decoration: none;
  margin-top: 1em;
  padding: 5px 10px;
  white-space: nowrap;
  border-radius: 5px;
  transition: background 250ms, color 250ms;
}

.submit_button.left {
  float: left;
}

.submit_button.right {
  float: right;
  margin-right: 30px;
}

.submit_button:hover {
  background: #1d385e;
  color: #ACC3E1;
}

.submit_button:active {
  background: #1d385e;
  color: #ACC3E1;
  opacity: .7;
}

.submit_button.disabled, .submit_button.disabled:hover, .submit_button.disabled:active {
    background: var(--lightgray);
    color: var(--gray);
    opacity: 1;
}

input[type=text] {
  border: 1px solid #000000;
}


#search-form-2, #search-form-3 {
  display: none;
}

fieldset.fieldset-date {
  display: flex;
}

.master-types label, .master-types input {
  display: inline-block;
}

.checkbox-and-label input, .checkbox-and-label label {
  display: inline-block;
  vertical-align:middle;
}

.jump {
  font-weight: bold;
  display: flex;
  align-items: center;
}
.jump #slider {
  background: var(--lightblue);
  border: 1px solid #1d385e;
  display: inline-block;
  margin-right: 2em;
  min-width: 160px;
}
.jump #slider .ui-slider-handle {
  background: #ACC3E1;
  border: 1px solid #1d385e;
}
.jump input {
  padding: 5px 10px;
}
.jump .results-no-page {
  width: 100%;
  text-align: right;
}

@media screen and (min-width:960px) {

  input[type=text], input[type=password] {
    width: 350px;
  }

  [id^='search-form-'] fieldset input[type=text], [id^='search-form-'] fieldset input[type=password] {
    width: 90%;
  }

  [id^='search-form-'] fieldset.fieldset-date {
    width: 154px;
  }

  [id^='search-form-'] select {
    width: 358px;
  }

  [id^='search-form-'] fieldset, [id*=' search-form-'] fieldset {
    width: 331px;
  }
}