img, video, object, iframe {
  max-width: 100% !important;
  border: none;
}
img {
  height: auto;
}
.fade {
  -webkit-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}

.fade:not(.show) {
  opacity: 0;
}
.b-lazy {
  -webkit-transition: opacity 500ms ease-in-out;
  -moz-transition: opacity 500ms ease-in-out;
  -o-transition: opacity 500ms ease-in-out;
  transition: opacity 500ms ease-in-out;
  max-width: 100%;
  opacity: 0;
}
.b-lazy.b-loaded {
  opacity: 1;
}
.edan-record, .edan-record * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.edan-record {
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}
.edan-record .edan-viewer-container {
  width: 100%;
}
.edan-record #edan-viewer {
  /*height: 500px;*/
  min-height: inherit;
}
.edan-record .edan-search-result {
  overflow: visible;
}
.edan-record .has-media .record-section {
  grid-template-columns: 1fr 62%;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /*border-bottom: 1px solid #D0D7DE;*/
}

.edan-record .caption, .edan-record figcaption {text-align: center; margin-top: 12px}

.edan-media-wrapper {
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

.edan-record .media-inner, .edan-record .media-container .type--images .media-inner a  {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}

.type--map iframe{
  width: 100%;
}
.edan-record .no-toolbar .media-inner {
  display: block;
}
.edan-media-wrapper ul, .media-slider ul, .popover ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.edan-media-wrapper ul > li, .media-slider ul > li, .popover ul > li{
  list-style-type: none;
  list-style-image: none;
  padding: 0;
  margin: 0;
}

.media-metadata .card-body,
.edan-record .accordion button,
#viewerContainer,
.media-container.view-zoomable #edan-image{
  display: none !important;
}

.media-container.view-zoomable #viewerContainer,
#heading-tab-usage,
.has-download #heading-tab-download,
.has-iiif #heading-tab-iiif{
  display: block !important;
}

.edan-record .header {
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.25;
}
.edan-record .card-header {
  margin-right: 10px;
}
.edan-record .media-container {
  margin-bottom: 1.5em;
}
/*.edan-record .media-container:last-child {*/
  /*margin-bottom: 0;*/
/*}*/
.edan-record .media-metadata {
  border-top: 1px solid #D0D7DE;
  margin: 1.5em auto 0;
  padding-top: .75em;
  padding-right: 85px;
  position: relative;
}
.edan-record .edan-viewer-container .media-metadata {
  border-top: none;
  margin-top: 0;;
  padding-top: 0;
}
.edan-record .media-metadata .btn {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  position: relative;
  line-height: 1;
  box-shadow: none;
}

.edan-record .alt-media .media-inner {
  text-align: center;
}
.btn:hover {
  background: transparent;
}

.edan-record .fill {
  fill: #262626;
}
.edan-record .stroke {
  stroke: #262626;
}
.edan-record .svg-bg {
  fill:#fff;
}
.edan-record .btn:hover,
.edan-record .btn:focus {
  color: #165C7D;
}
.edan-record .btn:hover .fill,
.edan-record .btn:focus .fill{
  fill: #165C7D;
}
.edan-record .btn:hover .stroke,
.edan-record .btn:focus .stroke{
  stroke: #165C7D;
}
.edan-record .btn-usage:hover .fill,
.edan-record .btn-usage:focus .fill {
  fill: #165C7D;
}
.edan-record .btn-usage:hover .svg-bg,
.edan-record .btn-usage:focus .svg-bg {
  fill: #fff;
}

.edan-record .btn:focus, .edan-record .btn:hover, .edan-record .btn:active, .edan-record .btn.active {
  background-color: transparent;
  border-color: transparent;
  text-decoration: none;
}

.edan-record .media-metadata .btn-viewer {
  position: absolute;
  right: 0;
  top: .75em;
  display: none;
}
.edan-record .media-metadata svg{
  height: 26px;
}
.edan-record .media-metadata .btn-iiif svg {
  height: auto;
  width: 28px;
}
.edan-record .media-metadata .btn-viewer svg{
   width: 20px;
  height: auto;
}
.edan-record .media-metadata .btn-usage svg{
  width: 50px;
  height: auto;
}
.edan-record figcaption .btn {
  display: inline-block;
  margin: .5em 0;
}
.type--3d_package .media-inner {
  min-height: 400px;
}
.type--3d_package .media--loading{
  position: absolute;
  top: 50%;
}

/*.edan-media-wrapper .type--video .mejs__container,*/
.edan-media-wrapper[data-viewer="page"]  .type--3d_package .media-inner,
.edan-media-wrapper.page .type--3d_package .media-inner,
.type--video_embed .media-inner,
.type--video:not(.mediaelement) .media-inner{
  padding-bottom: 75%; /* 4:3 */
  position: relative;
  overflow: hidden;
}

.type--video iframe,
.edan-media-wrapper[data-viewer="page"]  .type--3d_package iframe,
.edan-media-wrapper.page  .type--3d_package iframe,
.type--video_embed iframe,
.media-container.view-zoomable #viewerContainer iframe{
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100% !important; ;
  height: 100% !important;
  margin:0;
}

.media-metadata .accordion {
  position: relative;
}
.edan-record .accordion .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 360px;
  width: 80%;
  height: 36px;
}

.edan-record .field {
  overflow: hidden;
  margin: 0 0 1.5em;}


.edan-record dt {
  font-weight: bold;
  padding-top: .75em;
}

.edan-record dt:first-child {
  padding-top: 0;
}

.edan-record dd {
  margin-left: 0;
  margin-bottom: .75em; }
.edan-record dd:last-child {
  margin-bottom: 0; }

.usage--restricted {
  display: none;
}
.media--no-openaccess .usage--restricted {
  display: inline;
}
.media--no-openaccess .usage--cc0 {
  display: none;
}

.edan-record .has-text-media .edan-media-wrapper {
  grid-template-columns: repeat( auto-fit, minmax(145px, 1fr) );
}
.edan-record .has-text-media {
  max-width: 980px;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}

.edan-record .collapse-header {
  margin-bottom: 1.5em;
  margin-left: 40px;
}
.edan-record .collapse-header .icon {
  background: none;
  position: relative;
  display: inline-block;
  border: 2px solid #D0D7DE;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 30px;
  margin-left: -40px;
  margin-right: 5px;
  top: 10px; }
 .edan-record .collapse-header .icon:before, .edan-record .collapse-header .icon:after {
  display: block;
  height: 2px;
  width: 12px;
  position: absolute;
  left: 7px;
  content: ''; }
.edan-record .collapse-header .icon:before, .edan-record .collapse-header .icon:after {
  background: #165C7D;
  display: block;
	-webkit-transition: top .3s ease-out, -webkit-transform .3s ease-out;
	transition: top .3s ease-out, -webkit-transform .3s ease-out;
	transition: transform .3s ease-out, top .3s ease-out;
	transition: transform .3s ease-out, top .3s ease-out, -webkit-transform .3s ease-out;
  content: '';
  top: 12px; }
.edan-record .collapse-header .icon:after {
  -webkit-transform: rotate3d(0, 0, 1, -90deg);
  transform: rotate3d(0, 0, 1, -90deg); }
.edan-record .collapse-header[aria-expanded=true] .icon:after {
  -webkit-transform: rotate3d(0, 0, 1, 0deg);
  transform: rotate3d(0, 0, 1, 0deg); }
.edan-record .object-list .details {
  padding-left: 40px; }

.collapse:not(.show) {
  display: none; }

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition: height 0.35s ease;
  transition: height 0.35s ease; }
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto; }

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0; }
.modal .button-wrapper {
  text-align: right;
}
.modal .button-wrapper button{
  font-size: 40px;
  padding: 0;
  line-height: 1;
  background: transparent;
  border: none;
  color: #fff;
  margin: 0;
}
.modal-dialog {
  position: relative;
  width: 100%;
  margin: 0.5rem;
  pointer-events: none; }
.modal.fade .modal-dialog {
  -webkit-transition: transform 0.3s ease-out;
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  -ms-transform: translate(0, -50px);
  transform: translate(0, -50px); }
.modal.show .modal-dialog {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none; }

.modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem); }
/* line 78, css/scss/components/_modal.scss */
.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  content: ""; }
/* line 85, css/scss/components/_modal.scss */
.modal-dialog-centered.modal-dialog-scrollable {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%; }
/* line 90, css/scss/components/_modal.scss */
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none; }
/* line 94, css/scss/components/_modal.scss */
.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none; }

/* line 101, css/scss/components/_modal.scss */
.modal-content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  background-color: #000;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  -webkit-box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
  outline: 0; }

/* line 119, css/scss/components/_modal.scss */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000; }
/* line 129, css/scss/components/_modal.scss */
.modal-backdrop.fade {
  opacity: 0; }
/* line 130, css/scss/components/_modal.scss */
.modal-backdrop.show {
  opacity: 0.5; }

/* line 135, css/scss/components/_modal.scss */
.modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #E2E8EC;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem; }
/* line 143, css/scss/components/_modal.scss */
.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto; }

/* line 151, css/scss/components/_modal.scss */
.modal-title {
  margin-bottom: 0;
  line-height: 1.5em; }

/* line 158, css/scss/components/_modal.scss */
.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem; }

/* line 167, css/scss/components/_modal.scss */
.modal-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #E2E8EC;
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem; }
.modal-footer > :not(:first-child) {
  margin-left: .25rem; }
.modal-footer > :not(:last-child) {
  margin-right: .25rem; }

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll; }

.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: block;
  min-width: 250px;
  max-width: 480px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: 0.875rem;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}

.popover .arrow {
  position: absolute;
  display: block;
  width: 1rem;
  height: 0.5rem;
  margin: 0 0.3rem;
}
.popover ul, .popover ul li {
  list-style: disc;
}
.popover ul{
  margin: 8px 0 8px 15px}

.popover .extra,
.popover .extra--3d{
  border-top: 1px solid #D0D7DE;
  padding-top: 8px;
  margin-top: 8px;
}
.extra + .extra--3d {
  border-top: none;
  padding-top: 0;
}
.popover .extra a {
  display: block;
}
/*** popover arrow ***/
.popover .arrow::before, .popover .arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-style: solid;
}

.bs-popover-top, .bs-popover-auto[x-placement^="top"] {
  margin-bottom: 0.5rem;
}

.bs-popover-top > .arrow, .bs-popover-auto[x-placement^="top"] > .arrow {
  bottom: calc(-0.5rem - 1px);
}

.bs-popover-top > .arrow::before, .bs-popover-auto[x-placement^="top"] > .arrow::before {
  bottom: 0;
  border-width: 0.5rem 0.5rem 0;
  border-top-color: rgba(0, 0, 0, 0.25);
}

.bs-popover-top > .arrow::after, .bs-popover-auto[x-placement^="top"] > .arrow::after {
  bottom: 1px;
  border-width: 0.5rem 0.5rem 0;
  border-top-color: #fff;
}

.bs-popover-right, .bs-popover-auto[x-placement^="right"] {
  margin-left: 0.5rem;
}

.bs-popover-right > .arrow, .bs-popover-auto[x-placement^="right"] > .arrow {
  left: calc(-0.5rem - 1px);
  width: 0.5rem;
  height: 1rem;
  margin: 0.3rem 0;
}

.bs-popover-right > .arrow::before, .bs-popover-auto[x-placement^="right"] > .arrow::before {
  left: 0;
  border-width: 0.5rem 0.5rem 0.5rem 0;
  border-right-color: rgba(0, 0, 0, 0.25);
}

.bs-popover-right > .arrow::after, .bs-popover-auto[x-placement^="right"] > .arrow::after {
  left: 1px;
  border-width: 0.5rem 0.5rem 0.5rem 0;
  border-right-color: #fff;
}

.bs-popover-bottom, .bs-popover-auto[x-placement^="bottom"] {
  margin-top: 0.5rem;
}

.bs-popover-bottom > .arrow, .bs-popover-auto[x-placement^="bottom"] > .arrow {
  top: calc(-0.5rem - 1px);
}

.bs-popover-bottom > .arrow::before, .bs-popover-auto[x-placement^="bottom"] > .arrow::before {
  top: 0;
  border-width: 0 0.5rem 0.5rem 0.5rem;
  border-bottom-color: rgba(0, 0, 0, 0.25);
}

.bs-popover-bottom > .arrow::after, .bs-popover-auto[x-placement^="bottom"] > .arrow::after {
  top: 1px;
  border-width: 0 0.5rem 0.5rem 0.5rem;
  border-bottom-color: #fff;
}

.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 1rem;
  margin-left: -0.5rem;
  content: "";
  border-bottom: 1px solid #f7f7f7;
}

.bs-popover-left, .bs-popover-auto[x-placement^="left"] {
  margin-right: 0.5rem;
}

.bs-popover-left > .arrow, .bs-popover-auto[x-placement^="left"] > .arrow {
  right: calc(-0.5rem - 1px);
  width: 0.5rem;
  height: 1rem;
  margin: 0.3rem 0;
}

.bs-popover-left > .arrow::before, .bs-popover-auto[x-placement^="left"] > .arrow::before {
  right: 0;
  border-width: 0.5rem 0 0.5rem 0.5rem;
  border-left-color: rgba(0, 0, 0, 0.25);
}

.bs-popover-left > .arrow::after, .bs-popover-auto[x-placement^="left"] > .arrow::after {
  right: 1px;
  border-width: 0.5rem 0 0.5rem 0.5rem;
  border-left-color: #fff;
}

.popover-header {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.popover-header:empty {
  display: none;
}

.popover-body {
  padding: 0.5rem 0.75rem;
  color: #212529;
}

@media (min-width: 600px) {
  /* line 192, css/scss/components/_modal.scss */
  .modal-dialog {
    margin: 1.75rem auto; }
  /* line 197, css/scss/components/_modal.scss */
  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem); }
  /* line 200, css/scss/components/_modal.scss */
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem); }
  /* line 205, css/scss/components/_modal.scss */
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem); }
  /* line 208, css/scss/components/_modal.scss */
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem); }
  /* line 213, css/scss/components/_modal.scss */
  .modal-content {
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5); }
  /* line 217, css/scss/components/_modal.scss */

  .edan-record .has-text-media .record-section {
    display: grid;
    grid-column-gap: 40px;
    grid-template-columns: 1fr 62%;
  }
  .edan-record .has-text-media .recordDetails {
    grid-column: span 2;
    order: 2;
  }

  .edan-record .has-text-media .edan-media-wrapper {
    grid-column: span 2;
    display: grid;
    grid-column-gap: 20px;
    align-content: start;
    order: 1;
  }
}
@media (min-width: 768px) {
  .edan-record .has-media .record-section {
    display: grid;
    grid-column-gap: 40px
  }

  .edan-record {
    width: 100%;
    position: relative;
  }
  .edan-record .no-media {
    max-width: 980px;
  }
  .edan-record .has-media .record-section {
    /*padding-right: 36%;*/
    min-height: 60vh;
  }
  .edan-media-wrapper[data-viewer="embed"] .has-ids #heading-tab-viewToggle {
    display: block !important;
  }
  .media-container.view-zoomable #viewerContainer {
    padding-bottom: 1em;
    background: #000;
  }
  .media-container.view-zoomable #viewerContainer .media-inner {
    position: relative;
  }
  .media-container.view-zoomable .image-wrapper {
    display: none;
  }
  /*.edan-media-wrapper .type--video .mejs__container,*/
  .edan-media-wrapper.page .type--3d_package .media-inner,
  .type--video_embed .media-inner,
  .type--video:not(.mediaelement) .media-inner,
  .media-container.view-zoomable #viewerContainer .media-inner{
    padding-bottom: 56.25%; /* 16:9 */
  }

  .edan-record .has-media .recordDetails {
    /*width: 34%;*/
    /*position: absolute;*/
    /*top: 0;*/
    /*right: 0;*/
    padding: 20px;
    margin-left: 0;
    /*height: calc(100vh - 120px);*/
    height: 80vh;
    overflow-y: scroll;
    background: #f4f6f7;
  }
  .has-media .edan-media-wrapper {
    margin-bottom: 0;
    padding: 1.5em 3%;
  }
  /*.edan-record .edan-media-wrapper {*/
  /*width: 64%;*/
  /*}*/
}


@media (min-width: 980px) {
  .edan-record .type--images .media-metadata .btn-viewer {
    display: block;
  }
}
