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

/* Responsive grid */

.row-fluid {
  width: 100%;
}

.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%;
  -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%;
}

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

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

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

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

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

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

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

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

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

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

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

.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%;
  }

  .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%;
    -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%;
  }

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

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

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

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

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

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

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

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

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

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

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

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

  .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%;
    -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%;
  }

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

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

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

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

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

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

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

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

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

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

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

/* Clearfix */

.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;
  }
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1460px;
}

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

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

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@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;
  overflow-wrap: break-word;
}

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

/* Paragraphs */

p {
  
  margin: 0 0 1rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,.h1,
h2,.h2,
h3,.h3,
h4,.h4,
h5,.h5,
h6,.h6{
  margin: 0 0 1rem;
}

/* Lists */

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

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;
  display: inline-block;
  vertical-align: middle;
  height: auto;
  max-width: 100%;
}
.button a , a.button {display: inline-block;vertical-align: middle;text-align: center;padding: 10px 11px;font-size: 18px;
    color: #fff;line-height: 1.33;background-color: #FF8300;font-weight: 700;border-radius: 4px;letter-spacing: 1px;border: 1px solid #FF8300;}

.button a:hover, a.button:hover {background-color: #003a70;color: #fff;border-color: #003a70;}
form input[type="checkbox"]:checked+span:before { border-color: #003a70; font-size:12px;  background-color: #003a70;  color:#fff;  letter-spacing: inherit; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFF' d='M0 11.522l1.578-1.626 7.734 4.619 13.335-12.526 1.353 1.354-14 18.646z'/%3E%3C/svg%3E");
}
form input[type="radio"]+span,  form input[type="checkbox"]+span { position: relative; display:block;  padding-left: 40px;  cursor:pointer;}
form input[type="radio"]+span:before,  form input[type="checkbox"]+span:before { content: '';  color:#6b1631;  position:absolute;  left:4px;  top: 0;  font-size:0; width: 24px;  height: 24px;
  display:block; border:1px solid #003a70;  transition:all ease .3s;  -webkit-transition:all ease .3s;  text-align:center;  line-height:14px;  border-radius: 4px;background-position: center center;
  background-repeat: no-repeat;background-size: auto; }
form input[type="radio"]:checked+span:before { background: #6b1631; border-color:#6b1631;}
input[type="submit"] { outline: none; font-family: inherit; padding:14px 40px;  background: #ff8300; color: #fff;  border: 1px solid #ff8300;  font-size:16px;  line-height:18px;
  text-transform:uppercase; font-weight:700; border-radius:4px;  cursor:pointer;  -webkit-transition:all ease 0.3s;  -moz-transition:all ease 0.3s; transition:all ease 0.3s;}
input[type="submit"]:hover { background-color: #003a70; border-color:#003a70; color: #fff; }
input[type="checkbox"] { cursor: pointer; }
form .input { margin-right:0 !important; }
form fieldset { max-width:inherit !important; margin:0 -10px;  }
form fieldset.form-columns-1 .field { width:100% !important; }
form fieldset.form-columns-2 .field { width:50% !important; }
form fieldset.form-columns-3 .field { width:33.33% !important; }
form .field { padding:0 0 20px; }
form fieldset .field { padding-left:10px; padding-right:10px; }
form ul.multi-container { padding-top:10px; }
form ul.multi-container li { margin:5px 0; }  
textarea, input[type="text"], input[type="number"], input[type="email"], input[type="tel"], select { display:block; border:1px solid #003a70; outline:none; background-color:#fff; font-size:16px; line-height:20px;
  font-family: inherit;
  font-weight:400; color:#003a70; margin:0; padding:13px 20px; width:100% !important; border-radius:4px; }
textarea { min-height:110px; }
.hs_error_rollup {display: none; }
/* 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
*/

/*--------------------  Header Css --------------------  */


.header-section {padding-top: 15px;background-color: #f7eee0;padding-bottom: 5px;position: relative;}
.header-left {width: 230px;}
.header-right {width: calc(100% - 230px);padding-left: 30px;padding-top: 15px;}
.headernavigation .hs-menu-wrapper > ul {display: flex;flex-wrap: wrap;justify-content: flex-end;}
.headernavigation .hs-menu-wrapper > ul > li > a {display: block;padding: 0 17px;font-weight: 600;text-transform: uppercase;font-size: 16px;letter-spacing: 1px;}
.headernavigation .hs-menu-wrapper > ul > li > a:hover {color: #d79a2a;}
.header-two-col{margin-top: -30px;}

@media(max-width: 1230px) {

  .header-right {padding-left: 0;}
  .headernavigation .hs-menu-wrapper>ul>li>a {padding: 0 10px;}

}

@media(max-width: 1080px) {

  .header-left {width: 180px;}
  .header-right {width: calc(100% - 180px);}
  .headernavigation .hs-menu-wrapper>ul>li>a {padding: 0 7px;}

}


@media (min-width: 992px) {

  a.expandMenu { display: none !important; }
  .headernavigation { display: block !important; overflow: inherit !important; }


}

@media (max-width: 991px) {

  /*-=-=-=-= Mobile menu JS USE  MENU ICON as '<a class="expandMenu"><i></i><i></i><i></i></a>' -=-=-=*/

  a.expandMenu:before {content: "\f0c9";font-weight: 900;font-family: FontAwesome!important;color: #9d9d9d;font-size: 14px; }
  
  a.expandMenu { width: 12px; height: 14px; display: block; cursor: pointer; padding: 0; position: absolute;  top: 45px;  left: 15px;}

  .header-fst-section { background-color: #f7eee0; padding: 15px 0; }
  .header-right-btn { text-align: center;  }
  .header-sec-section {   padding: 8px 0;  position: relative;}
  .header-section {  background-color: #fff; padding: 0; }
  .header-sec-section .content-wrapper { max-width: 100%;}
  .header-left {   width: 100%; text-align: center; }
  .header-right { width: 100%; }
  .header-logo img {  width: 167px !important;  height: 80px !important;}
  .headernavigation .hs-menu-wrapper>ul {display: block;max-width: 768px;margin: 0 auto;}
  .headernavigation .hs-menu-wrapper>ul>li>a {padding: 10px 0;display: block;font-size: 13px;color: #888;line-height: 1.8;font-weight: 400;}
  .headernavigation .hs-menu-wrapper>ul>li + li {border-top: 1px solid #eaeaea;}
  .headernavigation {display: none;}
  .header-two-col {margin-top: 0;}

}

/*--------------------  Footer Css --------------------  */


.footer-sec {background-color: #003a70; padding-top: 57px; padding-bottom: 37px;}
.about, .contact, .news, .footer-logo  {padding: 15px 15px;}
.footer-inner {margin: 0 -15px;}

.about-title h4, .news h4, .contact h4  { font-size: 24px; line-height: 1.57; text-transform: uppercase;  letter-spacing: 1px; font-weight: 600; color: #fff;  margin-bottom: 0;}
.about-content, .contact-content,.news-content {padding-top: 22px; color: #f8eee1;line-height: 1.5;}
.about-content p, .contact-content p, .news-content p {margin-bottom: 0;}
.about-content p + p, .contact-content p + p {padding-top: 15px;}

.supporting-logo {padding-top: 25px;}
.supporting {padding-top: 15px;}
.supporting-title h4 {color: #ffffff; letter-spacing: -0.4px;line-height: 1.29;margin-bottom: 0;}
.contact-content a {color: #818181;font-family: arial,helvetica,sans-serif;}
.contact-content a:hover {color: #fff;}
.contact-logo {padding-top: 15px;}
.news-form h3 {margin: 0;padding-top: 15px;}

.news-form form input[type=text], .news-form  form input[type=email], .news-form  form input[type=password], .news-form  form input[type=tel], .news-form  form input[type=number], 
.news-form  form input[type=file], .news-form  form select, .news-form  form textarea { padding: 8px 16px;  width: 100% !important; line-height: 1.428571429; color: #555!important;  vertical-align: middle; background: 0 0;  background-color: #fff;
  border: 1px solid #ccc; border-radius: 2px; outline: none; font-size: 14px;}
.news-form ::placeholder{color:#555;}
.news-form .hs-input.invalid.error{border-color: #ccc;}
.news-form .hs-error-msg { color: #ff320a; margin-top: 5px; font-size: 14px;}
.news-form input[type=submit] { -webkit-appearance: none; background-color: #FF8300 !important;  font-family: 'Roboto Slab', sans-serif;  font-size: 18px;  appearance: none; outline: 0;  padding: 8px 16px;
  color: #fff;  border: 1px solid #1e1e1e;  line-height: 1.28; font-weight: 500;  cursor: pointer;  -webkit-transition: all ease .3s;  -moz-transition: all ease .3s;  transition: all ease .3s; border-radius: 0;}
.news-form input[type=submit]:hover {background-color: #1e1e1e !important;}
.news-form .actions{padding-top: 15px;}
.news-link {padding-top: 15px;}
.news-link .hs-menu-wrapper > ul > li > a {color: #818181;line-height: 1.5;font-size: 18px;font-family: 'Arial', sans-serif;}
.news-link .hs-menu-wrapper > ul > li > a:hover {color: #fff;}
.news-logo {text-align: center;padding-top: 15px;}
.news-review-innr {padding: 30px;background-color: #fff;}
.review-content {font-size: 14px; line-height: 30px;  color: #555555;}
.review-content span {font-weight: 600;}

.review-star > ul {padding: 0;margin: 0;list-style: none;display: flex;flex-wrap: wrap;}
.review-star > ul >li + li {margin-left: 5px;}
.review-star > ul >li svg {width: 36px;height: 36px;}
.review-content p {margin-bottom: 0;}
.review-star {padding-top: 10px;}
.review-star>ul>li {line-height: 0;}
.review-star>ul>li svg path {fill: #FFB000;}
.review-link-innr {display: flex; display: flex; flex-wrap: wrap; align-items: center;}
.link-ls {font-size: 10px;  line-height: 1.6;padding-right: 14px; position: relative;}
.link-ls p {margin-bottom: 0}
.review-link {padding-top: 15px; }
.link-ls a {color: #555555;font-family: 'Arial', sans-serif;}
.link-rs-innr {display: flex; flex-wrap: wrap;align-items: center;}
.powered-by-title {font-size: 10px; line-height: 16px;  color: #7F909B;}
.powered-by-title p {margin-bottom: 0;}
.powered-by-logo {margin-left: 5px; line-height: 0;}
.link-ls a:before {position: absolute;content: '';top: 0;right: 7px;width: 1px;height: 100%;background-color: rgba(85,85,85,0.2);}


@media (max-width: 1280px) {

  .review-star>ul>li svg { width: 32px;  height: 32px;}
  .news-review-innr {padding: 25px 20px;}


}

@media (max-width: 1080px) {

}


@media (max-width: 991px) {

}


@media (max-width: 767px) {

  .about, .contact, .news, .footer-logo  {padding: 0;}
  .footer-inner {margin: 0;}
  .contact, .news, .footer-logo  {padding-top: 35px;}
.footer-logo-box-innr  { text-align: center; }

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

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

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

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

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

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