*,
body {
  margin: 0;
  font-family: 'Source Code Pro', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif !important;
  font-size: 12px!important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**
 * Fullscreen view.
 */
.fullscreen {
  position: fixed;
  overflow: scroll;
  top: 0;
  width: 100%;
  height:100vh;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  background: #fff;
  align-items: center;
  justify-content: center;
}

.fullscreen img {
  display: block;
  max-width: 100%;
}

@media screen and (min-width: 1200px) {
  .fullscreen {
    display: flex;
    height:100%;
  }
  .fullscreen .media {
    width: 70%;
  }
  .fullscreen img {
    max-height: 100vh;
  }
}
.fullscreen button {
  position: fixed;
  top: 10px;
  right: 10px;
}

body .sui-layout-body__inner {
  max-width: none;
  padding: 0!important;
}
body .sui-layout-body:after {
  background: transparent;
}
/*
.results {
  column-count: 3;
  column-gap: 2rem;
}

.result {
  margin-bottom: 2rem;
}
.result img {
  max-width: 100%;
}
*/


input.button.sui-search-box__submit {
  background: #000;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.sui-layout-body__inner {
  padding: 0;
}

.sui-layout-sidebar {
  height: 100vh;
  position: fixed;
  overflow: scroll;
}

body .sui-layout-sidebar {
  padding: 30px;
  background: #fff;
  /* box-shadow: 0 4px 20px rgba(0,0,0,0.2); */
  border-right: 2px solid #000;
  /* width: 33%; */
}

.sui-layout-main-header {
  padding: 1rem 1.5rem;
  /* border-bottom: 1px solid #ccc; */
}
body .footer-wrapper {
  border-top: 1px solid #000;
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body .sui-layout-main-footer {
  display: block;
}

body .sui-layout-body {
  background: transparent;
}


.sui-layout-header {
  display: none;
}

.result img {
  max-width: 100%;
}

body .sui-layout-main {
  padding: 0;
}

@media screen and (min-width: 600px) {
  body .sui-layout-main {
    /* padding: .75rem 0 1rem 3rem; */
    margin-left: 24%;
  }
  .results {
    display: table;
    width: 100%;
  }
  .result {
    display: table-row;
    position: relative;
  }

  .result:hover {
    position: static;
    background: rgba(0,0,0,0.07);
    border-radius: 6px;
    cursor: pointer;
  }
  .thumb-placeholder {
    color: #fff;
    width: 40px;
    height: 35px;
    background: #666;
    display: none;
    z-index: 1;
    margin-bottom: 3px;
  }
  .thumb-placeholder svg {
    font-size: 18px!important;
  }
  .thumb-placeholder.visible {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .result > div {
    padding: .5rem 1.5rem;
    display: table-cell;
    vertical-align: middle;
    height: 35px;
    box-sizing: content-box;
  }
  .result .thumb {
    display: inline-block;
    height: 35px;
    margin-right: 1rem;
    z-index: 2;
  }
  .thumb.focus {
    height: auto;
    margin-right: 0;
    z-index: 10;
    position: absolute;
    top: 0;
  }
}

.sui-facet__title {
  word-break: break-word;
}

body .sui-select__control {
  border-radius: 0;
  background: transparent;
}

body .sui-facet-search__text-input {
  /* border-radius: 0; */
  background: #f5f5f5;
  border-color: #f5f5f5;
}

body .sui-facet__title {
  font-weight: bold;
  color: #000;
}

body .rc-pagination.sui-paging > * {
  /*
  border: 1px solid #aaa;
  */
  background: #f5f5f5;
  border-radius: 0;
  min-width: 34px;
  height: 34px;
  line-height: 34px;
  color: #000;
}

body .sui-paging .rc-pagination-jump-next:hover:after,
body .sui-paging .rc-pagination-jump-prev:hover:after {
  color: #000;
}

body .sui-paging .rc-pagination-item:hover a {
  text-decoration: underline;
  color: #000;
}

body .sui-paging .rc-pagination-item a {
  color: #000;
}

body .rc-pagination-jump-prev:after,
body .rc-pagination-jump-next:after {
  font-size: 5px;
  color: #000;
}

body .rc-pagination.sui-paging > .rc-pagination-item-active {
  background: #000;
}

body .sui-paging .rc-pagination-item-active a {
  color: #fff;
}

.reset-search {
  margin-bottom: 1.5rem;
}
.reset-search span {
  margin-right: 1rem;
}


/**
 * Loader.
 */


@media screen and (min-width: 800px) {
  .app > .loader-wrapper {
    margin: 3rem 0;
    margin-left: 420px;
  }
}
.sui-layout-main-body {
  /* position: relative; */
}
.loader-wrapper.loader-content {
}
.loader-wrapper.loader-app {
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 100vh;
  width: 60%;
}
@media screen and (min-width: 800px) {
  .loader-wrapper {
    margin: 15rem 0;
  }
}
.loader-wrapper {
  text-align: center;
  color: hsl(49, 5%, 50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.loader {
  position: relative;
  /* height: 3em; */
  margin: 1rem 0;
  width: 100%;
  display: flex;
  height: 12em;
  justify-content: center;
  align-items: center;
}

.loader div {
  display: inline-block;
  height: 10em;
  width: 10em;
  position: absolute;
  background: #bbb;
  background: hsl(49, 15%, 70%);
  /* background: #006ab4; */
  border-radius: 50%;
  /*animation: ripple-loader 1s ease-out infinite; */
  animation: pulse 1.6s ease-in-out infinite;
}

.loader div:nth-child(2) {
  animation-delay: -.5s;
}

@keyframes pulse {
  0% { transform: scale(0); opacity: 0.5;}
  100% { transform: scale(1); opacity: 0;}
}




body h1 {
  font-size: 18px!important;
  margin: 1rem 0 1rem;
}

.notice-controls {
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  /* padding: .5rem 1rem; */
  /* border-top: 1px solid #000; */
  border-bottom: 2px solid #000;
}
.notice-controls > div:last-child {
  border-right: none;
}
.notice-controls > div {
  padding: 1.5rem 2rem;
  border-right: 1px solid #000;
}
.notice-controls > div:hover {
  cursor: pointer;
  /* background: #f0f0f0; */
  /*
  background: #000;
  color: #fff;
  */
  /* background: #eee; */
  /* color: #fff; */
  /* text-decoration: underline; */
}
.notice-controls > div:hover .control-label {
  text-decoration: underline;
}
.notice-controls > div .control-label {
  display: none;
  margin-left: .5rem;
}
.notice-controls > div.next .control-label {
  margin-right: .5rem;
}
@media screen and (min-width: 1200px) {
  .notice-controls > div .control-label {
    display: inline;
  }
}
.notice-controls .close {
  flex-grow: 1;
  text-align: right;
}
.notice-data {
  padding: 1rem 2rem;
}
h1,
.field {
  margin-bottom: 1rem;
}
.field-label {
  font-weight: bold;
  /* margin-bottom: .5rem; */
  /* display: inline; */
  margin-right: .5rem;
}
/*
.field-label:after {
  content: ":";
  margin-left: .5rem;
}
*/
.field-value {
  /* display: inline; */
}

@media screen and (min-width: 21200px) {
  .notice-data {
    display: table;
    width: 100%;
  }
  .field {
    display: table-row;
  }
  .field-label {
    display: table-cell;
    /* padding-right: 2rem; */
    margin-bottom: 0rem;
  }
  .field-value {
    display: table-cell;
  }
}

/**
 * Viewer
 */
.openseadragon-notice {
  width: 30%;
  left: 70%;
  position: fixed;
  overflow-y: scroll;
  overflow-x: hidden;
  top: 0;
  height:100vh;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: #fff;
}
#openseadragon-wrapper {
  position: fixed;
  height:100vh;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
  color: #fff;
  width: 70%;
}
#openseadragon {
  /* position: fixed; */
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #000;
  z-index: 500;
  height: 100vh;
}

#openseadragon-wrapper .openseadragon-canvas {
  /* transition: opacity 1s; */
}
#openseadragon-wrapper.is-loading .openseadragon-canvas {
  opacity: 0;
}
#openseadragon-wrapper .loader-wrapper {
  display: none;
  position: absolute;
  height: 100vh;
  margin: 0;
  width: 100%;
  z-index: 100;
}
#openseadragon-wrapper.is-loading .loader-wrapper {
  display: flex;
}

.hidden {
  display: none;
}

.viewer-controls {
  z-index: 501;
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.viewer-controls div:hover {
  cursor: pointer;
}
/*
.viewer-controls div#zoom-in:hover {
  cursor: zoom-in;
}
.viewer-controls div#zoom-out:hover {
  cursor: zoom-out;
}
*/
.viewer-controls div:first-child {
  margin-top: 0;
}
.viewer-controls div {
  font-size: 1.5rem;
  color: #000;
  line-height: 0;
  margin-top: 1rem;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 3rem;
  display: flex!important;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
}


.arrow-right:before {
  content: "\f061";
}
.arrow-left {
}

.special-checkboxes .sui-facet + .sui-facet {
  margin-top: 0;
}
