/* 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;
}

/**
 * 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
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 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
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, 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;
}

/* 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 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 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;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

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

progress {
  vertical-align: baseline;
}

/**
 * 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 and Firefox.
 */

details {
  display: block;
}

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

summary {
  display: list-item;
}

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



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
/*   min-height: 1px; */
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}

/* align center */
.align-center {
    text-align: center;
}



/*Two Column Adjust
========================================================*/
.row-fluid .two-col-adjust>span {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: stretch;
	-moz-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	flex-wrap: wrap;
	-wevkit-flex-wrap: wrap;
	flex-direction: row;
	-webkit-flex-direction: row;
	margin-right: -2.5%;
}
body .row-fluid .two-col-adjust span>.hs_cos_wrapper {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-basis: 46%;
	-webkit-flex-basis: 46%;
	float: left;
	margin-right: 4%;
	margin-top: 40px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}
@media(max-width:767px) {
	body .row-fluid .two-col-adjust span>.hs_cos_wrapper {
		display: block;
		width: 100%;
		margin-top: 20px;
		width: 100%;
		margin: 10px 0;
		float: none
	}
	.row-fluid .two-col-adjust>span {
		display: block;
		margin-right: 0;
	}
}
/*==================================================
Three Col Adjust
==================================================*/
.row-fluid .three-col-adjust>span {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: stretch;
	-moz-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	flex-wrap: wrap;
	-wevkit-flex-wrap: wrap;
	flex-direction: row;
	-webkit-flex-direction: row;
	margin-right: -3.2%;
}
body .row-fluid .three-col-adjust span>.hs_cos_wrapper {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-basis: 29.96%;
	-webkit-flex-basis: 29.96%;
	float: left;
	margin-right: 3.2%;
	margin-top: 2.43%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	flex-direction: column;
	-webkit-flex-direction: column;
}
@media (max-width:767px) {
	.row-fluid .three-col-adjust>span {
		display: block;
		margin-right: 0;
	}
	body .row-fluid .three-col-adjust span>.hs_cos_wrapper {
		display: block;
		width: 100%;
		margin: 0;
		margin-top: 20px;
		max-width: 379px;
		width: 100%;
		margin: 30px auto 0;
		float: none;
	}
}
/*==================================================
Four Col Adjust
==================================================*/
.row-fluid .four-col-adjust>span {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: stretch;
	-moz-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	flex-wrap: wrap;
	-wevkit-flex-wrap: wrap;
	flex-direction: row;
	-webkit-flex-direction: row;
	margin-right: -2.565%;
}
body .row-fluid .four-col-adjust span>.hs_cos_wrapper {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-basis: 22.5%;
	-webkit-flex-basis: 22.5%;
	float: left;
	margin-right: 2.5%;
	margin-top: 2.43%;
	box-sizing: border-box;
	position: relative;
}
@media (max-width:767px) {
	.row-fluid .four-col-adjust>span {
		display: block;
		margin-right: 0;
	}
	body .row-fluid .four-col-adjust span>.hs_cos_wrapper {
		display: block;
		flex-basis: 100%;
		width: 100%;
		-webkit-flex-basis: 100%;
		margin: 0;
		margin-top: 20px;
	}
}
@media(min-width:768px) and (max-width:1024px) {
	.row-fluid .four-col-adjust>span {
		display: inline-block;
		margin-right: 0;
	}
	body .row-fluid .four-col-adjust span>.hs_cos_wrapper {
		display: block;
		flex-basis: 50%;
		width: 47%;
		-webkit-flex-basis: 50%;
		margin: 0;
		margin-top: 20px;
	}
}
/*==================================================
Five Col Adjust
==================================================*/
.row-fluid .five-col-adjust>span {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: stretch;
	-moz-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	flex-wrap: wrap;
	-wevkit-flex-wrap: wrap;
	flex-direction: row;
	-webkit-flex-direction: row;
	margin-right: -2.565%;
}
body .row-fluid .five-col-adjust span>.hs_cos_wrapper {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-basis: 17.5%;
	-webkit-flex-basis: 17.5%;
	float: left;
	margin-right: 2.5%;
	margin-top: 2.43%;
	box-sizing: border-box;
	position: relative;
}
@media (max-width:767px) {
	.row-fluid .five-col-adjust>span {
		display: block;
		margin-right: 0;
	}
	body .row-fluid .five-col-adjust span>.hs_cos_wrapper {
		display: block;
		flex-basis: 100%;
		width: 100%;
		-webkit-flex-basis: 100%;
		margin: 0;
		margin-top: 30px;
	}
}
/*==================================================
Six Col Adjust
==================================================*/
.row-fluid .six-col-adjust>span {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: stretch;
	-moz-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	flex-wrap: wrap;
	-wevkit-flex-wrap: wrap;
	flex-direction: row;
	-webkit-flex-direction: row;
	margin-right: -2.565%;
}
body .row-fluid .six-col-adjust span>.hs_cos_wrapper {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-basis: 14%;
	-webkit-flex-basis: 14%;
	float: left;
	margin-right: 2.5%;
	margin-top: 2.43%;
	box-sizing: border-box;
	position: relative;
}
@media (max-width:767px) {
	.row-fluid .six-col-adjust>span {
		display: flex;
	}
	body .row-fluid .six-col-adjust span>.hs_cos_wrapper {
		display: flex;
		flex-basis: 25%;
		width: 24%;
		-webkit-flex-basis: 25%;
	}
}


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

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

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

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

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

/* Paragraphs */

p {
	font-size: 1rem;
	margin: 0 0 15px;
}

/* Anchors */

a {
	cursor: pointer;
	text-decoration: none;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 20px;
}

/* Lists */

ul,
ol {
	margin: 0 0 15px;
}

ul ul,
ol ul,
ul ol,
ol ol {
	margin: 0;
}

ul.no-list {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

/* Code blocks */

pre {
	overflow: auto;
}

code {
	vertical-align: bottom;
}

/* Blockquotes */

blockquote {
	border-left: 2px solid;
	margin: 0 0 1.4rem;
	padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
	border: none;
	border-bottom: 1px solid #CCC;
}

/* Image alt text */

img {
	font-size: 0.583rem;
	word-break: normal;
}


.fw_100,
.fw_100 h1,
.fw_100 h2,
.fw_100 h3,
.fw_100 h4,
.fw_100 h5,
.fw_100 h6,
.fw_100 p{
	font-weight: 100;
}
.fw_200,
.fw_200 h1,
.fw_200 h2,
.fw_200 h3,
.fw_200 h4,
.fw_200 h5,
.fw_200 h6,
.fw_200 p{
	font-weight: 200;
}
.fw_300,
.fw_300 h1,
.fw_300 h2,
.fw_300 h3,
.fw_300 h4,
.fw_300 h5,
.fw_300 h6,
.fw_300 p{
	font-weight: 300;
}
.fw_400,
.fw_400 h1,
.fw_400 h2,
.fw_400 h3,
.fw_400 h4,
.fw_400 h5,
.fw_400 h6,
.fw_400 p{
	font-weight: 400;
}
.fw_500,
.fw_500 h1,
.fw_500 h2,
.fw_500 h3,
.fw_500 h4,
.fw_500 h5,
.fw_500 h6,
.fw_500 p{
	font-weight: 500;
}
.fw_600,
.fw_600 h1,
.fw_600 h2,
.fw_600 h3,
.fw_600 h4,
.fw_600 h5,
.fw_600 h6,
.fw_600 p{
	font-weight: 600;
}
.fw_700,
.fw_700 h1,
.fw_700 h2,
.fw_700 h3,
.fw_700 h4,
.fw_700 h5,
.fw_700 h6,
.fw_700 p{
	font-weight: 700;
}
.fw_800,
.fw_800 h1,
.fw_800 h2,
.fw_800 h3,
.fw_800 h4,
.fw_800 h5,
.fw_800 h6,
.fw_800 p{
	font-weight: 800;
}
.fw_900,
.fw_900 h1,
.fw_900 h2,
.fw_900 h3,
.fw_900 h4,
.fw_900 h5,
.fw_900 h6,
.fw_900 p{
	font-weight: 900;
}

 

.text-margin-zero,
.text-margin-zero h1,
.text-margin-zero h2,
.text-margin-zero h3,
.text-margin-zero h4,
.text-margin-zero h5,
.text-margin-zero h6,
.text-margin-zero p,
.text-margin-zero a,
.text-margin-zero span,
.text-margin-zero ul,
.text-margin-zero ol,
.text-margin-zero li,
.text-margin-zero label,
.text-margin-zero blockquote{
  margin-bottom: 0 !important;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #D0D0D0;
  border-color: #D0D0D0;
  color: #E6E6E6;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

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

/* Labels */

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

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

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

/* Inputs - checkbox/radio */

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

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

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

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

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

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

.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.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: #fff;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: #494A52;
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }


form ul.no-list.hs-error-msgs.inputs-list{
	padding: 0;
}
form ul.no-list.hs-error-msgs.inputs-list li label a{
	display: none;
}

/*******************   Form Load animation  *************************/

@keyframes cog-load {
	0% {
		opacity: 0.4;
		transform: rotate(0deg) scale(0.6);
	}
	100% {
		opacity: .2;
		transform: rotate(360deg) scale(1);
	}
}
.form_load_animation .cog-loader__cog {
	width: 100%;
	height: min(200px, 25vw);
	background-color: currentcolor;
	-webkit-mask: url('https://45530977.fs1.hubspotusercontent-na1.net/hubfs/45530977/cog.svg') center center no-repeat;
	animation: cog-load 2s infinite alternate-reverse;
}
.form_load_animation form {
	display: none; /* Hide form initially */
}
.form_load_animation .cog-loader__cog {
	display: block; /* Ensure loader is visible initially */
}
/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

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

.main_header .header_logo .hs_cos_wrapper_type_logo img,
.main_header .header_logo .hs_cos_wrapper_type_logo a {
  display: block;
}
.main_header .header_logo .hs_cos_wrapper_type_logo img{
  max-width:170px;
  width:100% !important;
}
header .custom-menu-primary .hs-menu-wrapper ul{
  padding: 0;
  margin: 0;
}
header .custom-menu-primary .hs-menu-wrapper ul li{
  list-style:none;

}
@media(min-width: 992px){
  header .custom-menu-primary .hs-menu-wrapper > ul{
    display:flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
  }
  header .custom-menu-primary .hs-menu-wrapper.hs-menu-flow-horizontal{
    display:block !important;
  }  
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1.hs-item-has-children:before {
    color: #000;
    content: "\276E";
    font-size: 10px;
    position: absolute;
    right: 0px;
    top: 38%;
    transform: rotate(-90deg) ;
    transition: all .3s ease-in-out;
  }
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1.hs-item-has-children:hover:before {
    transform: rotate(90deg);
    color: #3fa9e2;
  }
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1.hs-item-has-children.active-branch:before {
    color: #3fa9e2;
  }
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1.hs-item-has-children ul.hs-menu-children-wrapper li.hs-item-has-children:before {
    color: #000000;
    content: "\276E";
    font-size: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    transition: all .3s ease-in-out;
  }
  header .custom-menu-primary  ul.hs-menu-children-wrapper li.hs-menu-item.hs-item-has-children ul.hs-menu-children-wrapper:before{
    content: '';
    display: inline-block;
    position: absolute;
    bottom: 100%;
    left: -15px;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    top: 23px;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom-width: 10px;
    border-bottom-style: solid;
    -webkit-transition:all 0.35s;
    -o-transition:all 0.35s;
    transition:all 0.35s;
  }
  header .custom-menu-primary li.hs-menu-item.hs-item-has-children ul.hs-menu-children-wrapper {
    position: absolute;
    width: 100%;
    min-width: 200px;
    -webkit-box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
    z-index: 99;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    opacity: 0;
    visibility: hidden;
    top: 80px;
    left: 0;
    border-radius:6px;
  }
  header .custom-menu-primary ul.hs-menu-children-wrapper li.hs-menu-item.hs-item-has-children ul.hs-menu-children-wrapper {
    top: 100px;
    left: 100%;
  }
  header .custom-menu-primary li.hs-item-has-children:hover>ul.hs-menu-children-wrapper {
    opacity: 1;
    visibility: visible;
    top: 100%;
  }
  header .custom-menu-primary ul.hs-menu-children-wrapper li.hs-menu-item.hs-item-has-children:hover>ul.hs-menu-children-wrapper {
    top: -10px;
  }
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1 ul.hs-menu-children-wrapper .hs-item-has-children>a,
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1.hs-item-has-children>a{
    position: relative;
    /*     padding-right: 9px; */
  }
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1 ul.hs-menu-children-wrapper .hs-item-has-children>a:after,
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1.hs-item-has-children>a::after{
    content: "\276F";
    font-size: 12px;
    position: absolute;
    top: 50%;
    color: inherit;
    right: -11px;
    display:none;
  }
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1 ul.hs-menu-children-wrapper .hs-item-has-children>a:after{
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  header .custom-menu-primary li.hs-menu-item.hs-menu-depth-1.hs-item-has-children>a::after{
    -webkit-transform: translateY(-50%) rotate( 90deg );
    -ms-transform: translateY(-50%) rotate( 90deg );
    transform: translateY(-50%) rotate( 90deg );

  }

  header .custom-menu-primary li.hs-menu-item {
    padding:10px;
  }
  header .custom-menu-primary  li.hs-menu-item.hs-menu-depth-1 ul.hs-menu-children-wrapper{
    padding:10px;
  }
  header .custom-menu-primary  li.hs-menu-item.hs-menu-depth-1 ul.hs-menu-children-wrapper li.hs-menu-item {
    padding: 5px 0;
  }  
  header .custom-menu-primary  li.hs-menu-item.hs-menu-depth-1 ul.hs-menu-children-wrapper li.hs-menu-item:hover {
    -webkit-transition : .4s;
    -o-transition : .4s;
    transition : .4s;
  }
  header .custom-menu-primary li.hs-menu-item.hs-item-has-children{
    position: relative;
  }
}
@media(max-width: 991px){
  header .custom-menu-primary .hs-menu-wrapper.active-branch.flyouts.hs-menu-flow-horizontal {
    position: absolute;
    width: 100%;
    left: 0;
    padding: 0 15px 50px;
    top: 104px;
    height: calc( 100vh - 104px);
    overflow-y: auto;
  }
  header .custom-menu-primary .hs-menu-wrapper.active-branch.flyouts.hs-menu-flow-horizontal::-webkit-scrollbar{
    display:none;
  }
  header .custom-menu-primary .hs-menu-wrapper.active-branch.flyouts.hs-menu-flow-horizontal li.hs-menu-item {
    padding: 10px 0;
    position:relative;
  }
  header .custom-menu-primary ul.hs-menu-children-wrapper {
    padding-left: 10px;
    margin-top: 10px;
    display:none;
  }
  header.header .custom-menu-primary .hs-menu-wrapper.active-branch.flyouts.hs-menu-flow-horizontal>ul {
    display: block;
  }
  header.header .custom-menu-primary .hs-menu-wrapper.hs-menu-flow-horizontal {
    display: none;
  }
  /* Toggle Button
  ========================================================================== */
  .mobile-trigger {
    display: inline-block !important;
    cursor: pointer;
    position: absolute;
    top: 40px;
    right: 15px;
    width: auto;
    height: auto;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
  }

  /* Toggle Button Icon
  ========================================================================== */
  .mobile-trigger i {
    position: relative;
  }
  .mobile-trigger i:before,
  .mobile-trigger i:after {
    position: absolute;
    content: '';
  }
  .mobile-trigger i,
  .mobile-trigger i:before,
  .mobile-trigger i:after {
    width: 30px;
    height: 3px;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    display: inline-block;
    background-color: ;
  }
  .mobile-trigger i:before {
    top: -8px;
  }
  .mobile-trigger i:after {
    top: 8px;
  }
  .mobile-trigger:hover i,
  .mobile-trigger:hover i:before,
  .mobile-trigger:hover i:after,
  .mobile-open .mobile-trigger i,
  .mobile-open .mobile-trigger i:before,
  .mobile-open .mobile-trigger i:after {
    background-color: var(--secondary_color);
  }
  .mobile-trigger i,
  .mobile-trigger i:before,
  .mobile-trigger i:after {
    background: var(--secondary_color);
  }
  /* Toggle Button Icon Open
  ========================================================================== */
  .mobile-open .mobile-trigger,
  .mobile-trigger {
    z-index: 10;
  }
  .mobile-trigger:hover i,
  .mobile-trigger:hover i:before,
  .mobile-trigger:hover i:after,
  .mobile-open .mobile-trigger i,
  .mobile-open .mobile-trigger i:before,
  .mobile-open .mobile-trigger i:after {
    background-color: var(--secondary_color);
  }
  .mobile-trigger i {
    transition: all .5s ease-in;
  }
  .mobile-open .mobile-trigger i {
    background: transparent;
    transition: all .1s ease-in;
  }
  .mobile-trigger i:before,
  .mobile-trigger i:after {
    transition: all .3s ease-in;
  }
  .mobile-open .mobile-trigger i:before {
    top: 0;
    transform: rotate(45deg);
    background: var(--secondary_color);
  }
  .mobile-open .mobile-trigger i:after {
    top: 0;
    transform: rotate(-45deg);
    background:  var(--secondary_color);
  }
  /* Child Toggle Button
  ========================================================================== */
  .child-trigger {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0;
    width: 100%;
    min-width: 55px;
    height: 45px;
    padding: 0;
  }
  .child-trigger:hover {
    text-decoration: none;
  }
  .child-trigger i {
    position: relative;
    top: 50%;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    right:10px;
    margin-left:auto;
  }
  .child-trigger i:after {
    position: absolute;
    content: '';
  }
  .child-trigger i,
  .child-trigger i:after {
    width: 10px;
    height: 2px;
    background-color: var(--secondary_color);
    display: block;
  }
  .child-trigger i:after {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  /* Toggle Button Icon Open
  ========================================================================== */
  .child-trigger.child-open i:after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
}


/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}