@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

.full_box{
    display: flex;
}

.box_content{
    width: 83%;
    margin-left: 17%;
    margin-top: 10px;
}

.main-horizontal {
    height: 65px;
    width: 100%;
    display: flex;
    background-color: #ffffff;
    /*background-color: #cdff19;*/
    border: none;
    position: fixed;
    z-index: 9999;
    justify-content: space-between;
    margin-top: 0;
}

ul, ol {
    list-style:none;
}

.nav > li {
    list-style-type: none;
}

.nav li a {
    height: 62px;
    display:block;
    text-decoration: none;
    font-weight: 300;
    color: black;
    font-size: 18px;
    padding: 20px 15px;
    white-space: nowrap;
    list-style-type: none;
}

.nav li a:hover {
    color: #ffff;
    background-color: #005b9b;
}

.nav li ul {
    display: none;
    position: absolute;
    min-width:140px;
    background-color: #ffff;
    padding: 10px 10px;
    margin-left: -90px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);

}

.nav li:hover > ul {
    display:block;
}

.nav li ul li {
    position:relative;
}

.logo{
    margin-left: 100px;
    height: 30px;
    width: 90px;
}

img{
    width: 110px; 
    height: 40px;
}

.logo_link{
    display: flex;
    align-items: center;
    margin-right: auto;
}

/****/
.main--content {
    position: relative;
    background: #ffffff;
    width: 15%;
}

.main--title {
    padding-bottom: 10px;
    font-size: 20px;
}

.header--wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: transparent;
    padding: 2px 1rem;
}

.header--title {
    color: #0f8bc5;
}

.searh--box{
    display: flex;
    align-items: center;
    position: relative;
}

.searh--box input {
    background-color: #ffffff;
    border: 2px solid #57575788;
    box-shadow: 0 4px 10px rgba(102, 102, 102, 0.247);
    border-radius: 35px;
    width: 400px;
    height: 40px;
    padding: 15px 15px;
    margin: 10px;
    color: #03347ef3;
    font-weight: 400;
}

.search {
    position: absolute; 
    right: 15px;
    border: none;
    background-color: #005b9b;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.searh--box input:focus{
    outline: none;
}

.searh--box input:hover{
    border: 2px solid #005B9B; 
}
/* Menú lateral */
.sidebar {
    width: 17%;
    height: 92vh;
    margin: 20px;
    margin-top: 74px;
    background-color: #d8e4eea8;
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    padding: 15px; 
    opacity: 1;
    transition: all 0.3s linear;
    color: #005B9B;
    left: -5px;
    scrollbar-width: thin;
    scrollbar-color: #005B9B transparent;
}
@media (max-width: 768px) {
    .sidebar {
        left: 0;
        width: 250px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 12px;
    background-color: transparent;
}

.sidebar::-webkit-scrollbar-track {
    background-color: #def0fc;
    border-radius: 10px;
    border: 1px solid #007bff;
}

.sidebar::-webkit-scrollbar-thumb { 
    background-color: #007bff;
    border-radius: 10px;
    border: 3px solid transparent; 
    background-clip: padding-box;
    transition: background-color 0.2s ease;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #005B9B;
}

.sidebar::-webkit-scrollbar-button {
    height: 15px;
    background-color: #def0fc; 
    display: block;
    border: none;
}

.sidebar::-webkit-scrollbar-button:vertical:start {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #007bff;
}

.sidebar::-webkit-scrollbar-button:vertical:end {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #007bff;
}

.dataset-box {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 15px;
    color: #005B9B;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(138, 138, 138, 0.295);
}

.dataset-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: #f4f4f4;
}

.dataset-box h3 {
    font-size: 15px;
    margin: 0 0 10px;
    color: #05375f;
    text-align: justify;
}

.meta-titulo {
    font-size: 0.9rem;
    color: black;
    margin: 5px 0;
    font-weight: 600;
}

.meta-texto {
    font-size: 0.9rem;
    color: black;
    margin: 5px 0;
}

.details {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.boton{
    display: flex;
    justify-content: center;
    align-items: center;
}

.more{
    width: 50%;
    height: 35px;
    background-color: #007bff;
    border-radius: 6px;
    border: none;
    color: #ffffff;
    font-weight: bold;
}

.block--content{
    margin: 15px 15px 15px 30px;
    width: auto;
    height: auto;
    box-shadow: 0 4px 6px rgba(102, 102, 102, 0.075);
    /*box-shadow: 0 4px 6px rgb(250, 2, 2);*/
    border-radius: 10px;
    background-color: #fff;
    display: flex;
}

.clima-box-desc{
    display: block
}

.block--content2{
    margin: 15px 15px 15px 30px;
    width: auto;
    height: auto;
    box-shadow: 0 4px 6px rgba(102, 102, 102, 0.075);
    /*box-shadow: 0 4px 6px rgb(250, 2, 2);*/
    border-radius: 10px;
    padding: 1rem;
}

@media (max-width: 900px) {
    .block--content {
      flex-direction: column;
    }
    .main1, .main2 {
      width: 100%;
    }
}
.main1{
    padding: 10px;
    margin-right: 10px;
    margin-top: 40px;
}

.main2{
    padding: 10px;
    margin-top: 40px;
}

.title{
    color: #005b9b;
}

.ttitle{
    /*background-color: #55beee8e;*/
    background-color: transparent;
    border-radius: 5px;
    height: auto;
    /*padding: 7px 7px;*/
    width: 30% auto;
    display: flex;
    flex-wrap: nowrap;
    /*margin-bottom: 12px;*/
    /*padding-left: 15px;*/
    align-items: center;
}

.ttitle h2{
    color: #05375f;
}

.ttitle h6{
    color: #3c6c94;
}

.category{
    display: flex;
    padding: 0;
    margin: 0;
    top: 0;
    color: #0f8bc5;
    font-weight: bold;
}

.content-area {
    margin-left: 17%;
    padding-left: 20px;
    padding-top: 80px;
}

@media (max-width: 768px) {
    .content-area {
        margin-left: 250px;
    }
}

.content{
    color: #383737;
    text-align: justify !important;
    hyphens: auto !important;
    font-size: 15px;
}

.button--download{
    width: 120px;
    height: 35px;
    border-radius: 6px;
    border: none;
    background-color: #007bff;
    cursor: pointer;
    padding-top: 4px;
    display: flex;
    justify-content: center;
}
.button--download:hover{
    border: 2px solid #007bff;
    background-color: transparent;
}

.download{
    text-decoration: none;
    color: #ffffff;
}

.button--download:hover .download{
    color: #007bff;
}

.ttable{
    color: #000000;
}

.ttable h2{
    font-size: 16px;
}
/* Tabla Contenido*/
.table-container {
    width: auto;
    height: auto;
    margin: 15px 15px 15px 5px;
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    border: solid;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(102, 102, 102, 0.075);
}

.table-container::-webkit-scrollbar-thumb{
    background-color: #005b9b;
    border-radius: 10px;
    visibility: visible;
}
.table-container:hover::-webkit-scrollbar-thumb{ 
    visibility: visible;
}
table {
    border-collapse: collapse;
    width: 100%;
}
table, tr, th, td {
    border: 1px solid rgba(167, 167, 167, 0.548) !important;
    padding: 8px;
}
th {
    background-color: #ffff;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
}
tbody {
    background: #f2f2f2;
}
td {
    padding: 10px;
    font-size: 10px;
    color: rgb(0, 0, 0);
    text-align: center;
    border: 2px solid black;
}

/*Menú API*/
.code-block {
    background-color: #282c34;
    border-radius: 8px;
    padding: 16px;
    font-family: monospace;
    color: #abb2bf;
    position: relative;
}
.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.copy-button {
    padding:10px;
    background:#5784f5;
    color:#fff;
    font-size:15px;
    border:none;
    outline:none;
    border-radius:10px;
    cursor:pointer;
}

.copy-active{
    display: none;
    padding:10px;
    background:#5784f5;
    color:#fff;
    font-size:15px;
    border:none;
    outline:none;
    border-radius:10px;
    cursor:pointer;
}

.code-content {
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
}
.code-box {
    border-radius: 10px;
    overflow: hidden;
    font-family: monospace;
    color: #abb2bf;
    width: 700px;
    height: 150px;
    padding: 0;
}

pre {
    margin: 0;
    padding: 0;
}

.tabla-caja {
    width: 100%;
    border: 1px solid #ccc;
    margin: 10px 10px 0px 5px;
}

.tabla-datos {
    width: auto;
    display: block;
    max-width: -moz-fit-content;
    max-width: fit-content;
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
}

.tabla-datos th, td {
    padding: 8px;
    border: 1px solid #ddd; 
    text-align: left;
    width: 1%;
    background-color: #ffffffb6;
}

tr:nth-child(even) {
    background: #3ca5fa44;
}

.tabla-datos th {
    background-color: #2175ba;
    font-weight: bold;
    color: white;
}

.tabla-datos2 {
    width: 100%;
    table-layout: fixed;
    margin: 0 auto;
    overflow-x: auto;
    display: block;
}

.tabla-datos2 th, td {
    padding: 8px;
    border: 1px solid #ddd; 
    background-color: #ffffffb6;
    width: 1%;
    text-align: left; 
}

.tabla-datos2 th {
    background-color: #2175ba;
    font-weight: bold;
    color: white;
}

.python{
    background: #2d2d2d;
    border-radius: 0px 0px 10px 10px;
    padding: 0px 0px 23px 20px;
}

.api-box {
    border-radius: 5px;
    overflow: hidden;
    font-family: monospace;
    color: #abb2bf;
    width: 700px;
    height: auto;
    padding: 0;
}

.api-header {
    background-color: #383e4a;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.cita-box {
    border-radius: 10px;
    overflow: hidden;
    color: #abb2bf;
    width: 100%;
    height: auto;
    padding: 0;
}

.cita-body{
    background-color: #f1f1f1c7;
    padding: 15px 15px 5px 20px;
    color: #282c34;
    border-radius: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-cita {
    padding:10px;
    background:#5784f5;
    color:#fff;
    font-size:15px;
    border:none;
    outline:none;
    border-radius:10px;
    cursor:pointer;
    margin-top: -10px;
}

.copy-cita-a{
    display: none;
    padding:10px;
    background:#5784f5;
    color:#fff;
    font-size:15px;
    border:none;
    outline:none;
    border-radius:10px;
    cursor:pointer;
    margin-top: -10px;
}

.button-container {
    position: relative;
    display: inline-block;
}

.comment{
    margin-top: 50px;
    margin-left: 15px;
    width: auto;
    height: auto;
    background-color: white;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 20px;
    padding: 17px 20px 0px 20px;
    position: absolute;
    transition: visibility 0s, opacity 0.2s ease-in-out;
    z-index: 1000;
}

.comment p{
    color: #333;
}

.commenth {
    visibility: hidden;
    opacity: 0;
}

.commentv {
    visibility: visible;
    opacity: 1;
}

.apis{
    background-color: #535966;
    color: white;
    padding: 5px;
    border-radius: 10px;
}

.boton-side {
    width: 30px;
    height: 30px;
    background-color: #005B9B;
    border-radius: 0px 10px 10px 0px;
    visibility: hidden;
    padding-left: 5px;
    padding: 3px;
    position: fixed;
    cursor: pointer;
    transition: left 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    top: 21%;
    transform: translateY(-50%);
    left: 0;
    z-index: 1000;
}

.boton-side .icono{
    color: white;
    width: 40px;
    transform-origin: center;
    transform: rotate(0deg);
}

@media (max-width: 954px) {
    .boton-side {
        visibility: visible;
    }
}

@media screen and (max-width: 1520px) {
    .block--content {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1356px) {
    .searh--box input {
        width: 200px;
    }
}

@media screen and (max-width: 1080px) {
    .searh--box input {
        width: 320px;
        margin-left: -100px;
    }
    .sidebar{
        margin-left: -250px;
        width: 250px;
        left: 0;
        z-index: 1000;
        margin-top: 70px;
        font-size: 5px;
    }
    .box_content{ 
        width: 100%;
        margin: 0;
    }
    .api-box {
        width: 80vh;
        margin-left: 60px;
    }
    .boton-side{
        visibility: visible;
        opacity: 1;
        z-index: 1000;
        margin-top: -110px;
    }
}

.header-container {
    display: flex;
    justify-content: space-around;
    background: #ffff;
    align-items: center;
    width: 100%;
}
/*
.cintillo img {
    width: 30%;
    height: 85px;
    display: block;
    border: none;
    position: relative;
    z-index: 9999;
    padding: 5px;
    margin-top: -15px;
/*/

.cintillo {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.cintillo img {
    width: 30%;
    max-width: 250px;
    height: 85px;
    display: block;
    border: none;
    position: relative;
    z-index: 9999;
    padding: 5px;
    margin-top: -15px;
}

@media (min-width: 768px) {
  .cintillo {
    justify-content: space-between;
  }

  .cintillo img {
    max-width: 40%;
  }

  .cintillo nav {
    display: block; 
  }
}

@media (max-width: 768px) {
    .cintillo img {
        width: 85%;
        height: 70px;
        top: 10px;
    }
}

@media (max-width: 959px) {
    .cintillo img {
        width: 65%;
        height: 70px;
        top: 10px;
    }
}
@media (max-width: 1012px) {
    .cintillo img {
        width: 100%;
        height: 70px;
        top: 10px;
    }
}
@media (max-width: 1026px) {
    .cintillo img {
        width: 60%;
        height: 70px;
        top: 10px;
    }
}

@media (max-width: 1039px) {
    .cintillo img {
        width: 70%;
        height: 70px;
        top: 10px;
    }
}
@media (max-width: 1160px) {
    .cintillo img {
        width: 40%;
        height: 70px;
        top: 10px;
    }
}
@media (max-width: 1189px) {
    .cintillo img {
        width: 38%;
        height: 70px;
        top: 10px;
    }
}

.logo img {
    width: 80px;
    top: 0;
    height: auto;
    display: block;
    border: none;
    position: relative;
    padding: 5px;
    z-index: 9999;
}

.logo {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;   
        gap: 15px;       
    }
}

.logo1{
    width: 140px;
    height: 45px;
}

.logo2{
    margin-right: 20px;
    width: 120px;
    height: 45px;
}
.environment h1{
    /*width: 100%;*/
    height: auto;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 5px 5px 15px #7575753f;
    box-shadow: -2px 1px 24px 1px #7575753f;
    -webkit-box-shadow: -2px 1px 24px 1px #7575753f;
    -moz-box-shadow: -2px 1px 24px 1px #7575753f;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    text-align: center;
    justify-content: center;
    margin-bottom: 12px;
    letter-spacing: 5px;
    color: #007bff;
    padding: 10px 0;
}
@media screen and (max-width: 1500px) {
    .environment h1 {
        font-size: 1px;
    }
}
@media screen and (max-width: 1603px) {
    .environment h1 {
        font-size: 30px;
    }
}
@media screen and (max-width: 1727px) {
    .environment h1 {
        font-size: 18px;
    }
}
@media screen and (max-width: 1080px) {
    .environment h1 {
        font-size: 14px;
    }
}

#map {
    height: 500px;
    width: 100%;
    margin-top: 20px;
    z-index: 0;
}
.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}
.info h4 {
    margin: 0 0 5px;
    color: #777;
}
.legend {
    flex-direction: column;
}

.legend .legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    line-height: normal; 
    color: #555;
}
.legend i {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    opacity: 0.7;
    flex-shrink: 0; 
}
.legend span {
    line-height: 1.2;
    flex-grow: 1;
}

.custom-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 5px 5px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    width: auto;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    height: 40px;
}

.custom-dropdown:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.custom-dropdown:hover {
    border-color: #999;
}