:root {
  --primary-color: #083173;
  --secondary-color: #4674bf;
  --background-color: #ffffff;
  --header-background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  /*--error-color: red; */
  --warning-color: #ff5500;
  --ok-color: #008000;
  /* PROPOSED AODA COLORS */
  --error-color: #E80538;
  /*--warning-color: #C9006B;*/
}

body{background-color:var(--background-color);}
h1,h2,h3,th{padding:8px 0px;margin:0px;}
h1{font-size:16px;font-weight:bold;margin-top:16px;}
h2{font-size:14px;font-weight:bold;margin-top:14px;}
h3{font-size:12px;font-weight:bold;margin-top:6px;}
h9{color:var(--primary-color);}
td{vertical-align:top;padding:4px;}
p{margin:3.25px 0px;}
input[type="radio"]{vertical-align:middle;margin:0px;*margin-top:-2px;}

#doc2{background-color:var(--background-color);color:var(--primary-color);}
#header_container{background:var(--primary-color) no-repeat 0px 0px url('/images/2/focus_banner_950x40.png');width:950px;height:40px;position:relative;border-bottom-right-radius:0.5em;}
#nav_container{width:180px;}
#side_container{width:180px;}
.pinnedContainer{position:fixed;background-color:var(--background-color);}
.footerActions{margin:5px 0px;}

/* Header styles */
.header_title_link{position:absolute;z-index:100;cursor:pointer;top:14px;left:10px;height:20px;width:188px;}
.header_username{float:right;color:white;line-height:19px;margin-right:4px;text-align:right;}
.header_group{position:absolute;z-index:100;top:0px;left:250px;height:20px;width:700px;}
.header_group_bottom{top:20px;}
.header_button{float:right;height:20px;width:80px;line-height:19px;margin-right:4px;border-top-left-radius:0.5em;border-top-right-radius:0.5em;background:rgba(255,255,255,0.1);color:white;cursor:pointer;text-align:center;}
.header_button:hover{background:rgba(255,255,255,0.2);}

/* Box styles */
.box{margin:13px 0px;}
.boxtitle{position:relative;padding:1px 6px 1px 6px;background:var(--header-background);color:#ffffff;font-weight:bold;border-radius:0.25em;border-bottom-left-radius:0;}
.boxfooter{padding:6px 0px;text-align:center;border-left:1px solid var(--primary-color);}
.boxerror{padding:6px 0px;font-size:16px;font-weight:bold;color:var(--error-color);}
.boxsummary{padding:6px 0px;font-size:110%;}
.boxcontent{padding:6px 4px;overflow:hidden;border-left:1px solid var(--primary-color);}
.boxsubtitle{text-align:right;padding:2px;border-bottom:1px solid #dbe9ff;background-color:#fcfdff;border-left:1px solid var(--primary-color);}
.boxsubtitle li{padding-left:5px;display:inline;}
.boxtitlecolors{background-color:#e0e0e0;color:var(--primary-color);font-weight:bold;}
.box .ui-widget-header{padding:1px 6px;font-weight:bold;}
.box .ui-widget-content{padding:6px 4px;border:none;border-left:1px solid var(--primary-color);font-size:13px;}

.mainButtonGroup{margin:2px 5px 2px 5px;float:right;}
.boxtitle_button{margin:2px -3px 2px 5px;float:right;}
.button16x16{height:16px;width:16px;border-radius:0.25em;background:rgba(255,255,255,0.1);cursor:pointer;}
.button16x16:hover{background:rgba(255,255,255,0.2);}

#main_container .boxtitle{font-size:16px;background:var(--header-background);}
.btt{font-size:10px;margin-left:10px;}

/* Link behaviour */
a,a:visited,a:active{color:#000000;text-decoration:underline;cursor:pointer;}
a:hover{color:var(--error-color);}
a.disabled{color:grey;cursor:default;}


.l,.e,.c{display:block;}
.c .boxcontent,.c .boxerror,.c .boxfooter,.c .boxsubtitle{display:none;}
.c .boxsummary{display:block;}
.e .boxsummary{display:none;}
.e .boxtitle{background-image:url('/images/arrow_open.gif');background-repeat:no-repeat;cursor:pointer;}
.c .boxtitle{background-image:url('/images/arrow_shut.gif');background-repeat:no-repeat;cursor:pointer;}
.boxtitle .buttons{position:absolute;top:0;right:0;}

.alt{background-color:#eeeeee;}
.hl{background-color:#ffe6fa;}
.s{background-color:#dbe9ff;}
.shl{background-color:#f3c3ff;}

.list th{border-bottom:2px solid var(--primary-color);font-weight:bold;}
.list td{border-top:1px solid #dddddd;}
.group{font-weight:bold;background-color:#dbe9ff;}

.sep{border-collapse:separate;border-spacing:3px;}
.sep td{cursor:pointer;border:1px solid #000000;}

.boxsubtitle img, .boxtitle img{vertical-align:middle;}
.sm{vertical-align:middle;width:16px;height:16px;}
.img{margin:0;padding:0;border:none;background-color:transparent;}
.radiolbl{padding-left:0.5em;padding-right:1.5em;}

.textLeft{text-align:left;}
td.c,.textCenter{text-align:center;}
.r,.textRight{text-align:right;}
.b,.bold{font-weight:bold;}
pre{font:13px/1.22 arial,helvetica,clean,sans-serif;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;}
p.warn{color:var(--warning-color);margin-bottom:5px;}
p.err{color:var(--error-color);margin-bottom:5px;}
td.err{color:var(--error-color);font-weight:bold;}

.clearer,.clearer1{border:0 none;clear:both;margin:0;padding:0;width:100%;}
.clearer{font-size:0;height:0;line-height:0;}
.divider,.divider1{border:0 none;clear:both;margin:0;padding:0;width:100%;border-bottom:1px solid #aaaaaa;margin-bottom:6px;}
.divider{font-size:0;height:0;line-height:0;}

.full{width:100%;clear:both;margin:0;}
.fl1{float:left;clear:left;margin:0 15px 15px 0;}
.fl2{float:left;clear:none;margin:0 15px 15px 0;}
.fr1{float:right;clear:right;margin:0 0 15px 15px;}
.fr2{float:right;clear:none;margin:0 0 15px 15px;}
.mono{font-family:mono;}
.inp-date{width:80px;}
.inp-wide{width:400px;}
.inp-full{width:100%;}
.uc{text-transform:uppercase;}
.f{width:100%;} /* full-width */

.summ1{height:21px;margin-left:-4px;padding:0px 4px 1px 4px;font-size:16px;color:#ff9900;background:var(--header-background) 0px 21px no-repeat;}
.headingCell{padding:0px;}
.actionSubHeading{font-size:12px;height:15px;padding:0px 4px;margin:15px 0px 0px -4px;background:var(--header-background) 0px 14px no-repeat;}
.smallHeading{font-size:13px;font-weight:bold;padding:0px;margin:0px;}

.side-confirm{display:none;}
.side-srch{text-transform:uppercase;width:120px;}

.error{color:var(--error-color);}
.warning{color:var(--warning-color);}
.ok{color:var(--ok-color);}
.info{color:var(--primary-color);}
.fontLarge{font-size:16px;}
.fontSmall{font-size:11px;}
.markedToDelete{color:var(--error-color);text-decoration:line-through;}
.nowrap{white-space:nowrap;}
.elipsis{display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}

.th{border-bottom:2px solid var(--primary-color);} /* Table header */
.tf{border-top:2px solid var(--primary-color);} /* Table footer */
.ar{cursor:pointer;margin-bottom:10px;}
.ar:hover{background-color:#dbe9ff;}
.ar-disabled{opacity:0.35;margin-bottom:10px;cursor:default;pointer-events:none;user-select:none;}

.highlightRow:hover{background-color:#dbe9ff;}
.active{cursor:pointer;}
.active:hover{background-color:#dbe9ff;}

.checkColumn{width:16px;}

.lineWide{width:950px;height:4px;margin:0px;border:none;background:var(--header-background) no-repeat 0px 0px;}

.code{font:13px/1.22 monospace;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word;}

.anchor{color:#000000;text-decoration:underline;background-color:transparent;padding:0px;margin:0px;border:none;font:13px/1.22 arial,helvetica,clean,sans-serif;font-weight:normal;cursor:pointer;}
.anchor:hover{color:var(--error-color);}
.clickable{cursor:pointer;}

.margin50x0{margin:50px 0px;}
.indent1{margin-left:24px;}

.button180x{width:180px;background:transparent repeat 0px 0px url('/images/sprite/header180x1.png');color:#ffffff;cursor:pointer;}
.button180x5_top{width:180px;height:5px;background:transparent no-repeat 0px 0px url('/images/sprite/button_transparent_top180x5.png');}
.button180x5_middle{margin:0px 6px;}
.button180x5_bottom{width:180px;height:5px;background:transparent no-repeat 0px 0px url('/images/sprite/button_transparent_bottom180x5.png');}
.button180x:hover{text-decoration:underline;}

.header180x{width:180px;background:transparent repeat 0px 0px url('/images/sprite/header180x1.png');color:#ffffff;cursor:pointer;}
.header180x5_top{width:180px;height:5px;background:transparent no-repeat 0px 0px url('/images/sprite/header_inverted_top180x5.png');}
.header180x5_middle{margin:0px 6px;}
.header180x5_bottom{width:180px;height:5px;background:transparent no-repeat 0px 0px url('/images/sprite/header_inverted_bottom180x5.png');}

.fileListTable{}
.fileListSelect{width:16px;}
.fileListTime{width:130px;}
.fileListSize{width:60px;text-align:right;}

.firstTableCell{padding-left:0px;}
.lastTableCell{padding-right:0px;}

.errorLogLine{margin-top:6px;}
.errorLogLine:hover{background-color:#dbe9ff;}
.firstErrorLogLine{margin-top:0px;}
.errorLogTime{font-weight:bold;margin-right:6px;}

.dataBlock{margin-left:10px;border-left:1px solid #dddddd;padding-left:5px;}
.firstDataBlock{margin-left:0px;}

/* Select styles */
.select170x21,.yui-menu-button button{width:170px;height:21px;border:none;background:transparent no-repeat 0px 0px url('/images/sprite/select170x21.png');margin:0px;padding:0px;text-align:left;cursor:pointer;}
.selectContent,.yui-button-label{height:21px;margin:0px 23px 0px 2px;overflow:hidden;line-height:19px;clear:both;white-space:nowrap;}
.yui-menu-button-menu{background-color:#dddddd;padding:4px;margin-top:8px;}

/* Input styles */
.input170x21{width:164px;line-height:15px;font-size:13px;}
.input2Char{width:26px;}
.input4Char{width:52px;}
.input6Char{width:78px;}
.input8Char{width:104px;}
.input10Char{width:130px;}
.input30Char{width:390px;}
.textAreaWidthFull{width:547px;}
.textAreaWidth30{width:390px;}
.textAreaHeight3{height:50px;}
.textAreaHeight6{height:100px;}

/* Styles for Actions */
.actionItems{margin-top:15px;}
.firstActionItems{margin-top:0px;}
.actionItem{margin-top:4px;}
.firstActionItem{margin-top:0px;}
.actionLabel{display:block;}
.selectedActionItem{background-color:#cccccc;}
.actionItemsHighlight1 .actionItem:hover{background-color:#dbe9ff;}

/* Styles for Standard List */
.standardListItems{margin-top:15px;}
.firstStandardListItems{margin-top:0px;}
.standardListItem{margin-top:4px;}
.firstStandardListItem{margin-top:0px;}

.inlineListItems{margin-top:15px;}
.firstInlineListItems{margin-top:0px;}
.inlineListItem{margin-left:15px;display:inline;}
.firstInlineListItem{margin-left:0px;}

/* Styles for blocks in box content (based on 553px) */
.boxContentBlock{margin:15px 0 0 15px;width:553px;float:left;clear:none;display:block;}
.topBoxContentBlock{margin-top:0px;}
.leftBoxContentBlock{margin-left:0px;}
.boxContentBlockOneThird{width:174px;}
.boxContentBlockOneHalf{width:268px;}
.boxContentBlockTwoThirds{width:363px;}
.boxContentBlockSide{width:171px;margin-left:0px;}

.nameBlock{color:#333333;} /* Style surrounding a proper name */

.colorSwatch{height:25px;width:25px;background-color:transparent;border:1px solid #000000;margin:4px;clear:none;float:left;}

/* Styles for confirmation action */
.confirmShow{display:block;}
.confirmHide{display:none;}

/* Hide overrides all other styles */
.h{display:none;}

/* Hide/show Person/Corporation flagged elements */
.isPerson .corporationShow{display:none;}
.isCorporation .personShow{display:none;}

.wait{position:absolute;z-index:1000;top:0px;left:0px;height:100%;width:100%;cursor:wait;}


/* New styles to match PHP5 styles */
table.form-2-column{width:100%;}
table.form-2-column tr td:first-child,.form-label-container{text-align:right;width:160px;color:var(--primary-color);font-weight:bold;}
table.form-2-column tr td:first-child span,.form-label-container span{color:#666666;display:block;font-size:11px;font-weight:normal;text-align:right;width:100%;}

.formLayout1{display:grid; grid-template-columns: 160px auto; gap:1em;}
.formLayout1 > *{grid-column: 2 / 3; text-align: left;}
.formLayout1 > label,.formLayout1 > .label{display:block; grid-column: 1 / 2; text-align: right;}

/*input.text, input[type="text"], input[type="password"]{width:300px;}*/
input.text, input.email{width:300px;}
input.datetime{width:180px;}
input.text-actions-full{width:162px;}
input.text-medium, input.number-large, input.account, input.phone, input.date, input.sin{width:120px;}
input.text-small, input.civic, input.suite, input.postal-code{width:80px;}
input.text-tiny, input.number-small, input.extension, input.branch, input.bank{width:60px;}
input.number{text-align:right;}

/* Support for CLAMS forced uppercase data */
.clams-force-case input{text-transform:uppercase;}
.clams-force-case input.email{text-transform:none;}
.clams-force-case .mixedcase{text-transform:none;}
.clams-force-case textarea{text-transform:uppercase;}

.form-validation-error{color:var(--error-color);}
label.form-validation-error{display:block;clear:left;color:var(--error-color);border-top:1px dotted var(--error-color);margin-top:1px;}
label.required:after{content:'*'; color:var(--error-color); font-weight:700; margin-left:0.5em;}
/* End of new styles */

/* Tags */
.basic-tag{margin-left:1px;padding:0 2px 0 2px;border:none;background-color:#dddddd;color:var(--primary-color);font-weight:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
.tag-journal-id{background-color:#ff7a5a;color:#000000;border-color:#ff7a5a;}

/* Icon colors */
.ui-icon-clr1{background-image: url(/js/2/jquery/css/images/ui-icons_000000_256x240.png);}
.ui-icon-clr2{background-image: url(/js/2/jquery/css/images/ui-icons_083173_256x240.png);}
.ui-icon-clr3{background-image: url(/js/2/jquery/css/images/ui-icons_2e83ff_256x240.png);}
.ui-icon-clr4{background-image: url(/js/2/jquery/css/images/ui-icons_cd0a0a_256x240.png);}
.ui-icon-clr5{background-image: url(/js/2/jquery/css/images/ui-icons_ffffff_256x240.png);}

/* Disabled input */
input[type="text"][disabled],select[disabled],textarea[disabled]{color: #666666;}

/* Remove 'clear field (X button) on inputs in IE */
input[type=text]::-ms-clear{display:none;}

/* Style to assign vertical align to top */
.va-top{vertical-align:top;}

@media print{
  body, #doc2{width:6.5in;margin:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;overflow:visible;}
  #header_container{display:block;width:6.5in;margin:0;}
  #nav_container{display:none;width:0px;}
  #side_container{display:none;}
  #main_container{position:relative;float:left;page-break-after:auto;page-break-before:auto;page-break-inside:auto;}
  .yui-t4 #yui-main .yui-b{margin:auto;page-break-after:auto;page-break-before:auto;page-break-inside:auto;}
  .yui-t4 #yui-main{margin:auto;page-break-after:auto;page-break-before:auto;page-break-inside:auto;}
  .yui-t4 #yui-main, .yui-t5 #yui-main, .yui-t6 #yui-main{margin-right:0;page-break-after:auto;page-break-before:auto;page-break-inside:auto;}
  .yui-ge div.first, .yui-gf .yui-g, .yui-gf .yui-u{width:100%;page-break-after:auto;page-break-before:auto;page-break-inside:auto;}
  .boxcontent{border:none;page-break-after:auto;page-break-before:auto;page-break-inside:auto;}
  .summ1{border-bottom:1px solid black;}

  .boxContentBlock{margin:0.25in 0 0 0.25in;}
  .topBoxContentBlock{margin-top:0in;}
  .leftBoxContentBlock{margin-left:0in;}
  .boxContentBlockOneThird{width:2in;}
  .boxContentBlockOneHalf{width:3.125in;}
  .boxContentBlockTwoThirds{width:4.25in;}
}

.cas_read_only_input {
  border: none;
  pointer-events: none;
  appearance: none;
  background: none;
}

.single-column-item{margin:0.25em 0 1em 0;}
.single-column-item > *{max-width:100%;}
.single-column-item label:first-child{display:block;font-weight:700;margin-bottom:0.25em;}
.single-column-item label:first-child.required:after{margin-left:0.5em;content:'*';color:var(--error-color);}

.list-table-1{width: 100%;}
.list-table-1 tr > *{padding: 0.3em;}
.list-table-1 tr > *:first-child{padding-inline-start: 0;}
.list-table-1 tr > *:last-child{padding-inline-end: 0;}
.list-table-1 tr:first-child > *{font-weight: 700; border-bottom: 2px solid #083173;}

.list-table-2{
  width: 100%;
  & tr > *{
    padding: 0.3em;
    &:first-child{padding-inline-start: 0;}
    &:last-child{padding-inline-end: 0;}
  }
  & thead{
    border-bottom: 2px solid #083173;
    & th{font-weight: 700;}
  }
  & tfoot{font-weight: 700; border-top: 2px solid #083173;}
}

dl.inline-dl-1 {
  display: grid;
  grid-template-columns: max-content auto;
  gap: 0.5em;
  & dt {
    grid-column-start: 1;
    font-weight: 700;
    &::after {content: ':';}
  }
  & dd {grid-column-start: 2;}
}

.contract-disposal-warnings{text-align:left;margin:0 0 2em 1em;}
ul.contract-disposal-warnings, ul.contract-disposal-warnings li{list-style-type:disc;list-style-position:outside;}

.visually-hidden {
  color:#ffffff;
  background-color:#000000;
  position: absolute;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* jquery-ui-1.13.3.css fixes */
#side_container .ui-widget-header{background: transparent no-repeat 0px 0px url('/images/sprite/header180x19.png');border: none;color: #ffffff;font-weight: bold;}
#side_container .ui-widget-header.ui-corner-br{border-bottom-right-radius: 0;}
#side_container .ui-widget-content .actionSubHeading{color: #083173;}

#select_portfolio_dialog {margin-top: 15vh;}