/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



/* main navigation */

@media only screen and (min-width: 1140px) {
	.site-header .inside-header {
		padding-left: 0;
	}
}
	
.site-header .inside-header {
	padding-bottom: 0;
}

.site-header .inside-header .site-logo {
	float: left;
}

.nav-float-right #site-navigation {
	margin-left: 30px;
	margin-top: -12px;
}

.main-navigation .main-nav ul li {
	padding-bottom: 0;
}

.main-navigation .main-nav ul li a {
	padding-left: 0px;
	line-height: 30px;
}

.main-navigation .main-nav ul ul {
	padding-bottom: 20px;
}

.secondary-navigation .main-nav ul li.social-media-icon a span {
	top: -800px;
	position: absolute;
}

.secondary-navigation .main-nav ul li.social-media-icon a {
	padding-left: 10px;
	padding-right: 10px;
	font-size: 18px;
}

.secondary-navigation .main-nav ul li {
	padding-bottom: 0;
}

@media only screen and (max-width: 768px) {
	.inside-header {
		padding: 0px;
	}
	
	.inside-header .site-logo {
		margin-left: 30px
	}
	
	.inside-header .main-navigation .menu-toggle {
		margin-right: 30px;
	}
	
	.nav-float-right #site-navigation {
		margin-left: 0;
	}
	
	.inside-header #menu-main-menu a {
		padding-left: 10px;
	}
	
	.main-navigation .main-nav ul li a {
		padding-left: 0px;
		line-height: 60px;
	}
	
}

@media only screen and (max-width: 500px) {
	.inside-header .site-logo {
		margin-left: 20px
	}
	
	.inside-header .main-navigation .menu-toggle {
		margin-right: 15px;
	}
	
	.inside-header .site-logo img {
		max-width: 200px;
	}
	
}

.navigation-search input[type="search"] {
	height: 60px;
	  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 4px 8px 0 rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
}

.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:focus {
	background-color:#eee;
}

.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:active {
	background-color:#ccc;
}

.mobile-menu-control-wrapper .menu-toggle::before {
	content: 'Menu';
	margin-right: 5px;
}

.has-inline-mobile-toggle #site-navigation.toggled {
	background-color: #fff;
}

.main-navigation.toggled .main-nav li {
	border-top:1px solid #999;
}

.main-navigation.toggled .main-nav li li {
	border: none;
}

.main-navigation .main-nav ul li a {
	padding-right: 35px;
}

/*disable toggle for secondary navigation*/

.secondary-navigation .menu-toggle {
      display: none;
}

@media(max-width: 768px) {
    .secondary-navigation {
        text-align: center !important;
    }
    .secondary-navigation ul {
        display: block;
    }
    .secondary-navigation .sf-menu>li {
        float: none;
        display: inline-block !important;
    }
}

/*notificaiton bar */

.mtsnb-button-type .mtsnb-link {
	background-color: #0a7cbb;
	padding: 5px 12px;
	border-radius: 2px;
}


/*upper buttons located below nav */

.donate-subscribe-get-involved {
	display:block;
	padding-bottom: 20px;
}

.donate-subscribe-get-involved .donate-etc-inner {
	max-width: 1140px;
	margin: 0 auto;
}

.donate-subscribe-get-involved ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.donate-subscribe-get-involved ul li {
	float: left;
	width:32.5%;
	margin-right: 1.25%;
}

.donate-subscribe-get-involved ul li.get-involved-button {
	margin-right: 0;
}

.donate-subscribe-get-involved ul li a {
	display: block;
	background-color:black;
	text-align: center;
	text-decoration: none;
	font-family: inherit;
	text-transform: uppercase;
	padding: 10px;
	font-weight: 700;
	font-size: 20px;
	color: #fff;
}

.donate-subscribe-get-involved ul li.donate-button a {
	background-color: #aac737;
	color: #000;
}

.donate-subscribe-get-involved ul li.donate-button a:hover {
	background-color: #96b729;
}

.donate-subscribe-get-involved ul li.subscribe-button a {
	background-color: #1095CB;
}

.donate-subscribe-get-involved ul li.subscribe-button a:hover {
	background-color: #1979c0;
}

.donate-subscribe-get-involved ul li.get-involved-button a {
	background-color:#fdaf17;
	color: #000;
}

.donate-subscribe-get-involved ul li.get-involved-button a:hover {
	background-color:#f99c10;
}

@media only screen and (max-width: 500px) {
	.donate-subscribe-get-involved ul li a {
		font-size: 16px;
	}
}

@media only screen and (max-width: 400px) {
	.donate-subscribe-get-involved.en ul li a {
		font-size: 14px;
	}
}

/* main content area */

.one-container .site-content {
	padding-bottom: 60px;
}

.site-content .content-area {
	border-top:1px solid #ccc;
	padding-top: 20px;
}

@media only screen and (min-width: 1140px) {
	.one-container .site-content {
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 80px;
	}
}

.site-content img {
	margin-bottom: 25px;
}

.site-content img.image-border {
	border: 1px solid #ccc;
}

ul.no-bullet {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}

ul li,
ol li {
	padding-bottom: 10px;
}

ul ul,
ol ol,
ul ol,
ol ul {
	padding-top: 10px;
}

@media only screen and (max-width: 500px) {
	h1 {
		font-size: 38px;
	}
	
	ul,
	ol {
		margin-left: 0;
		padding-left: 0;
	}
	
}

@media only screen and (max-width: 400px) {
	h1 {
		font-size: 36px;
	}
}

strong.h3 {
	font-family: Source Sans Pro, sans-serif;
font-weight: 700;
font-size: 26px;
	color: #666;
	line-height: 1.2;
}

.red {
	color: #cb2229 !important;
}

.blue {
	color:#1095CB !important;
}

.green {
	color: #96b729 !important;
}

.orange {
	color: #fdaf17 !important;
}

/* main content home page */

@media only screen and (max-width: 768px) {
	.su-row .su-column.home-post-one,
	.su-row .su-column.home-post-two,
	.su-row .su-column.home-post-three-four {
		width:100%;
		margin-left: 0;
		float: none;
	}
}

@media only screen and (min-width: 768px) {
	.su-row .su-column.home-post-one {
	width:32.5%;
	margin-left: 0;
}

.su-row .su-column.home-post-two,
.su-row .su-column.home-post-three-four {
	width:32.5%;
	margin-left: 1.25%;
}
}

.home-post-one .home-post-image,
.home-post-two .home-post-image {
	height: 225px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	margin-bottom: 40px;
}

h2.home-h2,
.home-post-one h2,
.home-post-two h2,
.home-post-three-four h2 {
	font-size: 24px;
	line-height: 1.1em;
}

.home-post-one a,
.home-post-two a,
.home-post-three-four a {
	white-space: nowrap;
	font-weight:600;
	margin-left: 5px;
}

.home-post-one h2,
.home-post-two h2,
.home-post-one p,
.home-post-two p {
	padding-right: 5px;
}

.home-post-one h2 {
	color: #aac737;
}

.home-post-one h2 a,
.home-post-two h2 a,
.home-post-three h2 a,
.home-post-four h2 a {
	color: inherit;
	font-weight: inherit;
	text-decoration: inherit;
	white-space: normal;
	margin-left: 0;
}

.home-post-three h2 a,
.home-post-four h2 a {
	color: #fff !important;
}

.home-post-two h2 {
	color: #cb2229;	
}

.home-post-three-four .home-post-three,
.home-post-three-four .home-post-four {
	color: #fff;
	padding: 20px 20px 10px 20px;
}

.home-post-three-four .home-post-three h2,
.home-post-three-four .home-post-four h2 {
	color: #fff;
}

.home-post-three-four p {
	line-height: 1.3;
}

.home-post-three-four .home-post-three {
	margin-bottom: 15px;
}

.home-post-three-four .home-post-three a,
.home-post-three-four .home-post-four a {
	color: #fff;
}

.home-post-three-four .home-post-three a:hover,
.home-post-three-four .home-post-four a:hover {
	color: #000;
}


.home-post-three-four .home-post-three {
	background-color:#797B7B;
}

.home-post-three-four .home-post-four {
	background-color:#1095CB;
}

.home-post-one .home-post-link,
.home-post-two .home-post-link,
.home-post-three .home-post-link,
.home-post-four .home-post-link {
	padding-left: 0 !important;
	margin-left: 0 !important;
	display: block;
}

.home-post-one .home-post-image-link,
.home-post-two .home-post-image-link {
	display: block;
	height: 225px;
	margin-left: 0;
}

.home .su-posts-list-loop {
	margin: 0 0 0 0;
	padding: 0;
	list-style-type: none;
}

.home .su-posts-list-loop li {
	padding-bottom: 10px;
}

.home .su-posts-list-loop li a {
	color: #666;
	text-decoration: none;
}

.home .su-posts-list-loop li a:hover {
	text-decoration: underline;
}

.home .more-right {
	text-align: right;
}

.home .hln-mobile {
	display: none;
}

@media only screen and (max-width: 768px) {
	.home .hln-mobile {
		display: block;
	}
	
	.home .hln-desktop {
		display: none;
	}
}



/* single posts */

body.single article .entry-header {
	border-bottom: 1px solid #999;
	padding-bottom: 10px;
}

article.type-post h1.entry-title,
article.type-publication h1.entry-title,
article.type-news h1.entry-title {
	font-size: 32px;
	line-height: 1.1em;
	padding-right: 8%;
}

article.type-news h1.entry-title::before {
	display: block;
	content:"News Article";
	font-size: 50%;
	color:#333;
	padding-bottom: 20px;
}

article.type-publication h1.entry-title::before {
	display: block;
	content:"Publication";
	font-size: 50%;
	color:#333;
	padding-bottom: 20px;
}

article.type-post .resource-note,
.page-id-8650 .resource-note {
	display: none;
}

/* remove standard meta data because of cpt duplication */

.entry-meta {
	display: none;
}

/* meta data size */

.entry-meta-tu-cpt {
	font-size: 85%;
	line-height: 1.5;
	color: #666;
	padding-top: 25px;
}

/* text before published date */

body.english .entry-meta-tu-cpt .entry-date::before {
	content:"Published on: ";
	font-style: italic;
}

body.french .entry-meta-tu-cpt .entry-date::before {
	content:"Publié : ";
	font-style: italic;
}

/* tags */

footer.entry-meta-tu-cpt {
	color: transparent;
	padding-top: 40px;
}

footer.entry-meta-tu-cpt span.tags-links a {
	margin-right: 0.5em;
	padding: 0.4em 0.6em;
	margin-top: 0.5em;
	border: 1px solid #666;
	border-radius: 0.25rem;
	color: #666;
	text-decoration: none;
}

footer.entry-meta-tu-cpt span.tags-links a:hover {
	background-color: #1e73be;
	border-color:#1e73be;
	color: #fff;
}

footer.entry-meta-tu-cpt span.tags-links .icon-tags {
	display: none;
}

/*publication download button */

.site-main .download-link-button a {
	display: inline-block;
	background-color: #aac737;
	text-align: center;
	text-decoration: none;
	font-family: inherit;
	text-transform: uppercase;
	padding: 10px 30px;
	font-weight: 700;
	font-size: 20px;
	color: #fff;
}

.site-main .download-link-button a:hover {
	background-color: #96b729;
}

/*   */

html body a.download-link::after, html body a.download-link::before {
	display: none !important;
}


/*meta data - needs fixing */

.inside-article #pubMeta {
	border-top: 1px solid #999;
	padding: 20px 0;
	border-bottom: 1px solid #999;
	margin-top: 40px;
	clear: both;
}

.inside-article #pubMeta .pubMetaTitle {
	width: 20%;
	float: left;
	clear: left;
	font-size: 90%;
	font-weight: 700;
	text-transform: uppercase;
}

.inside-article #pubMeta .pubMetaData {
	width:80%;
	float: left;
	font-size: 90%;
}

/* related publications */

.pageFooter {
	width: 100%;
	background-color: #CCCCCC;
	padding: 15px 15px 25px 15px;
	margin-bottom: 20px;
	clear: both;
}

/* related publications original styling */

.pageFooter h1 {
	color: #fff;
	text-transform: uppercase;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 20px;
	margin-bottom: 10px;
}


.pageFooter h2 {
  color: #000000;
  text-transform: uppercase;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  display: inline;
}

.pageFooter ul {
	margin-left: 15px;
	padding-left: 0;
}

.pageFooter a {
	text-decoration: none;
	color: #000000;
	font-size: inherit !important;
}

.pageFooter a:hover {
	text-decoration: underline;
}


/* formidable styles */

.frm_submit button {
	display: inline-block;
	background-color: #aac737 !important;
	text-align: center !important;
	text-decoration: none !important;
	font-family: inherit !important;
	text-transform: uppercase !important;
	padding: 10px 30px !important;
	font-weight: 700 !important;
	font-size: 20px !important;
	color: #fff !important;
	border-color: #aac737 !important;
}

.frm_submit button:hover {
	background-color: #96b729 !important;
	border-color: #96b729 !important;
}

/* tabs */

.site-main .su-tabs {
	padding:2px;
}


.site-main .su-tabs .su-tabs-nav span {
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	color: #666;
}

.site-main .su-tabs .su-tabs-nav span:hover,
.site-main .su-tabs .su-tabs-nav span.su-tabs-current {
	color: #1095CB;
}

.site-main .su-tabs .su-post {
	padding-bottom: 20px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
}

.site-main .su-tabs .su-post .su-post-title {
	margin-bottom: 0;
	line-height: 1em;
}

.site-main .su-tabs .su-post .su-post-title a {
	font-size: 24px;
	text-decoration: none;
	font-weight: 800;
	color: #333;
	text-transform: uppercase;
}

.site-main .su-tabs .su-post .su-post-title a:hover {
	color: #cb2229;
}

.site-main .su-tabs .su-post .su-post-meta {
	font-size: 16px;
}

.site-main .su-tabs .su-post .su-post-excerpt {
	font-size: 18px;
}

.site-main .su-tabs .su-post .su-post-thumbnail {
	display: none;
}


.site-main .su-tabs p {
	font-size: 18px;
}


/* expand */

.site-main .profile-text h2 span {
	font-size: 22px;
	font-weight: 700;
	text-transform: none;
	color: #999;
	display: inline-block;
}

.site-main .profile-text.donor h2 span {
	color: #cb2229;
	text-transform: uppercase;
	display: inline;
	white-space: nowrap;
}

.site-main .su-expand-link a {
	color: var(--accent) !important;
	text-decoration: underline !important;
}

.site-main .su-expand-link a:hover {
	color: #cb2229 !important;
}

.site-main .board-profile h3 {
	font-size: 24px;
}

.site-main .board-profile h3 span {
	font-weight: 700;
	color: #999;
	font-size: .8em;
	white-space: nowrap;
}

/* accordian */

.site-main .su-accordion .su-spoiler {
	margin: 0 !important;
	border-bottom: 3px solid #fff;
}

.su-accordion .su-spoiler .su-spoiler-title {
	font-size: 24px;
	background-color: #aaaaaa;
	padding: 20px 20px 20px 40px;
}

.su-accordion .su-spoiler .su-spoiler-title span {
	color: #fff;
	text-transform: uppercase;
}

.su-accordion .su-spoiler .su-spoiler-title .su-spoiler-icon {
	padding: 13px;
	font-size: 20px;
	color: #ddd;
}

.su-accordion .su-spoiler .su-spoiler-content {
	border: 1px solid #ccc;
	border-top: none;
	padding: 1em 1em 2em 1em;
}

.su-accordion .su-spoiler.drugs-harm-reduction .su-spoiler-title {
	background-color: #aac737;
	color: #fff;
}

.su-accordion .su-spoiler.drugs-harm-reduction .su-spoiler-title .su-spoiler-icon {
	color: #000;
}

.su-accordion .su-spoiler.resources-lawyers .su-spoiler-title {
	background-color: #1095cb;
	color: #fff;
}

.su-accordion .su-spoiler.resources-lawyers .su-spoiler-title .su-spoiler-icon {
	color: #000;
}

.drugs-and-harm-reduction-content {
  background-image: url(images/background-election.png);
  background-repeat: no-repeat;
  background-position: right top;
}

.su-accordion .su-spoiler.drugs-harm-reduction.take-action .su-spoiler-title {
	background-color: transparent;
	background-image: url(images/harm-take-action-header-background.png);
}

/*su notes */

.su-note.highlight-box,
.su-note.highlight-box .su-note-inner {
	border: none;
	background-color: #1095cb;
	color: #fff;
}

.su-note.highlight-box .su-note-inner {
	padding: 25px 25px 35px 25px;
}

.su-note.highlight-box .large {
	font-size: 1.5em;
	line-height: 1.2em;
	font-weight: 700;
}

/*su button */

.content-area a.su-button.su-button-style-default {
	border: none !important;
	border-radius:0 !important;
	font-weight: 700;
}

/* resource kit */

div.resource-table-of-contents {
	background-color: #1095cb;
	padding: 20px 20px 20px 40px;
	color: #000;
	border-bottom: 3px solid #fff;
}

div.resource-table-of-contents h2 {
	color: #fff;
}

div.resource-table-of-contents a {
	text-transform: uppercase;
	color: #fff;
	font-size: 20px;
	text-decoration: none;
	font-weight: 700;
}

div.resource-table-of-contents ul {
	padding-left: 0;
	margin-left: 12px;
}

div.resource-table-of-contents a:hover {
	text-decoration: underline;
}

/* our work highlight content styles */


@media only screen and (max-width: 768px) {
	.su-row .su-column.our-work-news-one,
	.su-row .su-column.our-work-news-two,
	.su-row .su-column.our-work-news-three {
		width:100%;
		margin-left: 0;
		float: none;
	}
}

@media only screen and (min-width: 768px) {
	.su-row .su-column.our-work-news-one {
	width:32.5%;
	margin-left: 0;
}

.su-row .su-column.our-work-news-two,
.su-row .su-column.our-work-news-three {
	width:32.5%;
	margin-left: 1.25%;
}
}


.our-work-news-one .our-work-news-image,
.our-work-news-two .our-work-news-image,
.our-work-news-three .our-work-news-image {
	height: 225px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	margin-bottom: 40px;
}

.our-work-news-one h3,
.our-work-news-two h3,
.our-work-news-three h3 {
	font-size: 24px;
	line-height: 1.1em;
	text-transform: uppercase;
	font-weight: 800;
	color: #a6c300;
}

.pageFooter.video-links {
	background-color: #238fcf;
	color: #fff;
}

.pageFooter.video-links h2 {
	font-size: 26px;
	line-height: 1.1em;
	text-transform: uppercase;
	font-weight: 800;
	color: #fff;
}

@media only screen and (max-width: 768px) {
	.su-row .su-column.our-video-news-one,
	.su-row .su-column.our-video-news-two,
	.su-row .su-column.our-video-news-three {
		width:100%;
		margin-left: 0;
		float: none;
	}
}

@media only screen and (min-width: 768px) {
	.su-row .su-column.our-video-news-one {
	width:32.5%;
	margin-left: 0;
}

.su-row .su-column.our-video-news-two,
.su-row .su-column.our-video-news-three {
	width:32.5%;
	margin-left: 1.25%;
}
}

.pageFooter.video-links .our-work-video-image {
	height: 225px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	margin-bottom: 10px;
}

.pageFooter.video-links .our-video-news-link {
	width:100%;
	height:225px;
	display: block;
	background-image: url("images/video-foreground-2.png");
	background-position: center top;
	background-repeat: no-repeat;
}

.pageFooter.video-links .our-video-news-link:hover {
		background-position: center bottom;
}

.pageFooter.video-links .our-video-news-link img {
	text-align: center;
}

.pageFooter.video-links .our-work-video-content {
	font-weight: 600;
	text-align: left;
	font-size: 22px;
	line-height: 1.1em;
	padding: 5px 10px 0px 0px;
}

.pageFooter.key-resources {
	background-color: #aac737;
	color: #fff;
}

.pageFooter.key-resources h2 {
	font-size: 26px;
	line-height: 1.1em;
	text-transform: uppercase;
	font-weight: 800;
	color: #fff;
}

.pageFooter.key-resources a {
	font-weight: 700;
	text-transform: uppercase;
}


.our-work.learn-more .su-tabs-pane {
	padding: 15px 25px 35px 25px;
}

.our-work.learn-more .su-tabs-nav span {
	padding: 15px 25px;
}

/* post list typical - use annual reports template */

.su-posts.su-posts-default-loop.ar-typical .su-post {
	border-bottom: 1px solid #ccc;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.su-posts.su-posts-default-loop.ar-typical h2.su-post-title {
	margin-bottom: 0;
	line-height: 1em;
}

.su-posts.su-posts-default-loop.ar-typical h2.su-post-title a {
	font-size: 24px;
	text-decoration: none;
	font-weight: 800;
	color: #333;
	text-transform: uppercase;
}

.su-posts.su-posts-default-loop.ar-typical h2.su-post-title a:hover {
	color: #cb2229;
}

/* search parameters box */

.search-parameters ul {
	margin-left: 0;
	padding-left: 0;
}

.search-parameters .sf-input-select {
	font-size: .9em;
}

.publications-news-search-results h2.su-post-title {
	margin-bottom: 0;
	line-height: 1em;
}

.publications-news-search-results h2.su-post-title a {
	font-size: 24px;
	text-decoration: none;
	font-weight: 800;
	color: #333;
	text-transform: uppercase;
}

.publications-news-search-results h2.su-post-title a:hover {
	color: #cb2229;
}

.publications-news-search-results .su-post-meta {
	font-size: 85%;
	line-height: 1.5;
	color: #666;
	padding-bottom: 25px;
}

/*footer area of website */

.menu-footer-menu-container ul li {
	padding-bottom: 0;
}

/*   */

html body a.download-link::after, html body a.download-link::before {
	display: none !important;
}
