/* Tables BBCode Extension - ARM override
 *
 * ARM (styles/ARM) inherits from prosilver, so phpBB resolves
 * @sniper_tables/theme/tables.css against, in order:
 *   styles/ARM/theme  ->  styles/prosilver/theme  ->  styles/all/theme
 * This file must therefore be a COMPLETE stylesheet: Twig picks one file,
 * it does not merge CSS. It also resolves ./images/* relative to this
 * directory, hence the copy in theme/images/.
 *
 * Differences from upstream prosilver:
 *   - no cell borders
 *   - neutralizes the theme's own table.table1 rules, which collide with the
 *     BBCode markup (ARM styles table.table1 for forum topic lists, UCP, ...)
 *   - headers not uppercased, row hover effect removed
 */

/* Tables custom classes */
div.tables1 {  }
div.tables1 img {  }
div.tables1 i.fa-fw { cursor: pointer; }
h3.forabg { color: #FFFFFF; }
.null {  }

/* Neutralize theme .table1 collisions. Scoped to the BBCode markup and of
   higher specificity than the theme's table.table1 rules, so no !important
   is needed even though this file is served before the theme stylesheets.
   Note: table width is deliberately NOT overridden - the theme's
   table.table1 { width: 100% } is what makes the column percentages
   (th=...,N) add up to the [table=...,N] width instead of leaving the
   remainder of the table empty on the right. */
div.tables1 table.table1 td { border: none; }
div.tables1 table.table1 thead th { text-transform: none;font-weight: bold;font-size: 1.1em;padding: 5px; }
div.tables1 table.table1 thead th span { padding-left: 0; }
div.tables1 table.table1 tbody th { background: none;border: none;padding: 5px; }
div.tables1 table.table1 tbody tr:hover,
div.tables1 table.table1 tbody tr.hover { background: none;color: inherit; }

/* Use with table [table=tcenter,35] to center table */
.tleft { float: left;margin-right: 6px; }
.tcenter { margin: 0 auto; }
.tright { float: right;margin-left: 6px; }

/* Use with tr or td [td=textcenter,1] to center text */
.textleft { text-align: left; }
.textcenter { text-align: center; }
.textright { text-align: right; }
th.textright { padding: 0 6px 4px 0 !important; }

/* Table footer - if used */
.tfooter { text-align: center;cursor: pointer }
tfoot tr { background: #0076b2; }
tfoot td { color: #FFFFFF !important;padding: 4px 6px; }
tfoot a { color: #105289 !important;border-bottom: none !important; }
tfoot a:hover { color: #AA0000 !important;background-color: transparent !important; }

/* table buttons */
.pb_tables, .abbc3_table { background-image:  url("./images/table.gif");margin-bottom: 3px; }

/* Hidden menu selection blocks */
#tables-button-selections { width: 100%;display: none; }
#tables-button-guidelines a, #tables-guidelines-show a { cursor: pointer; }
.tables-list { margin-bottom: 10px !important;cursor: help; }
.upper_group, .lower_group { width: 65px;display: inline-block;word-wrap: break-word; }
