/* Image zoom on hover + Overlay colour */
.hoverText .parent {
    width: 100%;
    padding: 5px;
    height: 250px;
    overflow: hidden;
    position: relative;
    float: left;
    display: inline-block;
	cursor: pointer;
}

.hoverText .child {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
	background-position:center;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.hoverText a {
	padding: 5px 0px;
	width:98.3%;
    font-size: 22px;
    color: #444 !important;
	background-color: rgba(190,190,190,0.6);
    text-align: center;
    margin: auto;
    position: absolute;
    bottom: 5px;
	left:5px;
    cursor: pointer;
    text-decoration: none;
}

@media screen and (max-width: 1200px) {
	.hoverText a {
    	bottom: 63px;
	}
}
@media screen and (max-width: 990px) {
	.hoverText a {
		bottom: 84px;
	}
}

@media screen and (max-width: 768px) {
	.hoverText a {
		display: none;
	}
}


.hoverText .parent:hover .child, .parent:focus .child {
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.hoverText .parent:hover .child:before, .parent:focus .child:before {
    display: block;
}

.hoverText .parent:hover a, .parent:focus a {
    display: block;
    font-size: 28px;
	background: transparent;
    color: #a1a1a1 !important;
	text-shadow: 1px 1px 3px #ccc;
    text-align: center;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 10px;
    cursor: pointer;
    text-decoration: none;
}

.hoverText .child:before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(240, 240, 240, 0.8);
}

/* Media Queries */
@media screen and (max-width: 960px) {
    .hoverText .parent {width: 100%; margin: 20px 0px}
		.hoverText .wrapper {padding: 20px 20px;}
}
