body {
	margin: 0;
	padding: 0;
	font: 12px Arial, Helvetica, sans-serif;
	background-color: White;
	background: url(img/pasek.png) top left repeat-y;
}

/*div { border: 1px solid red !important;}*/

p, li, td, th, h1, h2, h3, h4, h5, #headernav, #functionbuttons, #footernav, #footernote, form, input, button, select, textarea, div {
	font: 12px Arial, Helvetica, sans-serif;
	color: #346590;
	line-height: 3ex;
}

form, input, select {
    margin: 0;
    padding: 0;
}

a:link, a:visited, a:active {
    color: #346590;
    text-decoration: underline;
}
 
a:hover {
    color: #FEBA02;
}
 

h1 {
    margin: 0;
    font-size: 144%;
    font-weight: bold;
}
h2 {
    margin: 0 0 .5em .5em;
    padding-top: 1.5em;
    font-size: 120%;
    font-weight: bold;
}
h3 {
    margin: 0;
    font-size: 120%;
    font-weight: bold;
}
h4 {
    font-weight: bold;
    margin: 1.2em 0 0;
}
h5 {
    font-weight: bold;
    margin: 1em 0 0;
}
textarea {
    display: block;
}



/* CIEKAWE */
table, tr, td, th {
    margin: 0;
    padding: 0;
    border: 0;
    border-spacing: 0;
    vertical-align: top;
    text-align: left;
}


#header {
  	 height: auto;
    min-height: 127px;
}

#content {
	 width: 640px;
	 padding: 30px 70px;
}
#content_galeria {
	 width: 640px;
	 padding: 30px 70px;
}	
#content_galeria img{
	 border: 5px solid #ccc;
	 margin: 10px;
}	
#footer {
    border-top: 1px dotted #ccc;
    padding: 8px;
    margin-bottom: 3em;
	 width: 780px;
}

#headertop {
	background: url(img/tlo1.png) top left no-repeat;
	height: 116px; /* BMH */
}

#headernav {
	 	background: url(img/tlo2.png) no-repeat;
		margin: 0;
		padding: 6px 0 20px 0;
		width: 100%;
		list-style-type: none;
}
#headernav ul, #headernav li {
	margin: 0;
	padding: 0;
	display: inline;
	list-style-type: none;
	font: normal 11px/18px verdana, lucida, sans-serif;
}
#headernav a:link, #headernav a:visited {
	float: left;
	line-height: 16px;
	margin: 0 20px 4px 20px;
	text-decoration: none;
	color: #999;
}
#headernav a:link#current, #headernav a:visited#current {
	border-bottom: 4px solid #88C2EF;
	padding-bottom: 2px;
	font-weight: bold;
	color: #575756;
}
#headernav a:hover {
	border-bottom: 4px solid #FCA100;
	padding-bottom: 2px;
	color: #575756;
}

#functionbuttons {
    float: right;
    width: auto;
    padding-top: 0;
}
#functionbuttons a {
    /*float: left;
    width: auto; see conditional comment in header.inc for a IE (Win) solution*/
    padding: 30px 10px 0;
    text-decoration: none;
    text-align: center;
    font-size: 80%;
    margin: 0;
	 color: #88C2EF;
}
#functionbuttons  a:hover{
    text-decoration: none;
    color: #FEBA02;
}
#footernav {
    color: #62A2D3;
	 font-size: 88%;
}
#footernav a, #footernav a:active, #footernav a:hover, #footernav a:visited{
    text-decoration: none;
	 color: #88C2EF;
}
#footernav a:hover{
    text-decoration: none;
    color: #FEBA02;
}
#footernote {
    margin-top: .75em;
    font-size: 80%;
}
