@media(max-width:1200px){

  .wrapper{
    max-width:100%;
  }
}

@media(max-width:980px){

  .listing-grid .listing-card{
      width:calc(33.33% - 16px)!important;
  }
}

@media(max-width:768px){

  form.search h1{
      font-size:34px;
      line-height:1.3;
  }

  .main-search{
      padding:20px;
  }

  .listing-grid .listing-card{
      width:calc(50% - 16px)!important;
  }

  header{
      position:fixed;
      width:100%;
  }

  body{
      padding-top:70px;
  }
}

@media(max-width:480px){

  form.search h1{
      font-size:28px;
  }

  @media(max-width:480px){

  .listing-grid .listing-card{
      width:48%!important;
      margin:0 1% 15px!important;
      float:left;
  }

  .listing-grid .listing-card img{
      height:120px!important;
      object-fit:cover;
  }

  .listing-grid .listing-basicinfo a{
      font-size:14px!important;
      line-height:18px;
  }

  .listing-grid .location{
      font-size:11px!important;
  }

}

  .main-search > .cell{
      width:100%!important;
      margin-bottom:15px;
      padding-right:0;
  }

  .main-search button{
      width:100%;
  }

  .wrapper{
      padding:0 15px;
  }
}
