/* DROPDOWN MENU SIZE FIX */
@media (min-width: 1200px) {
    .submenu.level-2.container.dropdown-only {
        max-width: 300px;
    }
}

/* Media query for smaller screens if needed */
@media (max-width: 768px) {
  .submenu.level-2.container.dropdown-only {
    left: 50%; /* Adjust for smaller screens */
    min-width: 150px; /* Adjust the minimum width for small screens */
  }
}
/* END OF DROPDOWN SIZE FIX*/

/* Style for disabled/unlinked menu items */
.menu-link.disabled {
  color: #999 !important; /* Gray out the unclickable link */
  cursor: not-allowed; /* Show a "not allowed" cursor to indicate the link is inactive */
  text-decoration: line-through; /* Optional: Strike-through effect */
  pointer-events: none; /* Prevent any interaction with the link */
}

.menu-link.disabled:hover {
  color: #999 !important; /* Ensure it doesn't change color on hover */
  transform: none; /* Prevent scaling or any other hover effects */
}

/* If you want to use a different background or text effect for disabled items */
.menu-link.disabled::before {
  font-style: italic;
  color: #666;
}

.navigation-primary {
  display: inline-block;
}
.header-main__cta:focus {
  color: #ec5d35;
  background: linear-gradient(90deg, #fff, #fff), linear-gradient(90deg, #ff9030, #ec5d35);
  border: 3px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
}
.mob-submenu-cont{ 
  display: none;
}

.header-main.scrolled:not(.header-main--fixed) {
  transform: translateY(-100%);
}

.navigation-primary a {
  font-size: 14px;
  font-family: 'Montserrat';
  font-weight: regular;
  letter-spacing: 1px;
}
/*
.navigation-primary a.active-item {
font-weight: 600;
position: relative;
color:#f06c1a !important;
}

.navigation-primary a:hover {
color: #f06c1a !important;
}
*/

/*

.submenu.level-1 .menu-item a:focus {
color:#e7e7e7;
cursor: pointer;
transform: scale(1.03);
-webkit-transition: all .3s ease;
transition: all .3s ease;
}

.submenu.level-1 .menu-item a:hover {
color:#e7e7e7;
cursor: pointer;
transform: scale(1.03);
-webkit-transition: all .3s ease;
transition: all .3s ease;
}
*/

/* NEEDS FIXING */
/*
.navigation-primary .submenu.level-1 > li > a.active-item:after {
  /* background-color: #494A52;
  bottom: -3px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}
*/

.navigation-primary .submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-primary .submenu a,
.navigation-primary .submenu p {
  text-decoration: none;
}
.sm-toggle {
  display: none;
}
.submenu.level-1 {
  display: inline-block;
  white-space: nowrap;
}

.submenu.level-1 > li {
  display: inline-block;
  text-transform: uppercase;
}

.submenu.level-1 > li.has-submenu {
  position: relative;
}
.submenu.level-3>li a{
  font-size:14px;
}
.submenu.level-2 {
  border-radius: 0px 0px 5px 5px;
  left: 50%;
  opacity: 0;
  max-width: 100%;
  position: fixed;
  text-transform: none;
  top: 62px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: visibility 0s,opacity .3s;
  -o-transition: visibility 0s,opacity .3s;
  transition: visibility 0s,opacity .3s;
  visibility: hidden;
  /* padding:10px 0 0 0;*/

}

.submenu.level-2 .menu-item .menu-link {
  /* background-color: #FFF;*/
  display: block;
  padding: 5px 30px;
  -webkit-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
}


/*.submenu.level-2 .menu-item .menu-link:hover,
.submenu.level-2 .menu-item .menu-link:focus {
color:#f06c1a;
cursor: pointer;
}

.submenu.level-3 .menu-item .menu-link:hover,
.submenu.level-3 .menu-item .menu-link:focus {
color:#f06c1a;
cursor: pointer;
transform: scale(1.01);
-webkit-transition: all .3s ease;
transition: all .3s ease;
}
*/

.submenu.level-1 > li.has-submenu:hover .submenu.level-2,
.submenu.level-1 > li.has-submenu.focus .submenu.level-2 {
  opacity: 1;
  -webkit-transition: visibility 0s, opacity 0.3s;
  -o-transition: visibility 0s, opacity 0.3s;
  transition: visibility 0s, opacity 0.3s;
  visibility: visible;
}

/* Hide navigation dropdown in the inline editor */
.hs-inline-edit .submenu.level-1 > li.has-submenu:hover .submenu.level-2,
.hs-inline-edit > li.has-submenu.focus .submenu.level-2 {
  visibility: hidden;
}


/*@media (min-width: 768px) and (max-width: 1150px) {
.navigation-primary a {
font-size: 14px;
}

.submenu.level-1 > li {
padding: 22px 15px;
}

.submenu.level-1 > li:last-child {
padding-right: 22px;
}

.submenu.level-1 > .has-submenu > .menu-arrow {
right: 0;
top: 40px;
}

.submenu.level-2 {
left: 0;
}
}*/
@media (min-width: 1200px) {
  .submenu.level-2.container.dropdown-only.liftup-menu {
    margin-top:0px !important;
  }
  
  .submenu.level-2.container.dropdown-only {
    position: absolute;
    margin-top:-10px;
    top: 100% !important;
    left: 53.5%;
    transform: translateX(-50%);
    width: auto; /* Allow the width to adjust dynamically */
    min-width: 155px; /* Set a reasonable minimum width */
    padding-bottom:18px;
    background-color: #fff; /* Ensure a visible background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for better appearance */
    z-index: 1000;
  }

  .submenu.level-2.container.dropdown-only .menu-item {
    white-space: nowrap; /* Prevent links from breaking into multiple lines */
  }

  .level-2.container {
    padding-top:42px;
  }
  
  .submenu.level-2:hover {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }
  
  .level-2 li.has-submenu {
    position:relative;
  }
  
  .level-2>li.menu-item {
    margin-top:18px;
  }
  
  .level-2.container.liftup-menu {
    padding-top:10px;
  }
  
  .submenu.level-2.liftup-menu {
    top:48px!important;
    transition: top 0.35s!important;
  }
  
  .submenu.level-2.liftdown-menu {
    top:62px!important;
    transition: top 0.2s!important;
  }
  
  .level-2 li.has-submenu:not(.col-4):not(.col-5):not(.col-6)::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left:10%;
    width: 20%; 
    height: 2px; 
    background-color: #f06c1a; 
  }
  
  .level-2>li a {
    font-weight:700;
  }
  
  .level-3>li a {
    font-weight:600;
  }
  
  .full-height {
    grid-row: span 2; /* First li takes two rows */
  }

  .submenu.level-1 > li {
    padding: 5px 15px;
  }
  
  .container {
    display: grid!important;
    grid-template-columns: repeat(4, 1fr)!important;
    grid-auto-rows: 1fr!important;
    list-style-type: none;
    padding: 0;
  }
  
  .container li {
    text-align: left;
  }

  .header-main__menu-nav-wrapper {
    width:100%;
    display: flex;
    align-items:center;
  }
}

@media (max-width: 1200px) {
  .submenu-with-image {
    display:none;
  }

  .level-1 .has-submenu {
    display: grid!important;
    grid-template-columns: 1fr 1fr; /* Two columns with equal width */
    grid-template-rows: auto; /* Automatically sized rows */
    gap: 10px;
  }

  .submenu.level-2{
    grid-column: span 2;
  }
  svg{
    height:20px;
    width:20px;
  }
  
  .sm-toggle{
    display: flex;
    justify-content: flex-end;
    align-self: center;
    padding-right: 20px;
    font-size: 35px;
    line-height: normal;
  }
  .level-2 .sm-toggle{
    padding-right: 40px;
  }
  .navigation-primary a {
    font-size: 14px;
    color: #494A52;
  }
  .navigation-primary {
    display: block;
  }
  .navigation-primary .submenu.level-1 > li > a.active-item:after {
    content: none;
  }
  .navigation-primary .submenu.level-1 > li > a.active-item:after {
    display: none;
  }
  .submenu > li > a {
    display: block;
    width: 100%;
  }

  .submenu > .has-submenu {
    position: relative;
  }
  .submenu > .has-submenu > a {
    width: 70%;
  }
  .submenu {
    display: none;
  }
  .submenu.level-1 {
    width: 100%;
  }
  .submenu.level-1 > li {
    border-top: 2px solid #CED4DB;
    padding: 5px 0;
    display: flex;
    width: 100%;
  }

  .submenu.level-1 > li > a {
    border-bottom: none!important;
    font-weight: 600;
    padding: 7px 30px;
  }


  input[type="checkbox"]:checked ~ .submenu {
    display: block;
  }

  input[type="checkbox"]:checked ~ .menu-arrow .menu-arrow-bg {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    -o-transition: transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
  }

  .submenu.level-2 {
    display:none;
    flex-direction:column;
    border: none;
    box-shadow: none;
    opacity: 1;
    position: static;
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
    visibility: visible;
    width: 100%;
  }

  .submenu.level-2>.menu-item {
    /* background-color: #FFF;*/
    border-bottom: none;
    border-top: 2px solid #EBEFF3;
    padding: 0;
  }

  .submenu.level-2 .menu-item .menu-link {
    padding: 7px 60px;
  }

  .submenu.level-2 .menu-item .menu-link:hover {
    background-color: inherit;
  }

  .submenu.level-3 {
    display:none;
    background-color: inherit;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .submenu.level-3 > li {
    background-color: inherit;
    padding: 0;
  }

  .submenu.level-3 .menu-item .menu-link {
    padding: 7px 90px;
  }
}