#tmdsubcategory .box {
	margin-bottom: 20px;
	box-shadow: 1px 1px 8px 2px #3333;
	background-color: #FFF;
	border-radius: 5px;
}	
#tmdsubcategory .box .image{
	border: 1px solid #e5e5e5;
	position: relative;
	border-radius: 5px;
	overflow: hidden;
}
#tmdsubcategory .box .image img{
	margin: 0 auto;
	max-width: 100%;
	transition: all .5s ease;
}
#tmdsubcategory .box .image .hoverbox{
	position: absolute;
	width: 100%;
	text-align: center;
	opacity: 0;
	bottom: 20px;
	transform: translateY(100%);
    	transition: all 220ms linear 0ms;
}
#tmdsubcategory .box:hover .image .hoverbox{
	transform: translateY(0);
	opacity: 1;
}
#tmdsubcategory .box .btn-primary{
	background: #4dc0f4;
	border: 1px solid #4dc0f4;
	padding: 7px 20px;
	color: #fff;
    	text-transform: uppercase;
    	font-weight: 700;
    	font-size: 12px;
    	border-radius: 4px;
    	text-shadow: none;
}
#tmdsubcategory .box .caption h4 {
	font-size: 100%;
	line-height: 22px;
	min-height: 22px;
	height: auto;
	overflow: visible;
	padding-top: 2px;
	font-weight: 600;
	color: #555;
	margin: 16px 0 12px;
	text-transform: uppercase;
	text-align: center;
}

#tmdsubcategory .box .caption h4 a {
	line-height: 22px;
	height: auto;
	overflow: visible;
}#tmdsubcategory .box .caption p{
	font-size: 14px;
	color: #686868;
	margin: 0px;
}
#tmdsubcategory .subcategory-list .box{
	border: 1px solid #e5e5e5;
	padding: 0;
}
#tmdsubcategory .subcategory-list .image {
    float: left;
    border-radius: 0;
    padding: 0 15px;
    border:none;
}
#tmdsubcategory .subcategory-list .caption {
    text-align: left;
    padding: 12px 29px 29px;
}
#tmdsubcategory .subcategory-list .caption p{
	margin: 0px 0 20px;
}
.tmdheading{
	font-size: 20px;
	color: #000;
	font-weight: 600;
	text-transform: capitalize;
	margin: 20px 0;
	padding: 0 0 15px;
	border-bottom: 1px solid #e5e5e5;
}
.subcat-description{min-height: auto;}

#tmdsubcategory .owl-wrapper-outer {
	border: 0;
	box-shadow: none;
}

/* ---- New code start here ----- */
#tmdsubcategory.owl-carousel .subcategory-grid.col-sm-6.col-md-3.col-lg-3.col-xs-12 {
    width: 100%;
}

#tmdsubcategory .box:hover .image img{
	transform: scale(1.3);
}

#tmdsubcategory .owl-controls .owl-buttons .owl-next {
	right: 15px;
}

#tmdsubcategory .owl-buttons div {
	opacity: 1;
	top: -55px;
}

#tmdsubcategory .owl-buttons .owl-prev {
	right: 60px;
	left: auto;
}

#tmdsubcategory .owl-buttons div i {
	font-size: 20px;
	margin: -20px 0 0;
	background: #23a1d1;
	color: #fff;
	padding: 5px 12px;
}

#tmdsubcategory .owl-controls .owl-page.active span {
	background: rgb(35,161,209);
}

#tmdsubcategoryj2 .subcategory-grid .box {
	margin-right: 15px;
}

#tmdsubcategory .subcategory-list .image {
	padding: 0;
	margin-right:15px;
}

#tmdsubcategoryj2 .owl-carousel .subcategory-grid {
    width: 100%;
} 

/* ---- New code start here ----- */

/*----------------
[responsive]
------------------*/
@media (max-width:1180px){
	#tmdsubcategory .box .caption p{
		font-size: 12px;
	}
	#tmdsubcategory .subcategory-list .caption {
    	margin-left: 100px;
	}
}
@media (max-width:767px){
    #tmdsubcategory .subcategory-list .caption{
        margin-left: 0px;
    }
    #tmdsubcategory .subcategory-list .image{
        float: none !important;
        display: block;
    }
}
