/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.bus-pad-side {
    padding-left: 40px;
    padding-right: 40px;
}

.flex-row-between {
	display:flex;
  	flex-direction: row;
  	justify-content: space-between
}

.flex-row {
	display:flex;
  	flex-direction: row;
}

.flex-column-center {
	display:flex;
  	flex-direction:column;
  	justify-content:center;
}

.bus-container-route {
  height:105px;
  margin: 0 0 2rem;
  padding: 1vw;
  background: #F5F5F5;
}

.bus-on-time {
  border-left: 10px solid #7BBE2E;
}

.status-on-time {
  color:#7BBE2E;
  font-weight:600;
}

.bus-cancelled {
  border-left: 10px solid #E05B2A;
}

.status-cancelled {
	color: #E05B2A;
    font-weight:600;
}

.bus-delayed {
  border-left: 10px solid #F5B61F;
}

.status-delayed {
	color: #F5B61F;
  font-weight:600;
}

.bus-grid-row {
  display:grid;
  grid-template-columns: 20% 20% 5% 20% 20% 15% 
}

@media only screen and (max-width : 75rem) {
  .bus-container-route {
    height:105px;
    margin: 0 0 1rem;
    padding:1vw;
    background: #F5F5F5;
  }
  
  .bus-container-route h5 p {
  	font-size: 0.9rem !important;
  }
  
  .bus-route-name {
  	font-size:1rem;
  }
  
  .last-updated {
  	font-size:1rem;
  }
  
  .bus-pad-side {
  	padding-left:10px;
    padding-right:10px;
  }
}

@media only screen and (max-width : 62rem) {
  .bus-container-route {
    height:120px;
    padding:1vw;
    background: #F5F5F5;
  }
  
  .bus-route-name {
  	font-size:0.9rem;
  }
  
  .last-updated {
  	font-size:0.9rem;
  }
  
  .bus-pad-side {
  	padding-left:10px;
    padding-right:10px;
  }
}