@media screen and (max-width: 768px) {

  /* navbar */
  /*
  nav {
    display: none;
  }

  nav .map-title {
    font-size: 1.6em;
    padding-right: 10px;
  }
*/
  /* sidebar */
  div.sidebar {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    max-height: 100% !important;
    z-index: 1201 !important;
  }

  map #map {
    position: fixed;
    top: 160px;
    left: 0px;
    bottom: 0px;
  }

  div.leaflet-control-zoom.leaflet-bar.leaflet-control {
    display: none;
  }

  .map-background-controls {
    display: none !important;
  }
  .navbar,
  .navbar-header {
    position: fixed;
    top: 0;
    z-index: 1500;
    width: 100vw;
    height: 60px;
  }
  .navbar-header {
    display: flex;
    align-content: flex-start;
    border-bottom: 1px solid #dcdcdc;
  }
  .navbar-header h1 {
    font-size: 1.1em;
    line-height: 1.41;
    display: flex;
    align-items: center;
  }

  .sidebar-switch,
  .sidebar-list,
  .sidebar-search,
  .sidebar-filters {
    display: none;
  }

  /*  .activated-turistic-object,*/
  .list-container {
    height: calc(100vh - 140px);
    max-height: calc(100vh - 140px) !important;
  }

  .filters-container {
    height: 100vh;
  }

  #map {
    position: fixed;
    height: 100%;
    top: 60px;
    left: 0px;
    bottom: 0px;
  }

  .mobile-closepanel {
    position: fixed;
    top: 60px;
    width: 100vw;
    justify-content: flex-end;
    height: 40px;
    background-color: #fff;
    display: none;
    border-bottom: 1px solid #dcdcdc;
    border-top: 1px solid #dcdcdc;
    padding: 3px 5px 5px;
  }

  .mobile-showmore i,
  .mobile-closepanel i {
    color: #0087c5;
  }

  .mobile-showmore {
    position: fixed;
    top: 60px;
    width: 80vw;
    left: 10vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 20%;
    height: 40px;
    display: none;
    margin-bottom: 15px;
    cursor: pointer;
  }

  .mobile-icons {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 60px;
  }

  .mobile-icon-list,
  .mobile-icon-search {
    z-index: 2000;
    margin-top: 5px;
  }

  .mobile-icon-search,
  .mobile-icon-list {
    background-color: #0087c5;
    position: relative;
  }

  .mobile-icon-list img,
  .mobile-icon-search img {
    padding: 8px;
  }

  .searched-num {
    display: block;
    background-color: #fff;
    border-top: 1px solid #dcdcdc;
    width: 100%;
    height: 30px;
    position: fixed;
    bottom: 0;
    text-align: center;
    color: #0087c5;
  }

  div.sidebar-switch > ul > li > a {
    font-size: 1em !important;
  }

  .mobile-listnum {
    color: #fff;
    margin: 2px 2px 0 2px;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .sidebar-integrate {
    position: fixed;
    top: 65px;
    left: 60px;
    width: 200px;
    height: auto;
  }

  .leaflet-control-route-info {
    margin-top: 55px;
    margin-right: -40px;
  }

}

@media screen and (max-width: 496px) {
  .single-filter {
    margin: 10px;
  }

  .detail-filter {
    width: 45% !important;
    margin: 2%;
  }

  .group-container > div {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
}
