
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 12-Jun-2017, 12:19:44 PM
    Author     : JZHAO
*/

ul#targeting_leftnavbar_ul li.active a{
    color: red;
}
ul#targeting_leftnavbar_ul li {
    cursor: pointer;  
}
div#define_scoring_attributes_variables_tree_pane ul#define_scoring_attributes_variables_selected_items li i.fa-plus,
div#define_scoring_attributes_variables_tree_pane ul#define_scoring_attributes_variables_selected_items li i.fa-minus,
div#define_scoring_attributes_variables_tree_pane ul#searched_report_variables li i.fa-plus,
div#define_scoring_attributes_variables_tree_pane ul#searched_report_variables li i.fa-minus,
div#define_scoring_attributes_variables_tree_pane ul.define_scoring_attributes_variables_tree li i.fa-plus,
div#define_scoring_attributes_variables_tree_pane ul.define_scoring_attributes_variables_tree li i.fa-minus{
    margin-right: 10px;
    cursor: pointer;
    color: black;
}

table#define_scoring_attributes_variables_selected_items tr td.correlation.show_correlation,table#define_scoring_attributes_variables_selected_items tr th.correlation.show_correlation {
    border-left: 1px solid gainsboro;
}

div#define_scoring_attributes_variables_tree_pane ul#define_scoring_attributes_variables_selected_items li div.report_label_text input[type='checkbox'],
div#define_scoring_attributes_variables_tree_pane ul#searched_report_variables li div.report_label_text input[type='checkbox'],

div#define_scoring_attributes_variables_tree_pane ul.define_scoring_attributes_variables_tree li div.report_label_text input[type='checkbox']
{
    margin-right: 10px;
    cursor: pointer; 
    display: inline-block;
}



#define_scoring_attributes_variables_tree_pane i.fa-arrow-down, ul#define_scoring_attributes_variables_selected_items  i.fa-arrow-down{
    margin-right: 10px;
    cursor: pointer;
    color: black;
}
#define_scoring_attributes_variables_tree_pane i.fa-minus, ul#define_scoring_attributes_variables_selected_items i.fa-minus,
#define_scoring_attributes_variables_tree_pane i.fa-plus, ul#define_scoring_attributes_variables_selected_items i.fa-plus{
    margin-right: 10px;
    cursor: pointer;
    color: black;
}
#define_scoring_attributes_variables_tree_pane i.fa-times, ul#define_scoring_attributes_variables_selected_items i.fa-times{
    margin-right: 10px;
    cursor: pointer;
    color: red;
}
#define_scoring_attributes_variables_tree_pane input[type='checkbox'], ul#define_scoring_attributes_variables_selected_items input[type='checkbox']{
    margin-right: 5px;
    cursor: pointer;
    display: inline-block;

}
#define_scoring_attributes_variables_tree_pane li>div.disabled, ul#define_scoring_attributes_variables_selected_items li>div.disabled{
    color: lightgray;
}
#define_scoring_attributes_variables_tree_pane li , ul#define_scoring_attributes_variables_selected_items li{
    border-bottom: 1px dotted gainsboro;
}
#define_scoring_attributes_variables_tree_pane li:last-child, ul#define_scoring_attributes_variables_selected_items li:last-child{
    border-bottom: none;
}
#define_scoring_attributes_variables_tree_pane li:first-child, ul#define_scoring_attributes_variables_selected_items li:first-child{
    border-top: 1px solid gainsboro;
}

#define_scoring_attributes_variables_tree_pane  li.modulegroup:first-child{
    border-top: 0px solid gainsboro;
}

ul#report_variables_list input[type='checkbox'],ul#report_variables_list i.show_or_hide,ul#report_variables_list i.report-variables,ul#define_scoring_attributes_variables_selected_items i.show_or_hide,ul#define_scoring_attributes_variables_selected_items i.report-variables{
    margin-right:5px;
    cursor: pointer;
    color: black;
}
ul#report_variables_list input[type='checkbox']:disabled {
    cursor: not-allowed;
}
ul#report_variables_list li>div.disabled {
    color:lightgray;
}

div#select_project_variables_content_panel table tbody tr.selected {
    background-color: lightskyblue;
}

table#define_scoring_attributes_variables_selected_items,table#define_scoring_attributes_variables_selected_items tr:last-child {
    border-bottom: 1px solid black;
}
/*select optgroup.modulegroup {
    color: #fff !important;
    background: #bc0000 !important;
    background-image: url(/images/Canada.png) !important;

}
select optgroup.modulesubgroup {
    padding-left: 15px;
    background-color: green;
}

select option.manifoldmodule {
    padding-left: 30px;
}*/

#targeting_modal_score_report .modal-dialog .modal-body table#define_scoring_attributes_variables_selected_items td {
    padding: 0px;
}

#targeting_modal_score_report .modal-dialog .modal-body table#define_scoring_attributes_variables_selected_items td {
    padding: 0px;
}
div.main_content div#target_project_delivery div[name='delivery_list'] ul.delivery_list li {

    padding-left:10px;
    border-bottom: 1px dotted gainsboro;
}
div.main_content div#target_project_delivery div[name='delivery_list'] ul.delivery_list li.selected {
    background-color: lightskyblue;

}

div.main_content div#target_project_delivery input[type='radio'][name='export_by_headername'] {
    margin-right: 5px;
}


div#report_advancedmode.container-fluid ul.report_variables_selected_items li.manifoldmodule>.report_label_text>span.name,#define_scoring_attributes_variables_selected_items li.manifoldmodule>.report_label_text>span.name {
    color: #800000; 
    font-weight: bold;
}

#report_variables_list li .report_label_text span.name{
    word-wrap:  break-word;
    display: inline-block;
    vertical-align: top;
}
/* Flexible Layout for Selected Variables - Fixes wrapping and duplicate buttons */
#define_scoring_attributes_variables_selected_items .report_label_text {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
}

#define_scoring_attributes_variables_selected_items .report_label_text > b {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

#define_scoring_attributes_variables_selected_items li .report_label_text span.name,
#define_scoring_attributes_variables_selected_items li .report_label_text b > span.name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto !important;
}

#define_scoring_attributes_variables_selected_items .report_label_text span.report_label_text_action {
    display: flex !important;
    float: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 5px;
}

/* Hide duplicate appended action buttons! */
#define_scoring_attributes_variables_selected_items .report_label_text > span.report_label_text_action ~ span.report_label_text_action {
    display: none !important;
}


#define_scoring_attributes_variables_selected_items li.variable-checked .report_label_text span.name{
    font-style: italic;  
}

ul.delivery_list li input[type='checkbox'] {
    margin-right: 5px;
}

th[name="benchmark_header"]  {
    width:162px;
    border-left: 1px solid black;

}

th[name="market_header"] {
    width:212px;
    border-left: 1px solid black;

}
th.benchmark_percent,th.market_percent {
    width:80px;
    text-align: center;
    border-left: 1px solid black;
}
th.benchmark_value,th.market_value{

    max-width:120px;
    width:auto;
    white-space: nowrap;
    min-width:80px;
    text-align: center;
    word-wrap:  break-word;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border-left: 1px solid black;
}
td.market_percent,td.benchmark_percent{
    width:80px;
    text-align: right;
    border-left: 1px solid gainsboro;
}
td.market_value,td.benchmark_value{
    max-width:120px;
    width:auto;
    min-width:80px;

    text-align: right;
    word-wrap:  break-word;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    border-left: 1px solid gainsboro;
}
th.market_index,td.market_index {
    width:50px;
    text-align: center;
    border-left: 1px solid gainsboro;
}
th.market_index{
    border-left: 1px solid black;
}
#score_basket_variables_tree_pane table td,#score_basket_variables_tree_pane table th , #define_scoring_attributes_variables_tree_pane  table td , #define_scoring_attributes_variables_tree_pane  table th {
    padding: 2px 8px;
}

table#score_by_decile tr td {
    text-align: right;
}
div#score_basket_variables_tree_pane table, div#score_basket_variables_tree_pane table tbody, div#score_basket_variables_tree_pane table tr,
div#score_basket_variables_tree_pane table, div#score_basket_variables_tree_pane table thead,
table#define_scoring_attributes_variables_selected_items ,
table#define_scoring_attributes_variables_selected_items  thead,
table#define_scoring_attributes_variables_selected_items  tbody,
table#define_scoring_attributes_variables_selected_items  tr
{
   /* width:100%;*/
   /* display: block;*/
}

/* POL-11015 Sticky Headers for Targeting Page*/
table#define_scoring_attributes_variables_selected_items{
    border-collapse: separate;
}
table#define_scoring_attributes_variables_selected_items thead{
    position: sticky;
    top:0;
    box-shadow: 0px 4px 3px 0px #02020263;
}
table#define_scoring_attributes_variables_selected_items th{
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}
table#define_scoring_attributes_variables_selected_items td{
    border-top: 1px solid grey;
}
table#define_scoring_attributes_variables_selected_items tbody tr:first-child td{
    border-top:none;
}
div#define_scoring_attributes_variables_tree_pane table tbody tr:first-child {
    border-top:none;
}
/* *****/
div#score_basket_variables_tree_pane table{
    border-collapse: separate;
}
div#score_basket_variables_tree_pane table thead{
    position: sticky;
    top:0;
    box-shadow: 0px 4px 3px 0px #02020263;
}
div#score_basket_variables_tree_pane table th{
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}
div#score_basket_variables_tree_pane table thead tr:last-child th{
    border-top: none;
}
div#score_basket_variables_tree_pane table td{
    border-top: 1px solid grey;
}
div#score_basket_variables_tree_pane table tbody tr:first-child td{
    border-top:none;
}
div#score_basket_variables_tree_pane table tbody tr:first-child {
    border-top:none;
}
/* ***********/

table#score_by_decile  tbody tr th  {
    white-space: nowrap;
    overflow: hidden;
    overflow-wrap:normal;
    text-overflow: ellipsis;
    max-width: 120px;
}

table#score_by_decile  tbody tr th:hover  {
    background-color: gainsboro;
}

div#mymarketslist-table_wrapper #mymarketslit-table_filter label input {
    border: 1px solid grey;
    border-radius: 4px;
    height: 2.5rem;
}



/*these css are meant for context menu */

.contextmenu.targetting_grouped_variable_contextmenu,
.contextmenu.targetting_transformed_variable_contextmenu {
    z-index: 1000;
    position: absolute;
    border: 1px solid darkgray;
    background-color: lightgray;
    padding: 2px;
    width: auto;
    height: auto;
    overflow:visible;
}

.contextmenu_tooltip-container {
    position: relative;
    display: block;
    overflow: visible;
    width: auto;
}

.contextmenu_tooltip-container .contextmenu_tooltip-content {
    display: none;
    width: fit-content;
    block-size: fit-content;
    background-color: #4caf50;
    color: white;
    text-align: left;
    white-space: nowrap;
    border-radius: 6px;
    padding: 2px;
    position: absolute;
    z-index: 1;
    right: 110%;
    top: 50%;
    transform: translateY(-50%);
    overflow:visible;
}

.contextmenu_arrow-right::before {
    content: "";
    border-style: solid;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent #4caf50;
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    overflow:visible;
}

.contextmenu_tooltip-container:hover .contextmenu_tooltip-content {
    display: block;
}

#variables_grouping_section {
    display: flex;
    gap: 0 30px;
    flex-wrap: wrap;

    text-align:left;
    padding: 2px;
    border-bottom:1px solid gainsboro;
    label {
        cursor: pointer;
        font-weight: normal;
        input {
            display:inline-block;
            margin-left: 15px;
            margin-right: 5px;
        }
    }
}

