.maxwidth {
    max-width : none !important;
}

/* heading/footer stuff for PrinceXML */
/*NB cannot filter on classes so we need to use a directive on the html for this stylesheet*/
@media print{
    @page {
        @bottom-left {
            content : string(currencyOfVersion);
            font-size : 0.8em;
            max-width : 80%;

            vertical-align : top;
            margin: 2mm;
        }
    }

    @page:first {
        @bottom-left {
            content : "Published by NSW Parliamentary Counsel’s Office on www.legislation.nsw.gov.au";
        }
    }
}
.currencyOfVersion { string-set: currencyOfVersion content(); }

#tocview {
    page-break-after : always;
}
/* end PrinceXML stuff */



/*if not in forced mode and not whole view*/
    @media screen {
        .desktopMode.notForced.viewPage #bs-content > * {
            position : absolute;
            overflow : auto;
            overflow-x : hidden;
            top : 0;
            bottom : 0;
            padding-top : 10px;
        }

        /*IE11 which refuses to scroll if clicking a link scrolls it
        horizontally
        !!window.MSInputMethodContext && !!document.documentMode*/
        _:-ms-fullscreen, :root .desktopMode.notForced.viewPage #bs-content > * {
            overflow-x : auto;
        }

        .desktopMode.notForced.viewPage #fragView {
            right : 0;
        }

        .desktopMode.notForced.viewPage #toc {
            left : 0;
        }

        .desktopMode.notForced.viewPage #content {
            position : absolute;
            bottom : 0;
            padding : 0;
            width : 100%;
        }
    }

    @media (max-width : 767px) {
        .notForced.viewPage.noscript #bs-content > *,
        .notForced.viewPage.noscript #content {
            position : static;
            margin-top : 0;
        }
    }
/*****/









@media print {
    .wholeViewPage .frag-historicalnotes {
        page-break-before: always;
        display : block;
    }
}

#fragView .rowLine {
    margin-top: 5px;
    border-bottom: solid 2px #d7e2fc;
}

#fragView .dq {
    color: #C03A00;
}


/*#fragViewHtml + .streamIndicator {
    position : absolute;
    top : 50%;
    left : 50%;
    margin-left : -60px;
    margin-top : -52px;
}*/


.toTop {
    position : fixed;
    bottom : 18px;
    right : 18px;
    opacity : 0.5;
    filter : alpha(opacity=50);
    z-index : 100;
}
.toTop:hover {
    opacity : 1;
    filter : alpha(opacity=100);
}

.nextHit, .prevHit {
    text-indent:0;
}
.hitbar:before, .hitText.start:before, .hitText.end:after {
    content : '\a0';
    width : 4px;
    height : 1em;
    background-color : #3170ab;
    display : inline-block;
}
#fragView .hit,
#fragView .hitText {
    color: #c03a00;
}






.mobileMode #fragView {
    width: 100%;
}

#fragView {
    color : black;
}

.viewPage blockquote,
.wholeViewPage blockquote {
    padding: 0px;
    margin: 0px;
    border-left: 0px;
}

.viewPage a:hover,
.wholeViewPage a:hover {
    text-decoration: underline;
}

.mobileMode #fragView table {
    border-collapse: collapse;
    /*allows horizontal scrolling*/
    overflow-x: auto;
    display: block;
}
#fragView td {
    vertical-align: top;
}






/*hide the icons if smaller than this
defaulting to displayed on IE8*/
@media (max-width: 1380px) {
    #fragView .viewlinks .fa:before {
        display : none;
    }
}
/*show the text if bigger than this
defaulting to undisplayed on IE8*/
@media (min-width: 1550px) {
    #fragView .viewbutts .text {
        display : inline !important;
    }
}
/*hide the text*/
#fragView .viewbutts .text {
    display : none;
}

#fragView .viewbutts a, #fragView .viewlinks a {
    text-decoration : none !important;
}

#fragView .viewlinks {
    float : none !important;
}

#fragView .viewbutts {
    float : right;
    position : initial;
}

#fragView .viewlinks, #fragView .viewbutts {
    display : block;
}


.frag-field {
    font-family : courier;
    white-space : pre-wrap;
}
.frag-historicalnotes > .heading {
    margin-top : 8pt;
}
.frag-clause > .heading > .children {
    display : inline;
}




#fragView.special {
    color: #039;
}
#fragView.special .title {
    color : black;
}

span.error {
    color: #c03a00;
}

.navigation {
    margin-bottom: 10px;
}

.navigation-results {
    min-height: 50px;
}

.navigation-results a.disabled {
    color : #777770;
}
.navigation-results a.disabled:hover {
    cursor : default;
    text-decoration : none;
}

.linktrails {
    overflow: hidden;
    padding-top: 3px;
}

.linktrail {
    color: #003399;
    display: inline-block;
    vertical-align: bottom;
}

.linktrail img {
    margin: 0px 10px 0px 10px;
}

.linktrail a {
    color: #003399;
}

.message-text {
    padding: 0px;
    margin-top: 5px;
}

.message-text a {
    color: #003399;
    text-decoration: none;
}

.message-text a:hover {
    text-decoration: underline;
}

#fragView .content {
    clear: both;
    padding: 0px 0px 0px 0px;
}

#resultsBar {
    padding-top: 2px;
    overflow: hidden;
}
.resultsPart {
    display: inline-block;
    padding-left: 0;
}

#fragView .pagination {
    color: #000000;
    white-space: nowrap;
}

#fragView .pagination a, .resultsPart a {
    color: #003399;
    text-decoration: none;
}

#fragView .pagination a:hover, .resultsPart a:hover {
    text-decoration: underline;
}

.mobileMode .resultsPart a {
    color: #000;
    text-decoration: none;
}

.mobileMode #fragView .noBtn {
    color: black;
    cursor: default;
}

#fragView .paginator a:hover, #fragView .paginator .alpha-selected {
    color: #FFF;
}





.fragViewHeading > .heading {
    margin-top : 15px;
}

#fragView .title,
.historical-title,
.regulations-title {
    padding-top: 18px;
    padding-bottom: 5px;
    /*border-bottom: solid 1px #d7e2fc;*/
}



.historical-list,
.regulations-list {
    color: #003399;
    white-space: nowrap;
    text-align: left;
    padding-top:10px;
}


/*.historical-list a {
    color: #003399;
    text-decoration: underline;
}
.historical-list a:hover {
    text-decoration: underline;
}*/
.historical-list .dash,
.historical-list .date {
    display : inline-block;
    text-align : right;
    padding-bottom : 1px;
}
.historical-list .date {
    min-width : 100px;
}
.historical-list .dash {
    min-width : 40px;
}
.historical-list .dash:before {
    content : '\2014';
}
.historical-list a:hover {
    text-decoration: none;
}
.historical-list a:hover > span {
    border-bottom : 1px solid #003399;
    padding-bottom : 0;
}

.historical-list a.go-left,
.historical-list a.go-right {
    text-decoration: none;
}

.historical-list a.go-left:hover,
.historical-list a.go-right:hover {
    text-decoration: underline;
}

.historical-list a:visited {
    color: #800080;
}


.innerlink:hover {
    cursor : pointer;
}
.innerlink:hover:after {
    content : '\f0c1';
    position : absolute;
    font : normal normal normal 0.5em FontAwesome;
    text-indent : 0;
}

