/*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%;
    }
}


/*Testimonial Page Style*/

.show-testimonials {
    visibility: hidden;
}

.morecontent span {
    display: none;
}

.morelink {
    display: block;
}

.tpm-showcase {
    display: inline-block;
    vertical-align: top;
}

.tpm-showcase-testimonial {
    margin-bottom: 20px;
    padding: 10px;
    position: relative;
}

.tpm-showcase p {
    margin: 0;
    line-height: 140%;
    color: #555555;
    font-size: 14px !important;
    font-weight: 300;
}

@media (min-width:768px) and (max-width:991px) {
    .tpm-showcase p {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.rtp-testimonial {
    padding: 3px;
}

.tpm-image-align {
    display: table-cell;
    padding-left: 0px;
    padding-right: 0px;
    vertical-align: top;
}

.tpm-additional-info {
    display: table-cell;
    vertical-align: middle;
    font-size: 12px;
}

.tpm-info-name {
    color: #013f84;
    font-weight: 300;
    font-size: 18px;
}

.tpm-below-date {
    font-size: 11px;
    /* margin-left: 10px;*/
}

.tpm-ratings .fa-star {
    color: gold;
    font-size: 14px;
    margin-right: 2px;
}

.tpm-image-align .tpm-squared {
    overflow: hidden;
    display: inline-block;
}

.tpm-image-align .tpm-circle {
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
}

.tpm-image-align .tpm-round {
    border-radius: 10px 0px 0px 10px;
    overflow: hidden;
    display: inline-block;
}

.tpm-bubble-round {
    border-radius: 0px 10px 10px 0px;
}

.tpm-info-company>a {
    color: #45b0ee;
}

.tpm-info-company>a:hover {
    color: #005580;
}


/*bubble bottom*/

.tpm-showcase-bubble-bottom,
.tpm-showcase-bottom {
    display: block;
    padding-top: 10px;
    padding-bottom: 20px;
}

.tpm-showcase-bubble-bottom:after {
    border-style: solid;
    border-width: 0 10px 10px;
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    width: 0;
    z-index: 1;
    border-color: #ffffff transparent;
}

.tpm-showcase-bubble-bottom {
    padding: 10px;
    position: relative;
}

.tpm-showcase-bubble-bottom:after {
    left: 30px;
}

.tpm-showcase-bubble-bottom-center:after {
    left: 50%;
}

.tpm-additional-info-bottom {
    display: table-cell;
    vertical-align: middle;
    font-size: 12px;
}


/*bubble top*/

.tpm-showcase-bubble-top,
.tpm-showcase-top {
    display: block;
    padding-bottom: 10px;
    padding-top: 20px;
}

.tpm-showcase-bubble-top:after {
    border-style: solid;
    border-width: 10px 10px 0;
    bottom: -10px;
    content: "";
    display: block;
    position: absolute;
    width: 0;
    z-index: 1;
}

.tpm-showcase-bubble-top {
    padding: 10px;
    position: relative;
}

.tpm-showcase-bubble-top:after {
    left: 30px;
}

.tpm-showcase-bubble-bottom-top:after {
    left: 50%;
}

.tpm-additional-info-top {
    display: table-cell;
    vertical-align: middle;
    font-size: 12px;
}

.tpm-info-center {
    display: block;
    text-align: center;
}


/*bubble right*/

.tpm-additional-info-right {
    vertical-align: middle;
    font-size: 12px;
    text-align: center;
}

.tpm-showcase-right {
    display: table-cell;
    padding: 0px;
    vertical-align: top;
}

.tpm-showcase-bubble-right {
    display: table-cell;
    vertical-align: top;
    width: 100%;
    border: 1px solid #4476bb;
}

@media (max-width: 767px) {
    .tpm-showcase-bubble-right {
        border-radius: 0px 0px 10px 10px;
    }
}

.tpm-showcase-bubble-right:after {
    content: '';
    background: url(/assets/images/ugol.png) no-repeat 0% 0%;
    position: absolute;
    /* border-style: solid; */
    display: block;
    width: 50px;
    height: 50px;
    z-index: 1;
    margin-top: -1px;
    left: -50px;
    top: 0px;
}

@media (max-width:767px) {
    .tpm-showcase-bubble-right:after {
        border-style: solid;
        border-width: 0 10px 10px;
        content: "";
        display: block;
        position: absolute;
        top: -10px;
        width: 0;
        height: 10px;
        z-index: 1;
        background: none;
        margin-top: 0px;
        left: 30px;
        border-color: #ffffff transparent!important;
    }
}

.tpm-showcase-bubble-right {
    padding: 22px 28px;
    position: relative;
}


/*bubble left*/

.tpm-additional-info-left {
    vertical-align: middle;
    font-size: 12px;
    text-align: center;
}

.tpm-showcase-left {
    display: table-cell;
    padding: 10px;
    vertical-align: top;
}

.tpm-showcase-bubble-left {
    display: table-cell;
    vertical-align: top;
    width: 100%;
}

.tpm-showcase-bubble-left {
    padding: 10px;
    position: relative;
}

.tpm-showcase-bubble-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;
}

.tpm-pointer-center:after {
    left: 48%;
}

.tpm-pointer-center {
    text-align: center;
}

.tpm-error {
    background: none repeat scroll 0 0 #fff0d6;
    color: #ff2b2b;
    font-size: 12px;
    padding: 5px;
    border: 1px dotted;
}

.rtp-2 {
    margin: 0 auto;
    width: 80%;
    text-align: left;
}

.tpm-wrapper {
    text-align: center;
}

.rtp-4 {
    margin: 2%;
    width: 20%;
}

.tpm-showcase.rtp-1 {
    /* margin: 0; */
    /* padding: 0 2%; */
    /* width: 24% !important; */
}

@media only screen and (max-width: 767px) {
    .rtp-2 {
        margin: 1%;
        width: 100%;
    }
    .rtp-4 {
        margin: 1%;
        width: 100%;
    }
    .tpm-showcase.rtp-1 {
        /* margin: 1%; */
        /* width: 100%; */
        padding: 0 0 1px;
    }
    #testimonial-slide94 .tpm-showcase-bubble-right {
        max-width: 220px;
        margin: 0 auto 3px;
    }
    .testimonial-wrapper .tpm-showcase.rtp-1 {
        padding-bottom: 3px;
    }
}

.rtp-testimonial hr {
    border-top: 1px solid #f36f21;
    margin: 13px 0px 10px;
    width: 50px;
}

.tpm-image-align img.tpm-round {
    filter: saturate(45%) brightness(115%) opacity(70%);
}

a.rbx-prev {
    position: absolute;
    left: 0;
    top: 30%;
    background: url(/assets/images/tprev.png) no-repeat 100% 100%;
    width: 41px;
    height: 81px;
}

a.rbx-prev i,
a.rbx-next i {
    display: none;
}

a.rbx-next {
    position: absolute !important;
    right: 0 !important;
    top: 30% !important;
    background: url(/assets/images/tnext.png) no-repeat 100% 100% !important;
    width: 41px !important;
    height: 81px !important;
}

a.rbx-prev:focus,
a.rbx-next:focus {
    outline: none;
}