/* /asp/EnableAll.asp (the Cute Editor demo) sits in the /asp/ frame. Its old table layout keeps the sidebar and the
   editor column, with fixed widths so the middle column no longer stretches and the editor scrolls inside its column.
   Loaded last, after the frame stylesheets and legacy-demo-ui.css. */

.rs-classic-demo #Common{padding:0}
.rs-classic-demo #Common > table{width:100%;max-width:1600px;margin:0 auto;padding:0 clamp(20px,4vw,64px);box-sizing:border-box;table-layout:fixed;border-collapse:separate}
.rs-classic-demo #leftcolumn{width:250px;vertical-align:top}
.rs-classic-demo #leftcolumn + td:not([valign]){width:16px}
.rs-classic-demo #Common > table > tbody > tr > td[valign="top"]{min-width:0;overflow-x:auto;vertical-align:top}
.rs-classic-demo #leftcolumn .leftcolumntitle{margin-top:16px;font-size:15px;color:#17213a}
.rs-classic-demo #leftcolumn ul{margin:6px 0 0;padding-left:18px}
.rs-classic-demo #leftcolumn a{color:#0b57d0;font-size:14px}

@media (max-width:760px){
  .rs-classic-demo #Common > table,
  .rs-classic-demo #Common > table > tbody,
  .rs-classic-demo #Common > table > tbody > tr{display:block;width:100%}
  .rs-classic-demo #Common > table > tbody > tr > td{display:block;width:auto!important}
  .rs-classic-demo #leftcolumn{width:auto}
  .rs-classic-demo #leftcolumn + td:not([valign]){display:none}
}

/* Header at 901-1180px: the Download button sits beside View pricing, so the links and buttons are tightened to fit one row. */
@media (min-width:901px) and (max-width:1180px){
  .sx-site .sx-bar{gap:16px}
  .sx-site .sx-nav a{padding:8px 6px}
  .sx-site .sx-nav a.sx-nav-tools{margin-left:6px;padding-left:10px}
  .sx-site .sx-button,.sx-site .sx-button-outline{white-space:nowrap;padding:0 12px}
}

/* CuteEditor's own controls (toolbar buttons and the Normal / HTML / Preview tabs) are input and img elements. The site's
   form styles (richscripts-2026.css) give every input a border, a minimum height and padding, which made the toolbar tall and boxed. */
.rs-classic-demo [id^="CE_"] input{min-height:0;padding:0;border:0;border-radius:0;background-color:transparent}
/* The bottom bar's left cell is too narrow for Normal, HTML and Preview, so "Preview" wrapped onto a second line. */
.rs-classic-demo [id^="CE_"] td.CuteEditorBottomBarContainer:not(:has(table)){width:220px;white-space:nowrap}
