/* When viewing on mobile, remove margins to allow better viewing of the graphs. */
@media (max-width: 767px) { 
  .container-fluid { 
    padding-left:1; 
    margin-left:1; 
    padding-right:0; 
    margin-right:0; 
  }
  
  .grid-pad { 
    padding-left:0; 
    margin-left:0; 
    padding-right:0; 
    margin-right:0;
  }
  
  .vertical-align {
      align-items: baseline;
      display: block;
  }
  
  /* For certain graphs (so far just the spider graphs) make the labels and tooltip font-size smaller so that it fits in the screen */
  .shrikable_text .highcharts-axis-labels tspan, 
  .shrikable_text .highcharts-tooltip tspan {
    font-size: 9px;
  }

  #tsy-footer-logo {
    padding-left: 10px;
    display: initial;
  }
  
  .ui-input-box {
    margin-left: 15px;
    margin-right: 20px;
  }

  
  #home-buttons-row{
    margin-left: 0px;
  }
  
  .intro-logo {
    max-height: 200px;
    /*Center the image */
    margin-left: auto;
    margin-right: auto;
  }
  
  .intro-graph-img {
    margin-bottom: 15px;
  }
  
  .sub-page-links {
    display: none;
  }
  
  .sub-page-links-xs {
    display: block;
  }
  
}

/* Set banner img for different devices */
@media (min-width: 180px) {
  .panel-body{
    display: none;
  }
  
  #banner{
    padding: 10px;
  }
  
  #banner h1{
    font-size: 32px;
  }
  
}

@media (min-width: 400px) {
  .panel-body{
    display: block;
  }
  
  #banner{
    padding: 25px;
  }
  
  #banner h1{
    font-size: 32px;
  }


}

@media (min-width: 874px) {
  
  .panel-body{
    display: block;
  }

  #banner{
    padding: 35px;
  }
  
  #banner h1{
    font-size: 48px;
  }

}

@media (min-width: 1365px) {
  .tsy-footer-logo{
    max-width: 300px
  }
}