/* Default styles
-----------------------------------------------------------*/
body {
    font-family: Arial;
    font-size: 0.813em; /* 1em = 16px => 13/16 = 0.8125 */
    margin: 0;
    padding: 0;
}

h1
{
    padding: 5px;
    margin: 5px;
    color: #ffffff;
    font-style: oblique;
    line-height: 0.5;
}
h1, h2, h3 {
    /*font-family: 'Segoe UI' , Arial;*/
    font-weight: normal;
}
h2, h3 
{
    margin: 10px 5px;
    padding: 5px 10px;
    color: #DA121A; /*3C0000,000033;*/
    border-bottom: 1px solid #E1E1E1; /**/
}
h2.hpopup, h3.hpopup
{
    border-bottom: 1px solid #890303;
    font-size: 130%;
    font-weight: 600;
}

a {
    color: #0072c6;
}

input.pwd {
    /*text-security: disc;
    -webkit-text-security: disc;
    -mox-text-security: disc;*/
    font-family: 'text-security-disk';
}

small
{
    font-size: 11px;
}

table.list {
    color: #333333;
    border: 1px solid #f5f5f5;
    border-collapse: collapse;
    width: 100%;
}

table.list th
{
    padding: 3px;
    font-size: 9pt;
    border: 1px solid #808080;
    background-color: #000000; /*,AC193D,ca5100,E3F1FA*/
    text-align: left;
    color: #ffffff;
}

table.list td
{
    padding: 3px;
    font-size: 9pt;
    border: 1px solid #d1d0d0;
    line-height: 14px;
    vertical-align: top;
    overflow: hidden;
    position: relative;
}

table.list tr
{
    background-color: white;
}
.listrow tr:nth-child(even)
{
    background-color: #f8f8f8;
}

table.list th.clave {
    /*border: 2px solid #ffffff;*/
    background-color: #f24b75; /*664f55*/
}
table.list th a {
    color: #ffffff;
}
table.list a {
    color: #0072c6;
}
.rowselect {
    /*background-color: #d0d0d0 !important;*/
    /*outline: 1px solid #c41e47;*/
    filter: brightness(80%);
}

table.listb td {
    font-size: inherit;
    line-height: inherit;
}

table.liststicky {
    border-collapse: separate;
    border-spacing: 0;
}
table.liststicky thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #000000;/*#c41e47*/
}
table.liststicky tbody th {
    position: relative;
    overflow: hidden;
    word-wrap: anywhere;
}
table.liststicky tbody th a {
    color: #0072c6;
}

table.liststicky thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
}
table.liststicky tbody th {
    position: sticky;
    z-index: 1;
    left: 0;
    /*border: 1px solid #000000;*/
    vertical-align: top;
}

table.edit {
    color: #333333;
    border: 0;
    border-collapse: collapse;
    width: 100%;
}
table.edit th {
    padding: 3px;
    font-size: 8pt;
    border: 1px solid #dedede;
    background-color: #d7d7d7;
    text-align: left;
    color: #000000;
}
table.edit td
{
    padding: 3px;
    font-size: 8pt;
    border: 1px solid #d1d0d0;
    line-height: 14px;
    background-color: white;
}
table.edit .rowselect
{
    background-color: #a9aafc !important;
}

tr.backselect
{
    background-color: #a7a7a7;
}

.titlesep
{ 
    height: 4px;
    background-color: #FCDD09; 
}

.filaoculta
{
    height: 30px;
}
.filavisible 
{
    word-wrap: anywhere;
}

.coloculta
{
    display: none;
}

.buzon_verde
{
    background-image: url('../../images/buzon_verde.png');
}
.buzon_amarillo
{
    background-image: url('../../images/buzon_amarillo.png');
}
.buzon_rojo
{
    background-image: url('../../images/buzon_rojo.png');
}
.buzon_verde_fila {
    background-image: url('../../images/buzon_verde_fila.png');
}

.buzon_amarillo_fila {
    background-image: url('../../images/buzon_amarillo_fila.png');
}

.buzon_rojo_fila {
    background-image: url('../../images/buzon_rojo_fila.png');
}

/* colores */
.c-titulo {
    background-color: #000000; /*000A44;*/
}

.c-opciones {
    background-color: #a7a6a6; /*949494,808080*/
}

.c-contenido {
    background-color: #d1d0d0; /*a4a4a4;*/
}

.c-contenido2 {
    background-color: #f5f5f5; /*;*/
}

#usuario {
    padding-right: 10px;
}

#usuario .nombre {
    color: #ffffff;
    padding-right: 10px;
}

#usuario a {
    color: #d1d0d0;
}

/* Especific styles 
-----------------------------------------------------------*/

#buscartodo
{
    border: 1px solid #74B2E2;
    width: 140px;
    height: 18px;
}
#btnbuscartodo
{
    font-size: 10px;
}

/* Main menu */
.mainmenu a 
{
    /*font-family: 'Segoe UI', Arial;*/
    /*font-weight: lighter;*/
	padding:10px 10px;
    margin: 0;
	color: #ffffff;
	text-align:center;
	text-decoration:none;
	vertical-align: middle;
	/*line-height: 24px;*/
}

.mainmenu a:hover
{
    /*border: 1px solid #005289;*/
    color: #e5e5e5;
    background-color: #545454;
}

.mainmenu a img
{
    vertical-align: middle;
    margin-right: 5px;
    border: 0px;
}

/* Tabs */
.tabbed
{
    margin: 5px 5px;
    padding: 7px;
    border-bottom: 2px solid #078930;
}

.tabbed .normal
{
    border: 1px solid #d1d0d0;
    background-color: #d1d0d0;
}

.tabbed .selected
{
	border:1px solid #078930;
	padding:7px 10px;
	color: #ffffff;
	/*font-weight: bold;*/
    background-color: #078930;
}

.tabbed a 
{
	border:1px solid transparent;
	padding:5px 10px;
	color: #004170;
	text-align:center;
	text-decoration:none;
}

.tabbed a:hover
{
	color: #ffffff;
    border: 1px solid #078930;
    background-color: #045e20;
}

.separator
{
    margin: 5px 0px;
    border-bottom: 2px solid #a4a4a4;
}

/* Pager */
.pager 
{
	margin:5px 2px;
	padding:3px;
}

.pager .disabled 
{
	border:1px solid #ddd;
	color:#999;
	margin-top:4px;
	padding:3px 5px;
	text-align:center;
}

.pager .current 
{
	background-color:#DA121A; /*E3F1FA*/
	border:1px solid #808080;
	color:#ffffff;
	font-weight:bold;
	margin-top:4px;
	padding:3px 5px;
	text-align:center;
}

.pager span, .pager a
{
	margin: 4px 3px;
}

.pager a 
{
	border:1px solid #808080;
	padding:3px 5px;
	color:#DA121A;
	text-align:center;
	text-decoration:none;
}

/*table.miniatura
{
    border: 0;
}

table.miniatura td
{
    padding: 5px;
    border: 1px solid #FFFFFF;
    background-color: #E1E1E1;
    text-align: center;
}

table.miniatura .current
{
    border: 2px solid #00FF00;
}

table.miniatura .normal
{
    border: 2px solid #E1E1E1;
}*/

.thumbnails
{
	margin:5px 2px;
	padding: 4px;
    background-color: #E1E1E1;
    text-align: center;
    border: 1px solid #969696;
    /*width: 340px;*/
    overflow-y: scroll;
    overflow-x: hidden;
}

.thumbnails .page {
    width: 160px;
    height: 150px;
    float: left;
    position: relative;
}

.thumbnails a 
{
    text-decoration: none;
}

.thumbnails img
{
	margin: 4px 3px;
	padding: 4px;
}

.thumbnails .normal
{
    border: 2px solid #E1E1E1;
}

.thumbnails .aceptar
{
    background-color: lightgreen;
}

.thumbnails .error
{
    background-color: lightcoral;
}

.thumbnails .extension {
    position: absolute; 
    padding: 8px 4px;
    font-size: 8pt;
    top: 21px;
}
.thumbnails .extension2 {
    position: absolute; 
    padding: 8px 4px;
    font-size: 8pt;
    right: 2px;
    top: 2px;
}
.thumbnails .borrar {
    position: absolute; 
    padding: 8px 4px;
    font-size: 8pt;
    right: 0px;
}
.thumbnails .selected
{
    border: 2px solid #c41e47;
}
.thumbnails .check {
    position: absolute;
    left: 0;
    height: 112px;
    outline: none;
}
.thumbnails .checkimg {
    background-color: #b9b9b9;
}
.thumbnails .changed {
    position: absolute;
    top: 10px;
    display: block;
    width: 22px;
    text-align: right;
}
.thumbnails .vista {
    position: absolute;
    right: 0px;
    top: 58px;
}
.thumbnails .vista-1 {
    right: 12px
}
.thumbnails .vista-2 {
    right: 0px;
}
.thumbnails .vista-O {
    content: url('../../images/vista_O.png');
    padding: 0;
}
.thumbnails .vista-X {
    content: url('../../images/vista_X.png');
    padding: 0;
}


.listimages {
    width: 100%; 
    list-style-type: none;
    margin:0;
	padding: 0;
    background-color: #ffffff;
    border: 1px solid #969696;
}
.listimages .itemimagen {
    margin: 4px;
    position: relative;
    border: 2px solid #c9c9c9;
    background-color: #ededed;
}
.itemimagen .ord-image {
    width: 150px;
    height: 130px;
    text-align: center;
    display: inline-block;
    background-color: #f3f3f3;
    margin-right: 10px;
}
.ord-image img {
    margin: 10px;
}
.listimages .ord-extension {
    position: absolute; 
    top: 10px;
}
.listimages .ord-pagina {
    position: absolute; 
    top: 35px;
}
.listimages .ord-indice {
    position: absolute; 
    top: 60px;
}
.listimages .ord-indice-e {
    position: absolute; 
    top: 80px;
    background-color: #fff; 
    border: 1px solid black;
    min-height: 18px;
    width: 70%;
}

.seleccion
{
	margin:5px 2px;
	padding: 4px;
    background-color: #E1E1E1;
    border: 1px solid #969696;
}

.ContenedorPagina
{
	margin: 4px 2px 0px 0px;
    width: 700px;
    height: 500px;
    background-color: #E1E1E1;
    border: 2px solid #c41e47;
    overflow: scroll; /*hidden*/
}

.ContenedorConsulta
{
    overflow: scroll;
    background-color: #FFFFFF;
}

.imagenpagina
{
    /*cursor: move;*/
}

.sinleer {
    font-weight: bold;
}

.formulario
{
    font-family: Arial;
    font-size: 10px;
    background-color: #d1d0d0;
    /*border-collapse: separate;*/
}

.formulario input 
{
    font-size: 12px;
    padding: 2px;
    margin: 0px;
}

.formulario textarea
{
    font-family: Arial;
    font-size: 12px;
    padding: 2px;
    margin: 0px;
    resize: none;
}

.formulario select
{
    font-size: 12px;
    padding: 2px;
    margin: 0px;
}

.formulario a
{
    padding: 2px 3px;
    border: 1px solid black;
    text-decoration: none;
    background-color: #C0C0C0;
    text-align: center;
    margin: 0px;
}

.formulario a.referencia img
{
    position: relative;
    top: 3px;
}

.formulario .autocomplete-search
{
    height: 11px;
}

.formulariolist input.indiceautocomplete {
    padding-right: 20px;
}
.formulariolist .autocomplete-search {
    top: 3px !important;
}
.formulariolist .viewgrid
{
    padding: 2px 3px;
    border: 1px solid black;
    text-decoration: none;
    background-color: #C0C0C0;
    text-align: center;
    margin: 0px;
}


#respuesta_ {
    border-top: 1px solid #a7a6a6;
}

.formulariotitulo {
    padding: 5px;
    color: #ffffff;
    background-color: #000000;
}

.file-border {
    /*border: 1px solid #808080;*/
    padding: 0 5px;
    margin-right: 5px;
    background: #ececec; /*white;*/
    display: inline-block;
}

/*.ui-progressbar {
    position: relative;
}
.progress-container {
    border: 1px solid #808080;
    margin: 3px 0;
}
.progress{
    border: 0 !important;
    height: 6px !important;
    background-image: none !important;
    background-color: #ffffff !important;
}
.progress-label {
    position: absolute;
    left: 49%;
    top: 4px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}*/
.percentbar{
    height: 6px;
    background-color: #ffffff;
}
.percentbar .value{
    height: 6px;
    background-color: #c41e47;
}


.mas{
    cursor: pointer;
}
.borrar{
    cursor: pointer;
}

/* Novedades */
.post {
    padding: 0 0 10px 0;
}

.post p
{
    line-height: 1.8em;
}

.post img
{
    border: 1px solid #74B2E2;
    padding: 5px;
    margin: 0 0 0 10px;
}

p.postmeta {
    color: #888888;
    padding: 0 0 0 10px;
}

.entry {
    padding: 0 0 0 10px;
    text-align: justify;
}

.chkmixed {
    opacity: 0.3;
    filter: alpha(opacity=30);
}

.ItemActionButtons{}
.ItemActionButtons .SaveExtraOptions
{
    display: none; 
    list-style-type: none; 
    padding: 5px; margin: 0; 
    border: 1px solid #DCDCDC; 
    background-color: #fff; 
    z-index: 999; 
    position: absolute;
}
.ItemActionButtons .SaveExtraOptions li
{
    padding: 5px 3px 5px 3px; 
    margin: 0; 
    border: 1px solid #fff;
}
.ItemActionButtons .SaveExtraOptions li:hover
{
    cursor: pointer;
    background-color: #DCDCDC;
}
.ItemActionButtons .SaveExtraOptions li a
{
    text-transform: none;
}

/* jquery */
.ui-autocomplete { /* no definido en jquery */
    border: 1px solid #000A44;
    /*background-color: #fff !important;*/
    height: 250px; max-width: 600px; overflow-y: scroll; overflow-x: hidden; /* with scroll */
}
.ui-state-default {
    border: 1px solid #DA121A !important;
}
.ui-state-disabled {
    background-image: url('images/ui-bg_flat_75_0072c6_40x100.png');
}
.ui-widget-header {
    border: 1px solid #078930 !important;
}
.ui-widget-content a {
    color: #0072c6;
} 
/* sobreescribir estilo */
.autocomplete-search {
    text-indent: -1000em;
    width: 15px;
    height: 13px;
    display: inline-block;
    background-image: url('../../images/autocompletar.png');
    background-repeat: no-repeat;
    position: relative;
    /*left: -20px;*/
    /*top: 3px;*/
    /* sobrescribir formulario.a */
    border: 0 !important;
    background-color: #fff !important;
    margin-left: -22px !important;
}

.ui-icon-mail-closed-link {
    background-image: url("images/ui-icons_2e83ff_256x240.png");
    background-position: -82px -96px;
    width: 12px;
    height: 13px;
    background-repeat: no-repeat;
    overflow: hidden;
    text-indent: -99999px;
    display: inline-block;
}
.ui-icon-blank { background-position: 16px 16px; } 

.ui-dialog {
    outline: #004170 solid 1px !important;
}

/* memorandos revision */

#memo_rev {
    background-color: white;
    border: 1px solid black;
    font-family: Arial;
    font-size: 11pt; /* 1em = 16px => 13/16 = 0.8125 */
}
#memo_rev * {
    margin: 0;
    padding: 0;
    border: 0;
}

#memo_rev .rev_borrado {
    background-color: #FF9696;
}

#memo_rev .rev_agregado {
    background-color: #96FF96;
}



/* Estilos para aplicaciones auxiliares de validación
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}


.tile {
    position: absolute;
    /*float: left;*/
    width: 100%;
    height: 100%;
    z-index: 1000;
    text-align: center;
    vertical-align: central;
}

.tile-fondo {
    /*background-color: rgba(101, 101, 101, 0.63);*/
    background-color: rgba(89, 89, 89, 0.80); /*595959*/
}

span.tile-img {
    position: absolute;
    background-image: url('../../images/ajax-loader.gif');
    width: 16px;
    height: 16px;
    display: inline-block;
    border: 1px solid red;
}

/* Formatos */

#divFormatoContenido .fmttitulo {
    padding: 5px;
    color: #ffffff;
    background-color: #AC193D;
}
#divFormatoContenido .fmtfila {
    padding: 10px;
}
#divFormatoContenido .fmtetiqueta {
    font-weight: bold;
}
#divFormatoContenido .fmtcampo {
    width: calc(100% - 6px);
}
#divFormatoContenido .fmtautocompletar {
    width: calc(100% - 8px);
}
#divFormatoContenido .fmtdesplegable {
    width: 100%;
}
#divFormatoContenido .fmtfecha {
    width: 150px;
}
#divFormatoContenido .fmtfechacol {
    width: calc(100% - 30px);
}
#divFormatoContenido .fmtformula {
    background-color: #eeeeee;
    border: 1px solid grey;
    padding: 2px;
}

#divContenido a.indiceitem {
    padding: 2px;
    display: block;
    min-height: 20px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid #C8C8C8;
    border-left: 2px solid transparent;
    position: relative;
    font-size: 10px;
}
#divContenido a.indiceitem:hover {
    /*border-top: 1px solid #c41e47;
    border-bottom: 1px solid #c41e47;*/
    background-color: #eeeeee;
}
#divContenido a.selectindex {
    border-left: 2px solid #c41e47;
}
#divContenido span.indicepagina {
    top: 0;
    position: absolute;
    right: 0;
    background-color: #e0e0e0;
    padding: 0 0 0 5px;
}

.button-disabled {
    color: #999;
    background: #DDD;
    border: 1px solid #CCC;
}


/* Form Grid */

.cell {
    /*-webkit-box-shadow:inset 0px 0px 0px 0px;
    -moz-box-shadow:inset 0px 0px 0px 0px;
    box-shadow:inset 0px 0px 0px 0px;*/
    overflow: hidden;
    outline: none; /* remove focus mark */
}
.cell-selected {
    -webkit-box-shadow:inset 0px 0px 0px 1px #004170;
    -moz-box-shadow:inset 0px 0px 0px 1px #004170;
    box-shadow:inset 0px 0px 0px 1px #004170;
    /*border: 2px solid #004170 !important;*/
}
.cell input {
    border: none;
    width: calc(100% - 2px);
}
.cell select {
    border: none;
    width: calc(100% - 2px);
}
.cell-highlighted {
    background-color: #80adce;
}

/* Formato Grid */

.fmtrowgrid {

}

.fmtrowgrid td {
    border: 1px solid black;
}

.fmtrowgrid input {
    border: 0;
}

.bigorder {
    font-size: 40pt;
    color: gray;
}

/* show document */

.miniatura .image {
    padding: 3px 3px 2px 3px;
    border-bottom: 1px solid gray;
}
.miniatura .selected {
    /*background-color: #c4c4c4;*/
    padding: 0;
    border: 3px solid #c41e47;
}
