#IMMapPinEl {
    cursor: pointer;
}

#intMapModalContainer {
    padding: 8px 0 8px 0px;
    margin: auto;
}

#intMapModal {
    pointer-events: auto;
    border-radius: 4px;
    padding: 0 8px 8px 8px;
    width: 156px;
    background-color: white;
    font-size: 10px;

    .line-name,.im-rt-label {
        font-size: 12px;
        font-weight: bold;
    }
}

#intMapModalPopupClose {
    padding-top: 8px;
}

#intMapModalPopupClose span {
    /* position: relative;
    top: 6px;
    left: -12px; */
    padding: 0;
    font-size: 12px;
    color: #9d9d9c;
}

#intMapModalBackButtonText {
       color: #000000!important;
}


#intMapModalPopupClose.close-icon{
        font-size: 16px;
}

#intMapModalPopupClose span:hover {
    color: black;
}

.nearby-route {
    cursor: pointer;
    padding-top: 8px;
    padding-bottom: 8px;
}

.nearby-route:hover {
    background-color: #f6f6f6;
}

.nearby-route-header {
    max-width: 120px;
    margin-bottom: 2px;
}

.im-rt-label {
    color: white;
    font-weight: bold;
    border-radius: 2px;
    padding: 2px 2px 0 4px ;
    margin-right: 18px;
}

.im-rt-label-day {
    background-color: #007EB6;
}

.im-rt-label-night {
    background-color: #000000;
}

.im-rt-label-frequent {
    background-color: #781B7D;
}

.im-rt-label-taxibus {
    color: black;
    background-color: none;
}

.nearby-route-divider {
    /* margin-bottom: 8px; */
    hr {
        border: none;
        height: 1px;
        background-color: #9d9d9c;
        margin: 0;
    }
}

#IMMNearbyRoutePagination {
    color: #9d9d9c;
}

.im-pagination {
    font-size: 12px;
    cursor: pointer;
}

.im-pagination:hover {
    color: black;
}

#IMMSingleRoute {
    padding-top: 8px;
}

.im-popup-stop-name {
    font-size: 10px;
}

.im-popup-stop-code {
    font-weight: bold;
}

.im-popup-stop-note {
    font-style: italic;
    font-weight: normal;
}

#IMMStopDetail {
    padding-top: 8px;
    padding-right:8px;
    padding-bottom: 6px;
    font-size: 10px;
    font-weight: bold;

    img {
        padding-left: 8px;
        height: 16px;
    }
}

#IMMStopRoutes {
    .im-rt-label {
        cursor: pointer;
        margin: 2px 70px 2px 0;
    }

    .im-rt-label:last-of-type {
        margin-bottom: 0;
    }
}


@media (min-width: 576px){
    #intMapModalContainer {
        padding: 16px 0 16px 0px;
    }

    #intMapModal {
        border-radius: 8px;
        padding: 0 16px 16px 16px;
        width: 232px;
        font-size: 12px;

        .line-name,.im-rt-label {
            font-size: 14px;
            font-weight: bold;
        }
        .line-name {
            margin-bottom: 8px;
        }
    }

    #intMapModalPopupClose {
        padding-top: 16px;
    }

    #intMapModalPopupClose span {
        /* position: relative;
        top: 12px;
        left: -20px; */
        font-size: 16px;
    }

    #intMapModalBackButtonText {
        font-size: 12px !important;
    }

    #intMapModalPopupClose .close-icon{
            font-size: 24px;
    }

    .nearby-route {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .nearby-route-header {
        max-width: 160px;
        margin-bottom: 4px;
    }

    .im-rt-label {
        border-radius: 4px;
        padding: 2px 4px 0 8px ;
        margin-right: 36px;
    }

    .im-pagination {
        font-size: 16px;
        cursor: pointer;
    }

    #IMMSingleRoute {
        padding-top: 16px;
    }

    .im-popup-stop-name {
        font-size: 12px;
    }

    #IMMStopDetail {
        padding-top: 14px;
        padding-right:14px;
        padding-bottom: 10px;
        font-size: 14px;
        font-weight: bold;

        /* img {
            padding-left: 16px;
            height: 20px;
        } */
    }

    #IMMStopRoutes {
        .im-rt-label {
            margin: 4px 108px 4px 0;
        }
    }
}