/* Makes the old fixed-width table pages (hotel/homestay/resort micro-sites) usable on phones */

img { max-width: 100%; height: auto; }
table { max-width: 100%; }
td { overflow-wrap: break-word; word-wrap: break-word; }

@media (max-width: 767px) {
    body { margin: 0; overflow-x: hidden; }
    table, tbody, tr { display: block; width: 100% !important; height: auto !important; box-sizing: border-box; }
    td { display: block; width: auto !important; height: auto !important; box-sizing: border-box; }
    td[background] { background-size: cover; }
    td { padding-left: 6px; padding-right: 6px; }
    font[size="1"], .style41 { font-size: 13px !important; line-height: 1.5; }
    iframe { width: 100% !important; }
    img[align="left"], img[align="right"], img[style*="float"] { float: none !important; display: block; margin: 8px auto; }
    [align="justify"], [style*="justify"], p, .div6 .style1 { text-align: left !important; }

    /* Club 7: fixed 950px banner div and 800px inner table */
    .div2 { width: auto !important; height: 0 !important; padding-bottom: 31.5%; background-size: cover; margin-right: 8px; }
    .t1 { width: 100% !important; height: auto !important; }
}
