/*
Theme Name: HDPlugins
Theme URI: https://harmonicdesign.ca
Author: Harmonic Design
Author URI: https://harmonicdesign.ca
Description: This theme is for use on HDPlugins.com <strong>only</strong>
*/

:root {
	--site-width: 1100px;
	--header-bg: #fff7ec;
	--bg: #fff;
	--font-colour-primary: #2d2d2d;
	--font-colour-secondary: #000;
	--font-colour-heading: #00749c;
	--font-colour-subheading: #000;
	--font-primary: Arial, sans-serif;
	--font-heading: "neue-haas-grotesk-display", sans-serif;
	--font-secondary: "adaptive-mono", mono;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-rendering: optimizeLegibility;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html,
body {
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 1.4;
	color: var(--font-colour-primary);
	font-family: var(--font-primary);
	background: var(--bg);
	font-optical-sizing: auto;
	scroll-behavior: smooth;
}

img {
	max-width: 100%;
	height: auto;
}

iframe {
	max-width: 100%;
}

#content a,
#article_content a {
	color: #000;
	z-index: 1;
}

#content a:hover,
#article_content a:hover {
	color: #fff;
	background-color: #000;
}

.wrap {
	margin: 0 auto;
	max-width: var(--site-width);
}

.heading,
.is-style-primary-heading {
	text-align: center;
	font-size: 4rem;
	letter-spacing: 0.012em;
}

.subheading,
.is-style-subheading {
	text-align: center;
	font-family: var(--font-secondary);
	font-size: 1.1em;
	margin-top: 0.6em;
	margin-bottom: 2rem;
}

#header {
	background-color: var(--header-bg);
	position: relative;
	z-index: 99;
}

.home header {
	height: 100vh;
}

#top_bar {
	line-height: 1;
	padding: 2rem 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	transition: box-shadow ease-in-out 350ms;
	pointer-events: none;
}

#top_bar_wrapper {
	display: grid;
	grid-template-columns: 1fr max-content;
}

#top_bar.sticky {
	background-color: #fff;
	box-shadow: 0 0 17px -11px #777;
}

#logo_wrapper,
#logo_wrapper_footer {
	letter-spacing: 0.025em;
	display: flex;
	align-items: center;
	line-height: 1;
	font-weight: 700;
	color: var(--font-colour-heading);
	font-size: 22px;
	/* Need to ensure consistant font rendering */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif;
}

.logo_h {
	transform: rotate(90deg) scale(0.65) translateY(-0.35em);
	transition: transform 0.5s ease-in-out;
	display: inline-block;
}

.logo_plugins {
	color: #000;
}

.sticky #logo_wrapper .logo_h {
	transform: none;
}

#navigation {
	pointer-events: initial;
}

.nav_item {
	color: var(--font-colour-primary);
	text-decoration: none;
	margin-right: 2em;
	display: inline-block;
	position: relative;
	font-size: 20px;
}

.nav_item.icon {
	width: 16px;
	display: inline-block;
	position: relative;
	top: 0;
	transition: all ease-in-out 300ms;
	padding: 0;
	border: none;
	margin-right: 0.4em;
}

.nav_item.icon > svg {
	fill: #1d1d1d;
}

.nav_item.icon:hover > svg {
	fill: #fff;
}

.nav_item:last-child {
	margin-right: 0;
}

.nav_item::before {
	content: "";
	position: absolute;
	left: 0;
	top: -25%;
	width: 0;
	height: 150%;
	background-color: black;
	z-index: -1;
	transform: rotate(-1deg);
}

.nav_item:hover {
	color: #fff;
}

.nav_item:hover::before {
	width: 112%;
	left: -6%;
}

#hero {
	overflow: hidden;
	pointer-events: none;
	padding: 3rem 0;
	height: 100%;
	align-content: end;
	min-height: 35vh;
}

.home #hero {
	padding: 3rem 0 0 0;
	align-content: center;
}

#hero_title {
	font-size: 3rem;
	text-wrap-style: balance;
	pointer-events: initial;
	font-weight: 400;
	line-height: 1;
	font-family: var(--font-heading);
	margin: 0;
	padding: 0;
}

#hero_image {
	pointer-events: none;
	padding-top: 3rem;
}

#hero_subtitle {
	text-align: right;
	text-wrap-style: balance;
	color: var(--font-colour-heading);
	font-size: 1.2rem;
	line-height: 1.2;
}

#home_hero_bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	overflow: hidden;
	z-index: -1;
	display: grid;
	grid-gap: 0;
	--header-grid-size: 12;
	grid-template-columns: repeat(var(--header-grid-size), 1fr);
}

#home_hero_bg::after {
	content: "";
	width: 108%;
	height: 108%;
	left: -4%;
	top: -4%;
	position: absolute;
	opacity: 0.1;
	background-image: repeating-conic-gradient(#ffffff 0%, transparent 0.00003%, transparent 0.0005%, transparent 0.00095%), repeating-conic-gradient(#ffffff 0%, transparent 0.00005%, transparent 0.00015%, transparent 0.0009%);
	animation: grain 0.5s steps(1) infinite;
	filter: drop-shadow(0px 0px 1px black);
	z-index: 2;
	pointer-events: none;
}

@keyframes grain {
	0%,
	100% {
		transform: translate(0, 0);
	}
	10% {
		transform: translate(-1%, -1%);
	}
	20% {
		transform: translate(1%, 1%);
	}
	30% {
		transform: translate(-2%, -2%);
	}
	40% {
		transform: translate(3%, 3%);
	}
	50% {
		transform: translate(-3%, -3%);
	}
	60% {
		transform: translate(4%, 4%);
	}
	70% {
		transform: translate(-4%, -4%);
	}
	80% {
		transform: translate(2%, 2%);
	}
	90% {
		transform: translate(-3%, -3%);
	}
}

.hero_grid_item {
	opacity: 0;
	transition: ease-in-out opacity 1200ms;
	background-color: #eee;
	aspect-ratio: 1 / 1;
}

.hero_grid_item:nth-child(2n) {
	background-color: #fff;
}

.hero_grid_item:nth-child(3n) {
	background-color: #fdecda;
}

.hero_grid_item:nth-child(4n) {
	background-color: #e7e3ff;
}

.hero_grid_item:hover,
.hero_grid_item.active {
	opacity: 1;
	transition: ease-in-out opacity 300ms;
}

.home #hero h1 {
	margin: 0;
	font-size: 5rem;
	line-height: 1;
}

#hero_title > span {
	font-size: 0.6em;
	color: #00749c;
	font-style: italic;
	display: block;
	position: relative;
	left: -0.05em;
	font-weight: 400;
}

.home #hero h1 > span {
	font-size: inherit;
	color: #00749c;
	font-style: italic;
	display: block;
	position: relative;
	left: -0.05em;
	font-weight: 700;
}

#hero_heading .cols {
	align-items: end;
}

#hero_heading_callout_sections {
	font-family: var(--font-secondary);
}

.callout_block {
	display: block;
	font-size: 1.4em;
	font-weight: 700;
	font-family: var(--font-heading);
}

#hero_featured {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 1rem;
	position: relative;
}

.hero_featured_item {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 0 17px -11px #777;
	position: relative;
	transition: 350ms ease-in-out;
	background: #fff;
	height: fit-content;
	pointer-events: initial;
}

.hero_featured_item:nth-child(2n) {
	top: -1rem;
}

.hero_featured_item:first-child:hover {
	transform: translateY(-0.6em) translateX(-0.6em);
}

.hero_featured_item:nth-child(2):hover {
	transform: translateY(-0.6em) translateX(0.6em);
}

.hero_featured_item:nth-child(3):hover {
	transform: translateY(0.6em) translateX(-0.6em);
}

.hero_featured_item:nth-child(4):hover {
	transform: translateY(0.6em) translateX(0.6em);
}

.hero_featured_item:nth-child(2n) {
	top: -1rem;
}

.hero_featured_item_image {
	aspect-ratio: 1.6/1;
	background-color: #f1e4d4;
	opacity: 0.8;
	transition: opacity 0.4s ease-in-out;
}

.hero_featured_item_image > img {
	display: block;
	width: 100%;
}

.hero_featured_meta {
	padding: 1rem;
	background-color: #fff;
}

.hero_featured_item_title {
	font-weight: 400;
	font-size: 1.2rem;
	font-family: var(--font-heading);
}

.hero_featured_item_subtitle {
	font-size: 0.85rem;
	color: #623cad;
	font-weight: 700;
	font-family: var(--font-secondary);
}

.hero_featured_item > a {
	text-decoration: none;
	display: block;
	top: 0;
	left: 0;
	height: 100%;
	position: absolute;
	width: 100%;
}

#main {
	padding: 4rem 0;
}

.is-style-section {
	margin-bottom: 8rem;
}

.is-style-section:last-child {
	margin-bottom: 0;
}

#article_content > .hdcallout:first-child {
	margin-top: -0.8rem;
}

#footer {
	padding: 2rem 0;
	background-color: var(--header-bg);
}

#hd_share {
	display: grid;
	grid-template-columns: max-content 1fr;
	grid-gap: 2rem;
	align-items: center;
	margin-top: 2rem;
}

#hd_share p {
	margin: 0 !important;
	padding: 0;
	position: relative;
}

.hd_share_ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}

.hd_share_li {
	margin: 0 0.2em;
}

.hd_share_link {
	width: 32px;
	display: inline-block;
	position: relative;
	top: 0;
	transition: all ease-in-out 300ms;
	padding: 0;
	border: none;
}

.hd_share_link > svg {
	fill: #1d1d1d;
}

.social_media_links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
}

.social_media_icon {
	width: 32px;
	display: inline-block;
	position: relative;
	top: 0;
	transition: all ease-in-out 300ms;
	padding: 0;
	border: none;
	margin-right: 0.4em;
}

.social_media_icon > svg {
	fill: #1d1d1d;
}

#footer_links > li > a {
	text-decoration: none;
	color: #222;
}

#footer_bottom > p {
	margin: 0;
	text-align: center;
}

.sidebar_nav {
	display: grid;
	gap: 4rem;
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 2fr);
}

#sidebar_content {
	position: sticky;
	top: 8rem;
	margin: 0 0 2rem;
	border: 1px solid #eee;
	overflow: hidden;
}

#article_nav_heading {
	margin: 0;
	text-align: center;
	padding: 1rem 0;
	border-bottom: 1px solid #cecece;
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1;
	font-size: 0.8em;
	background: #f9f9f9;
}

#article_nav_heading > a {
	margin-left: 1em;
	text-decoration: none;
	color: #000;
}

#sidebar_navigation {
	padding: 2rem;
	max-height: calc(100vh - 13rem);
	overflow-y: auto;
	scroll-behavior: smooth;
	font-family: var(--font-secondary);
	display: flex;
	flex-direction: column;
}

ul.hd_blog_cats {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: bold;
}

ul.hd_blog_cats a {
	color: #000;
	text-decoration: none;
}

ul.hd_blog_cats a:hover {
	color: #fff;
	background: #111;
}

ul.hd_blog_cats > li {
	color: #222;
	text-decoration: none;
	line-height: 1;
	margin-bottom: 8px;
	width: fit-content;
	padding: 4px;
	margin: 1rem 0 0.2em 0;
	font-weight: bold;
}

ul.hd_blog_cats > li:first-child {
	margin-top: 0;
}

ul.hd_blog_cats > li > ul {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.8rem;
}

ul.hd_blog_cats > li > ul > li {
	font-weight: normal;
	margin: 4px 0;
}

.hd_toc_item {
	color: #222;
	text-decoration: none;
	line-height: 1;
	margin-bottom: 8px;
	width: fit-content;
	padding: 4px;
}

.hd_toc_item:hover {
	color: #fff;
	background: #111;
}

.hd_toc_H2 {
	font-weight: 700;
	margin-top: 1em;
	font-style: italic;
}

.hd_toc_H2:first-child {
	margin-top: 0;
}

.hd_toc_H3,
.hd_toc_H4,
.hd_toc_H5,
.hd_toc_H6 {
	font-size: 0.8em;
}

.hd_toc_H4 {
	padding-left: 1em;
}
.hd_toc_H4:before {
	content: "- ";
}

.hd_toc_H5 {
	padding-left: 2em;
}

/* Generic */
h1,
h2,
h3,
h4,
h5 {
	font-weight: 400;
	line-height: 1;
	font-family: var(--font-heading);
	margin: 0;
	padding: 0;
}

#article h2,
#article h3,
#article h4,
#article h5 {
	margin: 2rem 0 1rem 0;
	color: #000;
	scroll-margin-top: 8rem;
	text-wrap-style: balance;
}

#article h2 {
	font-size: 1.6em;
	position: relative;
	z-index: 1;
	display: inline-block;
	left: 0.5em;
}

#article h2::before {
	content: "";
	z-index: -1;
	width: calc(100% + 1em);
	height: calc(100% + 0.5em);
	top: -0.25em;
	left: -0.5em;
	background-color: rgb(254, 246, 235);
	position: absolute;
	transform: rotate(-1deg);
}

#article h3 {
	font-size: 1.4em;
}

.blog_item {
	margin-bottom: 4rem;
}

.blog_item_meta {
	border: 1px solid #eee;
	border-top: 0;
	margin-top: -1em;
	padding: 4rem 2rem 4rem;
}

.blog_item_meta a {
	text-decoration: none;
	color: #000;
}

.blog_item_meta a:hover {
	background-color: #000;
	color: #fff;
}

.blog_meta_item_date_cats {
	display: flex;
	font-size: 0.8em;
}

.blog_meta_item_date_cats > p {
	margin-right: 1rem;
}

.blog_meta_item_date_cats a {
	color: var(--font-colour-heading);
}

.blog_item_excerpt > p:first-child {
	margin-top: 0;
}

.blog_item_excerpt > p:last-child {
	margin-bottom: 0;
}

figure {
	margin: 1em 0;
}

code {
	display: inline-block;
	padding: 0.05em 0.3em;
	position: relative;
	background: #efefef;
	font-size: 0.8em;
	top: -0.1em;
	tab-size: 4;
	font-family: monospace;
}

pre > code {
	padding: 1em;
	width: 100%;	
	overflow-wrap: break-word;
	text-align: initial;
	white-space: pre-wrap;
}

.wp-block-code code {
	padding: 1em;
	direction: ltr;
	display: block;
	font-family: inherit;
	overflow-wrap: break-word;
	text-align: initial;
	white-space: pre-wrap;
}

.wp-block-code {
	max-width: calc(100vw - 5rem);
	padding: 0.4rem;
	box-sizing: border-box;
}

.wp-block-image > img {
	display: block;
}

.wp-block-list > li {
	margin-bottom: 6px;
}

.wp-block-list > li:last-child {
	margin-bottom: 0;
}

.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
	display: none !important;
}

#main blockquote {
    margin: 0;
    padding-left: 1em;
    font-weight: bold;
}

.hdt_yt_embed {
	display: inline-block;
	position: relative;
	background-color: #000;
	border-radius: 12px;
	box-shadow: 0 0 17px -8px #00749c;
	overflow: hidden;
}

.hdt_yt_embed p {
	display: none;
}

.hdt_yt_thumbnail_wrapper {
	display: flex;
}

.hdt_yt_play_button {
	height: 20%;
	z-index: 1;
	opacity: 0.8;
}

.hdt_yt_button_wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
}

.hdt_yt_embed:hover .hdt_yt_play_button {
	opacity: 1;
}

.hdt_yt_thumbnail {
	display: block;
	aspect-ratio: 16/9;
	object-fit: cover;
	opacity: 0.6;
}

.hdt_yt_embed .hdt_yt_link {
	position: absolute !important;
	z-index: 2 !important;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	text-decoration: none;
}

.hdt_yt_embed .hdt_yt_link:hover {
	background: initial !important;
}

.hdt_yt_description {
	position: absolute;
	bottom: 0;
	right: 0;
}

.button,
.wp-block-button__link {
	text-decoration: none;
	color: #fff !important;
	padding: 1em 1.5em;
	line-height: 1;
	display: inline-block;
	background-color: #222;
	border-radius: 5rem;
	box-shadow: 0 0 0 0 #222;
	border: none;
	font-size: 1em;
	pointer-events: initial;
	text-align: center;
	cursor: pointer;
}

.button_small {
	padding: 0.5em 0.75em;
}

#home_hero_callout {
  text-align: center;
  padding: 1em;
	background-color:#f3eadc
}

.hero_callout_button {
  padding: 0.5em 1em;
  line-height: 1;
  display: inline-block;
  cursor: pointer;
  border-radius: 3px;
  background-color: var(--font-colour-heading);
  color: #fff;
  border: none;
  text-decoration: none;
}

.text-align-left {
	text-align: left;
}

.text-align-right {
	text-align: right;
}

.text-align-center,
.has-text-align-center {
	text-align: center;
}

.cols {
	display: grid;
	grid-gap: 2rem;
}

.col-1-1 {
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr);
}

.col-1-1-1 {
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr) minmax(10px, 1fr);
}

.col-1-2 {
	grid-template-columns: minmax(10px, 1fr) minmax(10px, 2fr);
}

.col-2-1 {
	grid-template-columns: minmax(10px, 2fr) minmax(10px, 1fr);
}

.calign {
	text-align: center;
}

.valign {
	align-items: center;
}

.balign {
	align-items: end;
}

.pagination .nav-links {
	display: flex;
	justify-content: end;
}

.pagination .nav-links > .page-numbers {
	margin: 0 0.2em;
	text-decoration: none;
	color: #000;
}

.pagination .nav-links > .page-numbers::after {
	display: none;
}

.pagination .page-numbers.current {
	font-weight: bold;
}

.hdt_opacity,
.is-style-hdt_opacity {
	display: block;
	width: 100%;
	opacity: 0.8;
	border-radius: 12px;
	box-shadow: 0 0 17px -8px #00749c;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.hdcallout {
	font-style: italic;
	margin: 2.2rem 0;
	padding: 2em 2em;
	text-align: center;
	transform: translate3d(-10px, -16px, 0) rotateX(1deg) rotateZ(3deg);
	box-shadow: 15px 15px 17px -10px #f1e4d4;
	font-size: 1.1em;
	border-radius: 8px;
	background-color: #fff;
}

.hdcallout > :last-child {
	margin-bottom: 0;
}
.hdcallout > :first-child {
	margin-top: 0;
}

#content .hdq_quiz_wrapper {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	position: relative;
}

/* Code Paste */
.hdcp_embedded {
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 9px 17px -8px #d3d3d3;
	overflow: hidden;
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr max-content;
	grid-gap: 2rem;
	align-items: center;
	width: fit-content;
	margin: 0 auto;
	border: 1px solid #eaeaea;
}

.hdcp_embedded_icon {
	font-family: mono;
 	font-weight: bold;
 	font-size: 2rem;
}

.hdcp_embedded_content {
	text-align: center;
}

.hdcp_embedded_title {
	display: block;
	margin-bottom: 0.5em;
}

.hdcp_embedded_url {
	display: block;
	border-bottom: none;
}


/* Accordions */
.hdaccordion {
	margin-bottom: 0.2em;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	overflow: hidden;
}

.hdaccordion__title {
	outline: none;
	padding: 1rem;
	display: block;
	background: #2d2d2d;
	padding-left: 1.6rem;
	position: relative;
	cursor: pointer;
	line-height: 1;
	margin: 0;
	border-bottom: 2px solid #6f6f6f;
	position: relative;
	cursor: pointer;
	color: #fff;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	background-color: #1d1d1d;
	font-weight: normal;
	scroll-margin-top: 6rem;	
	font-size: 22px;
	font-family: var(--heading-font);
}

.hdaccordion[open] .hdaccordion__title {
	background-color: #000;
}

.hdaccordion__title:before {
	content: "";
	border-width: 0.4rem;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	position: absolute;
	top: 1.25rem;
	left: 0.5rem;
	transform: rotate(0);
	transform-origin: 0.2rem 50%;
	transition: 0.25s transform ease;
}

.hdaccordion[open] > .hdaccordion__title:before {
	transform: rotate(90deg);
	border-color: transparent transparent transparent #fff;
}

.hdaccordion__content {
	padding: 1rem;
}

.hdaccordion__content > p:first-child {
	margin-top: 0;
}

/* HDCommerce  */
.hdcommerce #hdc_wrapper {
	padding: 0;
}

#hdc_shop_customer_settings {
	pointer-events: initial;
}

#hdc_shop_customer_settings .hdc_input_item {
	display: flex;
	flex-direction: column;
}

#hdc_display_columns_selector {
	color: #000;
}

#hdc_product_order {
	font-size: 12px;
	line-height: 1;
	display: block;
	border: 1px solid #4b6764;
	height: 37px;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.08);
}

.hdc_display_columns_selector_item {
	user-select: none;
}

.hdc_display_columns_selector_item.active {
	border-left: 1px solid #4b6764;
	border-right: 1px solid #4b6764;
}

.hdc_display_columns_selector_item:first-child {
	border-left: none;
}

.hdc_display_columns_selector_item:last-child {
	border-right: none;
}

#hero h2 {
	color: #00749c;
	font-style: italic;
	display: block;
	position: relative;
	left: -0.05em;
}

.yarpp-related a {
	color: #000;
}

.yarpp-related a:hover {
	color: #fff;
	background-color: #000;
}

#hdcomments #hdcomments_response {
	margin: 2rem auto 0 auto;
	border-radius: 12px;
	box-shadow: 0 0 17px -8px #222;
}

/* Shop / Cat pages */
#hdc_shop_main.hdc_shop_category_page_main {
	display: block;
}

.hdc_product_item {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow ease-in-out 150ms;
}

.hdc_product_item:hover {
	box-shadow: 0 0 17px -8px #222;
}

.hdc_product_item:hover .button {
	background-color: var(--font-colour-heading);
}

.hdc_product_item_subtitle {
	font-family: var(--font-secondary);
	color: var(--font-colour-heading);
}

.hdcommerce .hdc_product_item a.hdc_product_item_full_link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}

main > section a.hdc_product_item_full_link:hover,
#content a.hdc_product_item_full_link:hover {
	background-color: initial;
}

.hdcommerce .hdc_product_item_featured_image {
	aspect-ratio: 16 / 14;
}

/* Product page */
.single-hdc_product #hdc_wrapper {
	padding-bottom: 4rem;
}

.single-hdc_product #main {
	background-color: #f3eadc;
}

#hdc_product_description {
	background: var(--bg);
	padding: 4rem;
	margin-bottom: -4rem;
}

#hdc_wrapper #hdc_product_title,
#hdc_wrapper #hdc_product_price_score {
	display: none;
}

.single-hdc_product #hdc_product_short_content {
	margin-top: 0;
}

.single-hdc_product #hdc_product_short_content > ul:first-child {
	margin-top: 0;
	font-size: 1.1rem;
}

.single-hdc_product #hdc_product_short_content > ul > li {
	margin-bottom: 0.4em;
}

#hdc_wrapper .hdc_button_primary {
	text-decoration: none;
	color: #fff;
	padding: 1em 1.5em;
	line-height: 1;
	display: inline-block;
	background-color: #00749c;
	transition: all ease-in-out 350ms;
	box-shadow: 0 0 0 0 #222;
	border: none;
}

#hdc_product_media {
	margin-bottom: 4rem;
}

#hdc_wrapper .hdc_product_gallery_image,
#hdc_wrapper .hdc_tab_nav_item,
#hdc_wrapper .hdc_tab_content {
	border-color: #c5c5c5;
}

#hdc_product_featured_image {
	border-radius: 12px;
	box-shadow: 0 0 17px -8px #00749c;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

#hdc_wrapper #hdc_product_gallery {
	display: flex;
	overflow-x: auto;
	flex-wrap: nowrap;
	scrollbar-width: thin;
	scrollbar-color: #222 transparent;
}

.single-hdc_product .hdaccordion {
	font-size: 1.1rem;
}

.single-hdc_product .hdaccordion__title {
	border-radius: 8px;
	background-color: #fdfaf5;
	color: #222;
	border-bottom: 2px solid #dccfbf;
	font-size: 1.2rem;
}

.single-hdc_product .hdaccordion[open] .hdaccordion__title {
	background-color: var(--font-colour-heading);
	color: #fff;
	border: 2px solid #222;
}

.single-hdc_product .hdaccordion__title::before {
	border-color: transparent transparent transparent #222;
}

.single-hdc_product #hdc_added_to_cart .hdc_button.hdc_button_secondary {
	text-decoration: none;
	color: #fff !important;
	padding: 0.5em 0.75em;
	line-height: 1;
	display: inline-block;
	background-color: #222;
	border-radius: 5rem;
	box-shadow: 0 0 0 0 #222;
	border: none;
	font-size: 1em;
	pointer-events: initial;
	text-align: center;
	cursor: pointer;
}

/* Checkout */
#hdc_cart_table {
	border-radius: 12px;
	position: relative;
	z-index: 1;
}

.hdc_cart_row {
	border-bottom: initial !important;
}

#hdc_checkout_page {
	margin-top: 4rem;
}

#hdc_checkout_page h3 {
	font-weight: bold;
	color: var(--font-colour-heading);
}

.hdcommerce #hdc_wrapper .hdc_input {
	color: #222;
	font-size: 1rem;
	line-height: 1.5;
	background: #fff;
	border: 1px solid #bbb;
	border-radius: 3px;
	display: block;
	padding: 0.7em;
	width: 100%;
}

#disclaimer_wrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999999;
	width: 100vw;
	height: 100%;
	background: rgba(255, 255, 255, 0.96);
	overflow-y: auto;
	overflow-x: hidden;
}

#disclaimer_wrapper.disclaimer_wrapper_active {
	display: block;
	padding: 2rem 1em;
}

#disclaimer_content {
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
}

/* Login Form */
#hd_support_login_wrapper {
	border-radius: 12px;
	box-shadow: 0 0 17px -8px #222;
}

#hd_support_login_intro {
	padding: 2rem;
	background-color: #f3eadc;
	border-top-left-radius: 12px;
	border-bottom-left-radius: 12px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#hd_support_login_intro > h2 {
	font-weight: bold;
}

#hd_support_login_form_wrapper,
#hdsupport_pw_reset_form_wrapper {
	padding: 2rem;
}

.hd_support_login_label {
	display: block;
}

.hd_support_login_field {
	color: #222;
	font-size: 1rem;
	line-height: 1.5;
	background: #fff;
	border: 1px solid #bbb;
	border-radius: 3px;
	display: block;
	padding: 0.7em;
	width: 100%;
}

.table_wrapper {
	overflow: auto;
}

.hdp_licenses_table_heading {
	margin: 1rem 0;
	color: var(--font-colour-heading);
}

.hdp_licenses_table {
	border-width: var(--table-border-width, 1px);
	border-style: var(--table-border-style, solid);
	border-color: var(--table-border-color, var(--border-color, #eee));
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: hide;
	width: 100%;
	max-width: 100%;
	margin-bottom: 2rem;
}
.hdp_licenses_table thead {
	background-color: #fff7ec;
	color: #000000;
}

.hdp_licenses_table th {
	font-weight: bold;
	padding: 0.75em 1em;
	border-width: 1px;
	border-style: solid;
	border-color: #f1e4d4;
	text-align: left;
}

.hdp_licenses_table td {
	padding: 0.75em 1em;
	border-width: var(--table-border-width, 1px);
	border-style: var(--table-border-style, solid);
	border-color: var(--table-border-color, var(--border-color, #efefef));
	background-color: var(--cell_background_color, #fafafa);
	color: var(--cell_color, #000000);
}

#mobile_toggle {
	display: none;
	pointer-events: initial;
}

#mobile_toggle > span {
	width: 30px;
	height: 4px;
	background-color: #000;
	margin: 6px 0;
	display: block;
	transition: 0.3s ease-in-out;
}

#mobile_toggle.active > .bar1 {
	transform: translate(0, 10px) rotate(-45deg);
}

#mobile_toggle.active > .bar2 {
	opacity: 0;
}

#mobile_toggle.active > .bar3 {
	transform: translate(0, -10px) rotate(45deg);
}

/* Mobile Madness */
@media (max-width: 1080px) {
	body #mobile_toggle {
		display: block;
		z-index: 9999;
	}

	#logo_wrapper {
		position: relative;
		z-index: 9;
	}

	#navigation {
		display: grid;
		position: fixed;
		pointer-events: none;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100vh;
		background-color: #fff;
		place-items: center;
		overflow: auto;
		transition: left ease-in-out 300ms;
	}

	#navigation.active {
		pointer-events: initial;
		left: 0;
	}

	#navigation #navigation_links {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.nav_item {
		margin-right: 0;
		margin-top: 1em;
		margin-bottom: 1em;
	}

	.cols,
	.sidebar_nav,
	.single-thread .hdsupport_thread_meta,
	.single-thread .hdsupport_col_1-1,
	.tax-forum #hdsupport_bread_search {
		grid-template-columns: 1fr;
	}

	.hdsupport_thread_item {
		padding: 12px;
		grid-gap: 12px;
	}

	.hdsupport_thread_item .hdsupport_thread_item_meta_date,
	.hdsupport_thread_item .hdsupport_thread_item_meta_title {
		font-size: 12px;
	}

	.pagination {
		margin: 1rem 0;
	}

	#top_bar {
		padding: 2rem;
	}

	.home header {
		height: initial;
	}

	#header {
		padding: 0 2rem;
	}

	#footer {
		padding: 2rem;
	}

	#main {
		padding: 4rem 2rem;
	}

	.home #hero {
		padding: 6rem 0 4rem 0;
	}

	.home #hero_heading > h1 {
		font-size: 3rem;
	}

	#hero_heading_callout_sections {
		grid-template-columns: minmax(10px, 1fr) minmax(10px, 1fr);
	}

	#hero {
		overflow: initial;
		padding: 6rem 0 3rem 0;
	}

	#hdc_product_description {
		margin-bottom: initial;
	}

	#hero_title {
		font-size: 2rem;
	}
	
	.is-style-primary-heading {
		font-size: 2rem;
	}
	
	.hdaccordion {
		font-size: 1rem;
	}
	
	.sidebar_nav {
		grid-gap: 1rem
	}
	
	#article_nav_heading {
		cursor: pointer;
	}
	
	#sidebar_navigation {
		display: none;
	}
	
	#sidebar_navigation.active {
		display: flex;
	}
}
