.mapBody {
    width: 100% !important;
    height: 100% !important;
	border: none;
	overflow-x: hidden;
	/* desativa a atualização de página ao puxar para baixo */
	overscroll-behavior-y: contain;
    display: flex;
}

.mapBodyContainer {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
    transition: border 0.25s ease, padding 0.15s ease;
}
    .mapBodyContainer.drag-over {
        width: calc(100% - 20px - 4px);
	    height: calc(100% - 20px - 4px);
        margin: 5px;
        padding: 5px;
        border: 2px dashed var(--colorOrangePattern);
        transition: border 0.5s ease, padding 0.15s ease;
    }

.bgOSM { background-color: rgb(242,239,233); }
.bgCyclOSM { background-color: rgb(238,229,220); }
.bgOpenTopoMap { background-color: rgb(250,249,249); }
.bgEsriDarkGray { background-color: rgb(71,71,73); }
.bgPositron { background-color: rgb(250,250,248); }
.bgVoyager { background-color: rgb(251,248,243); }
.bgDarkMatter { background-color: rgb(9,9,9); }
.bgWorldImagery { background-color: rgb(84,77,60); }

#barTopTrailDrawer {
    padding: 2px 5px;
    width: calc(100% - 10px);
    height: auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    background-color: var(--colorGrayLight);
    flex: 0 0 auto;
}

#mapBodyContent {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    height: 100%;
}

#mapView {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 100%;
    flex: 1 1 auto;
    z-index: 0;
}
    #floatingTopLeft,
    #floatingTopRight,
    #floatingBottomLeft,
    #floatingBottomRight,
    #floatingTopScrollView,
    #floatingBottomScrollView,
    #floatingInstallContent,
    #buttonHeartRate,
    #imageLogo {
        position: absolute;
        z-index: 2;
        padding: 4px;
    }
    #floatingTopLeft {
        padding: 5px !important;
        top: 50px;
        left: 0;
        max-height: calc(100% - 10px - 100px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    #floatingTopRight {
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        top: 50px;
        right: 55px;
        max-width: calc(100% / 2 - 110px);
    }
        #navigatingLayout {
            margin: 5px 0;
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
            justify-content: center;
            gap: 5px;
            border-radius: 10px;
        }
            #itineraryIcon {
                font-size: 250%;
                line-height: 110%;
            }
                #itineraryIcon > div {
                    width: 75px;
                    aspect-ratio: 1;
                }
            #itineraryDistIcon {
                font-family: monospace;
                font-weight: bold;
                font-size: 200%;
                line-height: 110%;
            }
        #containerChartAnimating {
            width: calc(100% - 4px);
            padding: 2px;
            border-radius: 10px 10px 0 0;
            background-color: rgba(255,255,255,.9);
        }
            #divCanvasChartAnimating {
                width: 100%;
                height: 150px;
            }
                #canvasChartAnimating {
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            #dataChartAnimating {
                padding: 0 5px;
                width: calc(100% - 10px);
                color: var(--colorGrayDark);
                display: flex;
                flex-flow: row nowrap;
                justify-content: space-between;
                align-items: center;
                gap: 20px;
            }
    #floatingBottomLeft {
        bottom: 35px;
        left: 5px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
        #installContent {
            text-align: center;
        }
    #floatingBottomRight {
        padding: 5px !important;
        bottom: 50px;
        right: 0;
        max-height: calc(100% - 10px - 100px);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    #floatingTopScrollView {
        padding: 5px !important;
        top: 0;
        right: 0;
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        gap: 10px;
        max-width: calc(100% - 10px - 50px);
        overflow-y: hidden;
        overflow-x: auto;
    }
        #floatingTopScrollView > * {
            flex: 0 0 auto;
        }
        .textTitle {
            min-width: 0;
            height: 39px;
            padding: 1px 10px;
            box-sizing: border-box;

            border-radius: 5px;

            display: flex;
            align-items: center;       /* vertical */

            font-size: 16px;
            line-height: 18px;

            color: var(--colorOrangePattern);
            background-color: var(--colorWhite);

            flex: 1 1 auto !important;
            overflow: hidden;
        }
            .textTitle span {
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
                text-overflow: ellipsis;
            }
    #floatingBottomScrollView {
        padding: 5px !important;
        bottom: 50px;
        right: 55px;
        width: calc(100% - 10px - 110px);
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
        align-items: center;
        border-radius: 10px;
        color: var(--colorGrayDark);
        gap: 10px;
        pointer-events: none;
        overflow-y: hidden;
        overflow-x: auto;
    }
        #floatingBottomScrollView > * {
            flex: 0 0 auto;
        }
        #clockAltitudeLayout,
        #distPercentLayout {
            font-family: monospace;
            padding: 0;
            margin: 0;
            border-radius: 5px;
            background-color: rgba(255,255,255,0.9);
            border: 2px solid var(--colorGrayLight);
        }
            #clockTxt,
            #itineraryDist {
                margin: 0 5px 0;
                font-size: 200%;
                line-height: 115%;
                font-weight: bold;
                text-align: center;
            }
            #altitudeTxt,
            #itineraryDistPercent {
                font-size: 175%;
                line-height: 115%;
                text-align: center;
            }
        #buttonSpeed {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-family: monospace;
            width: 62px;
            height: 62px;
	        border: 4px solid var(--colorOrangePattern);
            border-radius: 50%;
            background-color: rgba(255,255,255,0.9);
        }
            #buttonSpeed > div {
                font-size: 225%;
                font-weight: bold;
                line-height: 100%;
            }
            #buttonSpeed > span {
                font-size: 100%;
                line-height: 100%;
            }

#barBottomTrailDrawer {
    padding: 2px 5px;
    width: calc(100% - 10px);
    height: auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
    background-color: var(--colorGrayLight);
}

#mapillaryViewer {
    width: 50%;
    height: 100%;
    background: var(--colorWhite);
    transition: opacity 200ms ease;
    flex: 0 0 auto;
}
    #mapillaryViewer i {
		position: absolute;
		top: 0;
		right: 0;
		padding: 5px 10px;
		border-radius: 0 0 0 16px;
		color: var(--colorWhite);
		background-color: var(--colorRed);
		cursor: pointer;
		transition: all .25s linear;
        z-index: 5;
	}
		#mapillaryViewer i:hover {
            color: var(--colorRed);
			background-color: var(--colorWhite);
			transition: all .25s linear;
		}

#floatingInstallContent {
    bottom: 6px;
    left: 90px;
}

#buttonHeartRate {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: 0 2px !important;
    bottom: 11px;
    right: 5px;
	border-radius: 5px;
    font-family: monospace;
    font-size: 175%;
    line-height: 125%;
    color: var(--colorGrayDark);
    background-color: rgba(255,255,255,0.9);
    cursor: pointer;
}

#imageLogo {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

#overlayMap {
    position: absolute;
    z-index: 11;
    top: 10px;
    left: 10px;
    max-width: 260px;
    max-height: 250px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    border: 2px solid var(--colorGrayLight);
}
    #buttonCloseOverlayMap {
        position: absolute;
        top: 0;
        right: 0;
        padding: 5px;
        border-radius: 5px;
        cursor: pointer;
        background-color: var(--colorRed);
        color: var(--colorWhite);
        z-index: 12;
    }
    #overlayMapContent {
        max-height: 230px;
        overflow-y: auto;
        overflow-x: hidden;
    }

#speedmax {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    width: 62px;
    height: 62px;
	border: 6px solid rgb(255,0,0);
    border-radius: 50%;
    background-color: rgb(255,255,255);
    font-size: 225%;
    font-weight: bold;
    line-height: 100%;
}

#divSpeedmaxAlert {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 10px;
    background: rgba(255, 0, 0, 0.25);
    pointer-events: none;
    z-index: 1;
}
    #divSpeedmaxAlert > span {
        margin: 10px;
        font-family: monospace;
        font-size: 225%;
        font-weight: bold;
        text-align: center;
        color: var(--colorWhite);
    }

.maplibregl-ctrl-attrib{
    margin-left: 55px !important;
}
.maplibregl-ctrl-attrib-inner{
    font-size: 75% !important;
}

@media (orientation: portrait) {

    .mapBodyContainer {
        font-size: 110%;
    }

    #mapBodyContent {
        flex-flow: column nowrap;
    }

	#mapillaryViewer {
        width: 100%;
        height: 50%;
    }

    #floatingTopLeft {
        max-height: calc(100% - 10px - 180px);
    }

    #floatingTopRight {
        max-width: calc(100% - 115px);
    }

    #floatingBottomRight {
        bottom: 130px;
        max-height: calc(100% - 10px - 180px);
    }

    #floatingBottomScrollView {
        right: 5px;
        width: calc(100% - 10px - 10px);
        justify-content: space-between;
        align-items: center;
    }

}