body, table, li, ul, input, select, textarea {
    color: #000000;
    font-family: Verdana,Tahoma,Arial,Helvetica;
    font-size: 12px;
}
a {color: #336699; text-decoration: underline;}
a:hover {color: #003366; text-decoration: underline;}
FORM {
    display: inline;
}
IMG {
    border-width: 0;
    margin: 0;
    padding: 0;
}

#xmsContenedor {
	position:relative;
}

h1 {
    background:  url("/recursos/images/fondo-gradiente.jpg") repeat-x scroll left top #cfcfce;
    -moz-border-radius: 5px; 
    border:1px solid #336699;
    color: #004488;
    font-size: 24px;
    font-weight: bold;
    padding: 3px 3px 3px 5px;
}
h1.titulo {
    margin-top: 0;
}
h2 {
    background-color: #EEEEEE;
    color: #004488;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    padding: 3px;
}
h2.subtitulo{
	background-color: #336699;
    color: #ccc;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    padding: 3px;
}
.nowrap {
	white-space:nowrap; 
}
#xmsContenido form h2 {background-color: #336699;
    color: #ddd;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    padding: 3px;
    -moz-border-radius: 5px; 
    }
h3 {
    background-color: #EEEEEE;
    color: #004488;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0;
    padding: 4px;
}
tbody {
    background-color: white;
}
div.tabs {
    margin: 0;
    padding: 4px 4px 4px 0;
}
a.tab {
   /* background-color: #DDDDDD;*/
    border-color: #336699;
    border-style: solid;
    border-width: 1px;
    color: #004488;
    margin: 0 2px 0 0;
    padding: 6px;
    position: relative;
    text-decoration: none;
    -moz-border-radius-topright: 5px; -moz-border-radius-topleft: 5px;
     background: url("/recursos/css-xms/images/fondo-tabs.jpg") repeat-x scroll left bottom ;
    
}
a.tab:active {
    background-color: gray;
    color: white;
      -moz-border-radius-topright: 5px; -moz-border-radius-topleft: 5px;
    background: url("/recursos/css-xms/images/fondo-tabs-active.jpg") repeat-x scroll left top ;
   
}
a.tab:hover {
    color: black;
    cursor: pointer;
     -moz-border-radius-topright: 5px; -moz-border-radius-topleft: 5px;
    background: url("/recursos/css-xms/images/fondo-tabs-hover.jpg") repeat-x scroll left top ;
}
* html .tab {
    height: 1%;
}
a.activeTab, a.activeTab:visited, a.activeTab:active, a.activeTab:link {
   
    border-left: 1px solid gray;
    border-right: 1px solid gray;
    border-top: 1px solid gray;
    color: white;
    font-size: 11px;
    margin: 0 2px 0 0;
    padding: 6px;
    text-decoration: none;
     -moz-border-radius-topright: 5px; -moz-border-radius-topleft: 5px;
    background: url("/recursos/css-xms/images/fondo-tabs-active.jpg") repeat-x scroll left bottom #bababa ;
}

a.activeTab:hover { -moz-border-radius-topright: 5px; -moz-border-radius-topleft: 5px;
    background: url("/recursos/css-xms/images/fondo-tabs-active-hover.jpg") repeat-x scroll left bottom #545454;} 
    
div.tabMain {
    background-color: white;
    padding-left: 0;
    width: 100%;
    margin-top: 2px;
}
#xmsOperacion {
    padding-left: 10px;
}
a.boton {
    background-color: lightgrey;
    border: 1px solid #DDDDDD;
    font-weight: bold;
    padding: 2px;
    text-decoration: none;
}
#xmsMenu a.operacion, #xmsMenu a {
    background-color: transparent; 
    color: white;
    border-right: 1px solid #CCCCCC;
    padding-right: 10px;
}

#xmsPiePagina a.operacion {
    background-color: #336699;
    margin: 10px 4px 10px 0;
}

#xmsPiePagina font {margin-top:10px; color: #999999;}
#xmsPiePagina hr {height:2px; border:none; background: #336699;}
a.operacion, a.operacion:visited, a.operacion:active, a.operacion:link{
    background-color: gray;
    color: white;
    font-weight: bold;
    margin: 10px 4px;
    padding: 3px;
    text-align: center;
    text-decoration: none;
}
a.operacion:hover {
    text-decoration: underline;
}
.masmenos {
    margin-top: 2px;
    padding-top: 3px;
}
.errormsg {
    background-color: red;
    color: white;
    font-weight: bold;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-top: 12px;
}
#xmsMenu {
    background-color: #336699;
    line-height: 30px;
    margin: 0;
    padding: 0;
    width: 100%;
}
#xmsMenu .operacion {
    margin-bottom: 3px;
    margin-top: 3px;
    
}
#xmsMenuLateral {
    width: 200px;
}
#xmsMenuLateral .operacion {
     background-color: #c8d7e1;
    color: #333333;
    margin-bottom: 4px;
    margin-top: 4px;
    padding: 3px 2px 3px 4px;
}
#xmsMenuLateral .submenu .operacion {
  
    display: block;
    font-size: 90%;
    font-weight: normal;
    line-height: 14px;
    margin-bottom: 0;
    
    margin-top: 1px;
    padding: 0 0 0 17px;
    text-align: left;
}

#xmsMenuLateral .submenu .operacion a{
  
    text-align: left;
}
#xmsContenido {
    width: 100%;
     -moz-border-radius-topright: 5px; -moz-border-radius-topleft: 5px;
   
}
#xmsFuncion {
    padding: 10px;
}
a.ayuda {
    color: #DDDDDD;
    font-weight: bold;
    text-decoration: none;
}
#xmsMenuLateral a.ayuda {
    color: #369;
}
input.submit {
    background: none repeat scroll 0 0 black;
    color: white;
    font-size: 14px;
    font-weight: bold;
}
.facturas_pagado2, .facturas_cancel, .facturas_acuenta, .facturas_devuelto {
    background-color: #99ccff;
}
.numerico {
    text-align: right;
}
TABLE {
    border-width: 1px;
}
.listado {
    border: 1px solid gray;
    margin: 0;
    padding: 0;
}
THEAD {
    background: none repeat scroll 0 0 #99ccff;
    font-weight: bold;
    height: 24px;
    text-align: center;
}
TR.fila0 {
    height: 19px;
}
TR.fila1 {
    background-color: #d0e6ed;
    height: 19px;
}
TR.fila0:hover {
    background-color: #ffffcc;
}
TR.fila1:hover {
    background-color: #ffffcc;
}
TD.titulo, TD.titul {
    font-weight: bold;
    padding: 2px 0 2px 4px;
    color: #336699;
    font-size:13px;
    border-bottom: 1px solid #336699;
}

.fila1,.fila0 { border-bottom:1px solid #cccccc;}
.fila1, .fila0 { margin: 5px; }
.fila1 { }
.fila1 .DetalleMensaje { background-color: #fff;  }
.fila1 .DetalleMensaje tr { background-color: #c3d6f2; }

.DetalleMensaje a.operacion, .DetalleMensaje a.operacion:visited, .DetalleMensaje a.operacion:active, .DetalleMensaje a.operacion:link {
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
}

.fila1 .DetalleMensaje a.operacion, .fila1 .DetalleMensaje a.operacion:visited, .fila1 .DetalleMensaje a.operacion:active, .fila1 .DetalleMensaje a.operacion:link {
    background-color: #336699;
    color: white;
    font-weight: bold;
}

.DetalleMensajeHTML tbody {background-color: #e7e7e7; }

.DetalleMensajeHTML a.operacion, .DetalleMensajeHTML a.operacion:visited, .DetalleMensajeHTML a.operacion:active, .DetalleMensajeHTML a.operacion:link {
    background-color: #336699;
    color: white;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-align: center;
    text-decoration: none;
}

.fila0 { }
.fila0 .DetalleMensaje { }
.fila0 .DetalleMensaje { background-color: #e7e7e7; }
.fila0 .DetalleMensaje a.operacion, .fila0 .DetalleMensaje a.operacion:visited, .fila0 .DetalleMensaje a.operacion:active, .fila0 .DetalleMensaje a.operacion:link {
    background-color:  #336699;
    color: white;
}

.resumenMensaje.fila0 { padding:4px; }
.resumenMensaje.fila1 { background-color: #c3d6f2; padding:4px; }

.resumenMensaje a {line-height:16px;}
.resumenMensaje .tituloMensaje {font-weight: bold; line-height:16px;}
.resumenMensaje .autorMensaje {font-weight: normal; line-height:16px;}
.resumenMensaje .fechaMensaje {font-weight: normal; color: #666666; line-height:16px; font-style: italic; font-size:10px;}
.fechaMensaje, .tituloMensaje, .autorMensaje { display:inline;}
.fila1 tr {
    background-color: #DDDDDD;
}
TD {
    margin: 0;
     padding: 0;
}
TR {
    margin: 0;
    padding: 0;
}
.listado td {
    padding: 3px;
}
span.label {
    background: none repeat scroll 0 0 #FFFFFF;
    color: black;
    height: 14px;
    margin-top: 0;
    text-align: center;
    width: 20px;
}
span.c1 {
    background: none repeat scroll 0 0 #FFFFFF;
    color: black;
    cursor: pointer;
    height: 14px;
    margin-top: 0;
    text-align: center;
    width: 20px;
}
span.c2 {
    background: none repeat scroll 0 0 #FFFFFF;
    color: red;
    cursor: pointer;
    height: 14px;
    margin-top: 0;
    text-align: center;
    width: 20px;
}
span.c3 {
    background: none repeat scroll 0 0 #FFFFFF;
    color: #B0B0B0;
    cursor: pointer;
    height: 14px;
    margin-top: 0;
    text-align: center;
    width: 20px;
}
.clientefactura_valor, .datosfactura_valor {
}
.clientefactura, .datosfactura, .editarconsulta_observaciones {
    border: 1px solid #99ccff;
    margin: 10px;
    padding: 5px;
}
.editarconsulta_observaciones {
    width: 100%;
}
.listado, .facturas, .dns, .tickets {
    width: 100%;
}
.facturas.total, .facturas.pagado, .facturas.pendte {
    text-align: right;
}
.contratos_precio {
    text-align: right;
}
.vencimientosfactura, .lineasfactura, .totalesfactura {
    border-color: #99ccff;
    border-width: 4px;
    clear: both;
    width: 100%;
}
.vencimientosfactura td, .lineasfactura td, .totalesfactura td {
    padding-left: 5px;
    padding-right: 5px;
}
.vencimientosfactura tbody td {
    border: 1px solid #99ccff;
    padding: 3px;
}
.lineasfactura tbody td {
    border: 1px solid #99ccff;
}
.totalesfactura tbody td {
    border: 1px solid #99ccff;
    padding: 3px;
}
.altadominio table {
    background-color: ;
}
.altadominio table td.etiqueta {
    text-align: right;
    color:#336699;
}
td.etiqueta {
    padding-right: 10px;
    text-align: right;
}
td.font_normal {color:#666; height:21px;}
td.font_mija {color:#cc3300; height:21px;}
td.font_formulari {text-align:right;}

.totalesfactura_iva, .totalesfactura_total, .totalesfactura_base, .totalesfactura_suplidos, .lineasfactura_cantidad, .lineasfactura_precio, .lineasfactura_descuento, .lineasfactura_total, .numerico {
    text-align: right;
}
.ticket_pendiente {
    background-color: #99ccff;
}
.ticket_atendido {
    background-color: #FFB6C1;
}
.ContratoEliminado {
    display: none;
}

#popup_dialog {
	border:0px;
	padding:15px; 
	background-color:#99ccff;
	min-width:150px;
	border:solid white;
}

#escritorio { -moz-border-radius: 5px; border:1px solid #336699; background: url("/recursos/css-xms/images/fondo-escritorio.jpg") repeat-x scroll left bottom #f4f4f4; overflow:hidden;}
#escritorio h3{background: #336699; color:#fff; margin:0 0 5px 0;}
.caja_escritorio {
   border:1px solid #cccccc;
    margin: 5px;
    padding: 5px;
    background: #fff;
    -moz-border-radius: 5px; 
 
}

li{ line-height: 16px; list-style-position: inside; }

pre br{
    display: none;
}

.anotacion {
  background-color: #C3D6F2;
  padding: 5px;
  margin: 10px 0 10px 0;
  overflow: hidden;
  }

.anotacioncontenido {
max-height:5em;
overflow: hidden;
text-overflow: ellipsis;
}

.anotacioncontenido:hover {
max-height: max-content;
}

.xmsTiempo {
  display:none;
  }

.resultado {
  font-weight: bold;
}

table div.rotated {
    writing-mode:tb-rl;
    white-space: nowrap;
}

thead th {
    vertical-align: bottom;
}

table .vertical {
    white-space: nowrap;
}

#amavisPolicyTable td {
  padding: 5px;
  }

.lineasfactura tr:hover, .listado tr:hover {
background-color:aqua;
}

