/* Keep legacy product descriptions inside the mobile viewport. */
#content {
    box-sizing: border-box;
    max-width: 100%;
}

.account {
    box-sizing: border-box;
    max-width: calc(100% - 3px);
}

.item_content,
.item_content * {
    box-sizing: border-box;
    max-width: 100% !important;
}

.item_content table {
    width: 100% !important;
}

.item_content div[style*="width: 700px"] {
    width: 100% !important;
}

.item_content img {
    height: auto !important;
}

/* The legacy gallery skin calculates a desktop-sized minimum table width. */
#content > table {
    max-width: 100% !important;
    table-layout: fixed;
    width: 100% !important;
}

form[name="fboardlist"],
form[name="fboardlist"] table {
    max-width: 100% !important;
    table-layout: fixed;
    width: 100% !important;
}

form[name="fboardlist"] img {
    height: auto !important;
    max-width: 100% !important;
}
