#map-container {
    margin-bottom: 20px;
    overflow: hidden;
    padding-bottom: 67%;
    position: relative;
    width: 100%;
}

#map-container #map {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute;
}

.leaflet-popup-content .logo {
    text-align: center;
}

.leaflet-popup-content .logo img{
    height: 50px;
}

.leaflet-popup-content .title {
    font-size: 1.167em;
    font-weight: bold;
    margin: 5px 0;
    text-align: center;
}

.leaflet-popup-content .title a {
    font-size: 1.143em;
    margin-left: 5px;
    position: relative;
    top: 1px;
}

.leaflet-popup-content .row {
    display: table-row;
}

.leaflet-popup-content .row .icon {
    display: table-cell;
    padding: 1px 5px 0 0;
    text-align: center;
    vertical-align: top;
}

.leaflet-popup-content .row .icon i {
    font-size: 1.333em;
}

.leaflet-popup-content .row .details {
    display: table-cell;
    font-size: 1.083em;
    padding-bottom: 5px;
    vertical-align: middle;
}

.leaflet-popup-content .row .details.schedule table {
    border-collapse: collapse;
}

.leaflet-popup-content .row .details.schedule table tbody th,
.leaflet-popup-content .row .details.schedule table tbody td {
    padding: 0 1px;
}

.leaflet-popup-content .row .details.schedule table tbody td span + span {
    margin-left: 5px;
}

.leaflet-popup-content .row .details.prices span {
    display: block;
}

html #legend, body #legend {
  background: rgba(255, 255, 255, 0.7);
  bottom: 5px;
  color: #333;
  left: 5px;
  padding: 5px;
  position: absolute;
  z-index: 500;
  line-height: 0;
}

html #legend .marker-room, body #legend .marker-room {
  display: table;
}

html #legend .marker-room+.marker-room, body #legend .marker-room+.marker-room {
  margin-top: 5px;
}

html #legend .marker-room .icon, body #legend .marker-room .icon {
  display: table-cell;
  padding-right: 5px;
  vertical-align: middle;
}

html #legend .marker-room .icon img, body #legend .marker-room .icon img {
  width: 15px;
}

html #legend .marker-room .text, body #legend .marker-room .text {
  display: table-cell;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 14px;
  vertical-align: middle;
}

@media screen and (max-width: 900px) {
    #map-container {
        padding-bottom: 100%;
    }
}

@media screen and (max-width: 540px) {
    #map-container {
        padding-bottom: 160%;
    }

    html #legend, body #legend {
        left: auto;
        right: 0;
        bottom: 16px;
        line-height: 0px;
    }

    html #legend .marker-room, body #legend .marker-room {
        display: inline-block;
        margin: 0!important;
    }

    html #legend .marker-room .text, body #legend .marker-room .text {
        font-size: 13px;
    }
}