@charset "utf-8";

/* CSS Document */

*{
    /*font-family: Verdana, Geneva, sans-serif;*/
    font-size: 14px;
}

#googlemaps {
    position: absolute;
    top: var(--navbar-h);
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(100dvh - var(--navbar-h));
    z-index: 0;
    /* Set z-index to 0 as it will be on a layer below the map sheet */
}

form select {
    padding: 10px;
}

/* Bottom sheet: consolidates the old #app / #tricks / #login floating
   widgets into a single always-reachable panel, so nothing on the map
   page can end up hidden behind something else on small screens. */
#map-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--ads-h);
    z-index: 100;
    max-height: 70vh;
    background: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: bottom 0.2s ease, max-height 0.2s ease;
}

#map-sheet-handle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 16px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.map-sheet-grip {
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: #d5d5d5;
}

.map-sheet-logo {
    height: 28px;
    margin-top: 4px;
}

.map-sheet-label {
    margin-top: 4px;
    font-weight: 600;
    color: #707070;
}

#map-sheet-body {
    overflow-y: auto;
    padding: 0 20px 20px;
}

#map-sheet-body .logo {
    width: 50%;
}

#map-sheet-body h1 {
    text-align: center;
}

#map-sheet-body p {
    color: #333;
}

#map-sheet-body p img {
    margin: 5px;
}

#map-sheet.is-collapsed #map-sheet-body {
    display: none;
}

.close-animatedModal {
    position: sticky;
    top: 0;
    z-index: 1;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    font-size: 32px;
    text-align: center;
    background: white;
}

.modal-content {
    padding: 25px;
}

#modal-content>#window {
    border: thin solid #e1e1e1;
    border-radius: 10px;
    margin: auto;
    padding: 20px;
    width: 100%;
}

#window>h1 {
    color: #ed6a21;
}

#btreportar {
    cursor: pointer;
}

#animatedModal .modal-content {
    box-shadow: none;
    border: none;
}

#logoFooter,
#links,
#social {
    text-align: center;
}

#logoFooter {
    text-align: center;
}

#links ul,
#social ul {
    list-style: none;
    padding: 0;
}

footer {
    background-color: #e5e5e5;
    border: thin solid #c4c4c4;
    padding: 20px;
}

footer a {
    color: #666666;
}

footer a:hover {
    color: #999999;
    text-decoration: none;
}

.comment-user {
    color: #636363;
    font-size: 10px;
}

.comment-gap {
    font-size: 16px;
}

.comment-id {
    border-bottom: thin solid #ff6600;
    margin-bottom: 10px;
    position: relative;
}

#comments_list {
    margin: 10px;
    padding: 10px;
}

.comment-delete {
    position: absolute;
    right: 0;
    top: 0;
}

.comment-p {
    text-align: center;
}

.comment-p a#see-comment {
    font-size: 16px;
    color: #F30;
}

@media only all and (min-width: 600px) {
    #modal-content>#window {
        width: 60%;
    }
    #links,
    #social {
        text-align: left;
    }
}

/* Desktop: dock the map sheet as a fixed-width panel instead of a
   full-width bottom sheet. */
@media only all and (min-width: 768px) {
    #map-sheet {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: 380px;
        max-height: calc(100dvh - var(--navbar-h) - 48px);
        border-radius: 16px;
    }
}

#ads #close-btn {
    position: absolute;
    top: -26px;
    background-color: #f39313;
    padding: 6px;
    right: -1px;
    color: #FFF;
    font-size: 10px;
    cursor: default;
}

/* Fixed to a known height so #map-sheet (via --ads-h) can always sit
   directly above it instead of overlapping it. */
#ads {
    bottom: 0px;
    position: fixed;
    z-index: 9;
    right: 0;
    max-height: var(--ads-h);
    overflow: hidden;
}

body.ads-closed {
    --ads-h: 0px;
}

#mini-ads {
    display: block;
    min-height: 200px;
    width: 100%;
    clear: both;
    text-align: center;
}