@media (max-width:640px) {
  .wrap_results #map {
    width: 100vw;
  }

  .wrap_results #matrix, .wrap_results #card {
    max-width: calc(100vw - 10%);
    margin: 18px 5%;
    float: none;
    border-radius: 6px;
    box-shadow: 0 10px 10px 1px hsl(0deg 0% 48% / 50%);
    /* position over canvas: */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    min-height: 95vh;
  }

  .wrap_results #matrix {
    top: 47%;
  }

  #matrix .container {
    height: 92vh;
    overflow-y: auto;
    box-sizing: inherit;
    flex: 1 1 0;
    margin-bottom: 18px;
    padding: 0;
  }

  .card-image {
    display: none;
  }

  .layout-landscape-pane-toggle[data-v-96b30784] {
    display: none !important;
  }

  #card.active {
    position: relative;
    top: 46%;
    min-height: 48vh;
  }

  #card.active .card-image {
    display: flex;
    width: 61vw;
    position: absolute;
  }

  #card.active .has-shadow.navbar.is-transparent.mapme-theme__toolbar {
    top: -1px;
    position: fixed;
    width: 100vw;
    left: 0px;
  }

  .card.is-flat.section-details.mapme-theme__section-details, .card.is-flat.section-details.mapme-theme__section-details div {
    width: calc(100vw - 10%);
  }

  iframe#miniframe {
    width: calc(100vw - 10% - 1px);
    overflow: auto;
    /*height:calc(100vw - 10% - 1px * (19 / 29));*/
    height: 37vh;
  }

  hr.has-background-grey {
    margin-right: 6%;
  }

  .media-embed.has-background-dark.mapme-theme__has-background-dark.media-gallery-item.media-gallery-item-embed.is-16by9.is-clipped {
    width: calc(100vw - 10% - 20px);
    overflow: hidden;
    border: 11px solid rgba(36,36,36,1);
    /* height: fit-content;*/
    margin-top: 18px;
  }

  #card .overlay-gallery-link[data-v-4ad8641c] {
    /*bottom: 31vh; */
    height: 55px;
    /* left: calc(88vw - 15%); */
    position: relative;
    /* right: 79px; */
    left: calc(34vw - 10% );
    /* right: 133px; */
    top: 18px;
  }

  #dialog, #dialog div {
    height: 96vh !important;
  }

  .title.is-marginless.is-spaced.is-size-5-mobile.is-size-4.mapme-theme__section-details-title {
    font-weight: 400;
    font-size: 17px;
    margin-top: 71px;
  }

  .section-details-content.mapme-theme__section-details-content {
    position: relative;
    top: 266px;
    left: 10px;
  }

  .sections-list-item.is-clipped.is-flat.is-shadowless.mapme-theme__sections-list-item.is-shadowless.is-story-layout {
    border-bottom: 1px solid #7a7a7a;
  }

  .sections-list-item--title-marker-wrapper {
    float: left;
  }

  .sections-list-item--title-marker-wrapper .sections-list-item-markers {
    margin: 0;
  }

  .sections-list-item-content.mapme-theme__sections-list-item-content.has-cover.is-story-layout {
    position: relative;
    top: 10px;
  }

  .button-view-plans {
    display: none;
  }

  img.dtlogo {
    margin: 0 auto;
    display: flex;
  }

  .media-embed.has-border.has-background-dark.mapme-theme__has-background-dark.media-gallery-item.media-gallery-item-embed {
    width: 86px;
    height: 46px;
    border-radius: 0;
    background-color: #363636;
    top: -4px;
    position: relative;
    right: 10px;
    float: right;
    display: flex;
  }

  span.material-design-icon.play-circle-icon.media-embed-service-logo.media-embed-service-logo {
    left: 50%;
    transform: translate(-50%,-50%);
    height: auto;
    position: absolute;
    top: 50%;
    color: white;
  }

  .flex-grow-1.is-clipped.h-100 {
    padding-top: 0px;
  }

  .found_results .item .title {
    top: -27px;
    left: 53px;
    font-size: 17px;
    font-weight: normal !important;
  }

  .found_results .item {
    clear: both;
  }

  .found_results .item.active {
    background-color: rgba(0,0,0,.1);
    height: 57px;
  }

  .found_results .item.active img {
    background-color: rgba(0,0,0,0);
  }  
/*#matrix > .item:first-of-type {
    padding-top: 69px;
    border-top: 1px solid #7a7a7a;
}*/
  .drag-handle {
    align-items: center;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    display: flex;
    justify-content: center;
    position: absolute;
    width: calc(100vw - 11%);
    background-color: white;
    z-index: 4;
    height: 40px;
  }

  .drag-handle .drag-handle-icon {
    background-color: #7a7a7a;
    height: 3px;
    margin-bottom: 6px;
    margin-top: 15px;
    position: relative;
    transition: transform .3s;
    width: 20px;
    will-change: transform;
    /*left:calc(50vw - 36px);*/;
  }

  .drag-handle.thick .drag-handle-icon {
    height: 4px;
  }

  .drag-handle .drag-handle-icon.drag-handle-icon-right {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    right: 1px;
  }

  .fm_bar, .wrap_results {
    width: 100%;
  }

  .fm_bar select {
    margin-top: 0px;
    border: none;
    border-top: 2px solid #dcddde;
    height: 30px;
  }

  .bottompartform h2 {
    border-bottom: none;
    border-top: 2px solid #dcddde;
    display: inline-block;
    width: 95%;
  }

  .formtitlebor {
    border: none;
  }

  .newdesignsub {
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 0px;
    font-size: 18px;
  }

  #road_name {
    margin-top: 5px;
  }

  #sel_floor {
    border-bottom: 2px solid #e5e5e5;
  }

  .bookthanksinner {
    height: auto !important;
    max-width: 250px !important;
  }
  .thisform, .newdesignsub, .fs {
    display: none;
  }
}