h1 {
    font-family: Arial;
    text-align: center;
    color: #003060;
}

h2 {
    font-family: Arial;
    color: #003060;
}

h3 {
    font-family: Arial;
    color: #003060;
}

h3.noconn {
    font-family: Arial;
    color: #003060;
}

h3.active {
    font-family: Arial;
    color: #ffffff;
    background-color: #008000;
}

table.competitors td {
    padding: 5px;
}

td.active {
    text-align: middle;
    color: #ffffff;
    background-color: #008000;
}

td.noconn {
    text-align: middle;
    color: #003060;
}

a.dflt {
    background-color: #E0E8EF;
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
}

table.categorylinks {
    font-family: Arial;
    background-color: #c8d7e6;
    width: 200px;
    border-collapse: collapse;
    border-width: 0;
}

td.categorylinksonly,
td.categorylinksleft,
td.categorylinksright {
    background-color: #E0E8EF;
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    width: 200px;
    color: black;
}

table.resultslink,
table.competitorslink,
table.categorieshdr,
table.nextmatcheslink,
table.statisticslink,
table.medalslink,
table.extralink {
    font-family: Arial;
    background-color: #c8d7e6;
    width: 200px;
    margin-top: 4px;
}

td.resultslink,
td.competitorslink,
td.categorieshdr,
td.nextmatcheslink,
td.statisticslink,
td.medalslink,
td.extralink {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    width: 200px;
    color: black;
}

table.competitors {
    font-family: Arial;
    background: #ffffff;
    border-collapse: collapse;
}

table.competitors td {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
}

table.resultlist td {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
}

table.resultlist td a {
    font-family: Arial;
    font-size: 1em;
    font-weight: bold;
    text-decoration: underline;
    color: black;
}

table.medals {
    border-width: 4;
}

table.medals td {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
    border-spacing: 8px 0px;
}

table.medals td.medalhdr {
    text-align: center;
}

table.medals td.medalcnt {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
    border-spacing: 8px 0px;
    text-align: center;
    width: 20px;
}

table.medals th {
    font-family: Arial;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    color: black;
    text-align: left;
}

table.medals th.medalcnt {
    font-family: Arial;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    color: black;
    text-align: center;
    width: 20px;
}

table.compstat {
    /*border: solid black;*/
    background-color: #E0E8EF;
    border-collapse: separate;
    border-spacing: 8px 0px;
}

td.cshdr {
    border-bottom: 1px solid black;
}

td.bscore {
    font-family: Courier;
    background: blue;
    color: white;
    text-align: center;
}

td.wscore {
    font-family: Courier;
    background: white;
    text-align: center;
}

table.statistics {
    border-spacing: 8px 0px;
}

table.statistics td {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
    text-align: right;
}

table.statistics td.stat1 {
    font-family: Arial;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    color: black;
    text-align: left;
}

table.statistics td.stat2 {
    text-align: center;
}

table.statistics th {
    font-family: Arial;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    color: black;
    text-align: right;
}

table.statistics th.stat1 {
    font-family: Arial;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    color: black;
    text-align: left;
}

table.competitor {
    border-collapse: collapse;
}

table.competitor td {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
    border-spacing: 0px 0px;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
}

tr.judogiok {
    color: #070;
}

tr.judoginok {
    color: #900;
}

table.tablesorter {
    font-size: 0.8em;
    background-color: #FFF;
    border: 1px solid #000;
    border-collapse: collapse;
}

table.tablesorter th {
    text-align: left;
    padding: 5px;
    background-color: #6E6E6E;
    border: 1px solid #000;
    cursor: pointer;
}

table.tablesorter td {
    color: #000;
    padding: 5px;
    border: 1px solid #000;
    cursor: pointer;
}

table.tablesorter .header {
    background-image: url(bg.png);
    background-repeat: no-repeat;
    padding-left: 30px;
    padding-top: 8px;
    height: auto;
}

table.tablesorter .headerSortUp {
    background-image: url(asc.png);
    background-repeat: no-repeat;
}

table.tablesorter .headerSortDown {
    background-image: url(desc.png);
    background-repeat: no-repeat;
}

img.catimg {
    /*cursor: n-resize;*/
    cursor: pointer;
}

img.button {
    cursor: pointer;
}

div.catdiv {
    /*cursor: n-resize;*/
    cursor: pointer;
}

/* tooltip */
.hotspot {
    color: #900;
    padding-bottom: 1px;
    border-bottom: 1px dotted #900;
    cursor: pointer
}

#tt {
    position: absolute;
    display: block;
    background: url(tt_left.png) top left no-repeat
}

#tttop {
    display: block;
    height: 5px;
    margin-left: 5px;
    background: url(tt_top.png) top right no-repeat;
    overflow: hidden
}

#ttcont {
    display: block;
    padding: 2px 12px 3px 7px;
    margin-left: 5px;
    background: #666;
    color: #FFF
}

#ttbot {
    display: block;
    height: 5px;
    margin-left: 5px;
    background: url(tt_bottom.png) top right no-repeat;
    overflow: hidden
}

@media print {

    .nextmatcheslink,
    .medalslink,
    .statisticslink,
    .tournamentheader,
    .categorylinks,
    .categorieshdr,
    .competitorslink,
    .resultslink {
        display: none;
    }

    .catimg {
        width: 100%;
        height: 100%;
    }

    .catdiv {
        width: 6in;
        height: 8.5in;
    }

    .cattr2 {
        page-break-before: always;
    }
}

/* Override css from other files */
a {
    color: #003060;
}

table.treetable a {
    color: #003060;
}

a:hover,
a:focus {
    color: #0060c0;
    text-decoration: underline;
}

td.categorylinksonly a {
    color: #000;    
}

td.categorylinksonly a:hover,
td.categorylinksonly a:focus {
    color: #ffffff;
    background-color: gray;
    text-decoration: underline;
}

table.treetable tbody td:first-child {
    font-weight: bold;
}
/* end override */

table.nmcell {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
    border-spacing: 0px 0px;
    border-collapse: separate;
    table-layout: fixed;
    width: 100%;
    border: none;
}

table.nmcell td {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
    width: 50%;
    border: none;
    border-radius: 0px;
}

table.nmcell#greencell td {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
    background-color: green;
    width: 50%;
    border-radius: 0px;
    border: none;
}

table.nmcell#yellowcell td {
    font-family: Arial;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    color: black;
    background-color: yellow;
    width: 50%;
    border-radius: 0px;
    border: none;
}

table.nmcell td.white {
    background: #FFF;
    color: black;
    border-radius: 0px;
    border: none;
}

table.nmcell td.blue {
    background: #00F;
    color: white;
    border-radius: 0px;
    border: none;
}

table.nextm {
    border-spacing: 5px;
    table-layout: fixed;
    width: 100%;
}

table.nextm td {
    border-radius: 6px;
    border: 2px solid black;
}

