/********************************************
   HTML ELEMENTS
********************************************/ 

/* Top Elements */
* { margin: 0; padding: 0; }

body {
	background-color: #787F83;
	font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;
	color: #333; 
	text-align: center;
}

/* links */
a {
	text-decoration: none;
	color: #4F82CB; 
	
}
a:hover {
	color: #4EBF37;
	
}

h2 a {
  color: red;
}

/* headers */
h1, h2, h3 {
	font-family: Tahoma, Verdana, 'Trebuchet MS', Sans-serif;
	font-weight: Bold; 		
}
h1 {
	font-size: 120%;	
}
h2 {
	font-size: 110%;
	/*text-transform: uppercase;*/
}
h3 {
	font-size: 110%;
	color: #666666; 
}

/* images */
img {
	border: none;
}
img.float-right {
  margin: 5px 0px 10px 10px;  
}
img.float-left {
  margin: 5px 10px 10px 0px;
}

img.float-left2 {
  margin: 0;
  border: none;
}


h1, h2, h3, p {
	padding: 10px;		
	margin: 0;
}
ul, ol {
	margin: 5px 20px;
	padding: 0 20px;
	
	/*color: #88ac0b;	*/
}
ul span, ol span {
	color: #666666;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 10px;
 	padding: 0 0 0 28px;  
   border: 1px solid #f2f2f2; 
  	background: #FAFAFA url(images/quote.gif) no-repeat 5px 5px;    
}

/* form elements */
form {
	margin:10px; padding: 0 5px;
	border: 1px solid #f2f2f2; 
	background-color: #FAFAFA; 
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding:2px;
	border:1px solid black;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:400px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}
input.button { 
	margin: 0; 
	font: bolder 12px Arial, Sans-serif; 
	border: 1px solid #CCC; 
	padding: 2px 3px; 
	background: #FFF;
	color: #88ac0b;
}

/* search */
form.search {
	position: absolute;
	top: 35px; right: 25px;
	background: transparent;
	border: none;	
}	
form.search input.textbox {
	margin: 0; padding: 1px 2px;
	width: 120px;
	background: #FFF;
	color: #333; 
}
form.search input.button {
	background: #CCC url(images/headerbg.gif) repeat-x;
	color: #333;
	border: none;	
	width: 70px; height: 21px;
}

/********************************************
   LAYOUT
********************************************/ 
#wrap {
	width: 820px;
	background: #CCC url(images/content.jpg) repeat-y center top;
	margin: 0 auto;
	text-align: left;
}
#content-wrap {
	clear: both;
	width: 790px;
	padding: 0; 
	margin: 0 auto;
}
#header-wrap {
	width: 100%;
	position: relative;
	height: 184px;
	background-color: #004F86;
	padding-top: 0px;
	font-size: 14px;
	text-align: center;
}

#header {
	width: 820px;
	position: relative;
	height: 184px;
	background: #CCC url(images/header.png) no-repeat center top;
	padding-top: 0px;
	font-size: 14px;
	text-align: center;
	margin: 0 auto;
}

#header2 {
	width: 820px;
	position: relative;
	height: 184px;
	background: #CCC url(images/header2.png) no-repeat center top;
	padding-top: 0px;
	font-size: 14px;
	text-align: center;
	margin: 0 auto;
}


#logo {
  padding-top: 23px;
  color: black;
}

/* Main Column */
#main {
	float: right;
	width: 74.5%;
	padding: 0; margin: 0;
}
#main h1 {
	margin-top: 10px;
	font: Bold 125% Verdana, 'Trebuchet MS', Sans-serif;
	color: rgb(0,0,0);
	padding: 5px 0 5px 25px; 	
	border-bottom: 1px solid #EFF0F1;
	background: #FFF url(images/square-g.png) no-repeat 3px 50%;	
}

/* Sidebar */	
#sidebar {
	float: left;
	width: 25%;
	padding: 0; margin: 0;	
	list-style:none;
}	
#sidebar h1,h2 {
	margin-top: 10px;
	padding: 5px 0 5px 10px; 
	font: bold 1.1em Verdana, 'Trebuchet MS', Sans-serif;
	color: white;
	background: #EEF0F1 url(images/headerbg.gif) repeat-x left top;	
	border: 1px solid #EFF0F1;
}
#sidebar .left-box {
	border: 1px solid #EFF0F1; 
	margin: 0 0 5px 0;	
	list-style:none;
}

#sidebar ul.children {
	list-style: none;
	text-align: left;
	margin: 3px 0 8px 0; padding: 0;
	text-decoration: none;		
}
#sidebar ul li {
	border-bottom: 1px solid #EFF0F1;
	background: url(images/go.gif) no-repeat 5px 5px;	
	padding: 2px 0 2px 20px;
	margin: 0 2px;	
}

#sidebar ul a {
	font-weight: bolder;
	text-decoration: none;	
	background-image: none;	
}
#sidebar ul {
  list-style:none;
	margin: 3px 0 8px 0; padding: 0;
	text-align: left;
	text-decoration: none;
}

/* Footer */	
#footer {
	color: #FFFFFF;
	background: black url(images/footer.png) repeat-y center top;
	clear: both;
	width: 820px;
	min-height: 69px;
	text-align: center;	
	font-size: 92%;
}
#footer a { 
  text-decoration: none;
  color: white;
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }
.align-center { text-align: center; }

/* display and additional classes */
.clear { clear: both; }
.gray { color: #CCC; }
/* Fix for Links in Sidebar Widget */
.linkcat { list-style:none; }
.widget{ list-style:none; }
.bold { font-weight: bold; }

.table-1 {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

.table-header {
	background: #EEF0F1 url(images/headerbg.gif) repeat-x left bottom;	
  padding: 2px 2px 2px 2px;
  text-align: center;
}

.table-1 td {
  text-align: center;
  border: 1px solid #EEF0F1;
}

.table-2 td {
  border: 1px solid #EEF0F1;
  padding: 2px;
}

.table-2 {
  width: 100%;
  border-collapse: collapse;

}



.menulist {
	width: 820px;
	height: 25px;
	padding: 0;
	margin: 0 auto;
	display: block;
	text-transform: uppercase;
	background: #EEF0F1 url(images/headerbg.gif) repeat-x left top;
}

/* All <ul> tags in the menu including the first level */
.menulist, .menulist ul {
	list-style-type: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
  visibility: hidden;
  position: absolute;
  width: 200px;
  padding: 0;
  margin: 0;
  left: 0px;
  text-align: left;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
  float: left;
  position: relative;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
  float: none;
  background: url(images/headerbg.gif) repeat-x left;
}

.menu1 {
	float: left;
	margin: 0;
}

.menu1 a {
	font-size: 12px;
	line-height: 24px;
	font-weight: bold;
	color: white;
	display: block;
	margin: 0;
	padding-left: 4px;
	padding-right: 4px;
}

.menu1 a:hover{
  color: white;
	background: #EEF0F1 url(images/headerbg2.png) repeat-x left;	
}

.menu2 {
  float: none;
}

.menu2 a {
  min-height: 18px;
}



.menulist > li > a.highlighted:hover, .menulist > li > a:focus {
	background: #EEF0F1 url(images/headerbg2.png) repeat-x left;	
}
.menulist a.highlighted:hover li {
	background: #EEF0F1 url(images/headerbg2.png) repeat-x left;	
}

.menulist > li > a.highlighted {
	background: #EEF0F1 url(images/headerbg2.png) repeat-x left;	
}

.menulist a.highlighted li {
	background: #EEF0F1 url(images/headerbg2.png) repeat-x left;	
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist a .subind {
  display:  none;
	color: black;
}
.menulist ul a .subind {
  display:  block;
  float: right;
}


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .menulist ul li {
 height: 1%;
}
* html .menulist ul a {
 height: 1%;
}

/* End Hack */




.parzyste {
  float: right;
}

.nieparzyste {
  float: left;
}

.box {
  width: 50%;
}

.box .ramka {
	margin:0;
	background:#f4f4f4 url('images/box_lewy.gif') top left no-repeat;
	height:140px;
}

.box .ramka2 {
	background:transparent url('images/box_prawy.gif') top right no-repeat;
	height:140px;
}
	
.ramka2 h3 {
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 20px;
}

.ramka2 img {
  border: none;
  float: right;
  margin-right: 10px;
  margin-top: 10px;
}

.ramka2 ul {
  float: left;
 	margin: 10px 0 0 0;
	padding: 0;

}

.ramka2 li {
  list-style: none;
  font-size: 10px;
  line-height: 12px;
}

.ramka3 {
  width: 90%;
  height: 120px;
  margin: 0 auto;
  padding-top: 10px;
}

.galeria {
  list-style-type: none;
}

.galeria li {
  float: left;
  padding: 3px;
}

.galeria img {
  border: 2px solid rgb(16,80,255);
}

.kolor {
  float: left;
  color: black;
  font-size: 10px;
  font-weight: bold;
  margin: 2px;
  border: 1px solid black;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
}