/* Keep the legacy desktop theme. Stack its fixed columns on smaller screens. */
@media (max-width: 1000px) {
  body { overflow-wrap: anywhere; }
  #container, #container2 { background: #fff !important; }
  div#header, div#header2, div#subheader, div#content,
  div#header2_top, div#header2_bottom, div.footer_hold, div.footer_bottom {
    box-sizing: border-box;
    width: 100%;
    height: auto;
  }
  div#header, div#header2 { background: #17364a; }
  div#header2_bottom { padding: 12px 16px; }
  div#footer { height: auto; }
  div.header_block, div.header_block2, div.subheader_block,
  div.content_left, div.content_left2, div.content_right,
  div.footer_left, div.footer_mid, div.footer_right,
  div.lefthalf, div.righthalf, div.lefthalf2, div.righthalf2 {
    box-sizing: border-box;
    float: none;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 16px;
  }
  div.header_block img, div.header_block2 img, div#header2 img { padding-left: 0; }
  div.content_right, div.subheader_block { background: #f2f5f6; }
  div.footer_left, div.footer_mid, div.footer_right { background: #333; }
  div.content_highlight, div.recentproj, p.h7, p.h8, span.content_tab1,
  span.content_tab2, .imgholder, .textholder { box-sizing: border-box; max-width: 100%; }
  div.recentproj { min-height: 107px; height: auto; }
  img, iframe, embed, object, input, select, textarea { box-sizing: border-box; max-width: 100%; }
  .content_left img, .content_left2 img, .content_right img { height: auto; }
  form input[type=text], form input[type=email], form input[type=tel], form textarea { font-size: 16px; }
  #content fieldset, #content fieldset ul, #content fieldset li,
  #content fieldset div, #content fieldset textarea {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }
  ul.menu { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; }
  ul.menu2 { display: flex; flex-wrap: wrap; gap: 8px 14px; }
  ul.menu li, ul.menu2 li { margin: 0; }
  ul.menu li a:link, ul.menu li a:visited, ul.menu li a:hover,
  ul.menu2 li a:link, ul.menu2 li a:visited, ul.menu2 li a:hover {
    display: inline-block;
    box-sizing: border-box;
    width: auto;
    height: auto;
    padding: 8px 10px;
    background: #234b60;
    border-radius: 4px;
  }
  p.footertext1, p.footertext2 { float: none; display: block; }
}
