/******************** Szkielet dokumentu ********************/

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background-color: #EDEBE6;
  color: #1F1D19;
  font-family: sans-serif;
  font-size: 14px;
}

#cialo {
  min-height: 100%;
  position: relative;
}

#kontener {
  width: 990px;
  margin: 0 auto;
  padding-bottom: 4em;
}

/******************** Wspólne dla górnego paska w nagłówku i stopki ********************/

.bar {
  width: 100%;
  padding: 0.3em 0;
  background-color: #403B33;
  color: #94C7B6;
  font-size: 0.8em;
}

.bar p {
  margin: 0 auto;
}

.bar a {
  color: white;
  text-decoration: none;
}

.bar a:hover {
  text-decoration: underline;
  color: #f57900;
}

.bar abbr {
  border-bottom: dotted 1px #C2D9EF;
}

/******************** Nagłówek ********************/

#naglowek {
    text-align: right;
	border-bottom: solid 3px #7F7667;
    padding: 1em 0;
}

#naglowek, #stopka {
    text-shadow: 0 2px 3px #1F1D19;
}

    h1 {
        padding: 0;
        margin: 0;
        margin: -0.2em 0 0 10px;
        font-size: 1.4em;
        font-weight: normal;
        float: left;
    }
        
        .bar h1 a, .bar h1 a:hover {
            color: inherit;
            text-decoration: inherit;
        }

    #naglowek p {
        margin-right: 10px;
    }

        #naglowek p a {
                line-height: inherit;
        }

/******************** Menu ********************/

#menu {
	float: left;
    width: 150px;
    border: solid 3px #D6E1C7;
}

    #menu h2, #menu ul {
        margin: 0;
        border: solid 1px #A6AF99;
    }
    
    #menu h2 {
        border-width: 0 1px;
        font-size: 1em;
        background-color: #D6E1C7;
        padding: 3px 5px;
        color: #4B4F45;
    }

    #menu ul {
        padding: 3px 5px;
        background-color: white;
    }

        #menu ul li {
            list-style-image: none;
            list-style-position: outside;
            list-style-type: none;
            display: inline;
        }

            #menu ul li a, #menu ul li a:visited {
                text-decoration: none;
                font-size: 0.95em;
                color: #4B4F45;
                font-weight: normal;
                display: block;
            }

                #menu ul li a:hover {
                    border-color: #f57900;
                    color: #D3643B;
                }

/******************** Treść ogólnie ********************/

#tresc {
	margin: 16px 0 0 170px;
	width: 814px;
	line-height: 140%;
    background-color: white;
    border: solid 3px #D6E1C7;
}

#content-frame {
    border: solid 1px #A6AF99;
    padding: 10px 10px 0;
}

    #tresc h2 {
        font-size: 1.8em;
        color: #5F584D;
        margin: 1px 0 0.8em;
    }

    #tresc h3 {
        font-size: 1.2em;
        color: #5F584D;
        border-bottom: dotted 1px #5F584D;
        padding-bottom: 0.2em;
        margin: 1px 0 0.8em;
    }

    #tresc a {
        text-decoration: underline;
        color: #204A87;
    }

        #tresc a:hover {
            text-decoration: none;
            color: #F57900;
        }

/******************** Treść wpisów ********************/

abbr
{
	cursor: help;
	border-bottom: dotted 1px #204A87;
}

pre, code
{
	color: #5880B2;
}

pre
{
	overflow: auto;
	background-color: #EFF7FF;
	border-style: solid;
    border-width: 1px 0;
    border-color: #5880B2;
	padding: 5px;
}

div.obrazek
{
	text-align: center;
}

div.obrazek *
{
	text-decoration: none;
	border-width: 0;
}

div.obrazek a:visited
{
	background-color: white;
}

div.obrazek img
{
	padding: 2px;
	background-color: #EFF7FF;
	background-color: white;
	border: solid 1px #5880B2;
	border: solid 1px #10233F;
}

blockquote
{
	border-left: solid 3px #C2D9EF;
	border-left: solid 3px #5880B2;
	padding-left: 10px;
	margin-left: 30px;
}

.entrytext ul, .entrytext ol
{
	margin-left: 0;
	padding-left: 43px;
}

dt {
    font-weight: bold;
}

table {
    width: 100%;
    margin-top: 1em;
    margin-bottom: 1em;
    font-size: 0.9em;
}

    th {
        background-color: #D6E1C7;
        color: #4B4F45;
    }

    td {
        background-color: #E9EFE0;
        text-align: center;
    }

        td.l {
            text-align: left;
        }

        td.r {
            text-align: right;
        }

        #tresc td a {
            display: block;
            text-decoration: none;
        }

        #tresc td a:hover {
            text-decoration: underline;
        }

    th, td {
        padding: 1px 5px;
    }

    tr.odd td {
        background-color: white;
    }

    tr:hover td {
        background-color: #D6E1C7;
    }

/******************** Dodatki do treści ********************/

#pagination {
  text-align: center;
  position: relative;
  margin: 0 0 3em;
}

.tools {
  font-size: 0.9em;
}

#tresc .tools a {
  text-decoration: none;
}

#tresc .tools a:hover {
  text-decoration: underline;
}

.iconized {
  min-height: 18px;
  padding-left: 20px;
  line-height: 18px;
  background-repeat: no-repeat;
  background-position: left center;
}

/******************** Formularze ********************/

form {
    padding-right: 20px;
}

form .helptext {
    font-size: 0.8em;
    color: #4B4F45;
    margin: 0 0 1em 155px;
    padding-top: -25px;
}

fieldset {
    border-width: 0;
    margin-bottom: 0.5em;
    margin-top: 1.5em;
    padding: 1em 0 0 0;
}

legend {
    font-weight: bold;
    display: block;
    width: 100%;
    border-bottom: solid 1px #5F584D;
    padding: 0;
    padding: 2px 0;
    color: #5F584D;
}

label {
    float: left;
    text-align: right;
    margin: 1px 5px 0 0;
    display: block;
    width: 150px;
    font-weight: bold;
    font-size: 0.9em;
    color: #5F584D;
}

textarea {
    height: 7.5em;
}

input, textarea {
    border: solid 1px #A6AF99;
    padding: 1px 2px;
    width: 300px;
}

    input:focus, textarea:focus {
        background-color: #F2FFDF;
    }

    input[type="checkbox"] {
        width: inherit;
    }

form .submit {
    margin-bottom: 1em;
} 

input#submit, input#confirm, input#cancel {
    border: solid 1px #A6AF99;
    background-color: #D6E1C7;
    color: #4B4F45;
    font-weight: bold;
    width: auto;
    padding: 0.2em 0.4em;
}

form ul {
    padding: 5px;
}

    form ul li {
        list-style-image: none;
        list-style-position: outside;
        list-style-type: none;
    }

div.info, div.error, div.wait, ul.errorlist {
    margin-bottom: 1em;
    font-size: 0.9em;
    color: white;
    border-style: solid;
    border-width: 1px;
}

#tresc div.info a, #tresc div.error a, #tresc div.wait a {
    color: inherit;
}

#tresc div.info a:hover, #tresc div.error a:hover, #tresc div.wait a:hover {
    color: inherit;
    text-decoration: none;
}

ul.errorlist, div.error {
    padding: 0;
    background-color: #CC2A41;
    border-color: #6F1425;
}

    ul.errorlist li, div.error p {
        margin: 0;
        padding: 0 5px;
        border-style: solid;
        border-width: 2px;
        border-color: #AF2037;
    }

div.info {
    background-color: #84AF00;
    border-color: #546F00;
}

    div.info p {
        margin: 0;
        padding: 0 5px;
        border-style: solid;
        border-width: 2px;
        border-color: #789F00;
    }

div.wait {
    background-color: #3B6BBF;
    border-color: #0A111F;
}

    div.wait p, div.wait > div {
        margin: 0;
        padding: 0 5px;
        border-style: solid;
        border-width: 2px;
        border-color: #2C4E8F;
    }

    div.wait > div {
        padding-right: 7px;
    }

#progress_container {
    display: none;
    margin-bottom: 2em;
}

#progress_filename {
    width: 100%;
}

#progress_bar {
    width: 100%;
    border: 1px solid white;
    margin: 0.5em 0;
}

#progress_indicator {
    background: white;
    width: 0;
    height: 6px;
}

/******************** Stopka ********************/

#stopka
{
	position: absolute;
	bottom: 0;
	text-align: center;
    padding: 9px 0 10px 0;
}
