/*
Theme Name: Drug Checking
Theme URI: https://stationwp.com/
Author: Station WP
Author URI: https://stationwp.com/
Description: A custom theme for CDPE's Toronto Drug Checking Service
Version: 2020.1
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: drugcheck

*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline
}

body {
	line-height: 1
}

ol,
ul {
	list-style: none
}

blockquote,
q {
	quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none
}

q {
	display: inline;
	font-style: italic
}

q:before {
	content: '"';
	font-style: normal
}

q:after {
	content: '"';
	font-style: normal
}

textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0
}

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

th,
td {
	padding: 2px
}

big {
	font-size: 120%
}

small,
sup,
sub {
	font-size: 80%
}

sup {
	vertical-align: super
}

sub {
	vertical-align: sub
}

dd {
	margin-left: 20px
}

kbd,
tt {
	font-family: courier;
	font-size: 12px
}

ins {
	text-decoration: underline
}

del,
strike,
s {
	text-decoration: line-through
}

dt {
	font-weight: bold
}

address,
cite,
var {
	font-style: italic
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent
}

html {
	scroll-behavior: smooth;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important
}

.sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	-webkit-clip-path: inset(50%) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}

.group:after {
	content: "";
	display: table;
	clear: both;
}

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	color: #373535;
}


#branding {
	background-image: url('/wp-content/themes/drugcheck/images/hero-bg.jpg');
	background-size: cover;
	background-position: right;
	padding: 64px 0 32px;
	text-align: right;
}

#site-title {
	font-family: 'Asap', sans-serif;
	font-weight: 700;
	font-size: 36px;
	max-width: 800px;
	margin: 0 auto;
}

#site-title a {
	text-decoration: none;
	color: #044554;
	line-height: 1.1;
}

#site-title a:hover {
	text-decoration: underline;
}

#site-description {
	font-weight: 500;
	color: #044554;
	margin-top: 5px;
}

#site-description a {
	margin-top: 10px;
	font-size: 16px;
	margin-left: 5px;
}

.cta {
	border-radius: 5px;
	background-color: #044554;
	text-decoration: none;
	color: #fff;
	padding: 7px 10px;
	display: inline-block;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 500;
}

.cta-coral {
	background-color: #EE6C82;
	color: #F4F4F4;
}

.cta-grey {
	background-color: #373535;
}

.max-w {
	max-width: 940px;
	margin: 0 auto;
}

.h-pad {
	padding: 0 32px;
}

p {
	word-break: break-word;
}

p,
ul,
ol {
	line-height: 1.4;
	font-size: 18px;
}

p strong,
ul strong,
ol strong {
	font-weight: bold;
}

nav {
	margin-top: 32px;
	margin-bottom: 32px;
}

nav li {
	float: none;
}

nav li a {
	font-weight: 500;
	color: #044554;
	text-decoration: none;
	/* font-size: 16px; */
	border-radius: 4px;
	padding: 8px 12px;
	margin: 0;
	display: inline-block;
	/* color: #fff; */
	font-size: 18px;
	width: 100%;
}

/* nav li a:hover {
	text-decoration: underline;
} */

p a,
ul a,
ol a {
	color: #EE6C82;
	font-weight: 700;
}

h1,
h2 {
	line-height: 1.1;
}

ol.spaced>li {
	margin-bottom: 50px;
}

/* mobile menu */
.js #menu {
	display: none;
	position: absolute;
	width: 200px;
	background: #fff;
	/* background-color: rgba(4, 69, 84, 1); */
	box-shadow: 1px 1px 7px 1px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	padding: 12px;
	left: -12px;
	margin-top: 54px;
	z-index: 1;
	/* width: calc(100% + 20px); */
	/* width: auto; */
}

.js #toggle {
	float: left;
	display: block;
	position: relative;
	z-index: 1;
	text-indent: -10000px;
	width: 40px;
	height: 40px;
	border: 0;
	/* background-image: url('/wp-content/themes/drugcheck/images/menu-icon.png'); */
	/* background-size: 40px;
	background-repeat: no-repeat; */
	background-color: #fff;
	cursor: pointer;
}

.nav-bar {
	width: 100%;
	height: 7px;
	background: #044554;
	/* transition: all 0.3s ease; */
	opacity: 1;
	position: absolute;
	border-radius: 4px;
	left: 0;
}

.bar-1 {
	top: 1px;
}

.bar-2 {
	top: 50%;
	margin-top: -5px;
}

.toggle .bar-3 {
	bottom: 3px;
}

.js #toggle[aria-expanded="true"] {
	/* background-image: url('/wp-content/themes/drugcheck/images/close-icon-2.png'); */
	/* background-size: 40px; */
	/* background-repeat: no-repeat; */
}

.js #toggle[aria-expanded="true"] .bar-1 {
	top: 17px;
	transform: rotate(45deg);
}

.js #toggle[aria-expanded="true"] .bar-2 {
	opacity: 0;
}

.js #toggle[aria-expanded="true"] .bar-3 {
	bottom: 16px;
	transform: rotate(-45deg);
}



#menu.is-active {
	/* display: block; */
	display: grid;
	grid-row-gap: 12px;
	position: absolute;
}

.menu-main-menu-container {
	position: relative;
}

.menu-title {
	float: left;
	margin-left: 12px;
	font-size: 18px;
	margin-top: 11px;
	font-weight: 500;
	color: #054653;
	text-transform: capitalize;
}

#content {
	margin-top: 96px;
	margin-bottom: 96px;
}

.entry-title {
	font-size: 40px;
	font-family: 'Asap', sans-serif;
	font-weight: 700;
	color: #044554;
	word-break: break-word;
}

.download-cta,
time,
.share-cta {
	display: block;
}

.download-cta+.share-cta,
time+.share-cta,
time+.download-cta {
	margin-top: 15px;
}



/* –––––––––––––––– START - COPY STYLING –––––––––––––––– */

.post-meta {
	margin-top: 32px;
}

.post-meta a {
	margin-top: 32px;
	color: #373535;
}

.download-cta {
	font-weight: bold;
}

.social-media-icons {
	display: block;
	padding-bottom: 8px;
}

.social-media-icons a {
	width: 33px;
	height: 33px;
	display: inline-block;
	margin-right: 7px;
	margin-top: 3px;
	position: relative;
	top: 8px;
}

.social-media-icons a svg {
	width: 100%;
	height: 100%;
	fill: #373535;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-top: 32px;
	color: #044554;
}

.entry-content ul,
.entry-content ol {
	margin-left: 20px;
	list-style: outside;
}

.entry-content ul ul,
.entry-content ol ol {
	margin-top: 6px;
	margin-left: 30px;
}

.entry-content p+ul,
.entry-content p+ol {
	margin-top: 16px;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li {
	margin-bottom: 8px;
}

.entry-content li:last-child {
	margin-bottom: 0;
}

.entry-content span,
div.cap {
	background: #f4f4f4;
	padding: 20px;
	border-radius: 5px;
	display: inline-block;
	color: #373535;
	width: 100%;
}

.entry-content span,
div.cap.noteworthy-mark {
	padding-left: 60px;
	background-image: url('/wp-content/themes/drugcheck/images/note-icon.png');
	background-size: 30px;
	background-repeat: no-repeat;
	background-position: 17px 16px;
}

div.cap p:first-child {
	margin-top: 0;
}

div.cap {
	margin-top: 30px;
}

.entry-content h2 {
	font-size: 32px;
	font-family: 'Asap', sans-serif;
	font-weight: 700;
	color: #044554;
	padding-top: 72px;
	word-break: break-word;
}

.entry-content h3 {
	font-size: 24px;
	font-family: 'Asap', sans-serif;
	font-weight: 700;
	color: #044554;
	margin-top: 72px;
	line-height: 1.3;
	word-break: break-word;
}

.entry-content img {
	width: 100%;
	height: auto;
	display: block;
}

.entry-content img.border {
	border: 2px solid #d4d4d4;
}

.entry-content .tableauPlaceholder {
	margin-top: 32px;
	border: 2px solid #d4d4d4;
	width: 100% !important;
}

.entry-content .desktop-only {
	display: none;
}

.entry-content .tableauPlaceholder+script+p {
	margin-top: 96px;
}

/* –––––––––––––––– END - COPY STYLING –––––––––––––––– */








/* –––––––––––––––– START - HTML TABLE –––––––––––––––– */

.table-wrapOuter {
	margin-top: 80px;
	position: relative;
	margin-left: -32px;
	width: calc(100% + 64px);
	overflow: hidden;
}

.table-wrap {
	/* margin-left: -32px; */
	/* width: calc(100% + 64px); */
	width: 100%;
	overflow-x: auto;
}

.shadow {
	position: absolute;
	top: 0;
	z-index: 100;
	width: 15px;
	height: 100%;
	transition: opacity 0.2s ease-in-out;
}

.shadow--left {
	left: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), transparent);
	opacity: 0;
}

.shadow--right {
	right: 0;
	background: linear-gradient(270deg, rgba(0, 0, 0, 0.1), transparent);
	opacity: 0;
}


/* Pseudo-elements for top and bottom fading */
.shadow--left::before,
.shadow--left::after,
.shadow--right::before,
.shadow--right::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 60px;
	/* Size of fade at top/bottom */
	background: linear-gradient(180deg, transparent, white);
	/* Adjust fade color */
	pointer-events: none;
	/* Don't block interactions */
	z-index: 101;
}

.shadow--left::before,
.shadow--right::before {
	top: 0;
	background: linear-gradient(180deg, #FAEFE8 20%, transparent);
}

.shadow--left::after,
.shadow--right::after {
	bottom: 0;
	background: linear-gradient(0deg, #fff 20%, transparent);
}

.odd.shadow--left::after,
.odd.shadow--right::after {
	bottom: 0;
	background: linear-gradient(0deg, #FAEFE8 20%, transparent);
}

.table-pad {
	padding: 0 32px;
}

.table-wrap .col {
	float: left;
	padding-right: 40px;
}

.table-wrap .col-4 {
	padding-right: 0;
}

.table-row {
	padding: 32px 0;
	width: 100%;
	min-width: 675px;
	font-size: 16px;
	line-height: 1.4;
	position: relative;
}

/* .table-row:nth-child(odd) {
	background-color: #FAEFE8;
} */

.table-row-odd-background {
	background-color: #FAEFE8;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
}

.table-header {
	padding: 32px 0;
	font-size: 18px;
	font-weight: 700;
	color: black;
	/* color: #044554; */
}

.col-1 {
	width: 150px;
}

.col-2 {
	width: 130px;
}

.col-3 {
	width: 100px;
	height: 1px;
}

.col-4 {
	width: 360px;
}

.note-icon {
	width: 30px;
	height: 30px;
	background-image: url('/wp-content/themes/drugcheck/images/note-icon.png');
	background-size: 30px;
	background-repeat: no-repeat;
}

.col .note-icon {
	text-indent: -10000px;
	margin-left: 20px;
}

.entry-content .col span {
	width: 0;
	padding: 0;
}

/* –––––––––––––––– END - HTML TABLE –––––––––––––––– */





/* –––––––––––––––– START - SINGLE POST - CARD LIST –––––––––––––––– */

.post-ex {
	margin-top: 60px;
}

.post-ex time {
	font-size: 24px;
	font-weight: bold;
	color: #044554;
}

.post-ex h2 a {
	font-size: 32px;
	font-family: 'Asap', sans-serif;
	font-weight: 700;
	color: #044554;
	text-decoration: none;
}

.post-ex h2 a:hover {
	text-decoration: underline;
}

.post-ex p {
	margin-top: 30px;
	color: #044554;
}

.post-ex a {
	margin-top: 30px;
}

.post-bg {
	margin-top: 32px;
	background: #FAEFE8;
	padding: 48px 0;
	margin-left: -32px;
	width: 100%;
	width: calc(100% + 64px);
	position: relative;
}

.sticky-pin {
	position: absolute;
	width: 40px;
	height: 40px;
	margin-top: -22px;
	right: 15px;
	border-radius: 100%;
	top: 0;
	background-image: url(/wp-content/themes/drugcheck/images/pin-icon.png);
	background-size: 40px;
}

.manual-pager-wrap {
	margin-top: 60px;
	color: #044554;
}

.manual-pager-wrap a {
	color: #044554;
	font-weight: bold;
	text-decoration: none;
}

.manual-pager-wrap a:hover {
	text-decoration: underline;
}

.manual-pager {
	position: relative;
}

.manual-pager .next {
	float: right;
	position: relative;
	padding-right: 15px;
}

.manual-pager .next:before {
	content: "";
	position: absolute;
	right: 0;
	top: 1px;
	width: 9px;
	height: 13px;
	background-image: url('/wp-content/themes/drugcheck/images/older.png');
	background-size: 9px 13px;
}

.manual-pager .prev {
	float: left;
	position: relative;
	padding-left: 15px;
	position: relative;
}

.manual-pager .prev:before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 9px;
	height: 13px;
	background-image: url('/wp-content/themes/drugcheck/images/older.png');
	background-size: 9px 13px;
	transform: rotate(-180deg);
}

.page-count {
	position: absolute;
	width: 100px;
	margin-left: -50px;
	left: 50%;
	text-align: center;
}

/* .manual-pager.hide-next .next {
	display: none;
} */

/* –––––––––––––––– END - SINGLE POST - CARD LIST –––––––––––––––– */







/* –––––––––––––––– START - FOOTER –––––––––––––––– */

footer {
	padding: 64px 0;
	background: #f4f4f4;
}

footer p {
	margin-bottom: 16px;
}

footer p:last-child {
	margin-bottom: 0;
}

.footer-ctas {
	margin-top: 20px;
}

.footer-ctas a,
.footer-ctas li {
	float: left;
}

.footer-content {
	max-width: 340px;
}

ul.social {
	float: left;
	margin-left: 20px;
}

ul.social li a {
	height: 33px;
	width: 33px;
	margin: 1px 5px 0;
	color: #333333;
	transition: color .2s;
	display: inline-block;
	float: left;
}

ul.social li a svg {
	width: 100%;
	height: 100%;
	fill: #373535;
}

.footer-logo {
	margin-top: 48px;
}

.footer-logo svg {
	width: 180px;
	margin-left: 0;
}

.footer-logos {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 20px;
	align-items: baseline;
	padding-top: 20px;
}


.contact-info {
	margin-top: 48px;
}

/* –––––––––––––––– END - FOOTER –––––––––––––––– */

@media screen and (min-width: 400px) {

	/* –––––––––––––––– START - FONT SIZES –––––––––––––––– */

	p,
	ul,
	ol,
	#site-description,
	#site-description a,
	.post-meta {
		font-size: 18px;
	}

	/* –––––––––––––––– END - FONT SIZES –––––––––––––––– */

	/* –––––––––––––––– START - SINGLE POST - CARD LIST –––––––––––––––– */
	.entry-content span {
		padding: 30px;
	}


	.sticky-pin {
		right: 25px;
	}

	.manual-pager-wrap {
		font-size: 18px;
	}

	.manual-pager .next:before {
		top: 2px;
	}

	.manual-pager .prev:before {
		top: 2px;
	}

	/* –––––––––––––––– END - SINGLE POST - CARD LIST –––––––––––––––– */




	/* –––––––––––––––– START - HTML TABLE –––––––––––––––– */


	/* .table-wrap {
		margin-left: -32px;
		width: calc(100% + 64px);
	}

	.table-pad {
		padding: 0 30px;
	} */

	.table-row {
		font-size: 18px;
	}

	.table-header {
		font-size: 24px;
	}

	.col-1 {
		width: 150px;
		padding-right: 0 !important;
	}

	.col .note-icon {
		margin-left: 25px;
	}

	/* –––––––––––––––– END - HTML TABLE –––––––––––––––– */





	/* –––––––––––––––– START - FOOTER –––––––––––––––– */

	footer {
		font-size: 18px;
	}

	/* –––––––––––––––– END - FOOTER –––––––––––––––– */

}

@media screen and (min-width: 750px) {

	/* –––––––––––––––– START - SPACING –––––––––––––––– */
	#branding {
		padding-top: 150px;
		padding-bottom: 60px;
	}

	.h-pad {
		padding: 0 72px;
	}

	/* –––––––––––––––– END - SPACING –––––––––––––––– */

	/* –––––––––––––––– START - HTML TABLE –––––––––––––––– */

	.table-wrap {
		width: 100%;
		margin-left: 0;
	}

	.table-row {
		min-width: unset;
	}

	.table-row:nth-child(odd) {
		border-radius: 5px;
	}

	.col-4 {
		width: 290px;
	}

	/* –––––––––––––––– END - HTML TABLE –––––––––––––––– */


	.download-cta,
	time,
	.share-cta {
		display: inline-block;
	}

	.download-cta+.share-cta:before,
	time+.share-cta:before,
	time+.download-cta:before {
		content: " | ";
		padding: 0 5px;
		font-weight: 300;
	}

	.download-cta+.share-cta,
	time+.share-cta,
	time+.download-cta {
		margin-top: 0;
	}

	.social-media-icons {
		display: inline-block;
	}

	.social-media-icons a {
		display: inline-block;
		margin-right: 0;
		margin-left: 7px;
		margin-top: 0;
	}

	.entry-content .desktop-only {
		display: block;
	}

	.entry-content .mobile-image {
		display: none;
	}

	.entry-title {
		font-size: 48px;
	}

	.entry-content h2 {
		font-size: 36px;
	}

	/* –––––––––––––––– START - SINGLE POST - CARD LIST –––––––––––––––– */

	.post-bg {
		border-radius: 5px;
	}

	.post-bg .h-pad {
		padding: 0 32px;
	}

	.sticky-pin {
		left: -24px;
		right: auto;
		transform: rotate(-30deg);
	}

	.post-ex h2 a {
		font-size: 36px;
	}

	/* –––––––––––––––– END - SINGLE POST - CARD LIST –––––––––––––––– */





	/* –––––––––––––––– START - FOOTER ITEMS –––––––––––––––– */
	.footer-logo svg {
		width: 180px;
		margin-bottom: 50px;
	}

	.footer-logos {
		display: flex;
		flex-direction: column;
		padding-top: 16px;
		align-items: baseline;
	}

	.footer-logo svg:first-child {
		margin: 0
	}

	.footer-content {
		width: 50%;
		padding-right: 35px;
	}

	.footer-layout {
		display: flex;
		justify-content: space-between;
	}

	.footer-logo {
		margin-top: 0;
		align-content: center;
		/* width: 50%;  */
		display: flex;
		justify-content: start;
		align-items: start;
		flex-direction: column;
		position: relative;
		padding-left: 35px;
		/* top: 16px; */
	}

	/* –––––––––––––––– END - FOOTER ITEMS –––––––––––––––– */

}

@media screen and (min-width: 800px) {

	/* –––––––––––––––– START - HTML TABLE –––––––––––––––– */

	.col-4 {
		width: 340px;
	}

	/* –––––––––––––––– END - HTML TABLE –––––––––––––––– */
}

@media screen and (min-width: 920px) {

	/* –––––––––––––––– START - MOBILE MENU –––––––––––––––– */
	.js #menu {
		display: block;
		margin-top: 0;
		box-shadow: none;
	}

	.js #menu {
		position: relative;
		width: 100%;
		background: #fff;
		border: 0;
		padding: 0;
		left: -10px;
		right: 0;
	}

	.js #toggle {
		display: none;
	}

	#toggle {
		display: none;
	}

	#menu {
		position: relative;
	}

	nav li {
		float: left;
	}

	nav li:not(:last-child) {
		margin-right: 20px;
	}

	nav li.current-menu-item a:hover {
		text-decoration: none;
	}

	nav li a {
		color: #044554;
	}

	.menu-title {
		display: none;
	}

	/* –––––––––––––––– END - MOBILE MENU –––––––––––––––– */



	/* –––––––––––––––– START - FOOTER ITEMS –––––––––––––––– */

	.footer-logo svg:nth-child(2) {
		margin-bottom: 0px
	}

	.footer-logos {
		flex-direction: row;
		align-items: center;
		flex-wrap: unset;
		gap: unset;
		align-items: end;
	}


	.cdpe-logo:nth-child(2) {
		margin-left: 35px
	}

	.cdpe-logo:first-child {
		margin: 0;
	}

	/* –––––––––––––––– END - FOOTER ITEMS –––––––––––––––– */

}

@media screen and (min-width: 940px) {

	/* –––––––––––––––– START - HTML TABLE –––––––––––––––– */

	.col-4 {
		width: 480px;
	}

	/* –––––––––––––––– END - HTML TABLE –––––––––––––––– */
}

@media screen and (min-width: 1024px) {
	/* –––––––––––––––– START - SINGLE POST - CARD LIST –––––––––––––––– */

	.post-bg .h-pad {
		padding: 0 48px;
	}

	/* –––––––––––––––– END - SINGLE POST - CARD LIST –––––––––––––––– */
}