#tmdsubcategory .box {
	margin-bottom: 20px;
}
.minheight{
	min-height:100px;
}
#tmdsubcategory .box .caption{
	padding:0 5px;
}
#tmdsubcategory .box .image{
	border: 1px solid #e5e5e5;
	position: relative;
	border-radius: 4px;
	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;
	white-space: inherit;
}
#tmdsubcategory .box .caption  h4{
	font-size: 14px;
	font-weight: 600;
	color: #000;
	margin: 5px 0 12px;
	text-transform: capitalize;
}
#tmdsubcategory .box .caption p{
	font-size: 14px;
	color: #686868;
	margin: 0px;
}
#tmdsubcategory .subcategory-list .box{
	border: 1px solid #e5e5e5;
	display: flex;
}
#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;
}
.site-wrapper #tmdsubcategory.row>div{
	padding:0 5px;
}
#tmdsubcategory .owl-controls .owl-page.active span {
	background: rgb(35,161,209);
}
#tmdsubcategoryj2 .subcategory-list .image {
	padding: 0;
	margin-right: 15px;
}
#tmdsubcategory  .subcategory  .box .caption,#tmdsubcategory  .subcategory-grid  .box .caption{
	padding: 10px 5px;
}
#tmdsubcategoryj2 .subcategory-list {
    display: grid;
    width: 100%;
}

#tmdsubcategoryj2 .owl-carousel .subcategory-grid {
    width: 100%;
} 

/* ---- New code start here ----- */

/*----------------
[responsive]
------------------*/
@media (min-width: 1200px) {
	#content .col-lg-2:nth-child(6n+1),
	#content .col-lg-3:nth-child(4n+1),
	#content .col-lg-4:nth-child(3n+1),
	#content .col-lg-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	#content .col-md-2:nth-child(6n+1),
	#content .col-md-3:nth-child(4n+1),
	#content .col-md-4:nth-child(3n+1),
	#content .col-md-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	#content .col-sm-2:nth-child(6n+1),
	#content .col-sm-3:nth-child(4n+1),
	#content .col-sm-4:nth-child(3n+1),
	#content .col-sm-6:nth-child(2n+1) {
		clear:left;
	}
}
@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;
    }
}
