.active {
    color: #ff3300 !important;
    font-weight: bolder;
}
html,
body {
    height: 100%;
}

.ui-autocomplete {
    background-color: white;
}

#logoinicio {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 70%;
    height: auto;
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#logonav {
    width: auto;
    height: 80px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.thumb {
    height: 100px;
    width: 100px;
    border: 1px solid #000;
    margin: 10px 5px 0 0;
    object-fit: cover;
}
html,
body {
    height: 100%;
}

.ui-autocomplete {
    background-color: white;
}

#logoinicio {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 70%;
    height: auto;
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#logonav {
    width: auto;
    height: 80px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.thumb {
    height: 100px;
    width: 100px;
    border: 1px solid #000;
    margin: 10px 5px 0 0;
    object-fit: cover;
    object-position: center;
}

.thumb2 {
    height: 50px;
    width: 50px;
    border: 1px solid #000;
    margin: 10px 5px 0 0;
    object-fit: cover;
    object-position: center;
}

.fotogrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

#capturageografico label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#pinmap {
    text-align: right;
}

#myDropzone {
    border: 2px dashed #0087F7;
    border-radius: 10px;
    background-color: #F0F0F0;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    display: block;
    width: 100%;
}

#mapid {
    height: calc(100vh - 220px);
}

#mapid2 {
    height: calc(100vh - 220px);
}

.circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background-color: red;
}

.green {
    background-color: green;
}


.my-tooltip {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: none;
    border-radius: 100% !important;
    text-align: center;
    height: 24px;
    width: 24px;
    font-size: 12px;
    font-weight: bold;
    gap: 2px;
}

.my-tooltip h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    height: 14px;
    margin: auto;
}

ul {
    list-style-type: none;
    padding: 0;
}

button i {
    margin-right: 5px;
}

#color-meaning-list .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mapa2 .my-tooltip {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 24px !important;
    text-align: center;
    height: auto;
    width: auto;
    font-weight: bold;
}

#color-meaning-list span {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.mapa2 .my-tooltip h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #000;
    border-radius: 100% !important;
    text-align: center;
    height: 24px;
    width: 24px;
    font-size: 12px;
    font-weight: bold;
    margin: auto;
    margin-right: 3px;
}

.mapa2 .my-tooltip span {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    border-radius: 8px !important;
    text-align: center;
    height: auto;
    width: auto;
    font-size: 14px;
    font-weight: bold;
    margin-left: 3px;
    color: #535353;
}

.my-label {
    width: auto;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #000;
    color: #FFFFFF;
    font-weight: bold;
}

.my-label::before {
    border-right-color: #000;
}

#info {
    z-index: 1000;
    /* Any high number will work */
    position: fixed;
    /* Position the div relative to the viewport */
    top: 50%;
    /* Position the div 50% from the top of the viewport */
    left: 50%;
    /* Position the div 50% from the left of the viewport */
    transform: translate(-50%, -50%);
    /* Offset the div by half of its width and height */
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.camposmanzana {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.camposmanzana label {
    font-weight: bold;
}

.camposmanzana>* {
    flex: 1 0 20%;
}

.popmanzana {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-full {
    min-width: 100%;
    margin: 0;
    min-height: 100vh;
}

.modal-full .modal-content {
    min-width: 100%;
    min-height: 100vh;
}

.table-adjustments input {
    width: 80px;
}

@media (min-width: 768px) {

    .container,
    .container-md,
    .container-sm {
        max-width: 98vw;
    }

    #capturageografico table {
        max-width: 100vw;
    }
}

@media (min-width: 576px) {

    .container,
    .container-sm {
        max-width: 98vw;
    }
}

table input,
table select {
    max-width: 100px;
}

table label {
    font-weight: bold;
    margin-right: 5px;
}

#dropterminados, #dropadjudicados{
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

#dropterminados li, #dropadjudicados li {
    display: flex;
    flex: 1 1 calc(25% - 10px); /* Adjust the percentage as needed */
    box-sizing: border-box;
}
#dropterminados li button, #dropadjudicados li button {
    flex: 1;
}

@media (max-width: 992px) {
    #mapid {
        flex: 1;
        width: 100%;
    }

    table thead {
        display: none;
    }

    table tr {
        margin-bottom: 30px;
        display: block;
        border-bottom: 2px solid #ddd;
    }

    table td {
        display: block;
        text-align: right;
        font-size: 13px;
        border-bottom: 1px dotted #ccc;
    }

    table td:last-child {
        border-bottom: 0;
    }

    table td:before {
        content: attr(data-label);
        float: left;
        text-transform: uppercase;
        font-weight: bold;
    }

    table {
        width: 100%;
    }

    table input {
        max-width: 50%;
        width: 50%;
    }

    #dropterminados li, #dropadjudicados li {
        flex: 1 1 calc(100%); /* Adjust the percentage as needed */
    }

}