body {
	font-size:16px;
	height: 100%;
}
.w3-half img{margin-bottom:-6px;margin-top:16px;opacity:0.8;cursor:pointer}
.w3-half img:hover{opacity:1}
.just {text-align: justify;}
.programy {
	min-height: 275px;
	font-size: 75%;
	text-align: justify;
}
programy p {
	padding: 5px;
}
.newsy {background-color: #f1f1ff;}
.newsy-tresc {
	background-color: #fafafa;
	scrollbar-color: #0c87eb #f5f5f5;
	scrollbar-width: thin;
	position:relative;
}
.newsy-tresc::-webkit-scrollbar {
  width: 7px;
}
.newsy-tresc::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}
.newsy-tresc::-webkit-scrollbar-thumb {
  background-color: #0c87eb;
}
.newsy-tresc img {
	max-width: 400px;
	max-height: 250px;
}
.newsy-tresc:after {
  content: '';
  position: absolute;
  top: 67%;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, #fffd 50%, #f0f0ff 100%);
}

.prog-item {
	background-color: #fafafa;
	position:relative;
	height: 160px;
	overflow: hidden;
}

.prog-item:after {
	content: '';
	position: absolute;
	top: 75%;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, #f2f9fee0 50%, #f2f9fe 100%);
}

.cennik {min-height: 320px;}
.bgimg-1 {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: auto 80px;
  background-position: 256px 0;
  background-image: url('images/tlo.png');
  height: 128px;
}
.bgimg-2 {
  background-attachment: fixed;
  background-position: bottom;
  background-size: auto 100px;
  background-image: url('images/tlo.png');
  height: 100px;
}
.hrbar {
	width:250px;
	height:6px;
	margin: 10px 0;
}
@media only screen and (max-device-width: 990px) {
  #firma {
    margin-top:48px;
  }
}