/*  YOU MIGHT HAVE TO MODIFY PCF_SBS.css IF YOU MODIFY THIS FILE.
	PCF_SBS.css IS VERY SIMILAR, IT JUST DOES NOT CONTAIN ALL WET STYLES. */

/* @import url("/includes/css/wet/util-min.css"); */
@import url("/includes/css/wet/pe-ap-min.css");
/* @import url("/includes/css/wet/theme-min.css"); */

/* princexml decided to turn on line wrapping for / , which breaks our units like Pa/m2/s  ( http://www.princexml.com/forum/topic/1121 ) */
/* you turn it off with this: */
* {
    prince-linebreak-magic: none;
}

/* grab PCF ID for page header */
span[class="pcf_pcfid"] {
	string-set: pcfid content();
	display: none;
}

/* grab display text for page header */
span[class="pcf_ccbfc_str"] {
    string-set: pageheader content();
	display: none;
}

/* grab mod_date text for page footer  */
span[class="pcf_mod_date"] {
    string-set: mod_date content();
}

/* grab page string for page footer  */
span[class="pcf_page"] {
    string-set: page_label content();
}

/* grab committee text for page footer  */
span[class="pcf_committee"] {
    string-set: committee content();
}
/*
Output header on all pages. Header text is snagged from the page body
(div element with class="pcf_ccbfc_str").

Output "Page: X of Y" on all pages
*/
@media print {
	.hideonprint {
		display: none;
	}
	a {
		color: blue !important;
	}
}

@page {
    margin-left: 1in;
    margin-right: 1in;
    font-family: Verdana, Arial, sans-serif;
    font-weight : bold;
    font-size: 10pt;
    prince-shrink-to-fit: auto;

    @top-left {
        content: string(pageheader);
		font-size: 7pt;
    }
    @top-right {
        content: string(pcfid);
		font-size: 7pt;
    }
    @bottom-left {
        /*
        '\A' forces a line break in PrinceXML (from the PrinceXML forum).
        Linebreaks at the end of the left-justified committee text will help
        ensure that the text will not overlap with the right-justified mod_date
        and page number stuff.
        */
        content: string(committee) "\A\A";
		font-size: 7pt;
        white-space: pre-line
    }
    @bottom-right {
        /* '\A' forces a line break in PrinceXML (from the PrinceXML forum) */
        content: string(mod_date) "\A" string(page_label) " " counter(page) "/" counter(pages);
		font-size: 7pt;
        white-space: pre-line
    }
    @footnote {
        border-top: solid black thin;
        padding-top: 8pt;
    }
}

/*
	PAGE BREAKS
*/

td{ /* at least 4 lines of a cell at the bottom of a page, no less */
    orphans: 4;
    /* at least 3 lines of a cell at the top of a page, no less */
    widows: 3;
}

/* avoid page break when less than the first two rows of a table will be on a page by themselves (no more than 2 orphaned rows)*/
table tr:nth-of-type(1) {
    page-break-after: avoid;
}

/* avoid page break when less than the last three rows of a table will be on a page by themselves ( no more than 3 widowed rows)*/
table tr:nth-last-of-type(1),
table tr:nth-last-of-type(2) {
    page-break-before: avoid;
}

/* avoid page break when would have broken after last p tag (e.g. only one block follows) (no single orphaned p tag)*/
table tr p:nth-last-of-type(1){
    page-break-after: avoid;
}

/* avoid page break in a table cell that would leave less than 3 li tags at the top of the next page ( no less than 3 widowed li tags)*/
table tr li:nth-last-of-type(1),
table tr li:nth-last-of-type(2) {
    page-break-before: avoid;
}

/* keep figure and caption together */
div.figurecaption {
	page-break-after: avoid;
}

figure {
	page-break-inside: avoid;
}

.list-var_descrip.list-var_descrip {
	page-break-before: avoid;
	page-break-inside: avoid;
}

/*
P tags come from the Tiny MCE editor (used for text boxes in the DCR). If I don't
set the P tag margins to 0, then the default margins will be used. These will be
different from text box text entered without the Tiny MCE editor
*/
p {
    margin: 0;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

ul, ol {
	margin-top: 0.25em;
}

.pcf_border_bottom {
	border-bottom: 1px solid #000;
	padding-bottom: 10px;
	background-color: inherit;
}

.pcf_border_top {
	border-top: 1px solid #000;
	padding-top: 10px;
	background-color: inherit;
}

/*
Need the mod_date, committee text (stored in a span element), but only want to use it
for Prince XML output and otherwise not visible
*/
.pcf_mod_date {
    display: none;
}

.pcf_page {
	display: none;
}

.pcf_committee {
    display: none;
}

table.pcf_noborder {
	border-style: none;
}

.pcf_othersourcebook {
	font-family:    Verdana, Arial Black, sans-serif;
	font-weight : bold;
	font-size:      10pt;
    margin-right:   1em;
}

.pcf_title_str {
    font-family: Arial, sans-serif;
    font-weight : bold;
    font-size: 18pt;
}

.pcf_title {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
}

.pcf_staffguidance {
    font-family: Verdana, Arial, sans-serif;
	color: red !important;
    font-weight : bold;
    font-size: 12pt;
    border-style: solid;
    border-width: 2px;
    border-color: red !important;
    text-align: left;
    padding: 5px;
    margin: 10px 0px 0px 0px;
}

.pcf_display {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
	padding-top: 5px;
}

.pcf_change_type {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
    padding-bottom: 7pt;
}

.pcf_ccbfc_str, .hideonprint {
    font-family: Verdana, Arial, sans-serif;
    font-weight : bold;
    font-size: 10pt;
    padding-bottom: 4pt;
}

.pcf_comment_str {
    font-family: Verdana, Arial, sans-serif;
    font-weight : bold;
    font-size: 10pt;
    padding-bottom: 4pt;
}

.pcf_pcfid {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
    padding-bottom: 4pt;
}

.pcf_cp_str {
    font-family: Verdana, Arial, sans-serif;
    font-weight : bold;
    font-style: italic;
    font-size: 14pt;
}

.pcf_subject {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
}

.pcf_sub-subject {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
    margin-left: 2em;
}

.pcf_provision_str, .pcf_rationale_str, .pcf_objective_str, .pcf_process_str {
    font-family: Arial, sans-serif;
    font-weight : bold;
    font-size: 14pt;
}

.pcf_description {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
 }

.pcf_related_PCFs, .pcf_related_CCRs, .pcf_topic_area_label, .pcf_topic_area, .pcf_related_provisions, .pcf_source {
    font-family: Verdana, Arial, sans-serif;
    font-size: 10pt;
	font-weight: normal;
}

.pcf_topic_area {
    padding-left: 5px;
	display: block;
	margin-left: 28px;
	margin-top: -21px;
}

/* taken from https://www.a11ymatters.com/pattern/checkbox/ */
.sr-only {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.c-checkbox__label::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	border: 2px solid #c5c5c5;
	margin-right: 8px;

}

/* add checkmark svg to checked checkboxes 
   the following line does not work in Prince 9 (i.e. the :checked):
/* .c-checkbox input:checked + .c-checkbox__label:before { */
.cb-checked:before {
    border-color: #555555;
    background: url('checkmark.svg') center/16px no-repeat !important;
}

.pcf_status {
    font-family: Arial, sans-serif;
    font-size: 12pt;
    font-weight : bold;
    padding-top: 4pt;
    padding-bottom: 4pt;
	color: black;
}

.pcf_rationale_subhead, .pcf_suppdoc_str {
    font-family: Arial, sans-serif;
    font-size: 12pt;
    font-weight : bold;
    padding-bottom: 0pt;
}

.pcf_rationale_div {
    font-size: 10pt;
    font-weight : normal;
}
/* Enabled for Remedy 12086, 12119 (to avoid having to run CM_Convert on the consolidated print) */
.atadd {
    color: green !important;
    text-decoration: underline;
}

/* Enabled for Remedy 12086, 12119 (to avoid having to run CM_Convert on the consolidated print) */
.atdel {
    color: #CC0000 !important;
    text-decoration: line-through;
}

ins {
    color: green !important;
    text-decoration: underline;
}

del {
    /* need a darker red for accessibility */
    color: #CC0000 !important;
    text-decoration: line-through;
}

/* images inside added text get a border -- can be removed when #11949 is fixed */
img.atadd, object.atadd {
    border-color: green !important;
    border-style: solid;
    border-width: 2px;
}

/* images inside deleted text get a border -- can be removed when #11949 is fixed */
img.atdel, object.atdel {
    border-color: #CC0000 !important;
    border-style: solid;
    border-width: 2px;
}

/* img inside ins tag */
ins img, ins object {
    border-color: green !important;
    border-style: solid;
    border-width: 2px;
}

/* img inside del tag */
del img, del object {
    border-color: #CC0000 !important;
    border-style: solid;
    border-width: 2px;
}

@media print {
	/* math inside del tag */
	del math {
		border-color: #CC0000 !important;
		border-style: solid;
		border-width: 2px;
	}
	del span {
		color: #CC0000 !important;
	}
	ins span {
		color: green !important;
	}
}

/*
.payantm {
    background-color:   #EEEEEE;
}
*/
.render_warning {
    font-weight : bold;
    text-decoration: underline;
}

.part_title {
	font-family:    Arial Black, sans-serif;
	font-size:      16pt;
    margin-bottom:  0.4em; /* keep in sync with intro_title, preface_title, committees_title */
	color: black !important;
}

.section_title {
	font-family:    Arial Black, sans-serif;
	font-size:      14pt;
    margin-bottom:  0.4em; /* keep in sync with intro_title, preface_title, committees_title */
	color: black !important;
}

.subsect_title {
	font-family:    Arial Black, sans-serif;
	font-size:      12pt;
    margin-bottom:  0.4em; /* keep in sync with intro_title, preface_title, committees_title */
	color: black !important;
}

.article_title, .prov_display, .obj_prov_display {
	color: black !important;
}

.apptitle {
	color: black !important;
}

div.analysis {
	padding-top: 10px;
	margin-left: 20px;
}

.prov_display {
	border-top: 1px solid #000;
	padding-top: 10px;
	margin-top:10px;
	font-family: Verdana, Arial Black, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	background-color: inherit;
}

.obj_prov_display {
	padding-top: 10px;
	margin-top:10px;
	padding-bottom: 0px;
	margin-bottom:0px;
	font-family: Verdana, Arial Black, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	background-color: inherit;
}

h3.part_title, h3.section_title, h3.subsect_title, h3.article_title, div.part_title {
	border-top: 1px solid #000;
	padding-top: 10px;
	margin-top:10px;
	background-color: inherit;
}

/* h3 immediately following an h3 */
h3+h3 {
	border-top: none !important;
	padding-top: 0px !important;
	margin-top:0px !important;
}

.shade_0 {
    background: silver;
}

.hr_major {
    width: 100%;
    height: 2px;
    color: #000000;
    background-color: #000000;
    margin-top: 14pt;
}

.hr_minor {
    width: 100%;
    height: 0.5px;
    color: #000000;
    background-color: #000000;
}

.hr_normal {
    width: 100%;
    height: 1px;
    color: #000000;
    background-color: #000000;
}

/* Navigation table and cell */
.navigation {
    margin: 5pt;
}

.nav_cell {
    padding: 2pt;
    font-size: 9pt;
}

/* Layout table for admin info (SC/PCFID, TA/category) and status */
.layouttable {
    margin: 5pt;
}

/* PCF text box titles and contents */
.textboxtitle {
    font-weight : bold;
    padding-top: 5pt;
    padding-top: 3pt;
}

.textbox {
}

/* status tab fields */
/* Status date */
.status {
    font-family: Arial, sans-serif;
    font-weight : bold;
    font-size: 14pt;
}

.statusdate {
    font-family: Arial, sans-serif;
    font-weight : bold;
    text-align: right;
    font-size: 14pt;
}

.decision {
    font-family: Arial, sans-serif;
    font-weight : bold;
    font-size: 14pt;
    text-align: center;
    padding-bottom: 5pt;
}

.drafttext {
    font-weight : bold;
    font-size: 14pt;
    text-align: center;
    padding-bottom: 5pt;
}

/* titles for sections corresponding to PCF tabs */
.title_section {
    font-weight : bold;
    font-size: 14pt;
    padding-top: 10pt;
    padding-bottom: 7pt;
}

/* items corresponding to PCF replicants */
.replicant {
    font-weight : bold;
    padding-bottom: 5pt;
}

/* headerX are classes output by TinyMCE */
.header1 {
    font-weight : bold;
    font-size: 14pt;
}

.header2 {
    font-weight : bold;
    font-size: 12pt;
}

.header3 {
    font-weight : bold;
    font-size: 10pt;
}

.intenttable {
    padding-bottom: 3pt;
}

/*
	REPEATING FOOTNOTES
*/

@page repeating_footnotes {
	@bottom-center { 
		margin-top: 0;
		padding-top: 0;
		text-align: left;				
		vertical-align: top;
		content: flow(rept-fn-cont);		
	}
}

table.repeating_footnotes {
	/* display: block; */
	page: repeating_footnotes;	
}

aside.repeating_footnotes {
	-prince-flow: static(rept-fn-cont, start);
}

aside.repeating_footnotes *, aside.repeating_footnotes table_notehead {
	font-family: Verdana, Arial, sans-serif;
	font-weight : normal;
	font-size: 6pt !important;
}

/*
	LANDSCAPE TABLE
*/

@page landscape_page {
    size: landscape;
    height:  7.5in;
    width: 10in;
    prince-shrink-to-fit: auto;
    margin-left:0.5in;
	@bottom-center { 
		margin-top: 0;
		padding-top: 0;
		text-align: left;			
		vertical-align: top;
		content: flow(rept-fn-cont);		
	}
}

table.landscape {
    page: landscape_page;
}

table.portrait {
	/* empty */
}

/*
	WET STYLES
	These WET styles are normally only for media "screen". We want the same effect for print.
*/

@media print {
	/*
	.span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8 {
	  display: inline;
	  position: relative;
	  float: left;
	  min-height: 1px;
	  margin-right: 10px;
	}
	*/
	/*
	.grid-8  .span-1 {
	  width: 100px;
	}
	.grid-8  .span-2 {
	  width: 200px;
	}
	.grid-8  .span-3 {
	  width: 300px;
	}
	.grid-8  .span-4 {
	  width: 400px;
	}
	.grid-8  .span-5 {
	  width: 500px;
	}
	.grid-8  .span-6 {
	  width: 600px;
	}
	.grid-8  .span-7 {
	  width: 700px;
	}
	.grid-8  .span-8 {
	  width: 800px;
	}

	Making this 1/3 smaller because otherwise the font size is getting too small (Remedy #11996)
	*/
	/*
	.grid-8  .span-1 {
	  width: 75px;
	}
	.grid-8  .span-2 {
	  width: 150px;
	}
	.grid-8  .span-3 {
	  width: 225px;
	}
	.grid-8  .span-4 {
	  width: 300px;
	}
	.grid-8  .span-5 {
	  width: 375px;
	}
	.grid-8  .span-6 {
	  width: 450px;
	}
	.grid-8  .span-7 {
	  width: 525px;
	}
	.grid-8  .span-8 {
	  width: 600px;
	}
	*/

	/* these are for BC_List.xml */
	/*
	.sentence  .span-1 {
		width: 75;
	}
	.sentence  .span-2 {
		width: 150px;
	}
	.sentence  .span-4, .sentence  .span-5 {
		width: 450px;
	}
	*/

	.margin-bottom-none {
		margin-bottom: 0px;
	}
	.align-left {
		text-align: left !important;
	}
	.align-center {
		text-align: center !important;
	}
	.align-right {
		text-align: right !important;
	}
}

/* ARCHIVED SNIPPET */
#archived h2 {
    background-color: #CC0000 !important;
    color: #FFFFFF;
    margin: 0;
    padding: 2px 0 2px 10px;
}

#archived {
    background-color: #FFFFCC;
    border: 1px solid #CC0000 !important;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 80%;
}

/* widths, width-10, width-20 etc. are already defined in util-min.css */
.width-0 { width: 0% !important; }
.width-1 { width: 1% !important; }
.width-2 { width: 2% !important; }
.width-3 { width: 3% !important; }
.width-4 { width: 4% !important; }
.width-5 { width: 5% !important; }
.width-6 { width: 6% !important; }
.width-7 { width: 7% !important; }
.width-8 { width: 8% !important; }
.width-9 { width: 9% !important; }
.width-11 { width: 11% !important; }
.width-12 { width: 12% !important; }
.width-13 { width: 13% !important; }
.width-14 { width: 14% !important; }
.width-15 { width: 15% !important; }
.width-16 { width: 16% !important; }
.width-17 { width: 17% !important; }
.width-18 { width: 18% !important; }
.width-19 { width: 19% !important; }
.width-21 { width: 21% !important; }
.width-22 { width: 22% !important; }
.width-23 { width: 23% !important; }
.width-24 { width: 24% !important; }
.width-25 { width: 25% !important; }
.width-26 { width: 26% !important; }
.width-27 { width: 27% !important; }
.width-28 { width: 28% !important; }
.width-29 { width: 29% !important; }
.width-31 { width: 31% !important; }
.width-32 { width: 32% !important; }
.width-33 { width: 33% !important; }
.width-34 { width: 34% !important; }
.width-35 { width: 35% !important; }
.width-36 { width: 36% !important; }
.width-37 { width: 37% !important; }
.width-38 { width: 38% !important; }
.width-39 { width: 39% !important; }
.width-41 { width: 41% !important; }
.width-42 { width: 42% !important; }
.width-43 { width: 43% !important; }
.width-44 { width: 44% !important; }
.width-45 { width: 45% !important; }
.width-46 { width: 46% !important; }
.width-47 { width: 47% !important; }
.width-48 { width: 48% !important; }
.width-49 { width: 49% !important; }
.width-51 { width: 51% !important; }
.width-52 { width: 52% !important; }
.width-53 { width: 53% !important; }
.width-54 { width: 54% !important; }
.width-55 { width: 55% !important; }
.width-56 { width: 56% !important; }
.width-57 { width: 57% !important; }
.width-58 { width: 58% !important; }
.width-59 { width: 59% !important; }
.width-61 { width: 61% !important; }
.width-62 { width: 62% !important; }
.width-63 { width: 63% !important; }
.width-64 { width: 64% !important; }
.width-65 { width: 65% !important; }
.width-66 { width: 66% !important; }
.width-67 { width: 67% !important; }
.width-68 { width: 68% !important; }
.width-69 { width: 69% !important; }
.width-71 { width: 71% !important; }
.width-72 { width: 72% !important; }
.width-73 { width: 73% !important; }
.width-74 { width: 74% !important; }
.width-75 { width: 75% !important; }
.width-76 { width: 76% !important; }
.width-77 { width: 77% !important; }
.width-78 { width: 78% !important; }
.width-79 { width: 79% !important; }
.width-81 { width: 81% !important; }
.width-82 { width: 82% !important; }
.width-83 { width: 83% !important; }
.width-84 { width: 84% !important; }
.width-85 { width: 85% !important; }
.width-86 { width: 86% !important; }
.width-87 { width: 87% !important; }
.width-88 { width: 88% !important; }
.width-89 { width: 89% !important; }
.width-91 { width: 91% !important; }
.width-92 { width: 92% !important; }
.width-93 { width: 93% !important; }
.width-94 { width: 94% !important; }
.width-95 { width: 95% !important; }
.width-96 { width: 96% !important; }
.width-97 { width: 97% !important; }
.width-98 { width: 98% !important; }
.width-99 { width: 99% !important; }

/* also defined in style.css */
.bold_text {
    font-weight: bold;
}

/* also defined in style.css */
/* START - SUP-SUB line spacing fix for WET 3+ */
/* This fix for WET 3+" in this stylesheet used to mess up the PDF-to-Word output */
/* ADDED: Mar 11, 2014 - CEC */
/* from https://github.com/wet-boew/wet-boew/issues/2392 - not needed if WET 4 bootstrap is used */
sup, sub {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }

.FLITE-Tracking .ice-ins:not(.flite-container-only) {
  background-color: rgb(160, 247, 165) !important;
}
.FLITE-Tracking .ice-del:not(.flite-container-only) {
  background-color: rgb(255, 221, 221) !important;
}