/* app_agri.css Agricultura */
/** GASTOS DEL POTRERO */

.secFlotanteAgri{
  width:          100%;
  box-sizing:     border-box;  
  float:          left;
  margin-left:    1px;
  z-index:        3;
  background:     #fff;
  display:        none
}
  .divAgriTit{
    float:      left;
    width:      100%;
    padding:    5px
  }

  #trigo{
    background: #fff;
    float:      left;
  }
  .divAgriBot{
    float:      left;
    width:      100%;
    padding:    3px;
    background: #fff;/* border-top: 10px solid #CCFFCC; */}
      .divAgriBot1{
        float:    right;
        padding:  4px;
      }
  #divAgriGastos{
    width:    100%;
    padding:  10px;
    display:  none
  }

  .divRinde0{
    width:      100%;
    float:      left;
    margin-top: 10px;
    border: 3px solid #b9f3cc;
    /* background: #b9f3cc; */
    padding:    15px 5px 15px 5px;
    display:    none
  }
  .divRinde1{
    width:      100%;
    float:      left;
    background: #fff;/* border:1px solid gray */
  }
  .divRinde2{
    float:      left;
    text-align: left;
    width:      30px;
    padding:    0px 0px 0px 3px;
    /* border:1px solid gray */
  }
  .divRinde3{
    float:      left;
    padding: 4px 3px 4px 15px;
    border:1px solid gray;
    width: 100%;
    text-align: left;
  }

.divOutAgricultura{
  display:    none;
  width:      100%;
  border:     1px solid silver;
  padding:    0 0 1px 0;
  background: #CCFFCC;
  font-size:  1em
}

/** Agricultura **/
.divinAgriRBuscar{
  float: right;
  margin-right: 165px;
  width:        180px;
}
.inAgriGBuscar{
  border:     none;
  font-size:  1.1em;
  color:      red;
  width:      165px
}

#tblAgriGxPot{
  padding:          1px;
  border-collapse:  collapse;
  font-size:        1em;
  width:            100%
}
  #tblAgriGxPot tbody tr{
    background: #fff
  }
  #tblAgriGxPot thead th{
    border:       1px solid #eaeaea;
    padding:      4px 3px 4px 3px;
    font-size:    0.9em;
    font-weight:  normal;
    background:   #E0E0E0;
    color:        #404040
  }
  #tblAgriGxPot thead tr> th:nth-child(1){width: 15px} /*numero de fila*/
  #tblAgriGxPot thead tr> th:nth-child(2){width: 74px} /*fecha*/
  #tblAgriGxPot thead tr> th:nth-child(3){width: auto} /*nombre*/
  #tblAgriGxPot thead tr> th:nth-child(4){width: 18%}   /*rubro*/
  #tblAgriGxPot thead tr> th:nth-child(5){width: 8%}   /*N° fac*/
  #tblAgriGxPot thead tr> th:nth-child(6){width: 5%}   /*Cant*/
  #tblAgriGxPot thead tr> th:nth-child(7){width: 7%}   /*$x1*/
  #tblAgriGxPot thead tr> th:nth-child(8){width: 7%}  /*USDx1*/
  #tblAgriGxPot thead tr> th:nth-child(9){width: 11%}  /*$Tot*/
  #tblAgriGxPot thead tr> th:nth-child(10){width:11%} /*USDTot*/
  #tblAgriGxPot thead tr> th:nth-child(11){width:0px; display:none}   /*factura=f*/

  #tblAgriGxPot tbody td{
    border:     1px solid #D0D0D0;
    padding:    4px 2px 4px 2px;
    text-align: left;
    font-size:  0.85em
  }

  #tblAgriGxPot tbody tr> td:nth-child(1){width: 15px; text-align:right; font-size:0.8em; cursor:pointer; color:red} /*numero de fila*/
  #tblAgriGxPot tbody tr> td:nth-child(2){width: 74px; font-size:0.8em; text-align:center}
  #tblAgriGxPot tbody tr> td:nth-child(3){width: auto}
  #tblAgriGxPot tbody tr> td:nth-child(4){width: 18%}
  #tblAgriGxPot tbody tr> td:nth-child(5){width: 8%; text-align:right}
  #tblAgriGxPot tbody tr> td:nth-child(6){width: 5%; text-align:right}
  #tblAgriGxPot tbody tr> td:nth-child(7){width: 7%; text-align:right}
  #tblAgriGxPot tbody tr> td:nth-child(8){width: 7%; text-align:right}
  #tblAgriGxPot tbody tr> td:nth-child(9){ width: 11%; text-align:right; color:blue; background: #FFFFF0} /*; background:#F6F6F6;color:#003399*/
  #tblAgriGxPot tbody tr> td:nth-child(10){width: 11%; text-align:right; color:green; background: #FFFFF0}
  #tblAgriGxPot tbody tr> td:nth-child(11){width: 0px; display:none}   /*factura=f.  Es el tipo de doc...???*/

/* tblAgriGastosPie */
.tblAgriPieC{
  width:            100%;
  padding:          1px;
  border-collapse:  collapse;
  border-spacing:   1px 5px;
  font-size:        0.9em;
  background:       #FFFFCC;
  font-size:        1em;
}
  .tblAgriPieC td{   
    padding:   4px;
    /* border:    1px solid gray; */
    /*font-size: 0.8em;    /*  */
  }
  .tblAgriPieC tr> td:nth-child(1){width: 30px}
  .tblAgriPieC tr> td:nth-child(2){width: auto; color:silver; font-size: 0.8em; text-align:left}
  .tblAgriPieC tr> td:nth-child(3){width: 125px}
  .tblAgriPieC tr> td:nth-child(4){width: 12%;text-align:right; color:blue}
  .tblAgriPieC tr> td:nth-child(5){width: 12%;text-align:right; color:green}


#tblAgriRinde{
  padding:          1px;
  border-collapse:  collapse;
  font-size:        1em;  /* background:       #CCFFCC; */
/* border: 2px solid lime; */
}
  #tblAgriRinde thead tr{
    border:     1px solid #D0D0D0;
    background: #fff
  }
  #tblAgriRinde thead th{
    border:       1px solid #D0D0D0;
    padding:      4px;
    font-size:    0.9em;
    font-weight:  normal;
    background:   #E0E0E0;
    color:        #404040
  }
  #tblAgriRinde thead tr> th:nth-child(1){width: 15px; font-size:0.8em}   /*N°*/
  #tblAgriRinde thead tr> th:nth-child(2){width: 70px; text-align:left; font-size:0.8em}   /*Rendimiento, fecha*/
  #tblAgriRinde thead tr> th:nth-child(3){width: auto}  /*cultivo*/
  #tblAgriRinde thead tr> th:nth-child(4){width: 7%}   /*hás*/
  #tblAgriRinde thead tr> th:nth-child(5){width: 7%}   /*Kg/há*/
  #tblAgriRinde thead tr> th:nth-child(6){width: 10%}   /*U$S/Kg*/
  #tblAgriRinde thead tr> th:nth-child(7){width: 13%}   /*U$S/há*/
  #tblAgriRinde thead tr> th:nth-child(8){width: 10%}   /*Kgs tot*/
  #tblAgriRinde thead tr> th:nth-child(9){width: 14%}   /*USD tot*/


  #tblAgriRinde tbody td{
    border:     1px solid #D0D0D0;
    padding:    4px 3px 4px 3px;
    font-size:  0.9em;
    background:   #fff;
  }

  #tblAgriRinde tbody tr> td:nth-child(1){width: 15px; text-align:right; cursor:pointer;color:red; font-size:0.8em} 
  #tblAgriRinde tbody tr> td:nth-child(2){width: 70px;text-align:left;font-size: 0.8em}
  #tblAgriRinde tbody tr> td:nth-child(3){width: auto;text-align:left}
  #tblAgriRinde tbody tr> td:nth-child(4){width: 7%; text-align:right}
  #tblAgriRinde tbody tr> td:nth-child(5){width: 7%; text-align:right}
  #tblAgriRinde tbody tr> td:nth-child(6){width: 10%; text-align:right}
  #tblAgriRinde tbody tr> td:nth-child(7){width: 13%; text-align:right; background: #FFFFF0; color:#CC0000}
  #tblAgriRinde tbody tr> td:nth-child(8){width: 10%; text-align:right; background: #FFFFF0; color:#CC0000}
  #tblAgriRinde tbody tr> td:nth-child(9){width: 14%; text-align:right; background: #FFFFF0; color:#CC0000}


#divAgriPotName{
  padding: 3px 3px 3px 8px
}


/*select rubros en gastos de agricultura*/
.selR{
  width:              100%;
  appearance:         none;
  padding:            0px 0px 0px 3px;
  font-size:          1.1em;
  color:              #0066CC;
  background:         #fff;
  text-indent:        .01px;
  text-overflow:      '';
  border:             none;
  cursor:             pointer
}
  .selR option{
    color:      #006699;
    /* font-size:  1.2em; */
  }

/*para avisar coma decimal*/
.divComa{
  color:        gray;
  font-size:    0.8em;
  float:        left;
  padding-top:  5px;
  font-style:   italic
}

#inAgriPotNum{
  width:        30px;
  margin-left:  5px
}
#inAgriPotNom{
  width:        180px;
  margin-left:  10px;
  border:       none;
  font-size:    1em
}
#butAgri{
  width:        50px;
  margin-left:  10px;
  cursor:       pointer;
  padding:      0px;
}


/** REPORTES DE AGRICULTURA **/
/*Agri Gastos por Rubro: tblAgriRepGXRubro -> tARGXR */
#secAgriRepGXR{
  float:        left;
  width:        610px;
  max-width:    1050px;
  background:   #fff;
  border:       1px solid silver;
  box-sizing:   border-box;
  padding:      5px;
}
.tARGXR{
  /* width:            440px; */
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  font:             0.9em "Helvetica Neue","sans serif", "verdana";
  box-sizing:       border-box;
  /* display: block; */
}
/*título general del listado*/
  .tARGXR caption{
    /* width:            100%; */
    background:       #808080;
    color:            #fff;
    padding:          5px;
    border-collapse:  collapse;
    font:             1.1em "Helvetica Neue","sans serif", "verdana"
  }
  .tARGXR thead tr{
    background-color: #808080;
    color:            #fff;
    text-align:       center;
    cursor:           default;
  }

  .tARGXR thead tr th{
    padding:      5px 3px 5px 3px;
    cursor:       pointer;
    border:       1px solid #eaeaea;
    font-weight:  normal
  }
  .tARGXR thead tr>th:nth-child(1){width:120px}
  .tARGXR thead tr>th:nth-child(2){width:130px}
  .tARGXR thead tr>th:nth-child(3){width:100px;}
  .tARGXR thead tr>th:nth-child(4){width:80px}
  .tARGXR thead tr>th:nth-child(5){width:80px;}

  .tARGXR tbody tr:hover{
    background-color:  #FFFFCC;
  }
  .tARGXR tr td{
    padding:  5px 3px 5px 3px;
    cursor:   pointer;
    border:   1px solid #eaeaea
  }
  .tARGXR tbody tr td:nth-child(1){width:120px; text-align: left}
  .tARGXR tbody tr>td:nth-child(2){width:130px;  text-align: left; color:#CC0000}
  .tARGXR tbody tr>td:nth-child(3){width:100px;  text-align: left }
  .tARGXR tbody tr>td:nth-child(4){width:80px;  text-align: right; color:#3366CC}
  .tARGXR tbody tr>td:nth-child(5){width:80px;  text-align: right; color:green}



.tARGXRD{  /* width:            440px; */
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  font:             0.9em "Helvetica Neue","sans serif", "verdana";
  box-sizing:       border-box;                                                                  /* display: block; */
}
  .tARGXRD thead tr{
    background-color: #808080;
    color:            #fff;
    text-align:       center;
    cursor:           default;
  }

  .tARGXRD thead tr th{
    padding:      5px 3px 5px 3px;
    cursor:       pointer;
    border:       1px solid #eaeaea;
    font-weight:  normal
  }
  .tARGXRD thead tr>th:nth-child(1){width:290px}
  .tARGXRD thead tr>th:nth-child(2){width:80px}
  .tARGXRD thead tr>th:nth-child(3){width:80px;}

  .tARGXRD tbody tr:hover{
    background-color:  #FFFFCC;
  }
  .tARGXRD tr td{
    padding:  5px 3px 5px 3px;
    cursor:   pointer;
    border:   1px solid #eaeaea
  }
  .tARGXRD tbody tr td:nth-child(1){width:290px; text-align: left}
  .tARGXRD tbody tr>td:nth-child(2){width:80px;  text-align: right; color:#3366CC}
  .tARGXRD tbody tr>td:nth-child(3){width:80px;  text-align: right; color:green}

.spSilver{color:#BCBCBC; font-size: 0.8em}

































/*tabla del listado*/
.tblAgriRepRinde{
  width:            100%;
  background:       #fff;
  color:            #000;
  border-collapse:  collapse;
  font:             0.9em "Helvetica Neue","sans serif", "verdana"
}
  /*título general del listado*/
  .tblAgriRepRinde caption{
    width:            100%;
    background:       #808080;
    color:            #fff;
    padding:          5px;
    border-collapse:  collapse;
    font:             1.1em "Helvetica Neue","sans serif", "verdana"
  }

  .tblAgriRepRinde thead tr{
    background-color: #808080;
    color:            #fff;
    text-align:       center;
    cursor:           default;
  }

  .tblAgriRepRinde thead tr th{
    padding:      5px 3px 5px 3px;
    cursor:       pointer;
    border:       1px solid #eaeaea;
    font-weight:  normal
  }
  .tblAgriRepRinde thead tr>th:nth-child(1){width:50px}
  .tblAgriRepRinde thead tr>th:nth-child(2){width:90px}
  .tblAgriRepRinde thead tr>th:nth-child(3){width:auto;min-width:60px;overflow-x:hidden}
  .tblAgriRepRinde thead tr>th:nth-child(4){width:100px}
  .tblAgriRepRinde thead tr>th:nth-child(5){width:60px}
  .tblAgriRepRinde thead tr>th:nth-child(6){width:60px}
  .tblAgriRepRinde thead tr>th:nth-child(7){width:70px}
  .tblAgriRepRinde thead tr>th:nth-child(8){width:70px}
  .tblAgriRepRinde thead tr>th:nth-child(9){width:80px}


  .tblAgriRepRinde tfoot tr{
    background-color: #ffff99; /*#CCFFCC verde agua*/
    color:            #000;
    text-align:       right;
  }

  .tblAgriRepRinde tbody tr:hover{
    background-color:  #FFFFCC;
  }
  .tblAgriRepRinde tr td{
    padding:  5px 3px 5px 3px;
    cursor:   pointer;
    border:   1px solid #eaeaea
  }
  .tblAgriRepRinde tbody tr td:nth-child(1){width:50px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(2){width:90px;  text-align: left}
  .tblAgriRepRinde tbody tr>td:nth-child(3){width:auto;  text-align: left; min-width:60px; overflow-x:hidden}
  .tblAgriRepRinde tbody tr>td:nth-child(4){width:100px; text-align: left}
  .tblAgriRepRinde tbody tr>td:nth-child(5){width:60px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(6){width:60px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(7){width:70px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(8){width:70px;  text-align: right}
  .tblAgriRepRinde tbody tr>td:nth-child(9){width:80px;  text-align: right}
