body { 
    margin: 0;
    padding: 0; 
    font-family:  sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #001737;
    text-align: right;

    }
#map { 
    position: absolute; 
    top: 5vh;
    height: 95vh; 
    bottom: 0; 
    width: 100%; 
}
.mapboxgl-ctrl-attrib-inner {
    direction: rtl;
}
input {
    z-index: 900;
    position: relative;

}
button {
    z-index: 900;
    position: relative;
    
}
.map-overlay {
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    left: 0;
    padding: 10px;
    z-index: 900;
    
}
.bottom {
    bottom: 10px;
    width: 98%;
}
.top {
    /*top: 6vh;*/
    width: 20vw;
    text-align: right;
    direction: rtl;
    height: 10vh;
}
.top2 {
    top: 18vh;
    margin-top: 20px;
    width: 20vw;
    max-width: 20vw;
    text-align: right;
    direction: rtl;
}
#clustered-info{
    max-height: 20vh;
    overflow-y: scroll;
    display: none;
    top: 15vh;
    width: 20vw;
    position: absolute;
}
.map-overlay .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
}

.map-overlay h3 {
    line-height: 24px;
    display: block;
    margin: 0 0 10px;
}

.map-overlay .legend .bar {
    height: 10px;
    width: 100%;
    background: linear-gradient(to right, #fca107, #7f3121);
}

.map-overlay input {
    background-color: transparent;
    display: inline-block;
    width: 100%;
    position: relative;
    margin: 0;
    cursor: ew-resize;
}
.justify-content-between {
    display: flex !important;
    -webkit-box-pack: justify !important;
    justify-content: space-between !important;
}
#menu {

    position: absolute;
    z-index: 1;
    bottom: 1.5%;
    left: 1.5%;

}
        
.logo {
    background: #fff;
    font-size: 13px;
    color: #404040;
    display: block;
    margin: 0;
    padding: 3px;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    text-align: center;
    margin: 10px 0 0 10px;
    border-radius: 3px;
    width: 10vw;
    border: 2px solid rgba(0,0,0,0.05);
    box-sizing: border-box;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    font-family: 'Open Sans', sans-serif;
    }

#menu input{
    border-radius: 0.5px;
}
        
.logo:last-child {
    border: none;
    }
        
.logo:hover {
    background-color: #f8f8f8;
    color: #404040;
    }
.banner {
    background-color: white;
    height: 8vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 3px solid #ccc !important;
    z-index: 1000;
}
.banner div,a{
    height: 4.4vh;
}
.bannerLogo {
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    border : 'none';
    height: 4.5vh;
    padding: 0.5px;
    margin: 0;
    position: absolute;
    top: 0.3vh;
    right: 2.5vw;
    width: 7vw;

}
.bannerLogo img {
    height: 4.4vh;
    width: 10vw;
}
.bannerText {
    height: 4.4vh;
    text-align: right;
    position: absolute;
    font-size: 1rem;
    line-height: 150%;
    right: 20%;
    color: slategray;
}   
.shareSpan {
    height: 4.4vh;
    position: absolute;
    top: 1vh;
    left: 1vw;
}
#day > span{
    direction: rtl;
    text-align: right;
}
.timeline-icons {
    font-size: 0.8rem;
    color: #51bbd6;
    margin: 2px;
    cursor: pointer;
}
.help {
    cursor: pointer;
}
#help{
    padding-right: 5px;
}
#crossings {
    top: 20vh;
}
table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;

  }
  
td, th {
    border: 1px solid #dddddd;
    text-align: center;
    padding: 8px;
}
td {
    cursor: pointer;
}
.intersection-column{
    width: 30%;
}
.date-column {
    width: 70%;
}
tr:nth-child(even) {
    background-color: #dddddd;
}

.filtered{
    color: #404040;
}
.filtered-line{
    color: rgba(0, 0, 0, 0);
    
}
/* start of phone styles */
@media screen and (max-width: 633px) {
    body{
        overflow-y: scroll;
    }
    #map {
        width: 99vw;
        position: absolute;
        left: 0.5vw;
    }
    .top {
        top: -2vh;
        left: -2vw;
        width: 80vw;
        font-size:  smaller;
    }
    .top2 {
        top: 30vh;
        width: 40vw;
        max-width: 40vw;
        font-size: 0.6rem;
    }
    .map-overlay-inner {
        font-size: 0.5em;
    }
    .fa-stack {
        font-size: smaller;
    }
    #crossings {
        top: 40vh;
    }
    #clustered-info{
        max-height: 20vh;
        overflow-y: scroll;
        display: none;
        top: 20vh;
        width: 75vw;
        position: absolute;
    }
    .bottom {
        bottom: 10px;
        width: 95%;
        left: 1%;
    }
    .logo {
        background: #fff;
        font-size: 13px;
        color: #404040;
        display: block;
        margin: 0;
        padding: 3px;
        text-decoration: none;
        border-bottom: 1px solid rgba(0,0,0,0.25);
        text-align: center;
        margin: 10px 0 0 10px;
        border-radius: 3px;
        width: 15vw;
        border: 2px solid rgba(0,0,0,0.05);
        box-sizing: border-box;
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
        font-family: 'Open Sans', sans-serif;
    }
    .banner {
        border-bottom: 1.5px solid #ccc !important;
    }
    .bannerText{
        right: 25%;
        font-size: 0.7rem;
        line-height: 130%;
    }
    .bannerLogo{
        top: 0.5vh;
        right: 1.5vw;
        width: 20vw;
    }
    .bannerLogo img{
        height: 4.5vh;
        width: 100%;
    }
    .shareSpan {
        position: absolute;
        bottom: 0.1vh;
        top: 0.3vh;
        left: 1vw;
    }
    .mapboxgl-ctrl-attrib-inner {
        direction: rtl;
        margin-bottom: 10vh;
    }
}

/* start of styles for help */
.help-img {
    margin-top: 10px;
    margin-bottom: 10px;
    border:1px solid #ccc;
}
.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    
    top: 0;
    left: 10px;
    width: 10vw;
    height: 5vh;
    line-height: 1rem;
    text-align: center;
    display: block;
    background-color: #d0cfd1;
    
    border:3px solid #ccc;
}
.sticky > a {
    text-align: center;
    vertical-align: middle;
    align-self: center;
    float: left;
    left: 25%;
    top: 25%;
    position: absolute;
    color: black;
}
.sticky > a:visited{
    color: black;
}
/* start of phone styles */
@media screen and (max-width: 633px) { 
    .sticky {
        width: 20vw;
    }
    .sticky > a {
        left: 0;
        top: 0;
    }
    .map-overlay-inner {
        font-size: 0.75rem;
    }
}