/**
 * We offer the best and most useful modules PrestaShop and modifications for your online store.
 *
 * We are experts and professionals in PrestaShop
 *
 * @author    PresTeamShop.com <support@presteamshop.com>
 * @copyright 2011-2017 PresTeamShop
 * @license   see file: LICENSE.txt
 * @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;
}

.nopadding {
    padding: 0 !important;
}

/* rating.tpl */
div#ifeedback_rating div#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;
}

div#ifeedback_rating > div.pts_content_rating div#posted_feedback {
    display: flex !important;
    margin: 18px 0 10px !important;
}
div#ifeedback_rating a {
    color: black !important;
    font-size: 13px !important;
    outline: medium none !important;
    text-decoration: underline;
}
div#ifeedback_rating > div.pts_content_rating div#div_total_rating > div#div_total_rating_stars > span {
    float: left;
    padding-left: 1px;
    font-size: 15px;
}
div#ifeedback_rating > div.pts_content_rating div#div_total_rating > div#div_total_rating_stars > span#content_total_rating_value {
    margin-left: 12px;
}
div#ifeedback_rating > div.pts_content_rating div#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%;
}
div#ifeedback_rating > div.pts_content_rating div#content_show_feedbacks{
    font-size: 13px;
    margin: 2% 0;
    width: 100% !important;
}

/* productlistreviews.tpl */
#product_list_review{
    height: 25px;
    background: transparent;
}
#product_list_review > div.star_content {
    float: none;
    margin: 0 0 10px;
    width: auto;
}
.products-grid #product_list_review {
    position: inherit;
    width: 100%;
}

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

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

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

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

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

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

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

div#ifb_modal_feedback {
    position: absolute !important;
}

.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;
}
div#ifb_modal_feedback .modal-footer button {
    margin: 0 7px !important;
}
div.ifb_overlay{
    padding: 0;
    margin: 0;
}

div#pts_modal_feedback{
    z-index: 9999;
}

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

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

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

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,
div#ifeedback_rating div#content_show_feedbacks div.item_feedback > div.content_feedback > div.content_reply_feedback {
    width: 100%;
}
div#ifeedback_rating div#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;
}

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

div#right_product_column div#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;
}

div#right_product_column a{
    cursor: pointer;
}

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

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

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

div#right_product_column > div.row > div#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) {
    div#right_product_column > div.row > div#content_stars > div.col-xs-12{
        margin-top: 2px;
    }

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

/*ifeedback.tpl*/
.container-carousel-ratings {
    margin-bottom: 10px;
}

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

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

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

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

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

div#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;
}

div#ifeedback div.block_content > div.container-rating {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    text-align: center;
}

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

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

div#ifeedback div.block_content > div.container-rating > span.total_rating_value {
    font-size: 11px;
    /*margin-left: -53%;*/
    position: absolute;
    top: 23%;
    left: 32%;
}
div#ifeedback div.block_content > div#lbl_title{
    display: inline-block;
    text-align: center;
    width: 70%;
    font-weight: bold;
    vertical-align: middle;
}
div#ifeedback div.block_content > div#lbl_title.lbl_title_15 {
    width: 71%;
}
div#ifeedback {
    padding: 2% 0 12%;
}
div#ifeedback > div.pts_content_ifeedback > p.title_block{
    margin-bottom: 0;
}
div#ifeedback div.block_content > div.ifb_div_comment > div#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;
}
div#ifeedback div.block_content > div.container-rating > span#content_fa_num_stars {
    display: block;
    font-size: 12px;
    font-weight: bold;
}
div#ifeedback div.block_content > div.ifb_div_comment > div#more_feedbacks{
    bottom: 0;
    margin-right: 9px;
    font-size: 12px;
}

div#ifeedback, div#ifb_rating_table {
    margin-top: 15px;
    margin-bottom: 15px;
    padding:10px;
}

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

div.pts_content_feedback_pending div#feedback_pending img {
    width: 30px;
}

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

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

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

.pts_content_feedback_pending #feedback_pending .pts .tooltip.left,
.pts_content_feedback_pending #feedback_pending .tooltip.left {
    margin-right: 22px !important;
    margin-top: 2px !important;
    margin-left: 0 !important;
    padding: 0 5px;
}
div.pts_content_feedback_pending #feedback_pending .panel-group {
    margin-bottom: 20px;
}

/*product_footer.tpl and product_tab_content.tpl*/
div.pts_content_ifeedback_products > div.feedbacks_product {
    padding: 15px;
}

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 */
div#home_feedback div.container_average_rating div.star_rating > i{
    font-size: 20px;
}

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

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

    #home_feedback .container_average_rating,
    #home_feedback .container_customer {
        width: 50% !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;
}

#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 5px 5px;*/
    position: relative;
    min-height: 75px;
    max-height: 75px;
    font-weight: 300;
}

div#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;
}

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

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

div#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*/
div#ifeedback_rating.pts a.btn,
div#container_modal_feedbacks.pts a.btn,
div#feedback_pending.pts a.btn,
div#ifeedback_rating.pts button.btn,
div#container_modal_feedbacks.pts button.btn,
div#feedback_pending.pts button.btn {
    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 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;
}*/

#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;
}

div#floating_button_container {
    cursor: pointer;
}

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

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

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

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


#product_list_review {
    position: absolute;
    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;
}
