body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, p, pre, code {
    margin: 0;
    padding: 0;
    border-width: 0;
}

/* Banner */
.web-banner .hero {
    background-image: url(../images/banner.jpg);
    position: relative;
}

.banner {
    position: relative;
    top: 50%;
    transform: translateY(-60%);
}

.banner-title {
    display: inline-block;
    color: #fff;
    font-family: Martel, serif;
    text-transform: uppercase;
    font-size: 1.563em;
}

.Edition {
    font-size: 1.313em;
    color: #fff;
}

.Canada150 {
    width: inherit;
    position: absolute;
    bottom: 0;
    margin-top: 7px;
    padding: 10px 0;
    text-transform: uppercase;
    color: #fff;
    background-color: #87714d;
    border-top: 1px solid rgba(255,255,255,0.49);
}

@media (max-width: 663px) {
    .banner-title {
        font-size: 1.250em;
    }

    .Edition {
        font-size: 0.938em;
    }
}
/* End Banner */

/* Chapter titles */
.chapter-row {
    font-size: 0;
    margin-bottom: 0.938em;
}

    .chapter-row div {
        display: inline-block;
        float: none;
    }

.chapter-number, .chapter-name {
    text-transform: none;
    margin-bottom: 10px;
}

h1.Chapter-name {
    font-size: 1.125em;
    text-transform: none;
    color: #666;
    font-weight: 400;
    margin-bottom: 30px;
}

    h1.Chapter-name span {
        color: #000;
        padding-left: 10px;
        padding-bottom: 20px;
    }

        h1.Chapter-name span.preliminary-page {
            color: #000;
            padding-left: 0px;
            padding-bottom: 20px;
        }

h1.Chapter-name-intro {
    font-size: 1.125em;
    text-transform: none;
    color: #666;
    font-weight: 400;
}

    h1.Chapter-name-intro span {
        font-size: 1.25em;
        line-height: 0;
        color: #000;
        padding-left: 0px;
    }

.chapter-number {
    font-size: 1.125em;
    text-align: right;
}

.chapter-name {
    font-size: 1.875em;
    font-weight: initial;
}

h2.preliminary-page {
    font-size: 1.1em;
    text-transform: none;
    color: black;
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 20px;
}

h1.appendices-page {
    font-size: 1.125em;
    text-transform: none;
}

@media only screen and (max-width: 767px) {
    h1.Chapter-name span {
        display: block;
        padding-left: 0px;
        padding-top: 5px;
    }

    h1.Chapter-name-intro span {
        line-height: 1.25em;
    }
}

@media only screen and (max-width: 991px) {
    .chapter-number {
        text-align: left;
    }
}

/* Overwrite the pager class from bootstrap*/
ul.pager {
    margin: 0;
    margin-bottom: 15px;
    padding-left: 15px;
}

    ul.pager.no-padding {
        margin: 0;
        padding: 0;
    }

.pager li > a {
    border-radius: 0;
}

.footnote-internal {
    width: 3em;
    display: inline-block;
}

/* Overwrite of the sup on h1 */
h1 sup {
    top: -0.2em;
}


/* OL styling */
ol.alpha-double-parenthesis {
    counter-reset: list-alpha;
}

    ol.alpha-double-parenthesis > li {
        list-style: none;
        margin-left: -15px
    }

        ol.alpha-double-parenthesis > li:before {
            content: "(" counter(list-alpha, lower-alpha) ") ";
            counter-increment: list-alpha;
        }

ol.alpha-single-parenthesis {
    counter-reset: list-alpha;
}

    ol.alpha-single-parenthesis > li {
        list-style: none;
        margin-left: -15px
    }

        ol.alpha-single-parenthesis > li:before {
            content: counter(list-alpha, lower-alpha) ") ";
            counter-increment: list-alpha;
        }

ol.decimal-double-parenthesis {
    counter-reset: list-decimal;
}

    ol.decimal-double-parenthesis > li {
        list-style: none;
        margin-left: -15px
    }

        ol.decimal-double-parenthesis > li:before {
            content: "(" counter(list-decimal, decimal) ") ";
            counter-increment: list-decimal;
        }

ol.decimal-single-parenthesis {
    counter-reset: list-decimal;
}

    ol.decimal-single-parenthesis > li {
        list-style: none;
        margin-left: -15px
    }

        ol.decimal-single-parenthesis > li:before {
            content: counter(list-decimal, decimal) ") ";
            counter-increment: list-decimal;
        }




/** Remove from each chapters and declare it here **/

hr.HorizontalRule-1 {
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top: solid #57844d 1px;
}


cite.Italic {
    font-style: italic;
    font-weight: normal;
    padding-right: 0.2em;
}

p.Normal {
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    margin-bottom: 20px;
    margin-right: 0;
    margin-top: 20px;
    orphans: 2;
    page-break-after: auto;
    page-break-before: auto;
    text-align: justify;
    text-align-last: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 2;
}

p.Normal1stPara {
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    margin-bottom: 20px;
    margin-right: 0;
    margin-top: 20px;
    orphans: 2;
    page-break-after: auto;
    page-break-before: auto;
    text-align: justify;
    text-align-last: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 2;
}

p.Author---Quote {
    color: inherit;
    font-size: 0.8em;
    font-style: italic;
    font-variant: normal;
    font-weight: normal;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 3;
    page-break-after: auto;
    page-break-before: auto;
    text-align: center;
    text-align-last: center;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 2;
}

p.Author---name {
    color: inherit;
    font-size: 0.8em;
    font-style: normal;
    font-variant: small-caps;
    font-weight: normal;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    orphans: 2;
    page-break-after: auto;
    page-break-before: auto;
    text-align: right;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 2;
}

p.Author---source {
    color: inherit;
    font-size: 0.8em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    margin-bottom: 0;
    margin-left: 36px;
    margin-right: 0;
    margin-top: 0;
    orphans: 2;
    page-break-after: auto;
    page-break-before: auto;
    text-align: right;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 2;
}

blockquote {
    background-color: white;
    border: none;
    color: #000;
    margin-bottom: 10px;
    padding: 20px;
}

img {
    max-width: 100%;
}

/* h1.Heading-1 {
    margin-bottom: 26px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}

h2.Heading-2 {
    margin-bottom: 13px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 26px;
} */

h3.Heading-3 {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
}

h4.Heading-4 {
    margin-bottom: 0;
    /* margin-left: 10px; */
    margin-right: 0;
    margin-top: 20px;
}

h5.Heading-5 {
    margin-bottom: 0;
    /* margin-left: 30px; */
    margin-right: 0;
    margin-top: 20px;
}

h6.Heading-6 {
    margin-bottom: 0;
    /* margin-left: 36px; */
    margin-right: 0;
    margin-top: 20px;
}

h6.Heading-7 {
    padding-left: 5px;
}

    h6.Heading-7:before {
        content: url(../images/bullet-square.gif);
        left: -5px;
        position: relative;
    }

h7.Heading-7 {
    margin-bottom: 0;
    margin-right: 0;
    margin-top: 10px;
}

p.Heading-7 {
    margin-bottom: 0;
    margin-right: 0;
    margin-top: 10px;
    font-weight: bold;
    font-size: .85em;
    line-height: 1.1;
}

span.item-num {
    margin-left: -1em;
    float: left;
    text-indent: 0em;
    margin-right: -1.7em;
    text-align: right;
    /* width: 2em; */
}

li.Bullet-1 {
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    list-style-position: outside;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 0;
    margin-top: 10px;
    orphans: 2;
    page-break-after: auto;
    page-break-before: auto;
    text-align: justify;
    text-align-last: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    widows: 3;
    list-style-image: url(../images/bullet-losange.gif)
}

li.Heading-7 {
    /* list-style: none; */
    list-style-image: url(../images/bullet-square.gif)
}



/** End Remove from each chapters and declare it here **/


/** Override of the Psp General.css **/
/* hide inactive nested list */
.bs-docs-sidebar .nav ul.nav {
    display: block;
}

ul.nav-stacked {
    max-height: 70vh;
    overflow-y: auto;
}

ol.nav-stacked {
    max-height: 70vh;
    overflow-y: auto;
}

@media only screen and (max-width: 991px) {
    .articleNav {
        margin-bottom: 20px;
    }
}

/** End of Override of the Psp General.css **/


/** Search **/
ul.ui-autocomplete.ui-menu {
    background-color: #fff;
    width: 231px;
    list-style: none;
    border: solid 1px rgba(0,0,0,.2);
    padding: 0;
}

    ul.ui-autocomplete.ui-menu li.ui-menu-item {
        padding: 0;
    }

        ul.ui-autocomplete.ui-menu li.ui-menu-item div {
            display: block;
            padding: 5px 15px;
        }

        ul.ui-autocomplete.ui-menu li.ui-menu-item.ui-state-hover {
            background-color: #f2f2f2;
            cursor: pointer;
        }

.ui-autocomplete {
    max-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
}

div.BookSearch a {
    display: block;
    font-size: 1em;
    border-bottom: none;
    padding: 8px 15px 7px 15px;
    text-transform: uppercase;
}

    div.BookSearch a:hover {
        background-color: #ccc;
        text-decoration: none;
    }

    div.BookSearch a i {
        font-size: 1.563em;
        vertical-align: middle;
    }

div.BookSearch div.dropdown-menu {
    padding: 8px 15px;
    text-align: center;
    width: 100%;
    top: 38px;
}

    div.BookSearch div.dropdown-menu button i.hoc-icon.icon-search {
        font-size: 1.188em;
        margin: 0;
    }

@media only screen and (min-width : 768px) {
    div.BookSearch a {
        padding: 8px 15px 7px 15px;
    }

    div.BookSearch div.dropdown-menu {
        display: block;
        top: 0;
        margin: 0 15px;
        padding: 0;
        padding-top: 3px;
        border: none;
        box-shadow: none;
        width: auto;
    }

        div.BookSearch div.dropdown-menu button i.hoc-icon.icon-search {
            font-size: 1.188em;
            margin: 0;
        }
}

@media print {
    nav.subsite-nav div.BookSearch {
        display: none;
    }
}

/** End Search **/

/** Left Menu **/
li.node-chapter-menu {
    white-space: nowrap;
}

.node-chapter-menu a {
    display: inline-block;
    white-space: normal;
    vertical-align: top;
}

.icon ~ .node-icon ~ a {
    width: calc(100% - 42px);
    font-family: Roboto;
    font-size: 15px;
    border-bottom: 2px solid #60864b;
}

.indent ~ .icon ~ .node-icon ~ a {
    width: calc(100% - 72px);
    font-weight: initial;
    font-family: Roboto;
    font-size: 14px;
    border-bottom: none;
}

.indent ~ .indent ~ .icon ~ .node-icon ~ a {
    width: calc(100% - 92px);
}

/* Remove the chapter banner on small device*/
@media only screen and (max-width: 768px) {
    #chapter_banner {
        visibility: hidden;
        height: 0;
    }
}
/** End Left Menu **/

/** Tooltip **/
.glossary-tooltip {
    text-decoration: none;
}

    .glossary-tooltip:hover {
        cursor: help;
    }
