body {
    font-family : Times New Roman , Serif;
}

a {
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

/**************************************************
        COMMON SYLES - HANSARD & COMMITTEE
**************************************************/
.header > * {
    text-align: center;
}

.logo {
    margin: auto;
    width: 46%;
    margin-top: 3.25rem;
    min-width: 16.875rem;
}

.parliament-session {
    padding-top: 2.5rem;
    font-size: 1.5625rem;
    padding-bottom: 3.0625rem;
    margin: 0;
}

.title {
    font-size: 2.1875rem;
    margin: 0;
}

.hansard {
    font-size: 1.375rem;
    margin-top: 0.5rem;
    margin-bottom: 3.4375rem;
    text-transform: uppercase;
}


.main {
    max-width: 52em;
    margin: auto;
    padding-bottom: 2em;
}

.hidden {
    visibility: hidden;
}

.line {
    margin: 55px 4.9em 55px 0;
}

/**************************************************
        TOC STYLES
**************************************************/
.toc {
    border-left: solid 1px #ccc;
}

.toc .contents {
    text-transform: uppercase;
    font-size: 1.375rem;
}

.toc-table {
    width: 100%;
}

.toc .center > * {
    display: block;
    text-align: center;
    margin-bottom: 0.625rem;
    color: black;
    font-weight: normal;
    font-size: 1.375rem;
}

.toc .level-1, .toc .level-2 {
    padding-top: 0.4375rem
}

.toc .level-1 > * {
    height: 2rem;
    padding-left: 1.125rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    color: #008995;
}

.toc .level-2 > *, .toc .level-2a > * {
    padding-left: 2.3125rem;
    text-decoration: none;
    font-size: 0.875rem;
    color: black;
    font-weight: bold;
}

.toc .level-3 {
    font-size: 0.9375rem;
    padding-left: 3.5rem;
}

.toc .member, .toc .witness {
    color: black;
    font-weight: 100;
}

.toc .procedure:hover,
.toc .subject:hover,
.toc .member:hover,
.toc .subhead:hover {
    text-decoration: underline;
}


/**************************************************
        TRANSCRIPT STYLES
**************************************************/
.transcript-date {
    text-align : right;
}

.transcript {
    padding-left: 1.1875rem;
    border-left: 0.0625rem solid #ccc;
    margin-right: 4.9rem;
}

.heading, .subhead {
    text-align: center;
}

.procedure {
    font-size: 1.125rem;
	margin-bottom:0;
}

.heading.procedure-subhead, .heading.procedure, .heading.proceedings {
    font-weight: bold;
    font-size: 1.125rem;
}

.appendix {
	border-top: 0.0625rem solid #000;
	padding-top: 1rem;
	margin-top: 4rem;
}

.procedure-subhead, .proceeding-heading {
    font-weight: bold;
    text-align: center;
    font-size: 1.125rem;
}

.heading.subject {
    text-transform : uppercase;
    margin-bottom: 0;
}

.heading.continued {
    margin: 0;
}

.continued {
    font-style: italic;
}

.styleline, .styleline-time, .speaker.begins, .indent, .editorial-comment {
    text-indent : 2rem;
}

.speaker {
    text-align: justify;
    margin-left: -1.1875rem;
    padding-left: 1.1875rem;
}

.speaker.begins {
    margin-bottom: 0;
}

.speaker.continues {
    text-indent: 2rem;
    margin-bottom: 0;
    margin-top: 0;
}

.no-indent {
    text-indent: 0 !important;
}

.italic {
    font-style: italic;
}

.timeline {
	float: right;
	margin: 0;
	margin-right: -6.875rem;
	text-align: right;
}

/* BLOCKQUOTE */
.blockquote-indent {
    text-indent : 1rem;
}

.blockquote, .correspondence {
    margin: 0 4rem 0 2rem;
    font-size : small;
}

/*************************************
        DIVISIONS
**************************************/
 .division-table {
    text-align : center;
    width : 60%;
    margin : auto;
}

.division-header {
    text-transform: uppercase;
    margin: 1rem;
    padding: 0.6rem 0;
}

.division-cell {
    width: 33%;
    padding: 0 
}

/*********************************
        AMENDMENTS 
*/
.amendment {
    font-size : small;
    margin-bottom : 0rem;
    margin-top : 0rem;
}

.amendment-heading {
	font-size: small;
	text-align: center;
	margin: 0.6rem 0px;
}

.amendment.level-0 {
    margin-left : 2rem;
}

.amendment.level-1 {
    text-indent : -1rem;
    margin-left : 3.5rem;
}

.amendment.level-2, .motion-indented {
    text-indent : -1rem;
    margin-left : 5rem;
}

.amendment.level-3, .motion-indented-1 {
    text-indent : -1rem;
    margin-left : 7rem;
}

.amendment.level-4 {
    text-indent : -2rem;
    margin-left : 10rem;
}

.amendment.level-5 {
    text-indent : -2rem;
    margin-left : 12rem;
}

/*********************************
*/
.footer-text {
    font-size : x-small;
    text-align : center;
    margin-top : 1rem;
    padding-right: 4.9em;
}

.copyright-text {
    font-size : xx-small;
    text-align : center;
    font-family: Verdana , Sans Serif;
    padding-right: 4.9em;
}

.lowercase {
    display : inline;
    text-transform:lowercase;
}

.bold, .attribution {
    font-weight : bold;
    display : inline;
}

/* MOTIONS */

.motion-heading {
    font-size: small;
    margin: 0.5rem 4rem 0.25rem 2rem;
}

.motion {
    text-align : left;
    text-indent : 0.5rem;
    display : block;
    font-size : small;
    margin: 0.5rem 4rem 0.5rem 2rem;
}

.motion-indented, .motion-indented-1 {
    font-size: small;
}

.motion-table {
    margin: 0.3125rem 0 0.3125rem 2em;
    border: solid #ccc 0;
    border-collapse: collapse;
    font-size: small;
}

.motion-table > tbody > tr > td, th {
    border: solid #ccc 0.0625rem;
    text-align: center;
    padding: 0.375rem;
}

.motion-table > tbody > tr > td + td, th + th {
    border: solid #ccc 0.0625rem;
    text-align: left;
    padding: 0.375rem;
}

/* TODO old qp motion-table, not sure how widely used 
    Press F to pay respects*/
.motion-table-old {
    text-align : left;
    text-indent : 0;
    margin: 0;
    display : block;
    font-size : small;
}

/*
        CHAIR CHANGE  
*/
.chair-change, .chair-change-mid-speech {
    text-indent : 2rem;
    margin : 0;
    padding : 0;
    margin-top : 1rem;
}
.chair-change-mid-speech {
    padding-top : 1rem;
    padding-bottom : 1rem;
    margin-bottom : 1rem;
}



/**************************************************
        PRINT STYLES
***************************************************/
@media print {
    html,
    body {
        margin: 0;
        padding: 0;
        height: auto;
    }
    
    .tip-div,
    .gradient {
        display: none !important;
        height: 0;
    }
    
    .main > hr:not(:nth-of-type(3)) {
        visibility: hidden;
        page-break-after: always;
    }
    
    * {
        color: black !important;
        background-color: #fff !important;
    }

    .main {
        margin-top: 0 !important;
    }

    .terms-upper, .toplink, .toBeContinued > p:nth-child(2) {
        display: none !important;
    }

    .heading {
        page-break-before: auto;
        page-break-after: auto;
    }
}

/****************************************
 MEDIA CSS
*/
@media all and (max-width: 47em) {
    .blues {
        display: flex;
        flex-wrap: wrap;
    }

    body {
		margin: 1em !important;
    }

    .terms-upper, .middle {
        width: 100%;
    }

    .left, .right {
        box-sizing: content-box !important;
        margin: 0 auto;
        width: 100% !important;
        text-align: center;
        padding: 0;
    }

    .left {
        margin-bottom: 1em !important;
    }

    .speaker {
        text-align: left;
    }

    .heading-right {
        text-align: center !important;
        float: none !important;
    }
}

@media all and (max-width: 64em), print { 
    body {
		margin: 2em;
    }

	.timeline {
		width: 100% !important;
        margin: 0px !important;
        float: none;
	}
	
	.transcript {
		margin-right: 5px !important;
		padding-right: 5px !important
	}
    
    .termscontainer, .terms-transcript-spacer, .terms-upper, .transcript {
        border-left: 0;
    }

    .sticky {
        width: 90.4% !important;
    }

    .transcript {
        padding-right: 1.1875rem !important;
        margin-right: 0 !important;
    }

    .toBeContinued, #terms {
        margin: 0 !important;
    }

    .footer-text, .copyright-text {
        padding-right: 0 !important;
    }

    .toplink {
        margin-left: 0 !important;
        margin-top: 0 !important;
        padding-right: 0.6em !important;
    }

    .main {
        padding-bottom: 0;
    }

    .blues {
		margin-right: 5px !important;
		padding-right: 5px !important;
    }
    
    .right {
        margin-top: 0;
    }
}

/**************************************************
        LANGUAGE
***************************************************/
.language-fa {
    text-align: right;
    display: inline-block;
    margin: 0 0 0 1em;
    font-size: 15pt;
    direction: rtl;
}


.language-nuk-stacked {
	margin-left:-2.1em;
	display: inline-block;
} 

.language-nuk-stacked sub{
	letter-spacing: -0.5em;
	font-size:0.8em;
	padding-left:0.1em;
}

.language-nuk-stacked sup{
	letter-spacing: -0.6em;
	font-size: 0.8em;
	padding-right: 0.6em;
}


/**************************************************
        JW PLAYER
***************************************************/
.jw-controlbar {
  display: none;
}

/**************************************************
        TIPS and SHARE
***************************************************/
.tip-div {
	display: none;
	position: absolute;
	background-color: #ebeced;
	border: 1px solid #ccc;
	border-right: 0px;
	color: #008995;
	z-index: 1;
	font-size: 12pt;
	transition: .2s top;
}

.share-box > hr {
	padding: 0px;
	margin: 0px;
}

::-moz-selection {
	color: white;
	background-color: #3095B4;
}

::selection {
	color: white;
	background-color: #3095B4;
}

.tip-div > a::before {
	margin-right: 7px;
}

.tip-div > a {
    display: block;
	font-weight: bold !important;
	width: calc(100% - 30px);
	padding: 10px 15px;
	text-align: left;
}

.open {
	background-color: #ddd;
}

.gradient {
	opacity: 0;
	transition: .2s opacity;
	position: absolute;
	z-index: -1;
	margin-left: -19px;
	padding-left: 19px;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	background: -webkit-linear-gradient(#eee, white); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#eee, white); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#eee, white); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#ebeced, white); /* Standard syntax */
}

.share-box {
	display: none;
	width: 100%;
	background-color: #ddd;
}

.share-box-label {
	font-weight: bold;
	padding: 5px 10px;
	text-align: center;
	font-size: 12pt;
}

.links-row {
	width: 100%;
	text-align: center;
	padding-bottom: 5px;
}

.share-box-btn {
	border-radius: 3px;
	padding: 10px;
	cursor: pointer;
	font-size: 20pt !important;
}

.share-box-btn:nth-of-type(1) {
	color: #3B5998;
}

.share-box-btn:nth-of-type(2) {
	color: #1DA1F2;
}

.share-box-btn:hover {
	background-color: #ccc;
}

.display-unmatched {
    color: red;
    display: block;
}