/**

* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.txt
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to a newer
* versions in the future. If you wish to customize this module for your needs
* please refer to CustomizationPolicy.txt file inside our module for more information.
*
* @author Webkul IN
* @copyright Since 2010 Webkul
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

.wk_testimonial_container {
    border: 1px solid #f3f3f3;
    text-align: center;
    background: #ffffff;
}

#wk_testimonial_block {
    margin-top: 100px;
    font-family: inherit;
}

.wk_testimonial_avator {
    border-radius: 50%;
    text-align: center;
    margin-top: -56px;
}

.wk_testimonial_avator img {
    border-radius: 50%;
    border: none;
    height: 100px;
    width: 100px;
    padding: 0;
}

.wk_testimonial_down {
    margin-top: 10px;
}

#wk_testimonial_list li {
    margin-bottom: 80px;
}

.wk_testimonial_rating {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 19px;
}

.wk_testimonial_text {
    padding: 10px 35px;
    height: 125px;
}

.wk-testimonial-icon-contact {
    background: rgba(0, 0, 0, 0) url("../../img/icon/Quote.jpg") no-repeat scroll 10px 0;
    content: "";
    display: block;
    height: 45px;
    margin-left: 14px;
    width: 44px;
    left: 0;
    position: absolute;
    top: 112PX
}

.wk_testimonial_text span {
    font-size: 14px;
    font-weight: 500;
    color: #a3a3a3;
    word-wrap: break-word;
}

.wk_testimonial_link {
    margin: 15px 0 15px;
    padding-left: 10px;
    padding-right: 15px;
    overflow: hidden;
    word-break: break-all;
    word-wrap: break-word;
}

.wk_testimonial_video {
    font-size: 15px;
    font-weight: 700;
    color: #00b4fc;
    float: left;
}

.wk_testimonial_author {
    float: right;
    font-size: 15px;
    font-weight: 700;
    color: #4b4b4b;
    word-wrap: break-word;
}

.wk_testimonial_author span {
    color: #4b4b4b;
}

.wk_testimonial_subject {
    margin: 10px 0px;
    font-size: 16px;
    font-weight: 700;
    color: #4b4b4b;
    max-height: 22px;
    overflow: hidden;
    word-wrap: break-word;
}

.wk_testimonial_image_text {
    padding: 0px 10px;
    border-radius: 5px;
    position: relative;
    height: 125px;
}

.wk_testimonial_image_text img {
    border-radius: 5px;
    height: 125px;
}

.wk_testimonial_image_text p.wk-text-on-image {
    position: absolute;
    bottom: -1.2em;
    color: white;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    background: rgb(0, 0, 0);
    /* fallback color */
    background: rgba(0, 0, 0, 0.4);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 5px;
    max-width: 96.5%;
    word-wrap: break-word;
    overflow: hidden;
}

.image {
    position: relative;
    width: 100%;
    /* for IE 6 */
}

#wk_testimonial_list li .wk_testimonial_container:hover {
    box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.07);
}

.testimonial_text_cont p {
    font-size: 14px;
    font-weight: 500;
    color: #a3a3a3;
    padding: 25px 35px;
    word-wrap: break-word;
}

.wk-close-testimonial {
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    position: absolute;
    right: 0px;
    top: 0px;
}

#wk_more_text_read {
    color: #00b4d7;
    font-size: 13px;
    font-weight: 500;

}

.wk_testimonial_video_cont iframe {
    border-radius: 10px;
    width: 100%;
}

.wk_testimonial_image_text iframe {
    border-radius: 5px;
    height: 125px;
    max-width: 94.5%;
}

#wk_testimonial_view {
    background: #a5a5a5 none repeat scroll 0 0;
    border-radius: 4px;
    margin: 0 auto;
    padding: 15px;
    text-align: center;
    width: 80%;
}

#wk_testimonial_view:hover {
    background: #989898;
    cursor: pointer;
}

#wk_testimonial_view #wk_testimonial_load_more {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

#wk_no_more_testimonial {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

/********************************************
Quick view css
*********************************************/
ul#wk_testimonial_list li .wk_testimonial_container a.wk_testimonial_all_quickbook {
    font-size: 14px;
    font-weight: 700;
    color: #777676;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -21px 0 0 -53px;
    padding: 13px 0 0;
    background: rgba(255, 255, 255, 0.82);
    width: 107px;
    height: 43px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0 2px 8px;
    z-index: 999;
    cursor: pointer;
}
ul#wk_testimonial_list li .wk_testimonial_container a.wk_testimonial_all_quickbook {
    display: none;
}
ul#wk_testimonial_list li.hovered .wk_testimonial_container a.wk_testimonial_all_quickbook {
    display:block;
}

.wk_all_testimonial_popup_div{
    padding: 2em;
}
.wk_all_testimonial_popup_div .wk_testimonial_avator_popup img {
    border-radius: 50%;
    border: none;
    height: 100px;
    width: 100px;
    padding: -46px;
}
.wk_all_testimonial_popup_div .wk_testimonial_avator_popup
{
    border-radius: 50%;
    text-align: center;
}
.wk_all_testimonial_popup_div .wk_testimonial_subject_popup {
    margin: 10px 0px;
    font-size: 18px;
    font-weight: 700;
    color: #4b4b4b;
    text-align: center;
    word-break: break-word;
}
.wk_all_testimonial_popup_div .wk_testimonial_rating_popup {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}
.wk_all_testimonial_popup_div .wk_testimonial_text_popup {
    padding: .5em 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #a3a3a3;
    word-wrap: break-word;
    overflow: hidden;
    margin: .5em 0;
}
.wk_all_testimonial_popup_div .wk_testimonial_bottom_popup {
    text-align: right;
    padding: .6em 0;
}
.wk_all_testimonial_popup_div .wk_testimonial_author_popup {
    font-size: 15px;
    font-weight: 700;
    color: #4b4b4b;
    word-break: break-all;
    overflow: hidden;
}
.wk_all_testimonial_popup_div .wk_testimonial_image_popup {
    border-radius: 5px;
    position: relative;
    margin: 1.5em 0;
}
.wk_all_testimonial_popup_div .wk_testimonial_image_popup>img {
    border-radius: 5px;
    max-width: 100%;
    box-shadow: rgba(0, 0, 0, 0.30) 0 5px 10px;
}
.wk_all_testimonial_popup_div .wk_testimonial_video_popup {
    border-radius: 5px;
    position: relative;
}
.wk_all_testimonial_popup_div .wk_testimonial_video_popup>iframe {
    border-radius: 5px;
    max-width: 100%;
}
.wk_all_testimonial_popup_div .wk-close-testimonial_popup {
    right: 15px;
    top: 15px;
    color: #999;
    position: absolute;
    font-size: 1.4em;
    cursor: pointer;
}

@media (min-width:1200px) {
    .wk_testimonial_image_text p.wk-text-on-image {
        width: 94.4%;
    }
}
@media (min-width:768px) and (max-width:1199px) {
    #wk-testimonial-all-list {
        width: 49%;
    }
    .wk_testimonial_image_text p.wk-text-on-image {
        width: 95.4%;
    }
}
@media (min-width:768px) and (max-width:991px) {
    .wk_testimonial_container {
        min-height: 355px;
    }
    .wk_testimonial_text {
        height: 170px;
    }
    .wk_testimonial_image_text p.wk-text-on-image {
        width: 93.8%;
    }
}
@media (min-width:500px) and (max-width:767px) {
    .wk_testimonial_image_text p.wk-text-on-image {
        width: 96.2%;
    }
}
@media (min-width:500px) and (max-width:575px) {
    .wk_testimonial_image_text p.wk-text-on-image {
        width: 96.3%;
    }
}
@media (min-width:321px) and (max-width:360px) {
    .wk_testimonial_image_text p.wk-text-on-image {
        width: 93.9%;
    }
}
@media (max-width:320px) {
    .wk_testimonial_image_text p.wk-text-on-image {
        width: 92.9%;
    }
}

.close {
    transform: scale(1.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
