@media screen and (min-width: 100px) and (orientation: portrait){
  .details_button{
    font-size: 1.2rem;
  }

}
@media screen and (min-width: 370px) and (orientation: portrait){
  .details_button{
    font-size: 1.3rem;
  }

}
@media screen and (min-width: 600px){
  #gr_outer{
    
    grid-template-columns: repeat(2, 1fr);
  }  
}

@media screen and (min-width: 900px){
  #gr_outer{
    
    
    grid-template-columns: repeat(4, 1fr);
  }  

}




@media screen and (min-width: 500px) and (orientation: portrait){
  html {
    font-size: 1.1em;
  }  
}

@media screen and (min-width: 100px) and (orientation: landscape) {
  html {
    font-size: 0.5em;
  }
  .content-flex{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: start;
    justify-content: space-between;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  
    width: 100% !important;
    
    flex-basis: 100%;
  }  
  .content_left, .content_right{  
    flex-basis: 48%;
  
  }
  
  
}

@media screen and (min-width: 600px) and (orientation: landscape) {
  html {
    font-size: 0.75em;
  }  
}


@media screen and (min-width: 700px) and (orientation: landscape) {
  html {
    font-size: 0.8em;
  }  
}

@media screen and (min-width: 800px) and (orientation: landscape) {
  html {
    font-size: 0.9em;
  }  
}
@media screen and (min-width: 900px) and (orientation: landscape) {
  html {
    font-size: 1em;
  }  
  .content-grid{
    width: 100%;
  
  }
  .content-grid .content{
    float: left;
    width: 50%;    
  }


}

@media screen and (min-width: 1000px) and (orientation: landscape) {
  #main_left, #main_right{
    width: 15%;
  }
  #main_content{
    width: 70%;
  }
  nav ul {
    margin-left: calc(15% + 0.8rem);
  }
}
@media screen and (min-width: 1200px) and (orientation: landscape) {
  #main_left, #main_right{
    width: 20%;
  }
  #main_content{
    width: 60%;
  }
  nav ul {
    margin-left: calc(20% + 0.8rem);
  }
}

@media screen and (min-width: 1400px) and (orientation: landscape) {
  #main_left, #main_right{
    width: 25%;
  }
  #main_content{
    width: 50%;
  }
  nav ul {
    margin-left: calc(25% + 0.8rem);
  }
}
