.module-container-wrapper {

}


.module-container {

}


.custom-header-wrapper {

}

.custom-header-wrapper .top-bar-wrapper {

}

.main-navigation {
  box-shadow:0 0 30px 0 rgb(119 131 143 / 20%);
}

.custom-header-wrapper .bottom-bar-wrapper {
  display: flex;
  justify-content: space-between;
}

/* Menu Positioning */
.custom-header-wrapper .bottom-bar-wrapper.side_by_side {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding:25px 20px;
  align-items:center;
}

.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul {
  padding:0!important;
}

.custom-header-wrapper .bottom-bar-wrapper.side_by_side .logo-wrapper {
  width: 20%;
}

@media (min-width:1080px) {
.custom-header-wrapper .bottom-bar-wrapper.side_by_side .menu-wrapper {
  width: 80%;
}
}

.black-btn {
  background-color: #000;
  border: 1px solid #000;
  padding: 12px 20px;
  color: #fff;
  transition: all 0.3s ease;
  display:inline-block;
}

.black-btn:hover {
  background-color: #fff;
  color:#a8221d!Important;
}

a.menu-cta.desktop-cta.black-btn {margin-left:20px;}


@media (max-width: 1079px) {
  .custom-header-wrapper .bottom-bar-wrapper.side_by_side .logo-wrapper {
    width: 80%;
  }
}



.custom-header-wrapper .bottom-bar-wrapper.top_bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.custom-header-wrapper .bottom-bar-wrapper.top_bottom .menu-wrapper {
  width: 100%;
}

.custom-header-wrapper .bottom-bar-wrapper.top_bottom .logo-wrapper {
  width: 100%;
  text-align: center;
}
.custom-header-wrapper .bottom-bar-wrapper.top_bottom .menu-wrapper .desktop-menu {
  text-align: center; 
}
.custom-header-wrapper .bottom-bar-wrapper.top_bottom .menu-wrapper .desktop-menu .hs-menu-wrapper {
  float: none; 
}

/* End Positioning */

@media (min-width:1080px) {
.custom-header-wrapper .bottom-bar-wrapper .logo-wrapper img {
  max-width: 100%; 
}

}

@media (max-width:1079px) {
  .header-container .hs_cos_wrapper_type_logo a img { 
    max-width:220px!important;
  }
}


.custom-header-wrapper .logo-wrapper {
  padding:0px;
}



.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper {
  float: right; 
}

.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper a {
  padding: 10px 20px!important; 
  font-size:16px;
}

.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper a:hover,
.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper a:focus {
  color:#a8221d!important;
}

.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper .hs-menu-item.hs-menu-depth-1 {
  display: inline-block;
  position: relative;
}

.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul {
  padding-left: 0px;
  list-style: none;
  width:auto!important;
}
.hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 {float:none!important;}

.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children ul.hs-menu-children-wrapper {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .4s;
  position: absolute;
  z-index: 10;
  left: 0;
}

.menu-inside {
  float: right;
  display: flex;
  justify-content: right; 
  align-items: center;

}

@media (max-width: 1079px) {
  .menu-inside {
    position: relative;
  }
}

.menu-inside .menu-cta {
  padding: 10px 25px 10px 25px;
}

.default-btn {
  color: #fff;
  text-decoration: none;
  background: grey;
}

.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-item-has-children:hover>ul.hs-menu-children-wrapper {
  opacity: 1;
  visibility: visible;
}


.hs-menu-item.hs-menu-depth-2 a{
  padding: 0px 0px 10px 0px !important; 
}

.top-bar-right a {
  color:#fff;
  font-size:16px;
}

.top-bar-right a:hover {
  color:#fff;
}

.top-bar-left {
  display:flex;
  align-items:center;
}

.top-bar-wrapper p {
  margin:0;
  font-size:16px;
}

/* Dropdown Styling */


.custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-item-has-children:after {
  content: '\f078';
  position: absolute;
  right: 0;
  top: 10px;
  font-family: 'FontAwesome';
  color: #262628;
  font-size: 10px;
}



/* Mega Menu Styling */


.mega-menu {
  list-style: none;
  padding-left: 0px;
}

.mega-menu .main-nav-wrapper {

}

.mega-menu .main-nav-item {
  padding: 10px 25px; 
}

.mega-menu li {
  display: inline-block; 
}

.mega-menu .mega-child-menu {
  display: none; 
  position: absolute;
  background: #fff;
  width: 100%;
  left: 0;

  padding: 45px 10px;
}

.mega-menu .make-relative {
  position: relative;
}

.mega-menu .normal-nav {
  top: 25px !important;
}

.mega-child-container {
  display: flex; 
}

.mega-image {
  max-width: 300px; 
  margin-right: 45px;
}

.mega-menu .mega-child-menu li {
  display: block !important; 
}

.mega-menu .mega-child-menu li a {
  padding: 15px 0px !important;
  width: 100% !important;
  display: block;
}

.mega-menu .menu-wrapper {
  padding: 0px 25px; 
}

.mega-menu li:hover .mega-child-menu {
  display: block; 
}

.mega-menu .hs-menu-wrapper {
  width: 100%; 
}

.mega-menu .hs-menu-wrapper ul {
  padding-left: 0px; 
}


/* Topbar Styling */

.top-bar-container {
  display: flex;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding:0px 20px!important;
  color:#fff;
}


@media (max-width: 1079px) {
  .desktop-menu, .desktop-cta {
    display: none!Important; 
  }
.top-bar-right a {
  display:block;
  height:48px;
  line-height:48px;
  }

}

/* ==========================================================================
Off-Canvas Menu                              
========================================================================== */
.off-canvas-menu {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  margin: 0 !important;
  height: 100%;
  width: 100%;
  min-width: 200px;
  max-width: 250px;
  background: #fff;
  padding: 1em;
  font-size: 1.15em;
  box-shadow: 1px 6px 8px rgba(0, 0, 0, 0);
  transform: translate3d(-300px,0,0);
  transition: all 250ms ease;
  will-change: transform;
}

/* Normal Mobile */ 

.normal {
  display: none; 
  text-align: center;
  border: solid 1px #e6e6e6; 
}

.normal ul {
  list-style: none;
  width: 100%;
  text-align: center;
  padding-left: 0;
  margin: 0;
}

.normal ul li {
  background: #fff;
  border-bottom: 3px solid #f0f0f0; 
}

.normal .hs-menu-children-wrapper {
  display: none; 
}

.normal a {
  padding: 1.5em;
  display: block; 
}

.normal ul li a{
  padding: 1.5em;
  display: block;
  font-weight: bold;
}

.show-menu .normal {
  display: block;
}

.normal .hs-item-has-children {
  position: relative; 
  text-align: center;
}

.normal .hs-item-has-children:before {
  content: '\f0dd';
  position: absolute;
  right: 25px;
  top: 20px;
  font-family: 'Font Awesome 5 Pro';
}

.normal .hs-item-has-children:after {
  content: '';
  width: 100%;
  height: 66px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
}

.normal .dropdown .hs-menu-children-wrapper {
  display: block; 
}

.normal .hs-menu-depth-2 {
  border: none; 
}

.normal .hs-menu-depth-2 a{
  text-align: center !important;
  padding: 1.5em !important;
  font-weight: normal !important;
}


/* Show menu */

.off-canvas-menu .hs-menu-depth-1.show-menu > ul.hs-menu-children-wrapper {
  opacity:1;
  position:relative!important;
  visibility:visible!important;
}

.off-canvas-menu  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts>ul li.hs-item-has-children ul.hs-menu-children-wrapper {
  left:auto;
}
  

.show-menu .off-canvas-menu {
  transform: translate3d(0,0,0);
  box-shadow: 1px 6px 8px rgba(0, 0, 0, 0.24);
}
.off-canvas-menu a { 
  padding: 0.75em;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  font-size:16px;
}

.off-canvas-menu a.menu-cta.black-btn {
  display:block;
  text-align:center;
}

.off-canvas-menu .hs-menu-wrapper.hs-menu-flow-horizontal ul > li.hs-menu-item.hs-menu-depth-2 a {
  background-color:#fff;
  color:#000;
  text-transform:initial;
  text-align:left;
      padding: 0.75rem!important;
}


.off-canvas-menu .hs-menu-wrapper.hs-menu-flow-horizontal ul > li.hs-menu-item.hs-menu-depth-1 a:hover,
.off-canvas-menu .hs-menu-wrapper.hs-menu-flow-horizontal ul > li.hs-menu-item.hs-menu-depth-1 a:focus,
.off-canvas-menu .hs-menu-wrapper.hs-menu-flow-horizontal ul > li.hs-menu-item.hs-menu-depth-1 a:active,
.off-canvas-menu .hs-menu-wrapper.hs-menu-flow-horizontal ul > li.hs-menu-item.hs-menu-depth-2 a:hover,
.off-canvas-menu .hs-menu-wrapper.hs-menu-flow-horizontal ul > li.hs-menu-item.hs-menu-depth-2 a:focus,
.off-canvas-menu .hs-menu-wrapper.hs-menu-flow-horizontal ul > li.hs-menu-item.hs-menu-depth-2 a:active {
  color:#a8221d;
}


li.hs-menu-item.hs-menu-depth-2:hover {
  background-color:#f9f9f9;
}

@media (max-width:1079px) {

  .custom-header .hs-menu-wrapper.hs-menu-flow-horizontal ul > li:last-child > a {
    background-color:#000;
    color:#fff;
    text-transform:uppercase;
    text-align:center;
  }

}

@media (max-width:1400px) {
  
  .custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper a {
    padding:10px 12px!Important;
  }
}

@media (max-width:1280px) {
  .custom-header-wrapper .bottom-bar-wrapper.side_by_side .logo-wrapper {
    width:17%;
  }
  .custom-header-wrapper .bottom-bar-wrapper.side_by_side .menu-wrapper {
    width:83%
  }
  .custom-header-wrapper .bottom-bar-wrapper .menu-wrapper .desktop-menu .hs-menu-wrapper a {
    font-size:15px;
  }
}

/* Second level menu */

.off-canvas-menu .hs-menu-depth-1 > ul.hs-menu-children-wrapper {
  transform-origin: 50% 0;
  transform-style: preserve-3d;
  transform: scale(1,0) rotateX(-90deg);
  transition: all .2s ease;
  opacity: 0 !important; /* important to overwrite hubspot styles */
  max-height: 0;
  will-change: transform;
}

/* Show second level menu */
.off-canvas-menu .hs-menu-depth-1.show-menu > ul.hs-menu-children-wrapper {
  transform: scale(1,1) rotateX(0deg);
  opacity: 1 !important; /* important to overwrite hubspot styles */
  max-height: 220px; /* hack to animate height - change this if your second level menu is taller than 220px */
}
.off-canvas-menu .hs-menu-depth-1.hs-item-has-children {
  padding-right: 0.5em;
}
.off-canvas-menu .hs-menu-depth-1.hs-item-has-children > a:after {
    content: '\f078';
    position: absolute;
    right: 0;
    top: 10px;
    font-family: 'FontAwesome';
    color: #262628;
    font-size: 10px;
  transform: rotate(0);
  transition: all 500ms;
}
.off-canvas-menu .hs-menu-depth-1.hs-item-has-children.show-menu > a:after {
  transform: rotate(180deg);
}

.menu-toggle {
  display: none; 
  position: absolute;
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

.menu-toggle i, .menu-toggle svg {
  font-size: 36px;
  color: #fff;
}

/* Off Canvas Menu */

.off-canvas-menu ul{
  list-style: none;
  padding: 0;
}

.off-canvas-menu ul li {
      padding: 0!important;
  width: 100%;
  font-size:16px!Important;
}

.off-canvas-menu ul li a {
  display: block;
  width: 100%;
  color: #000;
}


@media (max-width: 1079px) {
  .menu-toggle {
    display: block;
  }
}

/* ==========================================================================
Navigation
========================================================================== */

.custom-header {
  position: absolute; 
  width: 100% !important;
}

.custom-header.sticky {
  display:none; 
}

.custom-header.sticky.show {
  display:block;
  background-color:#000;
  position:fixed;
  z-index:999;
  -webkit-box-shadow: 0px 1px 20px rgba(7, 7, 7, 0.1);
  box-shadow: 0px 1px 20px rgba(33, 35, 77, 0.1);
}

.custom-header.sticky img {
  max-width:200px;
  margin-top:5px;
}



@media(max-width: 960px) {
  .desktop-nav {
    display: none !important;
  }
}

.nav-bar {

}

.nav-logo {
  padding-top:25px;
}

.nav-menu {
  font-weight: 700;
}

.nav-menu ul {
  float:right;
  margin-top:30px!Important;
}

.custom-header.sticky.show .nav-menu ul { 
  margin-top:0px!important; 
}

.nav-menu ul li {
  display: inline-block; 
  padding: 15px 0px;
  font-size: 20px;
  margin-right:35px;
}

.nav-menu ul li a {
  text-decoration: none; 
  color: #fff;
  position: relative;
  font-size:16px;
  padding:15px 0;
  letter-spacing:0.11em;
}

.nav-menu ul li:last-child {
  margin-right:0px;
}

.nav-menu .hs-menu-children-wrapper {
  margin-top: 0px !important;
  background: #fff;
  padding: 15px 0 !important;
  box-shadow: 0 3px 5px rgba(0,0,0,0.25);
}

.nav-menu .hs-menu-children-wrapper li {
  width: 100%;
  margin-right: 0px;
  padding: 0px;
}

.nav-menu .hs-menu-children-wrapper li a {
  background: #fff;
  color: #000 !important;
  padding: 15px 25px;
}


.nav-menu  .hs-menu-children-wrapper li a:before {
  content: "";
  position: absolute;
  width: 80%;
  height: 2px;
  bottom: -5px;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #000;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
  z-index: 999;
}

.nav-menu .hs-menu-children-wrapper li a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

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

.nav-menu .hs-item-has-children:after {
  position: absolute;
  font-size: 16px;
  content: '\f0dd';
  color: #fff;
  font-family: 'Font Awesome 5 Pro';
  right: -15px;
  top: 28px;
}

@media (min-width:767px) {

  .sticky .nav-menu ul li.hs-menu-depth-1:last-child a {
    border:2px solid #fff!important;
  }

}

.nav-menu ul li.hs-menu-depth-1:last-child a{
  padding: 15px 25px;
  background: #000;
  color: #fff;
  text-transform:uppercase;
  font-size: 16px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.11em;
  border:none!Important;
}




.nav-menu ul li a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.nav-menu ul li a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* Off Canvas Menu */

.off-canvas-menu ul{
  list-style: none;
  padding: 0;
}

.off-canvas-menu ul li {
  width: 100%;
}

.off-canvas-menu ul li a {
  display: block;
  width: 100%;
  color: #000;
}


/* Hamburger Menu */


#nav-icon4 {
  width: 40px;
  height: 35px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon4 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #262628;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}


#nav-icon4 {
}

#nav-icon4 span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
  top: 12px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
  top: 24px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -5px;
}

#nav-icon4.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 23px;
  left: 1px;
}

@media (max-width: 1079px) {
  .header-container {
    padding:0!important;
  }
  .header-container-wrapper {
    padding-top:0!important;
  }
}

