#tmdsubcategory .box {
	margin-bottom: 20px;
}
#tmdsubcategory.owl-carousel{
	display: grid !important;
}
#tmdsubcategory .box .image{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
#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: 5px 15px;
	color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    border-radius: 4px;
    text-shadow: none;
}
#tmdsubcategory .box .caption  h4{
	font-size: 14px;
	color: #000;
	margin: 0px 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 {
    border-radius: 0;
    padding: 0;
    border:none;
}
#tmdsubcategory .subcategory-list .caption {
    text-align: left;
    padding: 10px 15px;
}
#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;}

/* ---- New code start here ----- */
#tmdsubcategory .box:hover .image img{
	transform: scale(1.3);
}

#tmdsubcategory.owl-carousel .owl-nav button.owl-next {
	right: 13px;
	position:absolute;
	top: -55px;
}
#tmdsubcategory.owl-carousel .owl-nav button.owl-prev {
	right: 60px;
    left: auto;
	top: -55px;
	position:absolute;
}

#tmdsubcategory.owl-carousel .owl-nav button.owl-prev i,
#tmdsubcategory.owl-carousel .owl-nav button.owl-next i {
	font-size: 20px;
	margin: 0;
	background: #23a1d1;
	color: #fff;
	padding: 5px 12px;
	opacity: 1;
	top: -63px;
	bottom: auto;
	text-shadow: none;
}
#tmdsubcategory .owl-dots button.owl-dot span {
    display: block;
    width: 11px;
    height: 11px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    box-shadow: inset 0 0 3px rgb(0 0 0 / 30%);
}
#tmdsubcategory .owl-dots .owl-dot{
    display: inline-block;
    margin: 0px 6px;
}
#tmdsubcategory  .subcategory  .box .caption,#tmdsubcategory  .subcategory-grid  .box .caption{
	padding: 10px 5px;
    text-align: center;
}
#tmdsubcategory .owl-dots {
    text-align: center;
    top: 0;
    position: relative;
}
#tmdsubcategory .owl-dots button.owl-dot.active span{
	background: #23a1d1;
}
#tmdsubcategoryj2 .subcategory-list .image {
	padding: 0;
	margin-right: 15px;
}

#tmdsubcategoryj2 .subcategory-list {
    display: grid;
    width: 100%;
}

#tmdsubcategoryj2 .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;
    }
}
