
html, body, p, ul, ol, li, form, fieldset, blockquote, h1, h4, h5, h6 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-size: 1em;
	list-style: none;
	height: 100%; /* sticky footer */
}

/* sticky footer */
.sticky_footer, .push {
 	clear: both; 
	height: 4em;
}

/* footer */
.site a {
	text-decoration: none;
}

.main:after, .section:after, #footer:after,  p.olddown:after, p.newdown:after {
	content: "";
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0.0;
	overflow:hidden;
	visibility: hidden;
	clear: both;
}
.divider hr {
	display: none;
}

.xsite {
	font: 75%/1.5em helvetica, arial, sans-serif;
	color: #333;
}
.site h1 span {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 2.5em;
	line-height: 1em;
	color: #1F537B;
}
.site h1 span span {
	font-size: 0.9em;
}
.site h2 span {
	line-height: 1.667em;
	display: block;
}
.site .intro p {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.667em;
	line-height: 1.2em;
	color: #555;
}
.site .intro p .num {
	font-family: "Times New Roman", Times, serif;
	font-size: 1.05em;
}
.site .keyfeatures li {
	font-size: 1.333em;
	line-height: 1.5em;
	padding-left: 1.5em;
	color: #777
}
.site .important {
	font-weight: bold;
}
#footer a:link, #footer a:visited {
	color: #ddd;
}

body {
	background: url(../img/mainsite/bg.jpg) repeat-x;
	background-color: #FEFEFE;
}
.site .section {
	margin: 0 auto;
	min-width: 700px;
	max-width: 1100px;
}
#body_contents {
	margin: 0 auto;
	min-width: 700px;
	max-width: 1100px;
}
.mid_left {
	float:left;
	width: 80%;
}
.mid_right {
	float:right;
	width: 19%;
}

/* main page body */

.mid_left_index {
	float:left;
	width: 71%;
}
.mid_right_index {
	float:right;
	width: 28%;
}

.site .section {
	background: #fff;
	position: relative;
}
.site .main {
	position: relative;
	background: #F0F5FA;
}
.site .main-a, .site .main-b {
	padding-bottom: 1em
}
.site #section2, .site #section2 .main {
	background: #F0F5FA;
}
.site .main-a {
	float:left;
	width: 38%;
}
.site .main-b {
	float:left;
	width: 62%;
	background: #fff;
}
#index .main-a, #index .main-b {
	width: 50%;
}
#upanel .panel-a, #upanel .panel-b {
	width: 50%;
}
#upanel .panel-a A:link, #upanel .panel-a A:visited {
	COLOR: #1F5375;
	text-decoration: none;
}
#upanel .panel-a A:hover {
	COLOR: #4086AA;
	text-decoration: underline;
}
#upanel .panel-b A:link, #upanel .panel-b A:visited {
	COLOR: #1F5375;
	text-decoration: underline;
}
#upanel .panel-b A:hover {
	COLOR: #4086AA;
	text-decoration: none;
}
.site .panel-a {
	float:left;
	width: 60%;
}
.site .panel-b {
	float:left;
	width: 40%;
	background: #fff;
}
/* upper half section */
#section1 {
	border-left: 1px solid #999;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
}
#index #section1, #index #section1 .main {
	background: #fff;
}
#index #section2, #index #section2 .main, #index #section2 .main-b {
	background: none;
}
.site .content {
	padding: 0 2em;
}
.main-a h1 {
	padding: 2em;
}
#footer {
	width: 100%;
	margin: 0 auto;
	min-width: 700px;
	max-width: 2100px;
	line-height: 3em;
	background: #666;
	color: #ddd;
	margin-bottom: 1em;
	height: 3em;
}
#footer .copyright {
	font-size: 1em;
	line-height: 3em;
	text-align:center;
}
#footer .credits span.item1 {
	padding-right: 0.8em;
	border-right: 1px solid #ddd;
	margin-right: 0.4em;
}
.site p.olddown {
	position: relative;
	margin-top: -0.5em;
	float: left;
	margin-bottom: 0;
}
.site p.newdown {
	position: relative;
	float: left;
	padding-bottom: 1em;
	margin-bottom: 0;
}
.site p.olddown a {
	display: block;
	float: left;
	line-height: 2.333em;
	background: url(olddown.png) no-repeat center left;
	padding-left: 2.5em;
	font-size: 1.5em;
	color: #81A83D;
	white-space: nowrap;
}
.site p.newdown a {
	display: block;
	float: left;
	line-height: 2.333em;
	background: url(newdown.png) no-repeat center left;
	padding-left: 2.5em;
	font-size: 1.5em;
	white-space: nowrap;
}
.site p.newdown a:link, .site p.newdown a:visited {
	color: #DF7C1C;
}
.site p.olddown a:link, .site p.olddown a:visited {
	color: #81A83D
}
.site p.newdown a:hover, .site p.newdown a:active, .site p.newdown a:focus, .site p.olddown a:hover, .site p.olddown a:active, .site p.olddown a:focus {
	color: #000;
}

.clear {
	clear: both;
}
a {
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
a img {
	border-width: 0px;
}

/* Header and Menu */

#sitebar div:after, #sitenav:after {
	content: "";
	display: block;
	font-size: 0;
	height: 0;
	line-height: 0.0;
	overflow:hidden;
	visibility: hidden;
	clear: both;
}
#sitebar {
	background: #333;
	color: #fff;
	font: 75%/3.2em helvetica, arial, sans-serif;
	border-bottom: 2px solid #ddd;
}
#sitebar div {
	background: #333;
	width: 50%;
	margin: 0 auto;
	min-width: 700px;
	max-width: 800px;
}
#sitenav {
	font-size: 1.167em;
	text-align: center;
	margin: 0;
	padding: 0;
}
#sitenav li {
	display: inline;
	margin-right: 1em;
}
#sitenav a:link, #sitenav a:visited {
	color: #ccc;
	text-decoration: none;
}
#sitenav li.active a:link, #sitenav li.active a:visited {
	color: #fff;
	text-decoration: underline;
}
#sitenav a:hover, #sitenav a:active, #sitenav a:focus {
	color: #fff;
	text-decoration: underline;
}

/* gallery stuff */

.highslide {
	cursor: url(../../include/js/graphics/zoomin.cur), pointer;
	outline: none;
}
.highslide img {
	border: 2px solid gray;
}
.highslide:hover img {
	border: 2px solid silver;
}
.highslide-image {
	border-bottom: 1px solid white;
}
.highslide-image-blur {
}
.highslide-caption {
	display: none;
	border-bottom: 1px solid white;
	font-family: Verdana, Helvetica;
	font-size: 10pt;
	padding: 5px;
	background-color: silver;
}
.highslide-loading {
	display: block;
	color: white;
	font-size: 9px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	padding: 3px;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	background-color: black;
	padding-left: 22px;
	background-image:url(../../include/js/graphics/loader.gif);
	background-repeat: no-repeat;
	background-position: 3px 1px;
}
a.highslide-credits, a.highslide-credits i {
	padding: 2px;
	color: silver;
	text-decoration: none;
	font-size: 10px;
}
a.highslide-credits:hover, a.highslide-credits:hover i {
	color: white;
	background-color: gray;
}
.highslide-display-block {
	display: block;
}
.highslide-display-none {
	display: none;
}
/* blue box */

#snotes p {
	background:#333 /*#4088b8*/;
	border:1px solid #c8c8c8;
	color:#fff;
	font-size:0.9em;
	line-height:1.4em;
	padding:10px 10px 10px 13px;
}
#snotes a {
	text-decoration:underline;
	color:#FFF;
}

/* Diary Comments */

.commentlist {
	padding: 0;
	margin-top:20px;
	text-align: justify;
	display:none;
}
.commentlist li {
	margin: 0 0 20px 0;
	padding: 0px 0px 8px 23px;
	list-style: none;
	background: url(../img/diary/komentarze.png) no-repeat;
	font-size: 11px;
	font-family: Arial;
	color: #414040;
	font-style: normal;
	border-bottom: 1px solid #f0f0f0;
	background-color:#f0f0f0;
}
.commentlist li.mayor {
	margin: 0 0 20px 0;
	padding: 0px 0px 8px 23px;
	list-style: none;
	background: url(../img/diary/komentarze.png) no-repeat;
	font-size: 11px;
	font-family: Arial;
	color: #008CFF;
	font-style: normal;
	border-bottom: 1px solid #f0f0f0;
	background-color:#EBEFFC;
	}
	
.commentlist cite {
	font-size: 11px;
	font-family: Arial;
	font-weight: bold;
	color: #0b3769;
	font-style: normal;
	display:inline;
	margin-left:0px;
	padding:0px;
}
.commentlist span {
	color: #d4d4d4;
}
.commentlist em {
	font-style: normal;
	font-size: 10px;
	color: #898989;
}
.commentlist p {
	margin: 10px 5px 10px 0;
}
#commentform p {
	margin: 5px 0;
}
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}
.commentmetadata {
	margin: 0;
	display: block;
}
.comment {
	background:#f9f9f9;
	font-size:12px;
	padding:3px 5px;
	border:#bbb 1px solid;
	width:150px;
	height:14px;
	-moz-border-radius:3px;
	-khtml-border-radius:3px;
	-webkit-border-radius:3px;
}
.inputName {
	background:#f9f9f9 url(../img/diary/input-name.gif) no-repeat left;
	padding:3px 5px 3px 25px;
}
.inputName:focus {
	background:#f9f9f9 url(../img/diary/input-name.gif) no-repeat left;
	border:#888 1px solid;
}
.inputMail {
	background:#f9f9f9 url(../img/diary/input-mail.gif) no-repeat left;
	padding:3px 5px 3px 25px;
}
.inputMail:focus {
	background:#f9f9f9 url(../img/diary/input-mail.gif) no-repeat left;
	border:#888 1px solid;
}
.inputBlog {
	background:#f9f9f9 url(../img/diary/input-blog.gif) no-repeat left;
	padding:3px 5px 3px 25px;
}
.inputBlog:focus {
	background:#f9f9f9 url(../img/diary/input-blog.gif) no-repeat left;
	border:#888 1px solid;
}
textarea {
	background:#f9f9f9;
	font-size:12px;
	padding:4px 5px;
	border:#bbb 1px solid;
	width:400px;
	-moz-border-radius:3px;
	-khtml-border-radius:3px;
	-webkit-border-radius:3px;
}
textarea:focus {
	background:#f9f9f9;
	border:#888 1px solid;
}
blockquote {
	font-style:italic;
	margin:0 0 0 20px;
	padding:0 0 0 20px;
	border-left:#f9f9f9 10px solid;
}
blockquote p {
	padding:0;
}
cite {
	background:url(../images/cite.gif) no-repeat top left;
	font-family:"Minion Pro", Constantia, Georgia, Times, "Times New Roman", serif;
	font-style: italic;
	padding:0 0 0 30px;
	margin:0 0 0 20px;
	display: 
}
/* side Nav */

.side_bg {
	background-color:#666;

}
#side_nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: verdana, arial, Helvetica, sans-serif;
}
#side_nav li {
	margin: 0 0 1px 0;
}
#side_nav a {
	display: block;
	padding: 5px 10px;
	width: auto;
	color: #fff;
	background-color: #666;
	text-decoration: none;
}
#side_nav a:hover {
	color: #fff;
	background-color: #999;
	text-decoration: none;
}
