/* styles for report view builder */

.UserInput {
    padding: 0.2em;
}

#topTable.WithToggleSections .ToggleSection.collapsed {
    margin-bottom: 0;
}

.SettingsSect {    
    margin-bottom: 10px;
    margin-left: 32px;
}

#drillDownInfo {    
    padding-left: 20px;
}

#topTable #filtering {
    margin-bottom: 0px;
}

#topTable .SectionTitle {
    margin-bottom: 10px;
}

/* not(.qbIcon) is to avoid applying this style to huey injected feature code */
#topTable .SettingsSect .Icon:not(.qbIcon), .Icon.Chart.Report {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 0;
    vertical-align: middle;
}

#topTable .FilterLabel,
#topTable .BasicLabel
{
    display: inline-block;
    min-width: 140px;
}

#topTable .OptionsLabel {
    display: inline-block;
    min-width: 137px;
}

#topTable .ColumnsLabel {
    display: inline-block;
    min-width: 143px;
}

#topTable .SortLabel {
    display: inline-block;
    min-width: 143px;
}

#sortSection {
    padding-left: 50px;
    padding-top: 15px;
}

#sortGroup .SortGroupOption {
    padding-left: 147px;
    padding-bottom: 5px;
}

#optionsSection table tr td:first-child {
    width: 134px;
    vertical-align: top;
    padding-bottom: 5px;
}
#calSection table tr td:first-child {
    width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

#tlnbarFields table tr td:first-child {
    width: 140px;
}

#tlnbarFields > table tr td {
    padding-top: 4px;
    padding-bottom: 12px;
}

#kanbanDetails table tr td:first-child {
    width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

#additionalOptions table tr td:first-child {
    width: 150px;
    vertical-align: top;
    padding-bottom: 5px;
}

#summarizeData > table >tbody > tr > td:first-child {
    width: 140px;
    vertical-align: top;
    /*padding-bottom: 5px;*/
}

#reportColumnTable {
    padding-bottom: 8px;
}

#columnsSection {
    padding-top:8px;
}

#columnsSection table tr td:first-child {
    min-width: 143px;
    vertical-align: top;
    padding-bottom: 5px;
}

#columnsSection table tr.CalculatedColumnRow td:first-child {
    width: 143px;
}


#sortingSectionTable>tbody>tr>td:first-child {
    min-width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

#chartOptsTable>tbody>tr>td:first-child {
    min-width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

#groupingAndCrosstabs table tr td:first-child {
    width: 133px;
    vertical-align: top;
    padding-bottom: 5px;
}

#filtering>table>tbody>tr>td:first-child, #sortGroup>table>tbody>tr>td:first-child {
    min-width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

#drillDownSection>table>tbody>tr>td:first-child, #sortGroup>table>tbody>tr>td:first-child {
    min-width: 140px;
    vertical-align: top;
    padding-bottom: 5px;
}

.shead .sectionTitle {
    margin-left: 50px;
}

.shead {
cursor: pointer;
}

.Icon.ReportColumns {
    display: inline-block;
    width: 20px;
    height: 20px;
    
    background-repeat: no-repeat;
    background-position: 0px 0px;
    border: 1px solid #888;
}
.Icon.ReportColumns:hover {
    cursor:pointer;
}
.Icon.AddToReport {
    background-image: url("./images/icons/arrow-scroll-right.png");
}
.Icon.RemoveFromReport {
    background-image: url("./images/icons/arrow-scroll-left.png");
}
.Icon.Flag {
    background-image: url("./images/icons/icon_quickfilter.png");
}
#resetColsToDefaultsButton:hover {
    cursor: pointer;
}

.ArrowIcon {
    background-image: url("./images/icons/report_builder_sprite_22px.png");
    width: 22px;
    height: 22px;
    display: block;
    background-position-y: 0;
}
.ArrowIcon.MoveUp {
    background-position: -44px 0;
}
.ArrowIcon.MoveUpMulti {
    background-position: -88px 0;
}
.ArrowIcon.AddToReport {
    background-position: 0px 0;
}
.ArrowIcon.RemoveFromReport {
    background-position: -22px 0;
}
.ArrowIcon.MoveDown {
    background-position: -66px 0;
}
.ArrowIcon.MoveDownMulti {
    background-position: -110px 0;
}
.ArrowIcon:hover {
    background-position-y: 44px;
}
.ArrowIcon.Disabled {
    background-position-y: 22px;
}

div.ArrowIconPadding {
    height: 10px;
}

.verticalAlignMiddle {
    vertical-align: middle !important;
}

div.SettingsSect > table.SettingsSectTable tr td {
    padding-bottom: 12px;
}

div.SettingsSect >  table.SettingsSectTable>tbody>tr>td {
    padding-top: 4px;
}
div.SettingsSect > table.SettingsSectTable tr td table tr td {
    padding-bottom: 0px;
    vertical-align: top;
}

/*  these styles are for labels and should always override the style immediately above */
div.SettingsSect > table.SettingsSectTable tr td table tr td.buttonCell,
div.SettingsSect > table.SettingsSectTable tr td table tr td.groupingBy,
div.SettingsSect > table.SettingsSectTable tr td table tr td[id^=newSumRowGroupThen],
div.SettingsSect > table.SettingsSectTable tr td table tr td[id^=rowAndOrCell],
div.SettingsSect > table.SettingsSectTable tr td table tr td[id^=relDatePreviewCell],
div.SettingsSect > table.SettingsSectTable tr td table tr td[id^=sortThen] {
    vertical-align: middle;
}

div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink {
    color: #427CD8;
    white-space: nowrap;
    text-decoration: none;
}
div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink:hover {
    color: #365ebf;
    cursor: pointer;
}
div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink .showOptionsArrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: top;
    margin-top: 1px;
    background-image: url("./images/icons/arrow-blue-right.png");
    background-repeat: no-repeat;
    background-position: center center;
}
div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink .showOptionsArrow.open {
    background-image: url("./images/icons/arrow-blue-down.png");
}
div.SettingsSect > table tr.reportAndChartsHeader span#reportOptionsLink .showOptionsText {
    text-decoration: underline;
}

div.SettingsSect > table tr.reportAndChartsHeader span.reportRoleHeaderText {
    padding-right: 5px;
}

div.SettingsSect > table tr.reportAndChartsHeader span.reportAndChartsBold {
    font-family: 'Gibson-SemiBold', Helvetica, Arial, Sans-Serif;
}


div.SettingsSect > table tr td.reportAndChartsBasicLabel {
    width: 140px;
    vertical-align: top;
    padding-top: 15px !important;
}

div.SettingsSect > table tr td.reportAndChartsGroup select.dropListWidth {
    width: 250px;
}

div.SettingsSect > table tr td.reportAndChartsGroup div#reportGroupsPersonal select {
    background-color: #eee;
}
div.SettingsSect > table tr td.reportAndChartsGroup div#reportGroupsPersonal div {
    color: #999;
    margin-left: 4px;
    margin-top: 3px;
}

div.SettingsSect > table tr td.reportAndChartsSection {
    padding-bottom: 4px;
    width: 875px;
}
div.SettingsSect > table tr td.reportAndChartsSectionSubHeader {
    color: #999;
    padding-top: 0px !important;
    width: 875px;
}

div.SettingsSect > table.SettingsSectTable tr td.reportAndChartsDetailHeader {
    padding-top: 15px !important;
    padding-bottom: 0px;
}

div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection {
    padding-top: 10px;
    vertical-align: top;
}

div.SettingsSect > table.SettingsSectTable tr td#personalRoleSection.displayRoleSection span {
    margin-left: 4px;
}

div.SettingsSect > table.SettingsSectTable tr td.reportAndChartsGroupSection {
    padding-top: 20px;
    padding-bottom: 7px;
}

div.SettingsSect > table.SettingsSectTable tr td.displayRoleSeparator {
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 0px;
}

div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div.roleRowSpacing.subHeader {
    margin-top: 3px;
}
div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div.subHeader {
    margin: 0 25px 0 19px;
    color: #999;
    width: 460px;
}
div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div.sectionSubHeader {
    margin-left: 0px;
    margin-bottom: 15px;
}
div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection select {
    margin-top: 2px;
}
div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div#whichRoles1 input[type="checkbox"] {
    margin: .23em;
    margin-left: 0px;
}

div.SettingsSect > table.SettingsSectTable tr td.displayRoleSection div#whichRoles1 {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 100px;
    margin: 7px 10px 7px 20px;
    width: 425px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 4px 4px 6px;
}

div.SettingsSect > table.SettingsSectTable tr td.reportChartsImage {
    padding-left: 15px;
    vertical-align: top;
}
div.SettingsSect > table.SettingsSectTable tr  td.reportChartsImage div.roleSectionHelperImg {
    width: 230px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url("./images/report_charts.png");
}
div.SettingsSect > table.SettingsSectTable tr td.reportChartsImage div.imageSubHeader {
    margin-top: 5px;
    width: 230px;
    color: #999;
}
div.SettingsSect > table.SettingsSectTable tr.reportGroupSection span.FS-Note {
    margin-left: 2px;
    font-size: 1.0em;
    color: #999;
}

span.ReportColumnDesc {
    color: Gray;
}

span.Spacer {
    width: 1em;
}

#defColsList ul,
table.ColumnChooserTable  ul {
    min-width: 210px;
    height: 200px;
    border: 1px solid gray;
    overflow-y: scroll;
    overflow-x: visible;
    padding-left: 0px;
}



table.ColumnChooserTable ul > li {
    list-style:none;
    padding:0 0 0 2px;
    margin:0;
    color: #000
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    max-width: 500px;
    overflow:hidden;
    cursor: default;
}

table.ColumnChooserTable  ul > li.additionalColumn {
    color: red;
}
table.ColumnChooserTable  ul > li.selected {
    background: #FED355;
    cursor:move;
}

.DefaultReportingSection {
    clear:both;
}

.DefaultReportingOptions {
    padding: 10px;
}
.DefaultReportingSection .Icon, 
.ColumnChooserTable .Icon {
    width: 16px;
    height: 16px;
    display: inline-block; 
}
body.UXV2 table.ColumnChooserTable ul.Facetable>li,
ul.ColumnChooser li {
    list-style: none;
    padding-left: 18px;
    height:18px;
}

body.UXV2 table.ColumnChooserTable ul.Facetable>li.Facetable {
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url("./images/icons/icon_quickfilter.png");
}

#defColsList ul {
    list-style-type: none;
    height:352px;

}
#noQuickFilters {
    margin-left: 35px;
}
ul#autoColumnsList {
    list-style: none;
    padding-left: 16px;
}
#newFieldOptions input {
    margin-left: 35px;
    margin-bottom:8px;
}
table.ColumnChooserTable ul {
    height:256px;
}
#viewFiltersList {
    height: 84px;
    min-width:210px;
    margin-bottom:10px;
}
#availableColsList,#viewColsList,#availableFiltersList {
    margin-top:0;
}   
td.DefaultReportPreview {
    padding-left: 40px;
}

#reportGroupsList[disabled] { color: #999; }

.HintText { color: #999; }

#resetFiltersToDefaultsButton,
#resetColsToDefaultsButton {
    text-align:center;
    width:100%;
    margin:0px;
}


#resetFiltersToDefaultsButton
{
    margin-top:25px;
}

#defaultQuickFiltersSection {
    min-width: 875px;
}

#defaultQuickFiltersSettings {
    float:left; width:500px;
}

#quickFiltersSection {
    min-width: 980px;
}
#quickFiltersSettings {
    float:left; width:650px;
}

#filtersHelper {
    float:left;
    padding-top:30px;
}

#autoQuickFilters,#quickFilters,#noQuickFilters {
    margin-left: 16px;
}

.BottomPadding {
    height: 50px;
}

#maxFiltersWarning,
#maxColumnsWarning {
    color: Green;
    white-space:nowrap;
}

.HideSortablePlacholder {
    height:0;
}

.ColumnChooserTable .Center {   
    margin-left:auto;
    margin-right:auto;
    width:65%;
}

 .ChartPicker .dropdown-header
    {
        border-bottom: 0.1em solid #EFF1F5;
        margin-top: 1px;
        padding: 3px 15px 0px !important;
    }
    .ChartPicker .dropdown-menu
    {
        margin-top: -5px;
        z-index: 501;
    }
    .ChartPicker .dropdown-menu li a
    {
        padding: 2px 14px !important;
        text-decoration: none;
    }
    .ChartPicker .dropdown-menu li a:hover
    {
        background: #3a65ce;
        color: #fff;
    }
    
    .ChartPicker .dropdown-toggle
    {
        margin-left: 0px;
        padding-left: 14px !important;
    }
    
    .ChartPicker.open .dropdown-toggle
    {
        border: 1px #365ebf solid !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }
    
    .ChartPicker .name
    {
        font-size: 13px !important;
    }
    
    .ChartPicker .caret
    {
        vertical-align: 3px;
    }

.qbMultiselect .ui-multiselect-checkboxes label{font-weight: normal;}

.DeleteReportWarning {
    color: red;
    font-weight: bold;
}

#calWeekStart td {
    vertical-align: top;
}

#calWeekStart .calWeekStartPicker {
    padding-top: 0;
}

#calWeekStart .calWeekStartPicker > div {
    line-height: 1.7;
}
#appWeekStartOption {
    font-style: italic;
}

#weekStart {
    width: 100px;
}
#weekStart:disabled {
    background: #eee;
}

#rcc .colorFormula {
    vertical-align: top;
    padding-right: 20px;
}

#topTable .disabledText {
    color: rgb(204, 204, 204);
}

#topTable .disabledText.HintText {
    display: inline;
}

#sortOptions {
    white-space: no-wrap;
}


.WithTopSpacer {
    display: block;
    padding-top: 15px;
}

#sortGroup .orderInfo {
    margin-left: 15px;
    margin-top: 8px;
}

#sortGroup .orderInfo.disabledText {
    display: block;
}

#topTable .ToggleSection > .AdditionalText {
    font-weight: normal!important;
    vertical-align: middle;
}

#newSourceDataHeading input, #summaryFormulaOptions input {
    margin-top: 0px!important;
    margin-right: 2px;
}