/* 
          Copyright (c) 2020 DQE-SOFTWARE
          106/110 rue Victor Hugo 92300 Levallois-Perret (France)
          
          L'ensemble des sources est protégé par un dépôt auprès
          de l'APP (Agence de Protection des Programmes).
          Il est formellement interdit d'utiliser les sources sans
          l'autorisation expresse écrite de DQE-SOFTWARE, et de façon plus
          générale il est strictement interdit :
              - d'utiliser un décompilateur sur les packages compilés DQE-SOFTWARE
                pour en visualiser le code source
              - de reproduire, d'adapter, de copier tout ou partie du code contenu
                dans les programmes DQE-SOFTWARE
          
          
          All sources are protected by a deposit with
          the APP (Agence pour la Protection des Programmes).
          It is strictly forbidden to use the sources without
          The express written authorization of DQE-SOFTWARE.
          More generally is strictly forbidden to:
             - use a decompiler on DQE-SOFTWARE compiled packages
               to view the source code
             - reproduce, adapt, copy all or part of the source code contained
               in DQE-SOFTWARE
          
  */         



body {
    color: #333333;
    /* max-width: 850px; */
    /* margin: 0 auto; */
    /* padding: 0 16px; */

/*     min-height: 100vh;
 */   /*  display: flex;
    flex-direction: column; */
}

.ui-autocomplete {
    z-index: 999999;
}

body.empty{
    background: #fff;
    color: black;
    height: 100vh;
    padding-top: 3rem;
}

.slds-illustration h3{
    font-weight: 400;
}

.heading_perso, .footer_perso{
    background: #fff;

}
.custom_workspace{
    margin: 0 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    min-height: 92vh;
}

.slds-box.main_box{
    flex-grow: 1;
}

.slds-vertical-tabs.fixed_height{
    min-height: 32rem;
}

.slds-vertical-tabs__content.growing{
    flex-grow: 1;

}

.main_menu{
    font-size: 1.2rem;
}
.main_menu label{
    font-size: 1rem;
}
#id_main_menu_alert .alert_custom{
    padding: 0.4rem 0.8rem;
}


#id_setting_menu_dropdown a.dropdown-item{
    padding-left: 0.7rem;
}

#id_setting_menu_dropdown a.dropdown-item.active {
    background: #005fb2;
}

button.btn_selected{
    background: #005fb2;
    /* background: #C9C7C5; */
    color: #fff;
}
.select_dropdown .slds-button{
    margin: 0;
    padding-left: 0.5rem;
}

.slds-button.dropdown-item{
    color: inherit;
}

/* #id_sources {
    width: 100%;

} */
.d-inline-block.text-truncate {
    max-width: 100%;
    margin-right: auto;
}

button.dropdown-item span.remove_from_selected{
    /* margin-left: auto; */
    margin-right: 0.3rem;
}


button.btn_to_select {
    color: #005fb2;
    /* color: #C9C7C5; */
}

span.slds-icon-action-description{
    background: #009ddc;
}

.box_hidden{
    display: none;
}

.slds-icon_container.slds-icon-custom-custom111{
    background-color:#38C393;
    margin: 1rem 0;
}

.slds-button_icon.source_to_select {
    justify-content: inherit;
    color: #212529;
    
}

span.source_to_select{
    font-size: 0.8rem;
}


.slds-button_icon.source_to_select:hover, span.source_to_select:hover {
    color: #0070d2;
}

button.nav_icon_btn {
    color: #005fb2;
    padding: 0.2rem;
    
    /* height: 31px; */
}

div.popover{
    max-width: 20rem;
}

.popover-header {
    color: #009ddc;
}

.popover-body h1{
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 0.5rem;

}

div.slds-box {
    /* background-color: #fff; */
    background-color: #F3F2F2;
    margin: 2rem 0 0 0;
}

div.slds-context-bar.sets_navbar {
    margin-top: 0.5rem;
    padding-left: 0;
    background: transparent;
}

.set_actions_menu a{
    padding: 4px 6px;
    font-size: 0.8em;
}
span.set_label{
    font-size: 1.1em; 
    padding-right: 0;
}
.setups_container{
    min-height: 40rem;
   
}

.slds-context-bar__item div.btn-group{
    width: 10.3rem;
}

.dropdown-menu.set_actions_menu.show {
    min-width: 6.5rem;
}



#id_alert_mergeRule .alert_custom{
    width: 50%;
    margin: 0 auto;
}


/* MODALS */

div.modal-dialog.modal-xl{
    /* min-width: 1100px; */
    width: 90%;

}
.modal-dialog.fixed_height{
    overflow-y: initial !important;
}

.modal-body.scrollable{
    /* height: calc(75vh-400px); */
    height: 75vh;
    overflow-y: auto;
}


.modal-content h4, .modal-content p {
    font-size:  1rem;
}

form div.required_data{
    color: #c23934;
    margin-bottom: 1rem;
}

h2.modal_title{
    font-size:  1.3rem;
    margin-left: auto;
}


span.text-danger, span.subject {
    font-weight: bold;
}

h4 span.slds-badge{
    font-size: 1rem;
}
span.label_comment {
    font-size: 0.75rem;
    font-weight: 600;
}

label.form_label, span.form_label{
    font-weight: 600;
    font-size: 0.875rem;
}

#id_modal_add_set .modal-dialog.modal-lg, #id_modal_match .modal-dialog.modal-lg {
    min-width: 85%;
    min-height: 60vh;
}

/* ALERTS  */
.alert_custom{
    font-size: 0.9rem;
    text-align: center;
    padding: 0.4rem;
    /* width: 80%; */
}

.confirm_action_alert, .confirm_action_alert p{
    font-size: 0.9rem;
    text-align: center;
    padding: 0.4rem;
}
.confirm_action_alert button.btn{
    font-size: 0.75rem;
    margin: 0 2rem;
    padding: 0.3rem 0.8rem;
}


/* combobox -lookup */
#id_modal_add_set button.slds-input_faux {
    padding: 0 1rem;
    width: 100%;
    line-height: 1.875rem;
    border: 1px solid #c9c9c9;
    border-radius: 0.25rem;
    background-color: #fff;
    line-height: 1.875rem;

    display: inline-flex;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    text-align: left;


}
.slds-input_faux span{
    font-size: 0.9rem;
}


.btn_origin .slds-button__icon_large, .btn_switcher .slds-button__icon_large, .slds-listbox__option .slds-icon_small  {
    width: 1.2rem;
    height: 1.2rem;
}

#id_modal_add_source .slds-listbox__option-icon {
    padding-top: 1px;
    
}
/* datalist without default arrow */
datalist {
    display: none;
}
input::-webkit-calendar-picker-indicator {
    opacity: 0;
}
input.search_field{
    padding-left: 1.9rem;
}

#id_setups_container{
    min-height: 40rem; 
    padding: 0.75rem 1.2rem;
}

#id_match_form label{
    font-weight: 600;
}

form.modal_form {
    /* width: 85%; */
    margin: 0 1rem;
}

.slds-dueling-list__column .slds-button:first-of-type{
    margin-top: 0.25rem;
}

.slds-dueling-list__options.invalid_list  {
    border-color: #dc3545;
}

.mapping_setting_row.invalid_list{
    border-color: #dc3545;
    margin-bottom: 1px;
}

#id_selected_methods span.slds-icon_container{
    margin: 0 0.2rem;
}

.func_call_start span, .func_call_end span{
    color: #0070d2;
}
div.slds-is-selected button.btn_edit_method:hover{
    color: white;
}

div.slds-is-selected button.btn_edit_method.edit_mode{
    color: white;
}

.dualbox_custom div.slds-dueling-list__options {
    width: 100%;
}

span.highlighted{
    background: yellow;
}

.field_error{
    color: #dc3545;
    font-size: 90%;
}

#id_advanced_matching_rule .row{
    margin-bottom: 0.1rem;
}

/* #id_advanced_matching_rule input.form-check-input{
    margin-top: 0.4rem;
    margin-left: 0;
} */

.rule_subtitle {
    color: #0070d2;
}

svg.arrow_bottom{
    transform: rotate(360deg);
    color: #0070d2;
}

span.btn_underlined{
    text-decoration: underline;
    color: #0070d2;
}

#id_dualbox_matching span.field_name{
    padding-right: 0.2rem;
}

span.secondary_field_name {
    font-style: italic;
    /* padding-bottom: 0.1rem; */
    padding-left: 0.2rem;
}



/* PARENT RECORDS/MERGE */

.custom_area{
    margin-top: 0.5rem;
    padding: 0.5rem;
    /* border: 1px solid #0070d2; */
    border: 1px solid grey;
    border-radius: 0.3rem;
}
span.form_label.label_disabled_area{
    color: grey;
}

span.form_label.label_activated_area{
    color: #005fb2;
}
.custom_area_active{
    border-color: #005fb2;
}

.form_section {
    border: 1px solid #dee2e6;
    padding: 0.4rem;
    margin-bottom: 0.5rem;
}

#id_merge_methods .slds-dueling-list__options{
    height: 12rem;
}

#id_parent_method option[disabled]{
    background-color: transparent;
    color: #dddbda;
}

/* AUTOCOMPLETE JQUERY UI - liste déroulante*/
.ui-autocomplete {
    max-height: 8rem;
    overflow-y: auto;
    overflow-x: hidden;
    color: #080707;
    font-size: 0.9rem;

}


div.editor_container.ace_editor.is-invalid{
    border: 2px solid #dc3545;
}

.slds-has-error .slds-input {
    border: 1px solid #dc3545 !important;
    -webkit-box-shadow: none;
}

.slds-has-error .slds-form-element__help{
    color: #dc3545;
    font-size: 90%;
    /* margin-top: 0.25rem; */
}


div.editor_container{
   
    width: 100%;
    height: 32rem;
    font-size: 0.9rem;
    white-space: pre-wrap;
}

#id_parent_preview_section .preview_content{
    height: 22rem;
    overflow-y: scroll;
}

.function_call .input-group-prepend{
    width: auto;
}
.input-group input.dynamic_elt{
    min-width: 7rem;
    max-width: 100%;
}
span.text_flexible{
    width: 100%;
}

#id_merge_fieldNames span.FieldName {
    font-size: 0.9rem;
    color: #0070d2;
    font-weight: 500;
    padding: 0 0.5rem 0.1rem 0.5rem;
}
span.main_object_name, span.secondary_object_name{
    font-size: 1rem;
}

span.slds-badge.secondary_field_name {
    padding: 0 0.5rem 0.1rem 0.5rem;
    font-style: italic;
    font-size: 0.9rem;
}

#id_tbl_mergeRules span.FieldName {
    padding-right: 0.2rem;
}

div.row.selected_field_row{
    margin-bottom: 0.15rem;
}

button.tooltip_btn{
    padding: 0 2px 6px 2px;
}

.custom_area label{
    padding-right: 0;
}

.left_separator{
    border-left: double #dee2e6;
}

p.py_template_preview{
    font-size: 0.9rem;
    white-space: pre-wrap;
    background: #ecebea;
    padding: 0 0.35rem;
}

#id_nav_preview a:not(.active){
    color: #495057;
    font-size: 0.9rem;
}
#id_nav_preview a.active{
    background: #ecebea;
    color: #0070d2;
    border-color: transparent;
    font-weight: 500;
    font-size: 0.9rem;
}

.docString_visible{
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    background: #e9ecef;
    margin: 0.3rem 0;
    color: #005fb2;
    white-space: pre-wrap;
}
.btn_switcher, .btn_origin {
    font-size: 0.9rem;
}

.dropdown-item span.slds-icon_container{
    color: white;
}

.btn_switcher{
    color: #212529;
}

.btn_switcher span.slds-icon_container {
    color: white;

}

.btn_switcher span{
    margin-right: 0.3rem;
}

.slds-combobox_container.lookup_append{
    flex: 1 1 auto;
}

.slds-truncate.source_name{
    font-size: 0.9rem;
}

.mapping_container{
    border:1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    padding-bottom: 0.5rem;
}

.mapping_setting_row {
    background-color: #dddbda;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.2rem;
    padding: 0.15rem;

}

#id_sources_to_add {
    height: inherit;
    
}
mark{
    padding: 0;
}

/* FIN MODALS*/

/* #id_dedup_menu {
    width: 80%;
} */
 

#id_dedup_menu a{
    font-size: 1.3rem;
    /* color: #080707; */
}

#id_dedup_menu a:visited{
    text-decoration: none; 
}

.btn_container button{
    background: #fff;
}
.step_button{
    font-size: 1rem;
}
.slds-builder-toolbar.tab_content_toolbar{
    background: inherit;
    border-top: 1px solid #dddbda;
    border-bottom: none;
}

#id_matching_alert {
    width: 60%;
    margin: 0 auto;
    text-align: center;
    font-size: 0.9rem;
}

.nav-pills .nav-link.active{
    background: #e7f3fd;
}



.slds-spinner_container.spinner_custom{
   background-color: rgba(75, 34, 34, 0.2); ;
   /* opacity: 0.4; */
    margin-top: 12rem;
    margin-bottom: 10rem; 
}

.spinner_container {
    height: 4rem;
}

/* rules table */
.slds-table_bordered tbody td, .slds-table_bordered tbody th, .slds-table--bordered tbody td, .slds-table--bordered tbody th, thead th {
    border-top: none;
    border-bottom: 1px solid #dddbda;
}

tbody tr.related_to_next td, tbody tr.related_row th{
    border-bottom: 2px dotted #dddbda;
}

tbody tr.related_row td, tbody tr.related_row th{
   /* background:  #e9f1f5; */
   background:  #d7e6ed;
   
}

.table_responsive{
    /* min-width: 75rem; */
    overflow-x: auto;
    transform: translate3d(0, 0, 0);
    
}
th.index_col{
    width: 7%;
    /* max-width: 10px; */
}

th.actions_col{
    width: 5rem;
}

table.rules_table td{
    line-height: 1.2;
}

table.rules_table .slds-cell-wrap {
    white-space: normal;
    
}

.slds-table.slds-table_cell-buffer th.no_padding, .slds-table_cell-buffer tr > td:first-child.no_padding {
    padding-left: 0;
}

.slds-table.rules_table th:not(.no_padding) {
   padding-left: 0.5rem;
}

.table_col_5:not(.fix_width){
    width: 5%;
    
}

.fixed_width{
    width: 3rem;
}

.table_col_7{
    width: 7%;
}

.table_col_10{
    width: 10%;
}
.table_col_15{
    width: 15%;
}

.table_col_20{
    width: 20%;
}
.table_col_40{
    width: 45%;
}
.table_col_30{
    width: 35%;
}


.slds-truncate.rule_index {
    padding-left: 0.3rem;
}

.slds-text-heading_medium.subtitle_2{
    color: #0070d2;
    font-weight: 400;
}


.slds-text-heading_medium.subtitle{
    font-weight: 500;
   
}

button.rules_btn {
    line-height: 1.5rem;
}

button.mapping_btn {
    line-height: 1.3rem;
}
.rules_header{
    background: #fafaf9;
}


div.slds-table--header-fixed_container{
    height: 28rem;
   /*  display: block; */
}
.slds-table--header-fixed_container>.slds-scrollable_y{
       height: 100%;
}

th.comment_col{
    width: 9rem;
}
th.group_col {
    width: 3rem;
}
th.principal_col {
    width: 3.7rem
}



tr.fixed_row div:not(.index_cell){
    padding: 0.25rem;
}
.selected_field_row.is-invalid{
    border: 1px solid #dc3545;
    border-radius: 0.2rem;
}

.siblings_title {
    background: #8f66ff;
    color: white;
    font-weight: 500;
    text-align: center;

}

.siblings_title:hover, .sibling_rule:hover{
    color: #8f66ff;
    font-weight: 500;

}

.exclusions_title {
    background: #fab446;
    color: white;
    font-weight: 500;
    text-align: center;
}

.exclusions_title:hover, .exclusion_rule:hover{
    color: #fab446;
    font-weight: 500;
}


.sibling_method {
    /* color: DarkOrchid; */
    color: #8f66ff;
    font-weight: 500;
}

.exclusion_method {
    /* color: DarkOrange; */
    color: #fab446;
    font-weight: 500;
}

.login_msg {
    width: 40%;
    margin: 2rem auto;
    background: #00a1e0;
    color: white;
    /* color: grey; */
    font-size: 1rem;
    border: 1px solid #00a1e0;
    border-radius: 0.3rem;

}
.login_msg p {
    text-align: center;
}

.nav_dqe{
    font-size: 1.5rem;
    margin: 0.5rem;
}

/*** METHODS MANAGER ****/
#id_methods_setup{
    min-height: 70vh;
}

div.method_title {
    font-size: 1rem;
    font-weight: 500;
}

.fields_details {
    color: #54698d;

}

h6.card-subtitle {
  /* color: #16325c; */
  font-size: 0.9rem;
  line-height: 1.25rem;  
}

li.slds-item{
    color: #0070d2;
    font-weight: 600;

}

span.origin_method{
    color: #0070d2;
}

a.nav_link_custom{
    font-size: 0.95rem;
}

.card-body .slds-scrollable_y{
    height: 16rem;
    width: 100%;
}

span.badge.method_description{
    font-size: 95%;
   /* background-color: #0476d3; */
   /* background-color: #0070d2; */
   /* the same with transparence */
   background: rgba(0, 112, 210, 0.75);
   /* color: #0476d3; */

}