/* Inner-page surfaces and forms share the Reference theme palette. */
.fo-main .panel,.fo-main .panelsurround,.fo-main .fieldset{background:var(--fo-surface)!important;color:var(--fo-text)!important}
.fo-main .panel{border:1px solid var(--fo-line);border-radius:6px;padding:14px}.fo-main .panelsurround{padding:12px;border:1px solid var(--fo-line);border-radius:6px}
.fo-main fieldset{border:1px solid var(--fo-line);border-radius:6px;padding:12px;min-width:0}.fo-main legend{font-weight:700;color:var(--fo-link);padding:0 5px}
.fo-main input.bginput,.fo-main textarea,.fo-main select{border:1px solid #b9cdd9;border-radius:4px;background:var(--fo-surface);color:var(--fo-text);padding:6px;max-width:100%}
.fo-main input.bginput:focus,.fo-main textarea:focus,.fo-main select:focus{border-color:#32a1be;outline:1px solid #32a1be;outline-offset:1px}
.fo-main .vBulletin_editor,.fo-main [id^=vB_Editor_].vBulletin_editor{background:#e5f0f5!important;border:1px solid #a8c5d4!important;border-radius:6px;padding:8px!important;max-width:100%}
.fo-main .vBulletin_editor table{max-width:100%}.fo-main .vBulletin_editor textarea{background:var(--fo-surface)!important;color:var(--fo-text)!important;border:1px solid #b9cdd9!important;line-height:1.5}
.fo-main .imagebutton,.fo-main .imagebutton_selected,.fo-main .imagebutton_hover{border-radius:4px;padding:3px!important;vertical-align:middle}.fo-main .imagebutton_hover,.fo-main .imagebutton_selected{background:#c6e8f2!important;border-color:#58a7bf!important}
.fo-main .thead,.fo-main .tcat{line-height:1.45}.fo-main .fo-icon-caption>.fo-menu-icon{vertical-align:middle}.fo-main .tfoot{background:#e1edf3!important;color:var(--fo-text)!important}
.fo-ucp-layout{border-spacing:0;width:100%;table-layout:fixed}.fo-ucp-layout>tbody>tr>td:first-child{width:225px!important;padding-right:12px}.fo-ucp-layout>tbody>tr>td:last-child{min-width:0}.fo-ucp-layout .alt2>a.fo-icon-caption{min-height:25px}.fo-ucp-layout td{overflow-wrap:anywhere}
.fo-dark .fo-main .vBulletin_editor{background:#203d4d!important;border-color:#456b80!important}.fo-dark .fo-main .tfoot{background:#203d4d!important}.fo-dark .fo-main input.bginput,.fo-dark .fo-main textarea,.fo-dark .fo-main select{border-color:#557689}
@media(max-width:1024px){.fo-top{gap:18px}.fo-brand{width:230px}.fo-nav{flex-wrap:wrap}.fo-native-nav{overflow:visible}.fo-native-nav>div.tborder>table>tbody>tr{display:flex;flex-wrap:wrap}.fo-native-nav>div.tborder>table>tbody>tr>td{display:flex;flex:1 0 auto;justify-content:center;align-items:center;padding:8px!important}.fo-native-nav>table:first-of-type>tbody>tr>td{white-space:normal!important}}
@media(max-width:1024px){.fo-main{min-width:0}.fo-native-nav>table:first-of-type>tbody>tr{display:flex;flex-wrap:wrap}.fo-native-nav>table:first-of-type>tbody>tr>td{display:block;width:100%!important;min-width:0!important;white-space:normal!important}.fo-native-nav>table:first-of-type table{max-width:100%}.fo-native-nav>div.tborder>table{width:100%!important}.fo-native-nav .vbmenu_control>a{min-height:28px}.fo-ucp-layout,.fo-ucp-layout>tbody,.fo-ucp-layout>tbody>tr{display:block!important;width:100%!important}.fo-ucp-layout>tbody>tr>td{display:block!important;width:100%!important;padding:0!important}.fo-ucp-layout>tbody>tr>td:first-child{width:100%!important;margin-bottom:14px}.fo-ucp-layout>tbody>tr>td:first-child>table>tbody{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fo-ucp-layout>tbody>tr>td:first-child>table>tbody>tr:has(.thead),.fo-ucp-layout>tbody>tr>td:first-child>table>tbody>tr:has(.tcat){grid-column:1/-1}.fo-ucp-layout>tbody>tr>td:first-child>table>tbody>tr>td{display:block;height:100%}.fo-main .vBulletin_editor{width:100%!important;min-width:0!important}.fo-main .vBulletin_editor textarea{width:100%!important;min-width:0!important}.fo-main .panel{padding:8px}.fo-main fieldset{padding:8px}.fo-main .fieldset{max-width:100%;margin:8px 0}.fo-main input.button{min-height:36px}.vbmenu_popup{max-width:calc(100vw - 24px)}.fo-main form>table{max-width:100%}}

.fo-ucp-layout>tbody>tr>td:nth-child(2):not(:last-child){width:0!important;padding:0!important;font-size:0}.fo-ucp-layout>tbody>tr>td:last-child{width:auto!important}.fo-ucp-layout>tbody>tr>td:first-child>table{width:100%}
@media(max-width:1024px){.fo-main .vBulletin_editor{max-width:100%!important;width:100%!important}.fo-main .vBulletin_editor textarea{max-width:100%!important}.fo-main table.panel>tbody>tr{display:flex;flex-wrap:wrap}.fo-main table.panel>tbody>tr>td{flex:1 1 280px;min-width:0;max-width:100%}.fo-main table.panel fieldset{width:100%;min-width:0}.fo-main table.panel select{min-width:0!important;max-width:100%!important}}
@media(max-width:1024px){.fo-ucp-layout>tbody>tr>td:nth-child(2):not(:last-child){display:none!important}.fo-ucp-layout>tbody>tr>td:last-child{width:100%!important}.fo-main table.panel>tbody>tr>td{flex-basis:100%;width:100%!important}.fo-main table.panel fieldset>div{max-width:100%}.fo-main table.panel select{width:100%!important}.fo-main .vBulletin_editor{min-width:0!important}.fo-main .vBulletin_editor>table{table-layout:fixed}.fo-main .vBulletin_editor td{min-width:0}}

.fo-table-scroll{max-width:100%;overflow:auto}.fo-table-scroll #threadslist{width:100%;min-width:600px;table-layout:auto}@media(max-width:1024px){.fo-main table:has(#sel_daysprune):not(.tborder)>tbody>tr{display:flex;flex-wrap:wrap;gap:8px}.fo-main table:has(#sel_daysprune):not(.tborder){width:100%!important}.fo-main table:has(#sel_daysprune):not(.tborder)>tbody>tr>td{flex:1 1 140px;min-width:0;width:auto!important}.fo-main #threadslist td,.fo-main #threadslist th{white-space:normal!important}}

@media(max-width:1024px){.fo-main table:has(#forumtools)>tbody>tr{display:flex;flex-wrap:wrap}.fo-main table:has(#forumtools)>tbody>tr>td:first-child{flex:1 0 100%;width:100%!important}.fo-main #forumtools,.fo-main #forumsearch{flex:1;white-space:normal!important}}
