/**
 * Prevents bugs in opacity.transitions;
 * Adds hardware acceleration;
 * Helps prevent animation flickers;
 */
.vc-custom-promo-box .content,
.vc-promo-title,
.vc-promo-text {
	backface-visibility: hidden;
	transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
	-webkit-perspective: 1000;
}

.vc-custom-promo-box {
	position: relative;
	display: block;
	/*max-height: 350px;*/
	text-align: center;
	background-size: cover;
	background-position: center;
	background-color: grey;
	-webkit-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
}
.vc-custom-promo-box:before {
	display: block;
    content: "";
    width: 100%;
    padding-top: 100%;
    background-color: rgba(19, 38, 50, 0.3);
    -webkit-transition: background .3s ease;
    transition: background .3s ease;
}
.vc-custom-promo-box .content {
	position: absolute;
    padding: 15px 50px;
    left: 0;
    right: 0;
    bottom: 50%;
    -webkit-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
    transform: translateY(50%);
    -webkit-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
    z-index: 1;
}

.vc-custom-promo-box .content .vc-promo-title,
.vc-custom-promo-box .content .vc-promo-text  {
	color: #fff;
}

.vc-custom-promo-box .content.dark .vc-promo-title,
.vc-custom-promo-box .content.dark .vc-promo-text {
	color: #222;
}

.vc-custom-promo-box .content :last-child {
	margin-bottom: 0;
}

.vc-custom-promo-box:hover {
	opacity: 1;
}
.vc-custom-promo-box:hover:before {
    background-color: rgba(19, 38, 50, 0.7);
    -webkit-transition: background .3s ease;
    transition: background .3s ease;
}


.vc-custom-promo-box.zoom {
	background-size: 122%;
}

.vc-custom-promo-box.zoom:hover {
	background-size: 127%;

}

.vc-custom-promo-box.gradient:after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 50%;
	background: -webkit-linear-gradient(bottom,rgba(0,0,0,.5) 0,transparent 100%);
    background: -o-linear-gradient(bottom,rgba(0,0,0,.5) 0,transparent 100%);
    background: linear-gradient(to top,rgba(0,0,0,.5) 0,transparent 100%);
    -webkit-transition: all ease .5s;
    -o-transition: all ease .5s;
    transition: all ease .5s;
}

.vc-custom-promo-box.gradient:hover:after {
	height: 100%;
}

.vc-promo-title {
	margin-bottom: 15px;
    line-height: 24px;
}
.vc-promo-text {
	opacity: 1;
    line-height: 20px;
}
@media only screen and (min-width: 992px) {
	.vc-custom-promo-box .content {
	    bottom: 90px;
	    -webkit-transform: translateY(100%);
	    -ms-transform: translateY(100%);
	    -o-transform: translateY(100%);
	    transform: translateY(100%);
	    -webkit-transition: all ease .3s;
	    -o-transition: all ease .3s;
	    transition: all ease .3s;
	    z-index: 1;
	}
	.vc-custom-promo-box:hover .content {
	    bottom: 50%;
	    -webkit-transform: translateY(50%);
	    -ms-transform: translateY(50%);
	    -o-transform: translateY(50%);
	    transform: translateY(50%);
	}
	.vc-custom-promo-box .vc-promo-text {
	    opacity: 0;
	    -webkit-transition: opacity .5s ease .15s;
	    -o-transition: opacity .5s ease .15s;
	    transition: opacity .5s ease .15s;
	}
	.vc-custom-promo-box:hover .vc-promo-text {
	    opacity: 1;
	}
}
