/*
========================================================================
Select Column Dialog
========================================================================
*/

.-pd-dlg-select-query-columns 
{
    box-sizing:border-box;
    position:absolute;
    top:10px;
    bottom:10px;
    left:10px;
    right:10px;
}

.-pd-dlg-select-query-columns > LABEL[data-id=search-category-label]
{
    position:absolute;
    right:0px;
    top:0px;
    width: 200px;
    line-height:22px;
    text-align:left;
}

.-pd-dlg-select-query-columns > DIV[data-id=search-category]
{
    position: absolute;
    top: 25px;
    right: 0px;
    width: 200px;
}

.-pd-dlg-select-query-columns > DIV[data-id=search-category] > SELECT
{
    box-sizing:border-box;
    width: 100%;
}

.-pd-dlg-select-query-columns > LABEL[data-id=search-depth-label]
{
    position:absolute;
    top: 0px;
    left:0px;
    width:200px;
    line-height:22px;
    text-align:left;
}

.-pd-dlg-select-query-columns > DIV[data-id=search-depth]
{
    position:absolute;
    top:25px;
    left:0px;
    right:210px;
}

.-pd-dlg-select-query-columns > DIV[data-id=search-depth] > SELECT
{
    box-sizing: border-box;
    width: 100%;
}

.-pd-dlg-select-query-columns > DIV[data-id=search-box]
{
    position:absolute;
    right:0px;
    top:60px;
}

.-pd-dlg-select-query-columns > LABEL[data-id=grid-label]
{
    position:absolute;
    left:0px;
    top:60px;
    right: 210px;
    line-height:22px;
    text-align:left;
    font-size:12px;
    font-weight: bold;
}
.-pd-dlg-select-query-columns > DIV[data-id=grid-wrapper]
{
    position:absolute;
    top: 90px;
    bottom: 40px;
    left:0px;
    right:0px;
}

.-pd-dlg-select-query-columns > DIV[data-id=dialog-button-deck]
{
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    text-align: right;
}

/*
================================
CONSTRAINTS EDITOR
================================
*/

.k-treeview.-pd-queries-constraints-editor 
{
    box-sizing: border-box;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item
{
    padding-left: 8px;
    position: relative;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item .k-icon
{
    display: none;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item > DIV
{
    height: 30px;
    padding: 0px;
    border: 0px;
    overflow: hidden;
    background-color:#FFFFFF;
    box-sizing: border-box;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item > DIV > .k-checkbox 
{
    vertical-align: middle;
    padding:8px 5px 5px 0px;
    border: 0px solid #DDDDDD;
    border-width: 0px 0px 0px 0px;
    height: 30px;
    width: 20px;
    margin: 0px;
    box-sizing: border-box;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item > DIV > .k-in
{
    height: 31px;
    padding: 0px 0px 0px 5px;
    border: 0px solid transparent !important;
    overflow: hidden;
    background-color:#FFFFFF;
    right: 0px;
    height: 30px;
    line-height: 30px;
    box-sizing: border-box;
    border-radius: 0px;
    position: absolute;
    top: 0px;
    left: 28px;
    margin: 0px;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item > DIV > .k-in.k-state-hover 
{
    background-image: none;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item > DIV > .k-in.k-state-selected 
{
    background-image: none;
    background-color: #f35800 !important;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item > DIV > .k-in > SPAN 
{
    height: 30px;
    display: inline-block;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item[data-role=filter]
{
    padding-left: 0px;   
    background-color: #FFFFFF;  
}

.k-treeview.-pd-queries-constraints-editor LI.k-item[data-role=filter] .k-in
{
    background-color: #FFFFFF !important;
    left: 20px;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item[data-role=condition]
{
    background-color: #F5F5F5;    
}

.k-treeview.-pd-queries-constraints-editor LI.k-item[data-role=condition] > DIV > .k-in
{
    background-color: #F5F5F5;    
}

.-pd-condition
{
    position: absolute;
    top: 0px;
    border-style: solid;
    border-width: 0px 8px 0px 0px;
    box-sizing: border-box;
    text-align: center;
    height: 30px;
    width: 40px; 
}

.-pd-condition-internal 
{
    right: 40px;
    background-color: #FFFFFF;
    border-left: 0px solid #DDDDDD;
}

.-pd-condition-external 
{
    right: 0px; 
    background-color: #FFFFFF;  
    border-color: #DDDDDD;
    color: #000000;
}

.-pd-condition-toggle
{
    text-decoration: underline;
    color: #0000FF !important;
    cursor: pointer;
}

.-pd-constraint-label 
{
    position: absolute;
    left: 0px;
    right: 60px;
    border-width: 0px 0px 0px 0px; 
    border-color: #DDDDDD;
    border-style:solid;
    padding: 0px 0px 0px 5px;
    height: 28px;
    line-height: 30px;
    box-sizing: border-box;
    font-weight: bold;
}

.k-treeview.-pd-queries-constraints-editor LI.k-item[data-role=condition] > DIV > .k-in .-pd-condition-internal 
{
    border-left-width: 0px;
}

/*
================================
FILTER TREEVIEW
================================
*/

.k-treeview.-pd-filter-list 
{
    border:1px solid #AAAAAA;
    overflow-y:scroll
}

.k-treeview.-pd-filter-list .k-top,
.k-treeview.-pd-filter-list .k-mid,
.k-treeview.-pd-filter-list .k-bot
{
    vertical-align: top;
    font-size: 12px;
    font-family: arial;
}

.k-treeview.-pd-filter-list .k-top > .k-checkbox,
.k-treeview.-pd-filter-list .k-mid > .k-checkbox,
.k-treeview.-pd-filter-list .k-bot > .k-checkbox
{
    vertical-align: middle;
}

/* prevent hover effect */
.k-treeview.-pd-filter-list .k-in.k-state-hover{
    background-image:none;
    background-color:#fff;
    border:1px solid transparent;
}

/* add treelines */

.k-treeview.-pd-filter-list .k-treeview-lines .k-top,
.k-treeview.-pd-filter-list .k-treeview-lines .k-mid,
.k-treeview.-pd-filter-list .k-treeview-lines .k-bot
{
    background-image: url('../../application/icons/kendo/treeview-nodes.png');
}

.k-treeview.-pd-filter-list .k-treeview-lines .k-item  
{
    background-image: url('../../application/icons/kendo/treeview-line.png');
}

.k-treeview.-pd-filter-list .k-treeview-lines .k-top,
.k-treeview.-pd-filter-list .k-treeview-lines .k-mid,
.k-treeview.-pd-filter-list .k-treeview-lines .k-bot
{
    background-repeat: no-repeat;
    margin-left: -16px;
    padding-left: 16px;
}

.k-treeview.-pd-filter-list .k-treeview-lines .k-last { background-image: none; }
.k-treeview.-pd-filter-list .k-treeview-lines .k-top { background-position: -91px 0; }
.k-treeview.-pd-filter-list .k-treeview-lines .k-bot { background-position: -69px -22px; }
.k-treeview.-pd-filter-list .k-treeview-lines .k-mid { background-position: -47px -44px; }
.k-treeview.-pd-filter-list .k-treeview-lines .k-last .k-top { background-position: -25px -66px; }
.k-treeview.-pd-filter-list .k-treeview-lines .k-group .k-last .k-bot { background-position: -69px -22px; }

.k-treeview.-pd-filter-list .k-treeview-lines .k-item
{
    background-repeat: no-repeat;
}
    
.k-treeview.-pd-filter-list  .k-treeview-lines .k-first
{
    background-repeat: no-repeat;
    background-position: 0 16px;
}
