/**
* 2007-2019 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-2019 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/
.badcustomer-question-block {
    padding: 20px
}

.fancybox-lock .fancybox-overlay.fancybox-overlay-fixed{
    background: unset;
}

.fancybox-skin {
    position: relative !important;
    padding: 0 !important;
    background-color: #fff !important;
    width: 100% !important
}

.fancybox-lock .fancybox-overlay.fancybox-overlay-fixed .fancybox-opened .fancybox-skin {
    -webkit-box-shadow: 0 10px 495px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 10px 495px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 495px rgba(0, 0, 0, 0.5);
}

.badcustomer-question-form .badmodule-title {
    font-weight: 600;
    font-size: 14px;
    color: #000;
    margin-bottom: 15px;
    white-space: normal;
    overflow: visible;
    position: relative;
    text-transform: uppercase;
    text-align: center;
}

.badcustomer-question-form .badmodule-title:after{
    display: none;
}

.badcustomer-question-prod-name {
    color: #222;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
    text-align: center
}

.badcustomer-question-prod-name:after {
    content: '';
    display: block;
    position: relative;
    width: 100px;
    height: 1px;
    margin: 10px auto 0 auto;
    background-color: #000
}

.badmodule-title:after {
    content: '';
    display: block;
    position: relative;
    width: 50px;
    height: 1px;
    margin-top: 10px;
    background-color: #000
}

.badcustomer-question-field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px
}

.badcustomer-question-label {
    max-width: 150px;
    text-align: left;
    color: #222;
    font-size: 16px;
    font-weight: 400;
    padding: 0;
    float: none;
    margin-bottom: 0;
    width: 100%;
    line-height: 38px
}

.badcustomer-question-field .badcustomer-question-label+div {
    width: auto;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 200px;
    flex: 1 1 200px;
    padding: 0;
    float: none
}

.badcustomer-question-field .form-control {
    background: rgba(255, 255, 255, 1);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(226, 226, 226, 1);
    border-radius: 3px;
    max-width: 500px;
    height: 38px;
    padding: 10px;
    font-size: 14px;
    color: #555
}

.badcustomer-question-field .form-control:focus {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, .1);
    border-color: transparent
}

.badcustomer-question-field .form-control::placeholder {
    color: #555
}

.badcustomer-question-field textarea.form-control {
    height: 100px;
    line-height: normal
}

.badcustomer-question-field:last-child {
    margin: 20px 0 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.badcustomer-question-field-reset,
.badcustomer-question-field-submit {
    background-color: #ccc;
    padding: 10px;
    border-radius: 3px;
    color: #fff;
    border: none;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase
}

.badcustomer-question-field-submit {
    margin-right: 0px
}

#product .product-actions .bad-ask-question-wrapper{
    float: left;
    margin-bottom: 30px;
}

#product .product-actions .bad-ask-question-wrapper a.bad-ask-question-btn{
    padding: 10px 20px;
    color: #fff !important;
    background: #d3b883;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transition: background .2s ease-in-out;
    -webkit-transition: background .2s ease-in-out;
    -moz-transition: background .2s ease-in-out;
    -ms-transition: background .2s ease-in-out;
    -o-transition: background .2s ease-in-out;
}

#product .product-actions .bad-ask-question-wrapper span{
    color: #fff;
}
#product .product-actions .bad-ask-question-wrapper i{
    filter: brightness(5);
    -webkit-filter: brightness(5);
}


#product .product-actions .bad-ask-question-wrapper a.bad-ask-question-btn:hover{
    background: #000;
}

.badproduct-cart-question.badproduct-cart-question-outOfStock{
    display: inline-flex;
}

.badcustomer-question-prod-error{
    text-align: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    border: 1px solid #d3b883;
    color: #d3b883;
    font-weight: bold;
    font-size: 16px;
}

.fancybox-inner h2.success{
    text-align: center;
    padding: 15px 20px;
    margin: 24px 25px;
    border: 1px solid #d3b883;
    color: #d3b883;
    font-weight: bold;
    font-size: 16px;
    line-height: 150%;
}

/*.fancybox-overlay.fancybox-overlay-fixed{
    display: none;
    opacity: 0;
}*/

.fancybox-opened .fancybox-skin{
    -webkit-box-shadow: 0 10px 415px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 10px 415px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 415px rgba(0, 0, 0, 0.5);
}

@media(max-width:450px) {
    .badcustomer-question-field {
        display: block
    }

    .badcustomer-question-label {
        min-width: 100%;
        font-size: 14px
    }

    .badcustomer-question-field .form-control {
        font-size: 12px
    }

    .badcustomer-question-field-reset,
    .badcustomer-question-field-submit {
        padding: 8px 10px
    }

    .badcustomer-question-block {
        padding: 15px
    }
}
