/*  body, corresponde al tag HTML, o sea toda la pagina  */



body {
    padding: 0px;
    margin: 0px;
    font-family: Verdana, Geneva, sans-serif;
    background: url(../images/bg.jpg) repeat-x top;
    background-color:#FFF;
    color:#333;
}
h1, h2, h3, h4, h5, h6, h7, h8, p, ul, li, dl, dt, dd, img, form {
    margin:0;
    padding:0;
}
.nota {
    font-size: 3mm;
}
/* nro pedido (pedidos anteriores)*/
a {
    color:#333333;
    text-decoration:underline;
}
/*texto agrupamientos mouseover*/
a:hover {
    color:#FE8141;
}
.tete {
    position:absolute;
    left:0;
    top:15px;
    width:117px;
    height:97px;
    z-index:118;
}
.tete1 {
    position:absolute;
    left:760px;
    top:15px;
    width:105px;
    height:97px;
    z-index:128;
}
img {
    border:none;
    display:block;
    background-color:transparent;
}
/*  class="boton", es para darle apariencia de boton a algun tag, quedaria mejor hacerlo con una imagen de fondo*/

.boton {
    background-color:#00ABC9;
    border-right:1px solid #004B79;
    border-bottom:1px solid #004B79;
    border-left:1px solid #00DFFC;
    border-top:1px solid #00DFFC;
    display: block;
    width: 13em;
    cursor: pointer;
}
.boton:hover, .boton.over {
}
.clickeable {
    cursor: pointer;
}
.amarillo {
    background-color:#edf3b3;
    color: black;
    border:1px solid gray;
    display: block;
    width: 13em;
}
/*  wrap envuelve a todo el contenido, le pongo margen y se ve el fondo verde  */

div#wrap {
    margin: 15px;
    margin-left:0;
    margin-right:0;
    border: 0px;

}
/*  titulo superior, donde esta el logo. La altura es fija  */
#header {
    vertical-align: top;
    background-image: url("../images/foto_superior.jpg") !important;
    background-repeat: no-repeat;
    background-position: top left;
    height: 97px;
    z-index: 100;
}
div.bloqueo {
    position: absolute;
    z-index: 299;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background:url(../dark_bg.png) repeat;
    display: none;
}
/*  mensaje sobre el blqueo (Actualizando...)  
        display:none es para que no lo dibuje de entrada
        display:block lo hace visible
*/

div#mensaje {
    display: none;
    position: relative;
    top: 50%;
    left: 45%;
    width: 11em;
    background-color: white;
    color:black;
    z-index: 299;
}
/*  menu principal (Compras, Historial, Modificar clave, Salir)
   posicion fija justo al final del div#titulo  
*/

#topmenu {
    position:relative;
    vertical-align: middle;
    padding: 0px;
    margin: 0px -2px 0px -2px;
    top: 98px;
    text-decoration:none;
    display: none;
    width: auto;
    height: 74px;
    background-image:url("../images/fondo_topmenu.png");
}
/*  elementos del menu principal  */


#topmenu li {
    list-style-type: none;
    float:left;
    width:auto;
    text-decoration:none;
    padding:0px 0px 0px 0px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: small;

}
#topmenu li:hover, li.over {
    background-color:transparent;
}
/*texto botones*/
#topmenu li a {
    color: #00007F;
    text-decoration: none;
    display: block;
    text-decoration:none;
    padding-bottom:6px;
}
/*fondo botones mouseover*/
#topmenu li a:hover, li a.over {
}
#topmenu .current {
    background-color:transparent;
}
/*fondo boton actual mouseover*/
#topmenu .current:hover, #topmenu .current.over {
    background-color:transparent;
}
#topmenu .current a {
    background-image: url("../images/btn_pedidos_nue_front.png");
    background-repeat:no-repeat;
}
#topmenu .current a:hover {
    background-image: url("../images/btn_pedidos_nue_back.png");
    background-repeat:no-repeat;
}
#topmenu .currenthis {
    background-color:transparent;
}
/*fondo boton pedidos anteriores mouseover*/
#topmenu .currenthis:hover, #topmenu .currenthis.over {
}
#topmenu .currenthis a {
    background-image: url("../images/btn_pedidos_ant_front.png");
    background-repeat:no-repeat;
}
#topmenu .currenthis a:hover {
    background-image: url("../images/btn_pedidos_ant_back.png");
    background-repeat:no-repeat;
}

/*fondo boton pedidos RX anteriores mouseover*/
#topmenu .currenthisrx:hover, #topmenu .currenthisrx.over {
}
#topmenu .currenthisrx a {
    background-image: url("../images/btn_pedidos_RX_front.png");
    background-repeat:no-repeat;
}
#topmenu .currenthisrx a:hover {
    background-image: url("../images/btn_pedidos_RX_back.png");
    background-repeat:no-repeat;
}
/*fondo boton modificar_clave mouseover*/

#topmenu .modificar_clave a {
    background-image: url("../images/btn_modificar_clave_front.png");
    background-repeat:no-repeat;
    background-color:transparent;
}
#topmenu .modificar_clave a:hover {
    background-image: url("../images/btn_modificar_clave_back.png");
    background-repeat:no-repeat;
    background-color:transparent;
}
/*fondo boton instructivos mouseover*/
#topmenu .instructivos:hover, #topmenu .instructivos.over {
    background-color:transparent;
}
#topmenu .instructivos a {
    background-image: url("../images/btn_instructivos.png");
    background-repeat:no-repeat;
}
#topmenu .instructivos a:hover {
    background-image: url("../images/btn_instructivos_hover.png");
    background-repeat:no-repeat;
}
/*fondo boton salir_login mouseover*/

#topmenu .salir_login a {
    background-image: url("../images/btn_salir_front.png");
    background-repeat:no-repeat;
    background-color:transparent;
}
#topmenu .salir_login a:hover {
    background-image: url("../images/btn_salir_back.png");
    background-repeat:no-repeat;
    background-color:transparent;
}
/*  login contiene una caja con los forms de login y cliente */

#login {
    float: right;
    margin-right: 15px;
    width: 20.1em;
    z-index:300;
}
/*  la caja  */
.botonEntrar {
    padding-top:8px;
}
#login #box {
    background:#FFF;
    border:0 none;
    padding-top:20px;
}
/*  formato de los titulos (Usuario, Contraseña, Clientes) */

#login h8 {
    color:#333;
    font-weight:bold;
    padding-top:3px;
    padding-bottom:3px;
    z-index:300;
    font-size:1em;
    padding: 95px 0px 0px 0px;
}
#login h6 {
    z-index:300;
    font-weight:normal;
    color:#0085CF;
    padding:5px;
}
#login h7 {
    z-index:300;
    font-weight:normal;
    color:#0085CF;
    padding:5px;
    margin-bottom:5px;
    font-size:11px;
}
#login h4 {
    background:#0185D0;
    color:#FFFFFF;
    font-size:15px;
    font-weight:normal;
    margin-bottom:3px;
    padding:0px;
    z-index:300;
}
#login #opciones {
    margin: 0 0 0 0px;
    padding: 0px;
}
#login #w {
    margin:0;
    padding:0;
    z-index:300;
    text-align:left;
    font-size: 10px;
}
#box .info {
    font-size:.7em;
    font-weight:bold;
    color: white;
    width: 500px;
}
#izq {
    /*top: 76px; asi estaba antes*/
}
#torso {
    /*use for anything to apply to both #main and #column (e.g. background) */
    background-image:url(../images/fondo_interno.png);
    background-position:left center;
    background-repeat:repeat-y;
}
.input {
    border:1px solid #CCCCCC;
    color:#333333;
    font-family:Verdana, Geneva, sans-serif;
    font-size:13px;
    margin-bottom:10px;
    margin-top:2px;
    padding:6px;
    width:254px;
}
/*  sidebar es la linea del costado, contiene a sidemenu y al carrito */

#narrow {
    float: left;
    width:218px;
}
#column {
    padding:.1em;
}
/*  elementos del menu de la izquierda */


/* carrito */

#carrito {
    margin-top: 50px;
    width: 100%;
    font-size: x-small;
    border-right:10px transparent;
    border-bottom:10px transparent;
    border-left:10px transparent;
    border-top:10px transparent;
}
/* prodpedido  contiene a todo los datos de UN producto 
( nombre, articulos, cantidad )
*/

#carrito .producto {
    width: 90%;
    text-align: center;
    margin: 5%;
}
/* el nombre del producto te lleva al producto asi que debe cambiar el cursor */

#carrito .nombre {
    cursor: pointer;
}
#carrito .nombre:hover, .nombre.over {
    color: black;
    background-color:#FFFFFF;
    border-right:10px transparent;
    border-bottom:10px transparent;
    border-left:10px transparent;
    border-top:10px transparent;
}
/* los articulos empiezan invisibles */
#carrito .articulos {
    display:none;
}
#carrito .cantidad {
}
/* los articulos son una lista sin ordenar  (Unordered List)
        ul es la llista completa
        li es cada item
*/
#carrito ul {
    margin: 0px;
    padding: 0px;
    float: left;
}
#carrito li {
    line-height: 2.5ex;
    list-style-type: none;
    display: block;
    padding-top: 0.3em;
    margin-bottom: 0.4em;
}
#listacarrito {
}
#listacarrito th {
    background-color:#0185D0;
    color:white;
    height:20px;
    border-right:10px transparent;
    border-bottom:10px transparent;
    border-left:10px transparent;
    border-top:10px transparent;
}
#listacarrito td {
    background-color: #f2f2f2;
    color: black;
    padding: 10px 10px 10px 10px;
    height:10px;
}
#listacarrito tr.modificado {
    background-color: #aaaaaa;
}
/* el contenido principal que a su vez esta dividido en dos */
#wide {
    margin-top:21px;
    left:0px;
    width:89%;
    overflow:auto;
}
#main {
    padding: 4px 0 4px 0;
}
.grupo {
    padding: 5mm 0 5mm 0;
}
#bottomcontent {
    padding: 5mm 0 5mm 0;
}
.descrproducto {
    font-size: small;
    padding: 5mm 0 0 0;
}
/* los productos cuando estamos viendo el carrito antes de grabar */

#topcontent .prodpedido {
}
/* NUSE */

#main .wrapprod {
    overflow:hidden;
    width: 100%;/*	border: 1px dashed #004B99;*/
}
/* los articulos cuando estamos viendo el pedido antes de grabar (por ahora es igual a la de div#carrito */
#main .nombre {
    color:#ffffff;
    cursor: pointer;
}
#main .articulos {
    display:none;
}
#main ul {
    margin: 0px;
    padding: 0px;
}
#main li {
    line-height: 2.5ex;
    list-style-type: none;
    display: block;
    padding-top: 0.3em;
    margin-bottom: 0.4em;
}
/* la parte de arriba */
#topcontent {
    font-size: 0.8em;
    margin-top: 20px;/*	border: 4px solid green; */
}
/* los productos cuando estamos navegando la tienda */

#topcontent .producto {
    text-align: center;
    color: #333;
    background-color:#f2f2f2;
    cursor: pointer;
    height: 6.3em;
    width: 10em;
    float: left;
    margin: 6px;
    font-size: xx-small;
}
#wrapprod .producto {
    height: 6.1em;
}
#wrapprod a div.cantidad {
    font-weight:bold;
}
#topcontent .producto img {
    width: 6em;
    height: 2em;
    margin-left:4.5%;
    margin-right:4.5%;
    display: block;
    border:none;
}
#topcontent .producto a {
    text-decoration:none;
    color:#333;
}
#topcontent .producto:hover {
    background-color:#1A1742;
}
#topcontent .producto.over {
    background-color:#1A1742;
}
/* para que la lista del historial aparezca centrada */

#topcontent td {
    padding: 0 0.4em 0 0.4em;
    text-align: center;
    vertical-align: top;
    background:  #666;
    height: 50px;
    width: 250px;
}
#topcontent tr.odd {
    /*    height: 50px;*/
    width: 250px;
}
#topcontent th {
    background:  #0185D0;
    padding: 0 0.4em 0 0.4em;
    text-align: center;
    vertical-align: top;
    height: 50px;
    width: 250px;
    font-weight: normal;
}
#topcontent th:hover, th.over {
    background:  #ccc;
}
#topcontent table {
    font-size: 11px;
    font-weight: normal;
    color: white;
    height: 50px;
    width: 250px;
}
#topcontent .obs {
    width: 50%;
}
#prods {
    padding: 2px;
}


/* el contenido de abajo */ 
#bottomcontent {
    clear:left;
    padding: 6px;
}
/* los formatos de la grilla */ 
#bottomcontent .inhabilitado {
    background: #00007F;
    color: #333;
}
#bottomcontent input {
    margin: 0px;
    border: solid 0px;
    border-right: 0px solid #0185D0;
    background-color: #00007F;
    color: white;
    font-weight:bold;
    text-align: center;
}
#bottomcontent .editado {
    background: #eAeAFF;
    color: #00007F;
    margin: 0px;
}
#bottomcontent .positivo {
    color:#333;
    background: #cccccc;
    margin: 0px;
}
#bottomcontent .negativo {
    color:#fff;
    background: #0185D0;
    white-space: nowrap;	
}
#bottomcontent th {
    font-size: x-small;
    border-right: 0px solid #0185D0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0px;
}
#bottomcontent td {
    height: 1.5em;
}
#Total {
    text-align:right;
    font-weight:bold;
}
#footer {
    background-color:#0185D0;
    clear:both;
    color:#FFFFFF;
    font-size:11px;
    margin-top:15px;
    padding:15px;
    text-align:left;
}
.left-menu {
    margin-left: 0px;
}
.left-menu ul {
    text-align: left;
    margin: 12px 0px 0px 0px;
    padding-top: 25px;
}
.left-menu a {
    color: #1AFFFD;
    text-decoration:none;
    font-size: .8em;
    vertical-align: top;
}
.left-menu .menu-item:hover a, .left-menu .menu-item.over a {
    color:#629E99;
}
.left-menu ul li {
    list-style-type: none;
    padding-top: 2px;
    height:1 em;
    vertical-align: top;
}
.left-menu .current {
    color: #B7FDF9;
}
.left-menu .current a {
    color: #B7FDF9;
}
.left-menu .current:hover, .left-menu .current.over {
    color: black;
}
/*solapa pedido nuevo*/
#topcontent .producto .block-link {
    height:4.3em;
}
/*solapa pedidos anteriores*/
#wrapprod .producto .block-link {
    height:6.2em;
}
#topmenu .block-link {
    height:60px;
    width:180px;
}
.block-link {
    display:block;
    z-index:100;
}
#frmpedido label {
    display: block;
    width: 30%;
    float: left;
    margin-bottom: 10px;
    text-align: right;
    padding-right: 20px;
}
#frmpedido span {
    display: block;
    width: 35%;
    float: left;
    margin-bottom: 10px;
}
#frmpedido .leyenda {
    font-size: x-small;
}
#frmpedido br {
    clear: left;
}
#frmpedido .error {
    background: #FFFF66;
}
.h5 {
    padding:4px;
    background:#0185D0;
    color:#FFFFFF;
    font-size:15px;
    font-weight:normal;
    margin-bottom:3px;
}

#RXcontent {
    font-size:10px;
    font-weight: bold;
}

#RXcontent input{
    font-size:10px;
    background: #0185D0;
    /*text-align: left;*/ 
    background-color: #0185D0;
    /*border-color: #436C6B;*/
    border:1px solid #CCCCCC;
}

#RXcontent select{
    font-weight: bold;
    font-size:10px;
    background: #0185D0;
    text-align: left;
    background-color: #0185D0;
    color: white;
    /*border-width: 1px;*/
    border:1px solid #CCCCCC;
}

#prescripcion input{
    margin: 4px;
}

#prescripcion select{
    margin: 4px;
}

.graduacion {
    width: 40px;
}

.graduacionSinSigno {
    width: 40px;
}

.adicion {
    width: 55px;
    text-align: right !important; 
}

.basecli {
    text-align: right !important; 
}

.eje{
    width: 40px;
}

.POS1DECIMAL{
    width: 40px;
}

.ct{
    width: 40px;
}

.et{
    width: 40px;
}

.opcional {
    color: #ff9900;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 9px;
}
#RXcontent textarea{
    color: white;
    font-size:11px;
    font-weight: bold;
    background: #0185D0;
    /*    border-width: 1px;
        border-color: #436C6B;*/
    border:1px solid #CCCCCC;
}

.POS1DECIMAL5 {
    width: 40px;
}

.ENTERO {
    width: 40px;
}

.NATURAL {
    width: 40px;
}

.POS2DECIMALES {
    width: 40px;   
}

#mensajeRX{
    font-weight: normal;
    font-size:10px;
    text-align: left;
    color: red;
    padding-top:5px;
}

.otros input {
    text-align: left !important; 
}

.borderojo{
    border-color: #FF0000 !important;
}

.textorojo{
    color: #FF0000 !important;
}

.textoblanco{
    color: #FFFFFF !important;
}
.textogris{
    color: #6C6C6C !important;
}

.textoizquierda{
    text-align: left !important;
}

#busrx{
    font-size:12px;
}

#busrx input{
    color: #2779AA;
    font-size:11px;
    font-weight: bold;
    background: #0185D0;
    background-color: #D7EBF9;
    border:1px solid #AED0EA;
}

#busrx input[type="button"]
{
    background-color: #333333;
    border:1px solid #333333;
    font-size:12px;
    color: white;
}

#busrx input[type="button"]:hover
{
    background-color: #0185D0;
    border: 1px solid #2779AA;
}

div.ui-datepicker{
    font-size:12px;
}


#ant{
    width: 150px;
    height:50px;
    display:block;
    background:transparent url('../images/prv_btn.png') center top no-repeat;
}
#ant:hover {
    background-image: url('../images/prv_btn_hover.png');
}

#sig{
    width: 150px;
    height:50px;
    display:block;
    background:transparent url('../images/nxt_btn.png') center top no-repeat;
}
#sig:hover {
    background-image: url('../images/nxt_btn_hover.png');
}
.dialogo { 
    font-size: 62.5%; 
}
.dialogo label input { 
    display:block; 
}
.dialogo fieldset { 
    padding:0; border:0; margin-top:25px; 
}
