/* global */
.material-icons.md-18 {
  font-size: 18px;
}

.material-icons {
  vertical-align: middle;
}

.error-page p {
  text-align: left;
}

.grey-bg {
  background-color: #f8f9fa;
}

.viewer-container {
  padding: 0 !important;
}

.viewer-panel {
  display: flex;
  align-items: center;
}

.viewer-panel-left {
  justify-content: flex-start;
}

.viewer-panel-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.viewer-panel-right > * {
  margin-left: 5px;
}

.mt-25 {
  margin-top: 0.25rem;
}

.clickable-row {
  cursor: pointer;
}

.card-header {
  display: flex;
  justify-content: space-between;
}

.error-text {
  color: #ed5565;
}

.has-error .help-block,
.has-error .control-label {
  color: #ed5565;
}
.has-error .form-control,
.has-error .form-control:focus {
  border-color: #ed5565;
}

.chars-table {
  width: 99%;
  margin: auto;
}

.chars-table td {
  cursor: pointer;
  text-align: center;
}

.chars-table td:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.no-pointer {
  pointer-events: none;
}

.no-select {
  user-select: none;
}

.ui-datepicker-trigger {
  height: 36px;
}

.col-date {
  min-height: 94px;
}

table {
  table-layout: fixed;
  word-wrap: break-word;
}

.table-card {
  height: 95vh;
}

.card-body {
  overflow-x: auto;
}

.delete {
  display: none !important;
}

/*Save without shape dialog*/
button[data-bb-handler="success"] {
  display: none;
}

#content-document-table {
  table-layout: fixed;
}

#content-document-table tr td:nth-child(1) {
  width: 20%;
}

.gallery-img {
  object-fit: contain;
}

.gallery-counter-image {
  object-fit: contain;
  position: relative;
  background-color: #000;
  height: 150px;
  width: 150px
}

.gallery-img:hover {
  border: 3px solid rgba(0, 191, 255, 0.7);
  transform: scale(1.1);
}

.gallery-counter-image:hover {
  border: 3px solid rgba(0, 191, 255, 0.7);
  transform: scale(1.1);
}

#counterElem {
  position: absolute;
  top: 50%;
  left: 50%;
  color: deepskyblue;
  transform: translate(-50%, -50%);
}

*[tooltip]:hover:before {
  z-index: 1000;
}

.window-manifest-navigation > .mirador-btn.mirador-icon-gallery{
  color: #777;
}

.window-manifest-navigation > .mirador-btn.mirador-icon-gallery:hover {
  color: black;
}

.gallery-label {
  color: #999;
  padding-top: 10px;
  text-overflow: ellipsis;
  width: 10em;
  overflow: hidden;
}

.gallery-label:hover {
  font-weight: bold;
}

.mirador-hud i {
  color: #fff
}

.gallery-label-active {
  border: 3px solid rgb(167, 25, 25);
}

*[tooltip]:hover:before {
  content: attr(tooltip);
  background-color: #000;
  color: #fff;
  position: absolute;
  white-space: nowrap;
  display: block;
  text-align: center;
  padding: 2px;
  transform: translate(calc(80px - 50%), -100%);
  border: 4px solid #000;
  border-radius: 4px;
  font-size: 10px;
  font-weight: normal;
}
