/**
* 2007-2021 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.dbproductquestions .question {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding: 1rem 0 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.dbproductquestions .question_content {
    width: 80%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.dbproductquestions .question_content .question_title {
    font-size: 1rem;
}

.dbproductquestions .question_content .question_info {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #777;
}

.dbproductquestions .question_content .question_info .question_customer {
    margin-right: 0.5rem;
    padding-right: 0.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.125);
}

.dbproductquestions .question_content .question_info .response_button {
    text-decoration: underline;
    color: #232323;
    cursor: pointer;
}

.dbproductquestions .question_votes {
    width: 20%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(0, 0, 0, 0.125);
}

.dbproductquestions .question_votes .vote_count {
    margin: 0 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.dbproductquestions .question_votes .push_vote {
    cursor: pointer;
}

.dbproductquestions .responses {
    width: 100%;
    padding: 1.5rem 2rem;
}

.dbproductquestions .response {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.dbproductquestions .response:last-child {
    padding: 0;
    margin: 0;
    border: 0;
}

.dbproductquestions .response .response_content p {
    margin: 0;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.dbproductquestions .response .response_image {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.dbproductquestions .response .response_name {
    font-size: 0.95rem;
}

.dbproductquestions .response .response_date {
    font-size: 0.85rem;
    color: #777;
}

.dbproductquestions .response .response_tag {
    background: #eafbf7;
    color: #1f9379;
    padding: 2px 8px;
    border-radius: 24px;
    font-size: .8rem;
}

.dbproductquestions .btn_dbquestion {
    margin: 2rem auto 0;
    display: block;
}

.btn_createquestion,
.btn_createrespond {
    margin: 1rem 0 0;
    display: block;
}

@media (max-width: 991px) {
    .dbproductquestions {
        padding: 1rem;
    }
    .dbproductquestions .question_content {
        width: 100%;
    }
    .dbproductquestions .question_votes {
        width: 100%;
        border-top: 1px solid #efeff0;
        border-bottom: 1px solid #efeff0;
        border-left: 0;
        margin: 1rem 0;
        padding: 1rem 0;
    }

}