#mobile-floorplan { display: none; }

.b-info__content.mobile { display: none; }
.b-info__content.desktop .b-help__intro { text-align: center; }

.b-floor__btn-info::after { content: "Floor-plan"; }
.close-btn.mobile { display: none; }
.close-btn.desktop { display: block; }

/* all touch devices */
@media (-moz-touch-enabled), (pointer:coarse), (hover:none) {
  .b-floor__btn-info::after { content: "Navigation"; }

  .controls__btn.desktop { display: none; }

  .close-btn.desktop { display: none; }
  .close-btn.mobile { display: block; }

  .b-info__content.desktop { display: none; }
  .b-info__content.mobile { display: block; }

  .b-help__intro, .b-help__label, .b-map__intro, .b-typo__intro { font-size: 20px; }

  .b-info__header { padding: 20px 0; }

  #desktop-floorplan {
    display: none;
  }

  #mobile-floorplan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 140px auto 40px;
    grid-gap: 2em;
  }

  .mobile-floorplan__content {
    width: 90%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-gap: 1em;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: min-content;
  }

  .mobile-floorplan__header {
    background: #373737;
    color: #fff;
    text-align: center;
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
  }

  .mobile-floorplan__thumb { text-align: center; }
  .mobile-floorplan__thumb img {
    width: 100%;
    margin: auto;
    cursor: pointer;
  }

  .mobile-floorplan__section-title {
    grid-column-start: 1;
    grid-column-end: 4;
    line-height: 1;
    font-size: 18px;
    font-family: "Gill Sans Medium";
    color: #96341e;
  }
}


@media only screen and (max-width: 450px) {
/*  .modal {
    background: rgba(255, 255, 0, .8);
  }*/

  .b-info__title { font-size: 22px; }
  .modal__btn-back {
    top: 0;
    line-height: 40px;
  }
  
  .b-typo__intro    { font-size: 22px; }
  .b-into__hlf      { width: 120px; }
  .b-into__tagline  { width: 90%; }
  .b-into__logo     { margin-bottom: 44px; }
  .b-into__title    {
    font-size: 26px;
    padding-bottom: 32px;
  }
  .b-into__cta      { font-size: 24px; }

  .b-into__footer { padding: 20px 16px; }

}

@media only screen and (min-width: 451px) and (max-width: 600px) {
/*  .modal {
    background: rgba(0, 0, 255, .8);
  }*/

  .b-info__title { font-size: 24px; }
  .modal__btn-back {
    top: 0;
    line-height: 40px;
  }
  
  .b-typo__intro    { font-size: 22px; }
  .b-into__hlf      { width: 120px; }
  .b-into__tagline  { width: 360px; }
  .b-into__logo     { margin-bottom: 44px; }
  .b-into__title    { font-size: 40px; }
  .b-into__cta      { font-size: 24px; }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
/*  .modal {
    background: rgba(0, 255, 255, .8);
  }*/

  .b-info__title { font-size: 24px; }
  .modal__btn-back {
    top: 0;
    line-height: 40px;
  }
  
  .b-typo__intro    { font-size: 22px; }
  .b-into__hlf      { width: 120px; }
  .b-into__tagline  { width: 360px; }
  .b-into__logo     { margin-bottom: 44px; }

  #mobile-floorplan { grid-template-rows: 120px auto 40px; }
}

@media only screen and (min-width: 769px) and (max-width: 992px) {
/*  .modal {
    background: rgba(255, 0, 255, .8);
  }*/

  .modal__btn-back { top: 6px; }
  
  .b-info__title    { font-size: 28px; }
  .b-into__tagline  { width: 480px; }
}



@media only screen and (max-height: 450px) {
 /* .modal {
    background: rgba(255, 255, 88, .8);
  }*/

  .b-into__title    {
    font-size: 26px;
    padding-bottom: 22px;
  }
  
  .b-into__cta      { font-size: 24px; }
  .b-info__title    { padding: 32px; }
}

@media only screen and (min-height: 451px) and (max-height: 600px) {
 /* .modal {
    background: rgba(0, 0, 255, .8);
  }*/
  
}

@media only screen and (min-height: 601px) and (max-height: 768px) {
 /* .modal {
    background: rgba(0, 255, 255, .8);
  }*/
  
}

@media only screen and (min-height: 769px) and (max-height: 992px) {
 /* .modal {
    background: rgba(255, 0, 255, .8);
  }*/
}
