html,body,div,section,span,iframe,h1,h2,h3,h5,h6,p,blockquote,pre,a,em,img,q,b,u,i,center,ol,ul,li,fieldset,form,label,legend,tbody,tfoot,thead,tr,th,td,footer,header,time,audio,video{margin:0;border:0;padding:0;}
html,body{
  width:      100%;
  height:     100%
}

section{
  /* border:         2px dashed red; */
  /* width:          100%; */
  margin-bottom:  10px;
  padding:        10px;
}
ul{
  margin-top:    0px;
  margin-left:    20px;
}
li{
  font-size:      1em;
}

.highlight{
  margin-top:       10px;
  background-color: #fff;
  padding:          30px;
  border:           1px solid #00d2ff;
}

div{
  box-sizing:       border-box;
}

/* CSS copilot   */
body{
  box-sizing:   border-box;
  display:      block;
  font-family:  sans-serif;
  margin:       0px;              /* background:   #fff; */
  background:   #f9f9f1;
  border:       1px solid #fff;
  padding:      5px;
  color:        #333;                          /* Texto oscuro */
}

form label {
  display: block;
  margin: 4px 0;
}
button {
  margin-top: 10px;
}
table {
  margin-top: 20px;
  border-collapse: collapse;
  width: 100%;
}
th, td {
  border: 1px solid #ccc;
  padding: 6px;
}

.tblPractica{
  width:          600px;
  background:     #fff;
  color:          #000;
  border-collapse:separate;
  border-spacing: 2px;
  font:           0.9em "Helvetica Neue","sans serif", "verdana"
}
  .tblPractica tr:nth-child(1){
    text-align: center;
    background: #f0f0f0
  }
  .tblPractica td{
    padding:    10px;
  }

form > div{
  margin-top: 10px;
}
button{
  padding: 6px 12px;
  font-size: 14px;
}
#exportBtn{
  margin-left:  100px;
}

.none{display:  none}
.container{
    background-color: #ffffff; /* Blanco puro */
    padding:          5px;
    border-radius:    15px;
    box-shadow:       0 8px 25px rgba(0, 0, 0, 0.1); /* Sombra suave */
    text-align:       center;
    max-width:        810px; /*ahora 990 por la grilla de lluvias, antes: 850px; /* Un poco más ancho para la gráfica */
    width:            100%;
    margin-top:       50px;
    margin-bottom:    20px;
    border:           1px solid #e0e0e0; /* Borde sutil */
    box-sizing:       border-box;
}
.llogo{
  width:  100%;
}

.sTit3{
  font-style: italic;
  color:      #9933CC;
}

h1 {
    margin-bottom:  15px;
    color:          #3f51b5; /* Azul profundo */
    font-size:      2.2em;
}
#dH5{
    width:          600px;
    margin:         10px auto;
    /* margin-top:     0px; */
    /* margin-bottom:  30px; */
    color:          gray; /* Azul profundo */
    font-size:      1em;
    font-weight:     normal;
}

/*NUEVO botón general "X" para cerrar*/
.xBtn{
  background-color:   #fff;
  color:              #0066ff;
  border:             0;
  padding:            2px 6px 4px 6px;
  border-radius:      0px;
  font-weight:        550;
  font-size:          1em
}
  .xBtn::before{content: '\2715';}
  .xBtn:hover{
    color:      #FFF;
    background: #ff4500
  }

.wMax{
  width:  100%;
}

.dIn{
  float:        left;
  /* margin-right: 20px; */
  color:        #0066CC;
  font-size:    1.2em;
  width:        135px;
  padding-top:  5px
}

.dUsuario{
  float:            left;
  padding:          5px 5px 0px 20px;
  width:            90%;                                       /* background: #CCFFCC; */
  margin-top:       10px;
  /* margin-top:       30px; */
  padding:          10px;
  background-color: bisque; /*#f0f4f8; /* Fondo suave para el display de resultados */
  border-radius:    12px;
  min-height:       50px;
  text-align:       left;
  border:           1px solid #e0e0e0;
  box-shadow:       inset 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size:        0.8em;
}
  .dNombre{
    float:    left;
    width:    calc(100% - 160px);
  }
  .dNombre input{
    border:    none;
    padding:    2px;
    width:      95%;
    background: none;
    margin-top: 5px;
    font-size:  1.2em;
}

.input-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-section label {
    font-weight: 700;
    color: #555;
    white-space: nowrap;
}

.input-section input[type="number"] {
    width: 120px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.input-section input[type="number"]::placeholder {
    color: #aaa;
}

.input-section button {
    background-color: #4CAF50; /* Verde vibrante */
    color: #fff;
    border: none;
    padding: 8px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 100;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.input-section button:hover {
    background-color: #43a047; /* Tono más oscuro de verde */
    transform: translateY(-2px);
}

.dOtras{
  width:  100%;
}
  .dOtras input{
    width:      100px;
    font-size:  0.8em;
    padding:    0px;
  }
  .dOtras a{
    text-decoration:  none;
    font-size:  0.9em;
    color:    #0066FF;
    padding-left:5px;
    padding-right: 25px
  }



.dCity{
  float:        left;
  padding:      10px;
  /* margin-left:  20px; */
  margin-right: 10px;
  width:        calc(100% - 120px);
}
.dImg{
  float:  left;
  width:  100px;
}

.pMsj{
  color:  gray;
}

.dPie{
  float:  left;
  width:  100%;
  padding:  10px;
  margin-top: 20px
}
  /*.dLogoSponsor{
    float:      left;
    max-width:  200px;
    padding:    10px;
    border:     1px solid silver;
    margin-top: 40px;
  }
  .dLogoSponsor1{
    float:      left;
    max-width:  200px;
    padding:    10px;
    border:     1px solid silver;
    margin-top: 40px;
  }
    .dLogoSponsor img{
      max-width:  160px;
      max-height: 180px;
      margin: 10px;
    }*/

.weather-display{
    width:            90%;
    margin-top:       30px;
    float:            left;
    padding:          10px;
    background-color: bisque; /*#f0f4f8; /* Fondo suave para el display de resultados */
    border-radius:    12px;
    min-height:       180px;
                                                            /* display: flex; */
                                                            /* flex-direction: column; */
                                                            /* justify-content: center; */
                                                            /* align-items: center; */
    text-align:       center;
    border:           1px solid #e0e0e0;
    box-shadow:       inset 0 2px 5px rgba(0, 0, 0, 0.05);
}
  .weather-display div{
    /* border:1px solid red; */
  }
.weather-display h2 {
    color: #3f51b5; /* Azul profundo */
    margin-bottom: 15px;
    font-size: 2em;
}

.weather-info {
  float:      left;
  text-align: left;
  background: #fff;
  padding:    20px 40px 20px 40px;
  width:      100%;
  /* border: 1px solid green; */
    /* margin: 6px 0; */
  font-size: 1.1em;
    /* color: #555; */
}
.weather-info p {
    margin: 6px 0;
    font-size: 1.1em;
    color: #555;
}

.weather-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
}
.sVal{
  float:      right;
  color:      rgb(0,102,204);
  font-size:  1.2em;
}
.sRain{
  float:      left;
  color:      rgb(204,0,0);
  font-size:  0.9em;
}
  .sRain p{
    color:      rgb(204,0,0);
    font-size:  1.3em;
  }

.fLeft{
  float:  left;
}
.fRight{
  float:  right;
}

.error-message {
    float:left;
    color: #d32f2f; /* Rojo de error */
    /* background-color: #ffebee; */
    /* border: 1px solid #ef9a9a; */
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 700;
}

.forecast-display {
    margin-top: 30px;
    float:left;
    padding: 25px;
    background-color: #f0f4f8;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    width:90%;
}

.forecast-display h2 {
    color: #3f51b5;
    margin-bottom: 20px;
}

.chart-container {
    position: relative;
    height: 350px; /* Altura fija para la gráfica */
    width: 100%;
    margin: 0 auto; /* Centrar la gráfica */
}

/* Responsivo */
@media (max-width: 680px) {
    .input-section {
        flex-direction: column;
        align-items: center;
    }
    .input-group {
        width: 100%;
        justify-content: center;
    }
    .input-section input[type="number"] {
        width: 150px;
    }
    .container {
        padding: 20px;
    }
}
strong{
  margin-right:20px;
}




  #secFlotLluvia{
    box-sizing:     border-box;
    width:          100%;
    max-width:      fit-content;
    height:         100%;
    float:          left;
    margin:         30px 0px 40px 2px;
    display:        block;
    border:         1px solid silver;
  }
    #inPluviometro{
      width:      30px;
      text-align: right
    }

  #inLluviasAnio{
    width: 40px
  }
/* dentro de secFlotLluvia */
  #divDashX{
    width:      30px;
    float:      right;
    background: #fff;
    text-align: center;
    padding:    3px 3px 0px 3px;
    display:    none;
  }


  #divDash0{
    float:      left;
    width:      100%;
    max-width:  987px;
    background: #fff;
    padding:    10px 3px 10px 3px;
  }

  #divDash0 input{
    /* width:      50px; */
    font-size:  1.1em;
    text-align: center
  }
    #divDash0{
      float:  left;
      width:  120px;
    }

    .divDash01{
      float:        left;
      width:        140px;
      text-align:   left;
      padding-left: 10px;
      padding-top:  5px
    }

    #divDash0 .divDash03{
      float:        left;
      width:        175px;
      border:       1px solid #eaeaea;
      padding:      1px;
      margin-right: 50px
    }
       #divDash0 .divDash03 span{font-size: 0.7em}

  #divLluviaxDia{
    float:          left;
    /* width:          100%; */
    /* max-width:      987px; */
    /* padding-bottom: 10px; */
    /* background:     #fff */
  }

    /*#divDash0{
      float:        right;
      width:        60px;
      margin-right: 30px;
    }*/
    #divDash0{
      float:      left;
      width:      100%;
      max-width:  987px;
      background: #fff;
      padding:    10px 3px 10px 3px;
    }

    .divDash02{
      float:        right;
      width:        90px;
      margin-right: 30px;
      font-size:    1.4em;
      padding:      0px
    }

    .divDash04{
      background: #fff;
      width:      100%;
      max-width:  987px;
      padding:    10px;
      color:      gray;
      float:      left;
      text-align: left;
      font-size:  0.8em
    }
      .divDash031{
        float:    left;
        padding:  1px;
        display:  none
      }
      .divDash04>button{
        font-size:  15px
      }
      .divDash04 .divNotaGLL{
        margin-right: 10px;
        width:        auto;
        float:        left;
        padding-top:  6px
      }



.tblLluviasDia{
  background-color: #FFF;
  border-collapse:  collapse;
  border-spacing:   0px;
  font-size:        0.8em;
  width:            790px
}
  .tblLluviasDia tr:nth-child(1){
    text-align: center;
    background: #f0f0f0
  }
  .tblLluviasDia tr:nth-child(14){
    color:        blue
  }

  .tblLluviasDia td:hover{
    background-color:  #FFFF99;
  }
  .tblLluviasDia tr td{                        /* width:      auto; */
                        width:      22px;                        /* max-width:  25px; */
                        height:     25px;
                        padding-left: 2px;
                        text-align: right;
                        border:     1px solid gray;
                        text-align: center;
                        font-size:   0.9em;
  }
  .tblLluviasDia tr>td:nth-child(1){    /* width:      auto; */
    width:      60px;
    text-align: left;
    font-style: italic;
    background: #eaeaea;
  }
  .tblLluviasDia tr>td:nth-child(33){
    width:          40px;
    padding-right:  3px;
    font-weight:    bold;
    text-align:     right;
    background:     #eaeaea;
  }









    .divTitLluvias{
      float:      left;
      width:      210px;
      margin:     0;
      background: #fff;
      display:    none
    }

    #divLluviaxDia{
    float:          left;
    /* width:          100%; */
    /* max-width:      987px; */
    /* padding-bottom: 10px; */
    /* background:     #fff */
  }

  /*.dLluviasOut{
      width:    100%:
      border:   1px solid gray;
  }*/

  #divLluviaBar{
    float:        left;
    background:   #fff;
    width:        460px;
    margin-left:  50px;
    margin-top:   30px;
    height:       270px;
    z-index:      99;
    border:       1px solid #eaeaea;
    display:      block;
  }
    .btnLAXD{
      float:          right;
      width:          140px;
      margin-top:     3px;
      margin-right:   3px;
      cursor:         pointer;
      padding:        0px 1px 0px 1px;
      background:     #fff;
      color:          #00ccff;
      border-radius:  3px;
      border:         none
    }
    .btnLAXD:hover{
      background: red;
      color:      #fff
    }
    #canLluviasDia{
      display:    block;
      background: #FFF;
      width:      100%;
      height:     270px;
    }

    .aContacto{
      font-size:        1.1em;
      font-style:       italic;
      text-decoration:  none;
      color:            #0066FF;
    }
    .aRegistrese{
      font-size:        0.9em;
      font-style:       italic;
      text-decoration:  none;
      color:            #0066FF;
    }

.aSHBeneficios{
  font-size:    0.7em;
  color:        gray;
}
.dCopywrite{
  width:          100%;
  float:          left;
  text-align:     left;
  padding-top:    20px;
  padding-bottom: 20px;
  color:          #707070;
}

.sTblPractica{
  width:    600px;
  margin:   20px auto;
  float:    left;
  display:  none;
}

canvas {
  max-width: 800px;
  margin-top: 20px;
}

.dGgraficos{
  max-width:  600px;
  max-height: 400px;
  margin:     50px auto;
}

.clrOrange{
  color:  #666600;
}

.dUsosTit{
  width:    570px;
}

.dUsos{
  border:     1px solid #99CCFF;
  background: #fff;
  width:      100%;
  float:      left;
  text-align: left;
  padding:    3px;
  margin-top: 10px;
  box-sizing: border-box;
  display:    block;
}

.dUsos2{
  /* border:     6px solid lime; */
  background: #fff;
  width:      100%;
  float:      left;
  text-align: left;
  padding:    5px 5px 5px 5px;
  margin-top: 0px;
  box-sizing: border-box;
  display:    none;
}
  .dUsos h1{
    font-size:    1.4em;
    font-weight:  normal;
    margin-left:  10px;
  }
  .dUsos .hh2{
    font-size:    1.1em;
    font-weight:  normal;
    font-style:   italic;
    color:        #006600;
    padding-bottom: 5px;
    margin-top:   5px
  }
  .dUsos .hh3{
    padding:  2px 5px 2px 5px;
    margin-left:  20px;
    margin-right: 20px;
  }
  h3{
    color:        #3f72a4;
    font-weight:  normal;
  }
  #ayuda{
    float:          left;
    margin-top:     30px;
    padding:        12px;
    background:     #eef9ff;
    border:         1px solid #33bcd9;
    text-align:     left;
    margin-bottom:  30px;
  }

#dComoUsar{
    float:          left;
    width:          100%;
    margin-top:     30px;
    padding:        12px;
    background:     #fff;
    /* border:         1px solid red; */
    text-align:     left;
    margin-bottom:  30px;
}
#dGuia{
    display:  none;
    float:          left;
    width:          100%;
    /* margin-top:     30px; */
    padding:        2px;
    background:     #fff;
    /* border:         1px solid silver; */
    text-align:     left;
    /* margin-bottom:  30px; */
}
.dGuiaTit{
  float:  left;
  width:  100%;
}
.dGuiaTitTx{
  float:    left;
  padding:  5px;
}

#rainTable{
  display:  none;
}

.dRainForm{
  padding:  20px;
  border:   1px solid gray;
  display:  none;
}
#rainForm{
  border:         1px solid black;
  padding:        20px;
}

.form-grid{
  display:                grid;
  grid-template-columns:  110px 1fr;
  gap:            5px 12px;
  align-items:    center;
  margin-bottom:  6px;
  /* border:         1px solid red; */
}
.form-grid input,
.form-grid select,
.form-grid textarea{
  max-width: 200px;
  width: 100%;
  box-sizing: border-box;
}

.form-grid textarea{
  resize: vertical;
  min-height: 40px;
}
.form-buttons{
  display: flex;
  justify-content: space-between;
  gap: 10px;
}



#dFiltros{
  width:  100%;
  float:  left;
  display:  none;
}
#btnGrafico{
  display:  none;
}

/*flechas up down*/
.usr{
  width:        50px;
  float:        right;
  margin-right: 3px;
  font-weight:  normal;
  font-size:    1em;
  padding:      0px 10px 6px 10px;
  cursor:       pointer;
}


  /*flecha para todas las categorías en pastoreos.com*/
.aDownBig{
  float:          right;
  border-left:    8px solid transparent;
  border-right:   8px solid transparent;
  border-top:     10px solid #3d87f6;
  border-bottom:  8px solid transparent;
}
  .aUpBig{
    float:          right;
    border-left:   8px solid transparent;
    border-right:  8px solid transparent;
    border-bottom: 11px solid red;
    display:       none
  }
  .aUpGray{
    float:          right;
    border-left:   8px solid transparent;
    border-right:  8px solid transparent;
    border-bottom: 8px solid #a0a0a0;
    margin-bottom: 9px;
    cursor:        pointer;
    display:       none

  }
  .aDownGray{
    float:          right;
    border-left:    7px solid transparent;
    border-right:   7px solid transparent;
    border-top:     7px solid #a0a0a0;
    border-bottom:  7px solid transparent;
    margin-top:     7px;
    margin-right:   2px;
    cursor:         pointer
  }


/*flechas*/
.arrow-upW{
  float:         right;
  width:         0;
  height:        0;
  border-left:   12px solid transparent;
  border-right:  12px solid transparent;
  border-bottom: 12px solid #3366CC; /* #fff;*/
  margin-top:    8px;
  margin-left:   4px;
  /* display:       block; */
}

.arrow-downW{
  float:        right;
  width:        0;
  height:       0;
  border-left:  12px solid transparent;
  border-right: 12px solid transparent;
  border-top:   12px solid #3366CC; /*#fff;*/
  margin-top:   8px;
  margin-left:  6px;
  margin-bottom: 4px;
}
.btnAge{
  text-align:       center;
  text-decoration:  none;
  color:            #fff;
  padding:          2px 5px 2px 5px
}
  .btnAge:hover{
    background: red;
    color:      #fff
  }


/******* HABLA ********/
.divHablaOut{
  float:    right;
  padding:  0px 10px 0px 10px;
  width:    40px;
  /* background: yellow; */
}
.divHabla{
  float:      right;
  padding:    3px;
  background: #fff;
  cursor:     pointer;
  display:    block;
}
.divHabla:hover{
  background: #00FF99;
}
.divHablaX{
  float:      right;
  padding:    3px;
  background: #fff;
  cursor:     pointer;
  display:    none;
}
.divHablaX:hover{
  background: #FF6666;
}
.inHablaOnOff{
  float: left;
  background: none;
  width:      20px;
  color:      #00CCFF;
  border:     1px solid #fff;
  font-size:  18px;
}