/**
 * Product Finder Assistant
 *
 * @author    THECON
 * @copyright THECON
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

.th_product_finder {
    position: relative;
}

.th_product_finder_inner {
    padding: 30px;
}

.th_product_finder_header h4 {
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 25px;
}

.th_product_finder_header .th_product_finder_title {
    text-align: center;
}

.th_progress_bar_background {
    height: 5px;
    width: 100%;
    background-color: transparent !important;
    top: 45%;
    position: absolute;
    padding: 0 120px;
}

.th_progress_bar_value,
.th_progress_bar_inner {
    height: 100%;
}

.th_progress_bar_value {
    width: 0;
}

.th_progress_point {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 40px;
    width: 40px;
    border-radius: 100%;
    position: relative;
    transition: background-color 500ms;
}

.th_progress_points {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 100px;
    padding-right: 100px;
}

.th_product_finder_progress_bar {
    position: relative;
}

.th_product_finder_body {
    text-align: center;
    margin-top: 40px;
}

.th_product_finder_title {
    margin-bottom: 40px;
    position: relative;
}

.th_submit_reset {
    position: absolute;
    top: 0;
    right: 0;
}

.th_product_finder_hint {
    margin-top: 20px;
}

.th_product_finder_answers {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.th_product_finder_answer {
    cursor: pointer;
    width: 200px;
    margin-right: 20px;
    margin-left: 20px;
    position: relative;
}

.th_product_finder_answer_header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.th_product_finder_answer_image {
    overflow: hidden;
    width: 190px;
    height: 190px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
}

.th_product_finder_answer_inner.th_product_finder_answer_disabled_img.th_product_finder_answer_selected .th_product_finder_answer_text {
    background: rgba(0, 0, 0, 0.25);
}

.th_product_finder_answer_inner {
    -webkit-transition: all .3s;
    transition: all .3s;
}

.th_product_finder_answer_inner:hover {
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
}

.th_product_finder_answer_img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.th_product_finder_answer_text {
    padding: 15px;
}

.th_product_finder_answer_disabled_img .th_product_finder_answer_text {
    border: 1px solid #000;
    border-radius: 4px;
}

.th_product_finder_answer_disabled_img {
    margin-bottom: 2.5em;
}

.th_product_finder_footer {
    text-align: center;
    padding: 15px;
    margin-top: 10px;
}

.th_icon_selected {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    height: 100px;
}

.th_add_to_cart_disabled {
    cursor: not-allowed;
}

.th_hidden {
    display: none;
}

.th_prod_finder_products_header_alert_shortcut {
    cursor: pointer;
    text-decoration: underline;
}

.th_prod_finder_products {
    padding-top: 1px;
}

.th_submit_reset {
    margin: 20px;
}

.th_prod_finder_products_title {
    width: 70%;
}

.card-block {
    padding: 0 !important;
}

.th_empty_products_list {
    padding: 15px;
}

.th_prod_finder_products .featured-products {
    padding: 0 15px;
}

.th_prod_finder_custom_product_inner {
    -webkit-transition: all .3s;
    transition: all .3s;
    box-shadow: 0 0 7px 0 rgb(138 138 138 / 18%);
    border-radius: 3px;
    margin-bottom: 1.7em;
}

.th_prod_finder_custom_product_inner:hover {
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
}

.th_prod_finder_answer_text {
    pointer-events: none;
    border-radius: 10px;
    background: #e6e6e6;
    color: #000000;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    display: inline-block;
}

.th_prod_finder_answer_history p {
    margin-bottom: 0;
    margin-left: 3px;
    color: #000000;
}

.th_prod_finder_answers_history {
    padding: 20px 20px 0 20px;
    text-align: left;
    min-height: 5em;
}

.th_prod_finder_products_header {
    margin-bottom: 1em;
}

.th_prod_finder_products_header_no_results_title {
    padding-left: 1em;
}

h4.th_prod_finder_products_header_no_results_title,
h4.th_prod_finder_recommendations_header {
    margin-bottom: 1em;
}

.th_prod_finder_answer_history {
    margin-right: 15px;
    margin-bottom: 10px;
}

.th_prod_finder_answers_history .row {
    flex-wrap: wrap;
    display: flex;
    padding: 10px;
}

.th_prod_finder_answers_history h4 {
    margin-top: 10px;
    margin-bottom: 0;
}

.th_product_finder_tooltip {
    position: absolute;
    z-index: 2;
    top: -30px;
    right: -10px;
    padding: 10px;
}

.th_prod_finder_hint {
    height: 23px;
}

.th_product_finder_answer_wrapper {
    position: relative;
}

.tippy-box[data-theme~='custom'] p {
    margin-bottom: 0 !important;
}

.tippy-box[data-theme~='custom'] {
    margin-top: -10px;
}

.th_product_finder_filter_price {
    padding: 0 35px;
    margin-top: 35px;
}

.th_product_finder_filter_price_min_max,
.th_product_finder_filter_price_values {
    display: flex;
    align-items: center;

}

.th_product_finder_filter_price_min_max {
    justify-content: space-between;
    margin-top: 15px;
}

.th_product_finder_filter_price_values {
    justify-content: center;
    margin-top: 40px;
}

.th_product_finder_filter_price_slider_wrapper {
    padding: 0 25px;
}

.th_product_finder_filter_price_separator {
    margin: 0 10px;
    font-weight: 900;
}

.th_product_finder_filter_price_values input[type=number] {
    border: 2px solid #000;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    padding: 10px;
    width: 150px;
}

.th_product_finder_filter_price_slider_wrapper .noUi-handle {
    border-radius: 50%;
}

.th_product_finder_filter_price_slider_wrapper .noUi-horizontal .noUi-handle {
    height: 34px;
    top: -10px;
}

.th_product_finder_filter_price_slider_wrapper .noUi-handle:before,
.th_product_finder_filter_price_slider_wrapper .noUi-handle:after,
.th_product_finder_filter_price_slider_wrapper .noUi-touch-area {
    content: none;
}

.th_submit_current_question {
    padding: 12px 80px;
    border-radius: 5px;
}

.th_submit_reset {
    border-radius: 5px;
}

.th_prod_finder_products_header .alert.alert-success {
    text-align: center;
    padding: 1.5em 0;
    font-weight: 700;
    font-size: 1em;
    margin: 15px;
}

.th_prod_finder_products .th_product_finder_share {
    margin: 1em;
}

.th_product_finder_share_clipboard {
    cursor: pointer;
}

.th_product_finder_share_title {
    display: flex;
}

.th_product_finder_share_title h5 {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.th_prod_finder_custom_products_body .row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.th_prod_finder_quiz_final_text,
.th_prod_finder_answers_final_text {
    margin-top: 1em;
}

.th_prod_finder_custom_product a {
    text-decoration: none;
}

.th_prod_finder_custom_product_image {
    position: relative;
}

.th_prod_finder_custom_product_flag {
    position: absolute;
    top: 3%;
    padding: 5px;
    color: #FFFFFF;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .2);
    margin-bottom: 0 !important;
}

.th_recommended_flag {
    background: linear-gradient(to right, #24b9d7 10%, #3985e0);;
    right: 0;
    border-radius: 5px 0 0 0;
}

.th_reduction_flag {
    background: linear-gradient(to right, #fc945d 10%, #f39d72);
    left: 0;
    border-radius: 0 5px 0 0;
}

.th_prod_finder_custom_product p {
    margin-bottom: 10px;
    color: #000;
    font-weight: 600;
}

.th_prod_finder_custom_product_img {
    max-width: 100%;
    border-radius: 4px 4px 0 0;
}

.th_prod_finder_custom_product_footer {
    padding: 10px;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

.th_prod_finder_custom_product_price {
    margin-bottom: 0 !important;
    color: #3985e0;
}

.th_prod_finder_custom_product_price_initial {
    font-size: 13px;
    margin-bottom: 0 !important;
    color: #888888;
}

.th_prod_finder_custom_product_price_reduced {
    font-size: 16px;
}

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

.th_prod_finder_custom_product_prices_add_to_cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 35px;
}

.th_prod_finder_add_to_cart i {
    background: linear-gradient(to right, #24b9d7 10%, #3985e0);
    color: #FFF;
    padding: 0.7em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.th_prod_finder_custom_product_footer .th_prod_finder_custom_product_name {
    height: 40px;
    font-size: 14px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.th_prod_finder_results_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1em;
}

.th_prod_finder_results_header h4 {
    margin-bottom: 0;
}

.th_prod_finder_recommendations_header,
.th_prod_finder_best_seller_header {
    padding-left: 1em;
}

.th_prod_finder_results_sort {
    height: auto !important;
}

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

.th_prod_finder_results_sort_wrapper label {
    width: 100px;
    margin-right: 20px;
    margin-bottom: 0;
}

.th_prod_finder_custom_product_price_initial {
    text-decoration: line-through;
}

.th_product_finder_share {
    display: flex;
    justify-content: right;
}

.th_product_finder_share_item a img {
    width: 2.5em;
}

.th_product_finder_share_item {
    margin-left: 0.25em;
    padding-left: 0.25em;
}

.th_product_finder_share_items {
    display: flex;
}

.th_prod_finder_slider_inner {
    padding: 1em;
    overflow: hidden;
}

.th_prod_finder_slider_header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2em;
}

.th_prod_finder_slider_title {
    margin: 0 1.5em;
    font-weight: 600;
}

.th_prod_finder_slider_divider {
    height: 2px;
    background: #e6e6e6;
    width: 20%;
}

.th_spacer {
    padding-bottom: 5em;
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
    .th_progress_point {
        height: 30px;
        width: 30px;
    }

    .th_progress_bar_background {
        top: 13px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .th_progress_points {
        padding-left: 20px;
        padding-right: 20px;
    }

    .th_product_finder {
        display: block;
        margin-bottom: .75rem;
        background-color: #fff;
        border-radius: 0;
        border: 1px solid rgba(0, 0, 0, .125);
    }

    .th_submit_reset {
        position: unset;
    }

    .th_product_finder_reset_button {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .th_prod_finder_products_title {
        width: 100%;
    }

    .th_prod_finder_products_header {
        display: block;
    }

    .th_product_finder_title {
        margin-bottom: 0;
    }

    .th_product_finder_filter_price_values input[type=number] {
        width: 100px;
    }

    .th_prod_finder_products .th_product_finder_share {
        display: block;
    }

    .th_product_finder_share_title,
    .th_product_finder_share_items {
        justify-content: center;
    }

    .th_product_finder_share_title {
        margin-bottom: 1em;
    }
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .th_product_finder_footer {
        position: fixed;
        bottom: 0;
        z-index: 999;
        width: 100%;
        left: 0;
        background: #F0F0F0;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .19), 0 2px 6px rgba(0, 0, 0, .23);
    }

    .th_product_finder_filter_price_slider_wrapper,
    .th_product_finder_filter_price {
        padding: 0;
    }

    .th_prod_finder_results_header {
        display: block;
    }

    .th_prod_finder_results_sort_wrapper label {
        text-align: initial;
    }

    .th_prod_finder_results_sort_wrapper {
        margin-top: 1em;
    }

    .th_product_finder_share {
        justify-content: center;
    }

    .th_spacer {
        padding-bottom: 0;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .th_progress_bar_background {
        padding-left: 50px;
        padding-right: 50px;
    }

    .th_progress_points {
        padding-left: 30px;
        padding-right: 30px;
    }

    .th_product_finder {
        display: block;
        margin-bottom: .75rem;
        background-color: #fff;
        border-radius: 0;
        border: 1px solid rgba(0, 0, 0, .125);
    }

    .th_submit_reset {
        position: unset;
    }

    .th_product_finder_reset_button {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .th_prod_finder_products_title {
        width: 100%;
    }

    .th_prod_finder_products_header {
        display: block;
    }

    .th_product_finder_title {
        margin-bottom: 0;
    }

    .th_prod_finder_results_sort_wrapper {
        width: 50%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .th_progress_bar_background {
        padding-left: 90px;
        padding-right: 90px;
    }

    .th_progress_points {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media only screen and (min-width: 767px) {
    .th_prod_finder_answers_history .row {
        max-width: 90%;
    }
}
