/* Zewnętrzny arkusz stylów dla systemu ligowego */

/* 2009-11-05 */
body {
    margin: 0;
    padding: 0;
    background: #fff url(../img/bg-body.jpg) repeat-x top left;
    color: #000;
    font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
    font-size: 11px;
}

a:active { /* selektor pseudoklas */
    color: #000;
    text-decoration: none;
    font-weight: none;
}

a:hover {
    color: #000;
    text-decoration: underline;
    font-weight: none;
}

a:link {
    color: #000;
    text-decoration: none;
    font-weight: none;
}

a:visited {
    color: #000;
    text-decoration: none;
    font-weight: none;
}

br.clearboth {
    /* nowy znacznik */
    clear: both;
}

table {
    /* width: 90%; */
    margin: auto;
    border-spacing: 1px;
    border-collapse: separate; /* collapse; */
    /* border: 1px solid #213599; */
}

caption {
    caption-side: top;
    color: #213599;
    font-size: 14px;
    font-weight: bold;
}

th {
    color: #fff;
    /* background: #000; */
    background: #213599;
    padding: 1px;
}

th a:active {
    color: #fff;
}

th a:link {
    color: #fff;
}

th a:hover {
    color: #fff;
    text-decoration: underline;
}

th a:visited{
    color: #fff;
}

td {
    background: transparent;
    padding: 1px;
}


/* klasy wyrównywania danych w tabelach */
td.league { /* skrót ligi */
    text-align: center;
}

td.matchday { /* ok - kolejka */
    text-align: center;
}

td.term { /* ok - termin */
    text-align: center;
}

td.match {
    text-align: left;
}

td.result { /* ok - wynik */
    text-align: center;
}

td.place {
    text-align: center;
}

td.team { /* ok - nazwa drużyny */
    text-align: left;
}

td.count { /* to są liczby typu Z R P itp. */
    text-align: right;
}

td.number { /* ok - liczba porządkowa */
    text-align: right;
}

td.button { /* ok - przycisk */
    text-align: center;
}

td.name { /* ok - nazwa np. fazy */
    text-align: left;
}

td.info{ /* ok - jakiś komunikat */
    text-align: center;
}

/* koniec */

div#container { /* selektor identyfikatora */
    width: 95%;
    min-width: 900px;
    max-width: 1100px;
    margin: 5px auto; /* marginesy pojemnika: górny/dolny lewy/prawy */
    padding: 0px; /* odstęp wewnętrznych elementów od krawędzi pojemnika */
    border-style: solid;
    border-color: #000;
    border-width: 1px;
    background: transparent url(../img/bg-container.jpg) no-repeat top center;
}

div#head {
    margin-top: 1px;
    margin-bottom: 1px;
}

div#header {
    text-align: center;
}

div#menubar_horizontal {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    background: #B8C7E8;
    font-variant: small-caps;
    font-size: 16px;
    text-align: left;
}

div#leftpanel {
    float: left;
    width: 24%;
    font-variant: small-caps; /* kapitaliki */
    line-height: 140%; /* interlinia */
    padding: 2px;
}

div#menubar_vertical, div#login {
    padding: 2px;
}

div#menubar_vertical {
    font-size: 14px;
}

div#menubar_vertical a:active {
    color: #2C4B89;
    font-weight: bold;
}

div#menubar_vertical a:hover {
    color: #2C4B89;
    text-decoration: underline;
    font-weight: bold;
}

div#menubar_vertical a:link {
    color: #2C4B89;
    font-weight: bold;
}

div#menubar_vertical a:visited {
    color: #2C4B89;
    font-weight: bold;
}

div#login {
    margin-top: 20px;
    font-variant: normal;
}

div#body {
    float: right;
    width: 74%;
    /* stare */
    /* margin-left: 215px; */
    /* width: 100%; */
    padding: 2px;
}

div#body a:hover {
    text-decoration: underline;
}

div#header_1 {
    background: #B8C7E8;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 10px;
    text-align: center;
    color: #213599;
    font-size: 16px;
    font-weight: bold;
}

div#header_1 a:active {
    color: #213599;
}

div#header_1 a:hover {
    color: #213599;
    text-decoration: underline;
}

div#header_1 a:link {
    color: #213599;
}

div#header_1 a:visited {
    color: #213599;
}

div#header_2 {
    margin-bottom: 8px;
    text-align: center;
    color: #213599;
    font-size: 14px;
    font-weight: bold;
}

div#header_2 a:active {
    color: #213599;
}

div#header_2 a:hover {
    color: #213599;
    text-decoration: underline;
}

div#header_2 a:link {
    color: #213599;
}

div#header_2 a:visited {
    color: #213599;
}

div#header_3 {
    margin-bottom: 6px;
    text-align: center;
    color: #2C4B89;
    font-size: 14px;
    font-weight: normal;
}

div#header_3 a:active {
    color: #2C4B89;
}

div#header_3 a:hover {
    color: #2C4B89;
    text-decoration: underline;
}

div#header_3 a:link {
    color: #2C4B89;
}

div#header_3 a:visited {
    color: #2C4B89;
}

div#footnote {
    text-align: left;
    font-size: 9px;
}

div#table {
    margin-bottom: 15px;
}

/* wyróżniona sekcja operacji */
fieldset.highlight {
    border: 1px solid #213599;
    padding: 6px;
}

fieldset.highlight > legend {
    color: #213599;
    font-weight: bold;
    padding: 0 4px;
}

div#footer {
    padding: 5px;
    text-align: center;
}

div#error {
    text-align: center;
    color: red;
    font-size: 16px;
}

div#information {
    text-align: center;
    font-size: 16px;
}

div#notes {
    text-align: center;
    font-size: 13px;
}
