/* Inicio datepicker */
.datepicker td:hover, .datepicker th:hover {cursor: pointer;}

.datepicker table tr td.today {
  background-color: #fde19a;
  background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
  background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
  border-color: #fdf59a #fdf59a #fbed50;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #000;
}
.datepicker table tr td.today:hover {
  background-color: #fdf59a;
}
.datepicker table tr td.today:active {
  background-color: #fbf069 \9;
}

.datepicker table tr td.active {
  background-color: #006dcc;
  background-image: -moz-linear-gradient(to bottom, #08c, #0044cc);
  background-image: -ms-linear-gradient(to bottom, #08c, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0044cc));
  background-image: -webkit-linear-gradient(to bottom, #08c, #0044cc);
  background-image: -o-linear-gradient(to bottom, #08c, #0044cc);
  background-image: linear-gradient(to bottom, #08c, #0044cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker table tr td.active:hover {
  background-color: #0044cc;
}

/* Fin datepicker */

/** inicio estilos loadmask **/
.form-control {
    font:11px Arial, Helvetica, sans-serif;
    color:#333333;
    height: 28px;
}

.btn {
    font-size: inherit;
}

.loadmask {
    z-index: 20000;
    position: absolute;
    top:0;
    left:0;
    -moz-opacity: 0.5;
    opacity: .50;
    filter: alpha(opacity=50);
    background-color: #CCC;
    width: 100%;
    height: 100%;
    zoom: 1;
}
.loadmask-msg {
    z-index: 20001;
    position: absolute;
    top: 0;
    left: 0;
    border:1px solid #6593cf;
    background: #c3daf9;
    padding:2px;
}
/* ajax-loader.gif generado con ajaxload.info */
.loadmask-msg div {
    padding:20px 10px 5px 70px;
    background: #fbfbfb url('images/ajax-loader.gif') no-repeat 5px 5px;
    line-height: 16px;
	border:1px solid #a3bad9;
    color:#222;
    font:normal 11px tahoma, arial, helvetica, sans-serif;
    cursor:wait;
    height:70px;
}
.masked {
    overflow: hidden !important;
}
.masked-relative {
    position: relative !important;
}
.masked-hidden {
    visibility: hidden !important;
}

/** fin estilos loadmask **/

/* Inicio Columnas Data table */
.fecha-col {
	width: 70px;
}

td.opciones {
	text-align: center;
}

.opciones-1, .opciones-2 {
	width: 60px;
}

.opciones-3 {
	width: 90px;
}

.col-codigo {
    width: 50px;
}

.col-fecha {
    width: 180px;
}

.col-fecha-hora {
    width: 240px;
}

.col-seleccionar {
    width: 25px;
    text-align: center;
}

.col-centrado {
    text-align: center;
}

a.btn-opcion
{
	margin: 5px 2px;
	font-size: 1.6rem;
	vertical-align: middle;
    color: white;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2);
    padding: 4px;
    border-radius: 2px;
    background: rgb(26, 179, 148);
}

a.btn-opcion:hover {
    background-color: #333;
}


a.btn-eliminar {
    background: #ed5565;
}

a.btn-cerrarExpediente {
    background-color: none;
    background: url('images/folderClose.png') no-repeat;
    display: inline-block;
    padding: 10px 12px;
}

a.btn-solicitarPrestamo {
    background-color: none;
    background: url('images/solicitarPrestamo.png') no-repeat;
    display: inline-block;
    padding: 10px 12px;
}

a.btn-asociar-usuario, a.btn-asociar-permiso {
    background-color: #00B1E1;
}


/* Fin Columnas Data table */

/* Inicio iconos */

@font-face {
    font-family:'iconfont';
    src:url('fonts/iconfont.eot');
    src:url('fonts/iconfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/iconfont.ttf') format('truetype'),
        url('fonts/iconfont.woff') format('woff'),
        url('fonts/iconfont.svg#iconfont') format('svg');
    font-weight: normal;
    font-style: normal;
}


[class^="ico-"],
[class*=" ico-"] {
  display: inline-block;
  position: relative;
  top: 1px;
  font-family: 'iconfont';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  min-width: 14px;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ico-edit:before {
  content: "\e640";
}
.ico-trash:before {
  content: "\e613";
}
.ico-users:before {
  content: "\e186";
}
.ico-lock:before {
  content: "\e620";
}
.ico-minus-sign:before {
  content: "\e651";
}

/* Fin iconos */

.oculto {
	display: none;
}

.typeahead li {
    list-style-type: none;
    margin-left: 0px;
    left: 0px;
}

.dropdown-menu {
    z-index: 10000;
}

/* Inicio Tablas */
/* Tabla de lista de tipos de anexo */
.tabla-simple thead {
    display: none;
}

.dataTables_info {
    display: table-cell;
    padding: 0 10px 0 0 !important;
    vertical-align: middle;
}

.dataTables_paginate {
    display: table-cell;
    width: 100%;
    text-align: center !important;
}

table.dataTable tbody tr.selected {
    background-color: #B0BED9;
}

/* Seleccionar con checkbox */
table.dataTable tbody td.select-checkbox, table.dataTable tbody th.select-checkbox {
    position: relative;
}

table.dataTable tbody td.select-checkbox::before, table.dataTable tbody th.select-checkbox::before {
    content: ' ';
    margin-top: -6px;
    margin-left: -6px;
    border: 1px solid black;
    border-radius: 3px;
}

table.dataTable tbody td.select-checkbox::before, table.dataTable tbody td.select-checkbox::after, table.dataTable tbody th.select-checkbox::before, table.dataTable tbody th.select-checkbox::after {
    display: block;
    position: absolute;
    top: 1.2em;
    left: 50%;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
}

table.dataTable tr.selected td.select-checkbox::after, table.dataTable tr.selected th.select-checkbox::after {
    content: '\2714';
    margin-top: -11px;
    margin-left: -4px;
    text-align: center;
    text-shadow: 1px 1px #B0BED9, -1px -1px #B0BED9, 1px -1px #B0BED9, -1px 1px #B0BED9;
}

table.dataTable tbody td.select-checkbox::before, table.dataTable tbody td.select-checkbox::after, table.dataTable tbody th.select-checkbox::before, table.dataTable tbody th.select-checkbox::after {
    display: block;
    position: absolute;
    top: 1.2em;
    left: 50%;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
}
/* Fin Tablas */


/* ============ TIMELINER.JS ============= */
.timeline-container {
  margin: 20px auto;
  width: 900px;
}
.timeline-toggle {
  background: #ccc;
  border-color: #161616;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #000;
  cursor: pointer;
  float: right;
  font-size: 12px;
  margin-right: 0;
  padding: 3px 5px;
  white-space: nowrap;
}
.timeline-wrapper {
  clear: left;
  float: left;
  border-left: 2px solid #ccc;
  padding: 0 0 12px;
  width: 900px;
}
.timeline-wrapper h2 {
  background: url(images/timeline_century_tick.gif) left center no-repeat;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 10px;
  padding: 4px 4px 4px 20px;
}
.timeline-wrapper h2 span {
  -webkit-border: 2px solid #ccc;
  -moz-border: 2px solid #ccc;
  border: 2px solid #ccc;
  letter-spacing: 0.1em;
  line-height: 1.7em;
  padding: 3px 5px 1px;
}
.timeline-series {
  clear: left;
  float: left;
  margin: 0 12px 0 0;
  padding: 4px 4px 4px 0;
  position: relative;
  width: 880px;
}
.timeline-series dt {
  background: url(images/timeline_decade_tick.gif) left center no-repeat;
  clear: left;
  font-size: 1.6em;
  list-style-type: none;
  line-height: 1.2em;
  margin: 0 0 12px;
  padding: 0 0 0 24px;
  white-space: nowrap;
}
.timeline-series dt a {
  color: #999;
  cursor: pointer;
}
.timeline-series dt a .closed {
  color: #999;
  font-size: 1em;
  margin-left: 0;
}
.timeline-series dt a .open {
  color: #7DBADF;
}
.timeline-series dt a:hover {
  color: #7DBADF;
}
.timeline-series dd {
  padding-left: 24px;
  width: 100%;
}
.timeline-series dd h3 {
  color: #FFF;
  clear: both;
  float: left;
  font-size: 1.5em;
  margin: 0;
  white-space: nowrap;
}
.timeline-event-content {
  display: none;
}
.timeline-event-content p {
  border: 2px solid #ccc;
  padding: 0 10px;
  clear: left;
  float: left;
  line-height: 1.5em;
  margin: 0;
  width: 500px;
}
.timeline-event-content p:first-child {
  border: 0;
  margin: 6px 0 10px;
}
.timeline-event-content h4 {
  clear: left;
  float: left;
  font-size: 1.4em;
  font-weight: 400;
  margin: 10px 0 0;
  padding: 0 0 0 20px;
}
.timeline-event-content div {
  border: 2px solid #ccc;
  clear: left;
  float: left;
  margin-left: 0;
  padding: 0 10px;
}

.timeline-event-content blockquote .attribution {
  font-size: 0.7em;
  text-align: right;
}
.timeline-event-content .media {
  float: right;
  padding: 0 0 12px;
  width: 300px;
}
.timeline-event-content .media img {
  border: 2px solid #000;
  margin: 0;
}
.timeline-event-content .media p {
  font-size: 1.2em;
  margin: 0;
  padding: 0;
}
.timeline-event-content .media a:link,
.timeline-event-content .media a:visited {
  color: #ab221b;
}
.timeline-event-content .media a:hover {
  color: #7DBADF;
}
.clear {
  clear: both;
}


/* ============ TIMELINE ============= */
/* Inicio Uploader */
.control-uploader > label {
    display: table-cell;
}

.qq-upload-success {
	display: none;
}

.logo-entidad {
    width: 1.8cm;
    height: 1cm;
}

.form-inline .uploader {
    display: inline-block;
    vertical-align: middle;
}

/* Ocultar barra de progreso cuando falla validación */
.qq-progress-bar[aria-valuenow="0"] {
    display: none;
}

.qq-total-progress-bar-container {
    margin: 0;
}

/* Fin Uploader */

.btn-adicional {
    margin-right: 20px;
}


.modal-dialog .btn-toolbar {
    float: right;
}

body.mini-navbar:not(.fixed-sidebar):not(.canvas-menu) .nav li {
    white-space: nowrap;    
}

body.mini-navbar .nav-third-level li a {
    color: white!important;
    margin-left: 10px;
}

body.mini-navbar .nav  li a:focus {
    color: #666!important;
}

#side-menu li a:hover, body.mini-navbar .nav-third-level li a:hover{
   color: rgb(4, 162, 03)!important;
}

body.mini-navbar .navbar-default .nav-second-level li a span {
  display:inline-block;
  position:absolute;
}

.modal-dialog {
    max-height:  calc(100vh - 40px);
    overflow-y: auto;
}

.modal-dialog-ancho {
    width: 70%;
    min-width: 600px;
}

.filaRetencionDocumentalBorde {
    border: 1px solid #e7e7e7;
    padding: 10px 0;
}

.filaRetencionDocumentalBorde label{
    font-weight: normal;
}

.filaRetencionDocumentalBorde input[type=text] {
    max-width: 50px;
    display: inline-block!important;
}

.modalEditarTablaRetencion {
    width: 800px;
}

.tblDatosTipoDocumental, .tblDatosTipoDocumental div.dataTables_paginate {
    width: auto !important;
}

td.align-top-center {
    text-align: center;
    vertical-align: top !important;
}

td.align-top {
    vertical-align: top !important;
}

.table-gestion-expediente .opciones {
    min-width: 150px;
}

/* Inicio Real Person jQuery plugin styles v2.0.1. */
.realperson-challenge {
	display: block;
	color: #000;
}
.realperson-text {
	font-family: "Courier New",monospace !important;
	font-size: 6px;
	font-weight: bold;
	letter-spacing: -1px;
	line-height: 3px;
}
.realperson-regen {
	padding-top: 4px;
	font-size: 12px;
	text-align: center;
	cursor: pointer;
}
.realperson-disabled {
	opacity: 0.5;
	filter: Alpha(Opacity=50);
}
.realperson-disabled .realperson-regen {
	cursor: default;
}
/* Fin Real Person */

.modal.in .modal-dialog {
    border: 1px solid black;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

.info-digitaliza {
    display: block;
    text-align: center;
    font-weight : 800;
    color : lightgray;
    font-size : 1.5em;
    padding : 4em 0;
}