
#pg_routes {
  .scroll {
    height: 100%;
    display: flex;
    flex-direction: column;

    #routes-tabs {
      flex: 0 0 auto;

      .tab {
        width: 50%;
        float: left;
        text-align: center;
      }
    }

    routes-map, routes-list {
      flex: 1 1 auto;
      position: relative;

      div#pg_routemap {
        height: 100%;
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
      }
    }
  }

  #routes-tabs {
    height: 48px;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #ddd;
    flex-grow: 0;

    .tab {
      flex-grow: 1;
      background-color: #FFF;
      border: 0px;
      padding: 10px 0px;
      font-size: 20px;
      font-weight: normal;
      line-height: 30px;
      text-align: center;

      &.selected {
        border-bottom: 4px solid $stable;
      }

      .content {
        width: 100%;
        height: 30px;
        display: inline-block;
        border-right: 1px solid #d5d5d5;

        .icon {
          font-size: 20px;
        }

        .txt {
        }
      }

      &:last-of-type .content{
        border: 0px;
      }
    }
  }
}
