@charset "windows-1251";

body{
	background: #f6f6e8;
	color: #000000;
	font: 12px "Verdana",sans-serif;
	margin: 0px 0px 0px 0px;
	padding: 0px;
}
a:link,a:visited{
	color: #4D528C;
	text-decoration: none; font-weight:  normal;
}
a:hover,a:active{
	color: #4D528C;
	text-decoration: underline; font-weight: normal;
}
.page{
	background: #f6f6e8;
	color: #000000;
}
td,th,p,li{
	color: #000000;
	font-size: 13px;
}
.tborder{
	background: #e2e1ea;
	color: #000000;
	border: 1px solid #C9C9C9;
}
.tcat{
	background: #f1d29c;
	color: #000033;
	font-size: 13px;
}
.tcat a:link,.tcat a:visited{
	color: #000033;
	text-decoration: none;
}
.tcat a:hover,.tcat a:active{
	color: #000033;
	text-decoration: underline;
}
.thead{
	background: #F8DEB1;
	color: #000000;
	font-size: 12px;
}
.thead a:link,.thead a:visited{
	color: #000000;
	text-decoration: none;
}
.thead a:hover,.thead a:active{
	color: #000000;
	text-decoration: underline;
}
.tfoot{
	background: #F8DEB1;
	color: #000000;
	font-size: 12px;
}
.tfoot a:link,.tfoot a:visited{
	color: #000000;
	text-decoration: none;
}
.tfoot a:hover,.tfoot a:active{
	color: #000000;
	text-decoration: underline;
}
.alt1,.alt1Active,.alt2{
	background: #FAFAFA url(/pic/sbg.gif) top right repeat-x;
	color: #000000;
	font-size: 13px;
	border-left: 1px solid #C9C9C9;
	border-top: 1px solid #C9C9C9;
}
.alt1 a:link,.alt1Active a:link,.alt2 a:link,
.alt1 a:visited,.alt1Active a:visited,.alt2 a:visited{
	color: #4D528C;
	text-decoration: none;
}
.alt1 a:hover,.alt1 a:active,.alt1Active a:hover,.alt1Active a:active,.alt2 a:hover,.alt2 a:active{
	color: #4D528C;
	text-decoration: underline;
}

textarea,.bginput{
	font: 13px "Verdana",sans-serif;
}
.button{
	font: 12px "Verdana",sans-serif;
}
select{
	font: 12px "Verdana",sans-serif;
}
option,optgroup{
	font-size: 12px;
	font-family: "Verdana",sans-serif;
}
.smallfont{
	font-size: 12px;
}
.time{
	color: #666686;
}
.navbar{
	font-size: 12px;
}
.highlight{
	background: #FFFF00;
	color: #FF0000;
	font-weight: bold;
}
.panel{
	background: #f6f6e8;
	color: #000000;
	padding: 10px;
	border: 2px outset;
}
.panelsurround{
	background: #EBEBD8;
	color: #000000;
}
legend{
	color: #22229C;
	font-size: 12px;
}
.forum_menu_control{
	background: #f1d29c;
	color: #000000;
	font-size: 12px;
	font-weight: bold;
	padding: 3px 6px 3px 6px;
	white-space: nowrap;
}
.forum_menu_control a:link,.forum_menu_control a:visited{
	color: #000000;
	text-decoration: none;
}
.forum_menu_control a:hover,.forum_menu_control a:active{
	color: #000000;
	text-decoration: underline;
}
.forum_menu_popup{
	z-index:1000;
	background: #D1D3E2;
	color: #000000;
	font-size: 12px;
	border: 1px solid #C9C9C9;
}
.forum_menu_option{
	background: #F5F5FF;
	color: #4D528C;
	font-size: 12px;
	white-space: nowrap;
	cursor: pointer;
	border-left: 1px solid #FFFFFF;
	border-top: 1px solid #FFFFFF;
}
.forum_menu_option a:link,.forum_menu_option a:visited{
	color: #4D528C;
	text-decoration: none;
}
.forum_menu_option a:hover,.forum_menu_option a:active{
	color: #4D528C;
	text-decoration: none;
}
strong{ font-size: 13px;font-weight: bold;}
.u,.u a,a.u,a.u:link,a.u:active,a.u:visited{
font-weight: bold; font-size: 13px; text-decoration:none;}
.menu a,a.menu,a.menu:link,a.menu:active,a.menu:visited{font-size: 12px;font-weight: bold;}
.nowrap,
:where(td.memberlist-cell-4) {white-space:nowrap;}
.inlineimg{vertical-align: middle;}
.bb-block{display:block;box-sizing:border-box;min-width:0;max-width:100%;margin:8px 10px;padding:0;border:1px solid #aaa;background:#fafafa;color:#000;font-family:Verdana,Arial,sans-serif;font-size:12px;font-weight:400;font-style:normal;line-height:1.4;text-align:left;text-indent:0;white-space:normal;overflow-wrap:anywhere;}
.bb-block > .bb-block-title{margin:0;padding:5px 10px;color:#405388;font-size:12px;font-weight:400;font-style:normal;line-height:1.4;text-align:left;}
.bb-block > .bb-block-content{box-sizing:border-box;min-width:0;max-width:100%;margin:0;padding:6px 10px 10px;overflow-wrap:anywhere;}
.bb-spoiler > summary.bb-block-title{display:list-item;cursor:pointer;list-style-position:inside;}
.bb-block .bb-block{margin:8px 0;}
.bb-block img{max-width:100%;height:auto;}
.bb-block pre{max-width:100%;overflow:auto;overflow-wrap:normal;}
img.f-avatar{ max-width:100px; height:auto; }
table.f-mt3{ margin-top:3px; }
table.f-mb3{ margin-bottom:3px; }
.f-pageframe{width:100%;text-align:left;}
.f-pagepad{padding:0 5px;}
.f-right{float:right;}
.f-mt4{margin-top:4px;}
.f-pad3{padding:3px;}
.f-formwidth-usercp{width:500px;}
.pm-messagelist-cell .f-formwidth-usercp{width:520px;}
.f-rulecolour{color:#e2e1ea;}
.f-codebox{margin:0;padding:4px;border:1px inset;width:640px;overflow:auto;}
:where(table.post-form-table),
:where(table.newpost-preview-table),
:where(table.pm-emptyfolder-table),
:where(table.postbit-legacy-table),
:where(table.navbar-table),
:where(table.pm-messagelist-table),
:where(table.pm-messagelist-table-5),
:where(table.pm-showpm-table),
:where(table.footer-table),
:where(table.pm-newpm-table),
:where(table.forumhome-table),
:where(table.forumdisplay-table),
:where(table.forumdisplay-table-6),
:where(table.polloptions-table-table),
:where(table.pollresults-table-table),
:where(table.postbit-first-table),
:where(table.showthread-table-2),
:where(table.postbit-deleted-table),
:where(table.postbit-ignore-table),
:where(table.memberinfo-table),
:where(table.memberlist-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }
:where(table.post-form-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.newpost-preview-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-emptyfolder-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.standard-error-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.postbit-legacy-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.moderation-menu > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.postbit-legacy-table-3 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.navbar-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.navbar-table-4 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-messagelist-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-showpm-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.footer-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-newpm-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.forumhome-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.forumdisplay-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.forumdisplay-table-3 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.polloptions-table-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pollresults-table-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.postbit-first-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.showthread-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.showthread-table-5 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.postbit-deleted-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.postbit-ignore-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.memberinfo-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.memberlist-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.memberlist-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }
:where(td.pm-emptyfolder-cell),
:where(tr.memberinfo-row-2),
:where(tr.memberlist-row),
:where(tr.memberlist-resultsbit-static-row) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.pm-emptyfolder-table-2),
:where(table.navbar-table-3),
:where(table.pm-showpm-table-2),
:where(table.pm-newpm-table-3),
:where(table.memberinfo-table-3) { border-spacing:3px; }
:where(table.pm-emptyfolder-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.standard-error-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.navbar-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.navbar-table-3 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-messagelist-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-messagelist-table-3 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-messagelist-table-4 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-messagelist-table-5 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-showpm-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-newpm-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.pm-newpm-table-3 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.forumdisplay-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.forumdisplay-table-5 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.forumdisplay-table-6 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.showthread-table > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.memberinfo-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.memberinfo-table-3 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.memberlist-table-3 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }
:where(td.memberlist-cell) { text-align:right; text-align:-moz-right; text-align:-webkit-right; }
:where(table.standard-error-table){ border-spacing:0px; width:70%; margin-left:auto; margin-right:auto; }
:where(td.standard-error-cell){ text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.standard-error-table-2){ border-spacing:3px; margin-left:auto; margin-right:auto; }
:where(td.standard-error-cell-2){ text-align:right; text-align:-moz-right; text-align:-webkit-right; }
:where(td.postbit-legacy-cell){ text-align:right; text-align:-moz-right; text-align:-webkit-right; }
:where(tr.postbit-legacy-row),
:where(tr.memberinfo-row),
:where(tr.memberlist-row-3) { vertical-align:top; }
:where(td.postbit-legacy-cell-2){ width:175px; }
:where(table.moderation-menu),
:where(table.postbit-legacy-table-3),
:where(table.navbar-table-4),
:where(table.forumdisplay-table-3),
:where(table.showthread-table-5),
:where(table.memberlist-table-2) { border-spacing:1px; }
:where(td.navbar-cell),
:where(td.memberinfo-cell),
:where(td.memberlist-cell-2) { width:100%; }
:where(table.navbar-table-2),
:where(table.pagenav-table),
:where(table.pm-messagelist-table-6),
:where(table.pm-newpm-table-2),
:where(table.forumdisplay-table-4) { border-spacing:0px; }
:where(tr.navbar-row),
:where(tr.memberlist-row-2) { vertical-align:bottom; }
:where(td.navbar-cell-2){ vertical-align:top; white-space:nowrap; }
:where(td.navbar-cell-3){ white-space:nowrap; }
:where(tr.navbar-row-2){ text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.pagenav-table > :is(tbody, thead, tfoot) > tr > :is(td, th)){ padding:3px; }
:where(td.pm-messagelist-cell){ text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.pm-messagelist-table-2){ border-spacing:3px; width:100%; }
:where(table.pm-messagelist-table-3){ border-spacing:1px; width:100%; }
:where(table.pm-messagelist-table-4),
:where(table.forumdisplay-table-2),
:where(table.showthread-table),
:where(table.memberinfo-table-2),
:where(table.memberlist-table-3) { border-spacing:0px; width:100%; }
:where(tr.pm-messagelist-row){ vertical-align:bottom; }
:where(td.pm-messagelist-cell-2){ text-align:right; text-align:-moz-right; text-align:-webkit-right; }
:where(tr.pm-messagelist-row-2){ vertical-align:top; }
:where(td.pm-messagelist-cell-3){ width:100%; }
:where(table.pm-messagelist-table-6 > :is(tbody, thead, tfoot) > tr > :is(td, th)),
:where(table.forumdisplay-table-4 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:2px; }
:where(td.pm-showpm-cell){ text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(td.footer-cell){ text-align:right; text-align:-moz-right; text-align:-webkit-right; width:100%; }
:where(table.footer-table-2){ width:100%; }
:where(td.pm-newpm-cell){ text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(tr.pm-newpm-row){ vertical-align:top; }
.font-normal{ font-weight:normal; }
:where(td.pm-messagelist-periodgroup-static-cell){ width:100%; }
:where(td.pm-messagelist-periodgroup-static-cell-2){ text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(td.pm-messagelistbit-static-cell){ width:100%; }
:where(td.pm-messagelistbit-static-cell-2),:where(td.pm-messagelistbit-ignore-static-cell){text-align:center;text-align:-moz-center;text-align:-webkit-center;padding:0;}
.fi{display:inline-block;vertical-align:middle;background-image:url("/images/forum-sprite.png?v=10");background-repeat:no-repeat}
.fi-medal-user-gold{width:11px;height:16px;background-position:-2px -18px}
.fi-medal-user-silver{width:11px;height:16px;background-position:-22px -18px}
.fi-medal-author-gold{width:11px;height:16px;background-position:-42px -18px}
.fi-medal-author-silver{width:11px;height:16px;background-position:-62px -18px}
.fi-star-gold{width:16px;height:20px;background-position:-82px -18px}
.fi-star-silver{width:16px;height:20px;background-position:-102px -18px}
.fi-collapse-tcat{width:10px;height:10px;background-position:-114px -2px}
.fi-collapse-tcat_collapsed{width:10px;height:10px;background-position:-114px -50px}
.fi-navbits-finallink{width:30px;height:15px;background-position:-2px -290px}
.fi-navbits-start{width:15px;height:15px;background-position:-34px -290px}
.fi-subscribed{width:10px;height:10px;background-position:-51px -290px}
.fi-menu-open{width:11px;height:11px;background-position:-63px -290px}
.fi-collapse-alt{width:11px;height:11px;background-position:-76px -290px}
.fi-collapse-alt_collapsed{width:11px;height:11px;background-position:-89px -290px}
.fi-pm-new{width:16px;height:20px;background-position:-102px -290px}
.fi-pm-old{width:16px;height:20px;background-position:-2px -312px}
.fi-pm-forwarded{width:16px;height:20px;background-position:-20px -312px}
.fi-pm-replied{width:16px;height:20px;background-position:-38px -312px}
.fi-announcement-new{width:16px;height:20px;background-position:-56px -312px}
.fi-announcement-old{width:16px;height:20px;background-position:-74px -312px}
.fi-baseline{vertical-align:baseline}
.i1.s_dis{width:11px;background-position:-507px 0}
.s_dv{
    background-position: -495px 0px;
    width: 11px;
}
.i1{
    height: 12px;
    background-image: url("/pic/status_icons.png");
    position: relative;
    margin: 0px 0px 0px 2px;
    display: inline-block;
}
.u0,.u0 a,a.u0,a.u0:link,a.u0:active,a.u0:visited{ font-weight:bold; color:#000000 !important; text-decoration:none !important; font-size:11px !important; }
.u1,.u1 a,a.u1,a.u1:link,a.u1:active,a.u1:visited{ font-weight:bold; color:#ce8802 !important; text-decoration:none !important; font-size:11px !important; }
.u2,.u2 a,a.u2,a.u2:link,a.u2:active,a.u2:visited{ font-weight:bold; color:#CC6600 !important; text-decoration:none !important; font-size:11px !important; }
.u3,.u3 a,a.u3,a.u3:link,a.u3:active,a.u3:visited{ font-weight:bold; color:#fb4a01 !important; text-decoration:none !important; font-size:11px !important; }
.u4,.u4 a,a.u4,a.u4:link,a.u4:active,a.u4:visited{ font-weight:bold; color:#8080c0 !important; text-decoration:none !important; font-size:11px !important; }
.u5,.u5 a,a.u5,a.u5:link,a.u5:active,a.u5:visited{ font-weight:bold; color:#4040c0 !important; text-decoration:none !important; font-size:11px !important; }
.u6,.u6 a,a.u6,a.u6:link,a.u6:active,a.u6:visited{ font-weight:bold; color:#3ba914 !important; text-decoration:none !important; font-size:11px !important; }
.u7,.u7 a,a.u7,a.u7:link,a.u7:active,a.u7:visited{ font-weight:bold; color:#af2bad !important; text-decoration:none !important; font-size:11px !important; }
.u8,.u8 a,a.u8,a.u8:link,a.u8:active,a.u8:visited,.u9,.u9 a,a.u9,a.u9:link,a.u9:active,a.u9:visited{ font-weight:bold; color:#a83838 !important; text-decoration:none !important; font-size:11px !important; }
.u0 a:hover,a.u0:hover,.u1 a:hover,a.u1:hover,.u2 a:hover,a.u2:hover,.u3 a:hover,a.u3:hover,.u4 a:hover,a.u4:hover,.u5 a:hover,a.u5:hover,.u6 a:hover,a.u6:hover,.u7 a:hover,a.u7:hover,.u8 a:hover,a.u8:hover,.u9 a:hover,a.u9:hover{ text-decoration:underline !important; }
.s1{ background-position:-144px 0; width:13px; }
.s2{ background-position:-158px 0; width:11px; }
.s4{ background-position:-170px 0; width:12px; }
.s5{ background-position:-183px 0; width:12px; }
.s6{ background-position:-196px 0; width:13px; }
.s7{ background-position:-210px 0; width:6px; }
.s8{ background-position:-217px 0; width:13px; }
.s9-10{ background-position:-231px 0; width:15px; }
.s11{ background-position:-247px 0; width:12px; }
.s13{ background-position:-273px 0; width:10px; }
.s15{ background-position:-284px 0; width:10px; }
.s16{ background-position:-295px 0; width:12px; }
.s17{ background-position:-308px 0; width:11px; }
.s19{ background-position:-320px 0; width:11px; }
.s20{ background-position:-332px 0; width:10px; }
.clr{ clear:both; }
#header{ position: relative; height: 122px; background: #fdefce; margin: 0px 0px 5px 0px; min-width: 1000px;}
#header .toper{ padding: 0px 0px 0px 425px;}
#header .logo{ margin: 0px 0px 0px -415px; float: left; }
#header .logo a img{ height: 98px; width: 413px; margin: 0 0; padding: 0 0; border: none; display: block;}
#header .zan_l{
	width: 40px; height: 216px; position: absolute; z-index: 10; top: 0; left: 0;
	background: url(/pic/l_portiere.gif) no-repeat;
}
#header .zan_r{
	width: 40px; height: 216px; position: absolute; z-index: 10; top: 0; right: 0;
	background: url(/pic/r_portiere.gif) no-repeat;
}
#header .menu{ background: #f1d29c; height: 24px; }
#header .menu ul{ float: left; margin: 2px 0px 0px 48px; padding:0; position: relative; z-index: 3; }
#header .menu ul li{ float: left; list-style: none; position: relative; margin: 0; padding:0;}
#header .menu ul li a{ display: block; color: #5A71B0; font-size: 12px; height: 22px; padding: 2px 8px 0px 8px;text-decoration:none; font-family: tahoma,arial,verdana,sans-serif,Lucida Sans;}
#header .menu ul li:hover a{ background: none repeat scroll 0 0 #FFFFF4; color: #333333; }
#header .menu form{ float: right; margin: 2px 48px 0px 0px; position: relative; }
#header .menu form input.inp{
    background: url("/pic/srch_l.png") no-repeat scroll left top transparent;
    border: 0 none;
    float: left;
    height: 20px;
    line-height: 20px;
    padding: 0 0 0 5px;
    width: 140px;
	margin: 0;
    -webkit-appearance: none;
    border-radius: 0;
	}
#header .menu form .s_submit{
   background: url("/pic/srch_r2.png") no-repeat scroll left top transparent;
    border: 0 none;
    cursor: pointer;
    float: left;
    font-size: 0;
    height: 20px;
    line-height: 1px;
    margin: 0;
    padding: 0;
    text-indent: -9999px;
    width: 101px;
    -webkit-appearance: none;
    border-radius: 0;
}
[hidden]{display:none!important}
.forum_menu_option:hover,.forum-selected{background:#E4E6F5;color:#4D528C}
.forum_menu_option:hover a{color:#4D528C}
.forum-menu-trigger{cursor:pointer}

/* Homepage rows, counters and status icons. */
.sf,.sf a,a.sf,a.sf:link,a.sf:active,a.sf:visited{font-size: 12px;font-weight: normal;}
.forum-lastpost{ width:320px; min-width:320px; max-width:320px; box-sizing:border-box; }
.f-nowrap{ white-space:nowrap; }
:where(td.forumhome-cell){ width:100%; }
td.forum-lastpost:not(.thead){ white-space:nowrap; }
:where(tr.forum-row){ text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(tr.forum-row > td.alt1Active),
:where(td.memberlist-resultsbit-static-cell) { text-align:left; text-align:-moz-left; text-align:-webkit-left; }
:where(tr.forum-row > td.alt1Active > table){ border-spacing:0; }
:where(tr.forum-row > td.alt1Active > table > tbody > tr > td){ padding:0; }
tr.forum-row > td:first-child:not([colspan]){ width:41px; box-sizing:border-box; padding:4px; vertical-align:middle; }
tr.forum-row > td:first-child:not([colspan]) > img{ display:block; margin:0 auto; }
tr.forum-row > td.alt1Active{ padding:4px; }
/* Reserve the same columns before all forum rows have loaded. */
tr.forum-row > td:nth-child(2){ width:100%; }
tr.forum-row > td:nth-child(4){ width:50px; min-width:50px; max-width:50px; box-sizing:border-box; }
tr.forum-row > td:nth-child(5){ width:80px; min-width:80px; max-width:80px; box-sizing:border-box; }
.fi-whos-online{width:30px;height:30px;background-position:-2px -50px}
.fi-stats{width:30px;height:30px;background-position:-38px -50px}
.fi-birthday{width:35px;height:35px;background-position:-74px -50px}
.fi-forum-link{width:32px;height:32px;background-position:-2px -140px}
.fi-forum-new{width:32px;height:32px;background-position:-38px -140px}
.fi-forum-old{width:32px;height:32px;background-position:-2px -176px}

/* Section and topic list. */
.f-lasttime {text-align:right;white-space:nowrap;}
.thread-lastpost { width:180px; min-width:180px; max-width:180px; box-sizing:border-box; }
.forum-thread-count { float:right; font-size:12px; font-weight:normal; white-space:nowrap; }
.forum-presence-table { table-layout:fixed; }
.forum-presence-table > tbody > tr > td, .forum-presence-table > tr > td { width:50%; overflow-wrap:anywhere; }
.forum-presence-table > tbody > tr > td:only-child, .forum-presence-table > tr > td:only-child { width:100%; }
:where(td.forumdisplay-cell) { width:100%; }
:where(td.forumdisplay-cell-2) { white-space:nowrap; }
:where(tr.forumdisplay-row) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(td.forumdisplay-cell-3) { width:100%; text-align:left; text-align:-moz-left; text-align:-webkit-left; }
:where(tr.forumdisplay-row-2) { vertical-align:bottom; }
:where(td.forumdisplay-cell-4) { text-align:right; text-align:-moz-right; text-align:-webkit-right; }
:where(td.forumdisplay-cell-5) { text-align:center; text-align:-moz-center; text-align:-webkit-center; white-space:nowrap; }
:where(td.forumdisplay-cell-6) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(tr.forumdisplay-row-3) { vertical-align:top; }
:where(table.forumdisplay-table-5) { border-spacing:2px; width:100%; }
:where(td.threadbit-deleted-static-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(tr.thread-row > td.sf, tr.thread-row > td.thread-moved) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
.fi-sticky{width:10px;height:10px;background-position:-66px -2px}
.fi-multipage{width:10px;height:12px;background-position:-98px -2px}
.fi-sortasc{width:8px;height:8px;background-position:-2px -40px}
.fi-sortdesc{width:8px;height:8px;background-position:-14px -40px}
.fi-thread{width:16px;height:19px;background-position:-2px -90px}
.fi-thread-hot,.fi-thread_hot{width:16px;height:19px;background-position:-22px -90px}
.fi-thread-hot-lock,.fi-thread_hot_lock{width:16px;height:20px;background-position:-42px -90px}
.fi-thread-hot-lock-new,.fi-thread_hot_lock_new{width:16px;height:20px;background-position:-62px -90px}
.fi-thread-hot-new,.fi-thread_hot_new{width:16px;height:20px;background-position:-82px -90px}
.fi-thread-lock,.fi-thread_lock{width:16px;height:20px;background-position:-102px -90px}
.fi-thread-lock-new,.fi-thread_lock_new{width:16px;height:20px;background-position:-2px -114px}
.fi-thread-moved,.fi-thread_moved{width:16px;height:20px;background-position:-22px -114px}
.fi-thread-moved-new,.fi-thread_moved_new{width:16px;height:20px;background-position:-42px -114px}
.fi-thread-new,.fi-thread_new{width:16px;height:20px;background-position:-62px -114px}
.fi-rating-1{width:54px;height:10px;background-position:-66px -214px}
.fi-rating-2{width:54px;height:10px;background-position:-2px -228px}
.fi-rating-3{width:54px;height:10px;background-position:-66px -228px}
.fi-rating-4{width:54px;height:10px;background-position:-2px -242px}
.fi-rating-5{width:54px;height:10px;background-position:-66px -242px}

.title,.title a,a.title,a.title:link,a.title:active,a.title:visited{font-size:13px;font-weight:bold;}
#inlinemodform tr.forum-selected > td { background-color:#ffffcc; }

.fi-forum-old_lock{width:32px;height:32px;background-position:-38px -176px}

.forum-link-button{border:0;padding:0;background:none;color:#4D528C;font:inherit;font-weight:normal;cursor:pointer;vertical-align:baseline;}
.tfoot .forum-link-button,.forum_menu_control .forum-link-button{color:#000000;}
.forum-link-button:hover,.forum-link-button:focus-visible{text-decoration:underline;}

/* Topic and poll layout from the current forum. */
.f-postspace {padding:0 0 4px;}
:where(td.polloptions-table-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
/* pollresult */
:where(td.pollresult-cell) { width:50%; }
:where(td.pollresult-cell-2) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(td.pollresult-cell-3) { text-align:right; text-align:-moz-right; text-align:-webkit-right; white-space:nowrap; }
:where(td.pollresults-table-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(td.postbit-first-cell) { text-align:right; text-align:-moz-right; text-align:-webkit-right; }
:where(tr.postbit-first-row) { vertical-align:top; }
:where(td.postbit-first-cell-2) { width:175px; }
:where(tr.showthread-row) { vertical-align:bottom; }
:where(td.showthread-cell) { text-align:right; text-align:-moz-right; text-align:-webkit-right; }
:where(td.showthread-cell-2) { width:100%; }
:where(td.showthread-cell-3) { white-space:nowrap; }
:where(td.showthread-cell-4) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(tr.showthread-row-2) { vertical-align:top; }

.topic-viewers{border-spacing:1px;width:100%;}
.topic-viewers td{padding:6px;}

.fi-post-old{width:10px;height:11px;background-position:-2px -2px}

.fi-r-add{width:10px;height:9px;background-position:-2px -336px}

.fi-r-minus{width:10px;height:9px;background-position:-14px -336px}

.fi-post-new{width:10px;height:11px;background-position:-82px -2px}

.fi-firstnew{width:9px;height:9px;background-position:-114px -64px}

.fi-trophy{width:13px;height:16px;background-position:-2px -260px}

.fi-subscribe{width:21px;height:17px;background-position:-26px -260px}

.fi-addpoll{width:21px;height:17px;background-position:-50px -260px}

input.f-postcheck{ vertical-align:middle; padding:0; margin:0 0 0 5px; }

.f-gap-bottom{margin-bottom:3px;}

.f-formwidth{width:640px;}


.popup-page { margin:0; }

/* Table spacing shared by the migrated moderation and poll forms. */
:where(table.post-fields-table){border-spacing:3px}
:where(table.post-subject-table){border-spacing:0}
:where(:is(table.post-fields-table,table.post-subject-table)>:is(tbody,thead,tfoot)>tr>:is(td,th)){padding:0}
.fjsel{background:#3E5C92;color:#E0E0F6}
.fjdpth0{background:#F7F7F7;color:#000}
.f-pad4{padding:4px}
.post-check-all{margin:0}
.post-selection-item{margin:4px 0}

/* Subscription controls reuse the common page and topic components. */
.subscription-title{width:100%}
.subscription-actions,.subscription-pagination{text-align:right}
.subscription-forum-head{text-align:center;vertical-align:bottom}
.subscription-forum-head>td:nth-child(2){width:80%;text-align:left}
.subscription-legend{border-spacing:0}
.subscription-legend td{padding:2px}
.f-gap-top{margin-top:3px}
.f-center{text-align:center}
.post-form-row{vertical-align:top}

/* Cabinet previews use the shared topic, forum and message rows. */
.cabinet-topics{table-layout:fixed}
.cabinet-status{width:26px}
.cabinet-replies{width:90px}
.cabinet-date{width:120px}
.cabinet-date{min-width:120px}
.cabinet-author{width:130px;min-width:130px}
.cabinet-review{width:50%}

/* Current member profile layout. */
:where(td.memberinfo-cell-2) { vertical-align:top; text-align:right; text-align:-moz-right; text-align:-webkit-right; }
#profile-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#profile-main>fieldset.fieldset{min-width:0;margin:0}
.member-avatar-cell{padding-right:7px}
.member-reviews{padding:5px 0}

/* Current member directory layout. */
:where(td.memberlist-cell-3) { text-align:left; text-align:-moz-left; text-align:-webkit-left; white-space:nowrap; }
.memberlist-avatar{max-width:90px;height:auto}

/* Profile forms: rules from the installed forum stylesheet. */
:where(table.modifylist-adduser-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }
:where(table.modifylist-adduser-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }
:where(tr.modifylist-adduser-row) { vertical-align:top; }
:where(td.modifylist-adduser-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.modifylist-removeuser-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }
:where(table.modifylist-removeuser-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }
:where(tr.modifylist-removeuser-row) { vertical-align:top; }
:where(td.modifylist-removeuser-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.modifyoptions-timezone-table) { border-spacing:3px; width:100%; }
:where(table.modifyoptions-timezone-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }
:where(table.modifypassword-table-2) { border-spacing:3px; }
:where(table.modifypassword-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }
:where(table.modifyprofile-birthday-table) { border-spacing:3px; width:100%; }
:where(table.modifyprofile-birthday-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }
:where(table.modifyprofile-birthday-table-2) { border-spacing:0px; }
:where(table.modifyprofile-birthday-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }
:where(table.modifysignature-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }
:where(table.modifysignature-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }
:where(td.modifysignature-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.modifysignature-table-2) { border-spacing:0px; }
:where(table.modifysignature-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }
:where(table.modifyprofile-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }
:where(table.modifyprofile-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }
:where(td.modifyprofile-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.modifyprofile-table-2) { border-spacing:3px; width:100%; }
:where(table.modifyprofile-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }
:where(td.modifyprofile-cell-2) { text-align:right; text-align:-moz-right; text-align:-webkit-right; }
#profileform fieldset.fieldset,
.postbit-quickedit-table > tbody > tr > td > fieldset.fieldset,
.f-formwidth > fieldset.fieldset {box-sizing:border-box;width:100%;min-width:0;margin-left:0;margin-right:0;}
fieldset.fieldset > input.bginput:is([name="title"],[name="subject"]) { width:100%; box-sizing:border-box; }

/* Fieldset actions keep the button and the trailing link in one centered row. */
.f-formwidth > fieldset.fieldset + div:has(> .button):has(> .f-right) {
    margin-top:4px; display:flex; align-items:center; justify-content:space-between;
}
.f-formwidth > fieldset.fieldset + div:has(> .button) > .f-right { float:none; order:1; }

/* Installed guest author controls for topic creation. */
:where(table.newpost-usernamecode-table) { border-spacing:0px; }
:where(table.newpost-usernamecode-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }
:where(td.newpost-usernamecode-cell) { text-align:right; text-align:-moz-right; text-align:-webkit-right; }

/* Installed announcement page table. */
:where(table.announcement-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }
:where(table.announcement-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }

/* Installed staff directory layout. */
table.showgroups-table { width:100%; border-spacing:0; margin:0 auto 14px; }
table.showgroups-table > tbody > tr > td { padding:4px; }
table.showgroups-table > tbody > tr > td:last-child:not([colspan]) { width:107px; box-sizing:border-box; white-space:nowrap; }
table.showgroups-table > tbody > tr > td.showgroups-name { width:15%; white-space:nowrap; }

/* Installed account recovery and redirect layout. */
:where(table.lostpw-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }
:where(table.lostpw-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }
:where(td.lostpw-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.lostpw-table-2) { border-spacing:3px; }
:where(table.lostpw-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }
:where(table.standard-redirect-table) { border-spacing:0px; width:70%; margin-left:auto; margin-right:auto; }
:where(table.standard-redirect-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }
:where(td.standard-redirect-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }
:where(table.magicword-table) { border-spacing:3px; width:400px; }
:where(table.magicword-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }

:where(table.register-rules-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }

:where(table.register-rules-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }

:where(td.register-rules-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }

:where(table.register-rules-table-2) { border-spacing:3px; width:100%; }

:where(table.register-rules-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }

:where(table.activate-requestemail-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }

:where(table.activate-requestemail-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }

:where(td.activate-requestemail-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }

:where(table.activate-requestemail-table-2) { border-spacing:3px; }

:where(table.activate-requestemail-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }

:where(table.register-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }

:where(table.register-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:2px; }

:where(table.register-table-2) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }

:where(table.register-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }

:where(td.register-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }

:where(table.register-table-3) { border-spacing:3px; width:400px; }

:where(table.register-table-3 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }





:where(table.activateform-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }

:where(table.activateform-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }

:where(td.activateform-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }

:where(table.activateform-table-2) { border-spacing:3px; }

:where(table.activateform-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }



:where(table.search-results-postbit-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }

:where(table.search-results-postbit-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }

:where(table.search-results-table) { border-spacing:0px; width:100%; }

:where(table.search-results-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }

:where(tr.search-results-row) { vertical-align:bottom; }

:where(td.search-results-cell) { text-align:right; text-align:-moz-right; text-align:-webkit-right; }

:where(table.search-results-table-2) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }

:where(table.search-results-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }

:where(td.search-results-cell-2) { width:75%; }

:where(td.search-results-cell-3) { text-align:center; text-align:-moz-center; text-align:-webkit-center; white-space:nowrap; }

:where(td.search-results-cell-4) { width:25%; }

:where(td.search-results-cell-5) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }

:where(tr.search-results-row-2) { vertical-align:top; }

:where(td.threadbit-lastvisit-static-cell) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }



















.f-bbcode-help .f-codebox {width:auto;}

:where(table.custom-wiki-table) { border-spacing:0px; width:100%; margin-left:auto; margin-right:auto; }

:where(table.custom-wiki-table > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }

:where(td.custom-wiki-cell) { width:100%; }

:where(table.custom-wiki-table-2) { border-spacing:0px; width:90%; margin-left:auto; margin-right:auto; }

:where(table.custom-wiki-table-2 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:4px; }

:where(td.custom-wiki-cell-2) { width:90%; }

:where(table.custom-wiki-table-3) { border-spacing:0px; width:90%; margin-left:auto; margin-right:auto; }

:where(table.custom-wiki-table-3 > :is(tbody, thead, tfoot) > tr > :is(td, th)) { padding:0px; }

:where(table.help-bbcodes-table) { width:100%; border-spacing:0; margin-left:auto; margin-right:auto; }

:where(table.help-bbcodes-table > tbody > tr > td) { padding:4px; }

:where(table.help-bbcodes-table:not(.help-bbcodes-index) > tbody > tr > td:not([colspan])) { vertical-align:top; }

:where(table.help-bbcodes-table:not(.help-bbcodes-index) > tbody > tr > td:first-child:not([colspan])) { width:20%; }

:where(table.help-bbcodes-index > tbody > tr > td:not([colspan])) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }

:where(tr.help-bbcodes-link-static-row) { text-align:center; text-align:-moz-center; text-align:-webkit-center; }

/* Existing history-page rules, moved from its inline style. */
.history h1 { text-align: center; color: #dcaf35; font-weight: normal; margin-top: 1.5em; }
.history h1 a:hover { text-decoration: none; color: #dcaf35; }
.history h2 { text-align: center; color: #ffcc00; margin-top: 1.5em; }
.history p { line-height: 1.5; text-indent: 30px; text-align: justify; margin: 1em 10px; }
.history > div > p { margin-bottom: 0.3em; }
.history > div > p:first-child { margin-top: 1em; }

.history img { display: block; margin: 0 auto; padding: 4px; max-width: 800px; }
.history img.inline { display: inline-block; padding: 0; }
.history div.img-container { text-align: center; }
.history div.img-container img { display: inline-block; max-width: 400px; }
.history img.left { float: left; padding: 2px 12px 2px 8px; }
.history img.right { float: right; padding: 2px 8px 2px 12px; }

.history ul { list-style-position: inside; padding-left: 30px; }
.history ul.nodots { list-style-type: none; }
.history li { line-height: 1.5; }

.history div.ex { max-width: 800px; margin: 0px auto; border: 1px solid #ffcc00; }
.history div.ex a { display: inline-block; font-weight: bold; padding: 4px; }
.history div.ex a.u1 { color: #3ba914; }
.history div.ex a.u2 { color: #af2bad; }
.history div.ex a.u3 { color: #a83838; }
.history div.ex a.u4 { color: #a83838; }

.history .author { font-style: italic; margin-top: 1.5em; }
.history hr { height: 1px; color: #606060; background-color: #606060; border-width: 0; margin-top: 3em; }

/* Center collapse controls in their heading row. */
:is(.tcat,.thead):has(> a [id^="collapseimg_"]) { position:relative; padding-right:18px; }
:is(.tcat,.thead) > a:has([id^="collapseimg_"]) { position:absolute; top:50%; right:4px; display:flex; transform:translateY(-50%); }

/* Inline form controls share the text-row alignment. */
input,select,textarea,button { vertical-align:middle; }

/* Center small post controls in the complete line box, not its x-height. */
i.fi:is(.fi-r-minus,.fi-r-add,.fi-post-old,.fi-post-new),
input[type="checkbox"].f-postcheck { vertical-align:top; transform:translateY(calc(.5lh - 50%)); }
input[type="checkbox"].f-postcheck { font:inherit; }

/* Uniform spacing for paired list actions. */
#inlinemodform .smallfont.nowrap:has(> select + #inlinego),
.pm-messagelist-cell-2 > .smallfont:has(> select[name="dowhat"]) {
    display:inline-flex; align-items:center; flex-wrap:wrap; gap:4px;
}
#inlinemodform .smallfont.nowrap:has(> select + #inlinego) > br { display:none; }
#inlinemodform .pagenav + .smallfont.nowrap:has(> select + #inlinego) { margin-top:4px; }
select[name="folderid"] + input.button { margin-inline-start:4px; }
.pm-messagelist-table input[type="checkbox"] {
    font:inherit; margin-block:0; vertical-align:top;
    transform:translateY(calc(.5lh - 50%));
}
.pm-messagelist-table td:has(> input[type="checkbox"]) { position:relative; min-width:20px; }
.pm-messagelist-table td > input[type="checkbox"] {
    position:absolute; top:50%; left:50%; margin:0; transform:translate(-50%,-50%);
}

/* Static declarations extracted from the native PHP views. */
:root .f-absolute { position:absolute; }
:root .f-no-bottom-border { border-bottom-width:0px; }
:root .f-pad16 { padding: 16px; }
:root .f-moderation-controls { text-align:left; float:right; }
:root .f-code-wrap { margin:20px; margin-top:5px; }
:root .f-mb2 { margin-bottom:2px; }
:root .f-text-left { text-align:left; }
:root .f-breadcrumb-current { font-size:10pt; padding-top:1px; }
:root .f-breadcrumb-root { font-size:10pt; }
:root .f-pad0 { padding:0px; }
:root .f-login-field { font-size: 11px; }
:root .f-no-top-border { border-top-width:0px; }
:root .f-metadata-label { font-size:11px; }
:root .f-alert { color: red; background-color: white; border: 1px solid black; padding:2px; }
:root .f-clear { clear:both; }
:root .f-lastpost-date { float:right; white-space:nowrap; }
:root .f-pointer { cursor:pointer; }
:root .f-bottom-border2 { border-bottom-width:2px; }
:root .f-bottom-border1 { border-bottom-width:1px; }
:root .f-history-paragraph { margin-top: 0.4em; }
:root .f-history-image { width: 210px; }
:root .f-history-release { display: table; margin: 0 auto; padding: 3px; border: 4px double black; }
:root .f-history-scene { position: relative; width: 800px; margin: 0 auto; }
:root .f-history-caption-bottom { position: absolute; bottom: 0; left: 0; right: 0; margin: 12px; color: #FFFF80; text-align: center; font-family: arial; font-size: 15px; }
:root .f-history-caption-top { position: absolute; top: 0; line-height: 20px; left: 0; margin: 15px 17px; color: #FFFF80; font-family: arial; font-size: 15px; }
:root .f-text-right { text-align: right; }
:root .f-mt1 { margin-top:1px; }
:root .f-mt6 { margin-top:6px; }
:root .f-signature-width { min-width: 480px; max-width: 100%; width: auto !important; width: 480px; }
:root .f-z50 { z-index:50; }
:root .f-groove { border:2px groove; }
:root .f-quota-used { background-color:red; font-size:10px; }
:root .f-quota-occupied { background-color:orange; font-size:10px; }
:root .f-quota-free { background-color:green; font-size:10px; }
:root .f-popup-cell { padding: 4px 0 4px 4px; }
:root .f-period-title { padding-top:3px; padding-bottom:3px; border-bottom:1px outset; cursor:pointer; }
:root .f-period-check { padding:0px; border-bottom:1px outset; }
:root .f-profile-list-avatar { height:auto;max-height:80px;object-fit:contain; }
:root .f-avatar-preview { display:flex;align-items:center;gap:12px;margin-bottom:4px; }
:root .f-flex-none { flex:none; }
:root .f-profile-avatar { max-width:170px;height:auto; }
:root .f-register-content { max-width:560px;margin:0 auto;text-align:left; }
:root .f-text-center { text-align:center; }
:root .f-agreement-scroll { border:thin inset; padding:4px; height:175px; overflow:auto; }
:root .f-margin0 { margin:0px; }
:root .f-width167 { width:167px; }
:root .f-width230 { width:230px; }
:root .f-width100 { width:100%; }
:root .f-my4 { margin:4px 0px 4px 0px; }
:root .f-message-check { float:right; vertical-align:middle; padding:0px; margin:0px 0px 0px 5px; }
:root .f-search-options { margin:4px 0px 4px 0px; padding:4px; border:2px groove; }

:root a.f-link-plain { text-decoration:none; }

/* Adjacent field/button and button/button pairs share the same minimum gap. */
:where(:is(.bginput,select,.button,button:not(.forum-link-button)) + :is(.button,button:not(.forum-link-button))),
:where(label:has(> .bginput:last-child) + :is(.button,button:not(.forum-link-button))) { margin-inline-start:4px; }

/* Action rows keep their existing centering; quick-edit actions stay on the right. */
.f-mt4:has(> :is(.button,button)) {
    display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px;
}
.f-mt4[align="right"]:has(> :is(.button,button)) { justify-content:flex-end; }
.f-mt4:has(> :is(.button,button)) > :is(.button,button),
.f-moderation-controls > :is(.button,button),
.pm-messagelist-cell-2 > .smallfont:has(> select[name="dowhat"]) > :is(.button,button) { margin-inline-start:0; }

.navbar-cell-2.pm-has-unread { position:relative; padding-right:74px; }
.pm-unread-indicator { position:absolute; right:4px; top:50%; margin-top:-17.5px; }
.pm-unread-indicator img { display:block; border:0; }

/* PSD button artwork; original input values, types and events are retained. */
.button.button-image {
    width:100px; height:23px; padding:0; border:0; box-sizing:border-box;
    appearance:none; background:transparent url("/images/buttons/actions.png?v=a3569f3443fe") no-repeat;
    color:transparent; font-size:0; text-shadow:none; cursor:pointer; flex-shrink:0;
}
.button.button-save { width:110px; background-position:0 0; }
.button.button-cancel { background-position:0 -25px; }
.button.button-reset { background-position:0 -50px; }
.button.button-search { width:130px; background-position:0 -75px; }
.button.button-login { background-position:0 -100px; }
.button.button-vote { width:130px; background-position:0 -350px; }

/* Link artwork shares the approved action-button sprite. */
.button-art { display:inline-block; vertical-align:baseline; background-image:url("/images/buttons/actions.png?v=a3569f3443fe"); background-repeat:no-repeat; }
.button.button-delete,.button-art.button-delete { width:100px; height:23px; background-position:0 -125px; }
.button-art.button-edit { width:100px; height:23px; background-position:0 -150px; }
.button-art.button-newthread { width:100px; height:23px; background-position:0 -175px; }
.button-art.button-quote { width:100px; height:23px; background-position:0 -200px; }
.button-art.button-reply { width:100px; height:23px; background-position:0 -225px; }
.button-art.button-reply-small { width:100px; height:23px; background-position:0 -250px; }
.button-art.button-sendpm { width:100px; height:23px; background-position:0 -275px; }
.button-art.button-threadclosed { width:100px; height:23px; background-position:0 -300px; }
.button-art.button-sendpm-theatre-verdana99 { width:99px; height:22px; background-position:0 -325px; }

/* Keep the footer at the viewport bottom when the page is short. */
#body_wrapper { min-height:100vh; display:flex; flex-direction:column; }
#body_wrapper > :is(#header, .footer-table) { flex-shrink:0; }
#body_wrapper > div[align="center"] { flex:1 0 auto; }

/* Text fields share one geometry; focus changes only the border colour. */
:is(input:not([type]), input[type="text"], input[type="password"], input[type="email"], input[type="search"], input[type="url"], input[type="tel"], input[type="number"], textarea) { border:1px solid #767676; padding:2px 3px; outline:none; }
:is(input:not([type]), input[type="text"], input[type="password"], input[type="email"], input[type="search"], input[type="url"], input[type="tel"], input[type="number"], textarea):focus { border-color:#707070; }
