/*Write your custom css in this file.*/
*:focus {
    outline: none;
}
/* ── WiseMail : badge boutique coloré (couleurs graphique dashboard) ── */
.wm-shop-badge {
    display:inline-block;
    padding:1px 6px;
    border-radius:3px;
    font-size:10px;
    font-weight:700;
    color:#fff;
    margin-right:4px;
    vertical-align:middle;
    flex-shrink:0;
    letter-spacing:.2px;
}
/* Couleurs synchronisées avec la source de vérité : js_v2.php _shopColors */
.wm-shop-badge[data-shop="promateriel"]      { background:#27ae60; }
.wm-shop-badge[data-shop="stand-direct"]     { background:#f39c12; }
.wm-shop-badge[data-shop="potelet"]          { background:#e67e22; }
.wm-shop-badge[data-shop="ccc"]              { background:#3498db; }
.wm-shop-badge[data-shop="bollard-direct"]   { background:#c0392b; }
.wm-shop-badge[data-shop="bollard"]          { background:#c0392b; }
.wm-shop-badge[data-shop="mister-sandow"]    { background:#9b59b6; }
.wm-shop-badge[data-shop="mr-sandow"]        { background:#9b59b6; }
.wm-shop-badge[data-shop="sandow"]           { background:#9b59b6; }
.wm-shop-badge[data-shop="acoustic-panels"]  { background:#7f8c8d; }
.wm-shop-badge[data-shop="acoustic"]         { background:#7f8c8d; }
.wm-shop-badge[data-shop="wisecom-acoustic"] { background:#7f8c8d; }
.wm-shop-badge[data-shop="crowd-control-central"] { background:#16a085; }
.wm-shop-badge[data-shop="crowd-control"]    { background:#16a085; }
.wm-shop-badge[data-shop="default"]          { background:#607d8b; }
/* Dans la vue "tous les mails", afficher le badge dans la ligne */
.wm-row .wm-row-subject-wrap { display:flex; align-items:center; flex-wrap:wrap; gap:3px; }
/* Dossier "Tous" dans la sidebar — accent visuel */
.wm-nav-item[data-mode="all"] { font-weight:600; }
.wm-nav-item[data-mode="all"] i { color:#607d8b; }

/* ── Sidebar CRM sticky ────────────────────────────────────── */
#sidebar {
    position: fixed !important;
    top: 50px !important;
    left: 0 !important;
    bottom: 0 !important;
    z-index: 100 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* ── Fix hauteur layout table-cell ────────────────────────── */
/* #page-container est display:table-cell et prend la hauteur du viewport.
   On force display:block pour que le contenu s'étende librement. */
#page-container.box-content {
    display: block !important;
}
.scrollable-page {
    height: auto !important;
    min-height: 100% !important;
    overflow-y: visible !important;
}
/* padding-left sur #content.box géré par JS (layout/index.php) */
.nopadding{
    padding:0!important;
}
.error {
    width: auto;
    display: inline-block;
    background-color: #ffbfbf !important;
    font-weight: 600;
    padding: 0 5px;
    border: 1px solid #f00;
    margin: 0 10px 0 0;
}
.success-msg {
    width: auto;
    display: inline-block;
    background-color: #e0ffe3 !important;
    font-weight: 600;
    padding: 0 5px;
    border: 1px solid #0a891d;
    margin: 0 10px 0 0;
}
i.new-message{
    background: #ec5e27;
    color: #fff;
    float: right;
    z-index: 9;
    height: 20px;
    width: 20px;
    font-size: 12px !important;
    font-weight: 600;
    text-align: center;
    border-radius: 15px;
    font-style: inherit;
    padding-top: 1px;
    position: absolute !important;
    right: 1px;
    top: 11px;
}
#chats-tabs{
    border-bottom: 1px solid #ababab;
}
#chat_list h4{
    font-weight: 600;
    font-size: 13px;
    border-bottom: 1px solid #ababab;
    padding: 10px 20px;
    margin: 0;
}
#chat_list .column_list{
    border-right: 1px solid #d7d7d7;
}
#listing_chat {
    margin:0;
    padding:0;
}
#listing_chat li{
    list-style-type: none;
    border-bottom: 1px solid #f2f2f2;
    float: left;
    width: 100%;
    position:relative;
}
#listing_chat li.active{
        background: #ffe3c6;
}
#listing_chat li .archive_thread{
    position: absolute;
    right: 10px;
    top: 8px;
    z-index: 9;
    font-size: 18px;
    padding: 10px;
    cursor:pointer;
    color: #c3c3c37a;
}
#listing_chat li .archive_thread:hover{
    color: #333;
}
#listing_chat li a{
    padding: 5px 20px;
    float: left;
    width: 100%;
}
#listing_chat li:not(.active) a:hover{
    background: #f9f9f9;
}
#listing_chat li a.unread{
    border-left: 3px solid #3fa94b;
    background: #d8ffd7;
}
#listing_chat li.active a.unread{
    border-left: 3px solid #3fa94b;
        background: #ffe3c6 !important;
}
#listing_chat li p{
    font-weight: 600;
    color: #333;
    margin:0;
}
#listing_chat li span{
    display:block;
    font-size: 11px;
    color: #7e7e7e;
}
#listing_chat li span.shopname{
font-weight: 600;
    color: #ff8944;
}
#chat_list{
    display:table;
        width: 100%;
}
#chat_list .col-chat{
    display:table-cell;
    float:none;
    width: 20%;
}
#chat_list .listing-chat{
    vertical-align: top;
    border-right: 1px solid #ababab;
}
#chat_list .col-messaging{
    padding:0;
    background:url('../../assets/images/background-chat.jpg') repeat center center;
    width: 60%;
    overflow: hidden;
}
#chat_list .col-info{
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #ababab;
}
#chat_list .col-info .customer_name .avatar{
        display: block;
    width: 80px;
    border-radius: 50px;
    margin: 50px 0 0 36%;
    left: -40px;
}
#chat_list .col-info .customer_name b,
#chat_list .col-info .customer_name a{
        display: block;
    width: 100%;
    text-align: center;
    font-size: 15px;
    margin: 5px 0;
}
#chat_list .col-info .customer_name a{
    font-size: 13px;
}
#chat_list .col-info .customer_name span{
    font-style: italic;
    display: block;
    text-align: center;
    width: 100%;
}
#chat_list .col-info .customer_visited span{
        display: block;
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight:600;
    margin: 25px 0 5px;
}
#chat_list .col-messaging h4,
#chat_list .col-info h4{
background: #333;
    margin-top: 0px;
    padding: 10px;
    color: #fff;
    position: absolute;
    top: 0;
    width: 100%;
}
#message_loaded{
    overflow: hidden;
    transform: translate3d(0,0,0);
    border-right: 1px solid #ababab;
}
.message-answer{
    position: absolute;
    border: 0;
    background: #f2f2f2;
    width: 100%;
    bottom: 0px;
    padding: 11px;
    border-top: 1px solid #ababab;
    border-right: 1px solid #ababab;
    border-bottom: 1px solid #ababab;
    box-shadow: 0 0 11px #3336;
}
.message-answer input{
    font-size: 15px;
    width: 95%;
    padding: 5px;
}
.message-answer button{
    font-size: 17px;
    padding: 5px;
    background: none;
    float: right;
    color: #ddd;
    border: 1px solid #ddd;
    height: 36px;
    width: 36px;
    border-radius: 5px;
}
.message-answer button:hover,
.message-answer.active button{
    color: #ff8944;
    border: 1px solid #333;
}
#chat_list #messages,
#chat_list .col-messaging #message_loaded{
    height: 650px;
}
#chat_list #messages{
        overflow: overlay;
}
#messages .message{
    float:left;
}
#messages .message.msg_sent{
    float:right;
}
#messages .message p{
    background-color: #fdfdfd;
    color: #020202;
    padding: 10px;
    width:auto;
    max-width: 100%;
    border-radius: 8px;
    border-top-left-radius: 0;
    margin: 0;
    margin-bottom: 6px;
        box-shadow: 2px 1px 5px #3333335c;
}
#messages .message .datetime{
    font-size: 11px;
}
#messages .message.msg_sent p{
    background-color: #158BBB;
    color: white;
    padding: 10px;
    max-width: 100%;
    margin-right: 0;
    min-width: 100px;
    border-radius: 8px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 0;
}


.text-right{text-align: right !important;}
.text-center{text-align: center !important;}
.dataTable.valign-middle td,
.dataTable.valign-middle th{vertical-align: middle !important;}
.valign-middle{vertical-align: middle !important;}
.clear{clear:both}
.uppercased {
    text-transform: uppercase;
}
.btn-reminder{margin: 0; padding: 5px 7px ; font-size: 10px;    color: #fff;}
.btn-reminder-view{
    float: none !important;
    display: inline-block;
margin: 10px 0 0 7px;
    padding: 6px 12px;
}
.btn-reminder.deactive{background:#c1c1c1 !important;}
.bb0{border-bottom:0 !important;}
.bt0{border-top:0 !important;}
.bb-dark{border-bottom-color: #ccc !important;}
.w6p{width:6%;}
.w7p{width:7%;}
#presta-item-table.dataTable.display th,
#presta-item-table.dataTable.display td{
    padding:5px;
    vertical-align: middle;
}
#presta-item-table.dataTable.display th{
    vertical-align: top;
    background:transparent;
    border:0 !important;
    border-bottom:1px solid #dbdbdb !important;
}
#presta-item-table.dataTable.display td{
    border:0 !important;
    border-bottom:1px solid #dbdbdb !important;
}
.modal #order-form #presta-item-table{margin-top: 10px;}
.modal #order-form #presta-item-table thead,
.modal #order-form #presta-item-table td[data-type="modify"],
.modal #order-form #presta-item-table .btn-add-product,
.modal #order-form #remark-total-table{display:none !important;}
.option a.delete{
    margin-right: 20px !important;
    float: right !important;
}
table.dataTable.display.multiselection.disabled tbody tr td{
    cursor:disabled;
    opacity:.7;
}
.multiple-select.active,.action-selection{
        margin-bottom: 10px;
}
.print-selection,
.print-selection:hover,
.print-selection:visited,
.print-selection:focus,
.print-selection:active{
    background: #1affa6 !important;
    border-color: #1affa6 !important;
    color: #027146;
}
tr.redClass td{background-color: #f9eded !important;}
tr.greenClass td{background-color: #edf9ee !important;}
.fc-event-container .fc-title .fa-lock,.fc-event-container .fc-title .fa-globe{display:none;}
.selecttva,.selecttva:focus,.selecttva:active{outline:0;text-shadow: 0 0 0 #000;}
.fullwidth{width:100%;}
.payment_ico{
    width: 100%;
    text-align: center;
    color:#1fbd1f;
}
.tooltip[aria-hidden="false"]{
    opacity: 1 !important;
}
.client-dashboard .datatable-tools{display:none !important; height:20px;}
.firstcol{position:relative;}

.container-img-mail{
    overflow: hidden;
    position:relative;
    width: 70px;
    height: 70px;
    cursor:pointer;
    margin:0 1px 1px 0;
}
.container-img-mail:before{
    content:"";
    position:absolute;
    height:100%;
    width:100%;
    border:3px solid transparent;
}
.container-img-mail:hover:before{
    border:3px solid #ff9026;
}
.container-img-mail.selected:before{
    border:3px solid #009e8e;
}
.container-img-mail a{
    position: absolute;
    right: 0;
    opacity: 0;
    background: #ff9026;
    color: #fff;
    padding: 2px 5px;
}
.container-img-mail.selected a{
    background: #009e8e;
}
.container-img-mail:hover  a{
    opacity:1;
}
td.option a, .dtr-details .edit, .dtr-details .delete, .select-member-field a.delete, .send-invitation-form .delete, .calendar-ids-form .delete-post-dropzone, .payments-dropzone, .edit-image-file .delete-saved-file, .external-tickets-embedded-code{
    //margin: 0px 1px !important;
    float:none !important;
}
.rating_client{
    position: absolute;
    width: 180px;
    height: 40px;
    right: -140px;
    top: 10px;
    z-index:2;
}
.rating_smile{
    display: block;
    width: 32px;
    height: 32px;
    background-size: contain!important;
    float: left;
    filter: saturate(20%) brightness(120%);
    cursor:pointer;
    margin-right: 3px;
}
.rating_client .rating_smile{    filter: saturate(0%) brightness(100%) !important;}
body .rating_client .rating_smile:hover,
body .rating_client .rating_smile.active{
    filter: saturate(100%) brightness(100%)!important;
}
.rating_smile.smile1{
    background: url(../images/rating1.png) no-repeat center center;
}
.rating_smile.smile2{
    background: url(../images/rating2.png) no-repeat center center;
}
.rating_smile.smile3{
    background: url(../images/rating3.png) no-repeat center center;
}
.rating_smile.smile4{
    background: url(../images/rating4.png) no-repeat center center;
}
.rating_smile.smile5{
    background: url(../images/rating5.png) no-repeat center center;
}

body table.dataTable tbody td.search-top-notes{max-width: 100px !important;overflow:hidden;}
body table.dataTable tbody th, body table.dataTable tbody td {
    padding: 4px 2px !important;
}
body table.dataTable tbody td {
   font-size: 12px;
}
#estimate-item-table.dataTable tbody td {
    padding: inherit !important;
}
@media (max-width: 1750px){
    td.option{
        padding-left:0 !important;
        padding-right:0 !important;
    }
    td.option a.delete{
        margin-left: 2px !important;
    }
    td.option a{
        margin: 0 2px !important;
        float: none !important;
    }
    td.option a:first-child{
    }
}
.search-top-vat-number i.fa-check{
    color:green;
}
.search-top-vat-number i.fa-times{
    color:red;
}
.proof_order_tr a{
    padding: 2px 3px;
    font-size: 12px;
    margin-right: 5px;
    width: 27px;
    box-sizing: border-box;
    border: 2px solid #f34c4c !important;
    color: #f34c4c;
    position:relative;
}
.proof_order_tr .count_invoice_listing{
        position: absolute;
    left: 4px;
    top: 2px;
    background: #f00;
    color: #fff;
    font-weight: bold;
    width: 15px;
    border-radius: 25px;
}
.proof_order_tr .positive:not(.toconfirm){
    border: 2px solid #32dc32 !important;
    color: #32cd32;
}

.btn-renta-closed{
    cursor: pointer;
    min-width: 28px;
    background: #fff;
    color: #a1a3a5;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    vertical-align: central;
    text-align: center;
    margin: 0 5px;
    padding: 4px 0px;
    border: 1px solid #e2e7f1;
    padding: 2px;
    font-size: 16px;
    height: 28px;
    width: 28px;
}
.proof_order_tr .positive.toconfirm,
.proof_order_tr .negative.toconfirm{
    border: 2px solid #ff8c00 !important;
    color: #ff8c00;
}
.proof_order_tr .negative{
    border: 2px solid #f34c4c !important;
    color: #f34c4c;
}
.proof_order_tr .valid_mandat.negative{
    border: 2px solid #cdcdcd !important;
    color: #cdcdcd;
}
.proof_order_tr .valid_mandat.positive{
    border: 2px solid #32dc32 !important;
    color: #32cd32;
}
.proof_order_tr .valid_mandat.positive.toconfirm{
    border: 2px solid #f34c4c  !important;
    color: #f34c4c;
}
tr td.proof_order_tr a.disabled,
tr td.proof_order_tr a.disabled.toconfirm,
tr td.proof_order_tr a.disabled.negative,
tr td.proof_order_tr a.disabled.positive{
    border: 2px solid #cdcdcd  !important;
    color: #cdcdcd !important;
}
.ps__thumb-y {
    width: 12px;
    min-height: 20px;
}
.ps__rail-y:hover > .ps__thumb-y{
    width: 12px;
}
@media (max-width: 768px){
    #estimate-status-bar .btn-fiche-client {
        bottom: -4px !important;
    }
    .panel-agenda,
    .panel-offer{
        padding-left:0;
        padding-right:0;
    }
    .panel-offer .col-md-12,
    .panel-note .col-md-12{
        padding-left:0;
        padding-right:0;
    }
    .panel-note label{
        display: block;
        width: 100% !important;
    }
    #remark-total-table, #estimate-total-table {
        width: 100% !important;
    }
    #estimate-total-table .btn {
        margin-left: 5px;
        margin-right: 0;
    }
    .customer_info{
        margin-bottom: 40px;
    }
    .rating_client{
        position: relative;
        left: 0;
        top: inherit;
        margin: 5px 0 10px;
        right: inherit;
        height: auto;
        display: block;
        float: left;
    }
    .modal-open {
        overflow-x: hidden !important;
    }
    .modal-open .modal {
        overflow: auto;
        left: 0px !important;
        padding-right: 0px !important;
    }
    .modal-open .modal .modal-body .col-xs-12{
        padding:0;
    }
    .event_index .page-title .custom-toolbar  .btn {
        width: 46%;
        float:left;
    }
    .event_index .fc-toolbar > .fc-toolbar-chunk{
        float:left;
    }
    .event_index .fc-toolbar > .fc-toolbar-chunk{
        float:left;
        margin-right: 0px !important;
    }
    .event_index #event-calendar > .fc-header-toolbar .fc-toolbar-chunk:nth-child(3){
        display:none;
    }
    body.mobile .scrollable-page{
        min-height:980px;
        overflow-y:auto;
        display:block;
    }
    .modal .note-editable.panel-body table td table td{
        padding: 0 5px !important;
    }
}
.disabled{
    cursor: no-drop !important;
        box-shadow: none !important;
    opacity: .65 !important;
}
tr.disabled{
    opacity: .45 !important;
}
.order_info h3 {
    margin-bottom: 5px;
}
.order_info p {
    display: inline-block;
    margin:0;
}
.margin_order{
    background:#5cb85c;
    color:#fff;
        font-size: 14px;
    padding:2px 10px;
    font-weight:bold;
    border-radius:4px;
}
.group-margin{
    position: absolute;
    right: 55px;
    top: 34%;
}
.group-margin p {
    font-size: 18px;
    font-weight: 400;
}
.order_info.order_date .edit-view{
    border: 2px dashed #fff;
    border-radius: 10px;
    padding: 8px 15px 4px;
    position:relative;
}
.order_info.order_date .edit-view.error{
    background: #fdaaaa;
    color: #333;
    width: 100%;
    padding-top: 2px;
}
.order_info.order_date .edit-view.error h3,
.order_info.order_date .edit-view.error i{
    color: #333 !important;
}
.order_info.order_date .edit-view .date_validator{
    position: absolute;
    right: 26%;
    top: 32px;
    font-size: 17px;
    color: #5cb85c;
}
#articles-pages .order_box_alert{
    width: 100%;
    margin: 0 0 20px 0;
    border-radius: 4px;
    padding: 10px;
}
#articles-pages .order_box_alert h3{
    color: #2a0a0a;
    font-weight: 600;
    margin: 0 0 15px ;
    font-size: 16px;
}
#articles-pages .order_box_alert p{
    margin: 0 0 5px ;
    color: #333;
}
.btn-link{
background: #f3adb0;
    color: #333;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid #ff4a51 !important;
}
.btn-link.linked{
    background:#adf3b2;
    border: 1px solid #53f53f !important;
}
.display_taric_weight.active{
    background: #333 !important;
    color: #fff !important;
}
.display_taric_weight{
    background: #fff !important;
    box-shadow: none;
    color: #333 !important;
    border: 1px solid #e2e4e7 !important;
    height: 34px;
}
.display_taric_weight .checkbox-blank{
    margin-top: 0px;
}
.cart_order_tab{ border-bottom: 1px solid #333; margin-bottom: 20px ;padding-bottom: 5px; }
.cart_order_tab .tab{
    border-bottom: 0;
    padding: 10px 20px 5px;
    margin-left: 20px;
}
.cart_order_tab .tab.active{
    background: #333;
    color: #fff;
}
.cart_order_tab .tab[data-tab="cart_list"]{
    margin-left: 50px ;
}
.tab_list{display:none;}
.tab_list.active{display:block;}
.tab_list{
   margin-top:15px;
}
.cart_box{
   border-bottom:1px solid #d5d5d5;
    float: left;
    width: 100%;
    display: block;
    padding:2px 0;
    cursor:pointer;
}
.cart_box span{
   float:left;
   padding-left:20px;
   padding-right:20px;
}
.cart_box.highlight{
    border: 1px solid #333;
    display:inline;
    padding: 0;
    margin-top: 2px;
}
.cart_box.highlight > span{
    padding-top:5px;
    padding-bottom:5px;
    background: #333;
    color: #fff;
    height: 33px;

}
.cart_box.highlight th{display:none}
.cart_box .cart_id{width: 10%;}
.cart_box .cart_date{width: 40%;}
.cart_box .cart_total{width: 25%;}
.cart_box .order_button,
.cart_box .cart_button{width: 25%;text-align: right;}

.cart_box .order_button a,
.cart_box .cart_button a{padding: 0 15px !important;}
.cart_box .cart_id,
.cart_box .cart_date,
.cart_box .cart_total{
    text-align:center;
}
td .valid_order_price.valid{
    background: #32cd32;
    color: #fff;
    padding: 2px 5px;
    border-radius: 6px;
}
td .valid_order_price{
    color: #333;
    padding: 2px 5px;
    border-radius: 6px;
}
.order_info.order_date .edit-view .date_validator.date_remove{
    color: #ff0000;
    right: 13%;
}
.order_info.order_date .edit-view:hover:not(.date_add){
    border: 2px dashed #ddd;
    cursor:pointer;
}
.order_info.order_date .edit-view.open,
.order_info.order_date .edit-view.open:hover{
    border: 2px dashed #ddd;
}
.order_info.order_date .edit-view.open i{
    display:none;
}
.order_info.order_date .edit-view h3{
    margin: 5px 0;
}
#articles-pages .panel.panel-default{min-height:240px;}
#articles-pages .panel.panel-default.panel-offer  {min-height:334px;}
#articles-pages .panel.panel-default.panel-note .noteoffer,
#articles-pages .panel.panel-default.panel-note .tracking{
    float:left;
    width: 100%;
}
.select_lang{
    margin-right:5px;
    padding:5px;
    cursor:pointer;
    border: 1px solid transparent;
}
.select_lang.active{
    border: 1px solid #128d12;
    background: #bcffbc;
}
.select_lang:not(.active):hover{
border: 1px solid #bdbdbd;
    background: #e9e9e9;
}
.modal .box_taric_weight,
.modal .add_product_td {
    display:none;
}
.modal .box-entry{
    padding:25px 0 15px;
    position:relative;
    margin-top:25px;
    border: 1px solid #333;
}
.modal .box-entry h3{
    padding:5px 10px;
    background: #333;
    color: #fff;
    width: auto;
    position: absolute;
    margin-top: -52px;
    margin-left: 15px;
}
.modal .box-entry.entry-stock h3{
    background: #5cb85c;
}
.modal .box-entry.remove-stock h3{
    background: #d9534f;
}
.mobile #event-calendar .fc-header-toolbar.fc-toolbar .fc-prev-button,
.mobile #event-calendar .fc-header-toolbar.fc-toolbar .fc-next-button{width:15%;    min-height: 40px;}
.mobile #event-calendar .fc-header-toolbar.fc-toolbar h2.fc-toolbar-title{width:70%;    min-height: 40px;padding-top:8px;}
.mobile #articles-pages .statutFinanceEdit {
    float: left;
    width: 100%;
    margin: -20px 0 5px 5px;
    padding: 0;
    height: 40px;
}
.mobile #articles-pages .statutEdit {
    float: left;
    width: 100%;
    margin: 0px 0 0 5px;
    padding: 0;
    height: 40px;
}
.mobile #articles-pages .statutFinanceEdit .select-status-doc,
.mobile #articles-pages .statutEdit .select-status-doc{
    width:100%;
}
td.fc-timegrid-slot:hover {
    background: #adadad1a;
    cursor:pointer;
}
.payment_ico.red{
    color:red;
}
.item-title {
    font-size: 20px;
    margin: 0;
    padding: 7px 16px;
    float: left;
    text-transform: uppercase;
    color: #333;
}
.checkbox-blank,
.checkbox-statut,
.checkbox-label{cursor:pointer;}
.doctoprint{
    float: left;
    width: 100%;
    margin: 5px 0;
}
.col-file-mail .form-group a{
    max-width: 250px;
}
.regenerate-kbo{
    display: inline-block;
    padding: 10px;
    margin-left: 5px;
    cursor: pointer;
}
.comment-image-box{
	float:left;
    max-width:750px;
    width:auto;
	padding:0 20px;
}
.comment-image-box .timeline-images{
	margin:10px 0;
}
.ticket-message{
	float:left;
	margin: 10px 0 0;
	width:100%;
}




/* ITEMS */
#mouse-hours{
	position:absolute;
	background:#333;
	padding:5px 10px;
	color:#fff;
	z-index:999;
	display:none;
}
#listing_menu {
    margin-top: 27px;
}
#listing_menu ul{
        list-style-type: none;
    padding:0;
    margin:0;
}
#listing_menu li{
    position:relative;
        list-style-type: none;
    padding:0;
    margin:0;
}

#listing_menu li a{
    color: #333;
    padding: 7px 7px;
    width: 100%;
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid #d8d8d8;
}
#listing_menu li a.selected{
    background: #f15c22;
    color: #fff;
    border-bottom: 1px solid #f15c22;
}
#listing_menu li a + a.btedit{
    display:none !important;
}
#listing_menu li a.selected + a.btedit{
    display:block !important;
}
#listing_menu li a.btedit{
        background:#f15c22;
        color: #fff;
    position: absolute;
    right: 10px;
    outline: 0;
    border: 1px solid #fff;
    border-radius: 100px;
    height: 23px;
    width: 23px;
    font-size: 15px;
    padding: 0px 0 0 4px;
    top: 8px;
    background: transparent;
}
#listing_menu li a.btedit:hover{
    background:#fff;
    color:#f15c22;
}

/* END ITEMS */
/*.modal #event-calendar .fc-day-grid{cursor:none;}*/
body.preview-document{ overflow: hidden;}
body.preview-document #ajaxModal{ overflow-y: auto;}
.modal .close[data-dismiss="modal"],
.modal .close[data-dismiss="modal"]:focus{
    font-size: 35px;
    color: #333;
    opacity: 1;
    padding: 8px 20px;
    margin-top: -10px;
    outline: 0;
}
.preview-document .modal .close{margin-top: 0px;}
.preview-document .modal .select-row,
.preview-document .modal .removeline{display:none !important;}
#modal-calendar .title-button-group.custom-toolbar > a,
#modal-calendar h4{display:none;}
#item-table.modal .dt-buttons{
	display:none;
}
.save_document_btn{
    margin: 10px 16px 0 0;
}
.modal .save_document_btn{
    display:none;
}
.modal #items-table th.th_top{
	padding: 15px 10px;
    border: 1px solid #b9b9b9 !important;
    border-right: 1px solid #b9b9b9 !important;
    background: #d8d8d8;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    border-left: 1px solid #b9b9b9 !important;
}
.modal #items-table th.th_input{padding:0;height:25px;border-bottom:1px solid #b1b1b1;}
.modal #items-table th.th_input input{width: 100%;height: 100%;border-radius: 0;border: 1px solid #d2d2d2;padding: 0 9px;text-transform:uppercase;font-weight:400;}
.modal #items-table tbody tr td{border:none; border-bottom: 1px solid #f2f2f2;    padding: 3px 9px;}
.modal #items-table tbody tr td:first-child{border-left: 1px solid #b1b1b1 !important;}
.modal #items-table tbody tr td:last-child{border-right: 1px solid #b1b1b1 !important;}
.modal #items-table tbody tr:last-child td{border-bottom: 1px solid #b1b1b1 !important;}
.modal #items-table tbody tr:hover td{
	cursor:pointer;
	background: #d7e7ef !important;
}
.modal #items-table tbody tr.preselect td{background:#f3f3f3}
.modal #items-table tbody tr.selected td{background:#d7e7ef;}

.triggerEdit{cursor:pointer;}
.indocument .dataTable th{display:none !important;}
.indocument .dataTable tr:first-child td{border: 1px solid #f2f2f2 !important;}

.indocument ul.nav-tabs li{display:none;}
.indocument ul.nav-tabs li:first-child{display:block;}
.indocument .table-responsive{min-height: 400px;}
.indocument .dataTable tr.active:hover td{background:#383838 !important;}
.indocument .dataTable tr.active td{border-top: 1px solid #383838 !important;}
.indocument .dataTable tr.active td:first-child{border-left: 1px solid #383838 !important;}
.indocument .dataTable tr.active td:last-child{border-right: 1px solid #383838 !important;}
.indocument .dataTable tr.active td > a{color:#333 !important;background:#fff !important;}
.indocument .dataTable tr.active,#ticket-table .display_tr{border: 1px solid #383838 !important;}
.indocument .dataTable .display_tr:hover td{background: transparent;}
#ticket-table .display_tr td{border-bottom: 1px solid #383838 !important;}
#page-content.indocument .dataTables_wrapper{	padding:45px 15px 20px !important;}
#page-content.indocument > .nav-tabs li,
#page-content.indocument .dataTables_wrapper .datatable-tools{	display:none !important;}
#page-content.indocument > .nav-tabs li:first-child{	display:block !important;}
.modal-header {
    cursor:grab;
}
.fc-timegrid-event .fc-event-time {
    color: #000000b0;
    font-weight: 600;
    font-size: .95em !important;
}
.fc-v-event .fc-event-title{
    color: #000000b0;
    font-weight: 400;
    font-size: 1.05em !important;
    letter-spacing: -.3px;
    line-height: 1.2em;
    padding-right: 5px;
}
.pa_hide{color:#0000002e !important;}
.triggerRealPrice,
table.dataTable.display tbody td.statutEdit,
table.dataTable.display tbody td.statutFinanceEdit{cursor:pointer;}
.triggerRealPrice.realprice-display{padding:2px 0 !important;}
.triggerRealPrice input{width: 100%; max-width: 120px;text-align:center;}
table.dataTable.display tbody td.statutEdit.open{padding:0;}
table.dataTable.display tbody td.statutEdit:hover{    background-color: #e0e0e0 !important;}
.page-title .statutEdit:not(.open) .select-status-doc:after,
.page-title .statutFinanceEdit:not(.open) .select-status-doc:after{
    content: "\f040";
    font: normal normal normal 14px/1 FontAwesome;
    display:inline;
    font-size:12px;
    margin-left:10px;
    opacity:0.8;
}
.page-title .statutEdit.open .select-status-doc > a > .select2-chosen,
.page-title .statutFinanceEdit.open .select-status-doc > a > .select2-chosen{
    min-width:150px;
}
.select-status{border: 1px solid #e2e4e7;}
body .select2-results{max-height: 350px;}
.dataTables_wrapper .select-status-doc{ white-space: inherit; width: 150px; margin: 0 10px; display: block;}
.dataTables_wrapper .select-status-payment{  margin: 0 10px; display: block;font-size:12px;}
.dataTables_wrapper .select-status-doc,
.dataTables_wrapper .select-status-payment{font-size:12px;    font-weight: 600 !important;}
.dataTables_wrapper .statutEdit.open .select-status-doc{width:100%;max-width:180px;min-width: 130px;}
.page-title .statutEdit,.page-title .statutFinanceEdit{float:right;margin-top: -3px;    margin-left: 25px;}
.page-title .statutEdit .select-status-doc{/*width:200px;*/}
.page-title .statutEdit p,
.page-title .statutEdit span,
.page-title .statutFinanceEdit p,
.page-title .statutFinanceEdit span{display:inline-block;    }
.page-title .statutEdit p,
.page-title .statutFinanceEdit p{    margin: 5px 10px 0 0;font-weight: 800;color: #a0a0a0;}
.page-title .select-status-doc:not(.select2-container){cursor:pointer;font-size: 13px;padding: 7px 10px;float: right;font-weight: 600;}
.page-title .statutFinanceEdit span{cursor:pointer;font-size: 13px;padding: 5px 8px;min-width: 180px;}
.page-title .statutFinanceEdit .select2-choice abbr{background:none;}
.page-title .statutFinanceEdit .select2-arrow{display:none;}
.mt25{margin-top:25px;}
body .page-title h1 {
    font-size: 20px;
    float: left;
    width:100%;
    max-width: 290px;
}
body #articles-pages .page-title h1 {
    font-size: 20px;
    float: left;
    width: 100%;
    max-width: 410px;
    padding-left: 0;
    padding-bottom: 10px;
}
body #articles-pages .page-title .referenceestimate{
    float:left;
    margin-top:-10px;
    padding-bottom: 5px;
}
.page-title h2 {
    width:100%;
    font-size: 15px;
    margin: 0;
    padding: 0 0 15px;
    float: left;
}
.select2-results li {border-bottom: 1px solid #e2e4e7;}
.select2-results li:last-child {border-bottom:none;}
body #estimate-status-bar .panel,
body #invoice-status-bar .panel,
body #estimate-request-status-bar {
    border-radius: 4px !important;
}
body .btn-default:hover {color: #fff;}
#modal-calendar .panel-default{border: none;padding:0;box-shadow: none;}
#modal-calendar .panel-default .page-title{border: none;padding:0;}
.modal .container-modal-link a{
    display: block;
    width: 320px;
    text-align: center;
    margin: 0 auto;
    height: 35px;
    margin-top: 15px;
}
.modal .container-modal-link a i{
    position: absolute;
    left: 50%;
    margin-top: -22px;
    margin-left: -10px;
    font-size: 22px;
}
.modal .container-modal-link a.display-info-customer{
    margin-top: 0px;
}
.modal .container-modal-link a.display-info-customer i{
	margin-top: 21px;
}
.attribute_array,
.product_array{
    max-height: 500px;
    overflow: auto;
    float: left;
    width: 100%;
    background: #efefef;
}
.attribute_array .attribute_line,
.product_array .product_line{
    border-bottom: 1px solid #d3d3d3;
    padding: 5px;
    cursor:pointer;
    width: 100%;
    float: left;
}
.attribute_array .attribute_line:hover,
.product_array .product_line:hover{
    background: #bfd8e1;
}
.attribute_array .attribute_line img,
.product_array .product_line img{
    float:left;
    width:15%;
}
.attribute_array .attribute_line .product-name,
.product_array .product_line .product-name{
    float:left;
    width:65%;
    margin: 0 0 0 8px;
    font-weight: bold;
}
.attribute_array .attribute_line .product-ref,
.product_array .product_line .product-ref{
    float:left;
    width:65%;
    margin: 0 0 0 8px;
}
.attribute_array .attribute_line .product-price,
.product_array .product_line .product-price{
    float: right;
    width: 20%;
    font-weight: 800;
    font-size: 14px;
    height: 0px;
}
.attribute_selector {
    width: 100%;
    height: 100%;
    background: #e1e1e1;
    float: left;
}
.attribute_selector .filter{
    width: 50%;
    float: left;
    padding: 8px;
}
.attribute_selector .filter select{
    width: 90%;
}
.attribute_array .remove_filter{
    font-size: 14px;
    text-align: center;
    padding: 5px;
    background: #dbc0c0;
    color: #000;
    cursor:pointer;
}

@media (min-width: 768px){
	.panel-customer{width:57%}
     .panel-note{
        padding:0 0px 9px;
        margin-top: -10px;
        width: 79%;
        height: auto;
        min-height: inherit !important;
    }
    .panel-note.mandat_in{
        margin-top: -10px;
    }
    .panel-info-cust{width:48%;position:relative;}
    .panel-agenda{margin-left:1% !important;width:30%}
	.panel-offer{margin-left:1% !important;width:20%}
	.panel-customer,
	.panel-agenda,
	.panel-offer{padding: 10px 0;}
	.panel-customer,
	.panel-offer{min-height:177px;}
	.box_info{min-height:83px;float: left;width: 50%;}
	.box_info.delivery{margin-top: -18px;}
	.select-event{
		width:380px;
    display: block;
    position: absolute;
    left: 35px;
    top: 80px;
    border: 1px solid #e2e7f1;
  }
  #client-events .select-event{display:none;}
	#modal-calendar .select-event{
		left: 30px;
    top: 0px;
    width: 230px;
   }
	#modal-calendar #event-calendar{ margin-top: -15px;	}
}
@media (max-width: 768px){
	.panel-offer{margin-left:0% !important;}
	#document-tabs li{float:none !important;margin-right:0% !important;}
	#document-tabs li a{padding: 7px 10px !important;}
	body #page-content {padding: 0 !important;}
}
.navbar-header{background: #0e0e0e;}
.navbar-header button{color: #fff;}
.navbar-header .navbar-toggle:hover,.navbar-header  .navbar-toggle:focus {background-color: #3a3a3a !important;}
#navbar .dropdown-menu{background: transparent;border-top:1px solid #fff;}
#navbar .dropdown-menu a{color: #fff;}

.color_bullet{
    background: #e74c3c;
    width: 7px;
    height: 7px;
    display: block;
    border-radius: 100%;
    float: left;
    margin: 5px 4px 0px -3px;
}

.menu-items{
    margin-right: 5px;
}
a.countin[role="presentation"]{
	padding-right: 30px;
}
.tips_number{
    position: absolute;
    z-index: 2;
    margin: -7px 0px 0 2px;
    background: #e64919;
    padding: 0 2px;
    width: 18px;
    height: 18px;
    border-radius: 100px;
    color: #fff;
    text-align: center;
}
#document-tabs.nav-tabs {
    background: transparent;
    border-bottom: transparent;
    margin-bottom: 0;
    overflow: hidden;
}
#document-tabs li{
    margin-right:7px;
}
#document-tabs li.red_class a,
#document-tabs li a.red_class{
    background: #ff0707 !important;
    color: #fff;
    font-weight: 800;
}
#document-tabs li a{
	  border: 1px solid #fff;
	  border-bottom: 3px solid #eaeaea;
    box-shadow: inset 0px -14px 30px -20px rgba(0,0,0,0.2), 0 0 5px rgba(0,0,0,0.2);
    background: #fbfbfb;
}
body.preview-document #document-tabs {border-bottom: 1px solid #d8d8d8;}
body.preview-document #document-tabs li a{box-shadow: inset 0px -14px 30px -20px rgb(0 0 0 / 20%), 0 0 5px rgb(0 0 0 / 0%);}
body.preview-document .title-button-group a,
body.preview-document .delete_order,
body.preview-document .link_invoice_to_order{display:none !important;}

#document-tabs li.active a{
    box-shadow: inset 0px -14px 30px -20px rgba(0,0,0,0), 0 0 5px rgba(0,0,0,0.2);
    border-bottom:3px solid #e64919;
    background: #fff;
}
.tableform-container .title-button-group ul,
.tableform-container .title-button-group li{
    list-style-type: none;
    float: right;
}
.tableform-container .title-button-group li a{
    margin-right: 10px;
    margin-bottom: 5px;
    margin-top: 10px;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active{
	background-color:#333 !important;
	border-color:#333 !important;
	color:#fff !important;
}
body table.dataTable tbody th,
body  table.dataTable tbody td {
    padding: 4px 10px;
}
body table.dataTable tbody tr.even td {
    background-color: #fcfcfc;
}
body .tableform-container table.dataTable thead th,
body .tableform-container .table-responsive th:first-child,
body .tableform-container .table-responsive th:last-child,
#estimate-item-table thead th,
#estimate-item-table th:first-child,
#estimate-item-table th:last-child {
    border: 1px solid #f2f2f2;
    padding: 15px 10px;
    border: 1px solid #b9b9b9 !important;
    border-right: 1px solid #b9b9b9 !important;
    background: #d8d8d8;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    border-left: 1px solid #b9b9b9 !important;
}
body #estimate-item-table .copyline{
		width:15px !important;
		padding:0 !important;
}
#estimate-item-table .copyline a.select-row{
    width: 15px;
    height: 19px;
    background: #f7f7f7;
    box-shadow: inset 0px 0px 5px #c5c5c5;
    display: block;
    float: left;
}
#estimate-item-table .copyline a i{
    color: #c1c1c1;
    font-size: 10px;
    padding: 3px 0 0 3px;
}
#estimate-item-table .copyline a:hover i{
    color: #828282;
}
#estimate-item-table .copyline a.select-row:hover{
    background: #eaeaea;
    box-shadow: inset 0px 0px 5px #b1b1b1;
}
.tableform-container{
	padding:0 20px;
}
.tableform-container .hovertr{
	    background: #f1f1f1;
}
@media (min-width: 768px){
	body .noteremarkoffer{float: left; min-height: 200px; /* max-width: 500px; */ width: 50%;}
}
.fc-media-screen .fc-timegrid-event-harness {
    max-width: 50%;
}
.DTTT_container .select2-container.active{
        border: 1px solid #3dc720;
}
body .noteoffer,
body .remarkoffer{float:left;width: 100%;}
body .edit-document{
    margin: 10px 2%;
    padding: 0;
    background: transparent;
    display: inline-block;
    width: 96%;
}
.btn.disabled{
  cursor:no-drop !important;
  pointer-events: inherit !important;
}
body .edit-document span{font-weight: bold}
body .edit-document a{
    background: #f16827;
    border-color: #ad4616;
    margin-top: 5px;
    }
body .remarkoffer label{
	float:left;
	width:100%;
	margin-top: 12px;
}
.remarkoffer textarea{
    width: 100%;
    margin: 0;
    height: 60px;
    float: left;
    padding: 5px;
    margin-top: 0px !important;
}
body .noteoffer label,
body .tracking label,
body .mandat_note label{
float: left;
    width: 20%;
    margin: 17px 0 0 0;
}
body .noteoffer input.form-control.notetop,
body .tracking input.form-control,
body .mandat_note input.form-control{
    float: left;
    width: 60%;
    max-width: 528px !important;
    margin: 10px 0 0 6px;
}
body .tracking .send-mail-tracking{
        margin: 10px 0 0 5px;
    border-radius: 4px;
    border-color: #ccc !important;
}


#estimate-total-table,
#remark-total-table,
body .noteoffer textarea,
body .remarkoffer textarea{
	  border: 1px solid #b9b9b9 !important;
	  outline:0;
	  margin-top:20px;
}

#estimate-status-bar .panel-offer label,
#estimate-status-bar h3{
text-transform: uppercase;
    font-size: 13px;
    font-weight: 400;
    color: #a7a7a7;
}
body:not(.preview-document) #estimate-status-bar .panel-offer label{margin-top:10px;}
body #estimate-status-bar .order_date label{display:block;}
body.preview-document #estimate-status-bar .panel-offer label{margin-top:2px;}
#estimate-status-bar .btn-fiche-client{
}
#estimate-status-bar .btn-add-address{
    position: absolute;
    top: 7px;
    z-index: 9;
    right: 10px;
}
#estimate-status-bar .btn-fiche-client.btn-delivery{
}
.btn-log{
        padding: 2px 5px;
    margin-left: 20px;
}
.note-editable span.label {
    display: inline;
    padding: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    text-align: inherit;
    white-space: inherit;
    vertical-align: inherit;
    border-radius: inherit;
}
#remark-total-table,
#estimate-total-table{
    width:45%;
    float:right;
    margin-top:35px;
    margin-bottom:55px;
        clear: none;
}
#estimate-total-table .btn { padding: 2px 10px ; margin-left: 45px ; margin-right: -45px ; }
#remark-total-table{
    float:left;
}
#estimate-total-table td{
	border: 0;
	    font-size: 13px;
	border-bottom: 1px solid #f2f2f2;
}
#estimate-total-table tr:last-child td{	border-bottom: 1px solid #b9b9b9;}
#estimate-total-table .discounttotal {
	width:210px;
}
#estimate-total-table .grandtotaltxt.small td{
    font-size:17px;
}
#estimate-total-table .totaltopaytxt td{
    font-size:15px;
}
#estimate-total-table .grandtotaltxt td{
background: #d8d8d8 !important;
    color: #333;
}

#estimate-item-table{margin-top:10px;}
#estimate-item-table th{padding: 10px 10px;}
#estimate-item-table .line-total {
    text-align: right;
    padding: 0 10px 0 0;
}
#estimate-item-table .line-total .currency{
    margin-left: 5px;
    margin-right: 10px;
}

table.dataTable.display tbody tr.selectedtr td,
table.dataTable.display tbody tr.selectedtr:hover td {
    background-color: #6cffc6 !important;
    font-weight: 600;
    padding-top: 4px;
    padding-bottom: 5px;
}
#estimate-item-table .hovertr.selectedtr td{background:#94ffdc !important; }
.hovertr.selectedtr td,
.hovertr.selectedtr:hover td{background:#94ffdc !important; cursor:pointer;}
.hovertr td:last-child,
.tableform-container .hovertr td:last-child{
	  border-right: 1px solid #b9b9b9 !important;
}
.hovertr:last-child td,
.tableform-container .hovertr:last-child td{
	  border-bottom: 1px solid #b9b9b9 !important;
}
.hovertr td:first-child,
.tableform-container .hovertr td:first-child,
#estimate-item-table .hovertr td[style*="none"] + td,
.tableform-container .hovertr td[style*="none"] + td{
	  border-left: 1px solid #b9b9b9 !important;
}
.hovertr.focus-within td,
.tableform-container .hovertr.focus-within td{
	    background: #f1f1f1;
}
.tableform-container .hovertr td:last-child{
	position:relative;
}
.tableform-container .hovertr td:last-child input{
	padding-right:30px;
}
#estimate-item-table .hovertr td:last-child{
    position: relative;
}
#estimate-item-table .hovertr td:last-child .removeline,
.tableform-container .hovertr td:last-child .removeline {
    position: absolute;
    right: 5px;
    top: 0px;
    opacity: 0;
}
.dataTable tbody tr:hover td {
    background: #d2e0ef  !important;
}
#estimate-item-table .hovertr:hover > td:last-child .removeline,
.tableform-container .hovertr:hover > td:last-child .removeline {
    opacity: 1;
}
.inputtable{
    width: 100%;
    font-size: 12px;
    padding: 0px 4px;
    min-width: inherit;
    background: transparent;
    border: 1px solid transparent !important;
    text-transform: uppercase;
}
.numeroDoc{
    position:relative;
}
.ofd_in_cod{
    font-size: 10px;
    font-style: italic;
    color: #969696;
    position: absolute;
    left: 15px;
    bottom: 0px;
}
.remarque-line .inputtable{
font-size: 11px;
    letter-spacing: -.3px;
    padding-left: 0;
    padding-right: 0;
    text-transform: lowercase;
}
.inputtable:focus {
    color: #000;
    outline: none;
    border: 1px solid transparent !important;
    background: #d2d2d2;
}
.tabletdinput{
	padding:0 !important;
}
.tabletdinput .remove-line{
    position: absolute;
    right: 2px;
    margin-top: 33px;
    z-index: 9;
}
.tabletdinput.modify-input input{
    text-align: center;
    max-width: 100px;
    display: inline-block;
}

.w30{
	width:30px;
	min-width:inherit;
}

.phonecontact{	width:48%;}
.phonecontactleft{	float:left;}
.phonecontactright{	float:right;}

#navbar{background:#0e0e0e;}
#navbar ul li i{color:#fff !important;}
#navbar li.b-l { border-left: 1px solid #333;}
#sidebar {background: #292929 !important;}
#sidebar a{color: #d8d5d1 !important;}
#sidebar a i{color: #d8d5d1 !important;}
#user-dropdown-icon{color: #fff !important;}
.dropdown-menu-user{background: #0e0e0e !important;}
.dropdown-menu-user a:hover{background: #505050 !important;}
.quick-add-option ul li{background: #fff !important;}
.quick-add-option ul li a{color: #4e5e6a  !important;}
.quick-add-option ul li a:hover{background: #505050 !important;color: #fff  !important;}
#sidebar-menu {    margin-top: 10px;}
#sidebar-menu li a:hover i:before {color: #e68119 !important;}
#sidebar-menu > li.active > a > i:before {color: #ff6124e3 !important;}
#sidebar-menu li > a > i:before {color: #777571 !important;}
#sidebar-menu > li.active > a {border-color: #e64919!important;}
#sidebar-menu li:hover {background-color: #504643 !important;}
#sidebar-menu > li.active > a, #sidebar-menu li a:hover {background: #504643 !important;}
#sidebar-menu > li.expand > ul > li:first-child{display:none !important;}
#sidebar-menu > li.leaves{display:none !important;}
#sidebar-menu > li.leaves.user_1,
#sidebar-menu > li.leaves.user_2{display:block !important;}
#sidebar-menu .dashboard.user_3{display:none;}
#sidebar.user_3 #sidebar-menu{margin-top:20px;}
.navbar-nav>.open>a, .navbar-nav>.open>a:hover, .navbar-nav>.open>a:focus {background-color: #505050 !important;}

.col-file-mail{padding:0 !important;}
.col-file-mail h4{
    font-size: 12px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
}
.frns-table .title-button-frns{
    margin: 3px 0 -5px 15px;
    float: left;
}
.frns-table .title-button-frns a{
    margin-right: 15px;
    float: left;
    font-size:11px;
    text-transform:uppercase;
}
.modal .frns-table{padding: 20px 0 0;}
.modal .frns-table .table-responsive{margin-top: 0;padding-bottom: 1px;}
.modal .td-checkbox.frns{background: #d8d8d8 !important;}
.modal .td-checkbox.frns a {
    height: 19px;
}
.modal .td-checkbox.frns a .checkbox-blank{
	opacity:0;
	margin: 1px 7px;
	    width: 24px;
	background-position: 0 0px;
}
.td-checkbox.frns a .checkbox-blank.checkbox-checked{
	opacity:1;
}
.td-checkbox.frns.disabled{
opacity:0;
}
.frns_array,
.customer_array,
.order_array{
    position: absolute;
    z-index: 99;
    background: #fff;
    width: 100%;
    max-width: 583px;
    border-radius: 1px;
    box-shadow: 0 0 5px #afafaf;
}
.frns_array{
    box-shadow: 0 0 25px #afafaf;
}
.frns_array .frns_line,
.customer_array .customer_line,
.order_array .order_line{
	padding:1px 5px;
	border-bottom:1px solid #f2f2f2;
	cursor: pointer;
}
.frns_array .frns_line{
	padding:5px 5px;
	border-bottom:1px solid #f2f2f2;
}
.customer_array .customer_line:hover,
.order_array .order_line:hover{
	background:#d7e7ef;
}
.frns_array .frns_line:hover,
.frns_array .frns_line.selected{
	background:#333;
	color:#fff;
}
.quick_add_customer{
    font-size: 12px;
    float: left;
    margin: 5px;
}
#quickadd_window{
    background-color: #f0f0f0;
    border: 1px solid #b9b9b9;
    border-radius: 3px;
    padding: 10px;
    padding-left: 25px;
}
body input[type=checkbox],
body input[type=radio]{
    width: 13px !important;
}
.radio_lang label{
    margin: 10px 0 0 -5px;
}
#quickadd_window .error-msg{
    position: absolute;
    top: 32px;
    left: 16px;
    color: red;
    font-style: italic;
}
.confirm-order-frns,
.confirm-margin-order{
    position: absolute;
    background: transparent;
    width: 100%;
    height: 100%;
    z-index: 9;
    text-align: center;
    padding: 70px;
}
#quickadd_window textarea,
#quickadd_window input{
    border-color: #dae2e7;
    background-color: #ffffff;
    float: left;
    width: 100%;
    margin-right: 14px;
    margin-bottom: 7px;
}
#quickadd_window .has-error input{
    border-color: red;
}
#quickadd_window .selectcountry,
#quickadd_window textarea{ width: 94.4%;}
#quickadd_window .selectcountry .select2-chosen,
#quickadd_window .selectcountry .select2-arrow{
    background: #fff;
 }

.tax_listing .form-group input[type=radio],
.tax_selection .form-group input[type=radio] {
    height: 13px;
}
.tax_listing .form-group,
.tax_selection .form-group{
    margin-bottom: 4px;
    float: left;
    width: 30%;

}
.tax_selection .form-group{
    margin-bottom: 4px;
    float: left;
    width: 30%;

}
.tax_selection{
    margin-left:30%;
    float: left;
    width: 70%;
}
.tax_listing .form-group .col-md-1,
.tax_listing .form-group .col-md-5{
    padding: 0 !important;
}

#client-info.tab-pane .form-group{padding-bottom: 5px;margin-bottom: 5px;}

#event-calendar > .fc-header-toolbar .fc-toolbar-chunk:nth-child(2){width:400px;    margin-right: -230px;}
#event-calendar > .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) h2,
#event-calendar > .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) button{float:left;}
#event-calendar > .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) h2{
    width: 200px;
    text-align: center;
    padding: 5px 0;
    height: 32px;
    font-size: 19px;
    font-weight: 800;
    border: 1px solid #e2e7f1;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}
#event-calendar > .fc-header-toolbar .fc-toolbar-chunk:nth-child(3) button{color: #333;    padding: 5px 20px !important;}
#event-calendar > .fc-header-toolbar button:focus{box-shadow:none !important;}

#event-calendar > .fc-header-toolbar .fc-toolbar-chunk:nth-child(3) button.fc-button-active{
	    background: #333 !important;
    font-weight: 800;
    color: #fff;
    outline:0;
        box-shadow:none !important;
}
#event-calendar .fc-icon{color: #333;}

@media (min-width: 768px){
	body .modal-dialog {
			width:100%;
	    max-width: 850px;
	}
	body .modal-dialog.modal-lg {
			width:100%;
	    max-width: 1200px;
        height:80%;
	}

}
table.dataTable.display tbody tr.highlight td{
    background:#ffb8b8;
}

table.search_top_activated.dataTable thead th{
    position:relative;
}
table.search_top_activated.dataTable .search_tr th{
    padding:0;
        height: 25px;
}
table.search_top_activated.dataTable .search_tr input{
    display: block;
    width: 100%;
    height: 100%;
    outline-style: none;
    box-shadow: none;
    border-color: transparent;
    left: 0;
    position: absolute;
    bottom: 0;
    outline: 0;
    font-weight: 400;
    border: 1px solid #cacaca;
    padding-left: 9px;
}
table.search_top_activated.dataTable .search_tr input:focus,
table.search_top_activated.dataTable .search_tr input:focus-visible,
table.search_top_activated.dataTable .search_tr input.focus-input{
    outline-style: none;
    box-shadow: none;
    border-color: transparent;
        border: 1px solid #ec5e27;
    border-radius: 0;
    outline-color: transparent !important;
    background: #fff5f2;

}
table.search_top_activated.dataTable .search_tr .select2_intr.focus-input a{
    outline-style: none;
    box-shadow: none;
    border-color: transparent;
        border: 1px solid #ec5e27 !important;
    border-radius: 0;
    outline-color: transparent !important;
    background: #fff5f2;

}
table.search_top_activated.dataTable .search_tr .select2_intr.focus-input .select2-choice span{
    background: #fff5f2 !important;
}
table.search_top_activated.dataTable .search_tr i{
    position: absolute;
    right: 9px;
    top: 50%;
    color: #cacaca;
    margin-top: -7px;
}
table.search_top_activated.dataTable .search_tr .select2_intr,
table.search_top_activated.dataTable .search_tr .select2_intr .select2-choice{
    height:25px !important;
    border-radius: 0px;
    border-color: transparent !important;
}
table.search_top_activated.dataTable .search_tr .select2_intr .select2-choice{
    border: 1px solid #cacaca !important;
}
table.search_top_activated.dataTable .search_tr .select2_intr{
    border: 0 !important;
    width: 100%;
}
table.search_top_activated.dataTable .search_tr .select2_intr .select2-choice span:first-child{
    padding: 2px 12px;
        background: #fff;
}
table.search_top_activated.dataTable .search_tr .select2_intr .select2-choice span.select2-arrow{
    top: -4px;
        background: #fff;
}
.custom-toolbar .select-status,
.custom-toolbar .select-frnsid,
.custom-toolbar .dataTables_filter{
    display:none;
}
#frns-table_wrapper .custom-toolbar .dataTables_filter,
#item-table_wrapper .custom-toolbar .dataTables_filter{
    display:block;
}
body table.dataTable tbody tr td.search-top-note{
    text-transform: uppercase;
}
@media print {
    #sidebar,
    #articles-pages .btn,
    #articles-pages .panel-offer,
    #articles-pages .panel-agenda,
    #document-tabs,
    td.option a,
    .loading,
    #page-content ul.nav,
    #ticket-comment-dropzone,
    .tab-title,
    .title-button-group,
    #articles-pages #estimate-status-bar .customer_info h3{display:none !important;}

    .scrollable-page{
        overflow:inherit!important;
        height:auto;
        display:block;
    }
    #articles-pages .page-title,
    #articles-pages #estimate-status-bar{
        width:50%;
        float:left;
    }
    .panel{border:0 !important;}
    #page-container{width: 100%;}
}

#listing_menu.panel{
}
#listing_menu.panel ul{
    margin:0;
    padding:0;
    list-style-type: none;
}
#listing_menu.panel ul li{
    padding:20px 15px;
    cursor:pointer;
    border-bottom: 1px solid #d7d7d7;
}
#listing_menu.panel ul li:last-child{
    border-bottom: 0;
}
#listing_menu.panel ul li.selected,
#listing_menu.panel ul li.selected a{
    background: #383838;
    color: #fff;
}
#listing_menu.panel ul li a{
    color: #383838;
    font-weight: 800;
}
#listing_menu.panel ul li:hover:not(.selected):not(.negative){
    background: #c3c3c3;
}
#listing_menu.panel ul li.negative{
    opacity:0.5;
    cursor:no-drop;
}
#listing_menu.panel ul li a .counting{
        position: absolute;
    right: 35px;
    background: #e7e7e7;
    width: 25px;
    text-align: center;
    height: 25px;
    padding-top: 3px;
    border-radius: 100%;
    color: #505050;
}
#listing_menu.panel ul.search li.positive a .counting{
    background: #6fd544;
    color: #fff;
}
#listing_documents .panel{
    height: 45px;
}
#listing_documents .container_img{
    position: relative;
    width: 80%;
    height: auto;
    display: block;
    text-align: left;
    margin: 1.5% 0% 1% 1% ;
    float: left;
}
#listing_documents .container_img a{
    width: 100%;
    float: left;
}
#listing_documents .panel:hover{
        background: #dfdfdf;
}

#listing_documents .container_img img{
    max-width:250px;
}
#listing_documents .container_img img.lazy {
    display: block;
}
#listing_documents .container_link{
    float: left;
    width: 18%;
}
#listing_documents .container_link .btn-link{
    display: block;
    text-align: center;
    padding: 7px 0;
    background: transparent;
    color: #5b5b5b;
    margin-top: 6px;
    border-color: #9f9f9f !important;
    margin-left: 3%;
    float: left;
    width: 29%;
}
#listing_documents .container_link .btn-link:hover{
    color: #333;
    background: #fff;
}
#listing_documents .container_link .btn-link:last-child{
    border-right: 2px solid transparent;
}
.container-zip{
    text-align: center;
}
.container-zip .btn-generated-zip i{
    font-size: 55px;
    display: block;
    padding: 25px 0;
}
#listing_documents .no_docs{
    width:65%;
    text-align: center;
    font-size: 25px;
    color: #b1bcc1;
}
#listing_documents .no_docs i{
    font-size: 45px;
    display:block;
}
#listing_documents .col-filter{
    margin:0 0 15px;
}
#listing_documents .col-filter .btn{
    margin:0 10px 0 0;
}
#listing_documents .col-filter > .btn.btn-filter{
    float:right;
}
.mobile #listing_documents .col-xs-12{
    width:100%;
}
.mobile #listing_documents .container_img {
    width: 90%;
}
.mobile #listing_documents .container_img img {
    max-width: inherit;
}
#listing_documents .check-box{display:none;}
#listing_documents.multiple .check-box {
    display: block;
    position: absolute;
    z-index: 10;
    background: #fff;
    box-shadow: 0 0 5px #33333345;
    width: auto;
    padding: 8px;
    border-radius: 20px;
    left: 0;
    top: -12px;
}
#listing_documents.multiple .check-box span {
    margin:0;
}
#listing_documents.multiple .panel:after{
    content: "";
    position: absolute;
    width: 95%;
    height: 95%;
    max-width: 275px;
    background: #ffffff59;
    top: 0%;
    left: 5%;
    cursor:pointer;
}
#listing_documents.multiple .panel.checked:after{
    background: #ffffff00;
}
#listing_documents.multiple .panel.checked{
    border:1px solid #3ebb5d;
    background: #f8fff3;
}
#listing_documents .doc-pdf i{
    font-size: 25px;
    color: #5b5b5b;
    display: block;
    margin: 0;
    float: left;
}
#listing_documents .doc-pdf span{
    color: #242424;
    padding: 0 0 0 17px;
    margin-top: 5px;
    float: left;
}

.form-group.separate{
    border-bottom: 1px solid #cdcdcd;
    padding-bottom: 16px;
}
.form-group.separate .masked:before{
    content: '';
    position: absolute;
    display: block;
    width: 98%;
    height: 100%;
    background: #ffffff8f;
    z-index: 9;
}
.form-group.separate .check-box{
    margin: 32px 0 0 10px;
    display: block;
}
.btn-multiple{
    margin:0 0 35px;
}
.multiple-btn{
    position: relative;
    background: #f7f7f7;
    color: #ccc;
    margin-left: 10px;
    margin-right: 5px;

}
.multiple-btn.btn.active:before{
    content: "";
    position: absolute;
    display: block;
    left: -11px;
    height: 44px;
    width: 1px;
    top: -6px;
    background: #ccc;
}
.multiple-btn.active{
        background: #333;
    color: #fff;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
}
.multiple-btn.btn-close-multiple{
    background: transparent;
    color: #9d9d9d;
    font-size: 25px;
    padding: 0;
    margin-top: -2px;
    font-weight: 400;
    width: 33px;
    padding-right: 5px;
    text-align: center;
    margin: 0 0 0 11px;
    cursor:pointer;
}
.multiple-btn.btn-close-multiple:hover,
.multiple-btn.btn-close-multiple:focus{
    color: #333;
    background: transparent;
}
.multiple-menu{
    opacity:0;
    width: 0%;
    position:relative;
    height:44px;
    float: left;
    overflow:hidden;
    display:block;
    background: #fff;
    margin: 0 0 25px;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
}
.multiple-menu.display{
    opacity:1;
    padding: 5px 5px;
    width: auto;
}
.multiple-menu .file-multiple-count{
    display:none;
}
.multiple-menu .file-multiple-count.display{
    display:block;
    color: #fff;
    background-color: #43a75b;
    border-color: #255625;
    padding: 2px 7px;
    margin: 6px 10px 0 6px;
    float: left;
}

.search-container{
    text-align: center;
    margin: 25px 0 35px;
}
.search-container label input {
    margin: 0;
    border-radius: 48px;
    font-size: 16px;
    width: 330px;
    padding: 0 17px;
    height: 51px;
    box-shadow: 0 9px 14px -8px #8c8c8c1f;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
}
.search-container label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    position: relative;
}
.search-container label:after {
    margin-top: -15px;
    margin-left: -43px;
    content: "\f002";
    font-family: "FontAwesome";
    color: #f15c22;
    position: absolute;
    top: 50%;
    font-size: 25px;
    left: 100%;
    font-weight:400;
}

body.mobile .app-modal{
    position: fixed;
}
td.hide-price{
    opacity:0;
}
td.show-price.show-price{
    opacity:1;
}