.image-zoom {
  display: inline-block;
}

.table-striped>tbody>tr.raw-file-row-warning.even,
.table-striped>tbody>tr.raw-file-row-warning.odd {
  background-color: lightyellow;
}

.table-striped>tbody>tr.raw-file-row-error.even,
.table-striped>tbody>tr.raw-file-row-error.odd {
  background-color: lightcoral;
}

.raw-file-edit-form-modal fieldset {
  float: right;
}

#adf-merge-rule-list fieldset,
#adf-barcode-rule-list fieldset,
#adf-rawfile-list fieldset,
#adf-delivery-def-list fieldset,
#adf-delivery-list fieldset {
  float: left;
}

#adf-merge-rule-list fieldset.raw-file-filter,
#adf-barcode-rule-list fieldset.raw-file-filter,
#adf-rawfile-list fieldset.raw-file-filter,
#adf-delivery-def-list fieldset.delivery-def-filter,
#adf-delivery-list fieldset.delivery-filter {
  width: 20%;
}

#adf-merge-rule-list fieldset.raw-file-results,
#adf-barcode-rule-list fieldset.raw-file-results,
#adf-rawfile-list fieldset.raw-file-results,
#adf-delivery-def-list fieldset.delivery-def-results,
#adf-delivery-list fieldset.delivery-results {
  width: 76%;
  border: none;
}

span.etiqueta {
  background-color: lightblue;
  border-radius: 3px;
  margin: 0px 2px;
  padding: 0px 2px;
  font-size: 0.8em;
}

a.opcion-fila {
  margin: 2px;
}

.navegador-entregable li {
  list-style-type: none;
  display: inline-block;
}

.navegador-entregable .item-entregable a {
  border: 1px solid gray;
  width: 300px;
  height: 80px;
  text-align: center;
  float: left;
  margin: 10px;
  position: relative;
  border-radius: 10px;
}

.navegador-entregable .item-entregable.tipo-T a {
  background-color: lightblue;
}

.navegador-entregable .item-entregable.tipo-R a {
  background-color: papayawhip;
}

.navegador-entregable .item-entregable.tipo-F a {
  background-color: white;
}

.navegador-entregable .item-entregable a .item-data {
  display: block;
  bottom: 0;
  width: 100%;
}

.navegador-entregable .item-entregable a .item-data div {
  width: 100%;
}

.navegador-entregable .item-entregable .field-icono {
  font-size: 2em;
}

.sep1 {
  clear: both;
}

.delivery-file-viewer-buttons {
  width: 100%;
  text-align: center;
}

.nav-lateral {
  font-size: 2em;
  border: 1px solid;
  border-radius: 10px;
}

.delivery-file-viewer-buttons li {
  display: inline-block;
  padding: 10px;
}

.delivery-file-viewer-buttons li .ajax-throbber {
  float: left;
  top: 18px;
  left: 20px;
}

.nav-lateral {
  font-size: 1.1em;
  border: 1px solid;
  border-radius: 50%;
  line-height: 50px;
  padding: 5px;
}

.navegador-entregable .throbber {
  width: 50px;
  height: 50px;

  z-index: 9999;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform: -webkit-translate(-50%, -50%);
  transform: -moz-translate(-50%, -50%);
  transform: -ms-translate(-50%, -50%);
}

.navegador-entregable .ajax-progress-throbber {
  float: left;
}

/* para los mails de entregable */
.centrar {
  text-align: center;
}

/* en el navegador de entregables el boton queda al lado del campo de búsqueda */
form#adf-delivery-items-search input,
form#adf-delivery-items-search .form-item-textobusq {
  display: inline-block;
}

form#adf-delivery-items-search #edit-submit {
  position: relative;
  top: -2em;
}

.navegador-miniaturas li {
  display: inline-block;
  margin: 5px;
  vertical-align: top;
  position: relative;
  width: 278px;
}

#adf-delivery-items-search .imagen-de-tif img,
.navegador-miniaturas .imagen-de-tif img {
  width: 275px;
}

.navegador-miniaturas li .field-name,
.navegador-miniaturas li .field-size {
  width: 100%;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#adf-rawfile-list #edit-acciones-sobre-items:not(.con-bulk-options) {
  padding-left: 15px;
}

.navegador-miniaturas .menu-contextual {
  display: none;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  height: 190px;
  width: 100%;
  text-align: center;
  top: 0;
  padding-top: 0;
}

.navegador-miniaturas .image-file-wrapper,
#adf-delivery-items-search .file-not-found,
.navegador-miniaturas .file-not-found {
  width: 279px;
  height: 190px;
  border: 1px solid lightgray;
  text-align: center;
}

#adf-delivery-items-search .file-not-found .glyphicon,
.navegador-miniaturas .file-not-found .glyphicon {
  font-size: 4rem;
  padding-top: 50px;
}

/* oculta los inputs generados por el form de drupal excepto el "select all" */
.raw-file-results.modo-miniatura .form-item:not(.form-item-select-all) {
  display: none;
}

.raw-file-results.modo-miniatura li.selected .image-file-wrapper,
.raw-file-results.modo-miniatura li.selected .file-not-found {
  border: 2px solid rgb(34, 73, 137);
}

.navegador-miniaturas .menu-contextual input.modo-miniatura {
  top: 0;
  position: relative;
  display: block;
  margin: 0 6px;
}

/* para archivos multipágina oculta todas las páginas menos la primera, luego se maneja con js */
.image-zoom-container:not(.actual) {
  display: none;
}

#drupal-modal .image-zoom-container ,
#drupal-modal img.raw-file-image {
width: 100%;
}

.botonera-multipagina.ultima-pag .btn.siguiente,
.botonera-multipagina[data-act="0"] .btn.anterior {
  display: none;
}

.botonera-multipagina .mensaje-multipagina {
  font-size: 0.9rem;
  animation: shake 2s;
  margin-left: 10px;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.chosen-container.error .chosen-choices,
.chosen-container.error .chosen-single {
  border: none;
}

.raw-file-status-history-view-modal .filename {
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  color: gray;
}

#drupal-modal .modal-body {
  overflow: auto !important;
}

/* para el modal de edición no muestra el checkbox de aprobación */
.path-raw-file-list-pend .raw-file-edit-form-modal .form-item-approve {
  display: none;
}

/* la columna "cantidad de páginas e la lista de archivos */
.path-raw-file-list #edit-table tbody tr td:nth-last-child(3) {
  text-align: right;
}

/* el selector de opciones masivas y de formato se hace sticky. https://ex-cle.atlassian.net/browse/TALAPP-107 */
#adf-rawfile-list .con-bulk-options {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 90;
}

#adf-rawfile-list .raw-file-results table.sticky-header {
  top: 70px !important;
}

footer #block-excle-bootstrap-account-menu {
  display: none;
}

@media (min-width: 992px) {
  .path-raw-file-list .modal-lg {
    width: 90%;
  }
}

button.close:focus,
button.close {
  border: none;
  outline: none;
}

body .error-actualiz .progress {
  background-color: rgb(246, 198, 179);
}

body .error-actualiz .progress-bar {
  background-color: red;
}

/* ---------------------------------------------------------------------- */
/* spinner con background semitransparente.
   http://www.menucool.com/9499/CSS-loading-spinner-with-a-semi-transparent-background
*/
#cover-spin {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 9999;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#cover-spin::after {
  content: "";
  display: block;
  position: absolute;
  left: 48%;
  top: 40%;
  width: 40px;
  height: 40px;
  border-style: solid;
  border-color: rgb(34, 73, 137);
  border-top-color: transparent;
  border-width: 4px;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
  animation: spin 0.8s linear infinite;
}
.mostrarMotores, .confHidde{
  display: none;
}
