/*----------------------------------------------------------------*/
/*-------------------------O mnie---------------------------------*/
/*----------------------------------------------------------------*/

#omnieContainer
{
	width : 80%;
	margin-left : 10%;
	display : flex;
	flex-direction : column;
}

#omnieContent 
{
	padding-bottom : 1%;
}

#omnieLeft
{
	width : 30%;
	float:left;
	margin-right : 2%;
}

#omnieRight
{
	margin-left : 2%;
	width : 66%;
	float:left;
}

.omnieNaglowek
{
	width : 100%;
	height : 150px;
	padding :20px;
	clear:both;
}

.omnieNaglowek h1
{
	font-size : 400%;
}

.omnieNaglowek p
{
	font-size : 200%;
}



#omnieFoto img
{
	max-width : 100%;
	border-style : solid;
}

#omnieOpis
{

	width : 100%;
	border-style : solid;
	border-radius : 20px;
	padding : 20px;
	font-size : 100%;
	background : rgb(255,255,235, 0.9);
	margin-bottom : 50px;
}

#zdjecia
{
	margin : auto;
	text-align : center;

}

.foto img
{
	max-width : 20%;
	margin : 2.5%;
	border-style : solid;
	float:left;
	cursor: pointer;
	transition: 0.3s;
}


/*----------------------Modalne fotki----------------------------*/


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}





/*--------------------------------------------------*/

@media only screen and (min-width: 2000px) 
{
	#omnieOpis
	{
		font-size : 30px;
	}
	
	.omnieNaglowek
	{
		height : 250px;
	}
}

@media only screen and (max-width: 2000px) 
{
	#omnieOpis
	{
		font-size : 22px;
	}
}

@media only screen and (max-width: 1500px) 
{
	#omnieOpis
	{
		font-size : 20px;
	}
}

@media only screen and (max-width: 1100px) 
{
	#omnieOpis
	{
		font-size : 20px;
	}
}

@media only screen and (max-width: 1050px)
{
	#omnieContainer
	{
		width : 90%;
		margin-left : 5%;
	}
	
	#omnieOpis
	{
		font-size : 25px;
	}
	
	.omnieNaglowek
	{
		font-size : 15px;
		height : 150px;
	}
	
	#omnieLeft
	{
		margin : 0;
		width : 30%;
	}
		
	#omnieRight 
	{
		margin : 0;
		margin-left : 5%;
		width : 65%;
	}
	
	#omnieFoto
	{
		margin : 0;
		width : 100%;
	}

	.foto img
	{
		height : auto;
		max-width : 40%;
		margin-left : 5%;
		margin-right : 5%;
		border-style : solid;
		float:left;
	}
}

@media only screen and (max-width: 900px)
{	 
	#omnieContainer
	{
		width : 90%;
		margin-left : 5%;
	}
	
	#omnieOpis
	{
		font-size : 20px;
	}
	
	.omnieNaglowek
	{
		font-size : 12px;
		height : 120px;
	}
	
	#omnieLeft
	{
		margin : 0;
		width : 30%;
	}
		
	#omnieRight 
	{
		margin : 0;
		margin-left : 5%;
		width : 65%;
	}
	
	#omnieFoto
	{
		margin : 0;
		width : 100%;
	}

	.foto img
	{
		height : auto;
		max-width : 40%;
		margin-left : 5%;
		margin-right : 5%;
		border-style : solid;
		float:left;
	}	
}

@media only screen and (max-width: 800px)
{ 
	#omnieContainer
	{
		width : 90%;
		margin-left : 5%;
	}
	
	#omnieOpis
	{
		font-size : 20px;
	}
	
	.omnieNaglowek
	{
		font-size : 9px;
		height : 100px;
	}
	
	#omnieLeft
	{
		margin : 0;
		width : 30%;
	}
		
	#omnieRight 
	{
		margin : 0;
		margin-left : 5%;
		width : 65%;
	}
	
	#omnieFoto
	{
		margin : 0;
		width : 100%;
	}

	.foto img
	{
		height : auto;
		max-width : 40%;
		margin-left : 5%;
		margin-right : 5%;
		border-style : solid;
		float:left;
	}
}


@media only screen and (max-width: 700px)
{
	#omnieContainer
	{
		width : 90%;
		margin-left : 5%;
	}
	
	#omnieOpis
	{
		font-size : 20px;
	}
	
	.omnieNaglowek
	{
		font-size : 9px;
		height : 100px;
	}
	
	#omnieLeft
	{
		clear : both;
		width : 100%;
		margin : 0;
	}
	
	#omnieLeft .omnieNaglowek
	{
		height : 0px;
	}
	
	#omnieRight 
	{
		clear : both;
		width : 100%;
		margin : 0;
	}
	
	#omnieFoto
	{
		margin : 0;
	}

	.foto img
	{
		max-width : 45%;
		margin : 2.5%;
		border-style : solid;
		float:left;
	}
}
@media only screen and (max-width: 600px)
{
	#omnieContainer
	{
		width : 90%;
		margin-left : 5%;
	}
	
	#omnieOpis
	{
		font-size : 20px;
	}
	
	.omnieNaglowek
	{
		font-size : 9px;
		height : 100px;
	}
	
	#omnieLeft
	{
		clear : both;
		width : 50%;
		margin : 0;
		margin-left : 25%;
	}
	
	#omnieLeft .omnieNaglowek
	{
		height : 0px;
	}
	
	#omnieRight 
	{
		clear : both;
		width : 100%;
		margin : 0;
	}
	
	#omnieFoto
	{
		margin : 0;
	}
	
	.foto img
	{
		max-width : 95%;
		margin : 2.5%;
		border-style : solid;
		float:left;
	}
}

@media only screen and (max-width: 450px)
{ 
	#omnieContainer
	{
		width : 90%;
		margin-left : 5%;
	}
	
	#omnieOpis
	{
		font-size : 20px;
	}
	
	.omnieNaglowek
	{
		font-size : 9px;
		height : 100px;
	}
	
	#omnieLeft
	{
		clear : both;
		width : 50%;
		margin : 0;
		margin-left : 25%;
	}
	
	#omnieLeft .omnieNaglowek
	{
		height : 0px;
	}
	
	#omnieRight 
	{
		clear : both;
		width : 100%;
		margin : 0;
	}
	
	#omnieFoto
	{
		margin : 0;
	}
	
	.foto img
	{
		max-width : 95%;
		margin : 2.5%;
		border-style : solid;
		float:left;
	}
}

@media only screen and (max-width: 400px)
{
	#omnieContainer
	{
		width : 90%;
		margin-left : 5%;
	}
	
	#omnieOpis
	{
		font-size : 18px;
	}
	
	.omnieNaglowek
	{
		font-size : 8px;
		height : 100px;
	}
	
	#omnieLeft
	{
		clear : both;
		width : 50%;
		margin : 0;
		margin-left : 25%;
	}
	
	#omnieLeft .omnieNaglowek
	{
		height : 0px;
	}
	
	#omnieRight 
	{
		clear : both;
		width : 100%;
		margin : 0;
	}
	
	#omnieFoto
	{
		margin : 0;
	}
	
	.foto img
	{
		max-width : 95%;
		margin : 2.5%;
		border-style : solid;
		float:left;
	}
}

@media only screen and (max-width: 350px)
{
	
	#omnieContainer
	{
		width : 90%;
		margin-left : 5%;
	}
	
	#omnieOpis
	{
		font-size : 15px;
	}
	
	.omnieNaglowek
	{
		font-size : 8px;
		height : 100px;
	}
	
	#omnieLeft
	{
		clear : both;
		width : 50%;
		margin : 0;
		margin-left : 25%;
	}
	
	#omnieLeft .omnieNaglowek
	{
		height : 0px;
	}
	
	#omnieRight 
	{
		clear : both;
		width : 100%;
		margin : 0;
	}
	
	#omnieFoto
	{
		margin : 0;
	}	
	
	.foto img
	{
		max-width : 95%;
		margin : 2.5%;
		border-style : solid;
		float:left;
	}

	
}
