/* Дополнения к сохранённой теме; визуальная проверка — фаза 4. */

/* Общий футер растёт вместе со сквозным блоком. */
#bottomWrapper {height:auto;min-height:140px;}
#footer {height:auto;min-height:10px;}

/* Читаемая раскладка старых архивных страниц с абсолютным меню. */
body.archiv-blanik { background:#07172c; color:#222; margin:0; font:16px/1.6 Arial,sans-serif; }
body.archiv-blanik > div:first-of-type {width:min(1024px,100%) !important; background:#f4f0e7;}
.archiv-blanik #table1 {width:100%;height:auto;}
.archiv-blanik #table1 > tbody > tr > td {height:auto; background:#f4f0e7 !important; padding:24px;}
.archiv-blanik #menu {position:static;display:flex;flex-wrap:wrap;gap:8px;width:auto;height:auto;overflow:visible;margin:0 0 28px;padding:16px;background:#09213c;}
.archiv-blanik #menu > li.uroven1 {position:static;float:none;padding:0;margin:0;background:none;}
.archiv-blanik #menu > li > a {padding:8px 12px;color:#f4dfb6;}
.archiv-blanik #menu ul.uroven2, .archiv-blanik #menu .cl {display:none;}
.archiv-blanik #obsah {position:static !important;width:auto !important;height:auto !important;overflow:visible;max-width:850px;margin:auto;}
.archiv-blanik #obsah p {font-size:16px;line-height:1.6;margin:0 0 16px;}
.archiv-blanik #obsah a {color:#174d79;}
.archiv-blanik .romlifooter, .archiv-blanik .romlifooter a {color:#f4dfb6;}

#footer a {color:#e8c98e;}

#topnav {height:auto;min-height:40px;}
#topnav ul {display:flex;flex-wrap:wrap;max-width:100%;height:auto;}
#topnav ul li {float:none;flex:1;}
#topnav ul li a {float:none;padding:0 18px;white-space:nowrap;}
#content {min-height:0;}
