/* Global Settings */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
	text-decoration:none;  
   
}



:root {
    --blue:  #000000;
    --blackHover:  #000000;
}

html {
    
    overflow-x: hidden;
    font-family: Judson, sans-serif;
}

.zdj
{
	margin-left: 170px;
	width: 300px;
}


/*Content styling - Aktualnosci*/
.square3
{
	width: 85%;
	margin-top: 10px;
	margin-bottom: -150px;
	float: left;
	margin-left: 60px;
	font-size: 25px;
}


@media (max-width: 1208px)
{
	.square3
{
	width: 50%;
	margin-top: 50px;
	margin-bottom: -100px;
	float: left;
	margin-left: 80px;
}
}


@media (max-width: 768px)
{
	.square3
{
	width: 75%;
	margin-top: 50px;
	margin-bottom: -100px;
	float: left;
	margin-left: 40px;
}
}


@media (max-width: 320px)
{
	.square3
{
	width: 75%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 40px;
}
}




.square2
{
	width: 85%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 120px;
	justify-content: center;
	display: flex;
}

.adoracja1
{
	width:100%;
	justify-content: center;
	display: flex;
}

@media (max-width: 1208px)
{
	.square2
{
	width: 50%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 80px;
}

.adoracja
{
	width:100%;
}
}


@media (max-width: 768px)
{
	.square2
{
	width: 95%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 40px;
}
}


@media (max-width: 320px)
{
	.square2
{
	width: 95%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 20px;
}
}






.square
{
	width: 32%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 120px;
	font-size: 25px;
}

@media (max-width: 1208px)
{
	.square
{
	width: 50%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 80px;
}
}


@media (max-width: 768px)
{
	.square
{
	width: 95%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 20px;
}
}


@media (max-width: 320px)
{
	.square
{
	width: 85%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 20px;
}
}



.square1
{
	width: 85%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 120px;
}



@media (max-width: 1208px)
{
	.square1
{
	width: 85%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 80px;
}
}


@media (max-width: 768px)
{
	.square1
{
	width: 85%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 40px;
}
}


@media (max-width: 320px)
{
	.square1
{
	width: 85%;
	margin-top: 50px;
	margin-bottom: 50px;
	float: left;
	margin-left: 20px;
}
}

@media (max-width: 1000px)
{

	.zdj
	{
	margin-left: -5%;
	}

	


	

	

}




.kosciol
{
	width:55%;
	margin-top: 3%;
	margin-left: 23%;
	text-align: center;
}



.opis
{
	font-size: 23px;
	padding: 15px;
	text-align: justify;
}


@media (max-width:600px)
{
	.opis
	{
		font-size: 23px;
		padding: 15px;
		text-align: left;
	}
}
.window
{
	float: left;
	padding: 5%;
}





.Duch_Święty
{
	width:45%;
	margin-top: 3%;
	margin-left: 27%;
	text-align: center;
}

@media (max-width:1000px) 
{
	.Duch_Święty
	{
	width: 100%;
	margin-top: 3%;
	margin-left: 0.00999%;
	text-align: center;
	}	
}

.Eucharystia
{
	width: 57%;
	margin-top: 3%;
	margin-left: 22%;
	text-align: center;
}

@media (max-width:1000px) 
{
	.Eucharystia
	{
	width: 100%;
	margin-top: 3%;
	margin-left: 0.00999%;
	text-align: center;
	}	
}

.Pokuta
{
	width: 37%;
	margin-top: 3%;
	margin-left: 31%;
	text-align: center;
}

@media (max-width:1000px) 
{
	.Pokuta
	{
	width: 100%;
	margin-top: 3%;
	margin-left: 0.00999%;
	text-align: center;
	}	
}

.Posługa
{
	width: 55%;
	margin-top: 3%;
	margin-left: 22%;
	text-align: center;
}

@media (max-width:1000px) 
{
	.Posługa
	{
	width: 100%;
	margin-top: 3%;
	margin-left: 0.00999%;
	text-align: center;
	}	
}

.Kapłaństwo
{
	width: 45%;
	margin-top: 3%;
	margin-left: 27%;
	text-align: center;
}

@media (max-width:1000px) 
{
	.Kapłaństwo
	{
	width: 100%;
	margin-top: 3%;
	margin-left: 0.00999%;
	text-align: center;
	}	
}


.Małżeństwo
{
	width: 40%;
	margin-top: 3%;
	margin-left: 29%;
	text-align: center;
}

@media (max-width:1000px) 
{
	.Małżeństwo
	{
	width: 100%;
	margin-top: 3%;
	margin-left: 0.00999%;
	text-align: center;
	}	
}

.Chrzest
{
	width: 40%;
	margin-top: 3%;
	margin-left: 29%;
	text-align: center;
}

@media (max-width:1000px) 
{
	.Chrzest
	{
	width: 100%;
	margin-top: 3%;
	margin-left: 0.00999%;
	text-align: center;
	}	
}



/*Pagination Styling */
.block-27 .ul
{
  	padding: 0;
  	margin: 0;
}

.block-27 .ul .li 
{
	display: inline-block;
	margin-bottom: 4px;
	font-weight: 400;
}

.block-27 .ul .li a, 
.block-27 .ul .li span 
{
	color: gray;
	text-align: center;
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 50%;
	border: 1px solid #e6e6e6;
	text-decoration: none;
	margin-top: 30px;
}

.block-27
{
	position: absolute;
	top:80%;
	width: 150px;
}

/*footer styling*/
html, body {
	margin:0;
	padding:0;
	height:100%;
}
.container {
margin-bottom: 100px;

}

footer 
{
	text-align: center;
	color: rgba(240, 235, 229, 0.875);
	width:100%;
	height:60px;		/* Wysokość nagłówka */
	background:#0B474B;
	font-size: 20px;
	float: left;
}


/* Nav Styling */
#menu-button {display: none;}
   #menu {list-style: none; float: left; width: 90%; margin-left: 6%;}
   #menu li {float: left; display: block; padding: 0 1%;}
   #menu li a {text-decoration: none; }

   @media screen and (max-width: 300px) {
     #menu {display: block !important;}
    }

   @media screen and (max-width: 480px) {
     #menu {display: none;}
     #menu li {width: 100%; padding: 2% 0;}
     #menu-button {display: block;}
    }

	@media (max-width:1100px)
	{
	#menu {list-style: none; float: left; width: 100%;margin-left:0;}
	}

nav {  
   
    width:100%;
    background: rgb(76, 166, 191);
	height: 80px;
   
 }  

 nav ul {  
text-align: center;

 }  
 nav ul li {  
    line-height:80px;  
    display:inline-block;  
  
 }  
 nav ul li a {  
    text-transform:uppercase;
    font-size: 22px;
    color: white;
    padding:7px 13px;
    border-radius: 50px;
    
    text-decoration: none;
 }  


 nav ul #li {  
    line-height:80px;  
    display:inline-block;  
    margin:0 5px;  
	margin-right: 2%;
 }  
 nav ul #li a {  
    text-transform:uppercase;
    font-size: 22px;
    color: white;
    padding:7px 13px;
    border-radius: 50px;
    
    text-decoration: none;
 }  

 a.active,a:hover {  
   background: #1b9bff;
    transition:0.2s;
	cursor: pointer;
 }  
 .check_btn {  
    font-size:30px;
    color:white;
    float:right;
    line-height:80px;
    margin-right:40px;
    cursor:pointer;
    display:none;
	
 }  
 #check {  
    display:none;  
 }  
 @media (max-width:952px) {

  nav ul li a {  
    font-size:16px;  
  }  

  nav ul #li a {  
    font-size:16px;  
  }  
 }  
 @media (max-width:1100px) {  
  .check_btn {  
    display:block;  
	
  }  

  ul {  
    width:100%;  
	background: rgb(76, 166, 191);
    text-align: center;
  }

  nav ul li {  
    display:block;  
    line-height:30px;  
    margin:50px 0;  
  }  
  nav ul li a {  
    font-size: 20px;
    padding:7px 50px;
	
  }  

  nav ul #li {  
    display:block;  
    line-height:30px;  
    margin:50px 0;  
  }  
  nav ul #li a {  
    font-size: 20px;
    padding:7px 50px;
	
  }  

  a.active,a:hover {  
    background:none;  
    color: #0082e6;  
	cursor: pointer;
  }  
  #check:checked ~ ul {  
    left:0;  
  }  
 } 






/*header styling*/

#header
		{
			width: 100%;
			background: white;
		
			text-align: center;
			height: 180px;
			font-family: 'Cinzel', serif;
		}

#header p
{
	font-size: 50px;
	padding-top:50px;
}

#site-logo img
{
	width: 135px;
	float:left;
}

/*Podstrona strony Parafia*/
@media only screen and (min-width: 960px)
{
	.card
	{
		width: 100%;
	
			
	}

	.card-body 
	{
		width:100%;
		font-size: 22px;
		padding:3%;
	}

	#content-3
	{
		height:670px;
	}
}




@media only screen and (max-width: 960px)
{


	/*Podstrona strony Parafia*/
	.card
	{
		width: 100%;
	
			
	}

	.card-body 
	{
		width:100%;
		font-size: 22px;
		padding:3%;
	}

	#content-3
	{
		height:670px;
	}


	
  
/* Burger Styling */


a
{
	letter-spacing: 1px;
}



	

#content-1
{
	 position: relative; 
	 z-index: 1;
	  top: 0px; 
}


#content-3
{
	 position: relative; 
	 z-index: 1; 
	 top: 0px; 
}


/*header styling*/
		#header
		{
			width: 100%;
			text-align: center;
			height: 180px;
			font-family: 'Cinzel', serif;
		}

		#header p
		{
			font-size: 40px;
			padding-top:30px;
		}


}         



@media (max-width:1100px)
{
	#header
	{
		width: 100%;
		background: white;
	
		text-align: center;
		height: 330px;
		font-family: 'Cinzel', serif;
	}

#header p
{
	width: 100%;
	text-align: center;
}



#site-logo img
{
	width: 247px;
	text-align: center;
}

}




@media only screen and (max-width: 750px)
{

/*header styling*/

	#header
	{
	width: 100%;
	background: white;

	text-align: center;
	height: 1072px;
	font-family: 'Cinzel', serif;
	}

	#header p
	{
	width: 100%;
	text-align: center;
	justify-content: center;
	display: flex;
	}



	#site-logo img
	{
	width: 100%;
	text-align: center;
	}

	/*nav styling*/
    

a
{
	letter-spacing: 1px;
}




}

@media (max-width:500px)
{
	/*header styling*/

	#header
	{
	width: 100%;
	background: white;

	text-align: center;
	height: 796px;
	font-family: 'Cinzel', serif;
	}

	#header p
	{
	width: 100%;
	text-align: center;
	justify-content: center;
	display: flex;
	}



	#site-logo img
	{
	width: 100%;
	text-align: center;
	}
}


@media only screen and (max-width: 700px)
{


/* Burger Styling */

    

a
{
	letter-spacing: 1px;
}




#content-1
{
	 position: relative; 
	 z-index: 1;
	  top: 0px; 
}


#content-3
{
	 position: relative; 
	 z-index: 1; 
	 top: 0px; 
}



.p
{
	font-size: 20px; 
	width: 95%; 
	margin-left: 180%;
}

}


		
  	
		

	
		
	/*img styling*/
	.thumbnail img
	{
		
		max-width: 100%;
		height: auto;
		padding-top: 8px;
		
	}


			

    





/*
/*Podstrona strony Galeria*/
/*content styling*/
#content-2
{
			width: 100%;
			height: 300px;
			padding: 30px;
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
}

/*Aktualności - content styling*/




/*img styling*/
@media(max-width:405px)
{
	#content-2
	{
		width: 100%;
		height: 300px;
		padding: 30px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.zdj
	{
		margin-left: -15%;
	}

	
}


@media(max-width:350px)
{
	
	



	#content-2
	{
		width: 100%;
		height: 300px;
		padding: 30px;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.zdj
	{
		margin-left: -24%;
		justify-content: center;
		display: flex;
		
	}



	/*header styling*/
	#header
	{
	width: 100%;
	background: white;

	text-align: center;
	height: 656px;
	font-family: 'Cinzel', serif;
	}

	#header p
	{
	width: 100%;
	text-align: center;
	justify-content: center;
	display: flex;
	}

}


@media(max-width:317px)
{
	.zdj
	{
		max-width:100%;
	}
}

.thumbnail
{
	margin: 10px 0;
	width: 150px;
	margin-right: 4%;
	padding: 5px;
	opacity: 0.7;
	border-radius: 5px;
	
	box-sizing: border-box;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;

}



.thumbnail img 
{
	width: 150px;
	flex-basis: 50px;
}




.thumbnail:hover
{
	opacity: 1;
	transition: 0.3s all linear;
	cursor: pointer;
	transform: scale(1.1);
}

.thumbnail1:hover
{
	opacity: 1;
	transition: 0.3s all linear;
	cursor: pointer;
	transform: scale(1.1);
}


/*img styling popup*/

.popup
{
	align-content: center;
	justify-content: center;
	position: absolute;
	position: fixed;
	display: flex;
	height: 100vh;
	width: 100vw;
	flex-wrap: wrap;
	left: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.5);
}

.popup__img
{
	max-width: 90%;
	max-height: 90%;

}


.popup.hidden
{
	display: none;
}


.popup__close {
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 128px;
    position: fixed;
    right: 64px;
    top: 64px;
}

.popup__arrow {
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 50px;
    height: 88px;
    line-height: 88px;
    position: absolute;
    top: 50%;
    width: 88px;
}

.popup__close,
.popup__arrow {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.popup__close:hover,
.popup__arrow:hover {
    opacity: 1;
}

.popup__arrow--left {
    left: 5%;
}

.popup__arrow--right {
    right: 5%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}



