/* -------------------------------------
 * Global Resets & Basics
 * ------------------------------------- */

* {
	box-sizing: border-box;
}

::-moz-selection,
::selection {
	background-color: #09f;
	color: #fff;
}

:focus {
	outline: 2px solid #09f;
	outline-offset: 2px;
}

customhtml > * {
	position: relative;
	z-index: 10;
}

html, body {
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

html {
	position: relative;
    scroll-behavior: smooth;
}

body {
	background: #fff;
	color: #000;
}

a:active {
	opacity: 0.7;
}

/* -------------------------------------
 * Button Class for Consistent Styling
 * ------------------------------------- */

.btn-black {
  background-color: black !important;
  color: white !important;
  padding: 0 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  height: 40px;
  min-width: 50px;
  text-align: center;
  box-sizing: border-box;
}

.btn-black:hover {
  background-color: white !important;
  color: black !important;
}

.icon-link {
  display: inline-block;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.85);
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  border-radius: 12px;
  margin: 0em;
  font-size: 4rem;
  line-height: 1;
}

.icon-link:hover {
  transform: rotate(15deg);
  background-color: #fff;
  color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] small a:hover {
  background-color: transparent !important;
  text-decoration: underline;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

/* -------------------------------------
 * Layout & Container
 * ------------------------------------- */

#backdrop {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	max-width: 100%;
	z-index: 1;
}

main {
	background: #fff;
	clear: both;
	overflow: hidden;
	position: absolute;
	width: 100%;
	max-width: 100%;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

main > div {
	flex: 1 0 auto;
	width: 100%;
}

.subpage_overlay {
	display: block;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

body.homepage .subpage_overlay {
	display: none;
}

/* -------------------------------------
 * Typography & Elements
 * ------------------------------------- */

i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
	color: rgba(0, 0, 0, 0.95);
	text-rendering: optimizeLegibility;
}

ul, ol {
	margin: 0;
	padding-left: 1em;
}

sup {
	top: -0.4em;
	vertical-align: baseline;
	position: relative;
}

sub {
	top: 0.3em;
	vertical-align: baseline;
	position: relative;
}

img {
	border: 0;
	padding: 0;
}

blockquote {
	margin: 0;
	padding-left: 6em;
	font-family: "Courier", Social;
	font-style: normal;
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1.9;
	color: rgba(0, 0, 0, 0.85);
	text-rendering: optimizeLegibility;
}

hr {
  border: none;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.85);
  margin: 0;
  display: block;
}

/* HR Utility Classes */
.hr-default {
  border: none;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.85);
  margin: 2em 0;
}

.hr-bold {
  border: none;
  height: 3px;
  background-color: rgba(0, 0, 0, 0.85);
  margin: 2em 0;
}

.hr-light {
  border: none;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 2em 0;
}

.hr-accent {
  border: none;
  height: 2px;
  background-color: #09f;
  margin: 2em 0;
}

/* Remove spacing between heading and hr */
h1 + hr,
h2 + hr,
h3 + hr {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
}

/* Specific: no space between title and hr below */
.page-title + hr {
  margin: 0;
}

hr + * {
  margin-top: 0;
}

/* Adjust spacing between <hr> and intro text */
.intro-section h6 {
  margin-top: 0.1em !important;
}

/* Section title class for tighter control */
.section-title {
  margin-bottom: 0;
}

.section-title + hr {
  margin: 0;
}

.bodycopy {
	display: none;
}

.container {
	min-height: 100%;
}

.content img {
	display: block;
	margin-top: 0.7em;
	margin-bottom: 1em;
	align-content: center;
    border-radius: 0.5em;
}

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

.loading[data-loading] {
	display: none;
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
}

/* -------------------------------------
 * Section Overrides
 * ------------------------------------- */

.intro-section > div[grid-col] {
  margin-bottom: 0 !important;
}

/* Remove vertical padding introduced by grid-pad="2" in intro section */
.intro-section [grid-col="x12"][grid-pad="2"] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Add space below intro section */
.intro-section {
  margin-bottom: 0.4em;
}

/* -------------------------------------
 * Presets & Utility Styles
 * ------------------------------------- */

[data-css-presets="true"] main {
	background-color: transparent;
	text-align: left;
	min-height: 100vh;
	align-items: center;
	left: 0;
	margin-top: 0em;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	right: 0;
}

[data-css-presets="true"] .content_padded {
	padding: 2rem;
}

[data-css-presets="true"] .content_width {
	width: 80rem;
}

[data-css-presets="true"] #backdrop {
	width: 100%;
}

[data-predefined-style="true"] main {
	display: inline-block;
	font-size: 1.6rem;
	margin-bottom: 0.8em;
	line-height: 1.6;
	font-family: Roboto, Social /*!Google*/;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] main a {
	color: rgba(0, 0, 0, 0.85);
	padding-bottom: 0;
	border-bottom: 0 solid #fff;
	text-decoration: none;
	line-height: 1.2em;
}

[data-predefined-style="true"] main a:not(.btn-black):not(.icon-link):not(.image-link):hover {
  text-decoration: none;
  text-decoration-color: rgba(0, 0, 0, 0.85);
  background-color: #ff0;
  border-radius: 12px;
  padding: 0.05em 0.3em;
  margin: 0em;
  display: inline-block;
}

main a.image-link,
main a.icon-link,
main a.image-link:hover,
main a.icon-link:hover {
	border-bottom: 0;
	padding-bottom: 0;
}

[data-predefined-style="true"] h1,
[data-predefined-style="true"] h2,
[data-predefined-style="true"] h3,
[data-predefined-style="true"] h4,
[data-predefined-style="true"] h5,
[data-predefined-style="true"] h6 {
	margin: 0;
	padding: 0;
	text-rendering: optimizeLegibility;
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] h1 {
	font-family: Chivo, Social /*!Google*/;
	font-style: normal;
	font-weight: 900;
	font-size: 2.4rem;
	line-height: 1.2;
}

[data-predefined-style="true"] h2 {
	font-family: Chivo, Social /*!Google*/;
	font-style: normal;
	font-weight: 900;
	font-size: 4.2rem;
	line-height: 1.4;
}

[data-predefined-style="true"] h3 {
	font-family: "Courier", Social;
	font-style: normal;
	font-weight: 400;
	font-size: 1.8rem;
	line-height: 2;
}

[data-predefined-style="true"] h4 {
	font-family: Chivo, Social /*!Google*/;
	font-style: normal;
	font-weight: 900;
	font-size: 1.7rem;
	line-height: 1.6;
}

[data-predefined-style="true"] h5 {
	font-family: "Courier", Social;
	font-style: normal;
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 1.9;
	color: rgba(0, 0, 0, 0.8);
}

[data-predefined-style="true"] h6 {
	font-family: Chivo, Social /*!Google*/;
	font-style: normal;
	font-weight: 900;
	font-size: 4.1rem;
	line-height: 1.1;
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] small {
	display: inline-block;
	font-size: 1.2rem;
	margin-bottom: 0.8em;
	line-height: 1.4;
	font-family: Roboto, Social /*!Google*/;
	font-style: normal;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.85);
}

[data-predefined-style="true"] small a {
  color: rgba(0, 0, 0, 0.85);
  border-bottom-width: 0;
  font-weight: normal;
  text-decoration: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
}

[data-predefined-style="true"] small a:hover {
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
}

[data-css-presets="true"] .subpage_overlay {
	background-color: initial;
}

#backstage_icon {
	display: block;
}

/* -------------------------------------
 * Mobile Styles
 * ------------------------------------- */

[data-css-presets="true"].mobile #plugin,
[data-css-presets="true"].mobile #backdrop,
.mobile #backdrop,
.mobile #plugin {
	position: relative;
	height: 50vh;
	min-width: 100%;
	width: calc(100% - 80rem);
	top: 0;
	bottom: auto;
	left: 0;
}

.mobile main,
[data-css-presets="true"].mobile main {
	position: relative;
	min-height: 10px;
	max-width: 100%;
	width: 100%;
}

.mobile main.content_width,
[data-css-presets="true"].mobile main.content_width {
	max-width: 100%;
	width: 100%;
}

/* -------------------------------------
 * Responsive: Button Sizing on Mobile
 * ------------------------------------- */

@media screen and (max-width: 600px) {
  .btn-black {
    font-size: 1.4rem;
    padding: 0em 1.2em; 
    height: 2em; 
    line-height: 1.2; 
    min-width: unset;
    width: auto;
  }
}