  /* Mobile View */
  @media only screen and (max-width:1295px){
    .mega_cta-block {
      display:none;
    }
    .mega_item_descriptor {
      display:none;
    }
    .menu-item .menu-link {
      white-space: normal !important;
    }
    .submenu.level-3 .menu-item .menu-link {
      padding: 7px 30px;
    }
    .submenu.level-2>.has-submenu>.menu-arrow, .submenu.level-2>.has-submenu>.menu-arrow, .submenu.level-2 .menu-arrow {
      padding: 5px 0;
      background-size: 20px;
      background-repeat: no-repeat;
      background-position: center right 20px;
      height: 100%;
      top:0 !important;
/*       position: relative!important; */
    }
    .mega-item-special {
      content: "By Solution";
    }
    .submenu.level-1 > .has-submenu > .menu-arrow-bg, .submenu > .has-submenu > .menu-arrow-bg, .submenu .menu-arrow-bg {
      margin-top: 17px;
    }
    .submenu.level-1 {
      background: white;
    }

    .mega-menu .mega-sub .submenu.level-2 .menu-item .menu-link:hover {
      text-decoration: none !important;
    }
    .mega-menu li.has-submenu.menu-item.mega-sub:hover {
      text-decoration: none !important;
    } 
    .submenu.level-2 .menu-item {
       border-top: 2px solid #ebeff3;
    }
      /* Reverses order of the products and solutions list on mobile to place the solutions as the fist item in the list, followed by the less important items..   */
      .mega-menu .mega-sub ul.submenu.level-2 > li.menu-item {
        transform: rotate(180deg);
    }
      .mega-menu .mega-sub ul.submenu.level-2 {
        transform: rotate(-180deg);
    }
  }
  /* non-mobile view */
  @media only screen and (min-width:1295px){
    .header__container {
      position: relative;
    }
    .submenu.level-1 > li:last-of-type {
      background: #007fcc;
      color: #fff;
      font-size: 10px !important;
      font-weight: bold;
      text-transform: uppercase;
      border-radius: 50px;
      padding: 0 20px;
    }
    .submenu.level-1 > li:nth-child(5) {
      text-transform: initial;
    }
    .submenu.level-1 > li:last-of-type #active-item {
      color: white !important;
    }
    .submenu.level-1 > li:last-of-type:hover {
      box-shadow: 0px 3px 6px rgba(0,0,0,.2);
/*       transform: translateY(-3px) scale(1.05); */
      background: #3b9dd9;
    }
    .submenu.level-1 > li:last-of-type a {
      color: white;
      font-size: 11px;
      font-weight: bold;
      cursor: pointer;
    }
    .mega-menu .submenu.level-1>li.has-submenu:hover .submenu.level-2, .submenu.level-1>li.has-submenu.focus .mega-menu .submenu.level-2 {
      visibility: visible;
      opacity: 1;
      transition: visibility 0s,opacity .3s;
      z-index: 999;
    }
    .mega-menu .mega-sub ul.submenu.level-2 {
      left: 20% !important;
      width: 80% !important;
      margin: auto auto;
      top: 8%;
    }
    .has-submenu:first-of-type .submenu.level-2 {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      flex-wrap: wrap;
      left: -55%;
    }
    .mega-menu .submenu.level-1>li.has-submenu.mega-sub {
      position: unset;
    }
    .mega-menu .mega-sub ul.submenu.level-2 {
      display: flex;
      align-items:stretch;
      background: #FFFFFF;
      box-shadow: 0 22px 26px 0 rgb(0 0 0 / 20%);
    }
    .mega-menu .mega-sub ul.submenu.level-2 > li:not(:nth-child(4)) {
      width:20%;
    }
    .mega-menu .mega-sub ul.submenu.level-2 > li:nth-child(4) {
      width:30%;
    }
    .mega_cta-block {
      width: 30%;
    }
    .mega-menu .mega-sub ul.submenu.level-2 > li.menu-item {
      margin:30px 0;
      padding:0 2rem;
    }
    .mega-sub .submenu.level-2:first-of-type > *:nth-child(2), .mega-sub .submenu.level-2:first-of-type > *:nth-child(3) {
      border-left:5px solid #F2F2F2;
      border-radius:0px;
    }
    .mega-menu .mega-sub ul.level-2 li.has-submenu.menu-item[menu-count=1] {
      border-right: 2px solid blue;
    }
    .mega-menu a.menu-link[mega-header] {
      cursor: default!important;
    }
    .mega-menu a.menu-link[mega-header=headerL3] {
      color: #272727;
      text-transform: uppercase;
    }
    .mega-menu .mega-sub ul.submenu.level-2 >li.has-submenu.menu-item[menu-count=1] {
      border-right: 2px solid #cecece!important;
      margin: 20px 0;
    }
    .mega-menu .mega-sub ul.submenu.level-4 {
      display: flex;flex-wrap:wrap;
    }
    .mega-menu .mega-sub ul.submenu.level-4 > li.menu-item{
      width:50%;
    }
    .mega-menu .mega-sub ul.submenu.level-2 > li.menu-item:last-child {
      min-width: 265px;
    }
    .mega-menu .mega-sub .submenu.level-2 .menu-item .menu-link, .submenu.level-2 .menu-item .menu-link {
      background-color: unset!important;
      color: unset !important;
    }
    .mega-menu .mega-sub ul.submenu.level-2 {
      left: 10%;
      width: 90%;
      margin: auto auto;
      
    }
    .mega-menu .submenu.level-1 > li.has-submenu:hover .submenu.level-2, .submenu.level-1 > li.has-submenu.focus .mega-menu .submenu.level-2 {
      top: 100%;
    }
    .mega-menu .submenu.level-1 > li.has-submenu:hover:nth-child(1) .submenu.level-2, .submenu.level-1 > li.has-submenu.focus .mega-menu .submenu.level-2 {
      top: 75%;
    }
    .mega-menu .mega-sub .submenu .menu-item .menu-link {
      padding:10px 10px;
      font-weight: 500;
    }
    .mega-menu .mega_featured-image img {
/*       width:100%;
      height:100%;
      object-fit: contain; */
      display: none;
    }
    .mega_featured-image, .mega_featured-image a {
/*       line-height: 0;
      height: 100%; */
    }
    .mega-menu .level-2 .mega_item_header {
      display:block;
      font-weight:normal;
      text-transform:uppercase;
      letter-spacing: 0.4px;
      color: #272727;
      padding-bottom:15px;
    }
    .mega-menu .mega-sub a.menu-link[mega-header=headerL2] span.mega_item_header {
      font-size:16px;
    }
    .mega-menu .level-3 .mega_item_header {
      display:block;
      color: #2B2A28;
      text-transform:unset;
      padding-bottom:10px;
    }
    .mega-menu .level-3 .mega_item_descriptor {
      display:block;
      text-transform:unset;
      font-size:12px;
    }
    .mega_item_descriptor {
      display:block;
    }
    .header__column {
      display: flex;
    }
    .mega_cta-content {
      padding:3rem;
      text-align:center;
    }
    .mega_cta-content h4,.mega_cta-content h5,.mega_cta-content p,.mega_cta-content li,.mega_cta-content a ,.mega_cta-content h6 {
      color:#fff!important;
    }
    .mega-menu .mega-sub a.menu-link[mega-header=headerL3], .mega-sub a.menu-link[mega-header=headerL2] span.mega_item_descriptor {
      text-transform: uppercase;
      font-weight: bold;
      color: #272727;
      font-size:16px!important;
      margin-top: 11px;
    }
    .submenu.level-2 > li {
      border-bottom: 0px solid #d1d6dc;
      border-radius:0;
      height: 40px;
    }
    .has-submenu:first-of-type .submenu.level-2 > li {
      border-bottom: 0px solid #d1d6dc;
      border-radius:0;
      width: 33%;
      padding: 15px 15px;
    }
    .mega-menu .mega-sub .submenu.level-2>li:hover{
      background: none !important;
    }
    .navigation-primary.mega-menu .submenu.level-2 .submenu.level-4 li.menu-item a, .mega-sub ul.submenu.level-4 li.menu-item {
      font-size: 14px!important;
      color: #2B2A28!important;
      padding-bottom:0px;
      padding-top:0px;
      white-space:nowrap;
    }
    .mega-menu .mega-sub .submenu.level-2 .menu-item a.menu-link[mega-header]:hover, .mega-sub a.menu-link[mega-header] {
      background-color: unset!important;
      cursor: default;
    }
    .fa-chevron-down::before {
      font-size: 10px !important;
    }
    .mega-item-special {
      content: "";
    }
  }
@media (max-width: 1390px) {
  .has-submenu:first-of-type .submenu.level-2 {
    left: -70%;
  }
}
@media (max-width: 1345px) {
  .has-submenu:first-of-type .submenu.level-2 {
    left: -80%;
  }
}
  /*  between mobile and non-mobile view  */
  @media only screen and (min-width:768px) and (max-width:1295px) {
    .mega-menu .mega-sub ul.submenu.level-2 > li.menu-item {
      margin: 15px 0;
      padding: 0 0.5rem;
    }
    .mega_cta-content {
      padding: 1rem;
    }
    .navigation-primary.mega-menu .submenu.level-2 .submenu.level-4 li.menu-item a,
    .mega-sub ul.submenu.level-4 li.menu-item {
      white-space:inherit;
    }
    .submenu.level-2 {
      flex-direction:column;
      min-width:auto;
    }
    .mega-menu .mega-sub .submenu.level-2 {
      flex-direction:row;
    }
  }

  /* make responsive arrows the reddish brand color */
  .submenu.level-1 > .has-submenu > .menu-arrow-bg, .submenu > .has-submenu > .menu-arrow-bg, .submenu .menu-arrow-bg {
    filter: invert(30%) sepia(55%) saturate(4803%) hue-rotate(185deg) brightness(97%) contrast(101%);
    padding-left: 5px;
  }
.navigation-primary a#active-item {
  font-weight: 700;
  position: relative;
  color: rgba(150,46,65,1.0) !important;
}

/* IE11 styling */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .submenu.level-2 {
    min-width: 1000px;
    
  }
}