/* Customization Styles Here */
#emuseumMainWrap {
  padding: 0;
}

body p a, body li a {
  color: #98002e;
}

.emuseum-title-wrap {
  float: left;
  width: 100%;
}

.list-item .primaryMedia {
  width: calc(20% - 15px);
  float: left;
}

.list-item .texts-wrap {
  margin-left: 20%;
}

.detailField:not(.toggleField) .detailFieldLabel {
  font-weight: bold;
}

.detailField:not(.toggleField) .detailFieldLabel + .detailFieldValue {
  display: block;
  overflow: hidden;
}

html body #detailView .tombstone-wrapper {
  max-width: none;
  width: 100vw;
  position: relative;
  left: 49%;
  margin-left: -49vw;
}

.home-tabs {
  padding: 0;
  margin: 0;
  list-style: none;
  float: left;
  width: calc(100% - -32px);
  margin-top: -15px;
  margin-left: -15px;
}

.home-tabs li {
  float: left;
  width: 33.3%;
}

.home-tabs li a, .context-tabs li a {
  height: 66px;
  display: block;
  text-align: center;
  line-height: 66px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  background: #2f3237;
  font-weight: bold;
}

.home-tabs li.active a, .context-tabs li.active a {
  background: #8c1515;
}

.emuseum-bootstrap .container {
  max-width: 1330px;
}

.collections-page .emuseum-container {
  width: 100%;
  max-width: 100%;
}

.collections-page .emuseum-container #emuseumMainWrap {
  max-width: 100%;
}

.col-lg-12.browse .bordered-row {
  border-bottom: 4px solid rgba(173, 190, 199, 0.4);
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.col-lg-12.browse h5::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-left: 12px;
  -webkit-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  background: url(https://dev-hoover9.pantheonsite.io/themes/hoover/templates/dist/images/black-arrow.svg) no-repeat;
  -webkit-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  top: -2px;
  right: 5px;
}

.col-lg-12.browse:hover {
  border-bottom-color: #98002e;
}

.col-lg-12.browse:hover h5 {
  color: #98002e;
}

.col-lg-12.browse:hover h5::after {
  background: url(https://dev-hoover9.pantheonsite.io/themes/hoover/templates/dist/images/red-arrow.svg) no-repeat;
}

.qs-search-container {
  float: left;
  width: 100%;
}

#dynamic-search-wrap .dynamic-field.active.hideLast .form-control:last-child {
  display: none;
}

#dynamic-search-wrap .help-block {
  display: none !important;
}

.emuseum-advancedsearch-form {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  -ms-align-items: flex-start;
  align-items: flex-start;
}

.emuseum-advancedsearch-form.row:before {
  display: inherit;
}

.advancedsearch-field {
  margin-bottom: 10px;
}

.advancedsearch-field input, .advancedsearch-field select {
  width: 100%;
  box-sizing: border-box;
}

.advancedsearch-field-wrap {
  /* border-right:1px solid #ccc;*/
}

.advancedsearch-field-wrap .dynamic-field {
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s;
}

.advancedsearch-field-wrap .dynamic-field.active {
  visibility: visible;
  opacity: 1;
  display: grid;
  grid-template-columns: 60px 3fr 20px 3fr 100px;
  align-items: center;
  justify-content: center;
  text-align: center;
  grid-gap: 10px;
}

.asSubclassifications {
  padding: 0;
  margin: 0;
  list-style: none;
}

#advanced-search-submit input {
  width: 100%;
}

#advanced-search-submit a {
  width: 100%;
  max-width: 200px;
  background-color: #ccc;
}

.emuseum-advancedsearch-form label {
  margin-bottom: 5px;
}

.dynamic-field.null {
  height: 0;
}

.dynamic-field.active {
  height: auto;
  margin-bottom: 12px;
}

.dynamic-field input[type="text"] {
  height: 38px;
  border: 1px solid darkgrey;
  box-sizing: border-box;
  margin: 0 5px;
  width: calc(100% - 343px);
  padding: 0;
  text-indent: 19px;
}

#dynamicFieldButton {
  margin-bottom: 12px;
  padding: 1rem;
  display: block;
  margin: 30px auto;
  border: 2px solid transparent;
  border-radius: 25px;
  transition: color 0.3s,background 0.3s,border 0.3s;
}

#dynamicFieldButton:hover, #dynamicFieldButton:active, #dynamicFieldButton:focus {
  color: #98002e;
  background: #fff;
  border-color: #98002e;
}

@media screen and (max-width: 600px) {
  .dynamic-field input[type="text"] {
    width: 100%;
    margin-bottom: 7px;
  }
}

.dynamic-field select {
  height: 38px;
  border: 1px solid darkgrey;
}

#advanced-search-right-wrap {
  border-left: 1px solid #ccc;
}

.emuseum-advancedsearch-form .alert {
  width: 100%;
  padding: 15px;
  border: 3px solid #8c1515;
  margin: 0px 15px 15px 15px;
}

.alert h4 {
  font-size: 19px;
}

.alert-danger .close {
  color: #8c1515;
  opacity: 1;
  font-size: 20px;
}

.as-date {
  text-indent: 10px;
}

.as-date::-webkit-input-placeholder,
.as-date:-moz-placeholder,
.as-date::-moz-placeholder,
.as-date:-ms-input-placeholder {
  color: #525252;
  font-weight: bold;
  opacity: 1;
}

#advanced-search-submit {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 150px 150px;
  width: 100%;
  grid-gap: 15px;
  border-top: 1px solid #ccc;
  padding: 30px 0 0;
  max-width: 75%;
  margin: 50px auto 0;
}

#advanced-search-submit input[type="submit"], #advanced-search-submit a {
  border: 2px solid rgba(255, 255, 255, 0);
  padding: 1rem;
  font-weight: bold;
  border-radius: 25px;
  line-height: 1;
  text-align: center;
  transition: color 0.3s,background 0.3s,border 0.3s;
}

#advanced-search-submit input[type="submit"] {
  background: #98002e;
  color: #fff;
}

#advanced-search-submit input[type="submit"]:hover, #advanced-search-submit input[type="submit"]:active, #advanced-search-submit input[type="submit"]:focus {
  color: #98002e;
  background: #fff;
  border-color: #98002e;
}

#advanced-search-submit a:hover, #advanced-search-submit a:active, #advanced-search-submit a:focus {
  color: inherit;
  background: #fff;
  border-color: #98002e;
}

.detail-tools {
  display: inline-block;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}

.detail-one-column .detail-grid .media-zone {
  background: none;
}

.archive-default-media.youtube-media .emuseum-defaultmedia {
  padding-top: 0 !important;
}

.detail-item-img, .media-zone {
  margin-bottom: 0;
}

.list-item .primaryMedia .emuseum-defaultmedia-wrap,
.relatedMedia .emuseum-defaultmedia-wrap {
  max-height: 100% !important;
  max-width: 100% !important;
}

.detail-right-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 4px solid #ccc;
}

.detail-right-block h5 {
  margin-bottom: 15px;
}

#citation {
  background: #fff;
  padding: 10px;
  line-height: 1.6rem;
  box-shadow: 3px 4px 4px inset rgba(0, 0, 0, 0.25);
  min-height: 175px;
}

#citation + ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: flex;
  font-size: 12px;
  grid-gap: 10px;
  text-decoration: underline;
}

#citation + ul li {
  flex: auto;
}

#archiveMediaBlockWrap.videoArchiveWrap iframe {
  width: 100vw;
  height: 100vh;
  max-height: 300px;
  max-width: 600px;
}

.sticky-nav.no-padding.off-canvas {
  opacity: 1;
}

.sticky-nav.no-padding.off-canvas li:not(.active) a {
  color: inherit;
}

.detailField a {
  color: #98002e;
}

.detail-item-img #media-chooser-strip span.audio_caption {
  display: flex;
  white-space: break-spaces;
  word-break: break-all;
  clear: both;
  position: relative;
  bottom: 20px;
  font-size: 12px;
  padding: 0 5px;
}

.list-media .emuseum-img-wrap img {
  width: auto;
}

.list-media .audio_caption {
  display: none;
}
