/* 
    Document   : css
    Created on : 25-nov-2011, 12:35:32
    Author     : Isaac
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

root {
    display: block;
}
/*
body{
    background-image: url('img/fondo.gif');
    background-position: top left;
    background-repeat: repeat-x;
    background-color: #F0B780;
    font-family: sans-serif;
    margin-top:40px;
}
*/

#statusBar{
    position:fixed;
    bottom:0px;
    width:100%;
    left:0px;
    height:250px;
    font-size:16pt;
    font-weight:bold;
    text-align:center;
    border-top:1px dotted #1A1A1A;
    display:none; /* escondida */
    z-index:11;
}

#topBar{
    position:fixed;
    z-index:11;
    width:100%;
    height:40px;
    left:0px;
    top:0px;
    background-color:#FFD350;
}

#topBar #btnHome{
    width:32px;
    height:32px;
    background-image:url('img/icon_home.png');
    background-position:center center;
    background-repeat: no-repeat;
    float:left;
    position:relative;
    top:0px;
    left:10px;
    cursor:pointer;
}

#topBar #btnMsg{
    width:32px;
    height:32px;
    background-image:url('img/icon_msg.png');
    background-position:center center;
    background-repeat: no-repeat;
    float:right;
    position:relative;
    top:0px;
    right:10px;
    text-align:center;
}

#topBar #btnMsg p{
    color:#FFFFFF;
    font-size:12px;
    text-decoration: blink;
    font-weight: bold;    
    vertical-align: middle;
    background-color:#FF0000;
    width:16px;
    border-radius:8px;
}

#topBar #nombreCliente{  
    margin-left: auto;
    margin-right: auto;
    width:300px;
    left:50%;
    margin-left:-150px;
    position:absolute;
    color:#FFFFFF;
    float:left;
    text-shadow: 0 0 2px #000000;
    text-align: center;
    font-size:18pt;
    cursor:pointer;
}

.ok{
    background-color:darkolivegreen;
    color: #FFFFFF;

}

.error{
    background-color:firebrick;
    color: #FFFFFF;
}

.info {
    background-color: dodgerblue;
    color: #FFFFFF;
}

.normal{
    background-color:#DaDaDa;
}

.tablalistado{
 
    font-size:12pt;
    background-color:#FFFFFF;
    min-width:50%;
}


.tablalistado thead td{
    background-color:#FFD350;
    font-weight:bold;
}

.tablalistado .alt td{
    background-color:#FFF5BF;
}
/*
input[type=text],input[type=number],select,textarea{
    font-size: 19pt;
    font-weight:bold;
    background-color:#F8FF78;
    color:#FF0000;
    border:1px solid #000000;
    min-height:35px;
}
*/
/*
input::-webkit-input-placeholder {
    color:    #E0E0E0;
}
input:-moz-placeholder {
    color:    #E0E0E0;
}
input:-ms-input-placeholder {
    color:    #E0E0E0;
}
*/
/*
input[type=button]{
    border:0px;
    border-radius: 15px;
    font-family: sans-serif;
    min-width:150px;
    height:60px;
  
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#65b6cf),  to(#2c2c2c));
  
    box-shadow:inset 0 0 10px #3a3a3a;
    font-size:18pt;
    color: #000000;
    text-shadow: 0 0 2px #FFF;
    background-position: left center;

}

input[type=button]:hover{
    box-shadow:inset 0 0 10px #5a5a5a;
    cursor:pointer;
}


input[type=button].mas{
    background-image: url('img/icono_mas.png');
    
    background-repeat: no-repeat;
    padding-left:32px;
    min-width: 32px;
    
}

input[type=button].menos{
    background-image: url("img/icono_menos.png");
    background-repeat: no-repeat;
    padding-left:32px;
    min-width: 32px;
}

input[type=button].cancel{
    background-image: url("img/icono_cancel.png");
    background-repeat: no-repeat;
    padding-left:32px;
}

input[type=button].caja{
    background-image: url("img/icono_caja.png");
    background-repeat: no-repeat;
    padding-left:32px;
}

input[type=button].aceptar{
    background-image: url("img/icono_aceptar.png");
    background-repeat: no-repeat;
    padding-left:32px;
}

input[type=button].volver{
    background-image: url("img/icono_volver.png");
    background-repeat: no-repeat;
    padding-left:32px;
}

input[type=button].buscar{
    background-image: url("img/icono_buscar.png");
    background-repeat: no-repeat;
    padding-left:32px;
    min-width: 32px;
}

input[type=button].money{
    background-image: url("img/icono_money.png");
    background-repeat: no-repeat;
    padding-left:32px;
}

input[type=button].edit{
    background-image: url("img/icono_edit.png");
    background-repeat: no-repeat;
    padding-left:32px;
}

input[type=button]:active{
  
    color:#FFFFFF;
    
}
*/

#seccion{
    font-family: 'Convergence',sans-serif;
    font-size:24pt;
    color: #FFFFFF;
    text-shadow: 0 0 2px #000000;
    text-align: center;

}

#capaopaca{
    background-color: #FFFFFF;
    width:100%;
    height:100%;
    z-index:5;
    position:fixed;
    top:0px;
    left:0px;
    opacity: 0.75;
    display:none; /*escondida, en principio */
}

#cuadrosuperior{
    background-color: #FFFFFF;
    border:1px solid #000000;
    /*width:80%;
    min-width:400px;*/
    width:474px;
    min-height: 50%;
   
    position:fixed;
    left:1px;
    top:40px;
    padding:2px;
    /*margin-left:-230px;
    margin-top:-100px;*/
    /*margin-left:-200px;
    margin-top:-250px;*/
    z-index:10;
    display:none;
    /*-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;*/
}

.fichaCliente{
    padding:2px;
    width:450px;
    font-size:16pt;
}

.fichaCliente table{
     margin-left:auto;
     margin-right:auto;
     border:0px;
     position: relative;     
}

.fichaCliente table td{
     text-align:center;
     padding:3px;
     font-size:5pt;
}

.gridProductos table{
     margin-left:auto;
     margin-right:auto;
     border:0px;
     background-color:transparent;
     width:100%;
     height:auto;
     padding: 0px;
     margin: 0px;
}

.gridProductos table td{
    border:1px solid #000000;
    padding:0px;
    margin:0px;
    width: 150px;
    height:150px;
}

.gridProductos a img{
    cursor:pointer;
    border:1px solid #000000;
    width:150px;
}

a img{
    border:0px;
}
/*
.fichaProducto input[type=text]{
    text-align:center;
}
*/
.fichaProducto table{
     margin-left:auto;
     margin-right:auto;     
}

.fichaProducto table th{
    font-weight:bolder;
    font-size:16pt;
}

.fichaProducto b{
    color:#FF0000;
    font-weight: bold;
}

.fichaProducto{
  width:98%;  
}

.fichaProducto div{
    min-height:40px;
}
/*
.fichaProducto input.transparente{
    border:0px;
    background-color:transparent;
    color:#FF0000;
    font-weight:bold;
    text-align:right;
}
*/

#previoAlbaran{
background-color: #FFFFFF;
border: 1px solid #000000;
width:95%;
margin-left:auto;
margin-right:auto;
font-size: 0.8em;
padding-left:2px;
}


#previoAlbaran table{
width:100%;
padding:2px;
}

@media ( max-width: 380px ) {
    
    #previoAlbaran{
        font-size:0.7em;
    }
    
}

#previoAlbaran table td{
vertical-align: top;
}

#previoAlbaran table.albaranProductos{
position:relative;
width:100%;
}

#previoAlbaran table.albaranProductos td{
background-color:#F3F3F3;
}

#previoAlbaran table.albaranProductos tr.descincidencia td{
    font-style: italic;
    background-color:#FAFAFA;
}

#previoAlbaran table.albaranProductos th{
background-color:#FFD350;
}

#previoAlbaran table.resumenTotales{
width:60%;
margin-left:auto;
margin-right:auto;
}

table.tablaCuadre{
    background-color:#FFFFFF;
    border:1px solid #000000;
}
/*
table.tablaCuadre input[type=text]{
    text-align: right;
}
*/

div .nombreFamilia{
    cursor:pointer;
    background-color:#ffd350;
    width:100%;
    text-align:center;
    font-size:22pt;
    font-weight:bold;
    color:#FFFFFF;
    text-shadow: 0 0 2px #000000;
    
}

.btnHome {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    
}
/*
select{
    max-width:90%;
}
*/
.filadoble {
    color:#000000;    
}

    #totalesPedido{
        width:100%;
        padding:2px;
        border:1px dotted #FF0000;
        background-color: #FFFFFF;        
        margin-left:auto;
        margin-right:auto;
    }
    
    .verde{
        font-weight:bold;
        color:#8cc63f;
    }
    
    .rojo{
        font-weight:bold;
        color:#FF0000;
    }
    
    /*#tablaPedidoFabrica table{
        border-collapse: collapse;
        padding:0px;
    }*/
    
    #tablaPedidoFabrica {        
        font-size:1em;    
        text-align: center;
        border-collapse: collapse;
        
    }
                
    #tablaPedidoFabrica div{        
        vertical-align: middle;
        word-wrap: break-word;
    }
    
    #tablaPedidoFabrica div.productobase{
        border:1px solid #FFD350;
        background-color: #FFF5BF;
        font-size: 1.2em;
        font-weight: bold;        
        min-height: 80px;
    }
    
    #tablaPedidoFabrica div.productocaja0{        
        color: #8c8c8c;
        border:1px solid #F3F3F3;
        background-color: #F3F3F3;
        min-height: 80px;
    }
    
    #tablaPedidoFabrica div.productocaja{
        border:1px solid #000;
        background-color: #FFFFFF;
        min-height: 80px;
    }
    
    
    #tablaPedidoFabrica input{
        /*transform: rotate(-45deg);*/
     width:50px;
     text-align: center;
     font-size:1.5em;
     font-weight:bold;               
    }
    
    @media all and (max-width: 35em) {
	#tablaPedidoFabrica div{
        font-size:0.9em;
    }
    #tablaPedidoFabrica div.productobase{        
        font-size: 1em;        
    }
}

    @media all and (max-width: 25em) {
	#tablaPedidoFabrica div{
        font-size:0.8em;     
        min-height: 100px;    
    }
    #tablaPedidoFabrica div.productobase{        
        font-size: 0.9em;        
    }
}

.ui-icon-ray{
 background: url('images/ray.png') no-repeat rgba(0,0,0,0.4) !important;
}

div.add2homescreen{
  display: none;
  position: absolute;
  top:0px;
  left:0px;
  width: 90vw;
  height: 100vh;
  padding: 20px;
  padding-top:100px;
  font-size:1em;
  background-color: #000000;
  color:#FFFFFF;
  text-align: center;
  vertical-align: middle;
  z-index: 1000;
}