body {
    margin : 0;
    background-color : #252a37;
    background-image : url('../images/tlo_strony.gif');
    background-position : center;
    background-repeat : repeat-y;
    color : white;
    font-family : arial, helvetica;
    font-size : 100%;
    text-align : center;
  }


#wrap {
    width: 960px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    font-size: 0.8em;
  }


#head {
    width: 960px;
    padding: 0;
    margin: 0;
    text-align: center;
    height: 171px;
  }


#center {
    float: left;
    width: 670px;
    margin-left: 145px;
    color: silver;
  }

#tresc {
	margin: 1em 1em;
}

#tresc img {
	margin: 1em;
}

#tresc p {
	text-align: left;
}

#tresc a {
	color: #0a85d1;
	text-decoration: none;
}

#tresc a:visited {
	color: #07598c;
}

#tresc .red {
    color: red;
}

#tresc .white {
    color: white;
}

hr {
    height: 1px;
    color: #0C2052;
    background-color: #0C2052;
    border: 0;
}

h1 {
	margin: 1em 0.5em;
	font-size: 1.3em;
	text-align: right;
}

h3 {
	font-size: 1.2em;
        margin: 0.5em 0 0.3em 0;
}

* html #center {
    display: inline;
  }


#left {
    float: left;
    width: 140px;
    margin-left: -815px;
  }


#right {
    float: left;
    width: 140px;
    margin-left: 3px;
  }


#foot {
    clear: both;
  }


ul#main-menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }


ul#main-menu li {
    margin: 0.3em 0;
  }


ul#main-menu a {
    display: block;
    background-image: url("../images/przyc_menu.jpg");
    background-repeat: no-repeat;
    background-position: top right;
  }


ul#main-menu a:hover {
    background-color: #572300;
  }

.przyc {
    width: 112px;
    height: 16px;
    padding: 3px 30px 3px 0;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-align: right;
}


.box-pierwszy {
	margin-top: 3em;
}

.box-lewa {
	width: 140px;
	margin-top: 3em;
}

.box-lewa .box-nagl {
	width: 112px;
    height: 16px;
    padding: 3px 30px 3px 0px;
	background-image: url("../images/przyc_lewa_box.jpg");
	background-repeat: no-repeat;
    background-position: top right;
    
}

.box-tresc {
	font-size: 0.85em;
	margin: 0.8em 0.2em;
	
}

.box-lewa .box-tresc {
	text-align: right;
}

.box-prawa .box-nagl {
	width: 107px;
    height: 16px;
    padding: 3px 35px 3px 0;
	background-image: url("../images/przyc_lewa_box.jpg");
	background-repeat: no-repeat;
    background-position: top left;
    
}

.box-prawa .box-tresc {
	text-align: left;
}

/* Ditto */
.ditto_summaryPost {
	margin-bottom: 1em;
	padding-bottom: 1em;
	border-bottom: 1px dotted #0C2052;
}

.ramkowane {
	margin: 0.5em;
	padding: 1em;
	border: 1px solid #0C2052;
	background-color: #050D21;
}


ul#cal-event {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul#cal-event li a {
	font-size: 1.1em;
	font-weight: bold;
	color: silver;
	text-decoration: none;
}

ul#cal-event li {
	margin: 0.5em;
	padding: 1em;
	border: 1px solid #0C2052;
	background-color: #050D21;
}

ul#cal-event li ul {
	margin-top: 0.7em;
}

ul#cal-event li li a {
	font-size: 0.9em;
	font-weight: normal;
	text-decoration: underline;
	color: #0a85d1;
} 

ul#cal-event li li {
	margin: 0.1em 0 0.1em 2em;
	border: none;
	padding: 0;
}

/*Maxigallery*/

.childscontainer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.childscontainer ul li {
	padding: 5px;
	height: 140px;
}
.childscontainer .childgallery-img {
	float: left;
	width: 180px;
	height: 130px;
	border-right: 1px dashed #0C2052;
	text-align: center;
}

.childscontainer .childgallery-img img{
	border: 0;
}

.childscontainer .childgallery-info {
	margin-left: 200px;
	
}

.thumbscontainer li {
	width: 130px;
	height: 150px;
	text-align: center;
	padding: 0.5em;
}

.thumbscontainer li p {
	text-align: center !important;
	font-size: 0.85em;
	color: gray;
	margin-top: 0;
}
