﻿/*https://miketricking.github.io/bootstrap-image-hover/*/

.hovereffect {
	width: 100%;
	height: 100%;
	float: left;
	overflow: hidden;
	position: relative;
	text-align: center;
	cursor: default;
}

	.hovereffect .overlay {
		width: 100%;
		height: 100%;
		position: absolute;
		overflow: hidden;
		top: 0;
		left: 0;
		background-color: rgba(75,75,75,0);
		-webkit-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;
	}

	.hovereffect:hover .overlay {
		background-color: rgba(228, 51, 65, 0.4);
	}

	.hovereffect img {
		display: block;
		position: relative;
	}

	.hovereffect .title {
		text-align: center;
		position: relative;
		-webkit-transform: translateY(2px);
		-ms-transform: translateY(2px);
		transform: translateY(2px);
		-webkit-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;
	}

		.hovereffect .title img {
			margin: 0 auto 2px auto;
		}

		.hovereffect .title h2 a {
			color: #fff;
		}

		.hovereffect .title h2 {
			color: #fff;
			text-align: center;
			position: relative;
			font-size: 17px;
			padding: 10px;
			background: rgba(228, 51, 65, 0.9);
		}

			.hovereffect .title h2 a {
				color: #fff;
			}

	.hovereffect:hover .title {
		-webkit-transform: translateY(-82px);
		-ms-transform: translateY(-82px);
		transform: translateY(-82px);
	}

	.hovereffect a.info {
		display: inline-block;
		text-decoration: none;
		padding: 7px 14px;
		text-transform: uppercase;
		font-weight: 700 !important;
		color: #fff;
		border: 1px solid #fff;
		background-color: transparent;
		opacity: 0;
		filter: alpha(opacity=0);
		-webkit-transform: scale(0);
		-ms-transform: scale(0);
		transform: scale(0);
		-webkit-transition: all 0.4s ease-in-out;
		transition: all 0.4s ease-in-out;
		font-weight: normal;
		/*margin: -52px 0 0 0;*/
		padding: 52px 0;
		text-align: center;
		width: 290px;
		position: absolute;
		left: 30px;
		top: 70px;
	}

@media(min-width:768px) and (max-width:1199px) {
	.hovereffect .title img {
		width: 60px;
	}

	.hovereffect a.info {
		padding: 50px 56px;
	}

	.hovereffect:hover .title {
		-webkit-transform: translateY(-62px);
		-ms-transform: translateY(-62px);
		transform: translateY(-62px);
	}

	.hovereffect a.info {
		padding: 52px 0;
		left: 10px;
		width: 270px;
		top: 50px;
	}
}

@media(min-width:768px) and (max-width:991px) {
	.hovereffect a.info {
		padding: 32px 0;
		width: 310px;
		top: 115px;
		opacity: 1;
		filter: alpha(opacity=100);
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);
	}
	.hovereffect .overlay {
		background-color: rgba(228, 51, 65, 0.4);
	}
	.hovereffect:hover .title {
		-webkit-transform: translateY(-2px);
		-ms-transform: translateY(-2px);
		transform: translateY(-2px);
	}
}

@media(max-width:767px) {
	.hovereffect .title img {
		display:none;
	}
	.hovereffect .title {
		-webkit-transform: translateY(0px);
		-ms-transform: translateY(0px);
		transform: translateY(0px);
	}
	.hovereffect a.info {
		display:block;
		position:relative;
		padding: 32px 0;
		top: 0px;
		left:0;
		margin:10px;
		width:auto;
		opacity: 1;
		filter: alpha(opacity=100);
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);
	}
	.hovereffect .overlay {
		background-color: rgba(228, 51, 65, 0.4);
	}
	.hovereffect:hover .title {
		-webkit-transform: translateY(0px);
		-ms-transform: translateY(0px);
		transform: translateY(0px);
	}
}

.hovereffect:hover a.info {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}

.hovereffect a.info:hover {
	box-shadow: 0 0 5px #fff;
}
