#mainMap {
    height: 78vh;
}

.infoBox {
    width: 510px;
}

.infoBoxTitleBox {
    border-radius: 2px 2px 0 0;
    /* In accordance with the rounding of the default infowindow corners. */
    text-align: center;
    padding: 5px 10px;
}

.infoBoxTitleBoxMultipleStops {
    position: relative;
}

.infoBoxMarkerImage {
    overflow: visible;
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translate(-50%, -50%);
}

.infoBoxTitle {
    font-size: 22px;
    font-weight: 400;
    margin: 1px;
    text-decoration: underline;
    color: var(--bubble-white);
}

.infoBoxTitle__stopPlanned {
    font-size: 22px;
    font-weight: 400;
    margin: 1px;
    text-decoration: none;
    color: var(--soft-red);
}

.infoBoxTitle__stopPlanned:hover {
    cursor: default;
    color: var(--soft-red);
    text-decoration: none;
}

.infoBoxTitle__red {
    font-size: 22px;
    font-weight: 400;
    margin: 1px;
    text-decoration: underline;
    color: var(--soft-red);
}

.infoBoxNoClickableTitle {
    font-size: 22px;
    font-weight: 400;
    margin: 1px;
    color: var(--bubble-white);
}

.infoBoxNoClickableTitle:hover {
    cursor: default;
    color: var(--bubble-white);
    text-decoration: none;
}

.infoBoxBodyTitle {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    margin: 0px;
}

.infoBoxBodyTitleNoPad {
    text-align: center;
    font-weight: bold;
    margin: 0px;
    padding-right: 0;
}

.infoBoxBodySubtitles {
    text-align: center;
    margin: 0px;
    padding-right: 0;
}

.infoBoxTextLabel {
    display: inline;
    white-space: nowrap;
    position: relative;
    bottom: 2px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
}

.batteryInfoBox {
    text-align: right;
}

.infoBoxBusStatusIcon {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 20px !important;
    cursor: default;
}

.infoBoxTripProgressBox {
    margin-top: 20px;
    text-align: center;
}

.infoBoxCurrentStop {
    text-align: center;
}

.infoBoxProgressBar {
    height: 5px;
    margin-bottom: 10px;
}

.underProgress {
    margin-bottom: 20px;
}

.infoBoxBusPassengerBox {
    text-align: left;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
}

.infoBoxOnBoardCount {
    display: inline;
    margin-right: 5px;
}

.infoBoxOnBoardImg {
    display: inline;
    margin-right: 10px;
    position: relative;
    top: -2px;
}

.infoBoxAbsentText {
    color: var(--party-red);
    display: inline;
}

.infoBoxStopProgressLabel {
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    white-space: nowrap;
}

.infoBoxStopPickup {
    display: inline;
    color: var(--muffled-green);
}

.infoBoxStopDrop {
    display: inline;
    color: var(--sea-blue);
}

.infoBox__white-space {
    white-space: pre-line;
}

.infoBox__word-spacing {
    word-spacing: 100vw;
}

.infoBox__no-wrap {
    white-space: nowrap;
}

#noTripOverlay {
    text-align: center;
}

.mapFullScreenOverlay {
    width: 100%;
    height: 100%;
    background-color: var(--canopy-grey);
    display: none;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    position: absolute;
    left: 0 !important;
    top: 0 !important;
}

#loadingOverlay {
    display: flex;
}

.mapFullScreenOverlayText {
    align-self: center;
    color: var(--bubble-white);
    font-weight: 300;
}

.mapControls {
    background-color: var(--truly-white);
    height: 40px;
    width: auto;
    cursor: pointer;
    text-align: center;
    font-size: 15px;
    margin-right: 10px;
    margin-top: 10px;
    line-height: 10px;
    padding: 12px 10px;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}

.mapControls span {
    margin-right: 5px;
}

.mapButton__disabled {
    color: var(--umbra-grey);
}

.mapTooltip {
    position: relative;
    display: inline-block;
}

.mapTooltip .mapTooltipText {
    visibility: hidden;
    width: 120px;
    background-color: var(--deep-grey);
    color: var(--bubble-white);
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    right: 10px;
    top: 105%;
}

.mapTooltip:hover .mapTooltipText {
    visibility: visible;
}

.mapFooter {
    bottom: 20px !important;
}

.mapFooterOnOverlay {
    color: var(--truly-white);
}

.mapInfoBoxLastSynchro {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 0px;
    padding-left: 10px;
    padding-right: 2px;
}

.mapExternalLink {
    float: right;
    margin-left: 12px;
}

.mapExternalLinkIcon {
    max-height: 13px;
    max-width: 13px;
    content: url('../../../img/icons/icons8-external-link.svg');
}

.mapExternalLink:hover {
    text-decoration: none;
}

.mainMap-todayButton {
    display: inline;
    margin-right: 4px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: solid var(--diligent-grey) 1px;
    border-radius: 4px;
    background-color: var(--truly-white);
    color: var(--deep-grey);
}

.mainMap-todayButton:hover {
    background-color: var(--candy-blue);
    border: 1px solid transparent;
    color: var(--bubble-white);
}
/* ============= TRIP REPLAY  ============= */

.mapToolsContainer {
    display: flex;
    padding: 10px;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.mapToolsContainer .mapSlider {
    display: flex;
    width: 100%;
    padding: 0 0;
    align-items: center;
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.mapToolsContainer .mapTime {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.mapToolsContainer .mapSlider:focus {
    outline: none;
}

.mapToolsContainer .mapSlider::-webkit-slider-runnable-track {
    background-color: grey;
    border-radius: 50px;
    height: 5px;
}

.mapToolsContainer .mapSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -5px;

    background-color: orange;
    height: 15px;
    width: 15px;
    border-radius: 50px;
}

.mapToolsContainer .mapSlider::-moz-range-track {
    background-color: grey;
    border-radius: 50px;
    height: 5px;
    padding: 0 0;
}

.mapToolsContainer .mapSlider::-moz-range-thumb {
    border: none;
    border-radius: 50px;

    background-color: orange;
    height: 15px;
    width: 15px;
}
