/* GLOBAL FORM ELEMENTS */
fieldset{width:934px !important; padding:0;}
.requiredIcon { display:none !important; }
.fieldContainer label{width:100%;}

.profileContainer fieldset{width: 270PX !important; padding:6px !important;}
.profileContainer .profileLayoutLayout{width:280PX !important;padding:0 !important;}
.profileContainer .profileLayoutLayout .oneColumn { float:left;  width:264px; clear:none; } /* form.width - 6px */
.profileContainer .profileLayoutLayout .twoColumn { float:left;  width:129px; clear:none; } /* form.width - 6px */
.profileContainer .profileLayoutLayout .pos1 { clear:both; margin-right:4px !important; margin-top:0 !important;}
.profileContainer .profileLayoutLayout .pos2,
.profileContainer .profileLayoutLayout .pos3,
.profileContainer .profileLayoutLayout .pos4 { margin-right:4px !important;  margin-top:5px !important;}
.profileContainer label{width:100%;}
.profileContainer .fieldContainer{padding-bottom:5px !important;}
.profileContainer .formField{display:block !important;}
.profileContainer .fieldContainer.required label{font-weight:bold !important;}
.profileContainer .fieldContainer.required .formField label{font-weight:normal !important;}


/* STANDARD FORM (1024x700 RadWindow) */
.formContainer{margin-top: -1px !important;}
.formContainer .columnLayout .SectionHeader { line-height:18pt; padding:20px 0 0 0; clear:both; border-bottom:1px solid #CACACA; overflow:hidden; zoom:1; margin-bottom:10px; font-family:Arial, Helvetica, sans-serif; color:#4D4D4D; font-size:12pt; }
.formContainer .columnLayout .SectionContainerObject { overflow:hidden; float:none; clear:both; padding-left:2px; }
.formContainer .columnLayout .SectionSubHeader {  padding:0 0 10px 0; clear:both; overflow:hidden; zoom:1; color:#426162; font-size:12px; }
.formContainer .columnLayout .buttonContainer { margin-top:10px;margin-bottom:10px; }

.formContainer .columnLayout{width: 960px;}
.formContainer .columnLayout { text-align:left; margin:0; float:left; padding-bottom:20px; clear:both; }
/* Column width = floor(fieldset.width / N) - 6, where the fieldset content
   width is 934 (global fieldset rule). The -6 reserves a 4px right gutter per
   column plus 2px of safety, so each row keeps 2*N px of slack inside the
   fieldset for the controls' borders. Keep every level on this formula. */
.formContainer .columnLayout .oneColumn { float:left;  width:928px; clear:none; } /* floor(934/1) - 6 */
.formContainer .columnLayout .twoColumn { float:left;  width:461px; clear:none; } /* floor(934/2) - 6 */
.formContainer .columnLayout .threeColumn { float:left; width:305px; clear:none; } /* floor(934/3) - 6 */
.formContainer .columnLayout .fourColumn { float:left; width:227px; clear:none; } /* floor(934/4) - 6 */
.formContainer .columnLayout .fiveColumn { float:left; width:180px; clear:none; } /* floor(934/5) - 6 */
.formContainer .columnLayout .sixColumn { float:left; width:149px; clear:none; } /* floor(934/6) - 6 */
.formContainer .columnLayout .pos1 { clear:both; margin-right:4px !important; margin-top:5px !important;}
.formContainer .columnLayout .pos2,
.formContainer .columnLayout .pos3,
.formContainer .columnLayout .pos4,
.formContainer .columnLayout .pos5,
.formContainer .columnLayout .pos6 { margin-right:4px !important;  margin-top:5px !important;}
/* LC field ClearAfter="true": ends a floated field row so following non-field content starts below it. */
.lcClearAfter { clear:both; }
.formContainer .fieldContainer.required label{font-weight:bold !important;}
.formContainer .fieldContainer.required label .rlbText{font-weight:normal !important;}

/* CHILD FORM (960 RadWindow) */
.childFormContainer{margin-top: -1px !important;}
.childFormContainer .columnLayout .SectionHeader { line-height:18pt; padding:20px 0 0 0; clear:both; border-bottom:1px solid #CACACA; overflow:hidden; zoom:1; margin-bottom:10px; font-family:Arial, Helvetica, sans-serif; color:#4D4D4D; font-size:12pt; }
.childFormContainer .columnLayout .SectionContainerObject { overflow:hidden; float:none; clear:both; padding-left:2px; }
.childFormContainer .columnLayout .SectionSubHeader {  padding:0 0 10px 0; clear:both; overflow:hidden; zoom:1; color:#426162; font-size:12px; }
.childFormContainer .columnLayout .buttonContainer { margin-top:10px;margin-bottom:10px; }

.childFormContainer fieldset{width:872px !important; padding:12px !important;}
.childFormContainer .columnLayout{width: 896px;}
.childFormContainer .columnLayout { text-align:left; margin:0; float:left; padding-bottom:20px; clear:both; }
.childFormContainer .columnLayout .oneColumn { float:left;  width:866px; clear:none; } /* floor(872/1) - 6 */
.childFormContainer .columnLayout .twoColumn { float:left;  width:430px; clear:none; } /* floor(872/2) - 6 */
.childFormContainer .columnLayout .threeColumn { float:left; width:284px; clear:none; } /* floor(872/3) - 6 */
.childFormContainer .columnLayout .fourColumn { float:left; width:212px; clear:none; } /* floor(872/4) - 6 */
.childFormContainer .columnLayout .fiveColumn { float:left; width:168px; clear:none; } /* floor(872/5) - 6 */
.childFormContainer .columnLayout .sixColumn { float:left; width:139px; clear:none; } /* floor(872/6) - 6 */
.childFormContainer .columnLayout .pos1 { clear:both; margin-right:4px !important; margin-top:5px !important;}
.childFormContainer .columnLayout .pos2,
.childFormContainer .columnLayout .pos3,
.childFormContainer .columnLayout .pos4,
.childFormContainer .columnLayout .pos5,
.childFormContainer .columnLayout .pos6 { margin-right:4px !important;  margin-top:5px !important;}
.childFormContainer label{width:100%;}
.childFormContainer .fieldContainer.required label{font-weight:bold !important;}
.childFormContainer .fieldContainer.required .formField label{font-weight:normal !important;}

/* GRANDCHILD FORM (910 RadWindow) */
.grandChildFormContainer{margin-top: -1px !important;}
.grandChildFormContainer .columnLayout .SectionHeader { line-height:18pt; padding:20px 0 0 0; clear:both; border-bottom:1px solid #CACACA; overflow:hidden; zoom:1; margin-bottom:10px; font-family:Arial, Helvetica, sans-serif; color:#4D4D4D; font-size:12pt; }
.grandChildFormContainer .columnLayout .SectionContainerObject { overflow:hidden; float:none; clear:both; padding-left:2px; }
.grandChildFormContainer .columnLayout .SectionSubHeader {  padding:0 0 10px 0; clear:both; overflow:hidden; zoom:1; color:#426162; font-size:12px; }
.grandChildFormContainer .columnLayout .buttonContainer { margin-top:10px;margin-bottom:10px; }

.grandChildFormContainer fieldset{width:822px !important; padding:12px !important;}
.grandChildFormContainer .columnLayout{width: 846px;}
.grandChildFormContainer .columnLayout { text-align:left; margin:0; float:left; padding-bottom:20px; clear:both; }
.grandChildFormContainer .columnLayout .oneColumn { float:left;  width:816px; clear:none; } /* floor(822/1) - 6 */
.grandChildFormContainer .columnLayout .twoColumn { float:left;  width:405px; clear:none; } /* floor(822/2) - 6 */
.grandChildFormContainer .columnLayout .threeColumn { float:left; width:268px; clear:none; } /* floor(822/3) - 6 */
.grandChildFormContainer .columnLayout .fourColumn { float:left; width:199px; clear:none; } /* floor(822/4) - 6 */
.grandChildFormContainer .columnLayout .fiveColumn { float:left; width:158px; clear:none; } /* floor(822/5) - 6 */
.grandChildFormContainer .columnLayout .sixColumn { float:left; width:131px; clear:none; } /* floor(822/6) - 6 */
.grandChildFormContainer .columnLayout .pos1 { clear:both; margin-right:4px !important; margin-top:5px !important;}
.grandChildFormContainer .columnLayout .pos2,
.grandChildFormContainer .columnLayout .pos3,
.grandChildFormContainer .columnLayout .pos4,
.grandChildFormContainer .columnLayout .pos5,
.grandChildFormContainer .columnLayout .pos6 { margin-right:4px !important;  margin-top:5px !important;}
.grandChildFormContainer label{width:100%; height:20px; overflow:hidden;}
.grandChildFormContainer .fieldContainer.required label{font-weight:bold !important;}
.grandChildFormContainer .fieldContainer.required .formField label{font-weight:normal !important;}

/* GREAT-GRANDCHILD FORM (852 RadWindow) */
.greatGrandChildFormContainer{margin-top: -1px !important;}
.greatGrandChildFormContainer .columnLayout .SectionHeader { line-height:18pt; padding:20px 0 0 0; clear:both; border-bottom:1px solid #CACACA; overflow:hidden; zoom:1; margin-bottom:10px; font-family:Arial, Helvetica, sans-serif; color:#4D4D4D; font-size:12pt; }
.greatGrandChildFormContainer .columnLayout .SectionContainerObject { overflow:hidden; float:none; clear:both; padding-left:2px; }
.greatGrandChildFormContainer .columnLayout .SectionSubHeader {  padding:0 0 10px 0; clear:both; overflow:hidden; zoom:1; color:#426162; font-size:12px; }
.greatGrandChildFormContainer .columnLayout .buttonContainer { margin-top:10px;margin-bottom:10px; }

.greatGrandChildFormContainer fieldset{width:764px !important; padding:12px !important;}
.greatGrandChildFormContainer .columnLayout{width: 788px;}
.greatGrandChildFormContainer .columnLayout { text-align:left; margin:0; float:left; padding-bottom:20px; clear:both; }
.greatGrandChildFormContainer .columnLayout .oneColumn { float:left;  width:758px; clear:none; } /* floor(764/1) - 6 */
.greatGrandChildFormContainer .columnLayout .twoColumn { float:left;  width:376px; clear:none; } /* floor(764/2) - 6 */
.greatGrandChildFormContainer .columnLayout .threeColumn { float:left; width:248px; clear:none; } /* floor(764/3) - 6 */
.greatGrandChildFormContainer .columnLayout .fourColumn { float:left; width:185px; clear:none; } /* floor(764/4) - 6 */
.greatGrandChildFormContainer .columnLayout .fiveColumn { float:left; width:146px; clear:none; } /* floor(764/5) - 6 */
.greatGrandChildFormContainer .columnLayout .sixColumn { float:left; width:121px; clear:none; } /* floor(764/6) - 6 */
.greatGrandChildFormContainer .columnLayout .pos1 { clear:both; margin-right:4px !important; margin-top:5px !important;}
.greatGrandChildFormContainer .columnLayout .pos2,
.greatGrandChildFormContainer .columnLayout .pos3,
.greatGrandChildFormContainer .columnLayout .pos4,
.greatGrandChildFormContainer .columnLayout .pos5,
.greatGrandChildFormContainer .columnLayout .pos6 { margin-right:4px !important;  margin-top:5px !important;}
.greatGrandChildFormContainer label{width:100%; height:20px; overflow:hidden;}
.greatGrandChildFormContainer .fieldContainer.required label{font-weight:bold !important;}
.greatGrandChildFormContainer .fieldContainer.required .formField label{font-weight:normal !important;}

/* GREAT-GREAT-GRANDCHILD FORM (768 RadWindow) */
.greatGreatGrandChildFormContainer{margin-top: -1px !important;}
.greatGreatGrandChildFormContainer .columnLayout .SectionHeader { line-height:18pt; padding:20px 0 0 0; clear:both; border-bottom:1px solid #CACACA; overflow:hidden; zoom:1; margin-bottom:10px; font-family:Arial, Helvetica, sans-serif; color:#4D4D4D; font-size:12pt; }
.greatGreatGrandChildFormContainer .columnLayout .SectionContainerObject { overflow:hidden; float:none; clear:both; padding-left:2px; }
.greatGreatGrandChildFormContainer .columnLayout .SectionSubHeader {  padding:0 0 10px 0; clear:both; overflow:hidden; zoom:1; color:#426162; font-size:12px; }
.greatGreatGrandChildFormContainer .columnLayout .buttonContainer { margin-top:10px;margin-bottom:10px; }

.greatGreatGrandChildFormContainer fieldset{width:680px !important; padding:12px !important;}
.greatGreatGrandChildFormContainer .columnLayout{width: 704px;}
.greatGreatGrandChildFormContainer .columnLayout { text-align:left; margin:0; float:left; padding-bottom:20px; clear:both; }
.greatGreatGrandChildFormContainer .columnLayout .oneColumn { float:left;  width:674px; clear:none; } /* floor(680/1) - 6 */
.greatGreatGrandChildFormContainer .columnLayout .twoColumn { float:left;  width:334px; clear:none; } /* floor(680/2) - 6 */
.greatGreatGrandChildFormContainer .columnLayout .threeColumn { float:left; width:220px; clear:none; } /* floor(680/3) - 6 */
.greatGreatGrandChildFormContainer .columnLayout .fourColumn { float:left; width:164px; clear:none; } /* floor(680/4) - 6 */
.greatGreatGrandChildFormContainer .columnLayout .fiveColumn { float:left; width:130px; clear:none; } /* floor(680/5) - 6 */
.greatGreatGrandChildFormContainer .columnLayout .sixColumn { float:left; width:107px; clear:none; } /* floor(680/6) - 6 */
.greatGreatGrandChildFormContainer .columnLayout .pos1 { clear:both; margin-right:4px !important; margin-top:5px !important;}
.greatGreatGrandChildFormContainer .columnLayout .pos2,
.greatGreatGrandChildFormContainer .columnLayout .pos3,
.greatGreatGrandChildFormContainer .columnLayout .pos4,
.greatGreatGrandChildFormContainer .columnLayout .pos5,
.greatGreatGrandChildFormContainer .columnLayout .pos6 { margin-right:4px !important;  margin-top:5px !important;}
.greatGreatGrandChildFormContainer label{width:100%; height:20px; overflow:hidden;}
.greatGreatGrandChildFormContainer .fieldContainer.required label{font-weight:bold !important;}
.greatGreatGrandChildFormContainer .fieldContainer.required .formField label{font-weight:normal !important;}

/* MISC */
.checkboxList Label{float:right !important;}
.RadComboBoxDropDown .rcbItem > label, .RadComboBoxDropDown .rcbHovered > label
{
    margin:0 !important;
    display:inline !important;
}

/* LC grouped combo picker (KPI tile picker etc.): when LCComboBox renders
   IsSeparator group-header items between clusters, hide the per-item
   checkbox on the header (separators are non-selectable, the checkbox is
   meaningless) and indent the real items so the visual hierarchy reads as
   "group then children". Scoped to .lc-grouped-dropdown so only combos
   that opted in get the new styling. */
.lc-grouped-dropdown .rcbSeparator > .rcbCheckBox,
.lc-grouped-dropdown .rcbSeparator input[type=checkbox] {
    display: none !important;
}
.lc-grouped-dropdown .rcbSeparator {
    background: #f0f0f0;
    color: #222;
    cursor: default;
    opacity: 1 !important;
    /* No padding/border overrides -- inherit the default rcbItem box so the
       header row is the same height as a hovered/selected item row. */
}
.lc-grouped-dropdown .rcbSeparator,
.lc-grouped-dropdown .rcbSeparator > label,
.lc-grouped-dropdown .rcbSeparator > span {
    font-weight: bold !important;
}
.lc-grouped-dropdown .rcbItem:not(.rcbSeparator),
.lc-grouped-dropdown .rcbHovered:not(.rcbSeparator) {
    padding-left: 22px !important;
}

.radioButtonList label{
    display:inline !important;
}

/* Phase 16 -- field labels for role-restricted fields render in red so the
   restriction is visually obvious wherever the field appears. Used by
   LCFieldBase when LimitedRole > 0, and by hand-written inline fields that
   follow the same convention. */
.rfdAspLabel.restricted, .restricted {
    color: red !important;
}

/* Dual list items keep their actions reachable. A long item label used to push
   the row wider than the list box (items are nowrap, the list ul sizes to its
   content), which carried the floated per-item edit pencil past the right edge
   of the box where it could not be clicked -- the longest-titled assigned
   client campaign on a vendor campaign Selling tab was simply the first item
   long enough to cross it. Pin the list to the box width and WRAP the item
   label so the full title stays readable on extra lines (see the label rule
   below) while the pencil stays pinned in a reserved right gutter. Scoped to
   [data-lcdlb] (the LCDualListBox wrapper) so other RadListBox instances are
   untouched.

   A page-supplied item template (e.g. the per-item weight/margin editors) used
   to be left alone here and simply clipped. That held while an item carried two
   or three editors, but Per Client Campaign Caps on the vendor Selling tab adds
   up to five more inline fields, and past roughly three the rest rendered beyond
   the box edge where overflow:hidden made them invisible AND unreachable --
   measured on a live campaign, the Max Monthly input's right edge landed 29px
   outside a 459px box. The template run now WRAPS like the label does: the
   fields flow onto extra lines inside the box, the item grows taller, and the
   list's own vertical scroll absorbs the added height. The pencil is absolutely
   positioned in the reserved right gutter below, so it stays pinned and
   clickable either way. */
[data-lcdlb] .rlbGroup > ul.rlbList {
    width: 100%;
    box-sizing: border-box;
}
[data-lcdlb] .rlbItem {
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
    /* Wrapped templates are taller than the skin's fixed item height; without
       this the extra lines are clipped vertically instead of horizontally. */
    height: auto;
}
[data-lcdlb] .rlbItem > .rlbTemplate {
    display: block;
    overflow: hidden;
    position: relative;
    padding-right: 24px;
    /* The inline run inherits nowrap from the skin -- this is what lets the
       per-item editors wrap instead of overflowing past the box edge. */
    white-space: normal;
}
/* The pencil sits in that reserved gutter and above the row: floating it was
   not enough, because a page-supplied item template (the per-item weight
   editors) is a nowrap inline run that overflows to the right and painted
   over the float, so the icon was inside the box but not clickable. */
[data-lcdlb] .rlbItem > .rlbTemplate > a.lcItemEditBtn {
    position: absolute;
    top: 1px;
    right: 2px;
    float: none;
    margin: 0;
    z-index: 2;
}
[data-lcdlb] .rlbItem > .rlbTemplate > span[id$="lblItemText"],
[data-lcdlb] .rlbItem .lcItemLabel {
    display: block;
    /* Show the FULL client campaign title rather than clipping it: wrap within
       the fixed box width so long titles run onto extra lines. The list keeps
       its vertical scroll bar for the added height, and the pencil stays pinned
       in the reserved right gutter (below), so every campaign is fully readable
       AND always editable without horizontal scrolling. */
    white-space: normal;
    overflow-wrap: anywhere;
}
/* A page-supplied item template renders the item name as a bare text node,
   which cannot be truncated. Wrap that name in <span class="lcItemLabel"> in
   the template and it gets the same ellipsis as the built-in label. */
