.grid {
	padding: 0px 0px;
	margin: 0px;
	max-width: 960px;
	margin: 0 auto;
	list-style: none;

}

ul.grid {
	margin: 0;
}

.grid li {
	display: inline-block;
	text-align: left;
	position: relative;
	padding-bottom: 16px;
}
.grid li .boximage {
	height: 222px;
}
.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
	height: 100%;
}

.grid figcaption {
	position: absolute;
	bottom: 0px;
	left: 0;
	padding: 0px;
	color: #ed4e6e;
	width: 100%;
	*height: auto;
	*min-height: 47px;
	background-color: #ff6803;
}

.grid figcaption h3 {
	margin: 0px 0px 0px 0px;
	padding: 0;
	color: #fff;
	line-height: 1;
	font-size: 18px;
	display: table-row;
	vertical-align: middle;
	text-align: center;
}

.grid figcaption span:before {
	content: 'by ';
}

.grid figcaption a {
text-align: center;
padding: 10px;
display: inline-block;
color: #ffffff;
display: table-cell;
vertical-align: middle;
font-size: 17px;
line-height: 23px;
}


.pytania .grid figcaption {
position: absolute;
bottom: 0;
left: 0;
padding: 0px;
color: #ed4e6e;
width: 100%;
background-color: #bc218e;
}

/* Individual Caption Styles */

/* Caption Style 1 */
.cs-style-1 figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	text-align: center;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.no-touch .cs-style-1 figure:hover figcaption,
.cs-style-1 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translate(15px, 15px);
	-moz-transform: translate(15px, 15px);
	-ms-transform: translate(15px, 15px);
	transform: translate(15px, 15px);
}

.cs-style-1 figcaption h3 {
	margin-top: 70px;
}

.cs-style-1 figcaption span {
	display: block;
}

.cs-style-1 figcaption a {
	margin-top: 30px;
}

/* Caption Style 2 */
.cs-style-2 figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-2 figure:hover img,
.cs-style-2 figure.cs-hover img {
	-webkit-transform: translateY(-90px);
	-moz-transform: translateY(-90px);
	-ms-transform: translateY(-90px);
	transform: translateY(-90px);
}

.cs-style-2 figcaption {
	height: 90px;
	width: 100%;
	top: auto;
	bottom: 0;
}

.cs-style-2 figcaption a {
	position: absolute;
	right: 20px;
	top: 30px;
}

/* Caption Style 3 */
.cs-style-3 figure {
	overflow: hidden;
}

.cs-style-3 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(-50px);
	-moz-transform: translateY(-50px);
	-ms-transform: translateY(-50px);
	transform: translateY(-50px);
}

.cs-style-3 figcaption {
	height: 100px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-3 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}



/* Caption Style 5 */
.cs-style-5 figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-5 figure:hover img,
.cs-style-5 figure.cs-hover img {
	-webkit-transform: scale(0.4);
	-moz-transform: scale(0.4);
	-ms-transform: scale(0.4);
	transform: scale(0.4);
}

.cs-style-5 figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-transform: scale(0.7);
	-moz-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	-moz-transition: -moz-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}

.no-touch .cs-style-5 figure:hover figcaption,
.cs-style-5 figure.cs-hover figcaption {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}

.cs-style-5 figure a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 6 */
.cs-style-6 figure img {
	z-index: 10;
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-6 figure:hover img,
.cs-style-6 figure.cs-hover img {
	-webkit-transform: translateY(-50px) scale(0.5);
	-moz-transform: translateY(-50px) scale(0.5);
	-ms-transform: translateY(-50px) scale(0.5);
	transform: translateY(-50px) scale(0.5);
}

.cs-style-6 figcaption {
	height: 100%;
	width: 100%;
}

.cs-style-6 figcaption h3 {
	margin-top: 60%;
}

.cs-style-6 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* Caption Style 7 */
.cs-style-7 li:first-child { z-index: 6; }
.cs-style-7 li:nth-child(2) { z-index: 5; }
.cs-style-7 li:nth-child(3) { z-index: 4; }
.cs-style-7 li:nth-child(4) { z-index: 3; }
.cs-style-7 li:nth-child(5) { z-index: 2; }
.cs-style-7 li:nth-child(6) { z-index: 1; }

.cs-style-7 figure img {
	z-index: 10;
}

.cs-style-7 figcaption {
	height: 100%;
	width: 100%;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	-moz-transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	transition: opacity 0.3s, height 0.3s, box-shadow 0.3s;
	box-shadow: 0 0 0 0px #2c3f52;
}

.no-touch .cs-style-7 figure:hover figcaption,
.cs-style-7 figure.cs-hover figcaption {
	opacity: 1;
	height: 130%;
	box-shadow: 0 0 0 10px #2c3f52;
}

.cs-style-7 figcaption h3 {
	margin-top: 86%;
}

.cs-style-7 figcaption h3,
.cs-style-7 figcaption span,
.cs-style-7 figcaption a {
	opacity: 0;
	-webkit-transition: opacity 0s;
	-moz-transition: opacity 0s;
	transition: opacity 0s;
}

.cs-style-7 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

.no-touch .cs-style-7 figure:hover figcaption h3,
.no-touch .cs-style-7 figure:hover figcaption span,
.no-touch .cs-style-7 figure:hover figcaption a,
.cs-style-7 figure.cs-hover figcaption h3,
.cs-style-7 figure.cs-hover figcaption span,
.cs-style-7 figure.cs-hover figcaption a {
	-webkit-transition: opacity 0.3s 0.2s;
	-moz-transition: opacity 0.3s 0.2s;
	transition: opacity 0.3s 0.2s;
	opacity: 1;
}

.forum h6.forum1 a {
text-align: center;
/*padding: 10px;*/
display: table-cell;
color: #ffffff;
vertical-align: middle;
font-size: 17px;
line-height: 18px;
}

.forum1 a.forum1 h6{
position: relative;
}

.forum h3.forum1 a {
text-align: center;
/*padding: 10px;*/
display: table-cell;
color: #ffffff;
vertical-align: middle;
font-size: 17px;
line-height: 18px;
}

.forum1 a.forum1 h3{
position: relative;
}

.tyt .bbp_show_date span:before {
	margin-left: 0px;
}
.tyt .klasa {
	overflow: hidden;
	clear: both;
	width: auto;
	height: auto;
}
.tyt .klasa div.bbp_show_user,
.tyt .klasa div.bbp_show_comments {
	float: left;
	font-size: 12px;
}
.tyt .klasa .bbp_show_user {
	padding: 0px 10px 0px 0px;
}
.tyt .klasa .bbp_show_user span:before,
.tyt .klasa .bbp_show_comments span:before {
	margin-left: 0px;
}
.tyt .forum1 .forum1 {
	height: 55px;
}

.kategoria h3 {
background: #8cb625;
color: #ffffff;
padding: 18px 20px;
text-align: center;
position: absolute;
top: 0;
width: 190px;
}


@media only screen and (max-width: 719px) {

.grid figure img {
  width: 100%;
  display: block;
  position: relative;
  float: left;
}
.grid figcaption {
  position: relative;
  bottom: 0;
  left: 0;
  padding: 0px;
  color: #ed4e6e;
  width: 100%;
  display: table;
  height: 75px;
  background-color: #ff6803;
}
.pytania .grid figcaption {
  position: relative;
  bottom: 0;
  left: 0;
  padding: 0px;
  color: #ed4e6e;
  width: 100%;
  display: table;
  height: 75px;
  background-color: #bc218e;
}

.users {
	display:none;
  clear: both;
}

}







@media only screen and (min-width: 720px) and (max-width: 1023px) {

.grid figure img {
  width: 100%;
  display: block;
  position: relative;
  min-height: 100%;
}
.grid figcaption {
  position: relative;
  bottom: 0;
  left: 0;
  padding: 0px;
  color: #ed4e6e;
  width: 100%;
  display: table;
  height: 75px;
  background-color: #ff6803;
}
.pytania .grid figcaption {
  position: relative;
  bottom: 0;
  left: 0;
  padding: 0px;
  color: #ed4e6e;
  width: 100%;
  display: table;
  height: 75px;
  background-color: #bc218e;
}

.users {
	display:none;
  clear: both;
}

}
