.youtube-placeholder-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.youtube-placeholder-wrapper {
    width: 100%;
    height: 100%;
    background-image: url('https://arkivdigital-wordpress.s3.eu-west-1.amazonaws.com/wp-content/uploads/2023/12/12121639/niklas-bild-2-1024x1024-1-1024x1024.webp');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    border-radius: 6px;
    cursor: pointer;
}

.youtube-placeholder-wrapper:hover {
    opacity: 0.8;
}

.youtube-placeholder-icon {
    color: red;
    width: 50% !important;
    height: auto !important;
}

.youtube-placeholder-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 15px;
    width: 70%;
}

.react-draggable {
  z-index: 9999 !important;
  top: 100px;
  left: calc(50vw - 335px);
}

.resizable-and-draggable-wrapper {
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.resizable-and-draggable-header {
  cursor: move;
  z-index: 10;
  background-color: white;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  color: #030303;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;

  .fa-arrows-alt {
    font-size: 20px;
    transform: rotate(45deg);
  }
}

.resizable-and-draggable-content {
  padding: 10px;
  height: 85%;

  .resizable-and-draggable-footer {
    width: 100%;
    position: absolute;
    margin: 5px;
    bottom: 10px;
    left: 0;

    .resize-container {
      position: absolute;
      height: 30px;
      width: 30px;
      right: 5px;
      bottom: -15px;

      .fa-angle-double-right {
        position: absolute;
        right: -9px;
        bottom: -13px;
        font-size: 30px;
        transform: rotate(45deg);
      }
    }
  }

  .youtube-placeholder {
    width: 100% !important;
    height: auto !important;
    padding: 15px;

    .youtube-placeholder-wrapper {
      background-position: top -198px right -104px;
      background-size: 117%;
    }

    .youtube-placeholder-text {
      width: 50%;
      z-index: 200;
    }
  }
}

.adapp-react-simple-text-input-container {
  width: 100%;
  position: relative;
  display: inline-block;
}

.adapp-react-input-label {
  font-size: 16px;
  font-weight: 500 !important;
  margin-left: 10px;
  margin-right: 10px;
}

.adapp-react-text-input, .adapp-react-text-input:visited, .adapp-react-text-input:active {
  border-radius: 4px !important;
  border: 1px solid black !important;
  width: calc(100% - 20px) !important;
  padding: 6px 12px;
  font-size: 14px;
  outline: 0;
  height: 32px !important;
  color: black !important;
  font-weight: normal !important;
}

.adapp-react-text-input:focus, .adapp-react-text-input:hover  {
  border: 1px solid #2084C2;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.input-explanation {
  margin-left: 10px;
  margin-right: 10px;
  font-size: 14px;
  font-weight: normal !important;
}

.available-suggestions {
  position: absolute;
  top: 61px;
  border-radius: 4px;
  border: 1px solid black;
  background-color: white;
  width: calc(100% - 50px);
  margin-left: 10px;
  margin-right: 10px;
  z-index: 11;
}

.available-suggestions > .suggestion {
  padding: 8px 12px;
}

.available-suggestions > .suggestion:hover {
  background-color: #DEEBFF;
  cursor: pointer;
}

.remove-input-field-button {
  color: #bbb;
  position: absolute;
  right: 30px;
  bottom: 6px;
  z-index: 10;
  cursor: pointer;
}

.react-select__control:focus, .react-select__control:hover, .react-select__control--is-focused, .react-date-picker:hover {
  border: 1px solid #2084C2;
  border-color: black !important;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
  cursor: pointer;
}

.react-select__input-container {
  margin: 0 !important;
  padding: 0 !important;
}

.react-select__indicator {
  svg {
    fill: #030303 !important;
  }
}

.react-select__indicator-separator {
  background-color: #030303 !important;
}

.react-select__value-container {
  text-align: left !important;
  padding: 2px 0 2px 8px !important;
}

.react-select__value-container, .react-select__indicator-separator, .react-select__indicator {
  margin-top: -3px;
}

.react-select__menu-list {
  overflow-x: auto !important;
}

.react-select__menu {
  max-width: 100% !important;
}

.react-select__menu-portal {
  z-index: 11 !important;
}

.react-select__option {
  cursor: pointer !important;
  text-align: left !important;
  white-space: nowrap !important;
  padding: 3px 5px !important;
}

.react-select__option--is-selected {
  background-color: #2084C2 !important;
}

.react-select__placeholder, .react-select__menu-notice {
  color: #030303 !important;
}

.react-date-picker {
  z-index: 11;
  width: 100%;
  /*min-width: 165px;*/
  border: none !important;
  border-radius: 4px;
}

.react-date-picker__wrapper {
  width: 100%;
  border-radius: 4px;
  background-color: white;
  border: 1px solid black !important;
  height: 30px !important;
  white-space: nowrap !important;
}

.react-date-picker__inputGroup {
  min-width: 0 !important;
  overflow: hidden;
}

.search-history > .adapp-react-simple-text-input-container > div > .input-explanation {
  margin-left: 0;
}

.bs-dropdown-toggle {
  font-weight: 400;
}

.bs-dropdown.show {
  display: inline-block !important;
}

.bs-dropdown-toggle.show {
  display: inline-block !important;
}

.bs-dropdown-toggle:hover {
  cursor: pointer !important;
  text-decoration: underline !important;
}

.bs-dropdown-toggle.no-underline:hover {
  text-decoration: none !important;
}

.bs-dropdown-toggle > .caret {
  margin-left: 7px;
}

.bs-dropdown-menu {
  max-width: 500px;
  white-space: nowrap;
  left: auto !important;
  right: 0 !important;
}

.bs-dropdown-menu > div:not(:first-child) {
  border-top: 1px solid black;
}

.bs-dropdown-menu > div:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.bs-dropdown-menu > div:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.bs-dropdown-menu > div:first-child {
  border-top: none !important;
}

.bs-dropdown-item {
  color: #263842 !important;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  min-width: 160px;
  padding: 6px 25px 6px 15px !important;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  border-top: 1px solid lightgray !important;
}

.bs-dropdown-item:hover {
  background-color: #f5f5f5 !important;
  cursor: pointer;
}

.bs-modal-content {
  white-space: pre-line;
}

.cart-dropdown-item {
  color: #263842 !important;
  gap: 15px;
  min-width: 160px;
  padding: 6px 15px 6px 15px !important;
  font-size: 14px;
  text-align: left;
  list-style: none;
  border-top: 1px solid lightgray !important;
}

.cart-dropdown-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.cart-dropdown-block {
  display: block;
}

.nav-tabs .nav-item {
  background-color: #fff;
}

.nav-tabs .nav-item .nav-link {
  background-color: #fff;
  border: 1px solid transparent;
  border-bottom: 1px solid lightgray;
  border-radius: 0;
  padding: 10px 15px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: #2084C2;
  background-color: #fff;
  border: 1px solid lightgray;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom: 1px solid #fff;
  cursor: default;
}

.nav-tabs .nav-link:hover {
  color: #2084C2;
}

.nav-tabs .nav-link.active:hover {
  color: #2084C2;
}

.input-group .form-control:first-child {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}

.input-group .form-control:last-child {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

.input-group .form-control:focus {
  background-color: white;
}

.shortcuts-modal p {
  font-size: 12pt;
  line-height: 160%;
}

.shortcuts-modal .shortcut-span {
  position: absolute;
  left: 60%;
  padding: 0 4px;
  border: 1px solid #D3D3D3;
  border-radius: 18px;
  font-weight: bold;
  text-align: center;
  width: 160px;
  min-height: 32px;
}

.shortcuts-modal .shortcut-span .modal-title {
  text-align: center;
}

.register-explanation-error-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  color: #cec4b1;
  font-size: 20px;
}

.register-explanation-error-container > .fa {
  font-size: 40pt;
}

.link-button {
  color: #2084C2;
  background-color: #fff;
  border: none;
  padding: 0 !important;
  text-decoration: underline;
}

.link-button:hover {
  color: rgb(34.6799586777,82.4466942149,123.6700413223);
  text-decoration: underline;
}

.bold-link-button {
  text-decoration: none;
  font-weight: 700;
}

.search-results-table-container {
  max-height: calc(100vh - 255px);
  overflow-y: auto;

  > table:hover {
    cursor: default;
  }

  &.result-list-without-pagination {
    max-height: calc(100vh - 225px);
  }

  &.result-list-view-only {
    max-height: calc(100vh - 210px);

    &.result-list-without-pagination {
      max-height: calc(100vh - 175px);
    }
  }

  &.result-list-table-view {
    max-height: calc(100vh - 300px);

    &.result-list-without-pagination {
      max-height: calc(100vh - 265px);
    }
  }

  &.result-list-table-view-only {
    max-height: calc(100vh - 205px);

    &.result-list-without-pagination {
      max-height: calc(100vh - 175px);
    }
  }
}

.search-results-table-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.search-results-table-container::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #E4DBCF;
}

.search-results-table-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #685E55;
}

#image-settings-container {
  cursor: default;
}

.image-viewer-next-to-register-post {
  width: 100%;

  #image-viewer-container {
    width: 100%;
  }
}

.image-arrow {
  color: #fff;
  font-size: 30px;
  position: absolute;
  top: 50%;
  margin-top: -40px;
  z-index: 1;
  padding: 20px;
  -webkit-text-stroke: 2px #000;
  background: none !important;
  border: none !important;


  &.image-arrow i {
    zoom: 1;
    margin-right: 10px;
  }
  &.image-arrow:hover i {
    zoom: 1.1;
  }
}

.image-arrow.image-arrow-scale-on-hover {
  &:hover {
    transform: scale(1.1);
    transition: transform 0.1s;
  }
}

.container.img-menu-wrapper {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  .loader-lg {
    margin-top: 30%;
  }
}

h5.tile-loaded-failed {
  position: absolute;
  top: 45%;
  color: #fff;
  left: 50%;
  z-index: 9;
  transform: translateX(-50%);
}

#image-settings-div {
  position: absolute;
  top: 0;
  margin: 0;
  width: 100%;
  padding: 0 30px 0 30px;
  background: #F7F4ED;
  text-align: center;
  z-index: 3;

  .dropdown-menu {
    right: -50px;
  }
}

.fullscreen-enabled {
  background: black;
}

.fullscreen-enabled #image-settings-div {
  position: fixed;
  z-index: 999;
  width: 100%;
  top: 0;
  left: 0;
}

.fullscreen-enabled .openseadragon-container {
  margin: 0;
  padding: 0;
}

.fullscreen-enabled #seadragon-viewer {
  height: 100vh !important;
  margin: 0;
  padding: 0;
}

.image-settings-container-adtree-open {
  width: 100%;
  float: right;
}

.adapt-to-map {
  width: 70%;
  float: right;
}

.register-copy-button {
  a {
    color: inherit;
    text-decoration: none;
  }
}

.icon-orange {
  color: #D57830;
  font-size: 12pt;
}

.image-setting-button-react {
  background-color: #F7F4ED;
  color: black;
  min-width: 50px;
  width: auto;
  border-right: 2px #FAF9F7;
  border-style: none solid none none;
  box-shadow: 1px 0 0 0 #EAE3D2;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
  font-size: 8pt !important;
  border-radius: 0;
  outline: 0 !important;
  padding: 1px 5px !important;
  font-weight: normal !important;
  vertical-align: middle;

  &:hover {
    background-color: #D2DDE2;
  }

  &:disabled {
    opacity: 0.3;

    &:hover {
      background-color: #F7F4ED;
    }
  }

  .icon-green {
    color: #7DAC6D;
    font-size: 12pt;
  }

  .icon-black {
    color: #000000;
    font-size: 12pt;
  }

  .icon-blue {
    color: #1C79BA;
    font-size: 12pt;
  }
}

.image-setting-button-disabled {
  opacity: 0.3;
  cursor: default !important;

  &:hover {
    background-color: #F7F4ED;
  }
}

.hide-button-text {
  display: none;
}

.smaller-menu-icons {
  min-width: 30px;
  padding: 5px 5px !important;
}

#smaller-menu-icons {
  min-width: 30px;
}

.toggle-small-menu {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 8px 8px 8px !important;
  background: none;
  border: none;
  box-shadow: none;
  height: 100%;
}

.toggle-small-menu-collapsed {
  padding: 4px 8px 4px 8px !important;
}

.image-info-bar {
  position: absolute;
  top: auto;
  left: 0;
  width: 100%;
  height: 35px;
  color: white;
  font-size: 10pt;
  padding: 7px 5px 5px 15px;
  background: rgba(0, 0, 0, 0.5);
  transition: right 300ms ease-in, width 300ms ease-in;
  will-change: right, width;

  &:hover {
    cursor: default;
  }

  p {
    float: left;
    display: inline-block;
    height: 20px;
    width: auto;
    padding: 0;
    margin: 0;

    &:hover {
      cursor: text;
    }
  }
}

html[data-transcription-sidebar-resizing="true"] .image-info-bar {
  transition: none !important;
}

.select-image {
  vertical-align: top;
  position: relative;
  bottom: 0;
  width: auto;
  min-width: 160px;
  display: inline-block;
  padding: 5px;

  .react-select__option {
    display: inline-block;
  }

  .react-select__control {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .react-select__menu {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: fit-content !important;
    max-width: 400px !important;
    min-width: 180px !important;
    overflow-x: auto !important;
  }

  .react-select__menu-list {
    max-height: calc(100vh - 200px);
    width: fit-content !important;
  }
}

.small-select {
  padding: 1px 0;
}

.image-settings-menu {
  height: auto;
  width: 325px;
  display: block;
  position: absolute;
  top: auto;
  right: 20px;
  z-index: 9;
  background: white;
  border: 2px solid #F7F4ED;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 10px;
  font-size: 10pt;

  .filter-check {
    float: left;
    padding-right: 5px;

    &[disabled] {
      opacity: .5;
    }
  }

  #slide-num-left, #slide-num-right {
    margin-right: 5px;
    margin-left: 2px;
  }

  #brightness-slider, #contrast-slider, #zoom-slider {
    display: inline;
    width: 82%;
    vertical-align: middle;
  }

  button {
    background: #2084C2;
    color: white;
    border-radius: 4px;
    font-size: 10pt;
    border: none;
    padding: 4px 10px;
    margin-top: -2px;
    outline: 0;
    width: auto;
    height: auto;
  }

  &:hover {
    cursor: default;
  }

  .image-filter-row {
    width: 100%;
    overflow: auto;

    input[type="checkbox"]:checked {
      accent-color: #2084C2;
    }

    .select-setting {
      padding-left: 5px;
      float: left;
    }
  }
}

.write-on-print {
  position: absolute;
  width: calc(100% - 50px);
  outline-color: #2084C2;
  border: 2px solid #CCC;
  border-radius: 4px;
}

.text-layout-print {
  font-weight: bold;
  margin: 10px 10px 5px 5px;
}

.print-radios {
  position: relative;
  float: left;
}

#text-layout-radio-top, #text-layout-radio-bottom {
  margin: 5px;
}

.print-buttons {
  width: auto;

  button {
    margin: 20px 10px 10px 10px;
    padding: 10px;
    float: left;
    background-color: white;
    border-radius: 30px;
    border: 2px solid #E7E0D5;
    font-weight: bold;
    outline: none;
  }

  .continue-printing {
    background-color: #3C923C;
    color: white;
    border: 2px solid white;
  }
}

.seadragon-wrapper {
  position: relative;
}

#seadragon-viewer {
  overflow: hidden;
  background: black;
  position: relative;
  display: block;
  left: 0;
  bottom: 50px;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0;
  height: calc(100vh - 50px);

  .openseadragon-container {
    .openseadragon-canvas {
      > canvas {
        background: black !important;
      }
    }
  }

  &:hover {
    cursor: grab;
  }
}

.container.img-menu-wrapper {
  width: 100%;
  height: auto;
  margin-bottom: 1px !important;
  padding: 0;

  .horizontal-line {
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: #2084C2;
    left: 0;
  }

  .fullscreen-enabled {
    #seadragon-viewer {
      height: 100vh;
    }
  }

  .toggle-transcription-menu {
    display: inline-block;
    position: relative;

    .image-setting-button-react {
      position: relative;
      background-color: #F7F4ED;
      color: black;
      min-width: 40px;
      height: 40px;
      border: none;
      border-right: 2px #FAF9F7;
      border-radius: 0;
      padding: 0;
      justify-content: center;
      text-align: center;
      vertical-align: middle;
      cursor: pointer;

      &:hover {
        background-color: #D2DDE2;
      }

      &:disabled {
        background-color: #F7F4ED;
        cursor: default;
      }
    }

    .button-icon {
      margin-bottom: 5px;
      font-size: 14pt;
    }

    .button-text {
      font-size: 8pt;
      display: block;
    }

    .hide-button-text .button-text {
      display: none !important;
    }

    .hide-button-text {
      display: inline-block;
    }

    &.smaller-menu-icons {
      width: 30px;
      height: 30px;
      line-height: 30px;
      padding: 0;
      font-size: 10px;
      text-align: center;
    }
  }
}

.toggle-transcription-menu-wrapper {
  position: relative;
  display: inline-block;
}

.transcriptions-new-feature-tooltip {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6);
  background-color: white !important;
  font-size: 16px !important;
  opacity: 1 !important;
  white-space: nowrap;
  z-index: 1000;
}

.transcriptions-new-feature-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}


.overlay-row {
  outline: 3px solid rgb(76, 174, 76);
  border-radius: 6px;
  width: 200px;
  height: 50px;
  cursor: pointer !important;
  opacity: 0;
  z-index: 2;
  box-shadow: 0 0 17px 7px rgb(76, 174, 76) !important;

  &.window-overlay-row {
    cursor: grab !important;
  }
}

.overlay-word {
  outline: 3px solid rgb(76, 174, 76);
  border-radius: 6px;
  cursor: pointer !important;
  z-index: 4;
  opacity: 0;
  pointer-events: auto;

  &.window-overlay-word {
    cursor: grab !important;
  }
}

.line-interpreter-overlay-words-wrapper, .fulltext-overlay-words-wrapper {
  outline: 3px solid rgb(0, 0, 0);
  background: white;
  border-radius: 6px;
  z-index: 2;
  opacity: 0;
  box-shadow: 0 0 17px 7px rgb(0, 0, 0) !important;
}

.overlay-word-text {
  cursor: pointer !important;
  position: absolute;
  border-radius: 6px;
  z-index: 2;
  opacity: 0;
  display: flex;
  justify-content: center;
  text-align: center;
  align-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 12px;
  width: 100%;
  height: 100%;
  transition: font-size 0.2s ease;

  &.window-overlay-word-text {
    cursor: grab !important;
  }
}

.overlay-background-container {
  width: 100%;
  height: 100%;
  position: absolute;
}

.overlay-visible-text, .overlay-visible-text-background {
  opacity: 1;
  z-index: 0;
}

.window-overlay-word-text {
  opacity: 1;
  visibility: hidden;
  transition: font-size 0.4s ease;
  z-index: 0;
}

.window-transcription-overlay {
  z-index: 3;
  outline: 3px solid rgb(76, 174, 76);
  border-radius: 6px;
  width: 200px;
  height: 75px;
  box-shadow: 0 0 17px 7px rgb(76, 174, 76) !important;
  background: transparent;
  position: absolute;
  pointer-events: none;
  transition: width 0.4s ease, height 0.4s ease;
}

.window-container {
  position: relative !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.words-container {
  position: absolute !important;
  width: 100%;
  height: 100%;
  clip-path: inset(0px 0px 0px 0px);
  -webkit-clip-path: inset(0px 0px 0px 0px);
  pointer-events: none;
  visibility: hidden;
}

.transcription-loading-message-container {
  position: absolute;
  bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;

  .transcription-loading-message {
    color: #2084C2;
    font-weight: bold;
    font-size: 15px;
    background: black;
    border: 1px solid #2084C2;
    padding: 3px 8px;
    border-radius: 6px;
    width: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -3px 0 25px -2px #888888;
  }
}

.matching-word-overlay {
  background-color: rgba(0, 128, 255, 0.25);
  color: transparent !important;
  box-shadow: none !important;
  outline: 1px solid rgba(0, 128, 255, 0.75);
  opacity: 1;
  z-index: 0;
}

.matching-word {
  background-color: yellow;
  border-radius: 3px;
  box-shadow: 0 0 5px black;
  padding: 0 1px;
  margin: 0 1px;
  display: inline-block;
  font-style: normal;
}

.transcription-loading-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

.transcription-loading-container .spinner {
  pointer-events: auto;
}


.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid rgba(0, 128, 255, 0.75);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.transcription-menu-container {
  display: flex;
  position: fixed;
  top: 110px;
  right: 0;
  align-items: flex-start;
  max-width: calc(100% - 20px);
  visibility: hidden;
  transition: visibility 0.3s ease;
  z-index: 6;
  cursor: default;
}

.transcription-menu-container.open {
  visibility: visible;
}

.resize-handle {
  width: 5px;
  background: rgba(0, 0, 0, 0.2);
  cursor: ew-resize;
  height: 100%;
  position: absolute;
  left: -5px;
  top: 0;
}

.resize-handle:hover {
  background: rgba(0, 0, 0, 0.4);
}

.transcription-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: auto;
  padding-right: 10px;
  top: 40px;
  position: relative;
  transform: translateX(450px);
  transition: transform 0.3s ease-in;
}

.transcription-buttons-container.open {
  transform: translateX(0);
}

.transcription-menu-buttons-tooltip {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6);
  background-color: white !important;
  font-size: 16px !important;
  opacity: 1 !important;
}

.transcription-menu-content {
  display: flex;
  flex-direction: column;
  width: 450px;
  height: calc(100vh - 110px);
  border: 1px solid #ddd;
  background-color: #E7E0D5;
  transform: translateX(100%);
  transition: transform 0.3s ease-in;
  padding: 0 10px 10px 10px;

  h1 {
    font-weight: bold;
  }
}

.transcription-menu-content-fixed-top {
  position: sticky; /* Keeps the menu content fixed at the top */
  top: 0; /* Position it at the very top */
}

.transcription-menu-content.open {
  transform: translateX(0);
}

.transcription-button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #2084C2;
  border-radius: 20px;
  width: 40px;
  height: 40px;
  transition: background-color 0.3s ease,
  border-color 0.3s ease;
  visibility: visible !important;
}

.transcription-button:hover {
  background: lightgray;
}

.transcription-button i {
  font-size: 2.0rem
}

.transcription-button.icon-white {
  background-color: white;
  color: #2084C2;
}

.transcription-button.icon-white:hover {
  background-color: #F0F0F098;
}

.transcription-button.icon-blue {
  background-color: #2084C2;
  color: white;
}

.transcription-button.icon-blue:hover {
  background-color: #2064C2;
}

.transcription-settings {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: default;

  h4 {
    font-weight: bold;
    margin-bottom: 0 !important;
    cursor: default;
  }

  label {
    font-weight: normal;
    width: 100%;
    cursor: default;
  }

  button {
    font-size: 12px;
    padding: 4px 10px;
  }

  .transcription-slider-container {
    width: 100%;

    input[type=range] {
      margin: 10px 0;
    }
  }
}

.transcription-settings-bottom-buttons {
  display: flex;
  flex-direction: row;

  button {
    font-size: 12px;
    padding: 4px 10px;
  }
}
.transcription-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .toggle-transcription-settings-button {
    border-radius: 50%;
    cursor: pointer;
    width: 35px;
    height: 35px;
    padding: 7px;
    font-size: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    background-color: transparent;

    &:hover {
      background-color: #D2DDE2;
    }

    &.open {
      background-color: rgba(28, 121, 186, 0.75);
      color: white;

      &:hover {
        background-color: rgba(28, 121, 186, 0.75);
        color: white;
      }
    }
  }
}

.transcription-text-container {
  flex-grow: 1;
  overflow-y: auto;
}

.transcription-text-line {
  font-size: 19px;
  display: flex;
  flex-direction: row;
  border-radius: 6px;
  cursor: text;
  min-width: fit-content;
  flex-wrap: wrap;
  padding: 0 3px;

  .transcription-text-word {
    height: 100%;
    display: inline-block;
    padding: 3px 0;

    span {
      height: 100%;
      display: inline-block;
      border-radius: 6px;
    }
  }
}

.transcription-text-line:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.1);
}

.transcription-background-color-button {
  width: 60px;
  height: 30px;
  margin-right: 5px;
  margin-bottom: 5px;
  border: 1px solid black;
  border-radius: 5px;
  transition: border 0.1s ease;
}

.transcription-background-color-button.active {
  border: 3px solid black;
  outline: none;
}

.transcription-slider {
  width: 50% !important;
  background-color: white;
}

.transcription-text-line {
  white-space: pre-wrap;
  display: block;
}

.transcription-text-word {
  display: inline-block;
}

.transcription-text-word::after {
  white-space: pre;
}

.transcription-text-line::after {
  content: '\A';
  white-space: pre;
}

.transcription-settings-container {
  position: absolute;
  top: 0;
  right: 20px;
  padding: 8px 8px 8px 8px !important;
  background-color: white;
  border: 2px solid #F7F4ED;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  width: auto;
  z-index: 8 !important;
  box-shadow: 1px 0 0 0 #EAE3D2;
}

.return-to-machine-text-search {
  width: 100%;
  font-weight: bold;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  max-width: 100%;
  flex-wrap: nowrap;

  div {
    display: flex;
    gap: 3px;
    align-items: center;
    cursor: pointer;

    color: #2084C2;

    .fa {
      color: #2084C2;
    }

    &:hover {
      text-decoration: underline;
    }
  }

  i {
    font-weight: normal;
  }

  .fa {
    color: black;
    cursor: pointer;

    &:hover {
      opacity: 0.7;
    }
  }
}

.return-to-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
  cursor: pointer;

  .fa {
    flex: 0 0 auto;
  }
}

.return-to-text {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}

.return-to-close {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

.search-matching-words-container {
  background-color: #C6D8E0;
  border-radius: 6px;
  padding: 6px;

  .search-matching-words-input-container {
    display: flex;
    flex-direction: row;
    align-items: center;

    button {
      border-radius: 0 4px 4px 0 !important;
      border: none !important;
    }
  }
}

#placeholder-for-transcription-text {
  margin-left: 0;
}

.transcription-text-input {
  width: 100% !important;
  border-radius: 4px 0 0 4px !important;

  &:active, &:focus {
    width: 100% !important;
  }
}

#search-matching-words-container > div.search-matching-words-input-container > div > div > .remove-input-field-button {
  right: 10px !important;
}

.search-matching-words-buttons-container {
  width: 100%;

  .search-matching-words-buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 10px;

    .search-matching-words-button {
      width: 50%;
      height: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 0 5px 5px 0;
      border: 1px solid #cccccc;

      &:disabled {
        cursor: not-allowed;
      }

      &:first-child {
        border-radius: 5px 0 0 5px;
        border: 1px solid #003eff;
        background: #007fff;
        color: #ffffff;
      }

      &.search-matching-words-all-material-button {
        background: #f6f6f6;
        color: #454545;

        &:hover {
          border: 1px solid #cccccc;
          background: #ededed;
          font-weight: normal;
          color: #2b2b2b;
        }
      }
    }
  }

  .search-matching-words-filter-rows {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;

    input[type=radio], input[type=checkbox] {
      margin: 0 !important
    }

    span {
      margin-bottom: 4px !important;
    }
  }
}

.no-matching-words-message {
  text-align: center;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.5);
  font-size: 18px;

  .link-button {
    background-color: transparent !important;
  }
}

.fuzzy-search-tooltip {
  max-width: 350px;
  opacity: 1 !important;
  white-space: normal !important;
  padding: 4px !important;
  padding-top: 8px !important;

  &::before {
    height: 0 !important;
  }
}

.fuzzy-search-tooltip-icon {
  color: #47AF88;
  font-size: 16pt;
  position: relative;
  left: 6px;
  top: 2px;
}

.search-matching-words-label {
  color: #2084C2;
  font-weight: bold;
  font-size: 14px;
  overflow: hidden;
  margin-bottom: 6px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  & div:first-child {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
  }

  & i {
    word-wrap: break-word;
    white-space: normal;
  }
}

.navigate-images-with-hits-container {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap !important;

  .button-as-link {
    font-size: 16px;

    span {
      font-weight: bold;
    }
  }

  button {
    color: #C6D8E0;
    text-decoration: none !important;

    &:hover {
      opacity: 0.8;
    }
  }

  .navigate-images-with-hits-arrow {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: #C6D8E0;
    background-color: #2064C2;
    font-size: 15px;
    border: none!important;
    outline: none!important;

    display: flex;
    justify-content: center;
    align-items: center;

    .fa {
      margin-bottom: 1px;
    }

    &:hover {
      opacity: 0.8;

      &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }
    }
  }
}

.navigate-images-with-hits-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stop-word-message {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #F7F4ED;
  border: 1px solid #E7E0D5;
  border-radius: 4px;
  padding: 12px 16px;
  animation: slideIn 0.3s ease-out;
}

.stop-word-icon {
  color: #385361;
  display: flex;
  align-items: center;
  font-size: 18px;
}

.stop-word-text {
  color: #3E4D55;
  font-size: 14px;
  line-height: 1.4;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#react-index-guide {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#index-guide-arrow-text {
  font-weight: bold;
  position: absolute;
  top: 100px;
  left: 220px;
  width: 270px;
}

.index-guide-arrow-container {
  overflow: visible;
  width: 170px;
  position: absolute;
}

.index-guide-arrow {
  position: relative;
  left: 10px;
  width: 200px;
  height: auto;
}

.start-buttons-container {
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.index-page-button {
  width: 310px;
  height: 38px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  outline: none !important;
  display: block;
  padding: 7px;
  margin-bottom: 10px;
  left: calc(50% - 150px);
  white-space: nowrap;
}

.index-button-primary {
  background-color: #1D79BA !important;
  color: #F6F2EA !important;
  border: 2px solid #1D79BA !important;
}

.index-button-primary:visited {
  background-color: #1D79BA !important;
  color: #F6F2EA !important;
  text-decoration: none !important;
}

.index-button-primary:active {
  background-color: #1D79BA !important;
  color: #F6F2EA !important;
  text-decoration: none !important;
}

.index-button-primary:hover {
  background-color: #19679E !important;
  color: #F6F2EA !important;
  text-decoration: none !important;
}

.index-button-secondary {
  background-color: #F6F2EA;
  color: #1D79BA;
  border: 2px solid #1D79BA;
}

.index-button-secondary:visited {
  background-color: #F6F2EA;
  color: #1D79BA;
  text-decoration: none;
}

.index-button-secondary:active {
  background-color: #F6F2EA;
  color: #1D79BA;
  text-decoration: none;
}

.index-button-secondary:hover {
  background-color: #e6e1d8;
  color: #1D79BA;
  text-decoration: none;
}

.embed-user-guide-container {
  height: 100%;
  width: 100%;
}

#pdf-guide {
  height: calc(100% - 150px);
  width: 100%;
  padding: 25px;
}

.tooltip {
  max-width: 350px;
  opacity: 1 !important;
  font-weight: bold !important;
  white-space: normal !important;
  padding: 0 !important;
  padding-top: 8px !important;

  &::before {
    height: 0 !important;
  }
}

.tooltip-icon {
  color: #47AF88;
  font-size: 16pt;
}

.fulltext-search-description {
  margin-right: 10px;
}

/* Search form */

.machine-search-form-wide {
  width: 37% !important;
  margin: 0;
  position: inherit;
  z-index: 1000 !important;
}

.machine-search-form-narrow {
  width: 20px !important;
}

.machine-search-form-narrow .toggle-search-form {
  left: -6px;
}

.machine-search-form-narrow-hide-button {
  width: 20px !important;
}

.machine-search-form-narrow-hide-button .toggle-search-form {
  visibility: hidden;
}

.search-form-machine-text {
  position: relative;
  margin-bottom: 8em;

  label {
    text-align: left !important;
    font-weight: bold;
    font-size: 16px;
  }

  .clear-input-button {
    margin: 9px 0 0 calc(100% - 30px);
  }
}

.form-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.select-machine-text-form-group {
  margin-top: 15px;
}

.search-form-machine-text::-webkit-scrollbar {
  width: 8px;
}

.search-form-machine-text::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #E2E0DE;
}

.search-form-machine-text::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #685E55;
}

.fulltext-search-group {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.fuzzy-search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  margin-top: 10px;

  #fuzzy-search-checkbox {
    margin-bottom: 10px;
  }

  .fuzzy-search-text {
    display: flex;
    gap: 3px;
    margin-left: 0 !important;
    align-items: center;
    font-weight: normal !important;
    white-space: nowrap;
  }
}

.transcription-search-buttons-container {
  width: calc(100% - 20px);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 5px 10px 45px;
}

.reset-transcription-search-button {
  text-transform: lowercase;
  margin: 4px 0 0 0;
  cursor: pointer;

  a {
    text-decoration: underline;
  }

  &.reset-index-search-button-wide {
    text-align: center;
    margin-bottom: 10px;
  }

  &:first-letter {
    text-transform: uppercase
  }
}

.transcription-search-buttons-container-small {
  width: calc(100% - 50px);
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  margin-bottom: 0;
  margin-left: 25px;
}

.transcription-search-btn {
  width: 155px !important;
  margin: 0 !important;
  font-weight: bold;
  outline: none;
}

.transcription-search-btn-small {
  width: 65px !important;
  padding: 2px 0px !important;
}

.transcription-year-range {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 0;
}

/* Result list */

.search-placeholder {
  position: relative;
  top: 40%;
  transform: translateY(-50%);
  color: #cec4b1;
  font-size: 40pt;
  text-align: center;
}

.flex-wrapper {
  display: flex;
  flex-direction: row;
  padding-left: 5px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.sort-volume-results {
  display: flex;
  z-index: 10000;
  align-items: center;
}

.info-toggle-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 15px;
}
.info-toggle-button:hover {
  opacity: 0.8;
}

.search-result-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(100vh - 60px);
  overflow: auto;
  padding: 20px 15px;
}

.machine-text-pagination-wrapper {
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.machine-text-pagination-wrapper-bottom {
  position: sticky;
  bottom: 0;
  margin-bottom: 0px;
  width: 100%;
  background-color: #F7F4ED;
  z-index: 1000;
}

.search-result-list {
  padding: 20px 15px;
  z-index: 100;
  overflow: auto;
}

.search-result-container {
  background-color: #E7E0D5;
  border-radius: 15px;
  line-height: 22px;
  width: auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.search-result-header {
  transition-duration: 0.2s;
  background-color: #E7E0D5;
  z-index: 1000;
}

.sticky-header {
  position: sticky;
  top: -20px;
}

.background-overlay {
  position: sticky;
  top: -20px;
  margin-top: -20px;
  width: 100%;
  background-color: #F7F4ED;
  z-index: 999;
}

.search-result-hits {
  color: #7B7166;
  font-weight: bold;
  position: sticky;
  top: 0;
  padding: 4px 0px 4px 10px;
}

.search-result-volume {
  margin-bottom: 25px;
  padding: 0 10px 10px;
}

.search-result-title {
  color: rgba(0, 0, 0, 0.75);
  margin: 0 0 5px;
  line-height: 125%;
  font-weight: bold;
}

.search-result-information > span {
  margin: auto;
  margin-right: 10px;
  font-style: italic;
}

.search-result-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
  padding-left: 5px;
  cursor: pointer;
  border-radius: 15px;
}

.search-result-row:nth-child(even) {
  background-color: #E7E0D5;
}

.search-result-row:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.image-tag {
  white-space: nowrap;
  padding: 5px;
  font-style: italic;
}

.page-tag {
  font-style: italic;
  padding-right: 5px;
  white-space: nowrap;
}

.arrow-tag {
  padding: 5px 15px 5px 5px;
  transition: transform 0.1s ease;
  display: flex;
}

.search-result-row:hover .arrow-tag {
  transform: translateX(10px);
}

.search-all-results-link {
  font-weight: bold;
  padding: 10px;
}

.text-content {
  padding: 5px 0;
}

.text-highlight {
  background-color: yellow;
  border-radius: 3px;
  box-shadow: 0 0 5px black;
  padding: 0 1px;
  display: inline-block;
  font-style: normal;
}

.machine-text-search-explanation {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.machine-text-search-explanation-loader {
  width: 50px !important;
  height: 50px !important;
}

.scrollable-search-form {
  height: 100%;
  max-height: 90vh;
  overflow: auto;
}

.scrollable-search-form.scrollable {
  padding-bottom: 100px;
}

.scrollable-search-form::-webkit-scrollbar {
  width: 10px;
}

.scrollable-search-form::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

/*ReactPaginate*/

ul.react-paginate {
  list-style-type: none;
  color: #70665B !important;
  margin-top: 8px;
  margin-bottom: 8px;
}

ul.react-paginate > .previous > a  {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

ul.react-paginate > .next > a {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

ul.react-paginate li a {
  background-color: #F7F4ED;
  padding: 6px 12px;
  border: 1px solid #ddd;
  cursor: pointer;
  font-weight: bold;
  color: #70665B !important;
  text-decoration: none;
  outline: none;
}

ul.react-paginate li.previous a,
ul.react-paginate li.next a,
ul.react-paginate li.break a {
}

ul.react-paginate li.selected a {
  background-color: #E4DBCF !important;
  min-width: 32px;
}

ul.react-paginate li.disabled a {
  background-color: #F7F4ED;
  color: grey;
}

ul.react-paginate li.disable,
ul.react-paginate li.disabled a {
  cursor: default;
  visibility: hidden;
}

.machine-text-search-explanation {
  img {
    border: 1px solid black;
    border-radius: 6px;
  }
}

.mtt-table > table > tbody > tr > th:not(:first-child),
.mtt-table > table > tbody > tr > td:not(:first-child) {
  padding-right: 7px;
}

.mtt-table > table td,
.mtt-table > table th {
  white-space: nowrap;
}

.mtt-table > table td br,
.mtt-table > table th br {
  display: none;
}

/* Right-align the last two columns in each row */
.mtt-table > table tr > th:nth-last-child(2),
.mtt-table > table tr > td:nth-last-child(2),
.mtt-table > table tr > th:last-child,
.mtt-table > table tr > td:last-child {
  text-align: right;
}

.additional-content > div > figure > table > tbody > tr > th:first-child {
  padding-right: 25px;
}

.additional-content > div > figure > table > tbody > tr > td:first-child {
  padding-right: 25px;
}

.additional-content > div > figure > table > tbody {
  border-bottom: none;
}

.additional-content > div > figure > table > tbody > tr:hover {
  background-color: #F7F4ED;
  cursor: default;
}

.navbar {
  min-height: 50px;
  max-height: 130px;

  z-index: 1040 !important;
  border: 1px solid transparent;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.navbar > .container-fluid > .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.navbar-main {
  left: 45px;
}

.navbar-fixed-top {
  background: #385361 !important;
  border-width: 0 0 1px;
}

.navbar-left {
  width: 100%;
  margin: 2px 0 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
}

.navbar-right {
  display: flex;
  gap: 21px;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 15px;
  margin-bottom: 0;
  margin-right: 0 !important;
  color: #ffffff;
  justify-content: flex-end;
}

.navbar-right > li {
  margin-left: 0 !important;
  font-weight: 400;
}

.navbar-right > li > span {
  font-weight: 400;
}

.navbar-right > li > span:hover {
  cursor: pointer !important;
  text-decoration: underline !important;
}

.shortcuts-modal .modal-title {
  text-align: left !important;
}

.copy-aid-text-btn {
  background-color: #766B61 !important;
  color: #fff !important;
  border: none !important;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  outline: none !important;
}

.open-aid-text-btn {
  background-color: #2084C2 !important;
  color: #fff !important;
  border: none !important;
  outline: none !important;
}

.aid-search-menu {
  width: 300px;
  height: 35px;
  margin: 2px 0 0 0 !important;
}

.aid-search-menu .form-control {
  background: #F5F0E7;
  box-shadow: none;
  border: none;
  height: 35px;
}

.aid-search-menu .remove-aid-text-btn {
  color: #bbb;
  position: absolute;
  margin: 8px 0 0 170px;
  z-index: 10;
  cursor: pointer;
}

.aid-search-menu .input-group .input-group-btn button {
  height: 35px;
}

.invalid-aid-alert {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.logout-button {
  margin-top: -7px;
}

.demo-user-badge {
  border: 2px solid #CD4B5B;
  background-color: #CD4B5B;
  padding: 5px 10px;
  border-radius: 25px;
}

.demo-user-badge:hover {
  border: 2px solid #ba4352;
  background-color: #ba4352;
}

.demo-user-badge-ripple {
  animation: pulse 2s infinite;
}

.demo-user-badge-icon {
  position: relative;
  top: 3px;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(205,75,91, 1);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(205,75,91, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(205,75,91, 0);
  }
}

.history-row:hover {
  cursor: pointer;
  background: #efe9db;
}

.history-search-container {
  width: 100%;
  height: auto;
  margin-top: 10px;

  .search-history-input-group {
    width: 100%;

    .input-group-btn {
      .btn {
        border-radius: 4px !important;
        margin-left: 2px;
        margin-top: 19px;
      }
    }
  }
}

.history-loader > #loader {
  position: absolute;
  top: 50px;
  right: 50%;
  transform: translateX(50%);
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  -o-transform: translateX(50%);
  transform: translateX(50%);
  z-index: 10;
}

.history-container {
  overflow-y: auto;
  height: calc(100vh - 250px);

  .clear-history {
    cursor: pointer;
  }

  .close:hover {
    color: red;
    opacity: 1;
    text-shadow: none;
  }
}

.history-container::-webkit-scrollbar {
  width: 8px;
}

.history-container::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #E4DBCF;
}

.history-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #685E55;
}

.close-history-button {
  display: inline-block;
  width: 70px;
  height: 30px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  outline: none !important;
  border: 2px solid black !important;
}

.history-input-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 15px;
  padding: 10px;
}

.history-pagination {
  width: 100%;
  display: flex !important;
  justify-content: center;
}

.search-history-query {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-end;
}

.search-history-query > div > div > .input-explanation {
  margin-left: 0 !important;
}

.search-history-query > div > div > .remove-input-field-button {
  right: 10px !important;
}

.history-input-container > div {
  width: 100%;
}

.history-input-container > div > .react-select-container > .react-select__control {
  width: 100% !important;
  margin: 0 !important;
}

.history-input-container > div > div > div > input {
  width: 100% !important;
  margin: 0 !important;
}

.clear-history-button, .close-history-button {
  border: 2px solid black !important;
  border-radius: 20px;
  outline: none !important;
  background-color: transparent !important;
}

.clear-history-button {
  border: none !important;
  text-decoration: underline;
}

.clear-history-button:hover, .close-history-button:hover {
  opacity: 0.8;
}

.history-error-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  color: #cec4b1;
  font-size: 20px;
}

.history-error-container > .fa {
  font-size: 40pt;
}

@media screen and (max-width: 1024px) {
  .history-input-container {
    flex-direction: column;
  }
}


.react-date-picker {
  display: inline-flex;
  position: relative;
}

.react-date-picker,
.react-date-picker *,
.react-date-picker *:before,
.react-date-picker *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.react-date-picker--disabled {
  background-color: #f0f0f0;
  color: #6d6d6d;
}

.react-date-picker__wrapper {
  display: flex;
  flex-grow: 1;
  flex-shrink: 0;
  border: thin solid gray;
}

.react-date-picker__inputGroup {
  min-width: calc((4px * 3) + 0.54em * 8 + 0.217em * 2);
  flex-grow: 1;
  padding: 0 2px;
  box-sizing: content-box;
}

.react-date-picker__inputGroup__divider {
  padding: 1px 0;
  white-space: pre;
}

.react-date-picker__inputGroup__divider,
.react-date-picker__inputGroup__leadingZero {
  display: inline-block;
}

.react-date-picker__inputGroup__input {
  min-width: 0.54em;
  height: 100%;
  position: relative;
  padding: 0 1px;
  border: 0;
  background: none;
  color: currentColor;
  font: inherit;
  box-sizing: content-box;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.react-date-picker__inputGroup__input::-webkit-outer-spin-button,
.react-date-picker__inputGroup__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

.react-date-picker__inputGroup__input:invalid {
  background: rgba(255, 0, 0, 0.1);
}

.react-date-picker__inputGroup__input--hasLeadingZero {
  margin-left: -0.54em;
  padding-left: calc(1px + 0.54em);
}

.react-date-picker__button {
  border: 0;
  background: transparent;
  padding: 4px 6px;
}

.react-date-picker__button:enabled {
  cursor: pointer;
}

.react-date-picker__button:enabled:hover .react-date-picker__button__icon,
.react-date-picker__button:enabled:focus .react-date-picker__button__icon {
  stroke: #0078d7;
}

.react-date-picker__button:disabled .react-date-picker__button__icon {
  stroke: #6d6d6d;
}

.react-date-picker__button svg {
  display: inherit;
}

.react-date-picker__calendar {
  width: 350px;
  max-width: 100vw;
  z-index: 1;
}

.react-date-picker__calendar--closed {
  display: none;
}

.react-date-picker__calendar .react-calendar {
  border-width: thin;
}

.react-calendar {
  width: 350px;
  max-width: 100%;
  background: white;
  border: 1px solid #a0a096;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.125em;
}

.react-calendar--doubleView {
  width: 700px;
}

.react-calendar--doubleView .react-calendar__viewContainer {
  display: flex;
  margin: -0.5em;
}

.react-calendar--doubleView .react-calendar__viewContainer > * {
  width: 50%;
  margin: 0.5em;
}

.react-calendar,
.react-calendar *,
.react-calendar *:before,
.react-calendar *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.react-calendar button {
  margin: 0;
  border: 0;
  outline: none;
}

.react-calendar button:enabled:hover {
  cursor: pointer;
}

.react-calendar__navigation {
  display: flex;
  height: 44px;
  margin-bottom: 1em;
}

.react-calendar__navigation button {
  min-width: 44px;
  background: none;
}

.react-calendar__navigation button:disabled {
  background-color: #f0f0f0;
}

.react-calendar__navigation button:enabled:hover,
.react-calendar__navigation button:enabled:focus {
  background-color: #e6e6e6;
}

.react-calendar__month-view__weekdays {
  text-align: center;
  text-transform: uppercase;
  font: inherit;
  font-size: 0.75em;
  font-weight: bold;
}

.react-calendar__month-view__weekdays__weekday {
  padding: 0.5em;
}

.react-calendar__month-view__weekNumbers .react-calendar__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.75em;
  font-weight: bold;
}

.react-calendar__month-view__days__day--weekend {
  color: #d10000;
}

.react-calendar__month-view__days__day--neighboringMonth,
.react-calendar__decade-view__years__year--neighboringDecade,
.react-calendar__century-view__decades__decade--neighboringCentury {
  color: #757575;
}

.react-calendar__year-view .react-calendar__tile,
.react-calendar__decade-view .react-calendar__tile,
.react-calendar__century-view .react-calendar__tile {
  padding: 2em 0.5em;
}

.react-calendar__tile {
  max-width: 100%;
  padding: 10px 6.6667px;
  background: none;
  text-align: center;
  line-height: 16px;
  font: inherit;
  font-size: 0.833em;
}

.react-calendar__tile:disabled {
  background-color: #f0f0f0;
  color: #ababab;
}

.react-calendar__month-view__days__day--neighboringMonth:disabled,
.react-calendar__decade-view__years__year--neighboringDecade:disabled,
.react-calendar__century-view__decades__decade--neighboringCentury:disabled {
  color: #cdcdcd;
}

.react-calendar__tile:enabled:hover,
.react-calendar__tile:enabled:focus {
  background-color: #e6e6e6;
}

.react-calendar__tile--now {
  background: #ffff76;
}

.react-calendar__tile--now:enabled:hover,
.react-calendar__tile--now:enabled:focus {
  background: #ffffa9;
}

.react-calendar__tile--hasActive {
  background: #76baff;
}

.react-calendar__tile--hasActive:enabled:hover,
.react-calendar__tile--hasActive:enabled:focus {
  background: #a9d4ff;
}

.react-calendar__tile--active {
  background: #006edc;
  color: white;
}

.react-calendar__tile--active:enabled:hover,
.react-calendar__tile--active:enabled:focus {
  background: #1087ff;
}

.react-calendar--selectRange .react-calendar__tile--hover {
  background-color: #e6e6e6;
}

.react-table > thead > tr > th > .sort-order-arrow {
  visibility: hidden;
  display: inline-block;
}

.react-table > thead > tr > .active-sort-column > span {
  display: inline-block;
}

.react-table > thead > tr > .active-sort-column > .sort-order-arrow {
  visibility: visible;
  margin-left: 3px;
}

.react-table > thead > tr > .sortable-column-header {
  color: #DA8437 !important;
  white-space: nowrap;
}

.instructions-container {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 150px;
}

.instructions-wrapper, .known-bugs-wrapper {
  display: flex;
  padding-top: 50px;
  width: 80%;
  flex-wrap: wrap;
}

.instructions-group {
  margin-bottom: 25px;
  width: 500px;
}

.instructions-group:first-child {
  width: 100%;
}

.open-instructions {
  background-color: #2084C2 !important;
  color: white !important;
}

.instructions-header {
  font-weight: bold;
}

.close-instructions-modal {
  position: absolute;
  right: 5px;
  background-color: #fff;
  color: black;
  font-weight: bold;
  font-size: 15px;
  line-height: 1;
}

.group-description {
  font-weight: normal;
  overflow-wrap: break-word;
  width: 90%;
}

.group-description-expanded {
  width: 40%;
}

.instructions-common-questions-header {
  color: black;
  font-weight: bold;
  margin-top: 5px;
}

.instructions-error {
  margin: auto;
  font-size: 25px;
}

.instructions-link-button {
  color: #2084C2;
  border: none;
  outline: none;
  margin: 0 !important;
  padding: 0 !important;
  background-color: transparent;

  &:hover {
    text-decoration: underline !important;
  }
}

.known-bugs-container {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 150px;
}

.known-bugs-wrapper {
  display: flex;
  padding-top: 50px;
  width: 80%;
  flex-wrap: wrap;
}

.known-bugs-wrapper {
  flex-direction: column;
}

.known-bugs-group {
  margin: 15px;
}

body > div.main.volume > div:nth-child(2) > div.map-container.map-with-volume > div > div:nth-child(1) > div > div > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(4) > div > div > div > div.gm-style-iw.gm-style-iw-c > div > div > div > table > tbody > tr:nth-child(1) > td:nth-child(2) {
  display: flex;
  flex-direction: row;
  gap: 3px;
}

body > div.main.volume > div:nth-child(2) > div.map-container.map-with-volume > div > div:nth-child(1) > div > div > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(4) > div > div > div > div.gm-style-iw.gm-style-iw-c > div > div > div > button.btn.btn-sm.btn-info {
  margin-right: 3px;
}

body > div.main.volume > div:nth-child(2) > div.map-container.map-with-volume > div > div:nth-child(1) > div > div > div:nth-child(2) > div:nth-child(2) > div > div:nth-child(4) > div > div > div > div.gm-style-iw.gm-style-iw-c > div > div > div > button.btn.btn-sm.btn-primary {
  margin-right: 3px;
}

#correct-house-marker-form > input {
  margin-right: 3px;
}

#correct-house-marker-form > button.btn.btn-sm.btn-danger {
  margin-right: 3px;
}

.map-container {
  width: 100%;
  background: #F7F4ED;
  position: absolute;
  height: 100%;
  z-index: 3;
  box-shadow: 3px 0 25px -2px #888888;
  overflow: hidden;
}

.map-with-breadcrumbs {
  top: 20px;
}

.map-body {
  position: absolute;
  top: 40px;
  width: 100%;
  height: 100%;
}

.map-body-smaller-margin {
  top: 32px;
}

.map-expanded {
  width: 100% !important;
}

.map-with-volume {
  width: 30%;
}

.map-with-volume-collection {
  left: 2px;
  width: 49.5%;
}

.volume-collection-map-title-container {
  cursor: pointer;
  color: #ffffff;
  float: left;
  margin-top: -3px;

  .volume-collection-map-title.active {
    font-size: 16px;
  }

  .volume-collection-map-icon {
    float: left;
  }

  .volume-collection-map-title {
    border-radius: 3px;
    background: #2084C2;
    width: 100%;
    height: auto;
    float: left;
    padding: 2px 3px 2px 3px;
    text-align: center;
    font-size: 12px;

    p {
      white-space: nowrap;
      margin: 0;
    }
  }
}

.map-with-volume-info {
  left: 2px;
  width: 39.5%;
}

.map-header {
  z-index: 99;
  position: absolute;
  top: 0;
  margin: 0;
  width: 100%;
  padding: 0 30px 0 30px;
  background: #F7F4ED;
  text-align: center;
}

.loading-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 37px;
  left: 0;
  background: #1c75ac;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 100px;
  color: white;
  z-index: 4;
}

.loading-map-smaller-margin {
  top: 32px;
}

.map-loader {
  border: 16px solid #E7E0D5;
  border-top: 16px solid #2084C2;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

.marker-content {
  z-index: 1000;
  width: 100%;
  font-size: 12px;
  color: #000000;

  table {
    margin: 0;

    tbody > tr {
      td {
        white-space: pre-line;
        line-height: 1;
      }

      td.info-window-display-name {
        width: 100%;
      }

    }
  }

  .no-resource-access {
    color: red;
  }
}

.not-accessible {
  width: 250px;
  height: 70px;
}


.user-marker-info-window {
  > table > tbody > tr > td {
    white-space: normal;
  }
}

.hidden {
  display: none;
}

td.info-window-title {
  width: 25%;
}

.house-marker-form {
  .input-group {
    width: 100%;
    margin-bottom: 3px;

    label, input, textarea {
      float: left;
      width: 100%;
    }

    input, textarea {
      border-top-left-radius: 4px !important;
      border-bottom-left-radius: 4px !important;
    }

    input[type="submit"] {
      margin-top: 3px;
    }
  }
}

.house-marker-table {
  .marker-image-no {
    white-space: nowrap;

    p {
      margin: 12px 0 0 0;
    }
  }
}

.register-collection-search-tooltip {
  max-width: 350px;
  opacity: 1 !important;
  font-weight: bold !important;
  white-space: normal !important;
  padding: 0 !important;
  padding-top: 8px !important;

  &::before {
    height: 0 !important;
  }
}

.register-collection-search-tooltip-icon {
  color: #47AF88;
  font-size: 16pt;
}

.fulltext-search-description {
  margin-right: 10px;
}

.search-form-register-collection {
  position: relative;
  margin-bottom: 8em;

  > .select-register-collection-form-group {
    margin-top: 25px !important;
    margin-bottom: 30px !important;
  }

  label {
    text-align: left !important;
    font-weight: bold;
    font-size: 16px;
  }

  .clear-input-button {
    margin: 9px 0 0 calc(100% - 30px);
  }
}

.search-form-register-collection::-webkit-scrollbar {
  width: 8px;
}

.search-form-register-collection::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #E2E0DE;
}

.search-form-register-collection::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #685E55;
}

.fulltext-search-group {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.fuzzy-search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  margin-top: 10px;

  #fuzzy-search-checkbox {
    margin-bottom: 10px;
  }

  .fuzzy-search-text {
    display: flex;
    gap: 3px;
    margin-left: 0 !important;
    align-items: center;
    font-weight: normal !important;
    white-space: nowrap;
  }
}

.index-search-buttons-container {
  width: calc(100% - 20px);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 5px 10px 45px;
}

.reset-index-search-button {
  text-transform: lowercase;
  margin: 4px 0 0 0;
  cursor: pointer;

  a {
    text-decoration: underline;
  }

  &.reset-index-search-button-wide {
    text-align: center;
    margin-bottom: 10px;
  }

  &:first-letter {
    text-transform: uppercase
  }
}

.index-search-buttons-container-small {
  width: calc(100% - 50px);
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  margin-bottom: 0;
  margin-left: 25px;
}

.register-search-btn {
  width: 155px !important;
  margin: 0 !important;
  font-weight: bold;
  outline: none;
}

.register-search-btn-small {
  width: 65px !important;
  padding: 2px 0px !important;
}

.open-register-collection-explanation-shortcut {
  position: relative;
  left: 10px;
  top: 5px;
  font-weight: bold;
}

.radio-buttons-row {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-left: 10px;
}

.radio-buttons-row > .register-search-form-radio-button > span {
  margin-left: 5px;
  font-size: 16px;
  font-weight: 500 !important;
}

.household-group {
  width: 100%;
  display: inline-block;
  margin-top: -15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.register-list-view, .register-table-view {
  .loader-lg {
    position: absolute;
    top: 50px;
    margin-bottom: 300px;
    right: 50%;
    transform: translateX(50%);
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    -o-transform: translateX(50%);
    transform: translateX(50%);
    z-index: 10;
  }
}

.register-collection-container {
  height: calc(100vh - 81px);
  overflow-x: hidden;
  overflow-y: auto;
}

.register-collections-overview-options {
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-content: flex-start;
  flex-wrap: wrap;
  margin-top: 15px;
}

.register-collections-overview-option {
  border: 3px solid;
  background-color: #F7F4ED;
  color: #333333;
  width: 300px;
  height: 185px;
  border-radius: 4px;
  text-align: left;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  -webkit-transition-duration: 0.1s; /* Safari */
  transition-duration: 0.1s;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.register-collections-overview-option:hover {
  cursor: pointer;
  transform: scale(1.1);
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.register-collections-overview-option > .register-collection-icon-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.register-collections-overview-option > .register-collection-icon-wrapper > .register-collection-icon {
  font-size: 35px;
}

.register-collections-overview-option > .register-collection-summary > .register-collection-name {
  font-weight: bold;
  white-space: nowrap;
}

.overview-border-blue {
  border-color: #2084C2;
}

.overview-border-blue > .register-collection-icon-wrapper > .register-collection-icon {
  color: #2084C2;
}

.overview-border-purple {
  border-color: rgb(148, 0, 211);
}

.overview-border-purple > .register-collection-icon-wrapper > .register-collection-icon {
  color: rgb(148, 0, 211);
}

.overview-border-black {
  border-color: #22313A;
}

.overview-border-black > .register-collection-icon-wrapper > .register-collection-icon {
  color: #22313A;
}

.overview-border-green {
  border-color: rgb(81, 175, 131);
}

.overview-border-green > .register-collection-icon-wrapper > .register-collection-icon {
  color: rgb(81, 175, 131);
}

.overview-border-red {
  border-color: rgb(192, 0, 0);
}

.overview-border-red > .register-collection-icon-wrapper > .register-collection-icon {
  color: rgb(192, 0, 0);
}

.overview-border-yellow {
  border-color: rgb(192, 146, 0);
}

.overview-border-yellow > .register-collection-icon-wrapper > .register-collection-icon {
  color: rgb(192, 146, 0);
}

.register-explanation {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.register-explanation > .explanation, .register-collection-name {
  max-width: 600px;
}

.register-explanation > div > figure > table > tbody {
  border-bottom: none;
}

.register-explanation > div > figure > table > tbody > tr:hover {
  background-color: #F7F4ED;
  cursor: default;
}

.register-links-table, .registers-table {
  margin-bottom: 15px;
}

.register-links-table > table > tbody {
  border-bottom: none;
}

.register-links-table > table > tbody > tr:hover {
  background-color: #F7F4ED;
  cursor: default;
}

.register-links-table > table > tbody > tr > th:first-child {
  padding-right: 25px;
}

.register-links-table > table > tbody > tr > td:first-child {
  padding-right: 25px;
}

.registers-table > table > tbody > tr > th:first-child {
  padding-right: 25px;
}

.registers-table > table > tbody > tr > td:first-child {
  padding-right: 25px;
}

.additional-content > div > figure > table > tbody > tr > th:first-child {
  padding-right: 25px;
}

.additional-content > div > figure > table > tbody > tr > td:first-child {
  padding-right: 25px;
}

.additional-content > div > figure > table > tbody {
  border-bottom: none;
}

.additional-content > div > figure > table > tbody > tr:hover {
  background-color: #F7F4ED;
  cursor: default;
}

.wp-block-image > img {
  max-width: 100%;
  height: auto;
}

.register-explanation-loader {
  width: 50px !important;
  height: 50px !important;
}

.controls-container {
  width: 100%;
  float: left;
  margin-top: 1px;
}

.view-controls {
  width: 100%;
  font-size: 35px;

  &.table-icon-active > .fa-table {
    color: #DA8437;
  }

  &.list-icon-active > .fa-list {
    color: #DA8437;
  }

  &.register-explanation-icon-active > .fa-info-circle {
    color: #DA8437;
  }

  &.register-explanation-icon-active > .fa-table {
    color: #3E4D54;
  }

  &.register-explanation-icon-active > .fa-list {
    color: #3E4D54;
  }

  > i {
    color: #3E4D54;

    &:hover {
      opacity: 0.8;
      cursor: pointer;
    }
  }
}

.columns-controls-container {
  display: flex;
  flex-direction: column;
  width: 25%;
  padding-left: 15px;
}

.columns-controls {
  position: relative;
}

.column-select-dropdown-header {
  border: 1px solid #000;
  font-size: 14px;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  width: 220px;
  color: #000;
  height: 32px;
  padding: 0 8px;
  justify-content: space-between;
  align-items: center;
}

.column-select-dropdown-header:hover, .column-select-dropdown-header.open {
  border: 1px solid #2084C2;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
}

.column-select-dropdown-arrow {
  color: gray;
}

.column-select-dropdown-options {
  border: 1px solid #000;
  overflow-y: auto;
  background: #fff;
  z-index: 1000;
  padding: 8px;
  width: 220px;
  max-height: 300px;
  position: absolute;
  border-radius: 4px;
  margin-top: 1px;
}

.column-select-dropdown-search-input {
  padding: 6px 8px;
  margin-bottom: 8px;
  width: 100%;
  border: 1px solid #000;
  border-radius: 4px;
}

.column-select-dropdown-search-input:focus {
  outline: none;
  border: 1px solid #2084C2;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
}

.column-select-dropdown-item {
  padding: 3px;
  display: flex;
  align-items: center;
}

.column-select-dropdown-item:hover {
  color: white;
  background: #2084C2;
}

.btn {
  margin-right: 3px;
}

.no-results {
  padding: 8px;
  text-align: center;
  color: #999;
}

.register-post-column-link-button {
  border: none;
  outline: none;
  background-color: transparent;
  text-decoration: underline;
  padding: 0;
  text-align: left;
}

.copy-register-post-dropdown {
  left: 0 !important;
  right: auto !important;
}

.register-post-search-results {
  display: flex;
  flex-direction: column;
}

.register-post-info-container-wrapper {
  overflow-x: hidden;
  overflow-y: auto;
  flex-grow: 1;
}

.register-post-group-header {
  margin-left: -8px;
  font-size: 1.1em;
}

.register-post-table {
  width: calc(100% - 15px);
  margin-left: 15px;

  .register-post-row {
    padding: 5px;
    border-bottom: 1px solid #cfcac1;

    .register-post-column-search-button {
      border: none;
      outline: none;
      background-color: transparent;
      padding: 0;

      &:hover {
        opacity: 0.6;
      }
    }

    a {
      color: #000000;
      text-decoration: underline;

      &:hover {
        cursor: pointer;
      }
    }
  }

  .register-post-cell {
    padding: 0;
  }

  .register-post-tr:hover {
    background: #F7F4ED;
  }
}

.register-post-info-footer {
  display: inline-block;
  padding: 0px;
  margin-top: 30px;

  li {
    display: block;
    padding: 0px 0px 5px 0px;

    &:last-child {
      border-top: 1px solid #cfcac1;
    }
  }
}

.register-post-header {
  border-bottom: 1px solid #D8D8D8;
  padding-bottom: 10px;
}

.correction-modal-pull-left .modal-dialog {
  margin-left: 2em;
}

.register-post-settings-btn {
  border: 0;
  box-shadow: none !important;
}

.register-post-settings-btn-container {
  padding: 0 !important;

  &:hover {
    background-color: #F7F4ED !important;
  }
}

.register-post-buttons-container {
  width: auto;
  padding-left: 15px;
  margin: 0 0 20px 0;

  .image-setting-button {
    margin-right: 1px;
  }

  .register-post-settings-btn {
    background-color: #F7F4ED;
    color: black;
    min-width: 50px;
    width: auto;
    border-right: 2px #FAF9F7;
    border-style: none solid none none;
    box-shadow: 1px 0 0 0 #EAE3D2;
    display: inline-block;
    font-size: 8pt;
    border-radius: 0;
    padding: 1px 5px;
    vertical-align: middle;
    text-align: center;

    &:hover {
      background-color: #D2DDE2;
    }

    .icon-blue {
      color: #1C79BA;
      font-size: 12pt;
    }

    .icon-black {
      color: #000000;
      font-size: 12pt;
    }
  }

  .register-copy-button {
    background-color: #F7F4ED;
    color: black;
    min-width: 50px;
    width: auto;
    display: inline-block;
    font-size: 9pt;
    border-radius: 0;
    padding: 0;
    vertical-align: middle;
    text-align: center;

    i {
      font-size: 12pt;
    }

    .dropdown-toggle {
      margin-top: 3px;
    }
  }

  .register-settings-button {
    a {
      color: #000000;

      &:hover {
        text-decoration: none;
      }
    }
  }
}

.register-post-settings-body {
  background: #FFFFFF;
  position: absolute;
  padding: 0 7px 0 7px;
  width: auto;
  min-height: 80px;
  z-index: 999;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);

  h4 {
    float: left;
  }

  input {
    margin: 0;
  }

  .register-post-settings {
    float: left;
    padding: 3px;
    font-weight: bold;
  }
}

.img-tab-limit-warning {
  width: 100%;
  height: auto;
}

.volume-collection-search-results {
  height: calc(100vh - 120px) !important;
}

.volume-collection-search-results-without-pagination {
  height: calc(100vh - 90px) !important;
}

#volume-collections-list {
  max-height: calc(100vh - 195px) !important;
}

#volume-collections-list-without-pagination {
  max-height: calc(100vh - 130px) !important;
}

.search-result-name {
  width: 40%;
  font-weight: bold;
}

@media screen and (max-device-width: 1380px) {
  #volume-collections-list {
    .table {
      margin-bottom: 40px;
    }
  }
}

.volume-collection-search-form-group {
  margin-top: 25px;
}

.reset-volume-search-button {
  text-align: center;
  margin-top: 8px;
}

.open-volume-container {
  margin: 0;
  height: calc(100vh - 75px);
  border-left: 2px solid #E7E0D5;
  overflow-y: auto;

  p {
    min-height: 150px;
    white-space: pre-line;
  }

  .fa {
    margin-right: 5px;
  }
}

.open-volume-container::-webkit-scrollbar {
  width: 8px;
}

.open-volume-container::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #E4DBCF;
}

.open-volume-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #685E55;
}

.open-volume-btn-container {
  width: 100%;
  height: 50px;
  margin: 25px auto 25px auto;
  text-align: center;
}

.open-volume-button {
  background-color: #D57830 !important;
  color: #F6F2EA;
  width: auto;
  height: 35px;
  border-radius: 20px;
  padding: 0 20px 0 20px;
  font-weight: bold;
  outline: none !important;
  border: none !important;

  &:hover {
    color: #F6F2EA !important;
    background-color: #9C541D !important;
  }
}

@media screen and (max-device-width: 1024px) {
  .open-volume-btn-container {
    margin-bottom: 120px;
  }
}

.volume-filter-container {
    .volume-filter-header {
        background: #C6D8E0;
        color: #2084C2;
        font-weight: bold;
        width: 100%;
        min-height: 30px;
        padding: 5px 10px 5px 10px;
        border-radius: 5px;
        margin: 0 auto 0 auto;
        text-align: left !important;
        border: none !important;
        outline: none !important;
    }

    .header-collapsed {
        border-radius: 5px;
    }

    .header-expanded {
        border-radius: 5px 5px 0px 0px;
    }

    .volume-filter-body {
        background: #C6D8E0;
        color: #000000;
        font-weight: bold;
        width: 100%;
        height: auto;
        padding: 10px 10px 10px 20px;
        border-radius: 0 0 5px 5px;
        display: flex;
        flex-direction: column;

        .input-explanation {
            margin-left: 0;
        }

        .remove-input-field-button {
            right: 30px !important;
        }

        .filter-input-row-years {
            position: relative;
            width: 100%;
            display: flex;
            gap: 15px;
            margin-top: -10px;

            div {
                width: 100%;
                position: relative;

                .remove-input-field-button {
                    right: 30px !important;
                }
            }
        }

        .react-select__control {
            margin-top: 10px;
        }

        .react-select__control, .react-select__menu {
            margin-left: 0 !important;
        }

        .error {
            font-weight: bold;
            font-size: 11px;
        }

        .filter-input-row {
            display: flex;
            flex-direction: column;
            padding: 0;
        }

        .col-md-6 {
            margin: 0;
            padding: 2px 0 2px 0;

            .input-group {
                margin: 0;
            }
        }

        .col-md-12 {
            padding-left: 2px;
            margin-right: 2px;

            .remove-advanced-input-field-btn {
                margin: 9px 0 0 calc(100% - 40px);
            }

            .col-md-6 {
                .remove-advanced-input-field-btn {
                    margin: 9px 0 0 calc(100% - 23px);
                }
            }
        }

        .clear-input-button {
            margin: 7px 0 0 82%;
        }
    }
}


#volumes-info {
  margin: 0 0 0 0;
}

.volume-list-container {
  height: auto;
  overflow-y: auto;

  &:hover {
    cursor: default;
  }

  .open-in-map-wrapper {
    width: 100%;
  }

  .open-in-map {
    font-weight: bold;
    cursor: pointer;
  }

  .open-nad-url {
    font-weight: bold;
    cursor: pointer;
  }

  > table > thead {
    .reset-sorting {
      padding: 3px;
      margin: 2px 0 2px 0;

      &:hover {
        cursor: pointer;
      }
    }

    > tr {
      .volume-name {
        width: 42%;
      }

      .volume-type {
        width: 38%;
      }
    }
  }
}

.volume-list-container::-webkit-scrollbar {
  width: 8px;
}

.volume-list-container::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #E4DBCF;
}

.volume-list-container::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #685E55;
}

.loader-volumes-list {
  position: absolute;
  top: 70px;
  right: 50%;
  transform: translateX(50%);
  -webkit-transform: translateX(50%);
  -ms-transform: translateX(50%);
  -o-transform: translateX(50%);
  transform: translateX(50%);
}

@media screen and (max-device-width: 1380px) {
  .volume-list-container {
    .table {
      margin-bottom: 40px;
    }
  }
}

