/*
Theme Name: Wellness-Hub Theme
Theme URI: https://wellness-hub.ca
Description: A theme for the Wellness Hub website
Author: Imran Somji
Template: twentytwenty
Version: 1.0
*/

.home.page .entry-header
{
        padding: 0;
}

.home.page h1.entry-title,
body.single .intro-text
{
        display: none;
}

/* FONTS */

.entry-content, .entry-content p, .entry-content ol, .entry-content ul, .entry-content dl, .entry-content dt,
.widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary
{
	font-family: "Inter var",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,sans-serif;
}

.site-description, body:not(.overlay-header) .toggle-inner .toggle-text, .widget .post-date, .widget .rss-date, .widget_archive li, .widget_categories li, .widget cite, .widget_pages li, .widget_meta li, .widget_nav_menu li, .powered-by-wordpress, .to-the-top, .singular .entry-header .post-meta, .singular:not(.overlay-header) .entry-header .post-meta a
{
	color: #0077c0 !important;
}

/* ARTICLES */

.post-grid
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-auto-rows: auto;
	grid-gap: 2rem;
}

.post-grid.num-posts-2
{
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	grid-gap: 4rem;
}

.post-grid article
{
	border-top: 7px solid #262262;
	padding: 1rem;
	display: block;
	background: white;
	position: relative;
}

.post-grid article h2
{
	margin: 2rem 0;
	font-size: unset;
}

.post-grid article h2 a
{
	color: #0077c0;
}

.post-grid article .post-author
{
	display: none;
}

.post-grid article .entry-header
{
	padding: 0;
	background: none;
}

.post-grid article .post-meta
{
	display: none;
}

.post-grid article:not(.ltchub_team) .featured-media-inner
{
	max-height: 200px;
	overflow: hidden;
}

.post-grid article .featured-media-inner
{
	left: 0;
	width: auto;
	margin: 15px 0;
}

.post-grid article .post-footer
{
	min-height: 55px;
}

.post-grid article .view-post
{
	display: inline-block;
	padding: 5px 15px;
	margin-top: 20px;
	text-decoration: none;
	color: black;
	background: white;
	border: 2px solid currentColor;
	position: absolute;
	bottom: 10px;
	right: 10px;
}

.post-grid article .view-post.ext
{
	padding-right: 30px;
	background-repeat: no-repeat;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 28 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>');
	background-position: center right;
}

.post-grid article.page
{
	border-color: #E91E63;
}

.post-grid article.category-ipac,
.post-grid article.category-ipac .view-post
{
	border-color: #26A9E0;
}

.post-grid article.category-care,
.post-grid article.category-care .view-post
{
	border-color: #8DC63F;
}

.post-grid article.category-vaccine,
.post-grid article.category-vaccine .view-post
{
	border-color: #6D6E70;
}

.post-grid article.category-saliva-testing,
.post-grid article.category-saliva-testing .view-post
{
	border-color: #922690;
}

.post-grid article.category-dried-blood-spot-testing,
.post-grid article.category-dried-blood-spot-testing .view-post
{
	border-color: #AA1926;
}

.post-grid article.category-wraparound-resources,
.post-grid article.category-wraparound-resources .view-post
{
	border-color: #F05A28;
}

.post-grid article.ltchub_team,
.post-grid article.ltchub_team .view-post
{
	border-color: #5A4EA0;
}

/* TAGS */

.whub-tags
{
	margin-top: 4rem;
}

.whub-tags li
{
	display: inline-block;
	margin: 10px 5px;
}

.whub-tags a
{
	padding: 5px 10px;
	border: 2px solid grey;
	border-radius: 2px;
	background-color: white;
	text-decoration: none;
}

body.archive.category .archive-title .color-accent,
body.archive.tag .archive-title .color-accent
{
	display: none;
}

.entry-supplement
{
	font-size: 1.4rem;
}

#site-header, .footer-nav-widgets-wrapper, #site-footer, .archive-header, .singular .entry-header, .singular .featured-media:before, .wp-block-pullquote:before
{
	background: transparent !important;
}

/* SPACING */

body .entry-content>.alignwide:not(.wp-block-group.has-background),
body .entry-content>.alignfull:not(.wp-block-group.has-background)
{
	margin-bottom: 4rem;
	margin-top: 4rem;
}

body .entry-content>.wp-block-group.alignwide.has-background,
body .entry-content>.wp-block-group.alignfull.has-background
{
	padding: 4rem;
}

.no-margin-bottom
{
	margin-bottom: 0 !important;
}

.no-margin-top
{
	margin-top: 0 !important;
}

.no-padding-bottom
{
	padding-bottom: 0 !important;
}

.no-padding-top
{
	padding-top: 0 !important;
}

.banner-caption
{
	padding-top: 2rem !important;
	padding-bottom: 2rem !important;
	font-size: 3.3rem;
}

/* FOOTER */

.footer-widgets-outer-wrapper
{
	padding: 4rem 0;
}

.footer-credits
{
	margin: auto;
}

.powered-by-wordpress
{
	margin: 20px;
}

.footer-copyright img
{
	max-height: 80px;
}

/* SURVEY */

span.wpcf7-list-item
{
	width: 30%;
}

.wpcf7 label:not([for="work-ltch"]),
.wpcf7 input[type="submit"]
{
	margin-top: 24px;
}
