/**
 * We offer the best and most useful modules PrestaShop and modifications for your online store.
 *
 * We are experts and professionals in PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 wesite only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * @author    PresTeamShop SAS (Registered Trademark) <info@presteamshop.com>
 * @copyright 2011-2022 PresTeamShop SAS, All rights reserved.
 * @license   Valid for 1 website (or project) for each purchase of license
 *
 * @category  PrestaShop
 * @category  Module
 */

.ui-widget-content div.average_rating {
    border-bottom: 1px dashed #d5d7db;
    margin-bottom: 5px;
}

.ui-widget-content i.icon-raty {
    font-size: 11px;
}

.ui-widget-content .label-raty {
    font-size: 11px;
}

.align-items-center {
    display: flex;
    align-items: center;
}

div.item_feedback .tooltip.in {
    opacity: 1;
}

div.item_feedback .tooltip-inner {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0px 0px 5px #888888;
    min-width: 200px;
}

.tooltip-inner div.average_rating {
    border-bottom: 1px dashed #d5d7db;
    margin-bottom: 5px;
}
.tooltip-inner > .average_rating,
.tooltip-inner > .average_rating ~ .row{
    margin-left: 0;
    margin-right: 0;
}

.nopadding {
    padding: 0 !important;
}

/* rating.tpl */
#module-ifeedback-rating #content-wrapper #content {
    padding-left: 0px;
    padding-right: 0px;
}
#module-ifeedback-rating #content-wrapper #content #pts_content.pts_content_rating {
    padding: 15px;
}
#ifeedback_rating #content_show_feedbacks .item_feedback .content_star .tooltip_order,
div.pts_content_ifeedback_products .content_feedbacks_product .tooltip_order,
div.item_feedback span[data-toggle="popover"] {
    cursor: pointer;
}

div.item_feedback > div.container_products_purchased span[data-toggle="popover"] {
    text-decoration: underline;
}

div.item_feedback > div.container_products_purchased .popover-content ul {
    list-style-type: circle;
}

div.item_feedback > div.container_products_purchased .popover-content {
    min-width: 156px;
    padding-left: 18px;
}

#ifeedback_rating > div.pts_content_rating #posted_feedback {
    display: flex !important;
    margin: 18px 0 10px !important;
}
#ifeedback_rating a {
    color: black !important;
    font-size: 13px !important;
    outline: medium none !important;
    text-decoration: underline;
}
#ifeedback_rating > div.pts_content_rating #div_total_rating > #div_total_rating_stars > span {
    float: left;
    padding-left: 1px;
    font-size: 15px;
}
#ifeedback_rating > div.pts_content_rating #div_total_rating > #div_total_rating_stars > span#content_total_rating_value {
    margin-left: 12px;
}
#ifeedback_rating > div.pts_content_rating #div_total_rating {
    background: transparent url("../../img/ifd.png") no-repeat scroll right top;
    border-bottom: 1pt solid #828383;
    display: inline-block;
    margin: 10px 0 10px 0px;
    padding-bottom: 10px;
    width: 100%;
}
#ifeedback_rating > div.pts_content_rating #content_show_feedbacks{
    font-size: 13px;
    margin: 2% 0;
    width: 100% !important;
}

/* productlistreviews.tpl */
@media (max-width: 1199px) {
    .product_list_review {
        height: auto !important;
    }
    .product_list_review .product_list_review-total-comments,
    .product_list_review .product_list_review-stars {
        width: 100% !important;
        text-align: center !important;
    }
    .product_list_review .product_list_review-stars > div {
        float: none !important;
    }
}

.product_list_review{
    height: 25px;
    background: transparent;
}
.product_list_review > div.star_content {
    float: none;
    margin: 0 0 10px;
    width: auto;
}

/* modal_feedback.tpl */
#pts_modal_feedback a#browse_files {
    color: #ffffff;
    text-transform: none;
}

#pts_modal_feedback div.star_rating > i {
    font-size: 13px;
}

#pts_modal_feedback label.label-hint-criterions,
#pts_modal_feedback span#content_total_rating_value{
    font-size: 15px;
    font-weight: normal;
}

#pts_modal_feedback div.modal-body {
    padding: 5px 12px;
}

#pts_modal_feedback div.message_modal_feedback {
    display: none;
    margin-bottom: 0px;
}

#pts_modal_feedback div.modal-footer button#btn_save {
    margin-left: 5px;
}

#pts_modal_feedback div.modal-footer > button.btn-default {
    display: none;
}

#ifb_modal_feedback {
    position: absolute !important;
}

.modal-backdrop.fade {
    display: none;
}

.modal-backdrop, .modal-backdrop.fade.in {
    opacity: 0.8 !important;
}

.modal-backdrop {
    background-color: #fff !important;
    bottom: 0 !important;
    left: 0 !important;
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    z-index: 1030 !important;
}
#ifb_modal_feedback .modal-footer button {
    margin: 0 7px !important;
}
.ifb_overlay{
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: absolute;
    display: none;
    top: 0;
    width: 100%;
    z-index: 99;
    background: url(../../../views/img/pts/loader.gif) no-repeat scroll center center #ffffff;
}

#pts_modal_feedback{
    z-index: 9999;
}

#pts_modal_feedback h3 {
    font-size: 20px;
}

#pts_modal_feedback div.modal-content div.modal-header {
    padding: 0 15px;
}
#pts_modal_feedback div.modal-content div.modal-header div.form-group {
    margin-bottom: 10px;
}
#pts_modal_feedback div.modal-content div.modal-header > span.panel-title > button.close {
    position: absolute;
    right: 15px;
    top: 20px;
}
#pts_modal_feedback div.modal-dialog,
#pts_content_criterion_rating .modal-dialog {
    left: 0%;
}

/*jquery filer*/
#content_form_feedback div.jFiler-items ul.jFiler-item-list li.jFiler-item div.jFiler-item-thumb-image img {
    height: 100%;
    width: 100%;
}
#container_modal_content .form-horizontal .form-group{
    margin: 1% 1%;
}
#container_modal_content #content_form_feedback{
    margin-top: 1%;
}
#container_modal_content .score_stars span {
    float: left;
    font-size: 15px;
}
#container_modal_content #content_total_rating_value {
    margin: 0px 12px !important;
}
#container_modal_content div.jFiler-items{
    margin-top: 7px;
}
#container_modal_content div.jFiler-items li.jFiler-item  .jFiler-item-container li.list-inline > li {
    padding-right: 0px;
}
#container_modal_content div.jFiler-items li.jFiler-item  .jFiler-item-container {
    margin: 3px;
}
#container_modal_content div.jFiler-items li.jFiler-item div.jFiler-item-container .jFiler-item-thumb {
    height: 50px;
    min-height: 50px;
    width: 68px;
}
#container_modal_content div.jFiler-items li.jFiler-item .jFiler-item-container .jFiler-item-assets .jFiler-jProgressBar {
    width: 66px;
    margin-top: 0px;
}
/*jquery filer*/

/* product_footer.tpl */
.content_uploaded_images .img_uploaded_files {
    border: 2px solid #d5d7db;
    height: 35px;
    margin: 2px 0;
    width: 35px;
}

div.feedbacks_product div.content_feedbacks_product {
    max-height: 100%;
    width: 100% !important;
    transition: height .5s;
}

div.feedbacks_product div.content_feedbacks_product > div.item_feedback > div.content_star,
div.feedbacks_product div.content_feedbacks_product > div.item_feedback > div.content_feedback,
div.feedbacks_product div.content_feedbacks_product > div.item_feedback > div.container_products_purchased,
#ifeedback_rating #content_show_feedbacks div.item_feedback > div.content_feedback > div.content_reply_feedback {
    width: 100%;
}
#ifeedback_rating #content_show_feedbacks div.item_feedback > div.content_feedback > div.content_reply_feedback {
    padding-top: 1%;
}
div.content_reply_feedback {
    background-color: #f9f9f9;
    border: 1px solid #d3d0d0;
    margin-top: 1%;
    padding: 1%;
}
div.feedbacks_product div.content_feedbacks_product .alert.alert-warning:before{
    content: '';
}
#section_content_feedbacks {
    margin: 2% 0;
}

div.content_uploaded_images {
    margin-top: 2px;
}
div.feedbacks_product div.content_feedbacks_product div.item_feedback > div.container_products_purchased > div.content_uploaded_images > a:focus {
    text-decoration: none;
}


#section_content_feedbacks.page-product-box{
    margin: 0;
}
.content_feedbacks_product .feedback-title{
    color: var(--black);
}
.content_feedbacks_product .content_feedback{
    border: none;
    font-family: var(--font-primary);
    font-size: var(--text-l);
    font-weight: 400;
    line-height: 22px;
    color: var(--grey-sp);
}
.content_feedbacks_product .item_feedback{
    border: none;
}
.page-product-box .slick-arrow{
    height: auto;
}
.page-product-box .slick-arrow::before{
    --side: 58px;
    color: var(--sp-orange);
    background-color: var(--white);
    opacity: 1;
    border-radius: 50%;
    font-family: "FontAwesome";
    font-size: 14px;
    font-weight: 700;
    width: var(--side);
    height: var(--side);
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
}
.page-product-box .slick-next::before{
    content: "\f105";
    left: calc(100% - (var(--side) / 2));
    justify-content: left;
}
.page-product-box .slick-prev::before{
    content: "\f104";
    left: calc((var(--side) / -2));
    justify-content: right;
}
@media (min-width: 992px){
    #section_content_feedbacks .content_feedbacks_product{
        display: flex;
    }
    #section_content_feedbacks .block-feedbacks-items{
        background-color: var(--light-grey);
        padding: 20px 45px !important;
        border-radius: 18px 18px 18px 0px;
        width: calc(100% - 127px);
    }
    #section_content_feedbacks .feedback-title{
        width: 110px;
        padding-top: 15px;
        padding-right: 10px;
        word-break: break-word;
    }
    #section_content_feedbacks .content_feedback{
        padding-bottom: 15px;
    }
    #section_content_feedbacks .slick-prev{
        left: 0;
    }
    #section_content_feedbacks .slick-prev.slick-disabled::before{
        opacity: 0.5;
    }
    #section_content_feedbacks .slick-next{
        right: 0;
    }
    #section_content_feedbacks .slick-prev::before,
    #section_content_feedbacks .slick-next::before{
        color: var(--grey);
        background-color: transparent;
        font-size: 20px;
    }
    #product #section_content_feedbacks .content_feedbacks_product .slick-track{
        display: flex;
    }
    #product #section_content_feedbacks .content_feedbacks_product .slick-slide{
        height: inherit;
        padding-bottom: 0;
        margin: 10px 0 11px;
    }
    #product #section_content_feedbacks .content_feedbacks_product .content_feedback{
        height: 44px; /* dos líneas, teniendo en cuenta que el line-height es 22px  */
        word-break: break-word;
        overflow: hidden;
        padding: 0;
        margin-bottom: 15px;
    }
    #product #section_content_feedbacks .content_feedbacks_product .content_star{
        height: 40px;
    }
}
@media (max-width: 991px){
    #section_content_feedbacks .feedbacks_product {
        background-color: var(--light-grey);
        padding: 20px !important;
    }
}

/* display_right_column_product.tpl */
#right_product_column {
    margin: 15px 0;
    padding: 16px 13px 15px;
    border: 1px solid #dadada;
}

#right_product_column #content_stars {
    font-size: 13px;
    line-height: 11px;
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 1px 0 1px #f6f6f6;
    margin-bottom: 17px;
    padding: 8px;
}

#right_product_column a{
    cursor: pointer;
}

#right_product_column div.rating_star_selected,
#right_product_column div.rating_star_selected_text{
    margin-right: 5px;
}

#right_product_column div.col-xs-12 button[data-id-product] {
    margin-bottom: 4px;
    white-space: normal;
}

#right_product_column div.rating_star_selected_text > span {
    font-size: 12px;
    font-weight: bold;
}
#right_product_column a#detail_ratings {
    color: #444444;
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
    text-decoration: underline;
}

#right_product_column > div.row > #content_detail_ratings {
    margin-bottom: 17px;
}

.pts button.btn.btn-col-12 {
    width: 100%;
}

@media (max-width: 1199px) {
    #home_feedback .ifb_div_comment {
        max-height: 110px !important;
        min-height: 110px !important;
    }
}

@media (max-width: 990px) {
    #right_product_column > div.row > #content_stars > div.col-xs-12{
        margin-top: 2px;
    }

    #right_product_column #content_stars {
        line-height: 15px;
    }
}

/*ifeedback.tpl*/
#modal-rating-detail-content > #ifeedback #orders_rating,
#modal-rating-detail-content > #ifeedback #products_rating {
    pointer-events: none;
}

.container-carousel-ratings {
    margin-bottom: 10px;
}

#hero-carousel a.carousel-control {
    background-image: none;
    opacity: 1;
    text-shadow: none;
    top: auto;
}

#hero-carousel a.carousel-control.right > span::before {
    content: "";
}

#hero-carousel a.carousel-control.left > span::before {
    content: "";
}

#hero-carousel a.carousel-control.right > span {
    padding: 2px 0px 2px 6px;
}

#hero-carousel a.carousel-control.left > span {
    padding: 3px 3px 2px 3px;
}

#hero-carousel a.carousel-control > span {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    color: #ffd700;
    font-size: 14px;
    height: 18px;
    opacity: 2;
    width: 20px;
    font-family: FontAwesomePTS;
}

#ifeedback div.block_content > div.container-rating {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-bottom: 15px;
    text-align: center;
}
#ifeedback div.block_content > div.container-rating .total_rating_value,
#ifb_rating_table #content_total_rating_value {
    display: block;
    position: relative;
    font-size: 24px;
    font-weight: 700;
}
#ifb_rating_table #content_total_rating_value {
    margin-bottom: 10px;
    color: #000000;
}
#ifeedback div.block_content .container-detail-rating {
    display: block;
    position: relative;
    margin-bottom: 15px;
    background: #FCFCFC;
    padding: 3px;
    border: 1px solid #d5d7db;
    border-radius: 5px;
}

#ifeedback div.block_content .container-detail-rating #orders_rating {
    margin-bottom: 5px;
}
#ifeedback div.block_content .container-detail-rating .detail-rating {
    cursor: pointer;
}

#ifeedback .container-detail-rating .star_rating{
    display: inline-block;
    margin-right: 3px;
}

#ifeedback div.block_content > div.container-rating i,
#ifb_rating_table .star_rating i {
    vertical-align: middle;
    font-size: 24px;
}
#ifeedback div.block_content > div.ifb_div_comment {
    font-size: 12px;
    margin-bottom: 7px;
}

#ifeedback div.block_content #hero-carousel{
    min-height: 105px !important;
    max-height: 105px !important;
}

#ifeedback div.block_content > div.container-rating > span.total_rating_value {
    font-size: 11px;
    /*margin-left: -53%;*/
    position: absolute;
    top: 23%;
    left: 32%;
}
#ifeedback div.block_content > #lbl_title{
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    width: 70%;
    font-weight: bold;
    vertical-align: middle;
}
#ifeedback div.block_content > #lbl_title.lbl_title_15 {
    width: 71%;
}
#ifeedback {
    padding: 2% 0 12%;
}
#ifeedback > div.pts_content_ifeedback > p.title_block{
    margin-bottom: 0;
}
#ifeedback div.block_content > div.ifb_div_comment > #icon_rate {
    background: rgba(0, 0, 0, 0) url("../../img/icon.png") no-repeat scroll 0 0;
    clear: right;
    height: 47px;
    width: 38px;
    bottom: -35px;
    position: absolute;
}
#ifeedback div.block_content > div.container-rating > span#content_fa_num_stars {
    display: block;
    font-size: 12px;
    font-weight: bold;
}
#ifeedback div.block_content > div.ifb_div_comment > #more_feedbacks{
    bottom: 0;
    margin-right: 9px;
    font-size: 12px;
}

#left-column > #ifeedback, #left-column > #ifb_rating_table {
    margin-top: 15px;
    margin-bottom: 15px;
    padding:10px;
    box-shadow: 2px 2px 8px 0 rgba(0,0,0,.2);
    text-align: center;
}

#ifb_rating_table {
    background-color: #fff;
}

/* feedback_pending.tpl */
div.pts_content_my_feedbacks #feedback_pending .rating_star_selected label {
    cursor: pointer;
}

div.pts_content_my_feedbacks #feedback_pending img {
    width: 80px;
    height: auto;
}

div.pts_content_my_feedbacks #feedback_pending .btn_ifb {
    cursor: pointer;
}

.pts_content_my_feedbacks #feedback_pending .pts .panel-group .panel,
.pts_content_my_feedbacks #feedback_pending .panel-group .panel {
    overflow: visible !important;
}

.pts_content_my_feedbacks #feedback_pending .pts .tooltip-inner,
.pts_content_my_feedbacks #feedback_pending .tooltip-inner {
    min-width: 150px !important;
}

.pts_content_my_feedbacks #feedback_pending .pts .tooltip.left,
.pts_content_my_feedbacks #feedback_pending .tooltip.left {
    margin-right: 22px !important;
    margin-top: 2px !important;
    margin-left: 0 !important;
    padding: 0 5px;
}
div.pts_content_my_feedbacks #feedback_pending .panel-group,
div.pts_content_my_feedbacks #feedback_done .panel-group {
    margin-bottom: 20px;
}
div.pts_content_my_feedbacks #feedback_done .panel-group .panel-heading img {
    width: auto;
    height: 30px;
    margin-right: 10px;
}
div.pts_content_my_feedbacks #feedback_done .panel-group .panel-heading {
    cursor: pointer;
}
div.pts_content_my_feedbacks #feedback_done .panel-group .panel-heading a.panel-toggle {
    float: right;
    margin-top: .50em;
}
div.pts_content_my_feedbacks #feedback_done .panel-group .panel-heading a.panel-toggle i:after {
    content: "\f077";
}
div.pts_content_my_feedbacks #feedback_done .panel-group .panel-heading a.panel-toggle.collapsed i:after {
    content: "\f078";
}
div.pts_content_my_feedbacks #feedback_done .body-content .feedback-comment .comment_data {
    margin-top:10px;
}
div.pts_content_my_feedbacks #feedback_done .body-content .img-product-order img {
    width:80px;
    height:auto;
}
div.pts_content_my_feedbacks .approve button {
    border-radius: 50%;
    border: 2px solid white;
    width: 15px;
    height: 15px;
}
div.pts_content_my_feedbacks .approve button.btn-success {
    box-shadow: 0px 0px 4px 0px #5cb85c;
}
div.pts_content_my_feedbacks .approve button.btn-danger {
    box-shadow: 0px 0px 4px 0px #d2322d;
}

/*product_footer.tpl and product_tab_content.tpl*/
div.pts_content_ifeedback_products div.feedbacks_product {
    position: relative;
    padding: 0;
}
div.pts_content_ifeedback_products div.feedbacks_product #enabled_filter_star {
    padding: 2px;
    margin-top: 6px;
    font-weight: normal;
}
div.pts_content_ifeedback_products div.feedbacks_product #enabled_filter_star a{
    cursor: pointer;
}

/* home.tpl */
#home_feedback div.container_average_rating div.star_rating > i{
    font-size: 14px;
}

#home_feedback #hero-carousel div.carousel-item {
    padding: 5px 16px;
    height: 74px;
}

#home_feedback .container_average_rating{
    margin-top: 5px;
}
#home_feedback .container_average_rating .p,
#home_feedback .container_average_rating #average_rating.p{
    font-size: 12px;
    font-weight: 400;
}

#home_feedback .container_average_rating .star_rating{
    margin: 0 5.5px;
}
#home_feedback .container_average_rating .star_rating ~ .p{
    margin: 0 3px 0 5.5px;
    display: flex;
    align-items: center;
}
#home_feedback .container_average_rating #average_rating{
    text-align: right;
}

@media(max-width: 991px){
    #home_feedback .container_average_rating{
        padding: 5px;
    }
    #home_feedback .container_average_rating .p,
    #home_feedback .container_average_rating #average_rating.p{
        font-size: 11px;
    }
    #home_feedback .container_average_rating .star_rating{
        margin: 0 3.5px;
    }
    #home_feedback .container_average_rating .star_rating ~ .p{
        margin: 0 3px 0 3.5px;
    }
}

@media (max-width: 632px) {
    #home_feedback #title_feedbacks {
        display: block !important;
    }

    #home_feedback .container_average_rating,
    #home_feedback .container_customer {
        width: 100% !important;
    }

    #home_feedback .container_feedbacks_home {
        width: 100% !important;
    }

    #home_feedback .ifb_div_comment::before,
    #home_feedback .ifb_div_comment::after {
        height: 0 !important;
    }
}

@media (max-width: 511px) {
    #home_feedback #title_feedbacks {
        display: none !important;
    }

    #home_feedback .container_customer {
        width: 80px !important;
    }

    #home_feedback #icon_rate > img {
        height: 80px;
        width: 60px;
    }

}

#home_feedback{
    background: none;
}

#home_feedback #icon_rate > img {
    height: 100px;
    width: 77px;
}

#home_feedback .ifb_div_comment::before {
    border-right: 47px solid #D9EDF7 !important;
    bottom: -27px;
    content: "";
    height: 27px;
    position: absolute;
    left: 0;
    transform: translate(0px, -2px);
    z-index: 0;
    border-bottom-right-radius: 80px 50px;
}
#home_feedback .ifb_div_comment::after {
    background: #ffffff;
    border-bottom-right-radius: 40px 50px;
    bottom: -27px;
    content: "";
    height: 27px;
    position: absolute;
    left: 0;
    transform: translate(-30px, -2px);
    width: 60px;
    z-index: 0;
}

#home_feedback .section_home {
    padding: 10px;
    margin-top: 0 !important;
}

#home_feedback .last_comment {
    color: #000000;
    font-size: 12px;
    font-weight: 300;
    text-decoration: underline;
}

#home_feedback .ifb_div_comment {
    background-color: #D9EDF7;
    border-radius: 10px;
    color: #000000;
    padding: 9px;
    position: relative;
    min-height: 75px;
    max-height: 95px;
    font-weight: 300;
}

#home_feedback #title_feedbacks {
    font-family: Roboto,sans-serif;
    font-size: 25px;
    font-style: italic;
    font-weight: bold;
    line-height: 100%;
    margin-top: 24px;
    max-width: 65%;
    text-align: center;
}

#home_feedback #average_rating {
    font-weight: bold;
    line-height: 100%;
    font-size: 32px;
}

#home_feedback span.rating_star_selected {
    font-size: 20px;
}

#home_feedback .ifeedback_block_content {
    background: #ffffff;
    float: left;
    width: 100%;
    margin: 15px 0;
    border: 1px solid #d6d4d4;
    border-radius: 10px;
}

/* floating button */
#floating_button_container {
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.75);
    background-color: #ffffff;
    border-color: #777777;
    border-radius: 0 7px 7px 0;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    float: left;
    left: 0;
    padding: 5px;
    position: fixed;
    top: 50%;
    color: #000000;
    text-align: center;
    z-index: 5004;
    /*min-width: 71px;*/
}

#floating_button_container #average_rating {
    font-size: 22px;
    font-weight: bold;
    line-height: 100%;
}

#floating_button_container .fa-pts.fa-pts-star {
    color: #FFD700;
}

/* home.tpl and ifeedback.tpl */
div.ifb_content_feedback {
    padding: 10px 15px;
}

#ifeedback div.ifb_div_comment{
    background-color: #fff;
    border: 2px solid #d5d7db;
    border-radius: 10px;
    font-size: 14px !important;
    margin: 0;
    /*padding: 8px 8px 15px 8px;*/
    position: relative;
}

.ifb_content_feedback {
    padding: 5px;
}

.content-col{
    padding: 0px !important;
    margin: 0px !important;
}

.content_fa_star{
    color: gold;
}

.ifb_opacity{
    opacity: 0.21;
}

.content_feedback{
    border: 2px solid #d5d7db;
    border-radius: 10px;
    padding: 1%;
    width: 100%;
}
.item_feedback{
    border-bottom: 1px solid #d5d7db;
    margin: 15px 0;
    padding: 0 0 6px;
}

body#product #content_show_feedbacks{
    max-height: 600px;
    overflow: auto;
}

/*support templates*/
#ifeedback_rating.pts a.btn,
#container_modal_feedbacks.pts a.btn,
#feedback_pending.pts a.btn,
#ifeedback_rating.pts button.btn,
#container_modal_feedbacks.pts button.btn,
#feedback_pending.pts button.btn:not(.btn-approved) {
    width: auto;
}

.pts .modal {
    background: none;
    border: none;
    box-shadow: none;
    display: block;
    margin-left: 0;
    top: 30%;
    width: auto;
    z-index: 9999;
}

@media (max-width: 700px) {
    .pts #pts_modal_feedback {
        top: 0 !important;
    }
}

.content_percent_comment > .percent_comments {
    background-color: #ffc200;
}

a.fancybox_images {
    text-decoration: none !important;
}

.without_feedbacks {
    padding: 5px;
    text-align: center;
}

/* CAROUSEL */
#hero-carousel {
    box-shadow: unset;
}

#hero-carousel > .carousel-inner {
    height: auto;
}

#ifeedback div.ifb_div_comment.ifb_home {
    padding: 3px 8px 3px;
}
#ifeedback div.ifb_div_comment.ifb_home div.carousel-inner p {
    margin: 0;
    padding: 3px 0;
}

/*#ifeedback div.ifb_div_comment.ifb_home div.carousel-inner > div.item p:last-child {
    border-bottom: medium none;
}*/

#ifeedback div.ifb_div_comment div.carousel-inner > div.carousel-item  {
    /*border-bottom: 1px solid #d5d7db;*/
    padding: 5px 8px;
    min-height: 93px;
}

/*#ifeedback .ifb_div_comment  #hero-wrapper {
  height: 100%;
  width: 100%;
  position: fixed;
}*/

#home_feedback #ifeedback .ifb_div_comment #hero-carousel i {
    position: absolute;
    top: 50%;
}
#ifeedback .ifb_div_comment #hero-carousel img {
    left: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    width: auto;
    height: auto;
}

/*#ifeedback .ifb_div_comment .carousel-fade .carousel-control {
    z-index: 2;
}*/

#ifeedback .ifb_div_comment .carousel-fade .carousel-inner .carousel-item {
    opacity: 0;
    transition-property: opacity;
}

#ifeedback .ifb_div_comment .carousel-fade .carousel-inner .active {
    opacity: 1;
}

#ifeedback .ifb_div_comment .carousel-fade .carousel-inner  .active.left,
#ifeedback .ifb_div_comment .carousel-fade .carousel-inner   .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

#ifeedback .ifb_div_comment  .carousel-fade .carousel-inner  .next.left,
#ifeedback .ifb_div_comment  .carousel-fade .carousel-inner  .prev.right {
    opacity: 1;
}

#floating_button_container {
    cursor: pointer;
}

/* modal_rating_detail.tpl */
#pts_content_criterion_rating #modal-rating-detail-title {
    display: inline-block;
    font-weight: 700;
}
#pts_content_criterion_rating hr {
    margin-top: 5px;
    margin-bottom: 10px;
}
#pts_content_criterion_rating #ifeedback {
    padding-bottom: 0px;
}

/* media queries */
@media screen and (max-width: 900px) {
    #floating_button_container {
        opacity: 0.6;
    }
}

@media screen and (max-width: 700px) {
    #floating_button_container > div > .fa-pts.fa-pts-star {
        font-size: 1.5em;
    }
    #floating_button_container #average_rating {
        font-size: 15px;
    }
    #total_stars {
        font-size: 10px;
    }
}

@media screen and (max-width: 767px) {
    #ifb_rating_table p.title_block {
        text-align: left;
    }
}

#ifb_rating_table p#rating_star_selected  {
    font-size: 15px;
}

.product_list_review {
    position: inherit;
    width: 100%;
    bottom: 4.1rem
}
.thumbnail-container:hover .product_list_review,
.thumbnail-container:focus .product_list_review {
    bottom: 8.5rem !important;
}
/* compatibilidad plantilla transformer */
.pro_second_box .product_list_review {
    position: relative !important;
    bottom: 0 !important;
}
.carousel-item-next {
    display: block !important;
}

.page-my-account #content .links a i {
    height: 1rem;
}

.hidden {
    display: none;
}

@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }
}

/* feedbacks.tpl */
#category #ifeedback_rating,
#search #ifeedback_rating{
    background: var(--light-grey);
    padding: 0 35px;
}
#category #ifeedback_rating > .container,
#search #ifeedback_rating > .container{
    max-width: 1000px;
}
#category div.star_rating > i.fa-pts-star-o,
#category div.star_rating > i.fa-pts-star,
#category div.star_rating > i.fa-pts-star-half-o,
#category div.item_feedback .tooltip-inner i.fa-pts,
#search div.star_rating > i.fa-pts-star-o,
#search div.star_rating > i.fa-pts-star,
#search div.star_rating > i.fa-pts-star-half-o,
#search div.item_feedback .tooltip-inner i.fa-pts{
    font-size: 16px;
}
#category .item_feedback,
#search .item_feedback{
    border: none;
}
#category .content_feedback.subheadline,
#search .content_feedback.subheadline{
    border: none;
    color: var(--black-sp) !important;
}
#category .name,
#category .star_rating,
#search .name,
#search .star_rating{
    margin-top: 5px;
}
@media(min-width: 992px){
    #category #ifeedback_rating,
    #search #ifeedback_rating{
        margin-top: 30px;
    }
    #category #ifeedback_rating #pts_content > h2,
    #search #ifeedback_rating #pts_content > h2{
        margin-top: 30px;
        padding-left: 10px;
    }
    #category #ifeedback_rating .item_feedback,
    #search #ifeedback_rating .item_feedback{
        padding-left: 10px;
        padding-right: 10px;
    }
    #category #ifeedback_rating time,
    #category #ifeedback_rating .name,
    #search #ifeedback_rating time,
    #search #ifeedback_rating .name{
        font-size: 10px !important;
        line-height: 16px;
        color: var(--grey-sp);
        float: left;
        margin: 0;
    }
    #category #ifeedback_rating .name,
    #search #ifeedback_rating .name{
        margin-left: 0;
    }
    #category #ifeedback_rating .content_star .p,
    #search #ifeedback_rating .content_star .p{
        font-size: var(--text-xl);
    }
    #category #ifeedback_rating .content_feedback,
    #search #ifeedback_rating .content_feedback{
        font-size: 11px;
        padding-bottom: 5px;
        -webkit-line-clamp: 3;
        height: 68px;
    }
    #category #ifeedback_rating #content_show_feedbacks,
    #search #ifeedback_rating #content_show_feedbacks {
        margin-bottom: 20px;
    }

    #category #ifeedback_rating .slick-prev,
    #search #ifeedback_rating .slick-prev {
        left: -45px;
    }

    #category #ifeedback_rating .slick-next,
    #search #ifeedback_rating .slick-next {
        right: -45px;
    }
}
@media(max-width: 991px){
    #category #ifeedback_rating,
    #search #ifeedback_rating{
        padding: 0 10px;
    }
    #category #ifeedback_rating #pts_content > h2,
    #search #ifeedback_rating #pts_content > h2{
        font-size: var(--title-s) !important;
        margin-top: 30px;
        margin-bottom: 22px;
    }
    #category #ifeedback_rating .item_feedback,
    #search #ifeedback_rating .item_feedback{
        padding-bottom: 0;
    }
    #category #ifeedback_rating #content_show_feedbacks,
    #search #ifeedback_rating #content_show_feedbacks{
        margin-bottom: 35px;
    }

    #category #ifeedback_rating #content_show_feedbacks .slick-list,
    #search #ifeedback_rating #content_show_feedbacks .slick-list {
        margin: 0 auto;
        width: 85%;
    }

    #category #ifeedback_rating #content_show_feedbacks .slick-prev,
    #search #ifeedback_rating #content_show_feedbacks .slick-prev {
        left: -15px;
    }

    #category #ifeedback_rating #content_show_feedbacks .slick-next,
    #search #ifeedback_rating #content_show_feedbacks .slick-next {
        right: -15px;
    }
}

/* my_feedbacks.tpl & order_feedback.tpl */
#module-ifeedback-viewfeedbackpending #main #content{
    max-width: 1200px;
}
#module-ifeedback-viewfeedbackpending #main #content > .pts{
    background-color: transparent;
}
#module-ifeedback-viewfeedbackpending #feedback_pending{
    background-color: transparent;
}
#module-ifeedback-viewfeedbackpending .panel-heading{
    border-radius: 18px 18px 0px 0px;
    background: #E3DAC2;
    border: 0;
    padding: 20px 30px;
}
#module-ifeedback-viewfeedbackpending .panel-default{
    border: 0;
    background-color: transparent;
    box-shadow: none;
}
#module-ifeedback-viewfeedbackpending h5.panel-title{
    color: var(--grey-sp);
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 10px;
}
#module-ifeedback-viewfeedbackpending .list-group{
    padding: 0 30px;
    background-color: var(--white);
    border-bottom-right-radius: 18px;
}
#module-ifeedback-viewfeedbackpending .list-group-item{
    border: 0;
    border-bottom: 1px solid var(--grey);
    background-color: var(--white);
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}
#module-ifeedback-viewfeedbackpending .list-group-item:nth-last-child(1){
    border-bottom: 0;
}
#module-ifeedback-viewfeedbackpending .list-group-item .value_pending{
    display: flex;
    flex-direction: column;
}
#module-ifeedback-viewfeedbackpending .order-feedback,
#module-ifeedback-viewfeedbackpending .order-feedback p{
    color: var(--grey-sp);
    font-size: var(--text-s);
    font-weight: 500;
    line-height: var(--text-m);
}
#module-ifeedback-viewfeedbackpending .button-comment .btn{
    background-color: var(--sp-orange);
    color: var(--white);
    font-size: var(--text-m);
    font-weight: 400;
    border-radius: 18px 18px 18px 0px;
    border: 0;
}
#module-ifeedback-viewfeedbackpending .link-product{
    color: var(--grey-sp);
    font-size: var(--text-m);
    font-weight: 700;
    line-height: var(--text-xl);
    padding-bottom: 15px;
    width: fit-content;
}
#module-ifeedback-viewfeedbackpending .link-product:hover,
#module-ifeedback-viewfeedbackpending .link-product:active,
#module-ifeedback-viewfeedbackpending .link-product:focus{
    color: var(--grey-sp);
}
#module-ifeedback-viewfeedbackpending .product-feedback{
    color: var(--grey-sp);
    font-size: var(--text-s);
    font-weight: 500;
    line-height: var(--text-m);
}
#module-ifeedback-viewfeedbackpending #pts_modal_feedback .modal-content{
    border: 0;
    border-radius: 0px 0px 18px 0px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
#module-ifeedback-viewfeedbackpending #pts_modal_feedback .modal-header{
    border-bottom: 0;
}
#module-ifeedback-viewfeedbackpending #pts_modal_feedback .modal-title{
    color: var(--grey-sp);
    font-size: 18px;
    font-weight: 700;
}
#module-ifeedback-viewfeedbackpending #pts_modal_feedback .close{
    font-weight: 400;
    opacity: 1;
    color: var(--grey-sp);
    font-size: var(--text-l);
    top: 30px;
}
#module-ifeedback-viewfeedbackpending #pts_modal_feedback .score_stars .label-hint-criterions{
    display: none;
}
#module-ifeedback-viewfeedbackpending #pts_modal_feedback #content_form_feedback label,
#module-ifeedback-viewfeedbackpending #pts_modal_feedback #content_form_feedback #ifb_characters{
    font-size: var(--text-s);
    color: var(--grey-sp);
    font-weight: 500;
    line-height: var(--text-m);
}
#module-ifeedback-viewfeedbackpending #pts_modal_feedback .modal-footer{
    border-top: 0;
    margin-top: 0;
}
#module-ifeedback-viewfeedbackpending #pts_modal_feedback .modal-footer button{
    background-color: var(--sp-orange);
    color: var(--white);
    border-radius: 18px 18px 18px 0;
    border: 0;
    font-size: var(--text-m);
}
@media (max-width: 991px){
    #module-ifeedback-viewfeedbackpending .panel-heading{
        padding: 10px 15px;
    }
    #module-ifeedback-viewfeedbackpending .list-group{
        padding: 0;
    }
    #module-ifeedback-viewfeedbackpending .list-group-item .block-content-order{
        flex-direction: column;
    }
    #module-ifeedback-viewfeedbackpending .list-group .button-comment{
        padding-right: 15px;
    }
    #module-ifeedback-viewfeedbackpending .button-comment .btn{
        padding: 10px 20px;
    }
    #module-ifeedback-viewfeedbackpending #pts_modal_feedback .modal-title{
        padding-right: 20px;
    }
}