/**
 * @package         JD Services Showcase
 * @version         1.0
 * @author          JoomDev <support@joomdev.com>
 * @link            https://www.joomdev.com
 * @copyright       Copyright © 2018 Regular Labs All Rights Reserved
 * @license         http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */

/* Services Showcase Features box icon
=========================== */

.jd-services-shocase img {
	max-width: 100%;
}

.jd-services-shocase a {
	text-decoration: none;
}

.jd-services-shocase .service-box {
	background-color: #fff;
}
.jd-services-shocase .service-box .content {
	background-color: #fff;
}
.jd-services-shocase .service-box .image-overlay a {
	display: block;
}

.jd-services-shocase .service-box .image-overlay {
	position: relative;
}
.jd-services-shocase .service-box .overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	transition: .5s ease;
	background-color: #ffe500;
	padding: 15px;
}
.jd-services-shocase .service-box .image-overlay:hover .overlay {
	opacity: 0;
}
.jd-services-shocase .service-box .overlay .image {
	height: 100%;
	width: 100%;
	border: dashed 1px #000;
	padding: 2rem 0rem 0rem;
	text-align: center;
}
.jd-services-shocase .service-box .image-overlay .image{
	text-align: center;
}
.jd-services-shocase .service-box .overlay .image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.jd-services-shocase .service-box .content {
	padding: 30px 15px;
	text-align: center;
}
.jd-services-shocase .service-box .content .title a {
	color: #000;
	font-size: 20px;
	font-weight: 600;
	font-family: Oswald,Arial,Helvetica,sans-serif;
}
.jd-services-shocase .service-box .content .title a:hover{
	color: #e43935;
}
.jd-services-shocase .service-box .content .sub-title {
	color: #000;
	font-size: 18px;
	margin-top: 10px;
}
.jd-services-shocase [class*="jd-col"]{
	align-items: stretch;
    display: flex;
    flex-direction: column;
	flex-grow: 1;
    max-width: 100%;
	padding: 0px;
}
.jd-services-shocase [class*="jd-col-lg-4"]:not(:nth-child(3n)) .service-box{
	border-right-width: 1px;
}

.jd-services-shocase .service-box{
	border: 0 solid #d3d5d7;
    display: inline-block;
    text-align: center;
}

.jd-services-shocase [class*='jd-col-lg-4']:nth-child(n+4) .service-box{
    border-top-width: 1px;
	padding-top: 2rem;
}
.jd-services-shocase .service-box .content .description {
	color: #7c7c7c;
	font-size: 16px;
	margin-top: 15px;
}
.jd-services-shocase .service-box .content .read-more a {
	color: #000;
	font-size: 14px;
	margin-top: 35px;
	display: block;
}
.jd-services-shocase .service-box .content .read-more a:hover {
	color: #ffe500;
}

/* --- Responsive Css --- */
@media screen and (min-width:240px) and (max-width:767px){
	.jd-services-shocase [class*="jd-col-lg-4"]:not(:nth-child(3n)) .service-box{
		border-right-width: 0px;
	}
	.jd-services-shocase [class*='jd-col-lg-4']:nth-child(n+4) .service-box{
		border-top-width: 0px;
		padding-top: 0rem;
	}
	.jd-services-shocase [class*='jd-col-lg-4']:nth-child(n+2) .service-box{
		border-top-width: 1px;
		padding-top: 2rem;
	}
}
@media screen and (min-width:767px) and (max-width:991px){
	.jd-services-shocase [class*="jd-col-lg-4"]:not(:nth-child(3n)) .service-box{
		border-right-width: 0px;
	}
	.jd-services-shocase [class*='jd-col-lg-4']:nth-child(n+4) .service-box{
		border-top-width: 0px;
		padding-top: 0rem;
	}
	.jd-services-shocase [class*='jd-col-lg-4']:nth-child(n+3) .service-box{
		border-top-width: 1px;
		padding-top: 2rem;
	}
	.jd-services-shocase [class*="jd-col-lg-4"]:not(:nth-child(2n)) .service-box{
		border-right-width: 1px;
	}
}