.bx-viewport {
    height: 100%;
}
.apct-testimonial-display-wrapper {
    padding: 10px;
    width: 75%;
    height: 100%;
}
.bx-wrapper {
    width: 75%;
}
.apct-image {
    width: 100%;
}
span.apct-rating-span {
    float: left;
    padding-right: 3px;
}
/*
..................
slider-layout start
..................
*/
.apct-testim-wrapper .apct-slider-layout .apct-testimonial-image {
    display:inline-block;
    margin-right: 10px;
}
.apct-testim-wrapper .apct-slider-layout .apct_testimonial_upper-right {
    display: inline-block;
    text-align:left;   
}
.apct-testim-wrapper .apct-slider-layout .apct-testimonial-rating.apct-rating-above-content {
    width: 100%;
    padding: 0 0 7px 0;
}
.apct-testim-wrapper .apct-slider-layout .apct-testimonial-mid-section .apct-rating img {
    display: inline-block;
}
.apct-testim-wrapper .apct-slider-layout .apct-testimonial-upper-section.apct_testimonial_upper-left,
.apct-grid-layout .apct-testimonial-upper-section.apct_testimonial_upper-left {
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
    padding-bottom: 7px;
    line-height: 1.6;
}
.apct-testim-wrapper .apct-slider-layout .apct-testimonial-mid-section {
    line-height: 1.6;
    padding-top: 7px;
    padding-bottom: 7px;
}
.apct-testim-wrapper a.bx-prev,
.apct-testim-wrapper a.bx-next {
    box-shadow: 0 0 0 0 currentColor;
}
.apct-testim-wrapper .apct-slider-layout .apct-testimonial-bottom-section {
    padding-bottom: 7px;
}
.apct-testim-wrapper .bx-wrapper .bx-viewport {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.apct-testim-wrapper .bx-wrapper   a.bx-next,
.widget-area .apct-testim-wrapper .bx-wrapper  a.bx-next {
    right: -40px;
}
.apct-testim-wrapper .bx-wrapper  a.bx-prev,
.widget-area .apct-testim-wrapper .bx-wrapper   a.bx-prev {
    left: -40px;
}
/*
..................
slider-layout end
..................
*/
/*
..................
grid-layout start
..................
*/
.apct-grid-layout .apct_testimonial_upper-right {
    padding-left: 5px;
    line-height: 1.6;
}
.apct-grid-layout .apct-testimonial-image {
    text-align:center;
}
.apct-grid-layout {
    clear: both;
    display: table;
    text-align: center;
}
.apct-grid-boxes {
    height: 100%;
    padding: 10px;
    margin: 5px;
}
.apct-grid-layout .apct-testimonial-rating.apct-rating-above-content {
    width: 100%;
    padding: 0 0 7px 0;
}
.apct-grid-layout .apct-testimonial-mid-section {
    width: 100%;
    clear: both;
    line-height: 1.6;
}
.apct-grid-layout .apct-rating span.apct-rating-span {
    float: none;
}
.apct-testimonial-mid-section ul {
    list-style: none;
}
.apct-testimonial-compnay-url a {
    text-decoration: none;
    box-shadow: 0 0 0 0 currentColor!important;
    border-bottom: 0 !important;
}
.apct-grid-layout {
    display: inline-block;
    width: 100%;
    border-spacing: .5em;
    float: none;
    text-align: center;
}
.apct-grid-layout .apct-grid-boxes {
    padding: 1em;
    width: 48%;
    border: #f0f0f0 1px solid;
    display: inline-block;
    vertical-align: top;
    float: left;
}
.widget .apct-grid-layout {
    display: block;
}
.widget .apct-grid-layout .apct-grid-boxes {
    width: 100%;
    float: none;
    display: block;
}
/*
..................
grid-layout end
..................
*/
/*................
list layout start
..................*/
.apct-list-layout .apct_testimonial_upper-right {
   	text-align:left;
    display:inline-block;
    vertical-align:top;

}
.apct-list-layout .apct-testimonial-image {
    display:inline-block;
    margin-right:10px;
}
.apct-list-layout .apct-testimonial-mid-section {
    position: relative;
}
.apct-list-layout .apct-testimonial-mid-section::before {
    //content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    top: -8px;
    left: 35px;
}
.apct-list-layout .apct-testimonial-display-wrapper:not(:nth-child(1)) {
    margin-top: 7px;
}
.apct-list-layout .apct-upper-scetion-wrapper {
	border-bottom:1px solid #f0f0f0;
    overflow:hidden;
    padding-bottom:7px;
}
.widget .apct-list-layout .apct-testimonial-display-wrapper {
    width: 100%;
    padding:5px;
}
.apct-list-layout .apct-upper-scetion-wrapper{
    overflow: hidden;
}
.apct-list-layout .apct-testimonial-display-wrapper{
	padding:10px;
	border:1px solid #f0f0f0;
}
/*................
list layout end
..................*/
/*.......
media queries
.........*/
@media screen and (max-width: 1200px) {
    .widget .apct-grid-layout .apct-grid-boxes {
        width: 100%;
    }
}
@media screen and (max-width: 909px) {
    .widget .apct-grid-layout .apct-grid-boxes {
        width: 100%;
    }
    .apct-list-layout .apct-testimonial-display-wrapper {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .apct-grid-layout .apct-grid-boxes {
        width: 100%;
    }
    .apct-list-layout .apct-testimonial-display-wrapper {
        width: 100%;
    }
    .apct-list-layout .apct_testimonial_upper-right,
    .apct-list-layout .apct-testimonial-image,
    .apct-testim-wrapper .apct-slider-layout .apct-testimonial-image,
    .apct-testim-wrapper .apct-slider-layout .apct_testimonial_upper-right
    {
    	width:100%;
    	text-align:center;
    	margin:3.5px 0;
    }
    .apct-testim-wrapper .apct-slider-layout .apct-testimonial-image img{
    	display:inline-block;
    }
}