@media only screen and (max-width: 2400px) { 
.gallery {
	float: left;
	position: relative;
	width: 23%;
	height: auto;
	margin: 25px 1% 0 1%;
}
.gallery img {
	position: relative;
	width: 100%;
	max-height: 230px;
	margin: 0 0 -5px 0;
}
.gall-title span {
	display: table-cell;
	vertical-align: middle;
	height: 60px;
	overflow: hidden;
	line-height: 20px;
	font-size: 13pt;
	padding: 0 10px;
}
.gall-title p {
	margin-top: 0px;
	font-size: 10pt;
	padding: 0 10px;
}
.gall-title {
	position: absolute;
	height: 60px;
	width: 100%;
	background: rgba(0,0,0,.45);
	overflow: hidden;
	bottom: 0px;
	left: 0px;
	-webkit-transition: height 1s;
	-moz-transition: height 1s;
	-o-transition: height 1s;
	-ms-transition: height 1s;
	transition: height 1s;
	color: #fff;
}
.gallery :hover .gall-title {height:100%;}
.gallery :hover canvas {opacity:0;}
}
@media only screen and (max-width: 600px) { 
.gallery {
	float: none;
	position: relative;
	display: table;
	width: 100%;
	height: auto;
	margin: 0 auto;
	margin-top: 25px;
}
.gallery img {
	position: relative;
	width: 100%;
	max-height: 100%;
	margin: 0px;
}
.gall-title span {
	display: table-cell;
	vertical-align: middle;
	height: 60px;
	overflow: hidden;
	line-height: 25px;
	font-size: 18pt;
	padding: 0 10px;
}
.gall-title p {
	margin-top: 0px;
	font-size: 12pt;
	padding: 0 10px;
}
.gall-title {
	position: absolute;
	height: 60px;
	width: 100%;
	background: rgba(0,0,0,.45);
	overflow: hidden;
	bottom: 5px;
	left: 0px;
	-webkit-transition: height 1s;
	-moz-transition: height 1s;
	-o-transition: height 1s;
	-ms-transition: height 1s;
	transition: height 1s;
	color: #fff;
}
.gallery :hover .gall-title {height:auto;}
.gallery :hover canvas {opacity:0;}
}