/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/

/* Body Wrapper */
.body-wrapper {
	display: flex;
	flex-flow: column nowrap;
	min-height: 100vh;
}

/* Body Wrapper Quiz */
.body-wrapper .header-wrapper {
	flex: 0 0 auto;
}

.body-wrapper .main-wrapper {
	flex: auto;
	display: flex;
}

.body-wrapper .footer-wrapper {
	flex: 0 0 auto;
}

/* Responsive Grid */

.row-fluid {
    width: 100%;
    *zoom: 1;
}

.row-fluid:before, .row-fluid:after {
    display: table;
    content: "";
}

.row-fluid:after {
    clear: both;
}

.row-fluid [class*="span"] {
    display: block;
    float: left;
    width: 100%;
    min-height: 1px;
    margin-left: 2.127659574%;
    *margin-left: 2.0744680846382977%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.row-fluid [class*="span"]:first-child {
    margin-left: 0;
}

.row-fluid .span12 {
    width: 99.99999998999999%;
    *width: 99.94680850063828%;
}

.row-fluid .span11 {
    width: 91.489361693%;
    *width: 91.4361702036383%;
}

.row-fluid .span10 {
    width: 82.97872339599999%;
    *width: 82.92553190663828%;
}

.row-fluid .span9 {
    width: 74.468085099%;
    *width: 74.4148936096383%;
}

.row-fluid .span8 {
    width: 65.95744680199999%;
    *width: 65.90425531263828%;
}

.row-fluid .span7 {
    width: 57.446808505%;
    *width: 57.3936170156383%;
}

.row-fluid .span6 {
    width: 48.93617020799999%;
    *width: 48.88297871863829%;
}

.row-fluid .span5 {
    width: 40.425531911%;
    *width: 40.3723404216383%;
}

.row-fluid .span4 {
    width: 31.914893614%;
    *width: 31.8617021246383%;
}

.row-fluid .span3 {
    width: 23.404255317%;
    *width: 23.3510638276383%;
}

.row-fluid .span2 {
    width: 14.89361702%;
    *width: 14.8404255306383%;
}

.row-fluid .span1 {
    width: 6.382978723%;
    *width: 6.329787233638298%;
}

.container-fluid {
    *zoom: 1;
}

.container-fluid:before, .container-fluid:after {
    display: table;
    content: "";
}

.container-fluid:after {
    clear: both;
}

@media (max-width: 767px) {
    .row-fluid {
        width: 100%;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: none;
        width: auto;
        margin-left: 0;
    }
}

@media (min-width: 768px) and (max-width: 1139px) {
    .row-fluid {
        width: 100%;
        *zoom: 1;
    }

    .row-fluid:before, .row-fluid:after {
        display: table;
        content: "";
    }

    .row-fluid:after {
        clear: both;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: left;
        width: 100%;
        min-height: 1px;
        margin-left: 2.762430939%;
        *margin-left: 2.709239449638298%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .row-fluid [class*="span"]:first-child {
        margin-left: 0;
    }

    .row-fluid .span12 {
        width: 99.999999993%;
        *width: 99.9468085036383%;
    }

    .row-fluid .span11 {
        width: 91.436464082%;
        *width: 91.38327259263829%;
    }

    .row-fluid .span10 {
        width: 82.87292817100001%;
        *width: 82.8197366816383%;
    }

    .row-fluid .span9 {
        width: 74.30939226%;
        *width: 74.25620077063829%;
    }

    .row-fluid .span8 {
        width: 65.74585634900001%;
        *width: 65.6926648596383%;
    }

    .row-fluid .span7 {
        width: 57.182320438000005%;
        *width: 57.129128948638304%;
    }

    .row-fluid .span6 {
        width: 48.618784527%;
        *width: 48.5655930376383%;
    }

    .row-fluid .span5 {
        width: 40.055248616%;
        *width: 40.0020571266383%;
    }

    .row-fluid .span4 {
        width: 31.491712705%;
        *width: 31.4385212156383%;
    }

    .row-fluid .span3 {
        width: 22.928176794%;
        *width: 22.874985304638297%;
    }

    .row-fluid .span2 {
        width: 14.364640883%;
        *width: 14.311449393638298%;
    }

    .row-fluid .span1 {
        width: 5.801104972%;
        *width: 5.747913482638298%;
    }
}

@media (min-width: 1280px) {
    .row-fluid {
        width: 100%;
        *zoom: 1;
    }

    .row-fluid:before, .row-fluid:after {
        display: table;
        content: "";
    }

    .row-fluid:after {
        clear: both;
    }

    .row-fluid [class*="span"] {
        display: block;
        float: left;
        width: 100%;
        min-height: 1px;
        margin-left: 2.564102564%;
        *margin-left: 2.510911074638298%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        box-sizing: border-box;
    }

    .row-fluid [class*="span"]:first-child {
        margin-left: 0;
    }

    .row-fluid .span12 {
        width: 100%;
        *width: 99.94680851063829%;
    }

    .row-fluid .span11 {
        width: 91.45299145300001%;
        *width: 91.3997999636383%;
    }

    .row-fluid .span10 {
        width: 82.905982906%;
        *width: 82.8527914166383%;
    }

    .row-fluid .span9 {
        width: 74.358974359%;
        *width: 74.30578286963829%;
    }

    .row-fluid .span8 {
        width: 65.81196581200001%;
        *width: 65.7587743226383%;
    }

    .row-fluid .span7 {
        width: 57.264957265%;
        *width: 57.2117657756383%;
    }

    .row-fluid .span6 {
        width: 48.717948718%;
        *width: 48.6647572286383%;
    }

    .row-fluid .span5 {
        width: 40.170940171000005%;
        *width: 40.117748681638304%;
    }

    .row-fluid .span4 {
        width: 31.623931624%;
        *width: 31.5707401346383%;
    }

    .row-fluid .span3 {
        width: 23.076923077%;
        *width: 23.0237315876383%;
    }

    .row-fluid .span2 {
        width: 14.529914530000001%;
        *width: 14.4767230406383%;
    }

    .row-fluid .span1 {
        width: 5.982905983%;
        *width: 5.929714493638298%;
    }
}

/* Clearfix */

.clearfix {
    *zoom: 1;
}

.clearfix:before, .clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

/* Visibilty Classes */

.hide {
    display: none;
}

.show {
    display: block;
}

.invisible {
    visibility: hidden;
}

.hidden {
    display: none;
    visibility: hidden;
}

/* Responsive Visibilty Classes */

.visible-phone {
    display: none !important;
}

.visible-tablet {
    display: none !important;
}

.hidden-desktop {
    display: none !important;
}

@media (max-width: 767px) {
    .visible-phone {
        display: inherit !important;
    }

    .hidden-phone {
        display: none !important;
    }

    .hidden-desktop {
        display: inherit !important;
    }

    .visible-desktop {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1139px) {
    .visible-tablet {
        display: inherit !important;
    }

    .hidden-tablet {
        display: none !important;
    }

    .hidden-desktop {
        display: inherit !important;
    }

    .visible-desktop {
        display: none !important ;
    }
}
main#main-content {
	margin-top: 140px;
	flex: auto;
}

main#main-content.quiz {
	margin-top: 0;
}

main#main-content.quiz > .hs_cos_wrapper {
	height: 100%;
}

main#main-content.overlapped {
	margin-top: 0;
}

.content-wrapper {
	margin: 0 auto;
	padding: 0 20px;
}

@media screen and (min-width: 1176px) {
	.content-wrapper {
		padding: 0;
	}
}

.dnd-section.down-white-turquoise {
	background: linear-gradient(0, #B7CBD0 50%, #FFF 50%);
}

.dnd-section.down-grey-white {
	background: linear-gradient(0, #FFF 50%, #EEE 50%);
}

.dnd-section.squiggle {
	position: relative;
}

.dnd-section.squiggle .squiggle-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.dnd-section > .row-fluid {
	margin: 0 auto;
}

.dnd-section .dnd-column {
	padding: 0 20px;
}

@media (max-width: 1040px) {
	.dnd-section.squiggle {
		background-image: none;
	}
}

@media (max-width: 900px) {
	main#main-content {
		margin-top: 117px;
	}

	main#main-content.quiz {
		margin-top: 0;
	}

	main#main-content.quiz > .hs_cos_wrapper {
		height: 100%;
	}
	
	main#main-content.overlapped {
		margin-top: 0;
	}
}
@media (max-width: 767px) {
	.dnd-section .dnd-column {
		padding: 0;
	}
}

/* Elements
Base HMTL elements are styled in this section (<body<, <h1>, <a>, <p>, <button> etc.)
*/

body {
	line-height: 1.4;
	word-break: break-word;
}

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
	line-break: strict;
	word-break: break-all;
}

/* Paragraphs */

p,
.blog-post p {
	font-size: 1rem;
	margin: 0 0 1.4rem;
}

/* Anchors */

a,
.blog-post a {
	cursor: pointer;
	text-decoration: none;
}

a:hover,
a:focus,
.blog-post a:hover,
.blog-post a:focus {
	/* text-decoration: underline; */
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6,
.blog-post h1,
.blog-post h2,
.blog-post h3,
.blog-post h4,
.blog-post h5,
.blog-post h6 {
	margin: 0 0 1.4rem;
}

/* Lists */

ul,
ol,
.blog-post ul,
.blog-post ol {
	margin: 0 0 1.4rem;
}

ul:not([role="menu"]):not(.no-list),
ol:not([role="menu"]):not(.no-list),
.blog-post ul:not([role="menu"]):not(.no-list),
.blog-post ol:not([role="menu"]):not(.no-list) {
	line-height: 2rem;
	padding-left: 24px;
}

ul:not([role="menu"]):not(.no-list) li,
ol:not([role="menu"]):not(.no-list) li,
.blog-post ul:not([role="menu"]):not(.no-list) li,
.blog-post ol:not([role="menu"]):not(.no-list) li {
	padding-left: 10px;
}

ul ul,
ol ul,
ul ol,
ol ol,
.blog-post ul ul,
.blog-post ol ul,
.blog-post ul ol,
.blog-post ol ol {
	margin: 0;
}

ul.no-list,
.blog-post ul.no-list {
	list-style: none;
}

/* Code blocks */

pre,
.blog-post pre {
	overflow: auto;
}

code,
.blog-post code {
	vertical-align: bottom;
}

/* Blockquotes */

blockquote,
.blog-post blockquote {
	border-left: 1px solid;
	margin: 0 0 1.4rem;
	padding-left: 24px;
	padding-top: 12px;
	padding-bottom: 12px;
}

/* Horizontal rules */

hr,
.blog-post hr {
	background-color: #ccc;
	border: none;
	color: #ccc;
	height: 1px;
}

/* Image alt text */

img,
.blog-post img {
	font-size: 14px;
	word-break: normal;
}
button,
.button,
.hs-button,
input[type='file']::file-selector-button {
	cursor: pointer;
	display: inline-block;
	text-align: center;
	line-height: 1.5;
	transition: all 0.3s ease;
	white-space: normal;
	border: none;
	border-radius: 8px;
	padding: 8px 24px;
}

input[type='file'] {
	margin-top: 8px;
}

button:hover,
button:focus,
.button:hover,
.button:focus,
.hs-button:hover,
.hs-button:focus,
input[type='file']::file-selector-button:hover,
input[type='file']::file-selector-button:focus {
	text-decoration: none;
}

button:active,
.button:active,
.hs-button:active
input[type='file']::file-selector-button:active {
	text-decoration: none;
}
form {
	opacity: 0;
	transition: all 0.3s ease;
}
.systems-page form{
	opacity: 1;
}

form.ready {
	opacity: 1;
}

.inline-form-wrapper form {
	display: flex;
	justify-content: space-between;
}

.inline-form-wrapper form > *:first-of-type {
	flex: 1;
	margin-right: 12px;
}

/* Form fields */

.hs-form-field {
	margin-bottom: 1.4rem;
	position: relative;
}

/* Labels */

/* form label {
	display: block;
	font-size: 0.875rem;
	margin-bottom: 0.35rem;
} */

form .hs-form-field.hs-fieldtype-text > label,
form .hs-form-field.hs-fieldtype-textarea > label,
form .hs-form-field.hs-fieldtype-number > label,
form .hs-form-field.hs-fieldtype-date > label {
	display: flex;
	flex-flow: row-reverse nowrap;
	pointer-events: none;
	-ms-touch-action: none;
	touch-action: none;
	position: absolute;
	border-radius: 4px;
	z-index: 2;
	top: 0.84em;
	left: 0.94em;
	transition: all 0.3s ease;
}

form .hs-form-field.hs-fieldtype-date > label {
	transform: translate(-0.15em,-1.5em);
	padding: 0 .5em 0 0.33em;
	margin: 0;
}

form .hs-form-field.hs-fieldtype-text > label.is-focused, 
form .hs-form-field.hs-fieldtype-textarea > label.is-focused, 
form .hs-form-field.hs-fieldtype-number > label.is-focused, 
form .hs-form-field.hs-fieldtype-text > label.is-filled,
form .hs-form-field.hs-fieldtype-textarea > label.is-filled,
form .hs-form-field.hs-fieldtype-number > label.is-filled { 
	transform: translate(-0.15em,-1.5em);
	padding: 0 .5em 0 0.33em;
	margin: 0;
}

/* Help text - legends */

form legend {
	font-size: 0.875rem;
}

/* Inputs */

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="tel"],
form input[type="number"],
form input[type="file"],
form select,
form textarea {
	transition: all 0.3s ease;
	background-color: #fff;
	border: 2px solid;
	border-radius: 4px;
	display: inline-block;
	padding: 0.7rem;
	width: 100% !important;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form input[type="tel"]:focus,
form input[type="number"]:focus,
form input[type="file"]:focus,
form select:focus,
form textarea:focus {
	outline: none;
}

form fieldset {
	max-width: 100% !important;
}

form .hs-fieldtype-select .input {
	display: grid;
	grid-template-areas: "select";
	align-items: center;
}

form select,
form .hs-fieldtype-select .input::after {
	grid-area: select;
}

form .hs-fieldtype-select .input::after {
	content: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.2929 0.292892C12.6834 -0.0976315 13.3166 -0.0976315 13.7071 0.292892C14.0976 0.683417 14.0976 1.31658 13.7071 1.70711L7.70711 7.70711C7.32853 8.08568 6.71894 8.09893 6.32428 7.73715L0.324276 2.23715C-0.0828428 1.86396 -0.110347 1.23139 0.262846 0.824274C0.636039 0.417155 1.26861 0.389653 1.67572 0.762845L6.96992 5.61586L12.2929 0.292892Z' fill='%232F2F2F'/%3E%3C/svg%3E%0A");
	justify-self: end;
	position: relative;
	right: 1rem;
}

form select {
	appearance: none;
	-webkit-appearance: none;
}

/* Inputs - checkbox/radio */

form .inputs-list {
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

form .inputs-list > li {
	display: block;
	margin: 1rem 0;
}

form .inputs-list.hs-error-msgs > li {
	margin: 0rem 0.5rem;
}

form .inputs-list input,
form .inputs-list span {
	vertical-align: middle;
}

form .hs-form-checkbox-display,
form .hs-form-booleancheckbox-display,
form .hs-form-radio-display {
	cursor: pointer;
	font-size: 1rem;
	line-height: 1.1;
	display: grid;
	grid-template-columns: 1em auto;
	gap: 0.75em;
}

form input[type="checkbox"],
form input[type="radio"] {
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	margin: 0;
	font: inherit;
	color: currentColor;
	width: 1.15em !important;
	height: 1.15em;
	border: 1px solid var(--primary-v86-jet);
	transform: translateY(-0.075em);
	display: grid;
  	place-content: center;
	transition: border 0.15s ease;
}

form input[type="checkbox"] {
	border-radius: 4px;
}

form input[type="radio"] {
	border-radius: 50%;
}

form input[type="checkbox"]::before,
form input[type="radio"]::before {
	content: "";
	width: 0.65em;
	height: 0.65em;
	transform: scale(0);
	transition: transform 0.15s ease-in-out;
	box-shadow: inset 1em 1em var(--primary-v86-punchy-orange);
	background-color: CanvasText;
	transform-origin: center center;
}

form input[type="checkbox"]::before {
	clip-path: polygon(91% 28%, 46% 78%, 13% 52%, 24% 38%, 45% 54%, 79% 17%);
}

form input[type="radio"]::before {
	clip-path: circle(45% at 50% 50%);
}

form input[type="checkbox"]:checked,
form input[type="radio"]:checked {
	border: 1px solid var(--primary-v86-punchy-orange);
}

form input[type="checkbox"]:checked::before,
form input[type="radio"]:checked::before {
	transform: scale(1);
}

/* Inputs - datepicker */

.hs-dateinput {
	position: relative;
}

.hs-dateinput:before {
	content: "\01F4C5";
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
	color: #fff;
}

.fn-date-picker .pika-table td {
	padding: 2px !important;
}

.fn-date-picker td .pika-button {
	border-radius: 4px;
}

.fn-date-picker td.is-selected .pika-button {
	border-radius: 0;
	box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
	border-radius: 0 !important;
	color: #fff;
}

/* Inputs - file picker */

form input[type="file"] {
	background-color: transparent;
	border: initial;
	padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
	font-size: 0.875rem;
	margin: 0 0 1.4rem;
}

form .hs-richtext img {
	max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
	margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
	color: #ef6b51;
}

.hs-input.invalid.error {
	border-color: #ef6b51;
}

.hs-error-msg {
	color: #ef6b51;
	margin-top: 0.35rem;
}

/* Submit button */

form input[type="submit"],
form .hs-button {
	cursor: pointer;
	display: inline-block;
	text-align: center;
	transition: all 0.3s ease;
	white-space: normal;
	border: none;
	border-radius: 8px;
	padding: 8px 24px;
}

form input[type="submit"]:hover,
form input[type="submit"]:focus,
form .hs-button:hover,
form .hs-button:focus {
	text-decoration: none;
}

form input[type="submit"]:active,
form .hs-button:active {
	text-decoration: none;
}

/* Captcha */

.grecaptcha-badge {
	margin: 0 auto;
}


body {
	opacity: 1;
	transition: opacity 1s ease;
}

body.notready {
	opacity: 0;
}

.wow.notready {
	opacity: 0;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* Header DND sections */

.header.fixednav {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
	transition-property: top, box-shadow;
	transition-duration: 0.5s;
	transition-timing-function: ease-in-out;
}

.header.dark {
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1;
}

.header .dnd-section {
	padding: 0;
}

/* Header top */
.header__top {
	width: 100%;
	height: 25px;
}

/* Header container */

.header__container {
	display: flex;
	justify-content: space-between;
	min-height: 115px;
}

/* Logo */

.header__logo {
	flex: 0 0 110px;
	align-items: center;
	display: flex;
	height: auto;
	overflow: hidden;
}

.header__logo a {
	display: flex;
}

.header__logo img {
	max-width: 42px !important;
}

/* Navigation */

.header__navigation {
	flex: 1 1 auto;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: center;
}

.header__navigation
	:is(.widget-type-menu, .widget-type-menu > span, .hs-menu-wrapper) {
	display: flex;
	height: 100%;
}

.header__navigation .hs-menu-wrapper ul {
	justify-content: center;
}

.header__navigation .hs-menu-wrapper ul > li > a {
	display: flex;
	color: var(--primary-v86-jet);
	padding: 64px 12px 12px 12px;
	margin-bottom: 16px;
	transition-property: background-color;
	transition-duration: 0.3s;
	transition-timing-function: ease;
}

.header__navigation .hs-menu-wrapper ul > li > a:hover {
	background-color: var(--grey-3);
	outline: none;
}

.header__navigation .hs-menu-wrapper ul > li > a:focus {
	background-color: var(--grey-3);
	outline: none;
}

.header__navigation .hs-menu-wrapper ul > li > a:focus-visible {
	background-color: var(--grey-3);
	outline: none;
}

.header__navigation .hs-menu-wrapper ul > li > a:active {
	color: var(--grey-5);
	background-color: var(--primary-v86-punchy-orange);
}

/* Mobile Navigation */
.header__mobile-navigation {
	display: none;
	flex-flow: row nowrap;
	align-items: center;
}

.header__mobile-navigation .hamburger {
	fill: var(--primary-v86-punchy-orange);
	margin-top: 32px;
	cursor: pointer;
}

#mobile-menu {
	width: 100%;
	height: 100%;
	max-height: 400px;
	overflow: clip;
	transition: max-height 0.5s ease;
}

@supports not (overflow: clip) {
	#mobile-menu {
		overflow: hidden;
	}
}

#mobile-menu.hiding {
	max-height: 0;
}

@media (min-width: 901px) {
	#mobile-menu.hiding * {
		height: 0;
	}
}

#mobile-menu .hs-menu-wrapper ul > li {
	margin-bottom: 4px;
	transform-origin: right;
	transition: transform 0.3s ease;
}

#mobile-menu .hs-menu-wrapper ul > li > a {
	display: block;
	width: 100%;
	text-align: right;
	padding: 8px 42px;
	color: var(--grey-5);
	background-color: var(--primary-v86-punchy-orange);
	bottom: 0;
	right: 0;
	position: relative;
	padding-left:150px;
}

#mobile-menu .hs-menu-wrapper ul > li:hover {
	transform: scale(1.3);
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n) > a {
	transition: right 0.3s ease 0.3s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 1) > a {
	transition: right 0.3s ease 0.4s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 2) > a {
	transition: right 0.3s ease 0.5s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 3) > a {
	transition: right 0.3s ease 0.6s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 4) > a {
	transition: right 0.3s ease 0.7s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 5) > a {
	transition: right 0.3s ease 0.8s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 6) > a {
	transition: right 0.3s ease 0.9s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 7) > a {
	transition: right 0.3s ease 1.0s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 8) > a {
	transition: right 0.3s ease 1.1s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 9) > a {
	transition: right 0.3s ease 1.2s;
}

#mobile-menu .hs-menu-wrapper ul > li:nth-of-type(n + 10) > a {
	transition: right 0.3s ease 1.3s;
}

#mobile-menu.hiding .hs-menu-wrapper ul > li > a {
	bottom: 500px;
	right: 100%;
	transition: none;
}

@media (prefers-reduced-motion) {
	#mobile-menu {
		transition: none !important;
	}
	
	#mobile-menu .hs-menu-wrapper ul > li > a {
		transition: none !important;
	}
}

/* Contact */

.header__contact {
	flex: 0 0 110px;
	display: flex;
	align-items: center;
	margin-top: 36px;
}

@media (max-width: 900px) {
	.header__container {
		display: flex;
		justify-content: space-between;
		min-height: 92px;
	}

	.header__navigation, .header__contact {
		display: none;
	}

	.header__mobile-navigation {
		display: flex;
	}
}
header li.hs-menu-item.hs-menu-depth-1.hs-item-has-children > ul {
    display: none;
}


@media(min-width: 901px){
	header .hs-item-has-children > ul {
		position: absolute;
		background: white;
		box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
	} 
	header li.hs-menu-item.hs-menu-depth-1.hs-item-has-children:hover > ul {
		display: block;
	}
	header li.hs-menu-item.hs-menu-depth-1.hs-item-has-children > ul a {
		padding-top:12px;
		margin-bottom:0px;
	}
}
.footer {
}

/* Footer form */

.footer .footer__form {
	background: linear-gradient(var(--grey-5) 0 50%, var(--primary-v86-cultured) 50% 100%);
}

.footer .footer__form .content {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	background-color: var(--primary-v86-jet);
	padding: 32px;
}

.footer .footer__form .text {
	color: var(--grey-5);
	width: 100%;
	max-width: 400px;
}

.footer .footer__form form input[type="text"], 
.footer .footer__form form input[type="email"], 
.footer .footer__form form input[type="password"], 
.footer .footer__form form input[type="tel"], 
.footer .footer__form form input[type="number"], 
.footer .footer__form form input[type="file"], 
.footer .footer__form form select, 
.footer .footer__form form textarea {
	color: var(--grey-5);
	background-color: var(--primary-v86-jet);
}

.footer .footer__form form .hs-form-field.hs-fieldtype-text > label.is-focused, 
.footer .footer__form form .hs-form-field.hs-fieldtype-textarea > label.is-focused, 
.footer .footer__form form .hs-form-field.hs-fieldtype-number > label.is-focused, 
.footer .footer__form form .hs-form-field.hs-fieldtype-text > label.is-filled, 
.footer .footer__form form .hs-form-field.hs-fieldtype-textarea > label.is-filled, 
.footer .footer__form form .hs-form-field.hs-fieldtype-number > label.is-filled, 
.footer .footer__form form .hs-form-field.hs-fieldtype-date > label {
	background-color: var(--primary-v86-jet);
}

.footer .footer__form form .hs-form-field > label.is-filled {
	color: var(--grey-5);
}

.footer .footer__form form .hs-form-required {
	color: var(--primary-v86-punchy-orange);
}

.footer .footer__form form input[type="submit"] {
	width: calc(100% - 8px);
}

/* Footer content */
.footer .footer__content {
	background: linear-gradient(var(--grey-5) 0 50%, var(--primary-v86-cultured) 50% 100%);
}

.footer .footer__content .content {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	background-color: var(--primary-v86-jet);
	padding: 32px;
}

.footer .footer__content .text {
	color: var(--grey-5);
	width: 100%;
	max-width: 600px;
}

/* Footer badges */

.footer .footer__badges {
	background-color: var(--primary-v86-cultured);
}

/* Footer gap */
.footer .footer__gap {
	background-color: var(--primary-v86-cultured);
	height: 80px;
}

/* Footer bottom */

.footer .footer__bottom {
	color: var(--primary-v86-cultured);
	background-color: var(--primary-v86-jet);
	white-space: nowrap;
	padding: 16px 0;
}

.footer .footer__bottom a {
	color: var(--primary-v86-cultured);
	transition: color 0.3s ease;
}

.footer .footer__bottom a:hover {
	color: var(--primary-v86-punchy-orange);
	outline: none;
}

.footer .footer__bottom a:focus {
	color: var(--primary-v86-punchy-orange);
	outline: none;
}

.footer .footer__bottom a:focus-visible {
	color: var(--primary-v86-punchy-orange);
	outline: none;
}

.footer .footer__bottom .content {
	display: flex;
	flex-flow: row nowrap;
}

.footer .footer__bottom .content > * {
	padding: 8px 0;
}

.footer .footer__bottom :is(.copyright, .social) {
	flex: 25%;
}

.footer .footer__bottom .menu {
	flex: 50%;
}

.footer .footer__bottom .menu .widget-type-menu, 
.footer .footer__bottom .menu .widget-type-menu > span, 
.footer .footer__bottom .menu .hs-menu-wrapper, 
.footer .footer__bottom .menu ul {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	width: 100%;
}

.footer .footer__bottom .menu ul {
	justify-content: center;
}

.footer .footer__bottom .menu ul > li:not(:last-of-type):after {
	content: "|"
}

.footer .footer__bottom .menu ul > li > a {
	padding: 0 2.5em;
}

.footer .footer__bottom .social {
	text-align: right;
	font-weight: 700;
}

.footer .footer__bottom .social a {
	font-weight: 700;
}

@media (max-width: 950px) {
	.footer .footer__form .content {
		flex-flow: column nowrap;
		align-items: flex-start;
	}
}

@media (max-width: 900px) {
	.footer .footer__bottom .content {
		display: flex;
		flex-flow: column nowrap;
	}

	.footer .footer__bottom .copyright {
		text-align: center;
	}

	.footer .footer__bottom .copyright > .widget-type-rich_text {
		width: 100%;
	}

	.footer .footer__bottom .social {
		text-align: center;
	}
	
	.footer .footer__bottom .menu ul > li {
		margin: 1em;
	}
	
	.footer .footer__bottom .menu ul > li:not(:last-of-type):after {
		content: ""
	}
}

@media (max-width: 550px) {
	.footer .footer__bottom .menu .widget-type-menu,
	.footer .footer__bottom .menu .widget-type-menu > span,
	.footer .footer__bottom .menu .hs-menu-wrapper, 
	.footer .footer__bottom .menu ul {
		flex-flow: column nowrap;
	}
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  	flex-direction: row;
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
	flex-direction: column;
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}