/**
 * 2012-2023 INNERCODE
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA (End User License Agreement)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * https://www.innercode.lt/ps-module-eula.txt
 * 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 info@innercode.lt 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.
 *
 * @author    Innercode
 * @copyright Copyright (c) 2012 - 2023 INNERCODE, UAB. (https://www.innercode.lt)
 * @license   https://www.innercode.lt/ps-module-eula.txt
 * @package   icorders
 * @site      https://www.innercode.lt
 */

#order .error-input {
    border: 2px solid #FF8989;
}
#order {
    display: inline;
}
#order #submitAddOrder {
    color: #8a8a8a;
    margin-left: -5px;
    margin-right: -5px;
}

#order input:focus,
#order input:focus-visible,
#order textarea:focus,
#order textarea:focus-visible {
    background-color: #ffffff;
    border: 2px solid #de252c;
}
.company-inputs, .password-inputs {
    display: none;
}
.checkbox-block, .company-block {
    display: flex;
    align-items: center;
}
.company-block {
    justify-content: center;
    margin-bottom: 10px;
}
#orderByCompany {
    margin-top: 0;
}
.customer-block, .password-block, .country-block, .address-block {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.customer-block .input-group,
.password-block .input-group,
.address-block .input-group
{
    flex-basis: 50%;
    padding: 0 5px;
}
.company-block .input-group {
    flex-basis: 33%;
    padding: 0 5px;
}
.additional-text-block, .checkbox-block, .buttons-block
{
    margin-bottom: 10px;
    padding: 0 5px;
}
#product .errors p {
    margin-top: 2px;
    margin-bottom: 2px;
}
#product .errors {
    background-color: #FF8989;
    padding: 15px;
    border-radius: 30px;
    margin-bottom: 15px;
}
.total-sum-block .total {
    color: #333333;
    font-size: 18px;
    font-weight: bold;
}
.total-sum-block {
    padding: 10px;
}

.total-sum-block .total-price {
    font-weight: 500;
    color: #de252c;
    font-size: 28px;
}

.total-sum-block .total-price.old-price {
    font-weight: 500;
    color: #575757;
    font-size: 18px;
    text-decoration: line-through;
}

.total-sum-block .final-price {
    font-weight: 500;
    color: #de252c;
    font-size: 28px;
}

.applied-voucher-block .total {
    color: #333333;
    font-size: 18px;
    font-weight: bold;
}
.applied-voucher-block {
    padding-left: 5px;
    margin-bottom: 10px;
}

.applied-voucher-block .total-discount {
    font-weight: 500;
    color: #de252c;
    font-size: 18px;
}
.voucher-block {
    padding: 10px 0 20px 10px;
    margin-bottom: 20px;
    border-radius: 30px;
}
.voucher-block p {
    padding: 0 10px;
}
#submitAddDiscount {
    margin-left: 10px;
    padding: 14px 30px;
}

.voucher-block {
    position: relative;
}

.voucher-block .voucher-dismiss {
    color: #DE252C;
    font-size: 28px;
    font-weight: bold;
    padding: 0 10px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}
#display_cart_vouchers .voucher_name {
    color: #DE252C;
}
#display_cart_vouchers .delete-voucher {
    color: #DE252C;
    cursor: pointer;
}
.country-block .input-group {
    flex-basis: 50%;
    padding: 0 5px;
}
.country-block button.dropdown-toggle, .address-select-block button.dropdown-toggle {
    min-height: 50px;
}
#product .dropdown-menu {
    max-height: 300px !important;
}
.address-select-block {
    padding: 0 5px;
}
#product .address-select-block .bootstrap-select {
    margin-bottom: 10px;
    width: 100%;
}
.address-base.hidden{
    display: none;
}

.quantity-block input {
    text-align: center;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 18px;
    width: 100%;
}

.quantity-block .input-group-addon {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#product .features-block {
    padding: 5px 26px;
    margin-bottom: 5px;
}
#product .features-block span {
    font-size: 14px;
    color: #666666;
    font-weight: bold;
}

@media (max-width: 767px) {
    .company-block .input-group {
        flex-basis: 100%;
        margin-bottom: 5px;
    }
    .company-block, .customer-block, .country-block, .address-block {
        flex-wrap: wrap;
    }
    .customer-block .input-group, .password-block .input-group, .address-block .input-group {
        flex-basis: 100%;
    }
    .customer-block, .password-block, .country-block, .address-block {
        margin-bottom: 0;
    }
    .order-form-block .input-group {
        margin-bottom: 10px;
    }
    #placeOrder {
        width: 100%;
    }
    #order #submitAddOrder {
        margin-left: 0;
        margin-right: 0;
    }
    #order #submitAddOrder .quantity-block label{
        padding-bottom:5px;
    }
}