html, body {
    margin: 0;
    padding: 0;
    background: #CCCCCC;
	color: #FFFFFF;
}

	a{
	text-decoration: none;
	color: #FFFFFF;
	}

	a:hover{
	text-decoration: none;
	color: #FFFFFF;
	}


	.pic {

		cursor: url('gfx/lupa.cur'), auto;
	}
	
	.d_czcionka {
		font-family: verdana;
		font-size: 11pt;
		color: #FFFFFF;
	}

	.m_czcionka {
		font-family: verdana;
		font-size: 9pt;
		color: #FFFFFF;
	}

	.szukaj_pole {
		background: transparent url(../tpl/basic/gfx/szukaj_bg.png) top left no-repeat; 
		height:35px;
		width:400px;
		border: 0;
		vertical-align:middle;
		font: normal 20px arial, sans-serif; 
		text-align:center;
		}
	.szukaj_bt {
		vertical-align:middle;
		text-align:center;
		}
	.pomoc_bt {
		vertical-align:middle;
		text-align:center;
		}

	.form_box {
		width:	400px;
		height: 400px;
		background-color: black;
		
	}
	
	ul {
		list-style-type: none;
	}
	
	li {
		background-color: #666;
		margin: 10px;
		
		-moz-border-radius: 5px;
		border-radius: 5px;
		
		display: block;
	}
	
	.nazwisko {
		padding:10px;
		padding-bottom:0px;
		margin-bottom:0px
	}

	.data {
		padding:0px;
		margin-top:0px;
	}
	
	.nazwisko, .data, .rocznica {
		font-family: verdana;
		font-size: 10pt;
	}
	
	.rocznica {
		padding-bottom:10px;
		
	}
	
#top {
   width: 796px; 
   height: 93px; 
   background: url('../tpl/basic/gfx/top.png');
   margin: 30px auto 0 auto;  
}

#top p {
   color: #CCCCCC; 
   font-family: Arial; 
   font-size: 32px; 
   font-weight: bold; 
   font-style:italic; 
   float: right; 
   padding-right: 15px; 
}	
	
#top2 {
   width: 796px; 
   height: 93px; 
   background: url('../tpl/basic/gfx/top.png');
   margin: 30px auto 0 auto; 
   position: relative;
}

#top2 p {
   color: #CCCCCC; 
   font-family: Arial; 
   font-size: 32px; 
   font-weight: bold; 
   font-style:italic; 
   float: right; 
   padding-right: 15px; 
   margin: 30px auto 0 400px;   
   position: absolute;
}
        


.menu {
    border-top: 6px solid #cc3300;
    width: 795px;
    background: #222222;
    margin: 0 auto;
    text-align: left;
    padding: 6px 0;
}
.menu ul {
    padding: 0;
    font-size: 13px;
    font-weight: bold;
    font-family: Arial;
}
.menu ul, .menu li {
    background: none;
}
.menu li {
    display: inline;
    background: none;
    margin: 0;
    padding: 0;
    background: url('../tpl/basic/gfx/menu_sep.png');
    background-repeat: no-repeat;
    background-position: right top;               
}

.menu li a{
    margin: 0;
    padding: 10px 20px;
    margin: 0 5px;
    color: #CCCCCC;
}

.lang {
    border-top: 2px solid #cc3300;
    width: 795px;
    background: #222222;
    margin: 0 auto;
    text-align: right;
	height: 25px;
}

.lang img {
	margin-right: 10px;
}

#footer {
    background: url(../tpl/basic/gfx/stopka.png); 
    width: 796px; 
    height: 48px; 
    margin: 0 auto 50px auto; 
    text-align: left;
}
#footer img {border: 0;}

#rocznice ul {margin: 0 100px; padding: 0; -moz-column-gap: 1em; -moz-column-width: 15em;}
#rocznice ul li{margin: 0 0 10px; padding-bottom: 10px}

.style1 {
				text-align: left;
}
.style2 {
				color: #FFFFFF;
}
#I1 {
	height: 274px;
	background-color:#333333;
}

.header_name {margin-top:10px;margin-right:10px;text-align:right;}

.nodisplay {display: none;}
.m_czcionka_padding {padding:0px 0px 5px 130px; text-align: left;}
.footer-spacer-left {float: left; margin-left: 20px; margin-top: 5px; width: 65px; height: 30px;}
.footer-spacer-right {float: right; margin-right: 20px; margin-top: 5px; width: 220px; height: 30px;}
.content-page{width: 795px; background: #333333; text-align: center; margin: 0 auto;}
.szary {color: #8d8d8d;}
.czerwony {color: #FF0000; }
.d_ile {margin-bottom: 25px; margin-top:-5px; padding-top: 25px; text-align: center;}
.cursor_pointer{cursor:pointer}

/* dopisane */

/* for 796px or less - tablet */
@media screen and (max-width: 796px) {
	#top, .menu, .lang, .content-page, #footer {
		width: 100%;
		margin: 0 auto;
	}
	#top img, .menu img, .content-page img, #footer img,.content-page iframe {
		height: auto;
		max-width: 100%;
	}
	#top, #footer {
		background-size: 100% 100%;
	}
	#top p {
		font-size: 26px;
		line-height: 36px;
	}
	.menu li a {
		padding: 0px;
	}
	.lang {
   padding: 2px;
	}
	hr {
		width: 100%;
	}
	.menu li:nth-child(6n+5), .menu li:nth-child(6n+6) {
		background: none;
	}
}
/* for 600px or less - tablet */
@media screen and (max-width: 600px) {
	.d_czcionka {
    font-size: 14px;
	}
}
/* for 414px or less - tablet */
@media screen and (max-width: 414px) {
	#top p {
    font-size: 16px;
    line-height: 36px;
	}
	.menu ul {
		font-size: 11px;
	}
	.szukaj_pole {
		margin-bottom: 4%;
		display: block;
	}
	.m_czcionka_padding {
		text-align: center;
		padding: 0px;
	}
	.szukaj_pole {
		background: transparent url("gfx/szukaj_bg.png") no-repeat / 100% 100%;
		width: 90%;
		margin: 0 auto 4%;
		border-radius: 9px;
	}
	h1 {
    font-size: 24px;
	}
	.content-page p {
    font-size: 14px;
	}
	.m_table {
		background-size: 100% 100%;
	}
}
/* for 320px or less - tablet */
@media screen and (max-width: 320px) {
	#top p {
    font-size: 13px;
	}
	.menu {
		overflow: hidden;
	}
	.menu li {
		display: block;
		margin: 2% 0;
		background: none;
	}
}


/*
  Simple Grid
  Project Page - http://thisisdallas.github.com/Simple-Grid/
  Author - Dallas Bass
  Site - http://dallasbass.com
*/


[class*='grid'],
[class*='col-'],
[class*='mobile-'],
.grid:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;	
}

[class*='col-'] {
	float: left;
  	min-height: 1px;
	padding-right: 5px; /* column-space */
}

[class*='col-'] [class*='col-']:last-child {
	padding-right: 0;
}

.grid {
	width: 100%;
	max-width: 1140px;
	/*min-width: 748px;  when using padded grid on ipad in portrait mode, width should be viewport-width - padding = (768 - 20) = 748. actually, it should be even smaller to allow for padding of grid containing element */
	margin: 0 auto;
	overflow: hidden;
}

.grid:after {
	content: "";
	display: table;
	clear: both;
}

.grid-pad {
	padding-top: 20px;
	padding-left: 20px; /* grid-space to left */
	padding-right: 0; /* grid-space to right: (grid-space-left - column-space) e.g. 20px-20px=0 */
}

.push-right {
	float: right;
}

/* Content Columns */

.col-1-1 {
	width: 100%;
}
.col-2-3, .col-8-12 {
	width: 66.66%;
}

.col-1-2, .col-6-12 {
	width: 50%;
}

.col-1-3, .col-4-12 {
	width: 33.33%;
}

.col-1-4, .col-3-12 {
	width: 25%;
}

.col-1-5 {
	width: 20%;
}

.col-1-6, .col-2-12 {
	width: 16.667%;
}

.col-1-7 {
	width: 14.28%;
}

.col-1-8 {
	width: 12.5%;
}

.col-1-9 {
	width: 11.1%;
}

.col-1-10 {
	width: 10%;
}

.col-1-11 {
	width: 9.09%;
}

.col-1-12 {
	width: 8.33%
}

/* Layout Columns */

.col-11-12 {
	width: 91.66%
}

.col-10-12 {
	width: 83.333%;
}

.col-9-12 {
	width: 75%;
}

.col-5-12 {
	width: 41.66%;
}

.col-7-12 {
	width: 58.33%
}

/* Pushing blocks */

.push-2-3, .push-8-12 {
	margin-left: 66.66%;
}

.push-1-2, .push-6-12 {
	margin-left: 50%;
}

.push-1-3, .push-4-12 {
	margin-left: 33.33%;
}

.push-1-4, .push-3-12 {
	margin-left: 25%;
}

.push-1-5 {
	margin-left: 20%;
}

.push-1-6, .push-2-12 {
	margin-left: 16.667%;
}

.push-1-7 {
	margin-left: 14.28%;
}

.push-1-8 {
	margin-left: 12.5%;
}

.push-1-9 {
	margin-left: 11.1%;
}

.push-1-10 {
	margin-left: 10%;
}

.push-1-11 {
	margin-left: 9.09%;
}

.push-1-12 {
	margin-left: 8.33%
}

@media handheld, only screen and (max-width: 767px) {
	.grid {
		width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		padding-left: 20px; /* grid-space to left */
		padding-right: 10px; /* grid-space to right: (grid-space-left - column-space) e.g. 20px-10px=10px */
	}

	[class*='col-'] {
		width: auto;
		float: none;
		margin: 10px 0;
		padding-left: 0;
		padding-right: 10px; /* column-space */
	}

	[class*='col-'] [class*='col-'] {
		padding-right: 0;
	}

	/* Mobile Layout */

	[class*='mobile-col-'] {
		float: left;
		margin: 0 0 10px;
		padding-left: 0;
		padding-right: 10px; /* column-space */
		padding-bottom: 0;
	}

	.mobile-col-1-1 {
		width: 100%;
	}
	.mobile-col-2-3, .mobile-col-8-12 {
		width: 66.66%;
	}

	.mobile-col-1-2, .mobile-col-6-12 {
		width: 50%;
	}

	.mobile-col-1-3, .mobile-col-4-12 {
		width: 33.33%;
	}

	.mobile-col-1-4, .mobile-col-3-12 {
		width: 25%;
	}

	.mobile-col-1-5 {
		width: 20%;
	}

	.mobile-col-1-6, .mobile-col-2-12 {
		width: 16.667%;
	}

	.mobile-col-1-7 {
		width: 14.28%;
	}

	.mobile-col-1-8 {
		width: 12.5%;
	}

	.mobile-col-1-9 {
		width: 11.1%;
	}

	.mobile-col-1-10 {
		width: 10%;
	}

	.mobile-col-1-11 {
		width: 9.09%;
	}

	.mobile-col-1-12 {
		width: 8.33%
	}

	/* Layout Columns */

	.mobile-col-11-12 {
		width: 91.66%
	}

	.mobile-col-10-12 {
		width: 83.333%;
	}

	.mobile-col-9-12 {
		width: 75%;
	}

	.mobile-col-5-12 {
		width: 41.66%;
	}

	.mobile-col-7-12 {
		width: 58.33%
	}

	.hide-on-mobile {
		display: none !important;
		width: 0;
		height: 0;
	}
}
.lista_zniczy img{
  width:100%;
}
.znicze .hover_effect{
  color:white;
  background-color:black;
  text-align:center;
  font-size:8px;
  height: 20px;
  width: 250px;
  margin:0 auto;
  color: orange;
  line-height: 2.5
}


