/* Loaded only by the retired legacy media sidebar. Department navigation,
   the homepage, CMS and the new website do not load this stylesheet. */
#main #sidebar {
    display: none;
}

#main #content {
    float: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#main #content #file,
#main #content #news_pr,
#main #content #announce,
#main #content #procure,
#main #content #news,
#main #content #procure_old,
#main #content #egp {
    float: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Some list pages set the old 650px column directly on the box. */
#main #content .file_box,
#main #content .news_pr_box,
#main #content .announce_box,
#main #content .procure_box,
#main #content .news_box,
#main #content .procure_old_box,
#main #content .egp_box {
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
}

#main #content .file_box > h3,
#main #content .news_pr_box > h3,
#main #content .announce_box > h3,
#main #content .procure_box > h3,
#main #content .news_box > h3,
#main #content .procure_old_box > h3,
#main #content .egp_box > h3 {
    width: auto;
    height: auto;
    min-height: 33px;
    box-sizing: border-box;
    line-height: 1.6;
    padding-top: 5px;
    padding-bottom: 5px;
    overflow-wrap: anywhere;
    background-size: 100% 100%;
}

#main #content .content {
    min-width: 0;
    overflow-wrap: break-word;
}

#main #content img,
#main #content iframe,
#main #content video,
#main #content object,
#main #content embed {
    max-width: 100%;
}

#main #content img[width]:not([height]) {
    height: auto;
}

/* Historical prose has a fixed width in its inline style. Let it reflow
   while retaining the author's indentation and image alignment. */
#main #content p[style*="width: 600px"] {
    width: auto !important;
    margin-right: 40px;
}

#main #content a:focus-visible,
#main #content button:focus-visible,
#main #content input:focus-visible,
#main #content select:focus-visible {
    outline: 3px solid #744084;
    outline-offset: 3px;
}
