 .btn-secondary {
    --bs-btn-hover-bg: #40622f;
}

/* The side navigation menu */
.sidenav {
    height: 100vh; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 140px; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.alt-sidenav {
    padding-top: 20px;
    position: fixed;
    width: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidenavsub {
    padding-left: 50px !important;
    color: #343a40 !important;
}

/* The navigation menu links */
.sidenav a, .alt-sidenav a {
    padding: 8px 10px 8px 15px;
    font-size: 0.9rem !important;
    font-weight: 600;
    text-decoration: none;
    color: black;
    transition: 0.1s;
    display: block;
    padding: 10px 15px;
    position: relative;
}

/* Styling for all links in the sidenav except the first and last one */
.sidenav a:not(:last-child, :first-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Styling for alternate sidenav links except the last one */
.alt-sidenav a:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.complete-width {
    width: 100%;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .alt-sidenav a:hover {
    color: #f1f1f1;
    background-color: #458c3d;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn, .alt-sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 16px;
    font-size: 1.4rem !important;
    margin-left: 50px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

/* Initial button style */
.menu-toggle-btn {
    width: auto;  /* Smaller width */
    height: auto;  /* Smaller height */
    font-size: 14px;  /* Smaller font size */
    padding: 6px;
    transition: all 0.7s ease; /* Smooth transition */
}

/* Style when the cursor hovers over the button */
.menu-toggle-btn:hover {
    width: auto;  /* Automatically adjusts the width */
    height: auto;  /* Automatically adjusts the height */
    padding: 10px 20px;
    font-size: 16px;
    background-color: #458c3d;  /* Changes background color */
    border-color: #30662a;  /* Changes border color */
}

.button-feedback{
    background-color: #458c3d !important;
    margin: 40px 20px 0px 20px;
    color: white !important;
    border-color: black !important;
}


.button-feedback:hover {
    background-color: #30662a !important;
    border-color: black !important;
    color: white !important;
  }

.sticky-top {
    top: 150px;
}

a {
    color: #458c3d
}

.nav-link {
    color: #458c3d
}

.nav {
    --bs-nav-link-hover-color: #67352e;
}

.info {
    padding: 10px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    font-size: 0.97rem;
}

.legend {
    line-height: 18px;
    color: #555;
}

.legend i {
    width: 83px;
    height: 18px;
    opacity: 0.7;
    text-align: center;
}

div.dataTables_wrapper {
    width: 100%;
    margin: 0 auto;
}

.mapboxgl-popup {
    z-index: 99;
}

.mapboxgl-popup-content {
    padding: 0px;
}

.modal {
    position: absolute !important;
}

.modal-backdrop {
    position: relative;
}

.modal-content {
    box-shadow: 0 0 20px 6px #ccc;
}

.font-size-null {
    font-size: 0px;
}

.diversity-green-background {
    background-color: #458c3d;
}

.row-full-width-centered, .row-full-width{
    display:flex;
    flex-direction:row;
    width:100vw
}

.row-full-width-centered{
    justify-content:center;
    margin-left: -12px
}

.main-home-image{
    width:100vw;
    height:40vh;
    object-fit:cover
}

.main-image-background{
    width:100vw;
    background-color:#000;
    height:40vh;
    position:absolute;
    top:0;
    left:0;
    opacity:.5
}

.main-image-text{
    position:absolute;
    display:flex;
    flex-direction:column;
    height:100%;
    justify-content:center;
    /*margin-left: -10%;*/
}

.main-image-title{
    white-space:nowrap;
    color:#fff;
    font-weight:700;
    font-size:3rem;
    text-shadow:0 0 4px #000
}

.main-image-legend{
    white-space:nowrap;
    color:#fff;
    font-size:2.5rem;
    text-shadow:0 0 4px #000;
    font-style:italic
}

@media (max-width:440px){
    .main-image-text{
        position:absolute;
        display:flex;
        flex-direction:column;
        height:100%;
        width:60%;
        justify-content:center}

    .main-image-title{
        white-space:pre-wrap;
        color:#fff;
        font-weight:700;
        font-size:3rem;
        text-shadow:0 0 4px #000}
    .main-image-legend{
        white-space:pre-wrap;
        color:#fff;
        font-size:2.2rem;
        text-shadow:0 0 4px #000;
        font-style:italic}
  }

  /* Estilos para pantallas menores de 1400px */
@media (max-width: 1400px) {
    .row-full-width {
      margin-top: 2%;
    }

    .introduction-content {
      display: flex;
      flex-direction: row;
      background-color: var(--white-color);
      min-height: 25vh;
      padding-left: 10vw;
      padding-right: 10vw;
      align-items: center;
      justify-content: center;
    }
  }

  /* Estilos para pantallas mayores o iguales a 1400px */
  @media (min-width: 1400px) {

    .introduction-content {
      display: flex;
      flex-direction: row;
      background-color: var(--white-color);
      min-height: 25vh;
      /*padding-right: 10vw;*/
      align-items: center;
      justify-content: center;
    }
  }

.introduction-legend-content{
    display:flex;
    flex-direction:column;
    flex-basis:58vw
}
.introduction-text{
    font-style:italic;
    font-size:var(--middle-font-size)
}

.dir-a-style{
    color: black;
    text-decoration-line: none;
}

.btn-primary{
    background-color: #A8D69E !important;
    color: black !important;
    border-color: green !important;
}

.btn-primary:hover{
    background-color: green !important;
    color: white !important;
}
