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{
  width:      100%;
  height:     100%
}

/*body {
    width:            100%;
    height:           100%;
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5; /* Fondo blanco-grisáceo suave * /
    color: #333; /* Texto oscuro * /
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    /* padding: 20px; * /
    box-sizing: border-box;
}*/
div{
  box-sizing:       border-box;
}

/* CSS copilot   */
body {
  width:        100%;
  height:       100%;
  margin:       0;
  font-family:  sans-serif;
  background:   #fff;
  color:        #333;                 /* Texto oscuro */
  /* border:       1px solid gray; */
  padding:      5px;
  box-sizing:   border-box;
}
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;
}*/

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:          10px;
    border-radius:    15px;
    box-shadow:       0 8px 25px rgba(0, 0, 0, 0.1); /* Sombra suave */
    text-align:       center;
    max-width:        820px; /*ahora 990 por la grilla de lluvias, antes: 850px; /* Un poco más ancho para la gráfica */
    margin:           20px auto;
    border:           3px solid #e0e0e0; /* Borde sutil */
    box-sizing:       border-box;
}
  .container::after{
    content:  "";
    display:  block;
    clear:    both;
  }



.llogo{
  width:  100%;
}

.logito{
  width:  150px;
  float:  right;
}

.sTit3{
  font-style: italic;
  color:      #9933CC;
}

h1{
    /* margin-bottom:  15px; */
    /* margin-left:    10px; */
    color:          #fff; /*#2070d0; azul claro*/            /*#3f51b5; Azul profundo */
    font-size:      2.2em;
    text-align:     left;
    background:     none;
                                /* padding:        10px; */
                                /* width:          100%; */
                                /* box-sizing:     border-box; */
}
.dH1{
    margin-top:  20px;
    margin-bottom:  15px;
    /* margin-left:    10px; */
                          /*color:          #fff; /*#2070d0; azul claro*/            /*#3f51b5; Azul profundo */
    /* font-size:      2.2em; */
    /* text-align:     left; */
    background:     #72b5f7; /*#0066CC;*/
    padding:        10px;
    width:          100%;
    float:          left;
    box-sizing:     border-box;
}

#dH5{
    width:          600px;
    margin:         10px auto;
    /* margin-top:     0px; */
    /* margin-bottom:  30px; */
    color:          gray; /* Azul profundo */
    font-size:      1em;
    font-weight:     normal;
}

.dMap{
  height:  400px;
  margin:  20px auto;
  border:  1px solid #eaeaea;
}

/*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:            100%;                                       /* 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; */
    float:        left;
    /* align-items:  center; */
    /* gap:          10px; */
    border:       1px solid green;
}

.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);
}

.tblLugar{
  /* width:            400px; */
  table-layout:     fixed;
  margin:           5px auto;
  border-collapse:  collapse;
  border:           0px;
}
  .tblLugar td{
    /* border:   1px solid #ccc; */
    padding:  4px 3px;
    /* height:   50px; */
  }
  .tblLugar a{
    text-decoration:  none;
    color:            #0066FF;
  }
  .tblLugar input[type="number"]{
      width:            100px;
      padding:          10px 5px;
      border:           1px solid #ccc;
      border-radius:    8px;
      font-size:        1em;
      color:            #333;
      background-color: #f9f9f9;
      box-sizing:       border-box;
  }
.tblLugar tr>td:nth-child(1){width:  160px;}
.tblLugar tr>td:nth-child(2){width:  100px;}
.tblLugar tr>td:nth-child(3){width:  100px;}
.tblLugar tr>td:nth-child(4){width:  100px;}
}

/* #getWeatherBtn{ */
  /* font-size:  1em; */
  /* background: green; */
/* } */

.dTitReg{
  float:  left;
  width:  300px;
  margin-top: 20px;
}
  .dTitReg label{
    margin-left:  10px;
  }


.dOMas{
  float:      left;
  /* border:     1px solid gray; */
  /* box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
  text-align: left;
  padding:    10px;
  background: #f9f9f1;
}


.dOtras{
  width:      100%;
  text-align: center;
  border:     2px dashed red;
}
  .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
  }
.dFiltros{
  float:      left;
  background: lightyellow;
  width:      300px;
}
.dIRadio{
  float:  left;
  width:  60px;
}


.dCity{
  float:        left;
  padding:      10px;
  /* margin-left:  20px; */
  margin-right: 10px;
  width:        calc(100% - 120px);
}
.dImg{
  float:  left;
  width:  100px;
}

.pMsj{
  color:  gray;
}


/***********************/
.container{
    background-color: #ffffff; /* Blanco puro */
    padding:          10px;
    border-radius:    15px;
    box-shadow:       0 8px 25px rgba(0, 0, 0, 0.1); /* Sombra suave */
    text-align:       center;
    max-width:        820px; /*ahora 990 por la grilla de lluvias, antes: 850px; /* Un poco más ancho para la gráfica */
    margin:           20px auto;
    border:           3px solid #e0e0e0; /* Borde sutil */
    box-sizing:       border-box;
}
  .container::after{
    content:  "";
    display:  block;
    clear:    both;
  }

#dLugares{
  display:  none;
  border:   1px solid silver;
}

.dPie{
  float:  left;
  width:  100%;
  padding:  10px;
  margin-top: 40px;
    /* border:1px solid #eaeaea; */
}
  .dLogoSponsor{
    float:      left;
    max-width:  200px;
    padding:    10px;
    /* border:     1px solid silver; */
    margin-top: 40px;
    font-size:  0.9em;
  }
  .dLogoSponsorGrou{
    float:      left;
    max-width:  200px;
    padding:    10px;
    /* border:     1px solid silver; */
    margin-top: 40px;
    margin-left:20px;
    font-size:  0.9em;
  }
  .dLogoSponsor1{
    float:      left;
    max-width:  200px;
    padding:    10px;
    /* border:     1px solid silver; */
    margin-top: 40px;
    font-size:  0.9em;
  }
  .dLogoSponsorNA{
    float:      left;
    max-width:  340px;
    padding:    10px;
    /* border:     1px solid silver; */
    margin-top: 40px;
    text-align: left;
    font-size:  0.9em;
  }
  .dLogoSponsorSA{
    float:      left;
    max-width:  380px;
    padding:    10px;
    /* border:     1px solid silver; */
    margin-top: 40px;
    text-align: left;
    font-size:  0.9em;
  }
  .dLogoSponsorA{
    float:      left;
    max-width:  350px;
    padding:    10px;
    /* border:     1px solid silver; */
    margin-top: 40px;
    font-size:  0.9em;
  }
    .dLogoSponsor img{
      max-width:  160px;
      max-height: 180px;
      /* margin: 10px; */
    }
.pLogoSponsor{
  text-align: left;
  /* border:     1px solid red; */
}


.weather-display{
    width:            90%;
    margin:           10px auto;
    /* float:            left; */
    padding:          10px;
    background-color: bisque; /*#f0f4f8; /* Fondo suave para el display de resultados */
    border-radius:    12px;
    /* height:           300px; */
                                                            /* 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::after{
    content:  "";
    display:  block;
    clear:    both;
  }
  /*.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;
}

.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:         60px 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;
    /* border:     1px solid gray; */
  }

    #divDash0 input{      /* width:      50px; */
      font-size:  1.1em;
      text-align: center
    }
    #divDash0 .divDash03{
      float:        left;
      width:        185px;
      border:       1px solid #eaeaea;
      padding-top:  5px;
      margin-right: 50px
    }
       #divDash0 .divDash03 span{font-size: 0.7em}


  .divDash01{
    float:        left;
    width:        140px;
    text-align:   left;
    padding-left: 10px;
    padding-top:  5px;
  }
      .divDash01 button{
        color:   red;
      }


  #divLluviaxDia{
    float:          left;
    /* width:          100%; */
    /* max-width:      987px; */
    /* padding-bottom: 10px; */
    /* background:     #fff */
  }

    .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;
      box-sizing: border-box;
    }
      .divDash031{
        float:        right;
        padding:      1px;
        font-style:   italic;
        padding-top:  20px;
        padding-right:  20px;
        /* display:  none */
      }
      .divDash04>button{
        font-size:  15px
      }
      .divDash04 .divNotaGLL{
        margin-right: 10px;
        width:        auto;
        float:        left;
        padding-top:  6px
      }


  #dNota{
    box-sizing: border-box;
    padding:    10px;
    width:      100%;
    background: #fff;
    font-size:  0.9em;
    text-align: left;
  }
    #dNota a{
      text-decoration:  none;
      color:            #0066FF;
    }
  #dVGratuita{
    width:      100%;
    display:    none
  }



.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:      22px;
                        height:     25px;
                        padding-left: 2px;
                        text-align: right;
                        border:     1px solid gray;
                        font-size:   0.9em;
  }
  .tblLluviasDia tr>td:nth-child(1){
    width:      30px;
    text-align: left;
    font-style: italic;
    background: #eaeaea;
  }
  .tblLluviasDia tr>td:nth-child(33){
    width:          40px;
    padding-right:  3px;
    text-align:     right;
    background:     #eaeaea;
  }

    .divTitLluvias{
      float:      left;
      width:      210px;
      margin:     0;
      background: #fff;
      display:    none
    }

    #divLluviaxDia{
    float:          left;
  }

  .dGrafBarras{
    width:      100%;
    float:      left;
    margin-top: 30px;
  }
    #divLluviaBar{
      margin:       20px auto;
      background:   #fff;
      width:        460px;
      height:       270px;
      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:10px;
  padding-bottom:20px;
}

.dUsos{
  border:     1px solid #99CCFF;
  background: #fff;
  width:      100%;
  float:      left;
  text-align: left;
  padding:    3px;
  margin-top: 0px;
  box-sizing: border-box;
}

.dUsos2{
  /* border:     1px 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;
  }

  .dRegDiario{
    float:      left;
    max-width:  987px;
    margin-top: 50px;
    /* border: 1px dotted red; */
    background: #fff;
  }
    /* .dRegDiario>div{ */
      /* border: 1px solid black; */
      /* margin: 4px; */
    /* } */

  .ayuda{
    float:          left;
    padding:        12px 12px 12px 25px;
    /* background:     #eef9ff; */
    /* border:         1px solid #33bcd9; */
    text-align:     left;
    margin-top:     -20px;
    margin-bottom:  30px;
  }
    .ayuda h3{
      margin-top:   20px;
      margin-left: -20px;
    }

#dComoUsar{
    float:          left;
    width:          100%;
    margin-top:     10px;
    padding:        12px;
    background:     #fff;
    /* border:         1px solid red; */
    text-align:     left;
    margin-bottom:  30px;
}
#dGuia{
    display:  none;
    float:          left;
    width:          100%;

    padding:        10px;
    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{
  float:        left;         /* margin-left:  2px; */
  color:        red;
  font-weight:  normal;
  font-size:    1em;
  padding:      0px 10px 6px 20px;
  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;
}

/*flechas chicas up/down*/
.dArrows{
  float:        left;         /* margin-left:  2px; */
  color:        red;
  font-weight:  normal;
  font-size:    1em;
  padding:      0px 10px 6px 10px;
  cursor:       pointer;
}
.aUp{
  float:         right;
  width:         0;
  height:        0;
  border-left:   6px solid transparent;
  border-right:  6px solid transparent;
  border-bottom: 6px solid #3366CC; /* #fff;*/
  margin-top:    6px;
  margin-left:   4px;
  /* display:       block; */
}
.aDwn{
  float:        right;
  width:        0;
  height:       0;
  border-left:  6px solid transparent;
  border-right: 6px solid transparent;
  border-top:   6px solid #3366CC; /*#fff;*/
  margin-top:   6px;
  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
  }

#ifSeminario{
  width:  100%;
  height: 600px;
}

.dSeminarioTit{
  float:      left;
  width:      100%;
  margin-top: 50px;
}
.seminarioTit{
  margin-top: 0px;
  /* font-size:  1.7em; */
  color:      #0066FF;
  border:     1px solid #e0e0e0;
  padding-top:20px;
  background: #f9f9f1;
}
  .seminarioTit span{
    font-size:  0.7em;
    color:      gray;
  }
