html {
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Helvetica Neue', sans-serif;
    height: 100%;
    margin: 0;
}

.origDest {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.orig, .dest {
    flex-grow: 4;
    margin: 2px;
}

#orig, #dest {
    border-radius: 10px;
    border: 2px solid #ccc;
}

#deptime {
    flex-grow: 2;
    margin: 2px;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: large;
    align-self: flex-start;
    padding: 10px;
}

.run-search {
    flex-grow: 2;
    margin: 2px;
    background: #d3d3d3;
    color: #000;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    align-self: flex-start;
    font-size: large;
    font-weight: bold;
}

.run-search:hover {
    background: #000;
    color: #d3d3d3;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

.info-button {
    flex-grow: 1;
    text-align: center;
    font-size: 30px;
}

.mapTable {
    display: flex;
    width: 100%;
    height: 100%;
}

#map {
    z-index: 1;
    width: 100%;
    height: 100%;
}

#overview {
    height: 100%;
    max-width: 60%;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    font-size: small;
    padding: 2px;  
}

tr:nth-child(even) {
    background-color: #dddddd;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 10px;
    border: 1px solid #888;
    width:600px;
    overflow: auto;
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  #loading-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 120px;
    height: 120px;
    margin: -76px 0 0 -76px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* Add animation to "page content" */
  .animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
  }
  
  @-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 } 
    to { bottom:0px; opacity:1 }
  }
  
  @keyframes animatebottom { 
    from{ bottom:-100px; opacity:0 } 
    to{ bottom:0; opacity:1 }
  }
