﻿#RulesSummary h3
{
    color:Black;
}

div.RuleSummary-Package-Outbound, div.RuleSummary-Package-Inbound
{
	margin-bottom:20px !important;
}

div.RuleSummary-Package-Outbound
{
    padding:40px;
    margin:0px 20px;
    overflow:hidden;
    position:relative;
    z-index:2;
    clear:both;
    
    -moz-border-radius:10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius:10px;
    border-radius:10px;
}

div.RuleSummary-Package-Outbound .RuleSummary-Package-Watermark
{
    color:#ffece9;
}

div.RuleSummary-Package-Inbound
{
    padding:40px;
    margin:0px 20px;
    overflow:hidden;
    position:relative;
    z-index:2;
    -moz-border-radius:10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius:10px;
    border-radius:10px; 
    clear:both;
}

div.RuleSummary-Package-Background
{
    position:absolute;
    left:10px;
    right:10px;
    top:10px;
    bottom:10px;
    display:block;
    -moz-border-radius:5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius:5px;
    border-radius:5px;
    z-index:-2;
}

div.RuleSummary-Package-Inbound  .RuleSummary-Package-Background
{
    background-color:#cfffb7;
}
div.RuleSummary-Package-Outbound  .RuleSummary-Package-Background
{
    background-color:#ffdbd5;
}

div.RuleSummary-Package-Inbound .RuleSummary-Package-Watermark
{
    color:#e3ffd5;
}

div.RuleSummary-Package h3
{    
    border-bottom:solid 1px #D3D3D3;
}

.RuleSummary-Package-Watermark
{
    bottom:-50px;
    font-family:trebuchet MS;
    font-size:140px;
    font-weight:bold;
    position:absolute;
    right:0px;
    text-align:right;
    width:600px;
    z-index:-1;
    display:none;
}

div.RuleSummary-Rule
{
    font-size:x-small;
    font-weight:normal;
    padding-top:20px;
    z-index:10;
}

#RuleSummaryOptions
{
    padding-bottom: 20px;    
}

#RuleSummaryOptions li
{
    padding-right:20px;
}

div.Policies, .Policy
{
    margin-top:45px;
}

.Policies .data-table .Policy-Name
{
    padding-left:30px !important;
}
.Policy-NumberOfRules
{
    width:100px;
    text-align:center;
}
.Policy-Controls
{
    width:20px;
}

.Policy-Inbound
{
    background-image: url('Images/PolicyInbound.gif') !important;
    background-repeat:no-repeat !important;
    background-position:8px 3px !important;
}
.Policy-Outbound
{
    background-image: url('Images/PolicyOutbound.gif') !important;
    background-repeat:no-repeat !important;
    background-position:8px 3px !important;
}
.Policy-Disabled
{
    background-image: url('Images/PolicyDisabled.gif') !important;
    background-repeat:no-repeat !important;
    background-position:8px 3px !important;
}
.PolicyType-DeadLetter .Policy-Outbound
{
    background-image: url('Images/policy-dl-outbound.gif') !important;
    background-repeat:no-repeat !important;
    background-position:8px 3px !important;
}
.PolicyType-DeadLetter .Policy-Inbound
{
    background-image:url('Images/policy-dl-inbound.gif') !important;
    background-repeat:no-repeat !important;
    background-position:8px 3px !important;
}

.ReceiverRules li, .StandardRules li, .DeadLetterRules li
{
    position:relative;
    display:block;
    width:100%;
}

.ReceiverRules li span, .StandardRules li span, .DeadLetterRules li span
{
    padding-left:40px;
}
.ReceiverRules li span span, .StandardRules li span span, .DeadLetterRules li span span
{
    padding-left:0px;
}
.ReceiverRules li span input, .StandardRules li span input, .DeadLetterRules li span input
{
    margin-right:5px;
}

.StandardRule-True
{
    background-image:url('Images/rule-enabled.gif') !important;
    background-repeat:no-repeat !important;
    background-position:20px 5px !important;
}
.StandardRule-False
{
    background-image: url('Images/rule-disabled.gif') !important;
    background-repeat:no-repeat !important;
    background-position:20px 5px !important;
}
.ReceiverRule-True
{
    background-image:url('Images/rule-receiver-enabled.gif') !important;
    background-repeat:no-repeat !important;
    background-position:20px 5px !important;
}
.ReceiverRule-False
{
    background-image:url('Images/rule-receiver-disabled.gif') !important;
    background-repeat:no-repeat !important;
    background-position:20px 5px !important;
}
.DeadLetterRule-True
{
    background-image:url('Images/rule-deadletter-enabled.gif') !important;
    background-repeat:no-repeat !important;
    background-position:20px 5px !important;
}
.DeadLetterRule-False
{
    background-image:url('Images/rule-deadletter-disabled.gif') !important;
    background-repeat:no-repeat !important;
    background-position:20px 5px !important;
}
.RuleControls
{
    position:absolute;
    top:2px;
    right:0px;
}
.Controls-Edit, .Controls-Delete, .Controls-UnDelete, .Controls-Disable, .Controls-Duplicate, .Controls-Copy
{
    display:block;
    width:16px;
    height:16px;
    float:left;
    background: transparent url('Images/controls.gif') no-repeat 0px 0px;
    margin:2px 4px;
}
.Controls-Edit
{
    background-position:-0px -16px !important;
}
.Controls-Edit:hover
{
    background-position:0px 0px !important;
}
.Controls-Delete, .Controls-DeleteAll
{
    background-position:-16px -16px !important;
}
.Controls-Delete:hover, .Controls-AllDelete:hover
{
    background-position:-16px 0px !important;
}
.Controls-Save,.Controls-Update
{
    background-position:-32px -16px !important;
}
.Controls-Save:hover, .Controls-Update:hover
{
    background-position:-32px 0px !important;
}
.Controls-Cancel
{
    background-position:-48px -16px !important;
}
.Controls-Cancel:hover
{
    background-position:-48px 0px !important;
}
.Controls-UnDelete
{
    background-position:-128px -16px !important;
}
.Controls-UnDelete:hover
{
    background-position:-128px 0px !important;
}
.Controls-Duplicate
{
    background-position:-112px -16px !important;
}
.Controls-Duplicate:hover
{
    background-position:-112px 0px !important;
}
.Controls-Copy
{
    background-position:-80px -16px !important;
}
.Controls-Copy:hover
{
    background-position:-80px 0px !important;
}
.Controls-Process
{
    background-position:-144px -16px !important;
}
.Controls-Process:hover
{
    background-position:-144px 0px !important;
}
th.Policy-NameHeader
{
    text-align:left;
    padding-left:30px;
}
td.Policy-Enabled 
{
    width:120px;
    text-align:center;
}
td.Policy-Enabled > div 
{
    display:inline-block;
    margin:auto;
}
td.Policy-UserGroupExceptions
{
    width:120px;
    text-align:center;
}
.RuleComment
{
    font-style:italic;
    display:block;
    font-size:x-small;
    color:#666666;
}
.PolicyRules-PolicyName
{
    margin-bottom:10px;
}

.RuleType
{
}

.RuleType span
{
    display:block;
    font-size:x-small;
    padding: 4px 40px 30px;
}

.RuleView-UserGroups, .RuleView-IpGroups
{
    position:relative;
    width:100%;
    height:300px;
}
.RuleView-UserGroups th, .RuleView-IpGroups th
{
    font-weight:bold;
    padding: 0px 10px;
    height:20px;
}
.RuleView-UserGroups td, .RuleView-IpGroups td
{
    vertical-align:top;
    position:relative;
    padding: 0px 10px;
}
.RuleView-UserGroups .UserGroupLists, .RuleView-IpGroups .IpGroupLists
{
    position:absolute;
    left:0px;
    right:0px;
    bottom:0px;
    top:20px;
}
.RuleView-UserGroups .UserGroupsAvailable,  .RuleView-UserGroups .UserGroupsSelected, .RuleView-IpGroups .IpGroupsAvailable,  .RuleView-IpGroups .IpGroupsSelected
{
    border:dotted 1px #d3d3d3;
    display:block;
    width:48.5%;
    margin-right:2px;
    overflow-y:auto;
    *overflow-y:none;
    top:30px;
    bottom:10px;
    z-index:1;
    overflow-x:hidden;
    height:100%;
    *height:330px;
    float:left;
    clear:none;
}
.RuleView-UserGroups .UserGroupTypes
{
    *height:100%;
    *overflow-y:auto;
    *position:relative;
}
.RuleView-UserGroups .UserGroupTypes h4, .RuleView-UserGroupExceptions .UserGroupTypes h4
{
    border-bottom:1px dotted #D3D3D3;
    padding:3px 0px 3px 5px;
    position:relative;
    *position:static;
    cursor:default;
}
.RuleView-UserGroups .UserGroupTypes h4 em, .RuleView-UserGroupExceptions .UserGroupTypes h4 em
{
    position:absolute;    
    right:5px;
    top:4px;
    *top:auto;
    *margin-top:3px;
}
.RuleView-UserGroups .UserGroupsAvailable-Single, .RuleView-IpGroups .IpGroupsAvailable-Single
{
    *position:relative;
    *overflow-y:auto;
    *height:100%;
    *top:0px;
}
.RuleView-UserGroups .UserGroupsAvailable-Single ul, .RuleView-IpGroups .IpGroupsAvailable-Single ul
{
    *overflow-y:hidden;
}
.RuleView-UserGroups .UserGroupsAvailable-Single 
.RuleView-UserGroups .UserGroupsAvailable-Multiple li
.RuleView-IpGroups .IpGroupsAvailable-Single
{
    border-bottom:1px dotted #D3D3D3;
    padding:3px 0px 3px 20px;
    position:relative;
    *position:static;
}
.RuleView-UserGroups .UserGroupLists .UserGroupTypes, ul .RuleView-IpGroups .IpGroupLists
{
	padding: 0px !important;
	margin: 0px !important;	
    min-height:20px;
}
.RuleView-UserGroups-List, .RuleView-IpGroups-List
{
    padding:0px;
    width:100%;
    *width:auto;
    height:100%;
    *height:auto;
    padding:0px !important;
    margin:0px !important;
}
.UserGroupsAvailable-Single ul, .IpGroupsAvailable-Single ul
{
    *height:100%;
    *overflow:auto;
}
#UserGroupsAvailable, #IpGroupsAvailable
{
    left:0px;
}
#UserGroupsSelected, #IpGroupsSelected
{
    right:0px;
    *height:100%;
    *overflow:auto;
}
.RuleView-UserGroups div.AvailableLabel, .RuleView-IpGroups div.AvailableLabel 
{
    position:absolute;
    left:5px;
    top:2px;
    width:50%;
    text-align:left;
}
.RuleView-UserGroups div.SelectedLabel, .RuleView-IpGroups div.SelectedLabel 
{
    position:absolute;
    right:0px;
    top:2px;
    width:49%;
    text-align:left;
}
.RuleView-UserGroups-List li, .RuleView-UserGroupExceptions li.UserGroup, .RuleView-IpGroups-List li
{
    border-bottom:1px dotted #d3d3d3;
    padding:4px; 
}

.RuleValue-NoParameters
{
    color:Red;
}
.RuleValue-Disabled
{
    color:#999999 !important;
}
.RuleValue-Parameters
{
    color:Blue;
}

.UserGroup span, .UserGroup label, .IpGroup span, .IpGroup label
{
    background:transparent url('Images/sprite-users.png') no-repeat 0px 0px;
    height:16px;
    padding-left:24px;
}

.UserGroup-Internal span, .UserGroup-AllDomains span, .UserGroup-Licensed span,
.UserGroup-Internal label, .UserGroup-AllDomains label, .UserGroup-Licensed label,
.IpGroup label
{
    background-position:4px -96px;
}
.UserGroup-External span, .UserGroup-External label
{
    background-position: 4px -120px;
}
.UserGroup-ConnectorAgent span, .UserGroup-ConnectorAgent label
{
    background-position: 4px -144px;
}
.UserGroup-Internal.master span, .UserGroup-Internal.master label
{
    background-position: 4px -169px;
}
.UserGroup-External.master span, .UserGroup-External.master label
{
    background-position: 4px -190px;
}

#SizeRange table
{
    padding-left:30px;
}

#SizeRange td
{
    padding-left:3px;
}

#NameAttachments table
{
    padding-top:10px;
}

table.datatable
{
    width:100%;
}
table.datatable td
{
    border-bottom: dotted 1px #d3d3d3;
    padding:3px;
}

.controls
{
    width:50px;
    text-align:right;
}

#RuleViewWindow .controls, #HeaderMatchRuleWizard .controls
{
    background:transparent !important;
}

.controls a
{
    display:inline-block;
    width:16px;
    height:16px;
    margin:3px 1px;
    background: transparent url('Images/Controls.gif') no-repeat 0px 0px;    
}

.controls .Edit
{
    background-position:0px -16px;   
}

.controls .Edit:hover
{
    background-position:0px 0px;  
}

.controls .Delete
{
    background-position:-16px -16px;   
}
.controls .Delete:hover
{
    background-position:-16px 0px;  
}
.controls .Undelete
{
    background-position:-128px -16px;   
}
.controls .Undelete:hover
{
    background-position:-128px 0px;  
}
.controls .Update
{
    background-position:-32px -16px;   
}

.controls .Update:hover
{
    background-position:-32px 0px;  
}
.controls .Cancel
{
    background-position:-48px -16px;   
}

.controls .Cancel:hover
{
    background-position:-48px 0px;  
}
.controls .Add
{
    background-position:-64px -16px;   
}

.controls .Add:hover
{
    background-position:-64px 0px;  
}

#RuleViewWindow #TextCensors, #RuleViewWindow #Templates, #RuleViewWindow #Classifications, #RuleViewWindow #Stamps, #RuleViewWindow #ReputationServices
{
    position:relative; 
    height:100%;   
    margin-top:0px !important;
    width:100%;
}

#RuleViewWindow #TextCensors ul, #RuleViewWindow #Templates ul, #RuleViewWindow #Classifications ul, #RuleViewWindow #Stamps ul, #RuleViewWindow #ReputationServices ul
{
    position:absolute;
    overflow:auto;
    left:0px;
    right:0px;
    bottom:0px;
    top:35px;
    border:solid 1px #d3d3d3;
    padding:4px;
}
#RuleViewWindow #ReputationServices ul
{
    margin:0px !important;
}
#RuleViewWindow #Templates ul, #RuleViewWindow #Classifications ul, #RuleViewWindow #Stamps ul
{
    top:20px;
}

#RuleViewWindow #ParentFileTypes
{
    position:relative;
    height:100%;
    width:100%;
}

ul.ParentFileTypes
{
    position:absolute;
    top:40px;
    left:0px;
    right:0px;
    bottom:0px;
    overflow:auto;
    border:solid 1px #d3d3d3;
    padding:4px;
}

div.NumberAttachment
{
    margin: 5px 15px;
}

#VirusScan
{
    position:relative;
}

#Scanners
{
    position:absolute;
    left:0px;
    right:0px;
    height:100px;
    border:solid 1px #d3d3d3;
    overflow:auto;
    padding:4px;
    margin:0px !important;
}

#ScannersOptions
{
    margin-top:120px;
}

#ScannersOptions li ul
{
    padding-left:16px;
}
#ScannersOptions li ul li
{
    position:relative;
}
#pnlAndNameMatches
{
    position:absolute;
    left:150px;
    right:0px;
    top:-2px;
}
#pnlAndNameMatches input
{
    width:100%;
}

li.Selected
{
    color:Red;
    border:solid 1px #d3d3d3;
}

#CategoryScript
{
    position:relative;
    height:100%;
    width:100%;
}
#CategoryScriptList
{
    border:1px solid #d3d3d3;
    padding:4px;
    position:absolute;
    left:0px;
    right:0px;
    height:40%;   
    overflow:auto;
    margin:0px !important;
    top:20px;
}

#FilterByType
{
    position:absolute;
    top:40%;
    margin-top:40px;
    left:0px;
}

#FilterByType li ul
{
    margin-left:16px;
}
#SubCategories
{
    border:1px solid #d3d3d3;
    padding:4px;
    position:absolute;
    top:40%;
    margin-top:104px;
    margin-bottom: 0px;
    left:0px;
    right:0px;
    bottom:0px;
    overflow:auto;    
}

#SubCategories dd
{
    margin-left:18px;
    right:0px;
    font-style:italic;
    font-size:70%;
    border-bottom:solid 1px #d3d3d3;
    cursor:default;
}

#HeaderMatchRules ul
{
    margin-bottom:10px;
}
#HeaderMatchRules li
{
    position:relative;
    border-bottom: dotted 1px #d3d3d3;
    padding:3px 0px;
    margin-top:3px;
}
#HeaderMatchRules li span
{
    margin-left:65px;
}
#HeaderMatchRules div.controls
{
    position:absolute;
    left:12px;    
}

#HeaderMatchRules .AddButton
{
    margin-left:52px;
    width:80px;
}

.modalprevious
{
    float:left !important;
    margin-left:12px !important;
}
#HeaderMatchRuleWizard table
{
    width:100%;
}

#HeaderMatchRuleWizard table td.Label
{
    width:120px;
    text-align:right;
    vertical-align:top;
    padding-right:10px;
    position:relative;
}
#HeaderMatchRuleWizard table input[type=text], #HeaderMatchRuleWizard table textarea
{
    width:100%;
    *width:98%;
}
#HeaderMatchRuleWizard table #hmrwRuleName
{
    padding-right:4px;
}
#HeaderMatchRuleWizard
{
    position:relative;
}
#hmrwFields
{
    position:absolute;
    left:150px;
    right:15px;
    bottom:4px;
    top:124px;
    *top:114px;
}
#hmrwFields ul
{
    position:absolute;
    left:0px;
    right:0px;
    top:0px;
    bottom:24px;
    border:solid 1px #d3d3d3;
    overflow:auto;
    margin: 1px !important;
}
#hmrwFields ul.readonly
{
	bottom:0px !important;
}
#hmrwFields ul li 
{
    position:relative;
    border-bottom: dotted 1px #d3d3d3;
    padding:5px;
}
#hmrwFields ul li .controls
{
    width:60px;
}

#hmrwFields ul li label
{
    position:absolute;
    left:70px;
    top:6px;
    right:6px;
}
#hmrwFields ul li label input
{
    margin-top:-2px;
}

#hmrwFields .AddInput
{
    position:absolute;
    left:0px;
    right:3px;
    bottom:2px;
    height:20px;
}
#hmrwFields .AddInput .controls
{
    margin-top:1px !important;
    width:59px !important;
}
#hmrwFields .AddInput .Input
{
    position:absolute;
    left:62px;
    right:0px;
    top:0px;
}
#hmrwParsingMethod
{
    width:200px;
}

#hmrwExclusionFilterExpand, #hmrwFieldSearchExpressionExpand, #hmrwFieldSubstituteExpressionExpand
{
    position:absolute;
    right:2px;
    *right:10px;
    top:2px;
    *top:4px;
    width:18px;
    height:16px;
    background: transparent url('Images/expandbutton.gif') no-repeat 0px 0px;
    border:none;
}
    #hmrwExclusionFilterExpand:hover, #hmrwFieldSearchExpressionExpand:hover, #hmrwFieldSubstituteExpressionExpand:hover {
        background-position: 0px -16px;
    }
    #hmrwExclusionFilterExpand.expanded, #hmrwFieldSearchExpressionExpand.expanded, #hmrwFieldSubstituteExpressionExpand.expanded {
        background-position: 0px -32px;
    }
    #hmrwExclusionFilterExpand.disabled, #hmrwFieldSearchExpressionExpand.disabled, #hmrwFieldSubstituteExpressionExpand.disabled {
        background-position: 0px -48px !important;
    }

#pnlExclusionFilter div.RegexMenu, #pnlFieldSearchExpression div.RegexMenu, #pnlFieldSubstituteExpression div.RegexMenu {
    margin-top: 17px;
}

#pnlMapFileName 
{
    display: flex;
}
#pnlMapLookupKey {
    display: flex;
}
.lblMapWidth {
    width: 120px;
}
ul.RegexMenu {
    border: solid 1px #d3d3d3;
    font-size: x-small;
    font-family: Verdana;
    background: white;
    padding: 3px;
}

.RegexMenu li
{
    cursor:pointer;
    border-top:solid 1px transparent;
    border-bottom:solid 1px transparent;
}
.RegexMenu li:hover
{
    color:Red;
    border-top:solid 1px #d3d3d3;
    border-bottom:solid 1px #d3d3d3;
}

#hmrwPage2 th
{
    height:40px;
    vertical-align:top;
    position:relative;
}
#hmrwPage2 th span
{
    font-size:medium;
    font-weight:bold;
    border-bottom:solid 1px black;
    padding:4px;
    margin-bottom:10px;
    position:absolute;
    left:0px;
    right:0px;
    text-align:left;    
}

#hmrwTest
{
    height:50px;
}

#Route
{
}

#Route .value
{
    clear:both;
    margin: 5px 0px;
    position:relative;
}

#PassMessage
{
    position:relative;
    height:100%;
    width:100%;
}
#PassMessage ul
{
    margin:0px !important;
}

#PassMessageRule
{
    position:absolute;
    top:80px;
    left:0px;
    right:0px;
    bottom:0px;
    border:solid 1px #d3d3d3;
    overflow:auto;
}
#PassMessageRule li
{
    position:relative;
}
#PassMessageRule li input
{
    position:absolute;
    top:0px;
    left:0px;
}
#PassMessageRule li label
{
    margin-left:20px;
    display:inline-block;
}    

#RuleWizard-Finalize input[type=text]
{
    width:400px;
    margin-bottom:4px;
}
#RuleWizard-Finalize textarea
{
    width:510px;
    height:40px;
    margin-bottom:8px;
    *clear:right;
}
#RuleWizard-Finalize dl 
{
    height:70px;
}
#RuleWizard-Finalize dl dt
{
    float:left;
    clear:left;
    display:block;
    width:90px;
}
#RuleWizard-Finalize dl dd
{
    float:left;
    *float:none;
    clear:right;
    display:block;
    width:530px;
    margin:0px;
    padding:0px;
}
#RuleWizard-Finalize dl + span
{
    clear:both;
    display:block;
}
#RuleSummary
{
    border: solid 1px #d3d3d3;
    position:absolute;
    left:20px;
    right:20px;
    bottom:116px;
    top:145px;
    overflow:auto;
    white-space:nowrap;
}

#SPF ul li
{
    width:110px;
    float:left;
    clear:none;
}
#SPF
{
    margin-top:-10px;
}
#SPF h3 
{
    clear:both;
    padding-top:10px;
    *padding-top:5px;
}
#SPF input[type=text]
{
    width:100%;
    *width:98%;
}
#BlockReceipt dl
{
    margin-top:10px;
}
#BlockReceipt dl dt
{
    float:left;
    width:160px;
    text-align:right;
    clear:none;    
    margin:2px 0px;
}
#BlockReceipt dl dd
{
    clear:right;
    margin:2px 10px 2px 170px;
    position:relative;
    right:0px;
}
#BlockReceipt dl dd input.MessageDescription
{
    position:absolute;
    left:0px;
    right:0px;
    width:100%;
}

#RuleSummaryPolicyType, #RuleSummaryDirection
{
	color:#767676;
}
#RuleSummaryPolicyType
{
	margin-top:10px;
}
#RuleSummaryDirection
{
    clear:right;
}
#RulesContents ul li
{
    min-height:34px;
    margin-bottom:30px;
    padding-left:40px;
}
#RulesContents ul li a
{
    display:block;
    clear:both;
}
#RulesContents ul li.RuleSummary
{
    background:transparent url('Images/RulesContents-RuleSummary.png') no-repeat left top;
}
#RulesContents ul li.PackagePolicies
{
    background:transparent url('Images/RulesContents-PackagePolicies.png') no-repeat left top;
}
#RulesContents ul li.AdvancedPolicies
{
    background:transparent url('Images/RulesContents-AdvancedPolicies.png') no-repeat left top;
}
#VirusScan .Scanner
{
    margin:0px 0px 5px 0px !important;    
}
.NumberAttachment ul
{
    margin:0px !important;
}
.FileTypesContainer
{
}
#FileTypes
{
    position:absolute;
    left:0px;
    right:0px;
    top:36px;
    bottom:56px;
    overflow:scroll;
    padding:10px 20px;
}
#PackagePolicies .PackagePolicy
{
	margin-top:20px;
}
#PackagePolicies .PackagePolicy .Policy-Name 
{
    padding-left:30px;
}
#BlendedThreats ul
{
	margin-top:10px;
}

#SpamEngine ul
{
	margin:3px 0px 10px;
}
#ReleaseAction > span:first-child
{
	padding-bottom:10px;
    display:block;
}
#ReleaseAction > ul > li
{
    padding:2px 0px;
}
#ReleaseAction > ul > li > label
{
    padding-left:3px;
}
#ReleaseAction > ul > li > ul
{
    position:absolute;
    top:176px;
    bottom:60px;
    left:35px;
    right:10px;
    overflow:auto;
    border:1px solid #d3d3d3;
}
.RuleView-UserGroups .UserGroupLists li, .RuleView-IpGroups .IpGroupLists li
{
    position:relative;
}
.RuleView-UserGroups .UserGroupLists .UserGroupsSelected li, .RuleView-IpGroups .IpGroupLists .IpGroupsSelected li
{
    padding-left:18px;
}
.RuleView-UserGroups .UserGroupLists .UserGroupsSelected div.controls, .RuleView-IpGroups .IpGroupLists .IpGroupsSelected div.controls
{
    position:absolute;
    left:-30px;  
    top:6px;
}
.RuleView-UserGroups .UserGroupLists .UserGroupsSelected div.controls a.Shift, .RuleView-IpGroups .IpGroupLists .IpGroupsSelected div.controls a.Shift
{
    background-position:-160px 0px !important;
}
.RuleView-UserGroups .UserGroupLists .UserGroupsAvailable div.controls, .RuleView-IpGroups .IpGroupLists .IpGroupsAvailable div.controls
{
    position:absolute;
    right:0px; 
    top:4px;
}
.RuleView-UserGroups .UserGroupLists .UserGroupsAvailable div.controls a.Shift, .RuleView-IpGroups .IpGroupLists .IpGroupsAvailable div.controls a.Shift
{
    background-position:-176px 0px !important; 
}

div.Policy ul li div.movecontrols, div#HeaderMatchRules ul li div.movecontrols
{
    position:absolute;
    left:0px;
    top:0px;    
    width:16px;
    height:32px;
    display:block;
}
div.Policy ul li div.movecontrols a, div#HeaderMatchRules ul li div.movecontrols a
{
    width:10px;
    height:10px;
    display:block;
    position:absolute;
    top:2px;
    left:4px;
    background:transparent url('Images/controls.gif') no-repeat -195px -16px;
}
div.Policy ul li div.movecontrols a.moveup:hover, div#HeaderMatchRules ul li div.movecontrols a.moveup:hover
{
    background-position: -195px 0px;
}
div.Policy ul li div.movecontrols a.movedown, div#HeaderMatchRules ul li div.movecontrols a.movedown
{
    top:10px;    
    background-position: -211px -16px;
}
div.Policy ul li div.movecontrols a.movedown:hover, div#HeaderMatchRules ul li div.movecontrols a.movedown:hover
{
    background-position: -211px 0px;
}

ul.AdvancedRulesHeader
{
    margin:0px;
    padding:2px 2px 2px 3px;
    height:18px;
}
ul.AdvancedRulesHeader li
{
    list-style:none;
    padding:0px;
    float:left;
}
ul.AdvancedRulesHeader li:first-child
{
    padding-left:44px;
    width:506px;
}
ul.AdvancedRulesHeader .header
{
    font-weight:bold;
}
.PackageRules span.RuleName
{
    width:470px;
    display:inline-block;
    *float:left;
    *clear:none;
}
.PackageRules div.itoggle
{
    display:inline-block;
    *float:left;
    *clear:none;
    position: relative;
    top: 3px;
}
.PackageRules .Policy-UserGroupExceptions
{
    display:inline-block;
    width:200px;
    text-align:center;
    vertical-align:top;
    line-height:18px;
    *float:left;
    *clear:none;
}
div.PackagePolicies-RulesHeader
{
    font-weight:bold;
    margin-top:20px;
    padding-left:0;
}
div.PackagePolicies-RulesHeader .Rule-NameHeader
{
    display:inline-block;
    width:450px;
    padding-left:45px;
    text-align:left;
    *float:left;
    *clear:none;
}
div.PackagePolicies-RulesHeader .Rule-EnabledHeader
{
    display:inline-block;
    width:100px;
    text-align:center;
    *float:left;
    *clear:none;
}
div.PackagePolicies-RulesHeader .Rule-UserMatching
{
    display:inline-block;
    width:160px;
    text-align:center;
    *float:left;
    *clear:none;
}
#mmses 
{
    display:block;
    margin-top:30px;
}
#RulesSummary .Outbound .RuleSummary-Package-Background
{
    border:solid 3px #FFC3C3;
}
#RulesSummary .Inbound .RuleSummary-Package-Background
{
    border:solid 3px #AFFF5E;
}
.RuleSummary-Rule
{
    margin-top:10px;
    border-top:solid 1px #999;
}
#RulesSummary .Receiver div
{
    background:#FFFFC2;   
}
#RulesSummary .Standard div
{
    background:#E6F5FF;   
}
#RulesSummary .DeadLetter div
{
    background:#E0E0E0;   
}
div.RuleSummary-Package-Outbound
{
    background-color:#FFDCDC;
}
div.RuleSummary-Package-Inbound
{
    background-color:#e3ffd5;
}
.AdvancedRulesHeader, .PackagePolicies-RulesHeader .Rule-NameHeader
{
    background-image: url("Images/sprite-expandcollapse.png");
    background-repeat:no-repeat;
    background-position:15px -36px;
    cursor:pointer;
}
.AdvancedRulesHeader.expand, .PackagePolicies-RulesHeader.expand .Rule-NameHeader
{
    background-position:15px -6px;
}


#RulesSummary .loading, #PackagePoliciesLoading
{
    padding:20px;
    border:1px solid #A6C9E2;
    background:transparent url('images/loadingdialog.gif') no-repeat 18px 12px;
    padding-left:50px;
    width:600px;
    margin:20px auto;
    text-align:center;
}
#RulesSummary .loading.failed
{    
    border:red 1px dotted;
    background:transparent url('images/error.png') no-repeat 12px 4px;
}
#pnlSearchPackages-Results .itoggle 
{
    margin-left:6px;
}
.Rules .Policy-UserGroupExceptions span, .Rules .Policy-UserGroupExceptions a
{
    padding-left:0 !important;
    white-space: nowrap;
    overflow: hidden;
    width: 170px;
    display: inline-block;
    text-overflow: ellipsis;
}