html,
body{
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden !important;
  }

  #viewDiv {
    position: absolute;
    right: 0;
    left: 0;
    top: 0px;
    bottom: 0px;
  }

  .esri-popup--footer-visible .esri-popup__footer {
    display: none !important;
  }

  .esri-popup__header{
    display:none;
  }

  .esri-popup__feature-buttons{
    display:none;
  }

  .esri-popup__content{
    width:240px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align:center;
  }

  .esri-view-width-large .esri-popup__main-container {
    width: 255px;
  }

  .esri-popup__main-container {
    background-color: white;
    opacity: 1;     
    width: 255px !important;
  }

  .esri-popup-renderer__main-container {
    height: auto;
    width:225px;
    padding-top: 0px;
  }

  .esri-view-height-less-than-medium .esri-popup__main-container{
    max-height:225px;
  }

  .esri-popup-renderer__content-element{
    text-align: center;
  }


  .visible-layer {
    color: #fff;
    background-color: #226F0E;
  }

  .rect{
    position:absolute;
    background:white;
    outline-width: 2px;
    border-radius: 5px;
    border:1px solid #d3d3d3;    
  }

  #rect_title{
    top:0px;
    left:0px;
    width:100%;
    height:40px;
    border-radius: 0px;
  }

  #title{
    position:absolute;
    top:0px;
    left:133px;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-size:30px;
    color: #576060;
    font-weight: 800;
    line-height:2px;
    font-stretch: semi-condensed
  }

  #tiny-title{
    position:absolute;
    display:none;
    top:0px;
    left:10px;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
    font-size:30px;
    color: #777777;
    font-weight: 800;
    line-height:5px;
    font-stretch: semi-condensed
  }

  #SFpark{
    position:absolute;
    top:7px;
    left:10px;
    height:30px;
  }

  #SFMTA{
    position:absolute;
    top:7px;
    right:9px;
    height:30px;
  }

  .legend{
     margin-top: 20px; 
     left:auto;
     right:0px;
  }

  #rate-select{
    position:absolute;
    top: 200px;
    width: 200px;
    height: 15px;
    background: white;
    border-radius: 2px;
  }

  #rect_legend{
    position:absolute;
    top:25px;
    left:auto;
    right: 4px;
    width:140px;
    height:85px;
    position:absolute;
    background:white;
    outline-width: 2px;
    border-radius: 5px;
    border:1px solid #d3d3d3; 

  /*  opacity: .9*/
  }

  #legendTitle{
    position:absolute;
    left:auto;
    top:41px;
    right:17px;
    color: #777777;
    font-family: 'Helvetica Neue', sans-serif; 
    font-size: 15px; 
    font-weight: bold; 
    letter-spacing: -.5px; 
    line-height: 1; 
    text-align: left;
  }

  .legend-text{
    position:absolute;
    padding-top:32px;
    left:auto;
    right:-2px;
    width:100px;
    color: #777777;
    font-family: 'Helvetica Neue', sans-serif; 
    font-size: 12px; 
    font-weight: bold; 
    letter-spacing: -.5px; 
    line-height: 1; 
    text-align: left;
  }

  #up{
    top:22px;
  }

  #same{
    top:40px;
  }

  #down{
    top:59px;
  }

  .legend-bar{
    position:absolute;
    margin-top:40px;
    left:auto;
    right:102px;
    width:30px;
    height:10px;
    border-radius: 4px;
    border:1px solid #E8E8EE
  }

  #bar-up{
    top:35px;
    background:#ff68a7;
  }

  #bar-same{
    top:53px;
    background:rgb(205,205,205);
  }

  #bar-down{
    top:72px;
    background:#F5FF90;
  }

  .cntrllr{
     position: absolute;
     margin-left:0px; 
     margin-top:20px;
  }  

  #rect_ch{
    width:148px;
    height:85px;
    top:25px;
    left:3px;
  }

  #infoDiv {
      position: absolute;
      top:135px;
      left:3px;
      background-color: white;
      color: black;
      padding: 6px;      
      width: 135px;
      outline-width: 2px;
      border-radius: 5px;
      border:1px solid #d3d3d3; 
      font-family: 'Helvetica Neue', sans-serif; 
      font-size: 12px; /*
      font-weight: bold; */
      letter-spacing: 0px; 
    }

  #rate-chg-ref{
      position: absolute;
      width: 97px;
      left: 47px;
      top:4px;
      outline-width: 2px;
      border-radius: 5px;
      border:1px solid #d3d3d3; 
      font-family: 'Helvetica Neue', sans-serif; 
      font-size: 12px; /*
      font-weight: bold; */
      letter-spacing: 0px; 
    }
 
  .days{
    padding-top:16px;
    padding-left:0px;
    left:17px;
    height:36px;
    width:36px
  }  

  #weekday{
    top:14px
  }

  #weekend{
    top:54px
  }

  .time{
    position: absolute;
    width:40px;
    height:40px;
  }

  #TB1{
    top: 27px;
    left: 61px;
  }

  #TB2{
    top: 27px;
    left: 101px;
  }

  #TB3{
    top: 67px;
    left: 101px;
  }

  #TB4{
    top: 67px;
    left: 61px;
  }

@media screen and (max-width: 750px) and (min-width: 375px){
  #tiny-title {
    color:#576060;
    display: inline;
    font-size:26px;
    left:8px;
    font-weight: 800px;
    top: -3px;
  }
  
  #title{
    display:none;
  }

/*  #SFMTA{
    display:none;
  }*/

  #SFpark{
    display:none;
  }

/*  .esri-popup-renderer__main-container {
    width:200px;
  }

  .esri-popup__main-container {
    width:245px !important;
  }

  .esri-popup_content{
    width:230px !important;
  }*/

}

@media screen and (max-height: 750px){
  
  #title{
    left:10px;
  }

  #SFMTA{
    left:auto;
    right:5px;
  }

  #SFpark{
    left:auto;
    right:97px;
  }

  .legend{
   margin-bottom: 0px; 
   margin-right: 0px;
  }

  #rect_legend{
    top: auto;
    left: auto;
    right:4px;
    bottom:19px;
    width:140px;
    height:85px;
  }


  #legendTitle{
    position:absolute;
    top: auto;
    left: auto;
    bottom:71px;
    right:20px;
    color: #777777;
    font-family: 'Helvetica Neue', sans-serif; 
    font-size: 15px; 
    font-weight: bold; 
    letter-spacing: -.5px; 
    line-height: 1; 
    text-align: left;
  }

  .legend-text{
    position:absolute;
    top: auto;
    left: auto;
    right:0px;
    bottom:45px;
    width:100px;
    color: #777777;
    font-family: 'Helvetica Neue', sans-serif; 
    font-size: 12px; 
    font-weight: bold; 
    letter-spacing: -.5px; 
    line-height: 1; 
    text-align: left;
  }

  #up{
    top: auto;
    left: auto;
    bottom:65px;
  }

  #same{
    top: auto;
    left: auto;
    bottom:46px;
  }

  #down{
    top: auto;
    left: auto;
    bottom:27px;
  }

  .legend-bar{
    position:absolute;
    top: auto;
    left: auto;
    bottom:35px;
    right:105px;
    width:30px;
    height:10px;
    border-radius: 1px;
    border:1px solid #E8E8EE
  }

  #bar-up{
    top: auto;
    left: auto;
    bottom:65px;
    background:#ff68a7;
  }

  #bar-same{
    top: auto;
    left: auto;
    bottom:46px;
    background:rgb(205,205,205);
  }

  #bar-down{
    top: auto;
    left: auto;
    bottom:28px;
    background:#F5FF90;
  }

}


@media screen and (max-width: 375px) and (min-width: 275px){
  #tiny-title {
    color:#576060;
    display: inline;
    font-size:26px;
    left:8px;
    font-weight: 800px;
    top: -3px;
  }
  
  #title{
    display:none;
  }

  #SFMTA{
    height:27px;
  }

  #SFpark{
    display:none;
  }

  .esri-popup-renderer__main-container {
    width:200px;
  }

  .esri-popup__main-container {
    width:230px !important;
  }

  .esri-popup__content{
    width:215px;
  }
}

@media screen and (max-width: 275px){
  #tiny-title {
    display:none;
  }
  
  
  #title{
    display:none;
  }

  #SFMTA{
    display:none;
  }

  #SFpark{
    left:8px;
    height:28px;
  }

  .days{
    left: 0px;
    height:36px;
    width:36px
  } 
  .esri-popup-renderer__main-container {
    width:200px;
  }

  .esri-popup__main-container {
    width:230px !important;
  }

  .esri-popup__content{
    width:215px;
  }
}
