/**
  * File: css/tablet.css
  * Last mod: 2021-12-22 sec45
 **/

@media screen and (min-width:500px) and (max-width:1200px) {
  body .mm-nav a {
    font-size: 12pt;
  }

  body .mm-logo-text {
    font-size: 14pt;
  }

  body .mm-logo-link {
    padding-left: 5px;
  }

  body .mm-hero-text {
    position: relative;
    transform: none;
    left: 0;
    right: 0;
    padding-bottom: 0;
  }

  body .mm-hero {
    margin-bottom: 0;
    height: auto;
    padding-top: calc((100vw / (1800 / 400)) + 45px);
  }

  body .mm-hero .mm-waves-hero {
    display: none;
  }

  body .mm-hero .mm-book-now {
    position: static;
    max-width: 250px;
    margin: 0 auto;
    transform: translateY(50%);
  }

  body .mm-secondary-menu,
  body .mm-rooms-menu.mm-secondary-menu {
    width: auto !important;
    margin-top: 45px;
    position: static;
    transform: none;
  }

  body .mm-secondary-menu ul, ul.mm-rooms-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  body .mm-secondary-menu li {
    float: none;
    width: auto;
  }

  body #main {
    padding-top: 0;
  }

  #main .mm-primary {
    margin-bottom: 20px;
  }

  /* START: Place contact details at top instead of falling under */
  .type-contact #main .mm-attractions-page .mm-primary {
    display: flex;
    flex-direction: column;
  }

  .type-contact #main .mm-attractions-page .mm-primary > .mm-right {
    order: 1;
    padding-left: 0;
  }

  .type-contact #main .mm-attractions-page .mm-primary > .mm-left {
    order: 2;
  }

  .type-contact #main .mm-attractions-page::before {
    text-align: center;
    display: block;
    content: "Contact Us";
    font-family: var(--title-font);
    font-size: 28pt;
    color: #000;
    font-weight: 400;
    padding: 0 15px;
  }

  .type-contact #main .mm-primary h1 {
    display: none;
  }

  body.type-contact .mm-rooms-waves {
    display: none;
  }
  /* END */

  #main .mm-primary .mm-left,
  #main .mm-secondary .mm-left {
    padding-left: 10px;
    padding-right: 10px;
  }

  #main .mm-primary .mm-right,
  #main .mm-secondary .mm-right {
    padding-top: 10px;
  }

  #main .mm-primary .mm-right {
    margin: 20px auto;
    max-width: 50ch;
    display: block;
  }

  #main .mm-room-features {
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 10px;
  }

  #main .mm-room-features .mm-main,
  #main .mm-room-features .mm-photo {
    margin: 50px;
    width: auto;
  }

  #main .mm-room-features .mm-photo {
    text-align: center;
    max-width: none;
    position: static;
  }

  #main .mm-room-features .mm-about {
    min-height: 0;
    max-width: none;
    position: static;
  }

  #main .mm-room-features h2 {
    margin-top: 0;
  }

  #main .mm-room-features .mm-about div {
    max-width: 50ch;
  }

  #main .mm-primary .mm-left,
  #main .mm-secondary .mm-left {
    max-width: 50ch;
    margin: 10px auto;
    display: block;
  }

  #main .mm-primary .mm-left > div,
  #main .mm-secondary .mm-left > div {
    max-width: none;
  }

  #main .mm-secondary .mm-right {
    display: block;
    text-align: center;
    padding-left: 0;
    max-width: none;
  }

  #main .mm-secondary .mm-right img {
    position: static;
    max-width: 100%;
  }

  #main .mm-secondary,
  #main .mm-boxes {
    margin-bottom: 20px;
  }

  #main .mm-boxes .mm-left,
  #main .mm-boxes .mm-right,
  #main .mm-boxes .mm-middle {
    margin: 20px auto;
    display: block;
  }

  #main .mm-features {
    padding: 20px;
  }

  body .mm-footer {
    margin: 0 10px;
  }

  body .mm-footer > .mm-right {
    display: block;
    width: auto;
    margin-left: 40px;
    margin-right: 40px;
  }

  body .mm-footer > .mm-left > .mm-left,
  body .mm-footer > .mm-left > .mm-right {
    display: block;
    width: auto;
  }

  body .mm-footer > .mm-left {
    display: block;
    margin: 10px auto;
  }
}

@media screen and (min-width: 500px) and (max-width: 1000px) {
  #main .mm-attractions-attraction {
    margin: 0 auto;
    width: 500px;
  }


  #main .mm-rooms-page .mm-rooms-features {
    flex-wrap: wrap;
  }

  #main .mm-rooms-room {
    display: block;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
  }

  #main .mm-rooms-desc {
    margin: 20px auto;
    padding: 300px 20px;
    padding-bottom: 10px;
  }

  #main .mm-rooms-image {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }


}