
/* Import the basic page layout (structure and colors) */
@import "/css/page_layout.css";
@import "/css/ermpage-navtabs.css";
@import "/css/ermnotification.css";
@import "/css/ermdropdown.css";

.inputbox
{
	font-weight: normal;
	border: 1px solid #000000;
}
.inputbutton
{
	font-weight: bold;
	font-size: 10px;
}


/* This is not even used by the tabs anymore but a few pages, so keep it. */
.navtabonBody
{
	font-size: 14px;
	color: #000000;
	font-style: normal;
	background-color: #C4D0DF;
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #C4D0DF;
	border-bottom-color: #C4D0DF;
	border-left-color: #C4D0DF;
	border-top-color: #C4D0DF;
	padding-bottom: 8px;
	padding-left: 5px;
}


/* Page title */
.pgtitle
{
	display: block;
	position: relative;
	text-align: left;
	font-size: 14pt;
	font-weight: bold;
	color: #333333;
	border-bottom: 3px solid #B6B6B6;
	padding: 2px 10px 2px 10px;
	margin: 8px 0px 16px 0px;
}

/* Maintenance warning */
.pgwarning
{
	display: block;
	position: relative;
	text-align: left;
	font-size: 14px;
	font-weight: normal;
	color: #333333;
	background-color:#F1D8D7;
	border-bottom: 1px solid #CC6666;
	border-top: 1px solid #CC6666;
	padding: 2px 10px 2px 10px;
	margin: 4px 32px 8px 32px;
}
.pgwarning div.maintheading { font-weight: bold; }
.pgwarning div.maintmsg { margin: 4px 0px 0px 26px; }
.pgwarning img { vertical-align: middle; margin: -2px 10px 0px 0px; border: 0px; }

/* general notice */
.pgnotice
{
	display: block;
	position: relative;
	text-align: left;
	font-size: 14px;
	font-weight: normal;
	color: #333333;
	background-color:#F1F0A7;
	border-bottom: 1px solid #CC9944;
	border-top: 1px solid #CC9944;
	padding: 2px 0px 2px 10px;
	margin: 4px 32px 8px 32px;
}
.pgnotice div.maintheading { font-weight: bold; }
.pgnotice div.maintmsg { margin: 4px 0px 0px 26px; }
.pgnotice img { vertical-align: middle; margin: -2px 10px 0px 0px; border: 0px; }

/* informational message */
.pginfomsg
{
	display: block;
	position: relative;
	text-align: left;
	font-size: 14px;
	font-weight: normal;
	color: #333333;
	background-color:#D8F1D7;
	border-bottom: 1px solid #66CC66;
	border-top: 1px solid #66CC66;
	padding: 2px 0px 2px 10px;
	margin: 4px 32px 8px 32px;
}
.pginfomsg div.maintheading { font-weight: bold; }
.pginfomsg div.maintmsg { margin: 4px 0px 0px 26px; }
.pginfomsg img { vertical-align: middle; margin: -2px 10px 0px 0px; border: 0px; }

/* Alerts */
.titledbox
{
	font-size: 12px;
	display: block;
	position: relative;
	text-align: left;
	border: 1px solid #6C83A6;
	margin: 16px 0px 16px 0px;
}
.titledbox h1
{
	font-size: 14px;
	font-weight: bold;
	color: #333333;
	background-color:#DEE3EB;
	padding: 2px 10px 2px 10px;
	margin: 0px;
	border-bottom: 1px solid #6C83A6;
}
.titledbox div
{
	padding: 6px 10px 6px 10px;
	margin: 0px;
}


/* ERMDataColumns */
table.ermdatacolumns { border-collapse: collapse; }
html.small table.ermdatacolumns { display: block; }
html.small table.ermdatacolumns > tbody { display: block; }
html.small table.ermdatacolumns > tbody > tr { display: block; }

table.ermdatacolumns tr.totalline { border-bottom: 3px double #000000; }

table.ermdatacolumns td.column { vertical-align: top; padding: 4px 4px 4px 28px; }
table.ermdatacolumns td.column:first-of-type { padding-left: 4px; }
html.small table.ermdatacolumns td.column { display: block; padding: 0px 0px 16px 0px; }

table.ermdatacolumns table.column { border-collapse: collapse; }
html.small table.ermdatacolumns table.column { width: 100%; }

table.ermdatacolumns table.column th.label { text-align: right; font-weight: bold; padding: 6px; }
html.small table.ermdatacolumns table.column th.label { display: block; text-align: left; padding: 0px 4px; }
html.full table.ermdatacolumns.nopadding table.column th.label { padding-top: 0px; padding-bottom: 0px; }

table.ermdatacolumns table.column td.value { text-align: left; padding: 6px; }
html.small table.ermdatacolumns table.column td.value { display: block; padding: 0px 4px 8px 4px; min-height: 1.2em; text-align: left !important; }
html.full table.ermdatacolumns.nopadding table.column td.value { padding-top: 0px; padding-bottom: 0px; }


/* Detail Section Tables */
table.detailtable
{
	font-size: 10pt;
	color: #000000;
	border-collapse: collapse;
	margin: 0px;
}
html.small table.detailtable { font-size: 1.0em; border-top: 2px solid #000000; border-bottom: 2px solid #000000; }

/* Turn all our ERM Detail Tables that are in the responsive layout into block-view items */
html.small table.detailtable,
html.small table.detailtable thead,
html.small table.detailtable tbody,
html.small table.detailtable tfoot,
html.small table.detailtable tr,
html.small table.detailtable th,
html.small table.detailtable td
{ display: block; }

/* Hide table headers (but not display: none;, for accessibility) */
html.small table.detailtable thead tr:not(.autofilter) { display: block; position: absolute; top: -9999px; left: -9999px; }

/* NOTE: Don't bother making these use nth-child(); filtering and subtables result in too many edge cases for it to work! */
table.detailtable tbody tr.odd { background-color: #FFFFFF; }
table.detailtable tbody tr.even { background-color: #E5E5E5; }

table.detailtable th
{
	background-repeat: no-repeat;
	background-position: right center;
	background-color:#BFBFBF;
	border-top: 2px solid #000000;
	border-bottom: 2px solid #000000;
	text-align: left;
	padding: 3px 4px;
	font-weight: normal;
}

table.detailtable td
{
	padding: 4px;
	border: none;
}

html.small table.detailtable td
{
	position: relative;
	text-align: left !important;
	padding-left: 136px;
	min-height: 19px;
}

html.small table.detailtable td:before
{
	position: absolute;
	top: 4px;
	left: 4px;
	display: block;
	font-weight: bold;
	width: 128px;
	content:attr(data-column);
	text-align: right;
	padding: 0px 8px 0px 0px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

table.detailtable .sortbottom td
{
	background-color: #CCCCCC;
}

html.small table.detailtable .sortbottom { border-top: 1px solid #000000; }

/* Firefox-specific CSS hack needed to fix detailtable border-collapse problem :( */
@-moz-document url-prefix()
{
	table.detailtable { border-collapse: separate; border-spacing: 0px; }
}

/* Generic sortable styles */
html body table.sortable th /* Specificity */
{
	padding-right: 13px;
	background-position: right center;
	background-repeat: no-repeat;
}
html body table.sortable th.nosort
{
	padding-right: 4px;
}
html body table.sortable th.asc
{
	background-image: url("/images/sortableAsc.gif");
}
html body table.sortable th.desc
{
	background-image: url("/images/sortableDesc.gif");
}

table.sortable th a, table.sortable th a:visited, table.sortable th a:hover
{
	text-decoration:none;
	color:#000000;
}


/* AutoFilter */
html .sortable .autofilter
{
	padding: 0px !important;
	margin: 0px !important;
	border-spacing: 0px;
	background-color: #BFBFBF;
}
html .sortable .autofilter td
{
	margin: 0px !important;
	padding: 0px !important;
	text-align: center !important;
	border-bottom: 1px solid black;
}
html .sortable .autofilter input
{
	margin: 2px 0px !important;
	padding: 2px 1px 2px 1px !important;
	font-size: .8em !important;
	width: 98%;
	max-width: 100%; /* Bugfix for FF2 */
	border: 1px solid #7F9DB9 !important;
	box-sizing: border-box;
	border-radius: 0px;
}

html.small .sortable .autofilter td { border-bottom-width: 0px; }
html.small .sortable .autofilter td:last-of-type { border-bottom-width: 1px; }
html.small .sortable .autofilter td:before { font-weight: normal; }

html.small .sortable .autofilter input
{
	position: relative;
	left: 136px;
	right: 0px;
	width: auto;
}


/* Fixed Headers */
html tr.floatingheader { position: fixed; top: 0px; z-index: 5; padding: 0px; margin: 0px; } /* Margin 0 is VERY important here for all browsers! */
html tr.floatingheader th { border-top: 0px; } /* IE needs this */
html tr.floatingheader th:first-child { border-left: 0px; } /* We need to re-state this for Chrome for some reason */

/* Subtable (Expando-tables) */
table.subtable
{
	margin-left: 20px;
	border-collapse: collapse;
	border: 1px solid #000000;
}
table.subtable th
{
	color: #FFFFFF;
	background-color: #6C83A6;
}
table.subtable td
{
	background-color: #E6ECF5;
}

.BlackTri /* Give the black triangle image some extra padding for easy clicking */
{
	padding: 4px;
	margin: -4px;
}



/* Misc */
table.misc1
{
	border: 2px;
	width:100%;
}
table.misc1 td
{
	border-bottom: 1px solid;
	color: #000000;
	padding-left:10px;
	padding-top:4px;
	padding-bottom:4px;
}
table.misc1 th
{
	border-bottom: 1px solid;
	color: #000000;
	font-weight: bold;
	word-spacing: 3px;
	vertical-align: middle;
}
td.blank
{
	border:0px solid #000000;
	color:#000000;
}
th.blank
{
	border:0px solid #000000;
	color:#000000;
}
.feathighlight
{
	margin: 16px;
	padding: 12px;
	color: #000000;
	background-color: #F3F3F3;
	border: 1px solid #0066cc
}
html.small .feathighlight { margin: 8px; padding: 8px; }

.feathighlight p.heading { font-weight: bold; text-align: center; }


/* Generic box-style content */
.toolboxwrapper
{
	display: flex;
	flex-wrap: wrap;
}
.toolboxwrapper.vertical { flex-direction: column; }
.toolboxwrapper .toolboxwrapper { flex: 1 1 auto; }

/* This is needed for IE11 */
html.full .toolboxwrapper { max-width: 980px; }

.toolbox
{
	flex: 1 1 auto;
	margin: 0px 8px 16px 8px;
	padding: 0px;
	max-width: 380px;
	color: #808080;
	box-sizing: border-box;
	border: 1px solid #505050;
	border-radius: 2px 2px 2px 2px;
}

.toolbox h2
{
	display: block;
	font-weight: bold;
	font-size: 1em;
	margin: 12px 12px 8px 24px;
	padding: 4px;
	color: #204C97;
}

.toolbox h2 a { color: #204C97; text-decoration: none; }
.toolbox h2 a::after
{
	display: inline-block;
	content: '»';
	margin-left: 4px;
	color: #942523;
}

.toolbox a, .toolbox a:visited { color: #0F5B9E; text-decoration: none; }
.toolbox p { margin: 4px 8px 4px 28px; padding: 0px; }
.toolbox ul { margin: 0px; padding: 4px 24px; }
.toolbox ul.raquo { list-style-image: url('/images/bullet_sidebar.png'); }
.toolbox li { padding: 2px 2px 2px 0px; margin-left: 4px; color: #0F5B9E; font-size: 1em; }
.toolbox table.detailtable { width: 100%; box-sizing: border-box; }
.toolbox .ermbutton-blue, .toolbox .ermbutton-red, .toolbox .ermbutton-white { margin-left: 24px; }
html.small .toolbox .ermbutton-blue, html.small .toolbox .ermbutton-red, html.small .toolbox .ermbutton-white
{ display: block; margin: 8px; }

/* In the small layout, we need to remove our border but only if we are the last instance of the wrapper that has an ERM data table ¯\_(:))_/¯ */
html.small .toolbox .ERMDataTblWrapper:last-child table.detailtable { border-bottom-width: 0px; }



/* ERM Data Table Wrapper */
.ERMDataTblWrapper
{
	position: relative;
}

/* ERM Data Table links */
.ERMDataTblSpreadsheetLink
{
	margin: 4px 4px 4px 16px;
}
.ERMDataTblSpreadsheetLink div
{
	display: inline-block;
	margin-left: 20px;
}
/* NOTE: Tab-based options are hidden on small layout, so for consistency hide the bottom ones too. */
html.small .ERMDataTblSpreadsheetLink { display: none; }


/* CSS-popup screen */
#loadingpleasewait
{
	position: absolute;
	display: inline;
	z-index: 99;
	left: 50%;
	top: 40%;
	width: 300px;
	height: 40px;
	margin: -20px -150px -20px -150px;
	padding: 10px;
	font-size: 12px;
	border: 1px solid #34485F;
	color: white;
	background-color: #003366;
}
#sorttablepleasewait
{
	position:absolute;
	display: none;
	z-index: 99;
	left: 50%;
	top: 40%;
	width: 300px;
	height: 50px;
	margin: -25px -150px -25px -150px;
	padding: 10px;
	border: 1px solid #34485F;
	color: white;
	background-color: #003366;
}
#loadingpleasewait div, #sorttablepleasewait div
{
	font-size: 18px;
	font-weight: bold;
}


/* FAYT selector */
#selectorfayt
{
	position: absolute;
	top: -8px;
	right: 0px;
	color: #00529A;
	background-color: #FFFFFF;
	padding: 6px;
	min-width: 400px;
	border: 1px solid #00529A;
	border-radius: 2px;
	text-align: right;
	vertical-align: top;
}

#selectorfayt table
{
	padding: 0px;
	margin: 0px;
	border-collapse: 0px;
	border: 0px;
}

#selectorfayt table td { padding: 0px; vertical-align: top; }
#selectorfayt table td:first-child { width: 100%; padding-right: 12px; }

#selectorsrch { width: 100%; vertical-align: middle; margin: 0px; padding: 2px }
#selectorx { cursor:pointer; width:16px; height: 16px; vertical-align: middle; margin: 4px 0px 0px 0px; }

#selectorresults
{
	display:none;
	position:absolute;
	top: 34px;
	left: -21px;
	right: 0px;
	border: 1px solid #ADADAD;
	background-color: #EFEFEF;
   font-weight:bold;
	text-align: left;
	z-index: 9999 !important;
	padding: 2px;
}

#selectorresults a, #selectorresults div
{
	display: block;
	margin: 0px;
	padding: 2px 8px;
	border: 1px solid #EFEFEF;
	color: black;
	font-size: 0.9em;
	text-decoration: none;
}
#selectorresults a:hover { background-color: #C1D2EE; border-color: black; }


/* Tooltips - Regular and links */
a.tooltip, a.tooltip:visited
{
	position: relative;
	color: #000000;
	text-decoration: none;
	cursor: pointer;
	outline-style: none; /* Hide the focus box if possible */
}
a.atooltip
{
	position: relative;
	cursor: default;
}

a.tooltip span, a.atooltip span
{
	display: none;
	position: absolute;
	top: 32px;
	left: 32px;
	z-index: 10003;
	width: 300px;
	border: 1px solid #6083A9;
	background-color: #FFFFFF;
	color: #000000;
	text-decoration: none;
	text-align: left;
	font-weight: normal;
	padding: 2px 4px 2px 4px;
	font-size: 11px;
	white-space: normal;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
	user-select: none;
}
a.tooltip:hover span, a.atooltip:hover span
{
	display: block;
}
a.tooltip span:hover, a.atooltip span:hover /* This looks silly, but trust me it's correct. It's to fix Firefox mouseover problems */
{
	display: none;
}
a.tooltip span div, a.atooltip span div /* Tooltip caption */
{
	display: block;
	background-color: #6083A9;
	color: #FFFFFF;
	font-weight: bold;
	margin: -2px -4px 0px -4px;
	padding: 2px 2px 2px 2px;
}
html.small a.tooltip:hover span, html.small a.atooltip:hover span { display: none !important; }


a.iconlink, a.iconlink:hover, a.iconlink:active, a.iconlink:visited
{
	color: #0088FF;
	text-decoration: none;
	white-space: nowrap;
}
html.small a.iconlink { white-space: normal; }

a.iconlink img
{
	border: 0px none;
	height: 16px;
	width: 16px;
	vertical-align: bottom;
}


.ErrorMsgBox
{
	padding: 48px 48px 48px 48px;
	background-color: #F3F3F3;
	border: 1px solid #0066CC;
	width: 400px;
	margin: 32px auto 32px auto;
	text-align: left;
	z-index: 9999;
}
.ErrorMsgBoxIcon { float: left; }
.ErrorMsgBoxTitle { font-weight: bold; font-size: 14px; margin-left: 40px; }
.ErrorMsgBoxBody { clear: both; text-align: left; padding-top: 24px; }

.PeabodyCalendar { font-size: x-small; }
.PeabodyCalendar a, .PeabodyCalendar a:visited { color:#3300FF; text-decoration:underline; font-weight:bold; }
.PeabodyCalendarActive { background-color:white; }



/* Site-wide Search box */
#ermpage-sidebar div.searchbox { clear: both; text-align: center; padding: 4px 0px 4px 0px !important; }
#ermpage-sidebar div.searchbox form { padding: 0px; margin: 0px; }
#ermpage-sidebar div.searchbox input { vertical-align: text-bottom; }
#ermpage-sidebar div.searchbox input.searchbox { display: block; width: 90%; margin: 0px auto 2px auto; }
#ermpage-sidebar div.searchbox input.inputbutton { float: right; margin-right: 4px; }



.newsletterform { padding: 0px; }
.newsletterform p { padding: 0px 8px; }


/* CSS for Archive List view modal windows */
div.archivelistmodal
{
	position: absolute;
	top: 34px;
	bottom: 34px;
	left: 6px;
	right: 6px;
	border: 1px solid #000000;
	background-color: #FFFFFF;
	overflow: auto;
}

div.archivelistmodal table
{
	width: 100%;
	margin: 0px;
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
}

/* CSS for Archive Link view modal windows */
div.archivelinkmodal
{
	position: absolute;
	top: 56px;
	bottom: 34px;
	left: 6px;
	right: 6px;
	border: 1px solid #000000;
	background-color: #FFFFFF;
	overflow: auto;
}

div.archivelinkmodal ul { margin: 2px; padding: 2px; }
div.archivelinkmodal li { margin: 0px; padding: 4px; cursor: pointer; }
div.archivelinkmodal li:hover { background-color: #C1D2EE; }
div.archivelinkmodal li.folder { list-style-type: none; }
div.archivelinkmodal li.file { list-style-type: none; padding-left: 24px; }
div.archivelinkmodal li label { cursor: pointer; }
div.archivelinkmodal ul ul { padding-left: 22px; }


/* Rich Text Editor (CKEditor) Custom CSS */
/* Override components of CKEditor Skin! Yes this is dangerous and stupid! */
html .cke_chrome { box-sizing: border-box; padding-bottom: 3px; }
html.small .cke_chrome { width: 100% !important; }


/* FFL-Only CSS. Why am I bothering with all this? Specificity! */
html body .fflonly
{
	background-position: 0 0 !important;
	background-repeat: repeat;
	background-image: url(/images/fflonly.gif) !important;
}

/* Mega-hack for FFL-Only columns in ERMSortable tables */
html body #ermpage-container table.sortable th.fflonly.asc
{
	background-position: right center !important;
	background-repeat: no-repeat !important;
	background-image: url("/images/sortableAsc.gif") !important;
}
html body #ermpage-container table.sortable th.fflonly.desc
{
	background-position: right center !important;
	background-repeat: no-repeat !important;
	background-image: url("/images/sortableDesc.gif") !important;
}

/* Printer-friendly CSS */
@media print
{
	table.sortable, table.sortable th { border-color: #000000; }
}