/**
* 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
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
#pendingorders{
    display: block;
    width: 100%;
    padding: 20px;
}

#menu_ec_commercial {
    background-color: #2e696e;
}


#menu_ec_commercial a {
    text-transform: uppercase;
    color: #d5d5d5;
    font-size: 20px;
    padding-right: 5px;

}

#menu_ec_commercial li {
    border-right: 2px solid white;
}

#menu_ec_commercial li:nth-child(4) {
    border-right: none !important;
  }

#menu_ec_commercial a.active {
    font-weight: bold;
    color: white;
}

#menu_ec_commercial ul {
    display: flex;
    justify-content: center;
    padding: 10px;
}

#menu_ec_commercial li {
    padding: inherit;
}

  

#ec_commercial{
    display: flex;
    min-height: 500px;
}

#ec_commercial #new_order {
    display: block;
    min-height: 500px;
    padding: 0px 20px 50px 20px;
    text-align: center;
    width: 100%;
}

#module-ec_commercial-commercial #customers_results td {
    padding: 0.3rem !important;
}

#module-ec_commercial-commercial #customers_results .table-responsive {
    display: inline-table !important;
}

#module-ec_commercial-commercial #pendingorders .table-responsive {
    display: inline-table !important;
}

#recherche_client label {
    font-size: 16px;
}

#ec_search_customers {

    background-color: #F7F7F7;
    border: none;
    height: 35px;
    width: 400px;
    margin-left: 20px;

}

#ec_commercial #new_order #clients #addClient {
    background-color: white;
    border: 2px solid black;
    padding: 10px 140px 10px 140px;
    font-size: 16px;
    cursor: pointer;
}

#addClient:hover {
    color: white;
    transition: 300ms ease;
}

#approvedorders_menu:hover {
    color: white;
    transition: 300ms ease;
}
/*
.customer_res .boxCust {
    text-align: left;
    margin-bottom: 30px;
    box-shadow: 1px 1px 5px black;
    margin-right: 10px;
    padding: 15px 25px;
    display: block;
}*/

.customer_res .tabs {
    text-align: left;
}

.choose {
    text-align: center;
}
#customers_results {

    margin-bottom: 20px;
    margin-top: 30px;
    display: block;
    float: none;

}

#ec_commercial #new_order .register-form{
    text-align: left;
    padding: 0 150px;
}

#cust_final {
    text-align: left;
    float: none;
    margin: 0 auto;
}

#adresse_cust {
    clear: both;
}

.lesadresses {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.lesadresses::after {
    content: '';
    flex-basis: 300px;
}

.lesadresses .blocadresse {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    flex-basis: 300px;
}

.lesadresses .blocadresse .lecontent {
    display: flex;
    padding: 15px;
}

.lesadresses .blocadresse .lecontent .leinput input {
    margin-right: 10px;
    cursor: pointer;
}

.lesadresses .blocadresse .lesactions {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding: 0 15px 15px;
}

.lesadresses .blocadresse .lesactions a {
    padding: 5px 15px;
}

.lesadresses .blocadresse .lesactions a:hover {
    transition: 300ms ease;
}

.lesadresses .blocadresse .lesactions a:not(:last-child) {
    margin-right: 20px;
}

.lesadresses .letxt {
    font-size: 12px;
}

.lesadresses .lastname {
    text-transform: uppercase;
}

.lesadresses .alias {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

#adresse_cust .grpbtn {
    text-align: center;
    flex-basis: 100%;
    margin-top: 25px;
}

#adresse_cust .grpbtn div {
    display: inline-block;
    padding: 5px 15px;
}

#adresse_cust .checkinvoice {
    text-align: left;
    margin: 15px 0;
}

#adresse_cust .checkinvoice label {
    margin-bottom: 0;
}

#addressinvoice.hide {
    display: none;
}

#module-ec_commercial-commercial .bottombtn {
    text-align: right;
}

#module-ec_commercial-commercial .nextstep {
    display: inline-block;
}

#ec_commercial #new_order .infoadd{
    margin: 0;
}

#ec_commercial #new_order .js-address-form {
    margin-top: 35px;
}

#ec_commercial #new_order .js-address-form .form-control {
    background: #F7F7F7;
    border: 0;
}

#ec_commercial #new_order footer.bottombtn {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

#ec_commercial #new_order footer.bottombtn::after {
    display: none;
}

#ec_commercial #new_order #produits {
    text-align: left;
    font-size: 16px;
    margin-top: 35px;
}

#ec_commercial #new_order #produits label {
    font-size: 16px;
    margin-right: 5px;
    margin-bottom: 0;
}

#ec_commercial #new_order .customeridentity,
#ec_commercial #new_order .selectedcustomer {
    font-weight: bold;
    margin-bottom: 10px;
}

#ec_commercial #new_order .customeridentity .lastname,
#ec_commercial #new_order .selectedcustomer .lastname {
    text-transform: uppercase;
}

#ec_commercial #new_order #produits input {
    display: inline-block;
    border: 0;
    background: #f7f7f7;
    color: #000;
    font-style: italic;
    width: 250px;
}

#ec_commercial #new_order #produits #recherche_produit input {
    width: 350px;
}

#ec_commercial #new_order #products_results,
#ec_commercial #new_order #carrier_orderstate {
    text-align: center;
    margin: 25px auto;
    max-width: 460px;
}

#ec_commercial #new_order #products_results .form-group,
#ec_commercial #new_order #carrier_orderstate .form-group {
    display: flex;
    align-items: center;
}

#ec_commercial #new_order #products_results .form-group .help-block {
    margin: 0;
    margin-left: 15px;
}

#ec_commercial #new_order #products_results label,
#ec_commercial #new_order #carrier_orderstate label {
    flex-basis: 100px;
    text-align: right;
    margin-bottom: 0;
    margin-right: 5px;
}

#ec_commercial #new_order #products_results select,
#ec_commercial #new_order #carrier_orderstate select {
    background: #f7f7f7;
    border: 0;
    outline: 0;
    font-style: italic;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    padding: 8px 25px 8px 10px;
    width: 250px;
    -webkit-appearance: none;
    appearance: none;
}

#ec_commercial #new_order #products_results #addtocart {
    display: inline-block;
}

#ec_commercial #new_order .flextable .flexhead {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    color: #646464;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 25px;
}

#ec_commercial #new_order .cartpresentation {
    font-size: 22px;
    color: #646464;
    font-weight: bold;
    margin-bottom: 25px;
}

#ec_commercial #new_order .flexhead div,
#ec_commercial #new_order .flexproduct div {
    flex-basis: 15%;
}
#ec_commercial #new_order .flexhead .fh_laimg,
#ec_commercial #new_order .flexproduct .laimg {
    flex-basis: 25%;
    margin-bottom: 0;
}
#ec_commercial #new_order .flexhead .fh_infosprd,
#ec_commercial #new_order .flexproduct .infosprd {
    flex-basis: 35%;
}
#ec_commercial #new_order .flexhead .fh_total,
#ec_commercial #new_order .flexproduct .total {
    flex-basis: 10%;
}

#ec_commercial #new_order .flexproduct .delete {
    color: #646464;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: auto;
}

#ec_commercial #new_order .flexproduct {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
    margin-bottom: 25px;
}

#ec_commercial #new_order .flexproduct .prodname {
    color: #646464;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

#ec_commercial #new_order .flexproduct .infosprd {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
}

#ecCommercialOrders h3 {
    font-size: 1em;
}

#ecCommercialOrders .iconDateStart,
#ecCommercialOrders .iconDateEnd {
    position: absolute;
    right: -10px;
    top: 45px;
    padding: 1px;
    font-size: 20px;
    cursor: pointer;
}

#ecCommercialOrders .table th, .table td {
    padding: 0.25rem;
    font-size: smaller;
    text-align: right;
}

#ec_commercial #new_order .flexproduct .infosprd strong {
    color: #646464;
}

#ec_commercial #new_order .flexproduct .unitprice span {
    display: block;
}

#ec_commercial #new_order .flexproduct .unitprice span:last-child {
    color: #646464;
    font-weight: bold;
}

#ec_commercial #new_order .flexproduct .quantity strong {
    color: #646464;
}

#ec_commercial #new_order .flexproduct .total {
    color: #646464;
    font-weight: bold;
}

#ec_commercial #new_order #product_cartorder .grpbtn {
    text-align: center;
}

#ec_commercial #new_order #product_cartorder .grpbtn .btn-primary {
    display: inline-block;
    text-align: center;
}

#pendingorders .ordergrp {
    display: flex;
    justify-content: space-between;
    width: 66%;
    padding: 15px 25px;
}

#pendingorders .ordergrp .commandenb,
#pendingorders .ordergrp .commandeidentite {
    margin-bottom: 20px;
}

#pendingorders .ordergrp .commandenb {
    font-size: 20px;
    font-weight: bold;
}

#pendingorders .ordergrp .commandeadresse,
#pendingorders .ordergrp .commandedate {
    color: #c0c0c0;
}
.topbanner {
    text-align: center;
    background: darkred;
    color: #fff;
    position: relative;
    width: 100%;
    z-index: 99;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbanner .letxt {
    margin-right: 30px;
}

.topbanner a {
    text-decoration: underline;
    color: #fff;
    font-size: 20px;
}
#customers_results tr td {
    font-size: 12px;
    text-align: left;
}
#customers_results .thead-default th {
    text-align: left;
    font-weight: bold;
}
#ec_commercial .custom-radio {
    margin-right: 0;
}
.pastille {
    width: 7px;
    height: 7px;
    border-radius: 5px;
}
.pastille.verte{
    background: #78d07d;
}
.pastille.rouge{
    background: #c05c67;
}
.pastille.bleu{
    background: blue;
}
.editcust {
    cursor: pointer;
}
#pendingorders table td, #pendingorders table th {
    padding: 6px 5px;
}

#legend_cust {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-left: 5px;
} 
#legend_cust .pastille {
    margin: 0 12px 0 0;
}
.legend_past {
    display: flex;
    align-items: center;
    margin-right: 25px;
}

#recap_months {
    margin-bottom: 15px;
    font-size: 13px;
}
.recap_month {
    display: flex;
}
.recap_date {
    width: 134px;
}
#modalIframeOrder .modal-content {
    height: 800px;
  }
#modalIframeOrder iframe {
    width: 100%;
    height: 100%;
}
#modalIframeOrder .modal-dialog {
    max-width: 1000px;
}
#order-detail.ec_content_only .page-footer, #order-detail.ec_content_only .order-message-form form, #order-detail.ec_content_only #checkoutblock-wrapper form {
    display: none;
}
#pendingorders .ec_show_detail {
    color: #111;
}
#pendingorders .ec_show_detail:hover {
    text-decoration: underline;
}
@media (max-width: 767px) {
    .legend_past {
        align-items: center;
        margin-right: 0px;
        text-align: center;
        font-size: smaller;
        display:inline-block;
    }
    #menu_ec_commercial a {
        text-transform: uppercase;
        color: #d5d5d5;
        font-size: 10px;
    }
    .topbanner a {
        font-size: 18px;
      }
    .topbanner .letxt {
    font-size: 11px;
    }
    #ec_commercial #new_order {
        padding: 15px;
    }

    #ec_commercial #new_order #clients #addClient {
        padding-left:15px;
        padding-right:15px;
    }

    #ec_search_customers {
        margin-left: 0;
        width: 100%;
    }

    #customers_results {
        float: none;
    }

    #ec_commercial #new_order #produits #recherche_produit input {
        margin-top: 15px;
        width: 100%;
    }

    #products_results .form-group {
        flex-wrap: wrap;
    }

    #products_results .form-group>div {
        flex-basis: 100%;
    }

    #ec_commercial #new_order #products_results label, #ec_commercial #new_order #carrier_orderstate label {
        text-align: left;
        flex-basis: 100%;
        margin-bottom: 5px;
    }

    #ec_commercial #new_order #products_results select, 
    #ec_commercial #new_order #carrier_orderstate select,
    #ec_commercial #new_order #produits input {
        width: 100%;
    }

    #ec_commercial #new_order #product_cartorder .flextable .flexhead {
        display: none;
    }

    #ec_commercial #new_order .flexproduct {
        position: relative;
    }

    #ec_commercial #new_order .flexproduct>div,
    #ec_commercial #new_order .flexproduct .laimg,
    #ec_commercial #new_order .flexproduct .infosprd,
    #ec_commercial #new_order .flexproduct .total {
        flex-basis: 100%;
    }

    #ec_commercial #new_order .flexproduct .laimg,
    #ec_commercial #new_order .flexproduct .prodname {
        margin-bottom: 5px;
    }

    #ec_commercial #new_order .flexproduct .laimg {
        text-align: center;
    }

    #ec_commercial #new_order .flexproduct .delete {
        position: absolute;
        top: 0;
        left: 0;
        font-size: 0;
    }

    #ec_commercial #new_order .flexproduct .delete:after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        color: #fff;
        background: #000;
        line-height: 1;
        padding: 2px;
        cursor: pointer;
    }
    
    /* 06/04/2022 */

    

    #menu_ec_commercial {
        margin: 0 auto 35px;
    }

    #ec_commercial #new_order .register-form {
        padding: 0;
    }

    #legend_cust {
        margin-left: 0;
    }
    
}
@media (max-width: 1213px) {
    #module-ec_commercial-commercial #customers_results .table-responsive {
        display: block;
    }
    #ec_commercial {
        flex-wrap: wrap;
    }
}

@media (max-width: 991px) {
    #module-ec_commercial-commercial .table-responsive {
        display: block;
    }
    
}
@media (max-width: 1000px) {
    #modalIframeOrder .modal-content {
        height: 600px;
    }
}

.cqq_order_line {
    color: blue;
}

