#map {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9; /* Asegura que el mapa esté detrás del header y footer */
}

#tablaVariedades{
    overflow-y: auto !important;
    max-height: 200px; 
}

.divParcelasCarta{
    height: 195px !important;    
}

.divMarrasCompleta{
    height: 125px;
}

#toolbarLocalidades{
    max-height: 25%; 
    overflow-y: auto;
}

.menu-item.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.menu-item.disabled .menu-link {
    cursor: not-allowed;
    color: grey; /* Cambia el color del texto para indicar que está desactivado */
}

.leaflet-container {
    cursor: auto;
}
.leaflet-container.crosshair-cursor {
    cursor: pointer;
}


@media (min-width: 1024px) {
    .logo-large-screen {
        margin-left: 90px; /* Ajusta este valor según sea necesario */
    }
}

.legend {
    position: absolute;
    bottom: 20px;
    right: 20px; /* Cambiado a right para posicionar a la derecha */
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-size: 12px;
    line-height: 18px;
    color: #c6c6c6;
    z-index: 10;
    opacity: 0; /* Inicialmente invisible */
    visibility: hidden; /* Inicialmente oculto */
    transition: opacity 0.5s ease-in-out;
}

.legend-visible {
    opacity: 1; /* Totalmente visible */
    visibility: visible; /* Visible */
}

.legend h4 {
    margin: 0 0 5px;
    padding: 0;
    font-weight: bold;
    color: #c6c6c6
}

.legend ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legend li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.legend span {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    opacity: 0.7;
    border: 1px solid #0000006d;
}

.form-check-label{
    color:#000000 !important;
}

.form-check-input {
    width: 30px;
    height: 20px;
    cursor: pointer;
}


.swal2-title-p {
    color: #E42855 !important; /* Cambia #FF5733 por el color que prefieras */
}

.swal2-title-p2 {
    color: #638eb6 !important; /* Cambia #FF5733 por el color que prefieras */
}

.swal2-title-p3 {
    color:  #019c5e !important; /* Cambia #FF5733 por el color que prefieras */
}

.app-sidebar {
    background-color: #ffffff !important;
}

.app-sidebar .menu .menu-item .menu-link .menu-title {
    color: #000000 !important;
}

.app-sidebar .menu .menu-item .menu-link .menu-icon i {
    color: #000000 !important;
}

.app-sidebar .menu .menu-item .menu-link.active {
    background-color: #76BC21 !important
}
.app-sidebar-toggle{
    background-color: #ffffff !important;
}
.menu-sub-dropdown {
    background-color: #ffffff !important;
}
.menu-active-bg .menu-item .menu-link.active {
    background-color: #76BC21 !important;
}
.app-sidebar .btn-custom {
    background-color: #76BC21 !important;
    color : black !important;
}
.app-sidebar .btn-custom:hover:not(.btn-active) {
    background-color: #76BC21 !important;
    color : black !important;
}
.app-sidebar .btn-custom i{
    color : black !important;
}
.text-info {
    color: #76BC21 !important;
}
.bg-light-success {
    background-color: #76BC21 !important;
}
.text-success {
    color: white !important;
}
.progress{
    display:none !important;
}
.text-muted{
    color:white !important;
}
.modal-content {
    background-color: #fff;
    color: #000;
}
#kt_datos_parcela {
    border-color:white !important;
}
.modal-content .card {
    background-color: #fff;
}

.modal-content .card-body {
    background-color: #fff;
}
.modal-content h5, .modal-content span, .modal-content label{
    color: #000 !important;
}
.modal-content .text-gray-500,
.modal-content .text-gray-800 {
    color: #333;
}
.nav-item .nav-link.active{
    border-bottom: 1px solid #76BC21 !important;
    color: #76BC21 !important;
}
.nav-item .nav-link:hover:not(.disabled){
    border-bottom: 1px solid #76BC21 !important;
}
.modal-content .card{
    color:#000 !important;
}
.modal-content .form-control{
    background-color: #fff !important;
}
.modal-content .form-select{
    background-color: #fff !important;
}
.modal-content .form-check-input{
    background-color: #fff !important;
    border-color: #000 !important;
    border: 1px solid #000 !important;
}
.modal-content .btn-dark{
    background-color: white !important;
    color : black !important;
}
.modal-content .btn-primary{
    background-color: #76BC21 !important;
    color : white !important;
}
#incidenteMetereologicoForm table td{
    background-color: white !important;
    color: black !important;
    box-shadow: none !important;
}
#incidenteMetereologicoForm button{
    background-color: #76BC21 !important;
    color : white !important;
}