body {
    margin: 0;
    padding:5px;
    background-color:#fff;
    font-family:Arial,Helvetica,sans-serif;
    font-family:"lucida grande", tahoma, verdana, arial, sans-serif; ;
    font-size:12px;
    color:black;
}

/* general anchor colors */
a:link, a:visited { color:#333333; text-decoration:none;     font-size:11px;
                    font-family:Verdana,Helvetica;
                    vertical-align: text-top;
}
a:hover { color:#6C99FF; text-decoration:none; }
a:link,.w,a.w:link,.w a:link{color:#00c}
a:visited,.fl:visited{color:#551a8b}
a:active,.fl:active{color:#f00}

img {
    border-width: 0px;
}

/* Saca el cuadro azul alrededor de las imagenes que son links */
a img {
    border-width: 0px;
    border-bottom-style:none;
    border-bottom-width:0px;
    text-decoration: none;
    border:none;
    vertical-align: text-top;
    padding-right: 4px;
}

input[type=text], input[type=password], select, textarea {
    border: 2px solid #DADADA;
    background-color: #F3F3FE;
    font-family: Helvetica, Arial, Sans-serif;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;         /* Funciona en Opera */
    min-height: 18px;
}

#datatables tr td img, #datatables_buscar tr td img {
    border: 0px;
    padding-right: 0.5em;
    vertical-align: middle;
    width: 16px;
    height: 16px;
}

.botonera {
    /*font-size:14px;
    font-weight:bold;*/
    background-color:#e5ecf9;
    vertical-align: middle;
    padding-bottom: 2px;
    padding-top: 2px;
}

.barra {
    font-size:14px;
    font-weight:bold;
    background-color:#e5ecf9;
    margin-bottom:15px;
    text-align: left;
    vertical-align: middle;
    padding-left: 1em;
    height: 1.4em;
    margin-bottom: 6px;
    margin-top: 2px;
    padding: 3px 7px;
}

/* Botones con imagen */
.btn {
    height: 22px; background-color: #f5f5f0; border-bottom: 1px solid #555555;
    border-right:1px solid #555555; border-top:0px; border-left:0px; font-size: 11px;
    color:black; background-image: url(./botones/btns.png);
    padding-left: 25px; background-repeat: no-repeat; cursor:pointer;
    margin-left:5px; margin-right:5px; outline-width:0px;
}

.btn:hover {
    height: 22px; background-color: #f5f5f0; border-bottom: 1px solid #AAAAAA;
    border-right:1px solid #AAAAAA; border-top:0px; border-left:0px;
    font-size: 11px; color:black;padding-left: 25px; background-repeat: no-repeat;
    cursor:pointer; margin-left:5px; margin-right:5px;outline-width:0px;
    background-image: url(./botones/btns_act.png);
}

.btnsave { background-position: 0px 0px; }
.btncancel { background-position: 0px -23px; }
.btndelete { background-position: 0px -46px; }
.btnprint { background-position: 0px -69px; }
.btnadd { background-position: 0px -92px; }
.btnfind { background-position: 0px -115px; }
.btnmail { background-position: 0px -138px; }
.btncopy { background-position: 0px -161px; }
.btnapply { background-position: 0px -184px; }
.btncheck { background-position: 0px -207px; }
.btnuncheck { background-position: 0px -230px; }
.btnuser { background-position: 0px -276px; }
.btnadmin { background-position: 0px -299px; }
.btnnonuser { background-position: 0px -322px; }
.btnrefresh {  background-position: 0px -345px;  }
.btnlogout { background-position: 0px -368px; }
.btnback { background-position: 0px -391px; }

.alt {
    background-color: #DDDDFF;
}

.invalid {
    color: red;
}

.derecha {
    text-align: right;
}

.centro {
    text-align: center;
}

.nobr {
    white-space: nowrap
}

/* Estilo para los Input */
fieldset {
    border: 2px solid #DADADA;
    background-color: #FAFAFA;
    font-family: Helvetica, Arial, Sans-serif;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 0 0 1.2em 0;
    border: 1px solid #BFBAB0;
    position: relative;
}

legend {
    padding: 0.2em 0.5em;
    color: gray;
}

.opciones{
    width:85px;
    text-align:center;
}

/*tablas AJAX*/
.tbl_ajax td{
    font-family:arial;
    padding-left: 0.8em;
    padding-right: 0.8em;
    font-size: 12px;
}

.tbl_ajax thead tr td {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0.8em;
    padding-right: 0.8em;
    background-color:#C1E3F4;
    text-align: center;
}
