.parentlistloop .col-sm-12 {
    float: left;
    width: 100%;
    padding-bottom: 25px;
}.businesslistmain {
    float: left;
    width: 100%;
    margin-top: 21px;
}
.textfullwidth {
    width: 98%;
    height: 160px;
    margin-bottom: 20px;
    white-space: inherit;
}
.categories_listning_main_form {
    border: 1px solid #ccc;
    padding: 10px 38px 38px 38px;
    margin-bottom: 21px;
}
.listingloop {
    padding: 40px 0;
    margin-bottom: 22px;
    float: left;
    width: 100%;
    border-top: 1px solid #ccc;

}
.listingloop .col-md-3 {
    width: 26%;
    float: left;
    text-align: center;
    /*padding-top: 5%;*/
}
.listingloop .col-md-6 {
    width: 50%;
    float: left;
     margin-left: 20px;
}

.catimagereound {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid #cccc;
    padding: 2px;
}

.listingloop .col-md-2 {
    width: 20%;
    float: left;
}
/*.col-md-6.top-marginclass {
    margin-top: 42px;
    margin-left: 24px;
}*/

.main-row {
    width: 100%;
    overflow: hidden; /* Ensures it wraps floated columns */
    margin-bottom: 15px; /* Optional spacing from description */
}/* Make sure floats are cleared */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.desc-row {
    clear: both;
    padding-top: 25px;
    padding-bottom: 25px;
    margin-top: 15px;
    border-top: 1px dashed #ccc;
}

.parentlistloop {
    margin-top: 36px;
}


.viewbutton
{
    border: 1px solid #00a4d9;
    background-color: #1a1a1a;
    color: #00a4d9;
    padding: 11px 20px;
    display: inline-block;
    width: auto;
}


.tmj-page-btn {
    background: #1481c5;
    color: #fff !important;
    margin-right: 20px;
    padding: 9px 30px;
    margin-top: 42px;
    display: inline-block;
}

.container.tmj-front-end-container {
    margin-bottom: 50px;
}


/**** 29-3-19 *****/
.mainlistofcat .catlistscate {
    margin: 0;
}
.mainlistofcat .catlistscate li {
    display: inline-block;
    width: 25%;
    text-align: left;
    padding: 10px 0 10px 20px;
    position: relative;
}
.mainlistofcat {
    border: 1px dashed #4d4d4d;
    margin-top: 30px;
    padding: 0 20px;
}
.mainlistofcat .catlistscate li::before {
	content: '';
	position: absolute;
	background: #4d4d4d;
	height: 7px;
	width: 7px;
	border-radius: 50%;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.mainlistofcat .catlistscate li a{
    color:#4d4d4d;
}

.business-services li{
    display: inline-block;
    width: 25%;
    text-align: left;
    padding: 10px 0 10px 20px;
    position: relative;
    
}

.parentlistloop .listingloop {
	border: 1px solid #ccc;
	margin-bottom: 20px;
	padding: 40px 20px;
    transition: .5s;
    display: block;
    align-items: center;
    justify-content: center;
}
.parentlistloop .listingloop .viewbutton {
	background-color: #1a1a1a;
	border: 1px solid #1a1a1a;
	color: #fff;
}
.parentlistloop .listingloop .viewbutton:hover {
    background: #fff;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
}
.parentlistloop .listingloop:hover {
    box-shadow: 2px 0 5px #989393;
}
.page__pagination .tmj-page-btn {
	background: #1a1a1a;
    border: 1px solid #1a1a1a;
}
.page__pagination .tmj-page-btn:hover {
    background: #fff;
    border: 1px solid #1a1a1a;
    color: #1a1a1a !important;
}


.listingloop .top-marginclass {
    margin-left: 40px;
}

.page__pagination .disable-nav-btn {
	background: #ccc;
    border: 1px solid #ccc;
}


.listingloop.features_listing_list {
	position: relative;
}


.ribbon {
  position: absolute;
  left: -5px; top: -5px;
  z-index: 1;
  overflow: hidden;
  width: 75px; height: 75px;
  text-align: right;
}

.ribbon span {
  font-size: 10px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 100px;
  display: block;
  background: #79A70A;
  background: linear-gradient(#077A1B 0%, #14A719 100%);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 19px; left: -21px;
}
.ribbon span::before {
  content: "";
  position: absolute; left: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid #14A719;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #14A719;
}
.ribbon span::after {
  content: "";
  position: absolute; right: 0px; top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid #14A719;
  border-bottom: 3px solid transparent;
  border-top: 3px solid #14A719;
}


/******* Media css ******/
@media only screen and (max-width: 991px) {
    .site-content {
        padding: 0 4.5455%;
    }
    .catimagereound {
        width: 150px;
        height: 150px;
    }

}


@media only screen and (max-width: 768px)
 {

        .mainlistofcat .catlistscate li {
            display: inline-block;
            width: 50%;
            text-align: left;
            padding: 10px 0 10px 20px;
            position: relative;
        }
        
        .business-services li {
            display: inline-block;
            width: 50%;
            text-align: left;
            padding: 10px 0 10px 20px;
            position: relative;
        }
     .catimagereound {
        width: 100px;
        height: 100px;
    }

     .top-marginclass h2 {
        font-size: 20px;
    }
     .tdiscription {
        font-size: 14px;
    }
     .viewbutton {
        padding: 11px 13px;
        font-size: 15px;
    }
}

@media only screen and (max-width: 575px)
 {
    .mainlistofcat .catlistscate li a {
        font-size: 14px;
    }
     .mainlistofcat .catlistscate li::before {
        height: 5px;
        width: 5px;
    }
     .parentlistloop .listingloop {
        display: unset;
    }
     .listingloop .col-md-2 {
        width: 100%;
        text-align: center;
    }
    .listingloop .col-md-6 {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }
     .listingloop .col-md-3 {
        width: 100%;
        float: left;
        text-align: center;
        margin-left: 0 !important;
    }
}

@media only screen and (max-width: 482px)
{
    .mainlistofcat .catlistscate li {
        display: block;
        width: 60%;
        text-align: left;
        padding: 10px 0 10px 20px;
        position: relative;
        margin: 0 auto;
    }
    
    .business-services li{
        display: block;
        width: 60%;
        text-align: left;
        padding: 10px 0 10px 20px;
        position: relative;
        margin: 0 auto;
    }
}

.business-title {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 10px;
    border-top: 10px;
    border-bottom: 10px;
    position: relative;
    padding-right: 50px;
    font-size: 36px;
    line-height: 50px;
    font-weight: normal;
    display: inline-block;
}

.business-description {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid #eee;
    font-size: 16px;
    line-height: 1.56;
    
}

.business-services {
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid #eee;
    font-size: 16px;
    line-height: 1.56;
    
}


.carousel-inner img {
    height: 400px; /* Set consistent height */
    object-fit: cover; /* Prevent image distortion */
}

@media (max-width: 768px) {
    .carousel-inner img {
        height: 200px; /* Adjust for smaller screens */
    }
    .carousel-indicators {
        display: none;
    }
}

.related-companies {
    margin: 20px 0;
}

.card {
    text-align: center; /* Center the card content */
}

.card img {
    height: 280px; /* Thumbnail size */
    object-fit: cover; /* Crop image to fit perfectly */
    border-radius: 5px; /* Add subtle rounding */
}

.modal img {
    border-radius: 5px; /* Add subtle rounding for the zoomed image */
}

.card-body {
    padding: 10px 0; /* Adjust padding for text below the images */
}

@media (max-width: 768px) {
    .card img {
        height: 240px; /* Smaller thumbnails for mobile */
    }
}


.reviews {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}


.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.review-stars {
    margin-bottom: 10px;
    font-size: 16px;
    color: #ffcc00; /* Gold color for stars */
    display: flex;
}

.review-content {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.average-rating {
    margin-bottom: 10px;
    font-size: 18px;
    color: #ffcc00;
}
.average-rating span {
    margin-left: 8px;
    font-weight: normal;
    color: #666;
}