.testimonials-index-view .columns {position: relative;}
.testimonials-index-view .columns .submit-testimonials {text-align: right;margin-bottom: 10px;}
.testimonial-container {float: left;width: 100%;}
.testimonial-container .testimonial-toolbar {float: left;width: 100%;}
.testimonial-container .testimonial-toolbar .pager .toolbar-amount,
.testimonial-container .testimonial-toolbar .pager .pages {float: left;width: 33%;}
.testimonial-container .testimonial-toolbar .pager .toolbar-amount {text-align: left;}
.testimonial-container .testimonial-toolbar .pager .limiter {text-align: right;float: right;}
.testimonial-container .testimonial-items {float: left;width: 100%;padding: 0px; list-style: none;}

/* Grid View - Start */
.grid-view .testimonial-items .item {float: left;width: 23%;border: 1px solid #E5E5E5;margin: 1% 1% 1%; box-sizing: border-box;padding: 15px;}
.grid-view .testimonial-items .item:nth-child(4) {margin-right: 0px;}
.grid-view .testimonial-items .item .grid-background {min-height: 100px;background: #E5E5E5;margin: -15px -15px 0px;}
.grid-view .testimonial-items .testimonial-image {margin-bottom: 15px;text-align: center;margin-top: -72px;}
.grid-view .testimonial-items .testimonial-image img {width: 50%;border-radius: 50%;border: 3px solid #F0F0F0;background: #FFF;}
.grid-view .testimonial-items .testimonial-content .content .quote {background: url(../images/quote2_icon-32.png) no-repeat;width: 32px; height: 32px;display: inline-block;font-size: 0px;vertical-align: text-bottom;}
.grid-view .testimonial-items .testimonial-content {text-align: center;}
.grid-view .testimonial-items .testimonial-content .auther-name,
.grid-view .testimonial-items .testimonial-content .company-designation,
.grid-view .testimonial-items .testimonial-content .rating-summary,
.grid-view .testimonial-items .testimonial-content .content {margin: 0px 0px 15px;}
.grid-view .testimonial-items .testimonial-content .social-icons{border-top: 1px solid #E5E5E5;padding-top: 15px;margin: 0px auto 15px auto;display: inline-block;}
.grid-view .testimonial-items .testimonial-content .social-icons a {text-decoration: none;display: inline-block;margin: 0px 2px;}
.grid-view .testimonial-items .testimonial-content .social-icons a:hover {opacity: 0.9;}
.grid-view .testimonial-items .testimonial-content .social-icons img {width: 24px;}
/* Grid View - End */

/* List View - Start */
.list-view {float: left;width: 100%;}
.list-view .testimonial-items .item {float: left;width: 100%;border-bottom: 1px solid #E5E5E5;box-sizing: border-box;padding: 25px 0px;}
.list-view .testimonial-items .item .grid-background {display: none;}
.list-view .testimonial-items .testimonial-image {width: 15%;float: left;margin-right: 3%;text-align: center;}
.list-view .testimonial-items .testimonial-image img {border-radius: 50%; border:3px solid #E5E5E5;width: 70%;}
.list-view .testimonial-items .testimonial-content {width: 82%;float: left;text-align: center;}
.list-view .testimonial-items .testimonial-content h3 {font-weight: normal;margin: 0px 0px 15px 0px;}
.list-view .testimonial-items .testimonial-content .company-designation,
.list-view .testimonial-items .testimonial-content .rating-summary,
.list-view .testimonial-items .testimonial-content .content {margin: 0px 0px 15px 0px;}
.list-view .testimonial-items .testimonial-content .content .quote {background: url(../images/quote2_icon-32.png) no-repeat;width: 32px; height: 32px;display: inline-block;font-size: 0px;vertical-align: text-bottom;}
.list-view .testimonial-items .testimonial-content .social-icons {margin: 0px auto;display: inline-block;border-top: 1px solid #E5E5E5;padding-top: 15px;}
.list-view .testimonial-items .testimonial-content .social-icons a {text-decoration: none;display: inline-block;margin: 0px 2px;}
.list-view .testimonial-items .testimonial-content .social-icons a:hover {opacity: 0.9;}
.list-view .testimonial-items .testimonial-content .social-icons img {width: 24px;}
/* List View - End */

.testimonial-slider .testimonial-items .item {width: 94%;}
.testimonial-widget-container .block-testimonial .block-title strong {font-size: 28px;}
.testimonial-widget-container .block-testimonial .block-title .add-submit-testimonials {float: right;margin-right: 1%;}
.testimonial-sidebar .testimonial-items .item {margin: 0px;width: 98%;}

.block-testimonial .block-title {margin: 0 0 20px;}
.block-testimonial .block-title strong {font-size: 18px;font-weight: 300;}

.fieldset .field .label,
.fieldset .fields .field > .label {margin-bottom: 8px;}
.youtube-testimonial .modal-inner-wrap{max-width: 720px; width: 100%;}
.youtube-testimonial .modal-content {border-radius: 0px!important;outline: 0px!important;-webkit-box-shadow: 0 0px 0px rgba(0,0,0,0)!important;box-shadow: 0px 0px 0px rgba(0,0,0,0)!important;padding: 0px!important;border: solid 10px #ffffff;border-bottom: solid 5px #ffffff;}
.youtube-testimonial .modal-header{width: 50px;height: 50px;padding: 0px;margin: 0px;position: absolute;top: -17px;right: -21px;background: #ffffff;z-index: 999;border-radius: 50%;}
.youtube-testimonial .action-close {padding: 0px!important;width: 100%;text-align: center;height: 100%;}
.youtube-testimonial .modal-header .action-close:before{background: url(../images/close.png) no-repeat center left;width: 30px;height: 30px;background-size: contain;text-align: center;}

@media all and (max-width: 1024px) {
.grid-view .testimonial-items .item {width: 31%;}
}

@media all and (max-width: 800px) {
.grid-view .testimonial-items .item {width: 48%;}
}

@media all and (max-width: 767px) {
.list-view .testimonial-items .testimonial-image {width: 25%;}
.list-view .testimonial-items .testimonial-content {width: 72%;}
}

@media all and (max-width: 640px) {
.testimonials-index-view .columns .submit-testimonials {text-align: center;}
.grid-view .testimonial-items .item {width: 100%;margin-left: 0px; margin-right: 0px; }
.testimonial-container .testimonial-toolbar .pager .toolbar-amount,
.testimonial-container .testimonial-toolbar .pager .pages,
.testimonial-container .testimonial-toolbar .pager .limiter {float: left;width: 100%;text-align: center;}

.testimonial-container .testimonial-toolbar .pager .toolbar-amount,
.testimonial-container .testimonial-toolbar .pager .pages {padding: 0px; margin:0px 0px 15px;}
.testimonial-container .testimonial-toolbar .pager .limiter {padding: 0px; margin:0px;}

.testimonial-container .testimonial-toolbar .pager .pages .pages-items {display: inline-block;}
}