/* Menu */

.menu--desktop {
  display: block;
}

.menu--mobile {
  display: none;
}

@media (max-width: 1199px) {
  .menu--desktop {
    display: none;
  }

  .menu--mobile {
    display: block;
  }
}

/* Menu items */

.menu__item {
  position: relative;
}

.menu__link {
  font-size: 18px;
  line-height: 1.3;
  text-decoration: none;
}

.menu__link:hover,
.menu__link:focus,
.menu__link:active {
  text-decoration: none;
}


@media (max-width: 1199px) {
  .menu__item {
    display: block;
    width: 100%;
  }

  .menu__link {
    display: block;
    font-size: 20px;
  }
}

/* Menu items - top level */

.menu__item--depth-1 {
  display: inline-block;
  padding: 18px 20px;
  margin-bottom: 0;
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .menu__item--depth-1 { padding-left: 15px; padding-right: 15px; }
  .menu__link {
    font-size: 16px;
  }
}

.menu__item--depth-1 > .menu__link--active-link:after {
  bottom: 0;
  content: '';
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

@media (max-width: 1199px) {
  .menu__item--depth-1 {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }

  .menu__item--depth-1 > .menu__link {
    padding: 10px 20px;
  }

  .menu__item--depth-1 > .menu__link--active-link:after {
    content: none;
  }
}

/* Menu items - submenus */

.menu__submenu {
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.03);
  border-radius: 3px;
  display: none;
  left: 0;
  position: absolute;
  text-align: left;
  text-transform: none;
  top: 100%;
  width: 252px;
  z-index: 99;
}

.menu__item--open > .menu__submenu {
  display: block;
}


/* Keeps the first menu item's drop down menu aligned to the left of the top level menu item */

.menu__item--depth-1:first-child .menu__submenu--level-2 {
  transform: unset;
}

.menu__submenu .menu__item {
  padding: 0 20px;
  margin: 0;
  width: 100%;
}

@media (min-width: 1200px) {
  .menu__submenu .menu__item:first-child { 
    padding-top: 20px;
  }

  .menu__submenu .menu__item:last-child { 
    padding-bottom: 20px;
  }

  .menu__item--depth-1:last-child>ul {
    left: auto;
    right: 0;
  }
}

.menu__submenu .menu__link {
  display: block;
  padding: 10px 0;
  position: relative;
  width: 100%;
}

.menu__submenu .menu__link:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  border-bottom: 2px solid #b65e2b;
  transition: all 0.3s ease;
}

.menu__submenu .menu__link--active-link:before,
.menu__submenu .menu__item:hover .menu__link:before {
  width: 100%;
}

.menu__submenu--level-3 {
  left: 100%;
  top: 0;
}

/* Flyouts for the last two top level menu items go left to keep page responsive */

.menu__item--depth-1:nth-last-child(-n+2) .menu__submenu--level-3 {
  left: auto;
  right: 100%;
  top: 0;
}

/* Accounts for child toggle */

.menu__submenu .menu__item--has-submenu > .menu__link {
  padding-right: 3rem;
}


@media (max-width: 1199px) {
  .menu__submenu {
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: static;
    transform: unset;
    width: 100%;
  }

  .menu__submenu .menu__item {
    border-bottom: none;
    padding: 0;
    margin: 0;
  }

  .menu__submenu .menu__link {
    display: block;
    padding: 10px 45px;
    transition: none;
    width: 100%;
    background-color: transparent;
    font-size: 18px;
  }

  .menu__submenu .menu__item .menu__link:hover,
  .menu__submenu .menu__item .menu__link:focus {
    background-color: inherit;
    transition: none;
  }

  .menu__item--has-submenu > .menu__link {
    width: 70%;
  }

  .menu__submenu--level-3 .menu__item .menu__link {
    padding: 0.7rem 3rem;
  }
}

/* Menu icons */

@media(min-width: 1200px) {
  .menu__submenu .menu__child-toggle {
    margin-left: auto;
    padding: 0 1.05rem;
  }

  .menu__child-toggle {
    position: absolute;
    right: 5px;
    top: 30px;
    z-index: 2;
  }

  .menu__item--depth-1 > .menu__child-toggle {
    position: static;
    right: 0;
    top: 0;
    vertical-align: middle;
  }

  .menu__child-toggle-icon {
    background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none' viewBox='0 0 17 10'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-width='2' d='m1.616 1.5 7 7 7-7'/%3E%3C/svg%3E);
    background-size: cover;
    height: 7px;
    display: block;
    right: 0;
    top: 17px;
    width: 14px;
    margin-left: 0px;
  }
}

@media (max-width: 1199px) {
  .menu__child-toggle {
    cursor: pointer;
    width: 30%;
  }

  .menu__child-toggle-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='10' fill='none' viewBox='0 0 17 10'%3E%3Cpath stroke='%2322304b' stroke-linecap='round' stroke-width='2' d='m1.616 1.5 7 7 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    display: block;
    height: 20px;
    margin-left: auto;
    margin-right: 1.05rem;
    transition: transform 0.4s;
    width: 20px;
    background-position: center;
  }

  .menu__item--open > .menu__child-toggle .menu__child-toggle-icon {
    transform: rotate(180deg);
    transition: transform 0.4s;
  }
}



/* MEGA */
.wide-menu-content-item {
  display:none;
  height: 100%;
}
.wide-menu-content-item-column {
  padding: 30px 30px 40px;
  background:var(--bg-color);
}
.wide-menu-content-item-column[data-width="3"] {
  width:100%;
}
.wide-menu-content-item-column[data-width="2"] {
  width:calc(calc(100% / 3) * 2);
}

.wide-menu-content-item-column[data-width="1"] {
  width:calc(100% / 3);
}

.wide-menu-content-item-column[data-width="1.5"] {
  width:calc(100% / 2);
}

.wide-menu-content-item.active{
  display:flex;
}
.wide-menu-content {
  max-height:calc(100vh - 80px);
  overflow-y:auto;
}
header.header .wide-menu-content {
  width:calc(100% - 200px);
}
header.header .wide-menu-trigger-items {
  position:sticky;
  top:0px;
}
.menu__submenu-mega {
  border-radius: 0px;
  box-shadow: none;
}
header.header .wide-menu-trigger-item {
  transition:0.3s ease all;
  -webkit-transition:0.3s ease all;
  display: flex;
  width:100%;
  padding: 14px 10px;
  border-left: 2px solid transparent;
  justify-content: space-between;
  align-items: center;
  color: #FFF;
  cursor:pointer;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}
header.header .wide-menu-trigger-item.active {
  background: #D2753E;
}
header.header .wide-menu-trigger-item:hover {
  border-left: 2px solid #D2753E;
  background: rgba(0, 0, 0, 0.50);
}
header.header .wide-menu-trigger {
  color:#fff;
  width:200px;
  height:inherit;
  background:#22304B;
  padding:30px 20px 30px 0px;
}
header.header .menu__submenu-mega {
  left:0%;
  width:100%;
  background:#FFF;
}
header.header .menu__submenu-mega-inner:before {
  content:"";
  background:#22304B;
  height:100%;
  position:absolute;
  z-index:2;
  width: calc(50vw - 50%);
  left: calc(50% - 50vw);
  top:0px;
}

.wide-menu-content-item-column:last-child:after {
  content: '';
  background: var(--bg-color);
  height: 100%;
  position: absolute;
  z-index: 3;
  width: 100vw;
  left: 100%;
  top: 0px;
  transform: translateX(-1px);
}

header.header .menu__submenu-mega-inner {
  align-items: stretch;
  position:relative;
  max-width:1240px;
  margin:0px auto;
  background:#FFF;
  z-index:3;
  display:flex;
  flex-direction:row;
}
header.header .menu__item-mega {
  position:static;
}

@media (max-width:1241px){
  header.header .menu__submenu-mega-inner:before {
    display:none;
  }
}
.wide-menu-content-item-column-title-link,
.wide-menu-content-item-column-title {
  color: #D2753E;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 21px */
  text-transform: uppercase;
  margin-bottom:25px;
}
.wide-menu-content-item-column-title-link {
  margin-bottom:0px;
  text-decoration:none;
  display:inline-block;
  color:#D2753E;
}
.wide-menu-content-item-column-title-link:hover {
  text-decoration:underline;
  font-weight:700;
  color:#D2753E;
}
.wide-menu-content-item-column-link:hover > .wide-menu-content-item-column-links-title {
  /*   text-decoration:underline; */
  color:#D2753E;
}
.menu__item-normal {
  border-radius:0px !important;
}
.menu__submenu-normal {
  max-width:247px;
  /* width:auto;*/
  min-width:140px;
  left:0px;
  transform:none;
  top:calc(100% + 18px);
  border-radius:0px !important;
}
.wide-menu-content-item-column-link > .wide-menu-content-item-column-links-title {
  color: #22304B;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 22.4px */
  margin-bottom:8px;
}
.wide-menu-content-item-column-link:hover,
.wide-menu-content-item-column-link {
  text-decoration:none;
  display:block;
}

.header-normal-menu > a{
  display:block;
  width:100%;
  color: #22304B;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 22.4px */
  text-decoration:none;
}
.header-normal-menu > a:hover{
  text-decoration:none;
  color:#D2753E;
}
.header-normal-menu {
  display: flex;
  padding: 30px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  align-self: stretch;
  width:100%;
}
.menu__submenu-normal,
.menu__submenu-mega {
  box-shadow:0px 10px 10px rgba(0,0,0,0.1);
}
.menu__item--depth-1 a {

}
.menu__item--depth-1.menu__item--open,
.menu__item--depth-1:hover {
  background: rgba(0, 0, 0, 0.50);
}


.menu__submenu-normal:before,
.menu__submenu-mega:before {
  content:"";
  height:80px;
  top:-40px;
  width:100%;
  left:0px;
  position:absolute;
  z-index:-1;
}

.wide-menu-content-item-column-link:hover > .wide-menu-content-item-column-links-text,
.wide-menu-content-item-column-link > .wide-menu-content-item-column-links-text {
  text-decoration:none;
  color: #22304B;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 19.6px */
}
.wide-menu-content-item-column-links {
  display:flex;
  flex-direction:column;
  gap:25px;
}


.wide-menu-content-item-column[data-width="3"] .wide-menu-content-item-column-links {
  display:flex;
  flex-direction:unset;
  flex-wrap:wrap;
  gap:25px;
}
.wide-menu-content-item-column[data-width="2"] .wide-menu-content-item-column-links {
  display:flex;
  flex-direction:unset;
  flex-wrap:wrap;
  gap:25px;
}
.wide-menu-content-item-column[data-width="2"] .wide-menu-content-item-column-link {
  width:calc(calc(100% / 2) - calc(25px / 2));
  gap:25px;
}
.wide-menu-content-item-column[data-width="3"] .wide-menu-content-item-column-link {
  width:calc(calc(100% / 2) - calc(calc(25px * 2) / 3));
  gap:25px;
}
.wide-menu-content-item-column-featured {
  display:flex;
  flex-direction:row;
  gap:0px;
  width:100%;
  align-items:center;
  max-width:734px;
  align-items: stretch;
}
.wide-menu-content-item-column-featured-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.menu-featured-content {
  display:flex;
  flex-direction:column;
  gap:17px;
  height:inherit;
  padding:20px;
  width:67%;
}
.wide-menu-content-item-column-featured .menu-featured-image img{
  object-fit:cover;
  height:100%;
  width:100%;
}
.wide-menu-content-item-column-featured .menu-featured-image {
  width:36%
}

header.header .button-wrapper .header-primary {
  border-radius: 50px;
  border: 2px solid #B65E2B;
  background:transparent;

  color: #B65E2B;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  padding:14px 20px;
}

header.header .button-wrapper .header-primary:hover {
  background:#B65E2B;
  color:#fff;
}

header.header .button-wrapper .header-link svg{
  transition:0.3s ease all;
  -webkit-transition:0.3s ease all;
}
header.header .button-wrapper .header-link:hover svg{
  transform:translateX(5px);
  -webkit-transform:translateX(5px);
}
.menu-featured-title {
  color: #22304B;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 23.8px */
}
.menu-featured-text {
  color: #22304B;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 19.6px */
}
header.header .button-wrapper .header-link {
  border:none;
  background:transparent;
  padding:0px;
  color: #B65E2B;
  display:inline-flex;
  align-items:center;
  font-size: 15px;
  gap:10px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}
.menu__item--depth-1 {
  display: inline-block;
  margin-bottom: 0;
  padding: 16px 20px;
}
.menu__item--depth-1.menu__item--open > a,
.menu__item--depth-1:hover > a
.menu__item--depth-1 > a:hover,
.menu__item--depth-1 > a {
  color:#fff;
}
.menu__item--depth-1 > .menu__child-toggle > .menu__child-toggle-icon {
  transition:0.3s ease all;
  -webkit-transition:0.3s ease all;
  background:none;
  height:7px;
  width:14px;
  display: flex;
  align-items: center;
  color:#fff;
}
.menu__item--depth-1.menu__item--has-submenu > a {
  margin-right:10px;
}

.menu__item--depth-1.menu__item--open > .menu__child-toggle > .menu__child-toggle-icon,
.menu__item--depth-1:hover > .menu__child-toggle >  .menu__child-toggle-icon{
  transform:rotate(180deg);
  -webkit-transform:rotate(180deg);
  color:#D2753E;
}
.header__language-switcher .lang_list_class li a:focus, 
.header__language-switcher .lang_list_class li:hover a, 
.header__language-switcher-label-current:focus, 
.header__language-switcher-label-current:hover, 
.menu .menu__link:focus, .menu .menu__link:hover {
  color: #fff;
}
/* MOBILE MEGA */
@media (min-width: 1200px) {
  .header-normal-menu a {
    /* text-wrap: nowrap;*/
  }
  /*   .menu__submenu-mega.menu__submenu:after {
  content:"";
  position:fixed;
  z-index:0;
  top:0;
  left:0;
  height:100vh;
  width:100vw;
  background: rgba(0, 0, 0, 0.50);
} */
}
@media (max-width: 1199px) {
  .menu__child-toggle-icon {
    margin-right:0px;
  }
  .menu__submenu-mega:before, .menu__submenu-normal:before {
    display:none;
  }
  #hs_cos_wrapper_site_logo_hs_logo_widget img {
    max-width:158px;
  }
  .header__language-switcher.open, .header__navigation.open, .header__search.open {
    background-color: #fff;
    align-items:start;
  }
  .menu__item--depth-1.menu__item--open, .menu__item--depth-1:hover {
    background: #fff;
  }
  .menu__item--depth-1 > a.menu__link{
    padding:0px;
    color: #22304B;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%; /* 25.2px */
  }
  .menu__item--depth-1:last-child {
    border-bottom:1px solid #CCCCCC;
  }
  .menu__item--depth-1 {
    display:flex;
    padding: 25px 20px;
    gap:10px;
    justify-content:space-between;
    border-top:1px solid #CCCCCC;
  }
  .menu__item--depth-1  > .menu__child-toggle {
    display:inline-flex;
    width:auto;
  }
  header.header .wide-menu-content {
    width: 100%;
  }
  header.header .wide-menu-trigger-item {
    display:flex;
    width:100%;
    justify-content:space-between;
    gap:10px;
    padding:14px 20px;
  }
  .wide-menu-trigger-item > span {
    color: #22304B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    padding:0px;
    line-height: 120%; /* 22.4px */
    width:calc(100% - 16px);
  }
  header.header .menu__submenu-mega-inner {
    min-height:100%;
  }
  .wide-menu-content-item-column {
    background: #fff;
    padding:0px;
  }
  .wide-menu-trigger-item {
    border-top: 1px solid #CCCCCC;
  }
  .wide-menu-trigger-item.active {
    border-bottom: 1px solid #CCCCCC;
  }
  .wide-menu-content-item-mobile:last-child .wide-menu-trigger-item + .wide-menu-content-item,
  .wide-menu-content-item-mobile:last-child .wide-menu-trigger-item {
    border-bottom: 1px solid #CCCCCC;
  }
  .wide-menu-content-item{
    flex-direction:column;
    padding: 25px 25px 25px 35px;
    gap:25px;
  }
  .wide-menu-content-item-column-title {
    margin-bottom:0px;
  }
  .wide-menu-content-item-column-title + .wide-menu-content-item-column-links {
    margin-top:20px;
  }
  .wide-menu-content-item-column-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  header.header .menu__submenu-mega {
    position:absolute;
    width:100%;
    top:0%;
    box-shadow:none;
    background:#fff;
    max-height:calc(100vh - 80px - 80px);
    height:calc(100vh - 80px - 80px);
    overflow-y:auto;
  }
  .wide-menu-content {
    max-height: unset;
    overflow-y: unset;
  }
  .wide-menu-content-item-column[data-width="3"],
  .wide-menu-content-item-column[data-width="2"],
  .wide-menu-content-item-column[data-width="1"] {
    width: 100%;
  }
  header.header .wide-menu-trigger-item:hover {
    background: #fff;
    border-left:none;
  }
  header.header .wide-menu-trigger-item.active {
    background: #FFF;
  }
  .menu__submenu {
    z-index: unset;
    position:static;
    transform:none;
    width:100%;
    box-shadow:none;
  }
  .wide-menu-content-item-column-link>.wide-menu-content-item-column-links-title {
    color: #22304B;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; 
  }
  body.nav-open .header__nav-sub-container {
    display:flex;
    z-index:9999;
  }
  .header__nav-sub-container .mobile-menu-button > span {
    background-color: #22304B !important;
  }
  .header__navigation--toggle-sub .mobile-menu-button {
    z-index:24;
  }
  .header__navigation--toggle-sub .mobile-menu-button > span,
  .header__navigation--toggle-sub .mobile-menu-button > span:first-of-type,
  .header__navigation--toggle-sub .mobile-menu-button > span:last-child {
    background: #22304B !important;
  }
  .menu__item--depth-1:hover>.menu__child-toggle>.menu__child-toggle-icon {
    transform: unset;
    -webkit-transform: unset;
  }
  .menu__item--depth-1.menu__item--open>.menu__child-toggle>.menu__child-toggle-icon,{
    color: #d2753e;
    transform: rotate(180deg) !important;
    -webkit-transform: rotate(180deg) !important;
  }
  .wide-menu-trigger-item > svg{
    transition:0.3s ease all;
    -webkit-transition:0.3s ease all;
  }
  .wide-menu-trigger-item.active > svg {
    transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
  }
  .menu__submenu-normal {
    position: fixed;
    top: 80px;
    left: 0;
    border-top:1px solid #CCC;
    min-height: calc(100vh - 80px - 80px);
    max-height: calc(100vh - 80px - 80px);
    overflow-y: auto;
    z-index: 17;
    width: 100% !important;
    max-width: 100% !important;
    transform: none;
    background: #fff !important;
    -webkit-transform: none;
  }
  .wide-menu-content-item-column-featured {
    align-items: start;
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 100%;
    width: 100%;
  }
  .wide-menu-content-item-column-featured-ctas {
    align-items: center;
    justify-content:center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .wide-menu-content-item-column-featured .menu-featured-image {
    width: 100%;
  }
  .wide-menu-content-item {
    flex-direction: column;
    gap: 25px;
    padding: 25px 25px 25px 35px;
  }
  .wide-menu-content-item-column-featured .menu-featured-image img {
    height: auto;
    object-fit: cover;
    display:flex;
    width: 100%;
  }
  .menu-featured-content {
    display: flex;
    flex-direction: column;
    gap: 17px;
    height: inherit;
    padding: 0px;
    width: 100%;
  }
  .sub-title {
    color: #22304B;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 25.2px */
  }
  .wide-menu-content-item-column[data-width="2"] .wide-menu-content-item-column-links, 
  .wide-menu-content-item-column[data-width="3"] .wide-menu-content-item-column-links {
    display: flex;
    flex-direction: column;
    flex-wrap: unset;
  }
  .wide-menu-content-item-column[data-width="3"] .wide-menu-content-item-column-link,
  .wide-menu-content-item-column[data-width="2"] .wide-menu-content-item-column-link {
    width: 100%;
  }
}
.menu__item--has-submenu>.menu__link {
  width: calc(100% - 35px);
}
}



/* END */

