html { height: 100%; }

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

body {

	overflow:hidden;
	letter-spacing: 1px;
	font-family: Garamond, serif;
	font-size: 14px;
	margin:0px;
	background-image: url(../img/web-bw-1.png);
	background-repeat: repeat;
	background-position: center center;
	min-height: 450px;
}

h1 {
	color: #003;
	font-size: 27px;
	font-weight: normal;
	font-variant: normal;
	margin-bottom: 7px;
}
h2 {
	color: #003;
	font-size: 18px;
	font-weight: normal;
	font-variant: normal;
	text-transform: uppercase;
}
h3 {
	color: #003;
	font-weight: normal;
	font-size: 11px;
}

.container {
	width: 100%;
	position: relative;
}

.container.demo-1 {
	height: 100%;
	position: absolute;
}

.clr {
	clear: both;
	padding: 0;
	height: 0;
	margin: 0;
}

.main {
	width: 90%;
	margin: 0 auto;
	position: relative;
}

.container > header,
.content-wrapper {
	padding: 30px;
	width: 80%;
	max-width: 960px;
	margin: 0 auto;
}

.content-wrapper p{
	padding-top: 30px;
	line-height: 26px;
}

.container > header h1 {
	font-size: 34px;
	line-height: 38px;
	margin: 0;
	font-weight: 700;
	color: #333;
	float: left;
}

.container > header h1 span {
	display: block;
	font-size: 20px;
	font-weight: 300;
}

.fb-like  {
	visibility: visible;
	height: 20px;
	background-color:;
	position: absolute;
	top: 10px;
	right: 10px;
	padding-right: 3%;
	width: 120px;
	z-index: 1000;
	overflow: hidden;
}
.indexheader {
	position: absolute;
	height: 10%;
	width: 10%;
	top: 3%;
	left: 3%;
}
.indexfooter {
	position: absolute;
	height: auto;
	width: 100%;
	bottom: 0px;
}
.koscielec {
	width: 100%;
	height: 55%;
	position: absolute;
	overflow: hidden;
	z-index: 1;
	top: 45%;
}
.koscielec img {
    width: auto;
    height: auto\9; /* ie8 */
}	
.koscielec2 {
	width: 100%;
	height: auto;
	position: absolute;
	overflow: hidden;
	z-index: 1;
	bottom: -3%;
}

.koscielec2 img {
    width: auto;
    height: auto\9; /* ie8 */
}

.header {
	position: absolute;
	height: 27px;
	width: 100%;
	top: 0px;
	background-image: url(../img/web-bw-2.png);
	background-repeat: repeat-x;
	background-position: center bottom;
	background-color: #FFF;
	padding-bottom: 3px;
	padding-top: 1%;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
	z-index: 10;
	text-align: center;
}
img {
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}
.calendar {
	position: absolute;
	top:-12px;
	left:-50px;
	height:auto;
	width:160px;
	background-image: url(../img/web-bw-2.png);
	background-repeat: repeat-x;
	background-position: center bottom;
	background-color: #FFF;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #FFF;
	text-align:center;
	padding: 3px;
	padding-top:50px;
	padding-bottom: 12px;
	z-index:1000;
	
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.aboutme {
	position: absolute;
	top:60%;
	margin-right:5%;
	height:20px;
	width:180px;
	background-image: url(../img/aboutme.png);
	background-repeat:no-repeat;
	background-position: center top;
	text-align:center;
	padding:3px;
	padding-top:230px;
	right: 0%;
	z-index: 1000;
	margin-top:-120px;
}

.aboutme a {
	padding:3px;
	margin:6px;
	background-color:#FFF;

}

.maincontent {
	background-color: rgba(255,255,255,0.8);
	padding: 3%;
	height: 100%;
	width: 47%;
	min-width:500px;
	bottom: 0%;
	right: 0px;
	position: absolute;
	z-index: 1000;
	overflow: scroll;
	background-image: url(../img/web-bw-4.png);
	background-repeat: repeat-y;
	background-position: left bottom;
	border-left-width: 3px;
	border-left-style: solid;
	border-left-color: #FFF;
}

.maincontent p {
	margin-bottom: 6px;
}

.maincontent h1 {
	margin-bottom: 12px;
}

.maincontent h4 {
	margin-top: 12px;
}

.maincontent a {
	margin-top:9px;
	background-color:#FFF;
}
