/** HPS v4 Styling **/

/*
body {
    -webkit-text-size-adjust: none;
}
*/

/* root style */
.HpsHansard {
    /* font-family: Serif; */
    /* font: normal 100% "Segoe UI","Segoe",Tahoma,Helvetica,Arial,sans-serif; */
    font-family: "Segoe UI","Segoe",Tahoma,Helvetica,Arial,sans-serif;
    font-size: 0.9em !important;
    /* font-size: 10pt; */
    text-align: left;
    margin-left: 0em;
}

/* sub-styles */
.HpsBy,
.HpsByToc {
    font-weight: bold;
}

.HpsBy a {
    font-size: 0.9em !important;
    text-decoration: none;
}

.HpsContinued {
    /* text resuming an interrupted discussion */
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    text-indent: 0em;
}

.HpsDivision {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    /* text-indent: 2em; */
    /* text-align: center; */
}

.HpsEvent {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    text-align: left;
    /* text-align: center; */
    font-style: italic;
}
/*
.HpsEventinterjection {
    font-style: italic;
}
*/

.HpsHansardHeading {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}

.HpsHansardSubheading, .HpsProceedingSubheading, .HpsSubjectSubheading, .HpsSubproceedingSubheading {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    text-align: center;
    font-weight: normal;
}

.HpsHansardSubheadingBold, .HpsProceedingSubheadingBold, .HpsSubjectSubheadingBold, .HpsSubproceedingSubheadingBold {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    text-align: center;
    font-weight: bold;
}

/*
.HpsHidden  {
    display: none;
}
*/

.HpsInserted {
    /* font-size: 8.5pt; */
    font-size: 0.85em;
}

.HpsNormal {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    text-indent: 2em;
    /* margin-left:26pt; */
    /* margin-left: 2em; */
}

.HpsSubjectHeading {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    text-align: center;
    font-weight: bold;
    font-size: 1.3em;
    text-transform: uppercase; /* force characters to uppercase */
}

.HpsProceedingHeading {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    text-align: center;
    font-style: italic;
    /* display: none; */
}

.HpsSubproceedingHeading {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    text-align: center;
    font-style: italic;
}

.HpsTerm {
    font-style: italic;
}

/* TABLE related styling */

.HpsHansard TABLE {
    font-size: inherit;
    margin-left: auto; /* centres the table */
    margin-right: auto; /* centres the table */
    width: 100%;
    border-collapse: collapse; /* no space between cell and table borders */
    text-align: left;
    vertical-align: top;
    /* table-layout: fixed; */ /* all columns are equal width */
    table-layout: auto; /* columns are sized relatively, based on their largest content */
}

.HpsDivision TABLE {
    table-layout: fixed; /* all columns are equal width */
}

.HpsHansard TD {
    border: 1px solid black;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    text-indent: 0em; /* overrides any text-indent inherited from Item */
    vertical-align: top;
}

.HpsDivision TD {
    border: none;
}

    .HpsDivision TD .HpsBy {
        font-weight: normal; /* don't markup members in division tables */
    }
/*
TD > SPAN.HpsBy {
    /* dont highlight member names inside tables /
    font-weight: normal;
}
*/

.HpsRowTitle TD {
    /* font-weight: bold; */
}

.HpsDivision .HpsRowTitle TD {
    text-align: center;
    font-weight: normal;
}

/* bulleted and non-bulleted list items at same sublevel have same indent - measured to first bullet point or other character */

/* bulleted lists */
.HpsBItem {
    display: list-item; /* treated as a block element, so margins work inside inline elements like "p" */
    padding-left: 1em;
    margin-left: 1em;
    text-indent: 0em;
    /* list-style-position: inside; does not align wrapped lines as well, but bullets align to margins better in some browsers */
}

.HpsBItemSL1 {
    /* item sublevel 1 matches indent level of HpsNormal style */
    display: list-item;
    padding-left: 1em;
    margin-left: 3em;
    text-indent: 0em;
}

.HpsBItemSL2 {
    display: list-item;
    padding-left: 1em;
    margin-left: 5em;
    text-indent: 0em;
}

.HpsBItemSL3 {
    display: list-item;
    padding-left: 1em;
    margin-left: 7em;
    text-indent: 0em;
}

.HpsBItemSL4 {
    display: list-item;
    padding-left: 1em;
    margin-left: 9em;
    text-indent: 0em;
}

.HpsBItemSL5 {
    display: list-item;
    padding-left: 1em;
    margin-left: 11em;
    text-indent: 0em;
}

/* non-bulleted lists */
.HpsItem {
    display: block; /* ensures can still text-align text inside an inline element like "p" */
    margin-left: 1em;
    text-indent: -1em /* first line has less indent so number/letter stands out if text wraps to next line.  Indent will inherit to TD cells, so override in TD cells */
    /* OR margin-left: 0em; with no text-indent - so following line indents to same level as first line */
}

.HpsItemSL1 {
    display: block;
    margin-left: 3em;
    text-indent: -1em;
}

.HpsItemSL2 {
    display: block;
    margin-left: 5em;
    text-indent: -1em;
}

.HpsItemSL3 {
    display: block;
    margin-left: 7em;
    text-indent: -1em;
}

.HpsItemSL4 {
    display: block;
    margin-left: 9em;
    text-indent: -1em;
}

.HpsItemSL4 {
    display: block;
    margin-left: 11em;
    text-indent: -1em;
}

.HpsItemSL5 {
    display: block;
    margin-left: 13em;
    text-indent: -1em;
}

.HpsImageHolder {
    display: block;
    text-align: left;
    font-style: italic;
    font-size: 0.95em;
    color: indigo;
}

    .HpsImageHolder:before {
        content: "(";
    }

    .HpsImageHolder:after {
        content: ")";
    }
