/* Match the portal's mayak without changing SMF's page styles. */
#toppanel { margin: 0; padding: 0; color: #00004d; font: 18px/normal "Times New Roman",Times,"Nimbus Roman No9 L",FreeSerif,"Liberation Serif",serif; }
#toppanel, #toppanel *, #poisk, #poisk * { box-sizing: content-box; }
#toppanel #panel { border: 0; padding: 0; font: inherit; }
#toppanel #panel .content { display: block; height: 1%; overflow: visible; border: 0; line-height: normal; }
#toppanel #panel .content::after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
#toppanel #panel h1 { padding: 0; font-family: Palatino,"Palatino Linotype",Palladio,"URW Palladio L","Liberation Serif",Times,serif; font-style: italic; font-weight: bold; line-height: normal; }
#toppanel #panel h2 { padding: 0; font-size: 16px; font-style: italic; line-height: normal; }
#toppanel #panel ul { padding-top: 0; padding-right: 0; padding-bottom: 0; }
#toppanel #panel li { display: list-item; margin: 0; padding: 0; }
#toppanel .tab ul { padding-top: 0; padding-right: 0; padding-bottom: 0; list-style: none; }
@media(max-width:640px) {
 #toppanel #panel { height: auto !important; }
 #toppanel #panel .content { width: 100% !important; }
}
#toppanel #panel .ya-site-form table { box-sizing: border-box; }
#toppanel #panel .ya-site-form table:not(.ya-site-form__wrap) { color: #00004d; }
#toppanel #panel .ya-site-form td { color: #00004d; }
#toppanel #panel .ya-site-form input { font: 12px/normal Arial; height: auto; min-height: 0; vertical-align: baseline; border-radius: 0; box-shadow: none; }
#toppanel #panel .ya-site-form input.ya-site-form__input-text { padding: 1px 2px; }
#toppanel #panel .ya-site-form input.ya-site-form__submit { box-sizing: border-box; padding: 1px 6px; border: 2px outset #000; background: #efefef; }
#toppanel #panel ul.ya-site-suggest-items { padding-right: 1px; }
