/* OlimpBase: wspolne style stron.
   Ladowac przed arkuszami ob-swiss.css / ob-roundrobin.css / statystyk.
   Ustawienia tabel turniejowych pozostaja w ich osobnych arkuszach. */

/* Podstawowa typografia */
body,
table {
  font: 11pt Georgia, Arial, serif;
  text-align: center;
}

table {
  empty-cells: show;
}

td,
table[data-board-medals="1"] > caption {
  font: 10pt Georgia, Arial, serif;
  text-align: center;
}

li,
div,
p {
  font: 12pt Georgia, Arial, serif;
}

li,
p {
  text-align: justify;
}

p {
  text-indent: 1cm;
}

h1, h2, h3, h4 {
  font-family: Georgia, Arial, serif;
  font-weight: normal;
  text-align: center;
}
h1 { font-size: 17pt; }
h2 { font-size: 16pt; }
h3 { font-size: 15pt; }
h4 { font-size: 14pt; }
h4.bole { font-weight: bold; text-align: left; }
h4.oli { color: #808000; }

/* Odnosniki */
a {
  color: #0000ff;
  text-decoration: none;
}
a.red { color: #ff0000; }
a.bl { color: #000000; }
a.co { font: 11pt Courier, monospace; }
a.le { text-align: left; }
a.uni { font: 10pt Georgia, Arial, serif; }
a:hover { font-weight: bold; }

/* Wyrownanie i wyglad komorek */
td.ce,
td.ce img {
  vertical-align: middle;
}
td.ce { text-align: center; }
td.ce img {
  display: block;
  margin: 0 auto;
}
td.le { text-align: left; }
td.let,
td.letu { text-align: left; padding-left: 2mm; }
td.lot { text-align: left; padding-left: 1mm; }
td.ri { text-align: right; }
td.rit { text-align: right; padding-right: 2mm; }
td.ritu { text-align: right; padding-right: 3mm; }
td.bo,
td.bog { font-weight: bold; }
td.bog,
td.gr { background-color: #eeeecc; }
td.it { text-align: left; font-style: italic; }
td.co { font: 11pt "Courier New", monospace; }
td.gi { font: bold 20pt Georgia, Arial, serif; }

/* Akapity i listy */
p.le { text-align: left; text-indent: 0; }
p.ce { text-align: center; text-indent: 0; }
p.ri { text-align: right; text-indent: 0; }
p.sm { font: 10pt Arial, sans-serif; text-indent: 0; }
p.ita {
  margin-left: 5%;
  margin-right: 5%;
  text-align: left;
  font: italic 12pt Arial, sans-serif;
}
div.longlist {
  font: 10pt Arial, sans-serif;
  margin-left: 5%;
  margin-right: 5%;
  text-align: center;
}
div.longlist a:hover { color: #ff0000; }

/* Nona Gaprindashvili International Trophy: independent column widths. */
.ob-gap-cup { border-collapse: collapse; width: auto; margin: 1.5em auto; table-layout: auto; float: none; }
.ob-gap-cup th, .ob-gap-cup td { border: 1px solid #aaa; padding: 3px 6px; height: 24px; text-align: center; }
.ob-gap-cup thead th { background: #f0f0d0; }
.ob-gap-cup .ob-gap-name { text-align: left; }
.ob-gap-cup img { vertical-align: middle; }
.ob-gap-cup .ob-gap-place { width: 50px; }
.ob-gap-cup .ob-gap-country { width: 250px; }
.ob-gap-cup .ob-gap-flag { width: 40px; }
.ob-gap-cup .ob-gap-other { width: 65px; }
.ob-gap-cup tr.ob-gap-gold td { background: #ffeb80; }
.ob-gap-cup tr.ob-gap-silver td { background: #d8d8d8; }
.ob-gap-cup tr.ob-gap-bronze td { background: #e8dac4; }

/* Trophy and category section separators */
hr.ob-prize-separator { width: 60%; margin: 2em auto; }
.ob-gap-cup .ob-gap-open { width: 65px; }
.ob-gap-cup .ob-gap-women { width: 65px; }

/* Category prizes: independent layout and column widths. */
.ob-category-prizes { border-collapse: collapse; width: auto; margin: 1.5em auto; float: none; }
.ob-category-prizes th, .ob-category-prizes td { border: 1px solid #aaa; padding: 3px 6px; height: 24px; text-align: center; }
.ob-category-prizes th { background: #f0f0d0; }
.ob-category-prizes tbody td { background: #ffeb80; }
.ob-category-prizes .ob-category-name { text-align: left; }
.ob-category-prizes img { vertical-align: middle; }
.ob-category-prizes .ob-category-cat { width: 50px; }
.ob-category-prizes .ob-category-range { width: 100px; }
.ob-category-prizes .ob-category-country { width: 250px; }
.ob-category-prizes .ob-category-flag { width: 40px; }
.ob-category-prizes .ob-category-other { width: 65px; }
.ob-category-star { color: #f00; }

/* Starting number shares the country cell, as in Swiss standings. */
.ob-category-prizes .ob-category-seed { width: 40px; }
.ob-category-prizes .ob-category-seed-number { float: right; color: #808080; padding-left: 12px; white-space: nowrap; }
