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

@import url('encp_boilerplate.css');

section > h1:first-of-type {
	text-align: center;
}

section > h2:first-of-type {
	text-align: center;
	margin-bottom: 64px;
}

p.submitnote {
	font-style: italic;
	margin: 0 2em 1em;
}

a.button.participate {
	display: inline-block;
	width: 100%;
	font-size: 18px;
	line-height: 18px;
	text-align: center;
	padding: 16px 32px;
	margin: 24px 0 12px;
}

a.button.dated {
	background-color: rgb(34,67,156);
	font-size: 18px;
	line-height: 24px;
	text-align: center;
	padding: 16px 32px;
}

a.button.dated:hover {
	background-color: rgba(34,67,156,0.8);
}

a.button.dated > div.title {
	color: rgb(249,158,28);
}

a.button.dated > div.date {
	color: rgb(249,158,28);
	font-style: italic;
	font-size: 12px;
	line-height: 15px;
	margin-top: 4px;
}

a.document,
a.document:visited {
	display: block;
	background-color: white;
	color: black;
	text-align: center;
	text-decoration: none;
	padding: 1em 2em;
	margin: 5px 0;
	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: rgba(34,67,156,0.8);
	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;
}

a.bar,
a.bar:visited,
a.feature,
a.feature:visited,
a.event,
a.event:visited {
	position: relative;
	display: block;
	margin: 12px 0 5px;
	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.bar,
a.bar:visited {
	background: rgb(34,67,156);
	color: white;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	padding: 12px 32px;
	border-radius: 8px;
}

a.feature,
a.feature:visited {
	background: rgb(34,67,156);
	color: white;
	font-weight: normal;
	line-height: 1.3;
	padding: 32px;
	border-radius: 16px;
}

a.event,
a.event:visited {
	background: rgb(249,158,28);
	color: black;
	font-size: 1.2rem;
	line-height: 1.4;
	text-align: center;
	padding: 24px 32px;
	border-radius: 12px;
}

a.feature > div.title {
	font-size: 2em;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	margin: 0.5em 0 1em;
}

a.bar.pdffile {
	padding: 16px 32px;
}

a.bar:hover,
a.feature:hover {
	background-color: rgba(34,67,156,0.8);
	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.event:hover {
	background-color: rgba(249,158,28,0.8);
	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.bar::after {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
}

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

ul.documents:first-child {
	margin-top: 0;
}

ul.documents > li {
	position: relative;
}

ul.documents > li.secthead {
	font-size: 24px;
	text-align: center;
	padding-top: 24px;
	border-top: 2px solid rgb(190,190,190);
	margin-top: 24px;
}

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

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

ul.documents li > div.teaser {
	font-weight: normal;
	line-height: 1.4;
	margin-top: 1em;
	margin-bottom: 2em;
}

ul.documents li.child > div.teaser {
	font-style: italic;
	font-size: 13px;
	padding: 0 16px;
}

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

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

a.feature > div.teaser > *:last-child,
a.event > div.teaser > *:last-child {
	margin-bottom: 0 !important;
}

main > section.documentspage > article {
	width: calc(100% - 418px);
	float: left;
}

main > section.documentspage > aside {
	width: 320px !important;
	min-width: 320px !important;
	max-width: 320px !important;
	padding-left: 48px;
	border-left: 2px solid rgb(190,190,190);
}

@media (min-width: 1200px) {

	article ul.documents {
		text-align: center;
	}

	article ul.documents > li:not(.secthead) {
		display: inline-block;
		vertical-align: top;
		width: 45%;
		text-align: left;
		margin: 1em;
	}

}

@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;
		padding-left: 0;
		margin-left: 0;
		border-left: none;
		margin-top: 3rem;
	}
	
}

@media (max-width: 640px) {
	main > section:not(.hideadsmobile) {
		flex-direction: column !important;
	}
}

@media (max-width: 400px) {

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

}

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

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;
}

#modal {
	-webkit-backdrop-filter: blur(3px) saturate(0.4);
	backdrop-filter: blur(3px) saturate(0.4);
}

#pdfviewer {
	background: rgb(51,51,51);
	transform: translateY(-2vh);
}

#pdfdownload {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	font-size: 18px;
	padding: 16px 48px;
	margin-top: 4px;
}

#pdfdownload::before {
	font-size: 1.4em;
	vertical-align: middle;
}