/* Encorp Pacific (Canada) Stewardship Plan Consultation CSS */
/* Last Updated: 2019.03.12 ET */

@import url('encp_boilerplate.css');

#commenttext {
	display: none;
}

a.document,
a.document:visited {
	display: inline-block;
	box-sizing: border-box;
	width: 320px;
	background-color: white;
	color: black;
	text-align: center;
	text-decoration: none;
	padding: 1em 2em;
	margin: 5px;
	border-radius: 8px;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.07), 0 3px 1px -2px rgba(0,0,0,0.06), 0 1px 5px 0 rgba(0,0,0,0.10);
}

a.document:hover {
	background-color: rgb(34,67,156);
	color: white;
	box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.20);
}

a.document.pdffile {
	background-image: url('/images/icon_pdf-large.gif');
	background-repeat: no-repeat;
	background-position: right 1em center;
	padding-right: 66px;
}

a.document.pdffile::after {
	display: none !important;
}

a.document > div.title {
	font-family: DIN, 'Trebuchet MS', sans-serif;
	font-weight: bold;
	font-size: 1.2em;
	line-height: 1.3;
	text-transform: uppercase;
}

ul.documents {
	list-style: none;
	padding: 0;
	margin: 1em auto;
}

ul.documents > li {
	position: relative;
}

ul.documents a.button {
	box-sizing: border-box;
	width: 320px;
	margin: 5px;
}

ul.documents a.button > div.teaser {
	font-size: 0.8em;
}

ul.documents .adminlink {
	position: absolute;
	bottom: -1em;
	right: 0;
	opacity: 0;
	transition: opacity 0.2s;
}

ul.documents li:hover .adminlink {
	opacity: 1;
}

main > section.documentspage > article {
	width: calc(100vw - 496px);
}

main > section.documentspage > aside {
	width: 320px !important;
	min-width: 320px !important;
	max-width: 320px !important;
}

@media (max-width: 860px) {

	main > section.documentspage > article {
		width: 100%;
		float: none;
	}

	main > section.documentspage > aside {
		display: block !important;
		float: none;
		width: 100% !important;
		min-width: 100% !important;
		max-width: 100% !important;
		margin-top: 3rem;
	}

}

@media (max-width: 400px) {

	ul.documents a, ul.documents a:visited {
		box-sizing: border-box;
		width: 90%;
	}

}

p.question {
	font-size: 1.4em;
	margin-left: 3em;
	text-indent: -3em;
}

p.question::before {
	content: 'Q:';
	color: rgb(255,159,0);
	font-family: DIN, 'Trebuchet MS', sans-serif;
	font-weight: bold;
	font-size: 2em;
	margin-right: 0.5em;
}

ul.sections {
	font-size: 1.2em;
}

span.commentnote {
	display: inline-block;
	font-style: italic;
	font-size: 0.8em;
	padding: 0 1em;
	border: 1px solid rgb(206,218,237);
	border-radius: 0.2em;
	margin-left: 1em;
}

span.commentnote::before {
	content: '\2190';
}

blockquote {
	font-weight: normal;
	max-width: 50em;
	text-align: left;
	padding: 0.5em 1em;
	margin-left: 0;
	margin-bottom: 2em;
}

blockquote table {
	border-collapse: collapse;
	border-spacing: 0;
}

blockquote table td, blockquote table th {
	text-align: center;
	padding: 0.25em 0.5em;
	border: 1px solid rgb(180,180,180);
}

blockquote table th:first-child {
	text-align: left;
}

blockquote table tfoot {
	font-weight: bold;
}

p.cmdbar {
	margin-bottom: 2em;
}

p.cmdbar span {
	display: inline-block;
	max-width: 18em;
	vertical-align: top;
	margin-right: 1em;
	margin-bottom: 1em;
}

p.cmdbar button {
	width: 10em;
	margin-bottom: 0.5em;
}

p.cmdbar label {
	display: block;
}

#ackdialog {
	box-sizing: border-box;
	padding: 2vh 2vw;
	height: 80vh;
	margin-top: -40vh;
}

#ackdialog p {
	text-align: center;
}

@media (min-width: 700px) {
	#ackdialog {
		width: 500px;
		margin-left: -250px;
		padding: 2em 2em;
	}
}

@media (min-height: 400px) {
	#ackdialog {
		height: 300px;
		margin-top: -150px;
	}
}


/* input[type="checkbox"].state-trigger {
	display: none;
}

#commentdiag-cb:checked + #comment-modal {
	display: block;
}

#commentdiag-cb:checked + #comment-modal > #comment-dialog {
	display: block;
} */
