﻿body {
    background-color: #fbfbfb;
    font-size: 14px;
}

@media (min-width: 991.98px) {
    body {
        font-size: 12px;
    }

    main {
        padding-left: 320px;
    }

    ul#tabs {
        padding-top: 0px !im;
    }
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 0; /* Height of navbar */
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
    width: 320px;
    z-index: 600;
}



.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

#div-tabs {
    display: block;
}

#div-stop,
#div-trip,
#div-schedule {
    display: none;
    padding-top: 20px;
}

    #div-stop div#div-stop-back,
    #div-trip div#div-trip-back,
    #div-schedule div#div-schedule-back {
        background-color: red;
        color: white;
        padding: 10px;
        font-size: 24px;
        font-weight: 600;
        cursor: pointer;
    }

    #div-stop div#div-stop-content,
    #div-trip div#div-trip-content,
    #div-schedule div#div-schedule-content {
        overflow-y: auto;
        height: calc(100vh - 183px);
        /*
        height: calc(100vh - 138px);
        */
    }

        #div-stop div#div-stop-content ul li,
        #div-trip div#div-trip-content ul li {
            cursor: pointer;
        }

#stop-info,
#trip-info,
#schedule-info {
    padding: 10px;
    font-weight: 700;
    background-color: gray;
    color: white;
}





header img.logotipo {
    margin: 10px 0 0 10px;
    height: 50px;
}

.bg-cinza {
    background-color: #EEEEEE !important;
    color: #000000 !important;
}

#Stops, #Routes {
    overflow-y: auto;
    height: calc(100vh - 177px);
}

ul#tabs {
    padding-top: 20px;
}

    ul#tabs li {
    }

        ul#tabs li a {
            color: inherit;
        }

        ul#tabs li .active {
            border-radius: 0px;
            border-bottom: solid 4px red !important;
        }

ul#Stops {
    border-radius: 0px;
}

    ul#Stops li {
        cursor: pointer;
    }

        ul#Stops li span.arrow {
            float: right;
            padding-top: 2px;
        }

ul li span.arrow {
    float: right;
    padding-top: 2px;
}

@media (max-width: 991.98px) {
    .sidebar {
        width: 100%;
        margin-top: 50vh;
    }

    ul#tabs, #div-stop, #div-trip, #div-schedule {
        padding-top: 0 !important;
    }

    #Stops, #Routes {
        overflow-y: auto;
        height: 50vh;
    }


    #div-stop-content, #div-trip-content, #div-schedule-content {
        padding-top: 0 !important;
        height: calc(50vh - 55px) !important;
    }


    #map {
        height: 50vh !important;
    }
}
