/*CSS for Testimonial form*/

.testimonial-form dd {
    margin: 0 !important;

}
.testimonial-form select{
    border-radius:4px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    padding: 5px !important;
    width: 213px;
}
.testimonial-form input{
    border-radius:4px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    padding: 5px !important;
}
.testimonial-form dt {
    margin-bottom: 5px;
}

.testimonial-form dl {
    padding: 0 !important;
}
.testimonial-form textarea{
    border-radius:4px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
	width: 100%;
	height: 200px;
}
#jform_verify{
width:30px;
}
.testimonial-form .star {
    color: #FF0000;
}

.success-form {
    background: none repeat scroll 0 0 #DAF2E4;
    border: 1px dotted #48BF7A;
    color: #333333;
    font-size: 12px;
    padding: 5px;
}


.testimonial-error {
    background: none repeat scroll 0 0 #ffbaba;
    border: 1px solid #d6010e;
    color: #d6010e;
    font-size: 12px;
    padding: 6px;
}



/*CSS for mobile devices to make form responsive*/
 @media only screen and (max-width: 767px) {
.testimonial-form select, .testimonial-form input,.testimonial-form textarea{
width:99%;
}
.tp-showcase{
width: 100% !important;
}
}


/*Testimonial Page Style*/
.tp-showcase{
display:inline-block;
 vertical-align: top;
}
.tp-showcase-testimonial{
    margin-bottom: 20px;
    padding: 10px;
    position: relative;
}
	
.tp-showcase p {
    margin: 0;
    padding: 3px;
	line-height: 150%;
}

.tp-image-align{
display: table-cell;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: top;
	}
.tp-additional-info{	
	display: table-cell;
	vertical-align: middle;
	font-size: 12px;
}

.tp-info-name {
    color: #000;
    font-weight: bold;
}

.tp-below-date {
    font-size: 11px;
   /* margin-left: 10px;*/
}

.tp-ratings .fa-star {
    color: gold;
    font-size: 14px;
    margin-right: 2px;
}

/* Improved image styling for better fit and shape */
.tp-image-align img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tp-image-align .tp-circle {
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.tp-image-align .tp-square {
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.tp-image-align .tp-round {
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.tp-image-align .default-layout {
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

/* Read more toggle functionality */
.tp-read-more-link {
    color: var(--tp-readmore-color, #007cba);
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
}

.tp-read-more-link:hover {
    color: var(--tp-readmore-hover-color, #005a87);
    text-decoration: none;
}

.tp-testimonial-short {
    transition: opacity 0.3s ease;
}

.tp-testimonial-full {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 10px;
    padding: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    border-left: 3px solid #dfdfdf;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.tp-testimonial-full.show {
    max-height: 1000px;
    opacity: 1;
    padding: 10px;
    margin-top: 10px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

.tp-bubble-round{
  border-radius: 10px;
  }
.tp-info-company > a{
}
/*bubble bottom*/
.tp-showcase-bubble-bottom,.tp-showcase-bottom{
	display: block;
	width: 100%;
	margin-top: 20px;
}
.tp-showcase-testimonial-bottom:after{
	border-style: solid;
    border-width: 0 10px 10px;
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    width: 0;
    z-index: 1;
}

.tp-showcase-bubble-left {
  padding: 10px;
  position: relative;
}

.tp-showcase-testimonial-bottom:after{
	left:30px;
}
.tp-showcase-testimonial-bottom-center:after{
	left:50%;
}
.tp-additional-info-bottom{	
	display: table-cell;
	vertical-align: middle;
	font-size: 12px;
}
/*bubble top*/
.tp-showcase-bubble-top,.tp-showcase-top{

}
.tp-showcase-testimonial-top:after{
	border-style: solid;
	border-width: 10px 10px 0;
	bottom: -10px;
	content: "";
	display: block;
	position: absolute;
	width: 0;
	z-index: 1;
}
.tp-showcase-testimonial-top{
   
}
.tp-showcase-testimonial-top:after{
	left:30px;
}
.rtp-testimonial {
	padding: 3px;
}
.tp-showcase-testimonial-bottom-top:after{
	left:50%;
}
.tp-showcase-bubble-top,.tp-showcase-bubble-bottom {
  padding: 10px;
  position: relative;
}
.tp-showcase-bubble-top, .tp-showcase-top ,.tp-showcase-bubble-bottom, .tp-showcase-bottom{
  display: block;
  padding-bottom: 10px;
  padding-top: 20px;
}

.tp-additional-info-top{	
	display: table-cell;
	vertical-align: middle;
	font-size: 12px;
}
/*bubble right*/
.tp-additional-info-right{	
	vertical-align: middle;
	font-size: 12px;
	text-align:center;
}
.tp-showcase-right{
  display: table-cell;
    padding-right: 20px;
    vertical-align: top;
	}
.tp-showcase-bubble-right{
    display: table-cell;
    vertical-align: top;
    width: 100%;
}

.tp-showcase-testimonial-right:after{
content: '';
position: absolute;
border-style: solid;
border-width: 10px 10px 10px 0;
display: block;
width: 0;
z-index: 1;
margin-top: -10px;
left: -10px;
top: 30px;
}
.tp-showcase-bubble-right{
    padding: 10px;
    position: relative;
}

/*bubble left*/

.tp-additional-info-left{	
	vertical-align: middle;
	font-size: 12px;
	text-align:center;
}
.tp-showcase-left{
  display: table-cell;
    padding-left: 20px;
    vertical-align: top;
	}
.tp-showcase-bubble-left{
    display: table-cell;
    vertical-align: top;
    width: 100%;
}

.tp-showcase-testimonial-left:after{
content: '';
position: absolute;
border-style: solid;
border-width: 10px 0px 10px 10px;
display: block;
width: 0;
z-index: 1;
margin-top: -10px;
right: -10px;
top: 30px;
}

.testimonial-form .sm {
    background: none repeat scroll 0 0 #e6f2e6;
    color: #6AB56A;
    margin-bottom: 15px;
    padding: 10px;
	border:1px dotted;
}

.testimonial-form .fm {
    background: none repeat scroll 0 0 #FCD9D9;
    color: #FF0000;
    margin-bottom: 15px;
    padding: 10px;
	border:1px dotted;
}

#jform_author_image,#jform_category,#jform_rating {
  width: 100%;
} 
.btn.tpm-button {
	margin-top: 15px;
}

.tp-pagination {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.tp-pagination .pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.tp-pagination .pagination>li {
    display: inline;
}

.tp-pagination .pagination>li>a,
.tp-pagination .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.tp-pagination .pagination>li:first-child>a,
.tp-pagination .pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.tp-pagination .pagination>li:last-child>a,
.tp-pagination .pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.tp-pagination .pagination>li>a:hover,
.tp-pagination .pagination>li>span:hover,
.tp-pagination .pagination>li>a:focus,
.tp-pagination .pagination>li>span:focus {
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.tp-pagination .pagination>.active>a,
.tp-pagination .pagination>.active>span,
.tp-pagination .pagination>.active>a:hover,
.tp-pagination .pagination>.active>span:hover,
.tp-pagination .pagination>.active>a:focus,
.tp-pagination .pagination>.active>span:focus {
    z-index: 2;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default;
}

.tp-pagination .pagination>.disabled>span,
.tp-pagination .pagination>.disabled>span:hover,
.tp-pagination .pagination>.disabled>span:focus,
.tp-pagination .pagination>.disabled>a,
.tp-pagination .pagination>.disabled>a:hover,
.tp-pagination .pagination>.disabled>a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.tp-pagination .pagination-lg>li>a,
.tp-pagination .pagination-lg>li>span {
    padding: 10px 16px;
    font-size: 18px;
}

.tp-pagination .pagination-sm>li>a,
.tp-pagination .pagination-sm>li>span {
    padding: 5px 10px;
    font-size: 12px;
}
