/*najwieksza rozdzielczosc laptopów*/
@media only screen and (max-width: 2000px) {
#menu { display: block; }
#mmenu { display: none; }
#mkontakt { display: none; }

}
 
/*średni telefon lub IPad*/
@media only screen and (max-width: 680px) {
#stopka { display: none; }
#stopka a { display: none; }
#menu { display: none; }
#mmenu { display: block; }
#kontakt { display: none; }
#mkontakt { display: block; }

}

img{
max-width: 100%;
height:auto;
width:auto;
position: relative;
}

/* ogólne ------------------ */
* {margin: 0px; padding: 0px;}
body { font: 16px Verdana; background-image: url(images/tlo.webp); background-attachment: fixed; line-height:1.6;
		margin-left: 10px; }

#wrapper { width:100%; overflow:hidden; margin: 0 auto; }
a {color: #354458;}
 
/* tresc ------------ */
#content { width:75%; background: #EB7260; float:left; padding:1%; overflow:hidden;
margin-top:40px; background-color: #0099cc;
  }
/* mtresc ------------ */
#mcontent { width:75%; background: #EB7260; float:left; padding:1%; overflow:hidden;
margin-top:40px; background-color: #0099cc;
  }
 
/* menu ------------ */
#menu {	width:91%; padding:1%; 
		margin-top:20px;
		height:80px;
	width:60%;
		margin-left: auto;
		margin-right: auto;
		border-radius: 20px;
		border: 5px #5F9BD1 solid;
		background-color: #66ccff;		
		border:solid #408080 1px;
		padding-left: 26px;
		padding-right: 26px;
		color:#000000;
		opacity:0.8;
		font-weight: bold;

}

/* mmenu ------------ */
#mmenu {	width:89%; padding:1%; 
		margin-top:20px;
		height:auto;
		margin-left: 1px;
		margin-right: 1px;
		border-radius: 20px;
		border: 5px #5F9BD1 solid;
		background-color: #66ccff;		
		border:solid #408080 1px;
		padding-left: 10px;
		padding-right: 10px;
		color:#000000;
		opacity:0.8;
		font-weight: bold;

}

#menu h5 {padding:3px 3px 15px 3px; font-size:14px;}
#menu ul li {list-style-type:none; padding:0 0 0 10px;}
a {
		text-decoration: none;
		color: #000000;
	}

#menu a {
/* dwa wiersze odpowiadają za odstęp miedzy zakładkami */
		padding-left:20px;
		padding-right:20px;
		color:#000000;
		float:center;
		font-weight: bold;

	}

#menu a:hover {
/* modul odp za linie pod zakladka menu */
		margin-top:4px;
		color:#ffffff;
		text-decoration:underline;
	}
#mmenu a {
/* dwa wiersze odpowiadają za odstęp miedzy zakładkami */
		padding-left:12px;
		padding-right:12px;
		color:#000000;
		float:center;
		font-weight: bold;

	}

#mmenu a:hover {
/* modul odp za linie pod zakladka menu */
		margin-top:4px;
		color:#ffffff;
		text-decoration:underline;
	}

#tresc {
		margin-top: 0px;
		margin-left: 0 auto;
		margin-right: 0 auto;
		height:auto;
		width:95%;
		background:#ffffff;
		border-radius:20px;
		border: 5px #5F9BD1 solid;
		background-color: #66ccff;
		opacity:0.8;
		border:solid #408080 1px;
		margin-bottom:10px;	
	}

#mtresc {
		margin-top: 0px;
		margin-left: 0 auto;
		margin-right: 0 auto;
		height:auto;
		width:95%;
		background:#ffffff;
		border-radius:20px;
		border: 5px #5F9BD1 solid;
		background-color: #66ccff;
		opacity:0.8;
		border:solid #408080 1px;
		margin-bottom:10px;	
	}

#logo {
		background:url(images/logo.gif) no-repeat center;
		width:95%;
		height:250px;
		margin-left: 0 auto;
		margin-right: 0 auto;
		border-radius:20px;
		margin-top:0px;
	}

#kontakt {
		margin-top:20px;
		height:auto;
	width:50%;
	margin-left: auto;
	margin-right: auto;
		background:#ffffff;
		border-radius:20px;
		border: 5px #5F9BD1 solid;
		background-color: #66ccff;
		opacity:0.8;
		border:solid #408080 1px;
		margin-bottom:10px;
	}
#mkontakt {
		margin-top:20px;
		height:auto;
	width:75%;
	margin-left: auto;
	margin-right: auto;
		background:#ffffff;
		border-radius:20px;
		border: 5px #5F9BD1 solid;
		background-color: #66ccff;
		opacity:0.8;
		border:solid #408080 1px;
		margin-bottom:10px;
	}

#stopka {
		clear:both;
		text-align:right;
		margin-left:380px;
		margin-right:10px;
		width:100%;
		height:15px;
		margin-top:1230px;
		border-top:solid #dcdcdc 1px;
		border-left:solid #dcdcdc 1px;
		border-right:solid #dcdcdc 1px;
		border-bottom:solid #dcdcdc 1px;
		background:#fbfbfb;
		border-radius:20px;
		border: 5px #5F9BD1 solid;
		background-color: #97cbff;		
		border:solid #408080 1px;		
		font-size:11px;
		font-family:Verdana, Arial, Helvetica, sans-serif;
	}
#stopka a {
		color: #000000;
	}
#stopka a:hover {
		text-decoration:underline;
	}
#copyright {
		float:left;
		padding-left:100px;
	}
#design {
		float:right;
		padding-left:0px;
		margin-top:0px;
}




.gallery-content {
  font-size: 0;
  letter-spacing: 0;
  line-height: 0;
  margin-bottom: 1rem;
  text-align: center;
}

.gallery-content a {
  background: no-repeat center / cover;
  border: 3px solid #737c85;
  display: inline-block;
  height: 120px;
  margin: 5px;
  width: 120px;
}

.gallery-content a:hover {
  border-color: #ffc000;
}

.compsoul-gallery-mask {
  background: rgba(0, 0, 0, 0.8);
  display: none;
  height: 100vh;
  left: 0rem;
  position: fixed;
  top: 0rem;
  width: 100vw;
  z-index: 999;
}

.compsoul-gallery-mask.active {
  display: block;
}

.compsoul-gallery-mask-before {
  height: 100vh;
  left: 0rem;
  position: fixed;
  top: 0rem;
  width: 100vw;
}

.compsoul-gallery-mask-before-button {
  background: #000;
  content: "";
  cursor: pointer;
  height: 4vw;
  right: 0rem;
  position: fixed;
  top: 0rem;
  width: 4vw;
  z-index: 1;
}

.compsoul-gallery-mask-before:after {
  color: #fff;
  content: "\f105\f104";
  cursor: pointer;
  font-family: "FontAwesome";
  font-size: 2vw;
  letter-spacing: -0.1875rem;
  line-height: 2vw;
  right: 2vw;
  position: fixed;
  top: 2vw;
  transform: translate(50%, -50%);
  z-index: 1;
}

.compsoul-gallery img {
  border: 0;
  clip: rect(0 0 0 0);
  height: 0.0625rem;
  margin: -0.0625rem; 
  overflow: hidden; 
  padding: 0;
  position: absolute; 
  width: 0.0625rem;
}

.compsoul-gallery .gallery-comment {
  background: rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  bottom: 0;
  color: #fff;
  padding: 10px;
  position: absolute;
  width: 100%;
}

.compsoul-gallery-prev, .compsoul-gallery-next {
  background: #000;
  cursor: pointer;
  font-size: 0;
  height: 4vw;
  letter-spacing: 0;
  line-height: 0;
  right: 0rem;
  overflow: hidden;
  position: fixed;
  text-indent: 100%;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  width: 4vw;
  z-index: 1;
}

.compsoul-gallery-prev {
  left: 0rem;
}

.compsoul-gallery-prev:before, .compsoul-gallery-next:before {
  display: block;
  color: #fff;
  content: "\f105";
  font-family: "FontAwesome";
  font-size: 2vw;
  line-height: 4vw;
  height: 4vw;
  text-align: center;
  text-indent: initial;
  width: 4vw;
}

.compsoul-gallery-close:after {
  float: left;
  margin-left: 0.1875rem;
  text-align: right;
  width: 2vw;
}

.compsoul-gallery-prev:before {
  content: "\f104";
}

.compsoul-gallery-first-element, .compsoul-gallery-second-element {
  background: no-repeat center / cover;
  left: 50%;
  max-height: 90vh;
  max-width: 90vw;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
}

.compsoul-gallery-first-element.active {
  animation: active linear 0.4s forwards;
}

.compsoul-gallery-first-element.next, .compsoul-gallery-second-element.next {
  animation: next-of linear 0.4s forwards;
}

.compsoul-gallery-first-element.prev, .compsoul-gallery-second-element.prev {
  animation: prev-of linear 0.4s forwards;
}

.compsoul-gallery-first-element.next.active, .compsoul-gallery-second-element.next.active {
  animation: next linear 0.4s forwards;
}

.compsoul-gallery-first-element.prev.active, .compsoul-gallery-second-element.prev.active {
  animation: prev linear 0.4s forwards;
}

.compsoul-gallery-loader {
  opacity: 0;
}

.compsoul-gallery-loader.active {
  animation: active linear 0.4s forwards 0.4s;
}

.compsoul-gallery-loader.none {
  animation: none;
  transition: opacity 0.4s;
}

.compsoul-gallery-loader:before, .compsoul-gallery-loader:after {
  animation: turn linear 1s infinite;
  border: solid #fff;
  border-radius: 100%;
  content: "";
  display: block;
  height: 2rem;
  left: 50%;
  margin: -1rem 0 0 -1rem;
  position: fixed;
  top: 50%;
  width: 2rem;
}

.compsoul-gallery-loader:before {
  border-width: 0 0.125rem 0.125rem 0;
}

.compsoul-gallery-loader:after {
  animation-direction: reverse;
  border-width: 0.125rem 0 0 0.125rem;
  height: 4rem;
  margin: -2rem 0 0 -2rem;
  width: 4rem;
}

@keyframes active {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  } 
}

@keyframes next {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  } 
}

@keyframes next-of {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: translate(-100%, -50%);
  }
}

@keyframes prev {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  } 
}

@keyframes prev-of {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: translate(0%, -50%);
  } 
}

@keyframes turn {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  } 
}