/* The Drawdown page has its own Bootstrap layout and only borrows the site
   header. main.css styles the page chrome for its own text column, which
   this undoes for the parts the page lays out itself. */

/* main.css gives every <p> a fixed 900px width, which it cancels again under
   .content — a class this page does not use. Without that the info panel and
   the table controls overflow their boxes. */
.panel-group p,
#filter-container p,
.panel-body p,
.info-modal-box p,
#legend p{
    width: auto;
    max-width: 100%;
    margin: 16px 0;
}

/* Keep the panel and the table inside the page, not the site text column. */
.panel-group{
    box-sizing: border-box;
    max-width: 100%;
}

/* main.css sets the site's reading size (1.125em, line-height 1.6) and 24px
   paragraph margins. The page was built around Bootstrap's 16px/1.5, so under
   the site sheet the info panel grew much taller than before. Restore the
   page's own metrics below the header. */
.panel-group,
#filter-container,
#example-table,
.info-modal-box{
    font-size: 16px;
    line-height: 1.5;
}
.panel-group p,
#filter-container p,
.panel-body p,
.info-modal-box p{
    margin: 10px 0;
}
.panel-body{
    padding: 12px 16px;
}

/* The page keeps the site's 1000px column; its own stylesheet sized the table
   and the info panel for a wider layout, so let them fit the column instead. */
#example-table,
#dataset-row,
.panel-group{
    width: auto;
    max-width: 100%;
}
