@media (min-width:992px){
    nav#nav{
        width:100%;
    }
	ul.megamenu {	
		margin: 0;
	    padding: 0;
		width: 100%;
		display: flex;
		justify-content: flex-end;
		height: 60px;
	}
	ul.megamenu,
	ul.megamenu li{
		list-style-type:none;
	}
	ul.megamenu li {
	    display:block;
		float: unset;
		margin: 0;
	}
	ul.megamenu li a i {
		margin-left:4px;
	}
	ul.megamenu li.level0 {
        text-align: center;
    padding: 0;
    line-height: 38px;
    margin-right: 0;
	display: flex;
    align-items: center;
    justify-content: center;
    width: 18%;
    }
	ul.megamenu li.level0:hover {
		cursor:pointer;
		background-color: transparent;
	}

   	ul.megamenu a.level0{
		color: #fff;
    display: inline-block;
    float: none;
    font-size: 16px;
    padding: 0 10px;
    position: relative;
    font-family: "Open Sans", sans-serif;
    line-height: 60px;
	font-weight:600;
	text-transform: uppercase;
    }
	
	ul.megamenu li.level0 span { 
		color: #4e4d4f;
		font-family: "Open Sans", sans-serif;
		vertical-align:top;
		margin:0 15px;
		line-height: 33px;
	}

	ul.megamenu a.level0.current, ul.megamenu a.level0:hover {
		background-color:transparent;
		color: #ffd600;
	}
	 ul.megamenu a.level0:hover, ul.megamenu li.level0:hover a {
	 }
	ul.megamenu li.level0:hover a.MenuLink {
	 }
	ul.megamenu ul {
		padding:0;
		margin:0;
	}
	ul.megamenu li a {
		float: left; 
		text-decoration:none;
	}

	
/*ul.megamenu li.level0:nth-of-type(1) .sub {
	opacity:1 !important;
	visibility:visible !important;
	display:flex !important;
}*/
ul.megamenu li.level0:nth-of-type(1) .sub ul.megamenusubcontent:nth-of-type(5) {
	margin-bottom: 160px;
}
ul.megamenu li.level0:nth-of-type(2) .sub ul.megamenusubcontent:nth-of-type(6) {
	margin-bottom: 160px;
}
ul.megamenu li.level0:nth-of-type(3) .sub ul.megamenusubcontent:nth-of-type(4), ul.megamenu li.level0:nth-of-type(3) .sub ul.megamenusubcontent:nth-of-type(8) {
	margin-bottom: 160px;
}
ul.megamenu li.level0:nth-of-type(1) .sub {
	left:193px;
}
ul.megamenu li.level0:nth-of-type(3) .sub {
	left:-108px;
	/*width: 770px;
    max-width: 78vw;*/
}
/*/ul.megamenu li.level0:nth-of-type(3) .sub .wrapper {
	width:65%;
}
ul.megamenu li.level0:nth-of-type(3) .sub .menushadow {
	width:32%;
}*/
ul.megamenu li.level0:nth-of-type(1) .wrapper, ul.megamenu li.level0:nth-of-type(2) .wrapper {
	column-count: 3;
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-gap: 0.5em;
  -webkit-perspective: 1;
}


ul.megamenu li.level0:nth-of-type(3) .wrapper {
	column-count: 3;
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-gap: 0.5em;
  -webkit-perspective: 1;
}
ul.megamenu li.level0:nth-of-type(3) .sub .wrapper ul li {
    min-width: 200px;
}
.megamenusubcontent {
 -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
   break-inside: avoid; 
    width: 100%;
}
ul.megamenu li.level0 .sub ul.megamenusubcontent {
	padding-left: 0;
    padding-bottom: 5px;
}
ul.megamenu li.level0 .sub ul.megamenusubcontent:first-child {
	/*padding-left:0;*/
}
ul.megamenu .sub ul li.subheader {
	padding-top:0;
}
/*ul.megamenu li .sub {		
   position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px); 
    opacity: 0;
    visibility: hidden; 
    display: block;
    background-color: #fff;
    padding: 0;
    box-shadow: 0px 15px 10px -15px #111;
    z-index: 1300;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s; 
    text-align: left;
}
	ul.megamenu li .sub .menushadow {
   width: 30%;
    float: right;
    margin-left: 25px;
    background-color: #5ea1ad;
    height: 100%;
	position: absolute;
    right: 0;
  }
ul.megamenu .wrapper {
	column-count: 3;
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-gap: 0.5em;
  padding-bottom: 2px;
  -webkit-perspective: 1;
  width:67%;
  padding:25px 10px 15px 35px;
}*/
ul.megamenu li .sub {
  position: absolute;
  top: 81px;
  left: 28%;
  transform: translateX(-50%) translateY(-20px);
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: stretch;
  background-color: #fff;
  padding: 0;
  box-shadow: 0px 15px 10px -15px #111;
  z-index: 1300;
  width: 1100px; /* set an actual mega menu width */
  max-width: 95vw;
  text-align: left;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
  box-sizing: border-box;
}

ul.megamenu li .sub .wrapper {
  width: 70%;
  column-count: 3;
  column-gap: 0.5em;
  padding: 25px 10px 15px 35px;
  box-sizing: border-box;
}

ul.megamenu li .sub .menushadow {
  width: 30%;
  margin-left: 25px;
  background: #549aa6 url("/Portals/_default/Skins/Equitable/Menus/MegaMenuDesktop/img/menu-promobg.png");
  position: relative;
  box-sizing: border-box;
  
}
ul.megamenu li.level0:nth-of-type(1) .sub .menushadow {
	background: #66acb8 url("/Portals/_default/Skins/Equitable/Menus/MegaMenuDesktop/img/menu-promobg-light.png");
	background-repeat: no-repeat;
	background-size:cover;
}
ul.megamenu li.level0:nth-of-type(2) .sub .menushadow {
	background: #3c828e url("/Portals/_default/Skins/Equitable/Menus/MegaMenuDesktop/img/menu-promobg.png");
	background-repeat: no-repeat;
	background-size:cover;
}
ul.megamenu li.level0:nth-of-type(3) .sub .menushadow {
	background: #4e9eae url("/Portals/_default/Skins/Equitable/Menus/MegaMenuDesktop/img/menu-promobg-dark.png");
	background-repeat: no-repeat;
	background-size:cover;
	
}
/*ul.megamenu li.level0:hover > .sub{
    opacity: 1 !important;
    visibility: visible !important; 
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
    box-shadow: 0px 15px 10px -15px #111;
	display: flex !important;
}*/
ul.megamenu li.level0.open > .sub{
    opacity: 1;
    visibility: visible; 
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0s;
    box-shadow: 0px 15px 10px -15px #111;
}
ul.megamenu li.level0 {
  line-height: 25px;
  width: 24%;
}
	ul.megamenu li .sub ul{
	     list-style: none; 
	     margin: 0;
	     padding: 0 8px; 
	}
	ul.megamenu li.level0 .sub ul{
	    list-style: none; 
	    padding: 0 10px 5px 25px;
	}
	ul.megamenu .sub ul li {
		width: 100%;
		line-height: 18px;
		min-width:260px;
		margin-bottom:8px;
		padding-top: 0;
	}
	ul.megamenu .sub li.subheader > a {
		color: #808080;
		font-size: 16px;
		border-bottom: 0;
		display: block;
		line-height:18px;
		position: relative;
		font-family: "Open Sans", sans-serif;
		margin-bottom: 2px;
		font-weight: 400;
	}
 ul.megamenu .sub a.parent[href="#"] {
		font-weight:bold !important;
		text-transform: uppercase;
		color:#3c828e;
		cursor: default;
	}
	ul.megamenu .sub li.subheader > a:hover {
		color: #3c828e;
	}
	ul.megamenu .sub ul li a {
		float: none; 
		text-indent: 0; 
		display: block;
		text-decoration: none;
		color: #3c828e;
		margin:0;
	}	
	ul.megamenu .sub ul li a.level2{
        font-size: 14px;
		margin-bottom: 0;
		color: #808080;
		z-index: 10;
		position: relative;
		line-height: 15px;
    }
	ul.megamenu .sub ul li a.level3 {
		font-size: 13px;
		margin-bottom: 8px;
		color: #808080;
		padding-left: 12px;
		z-index: 10;
		position: relative;
		line-height: 15px;
	}
	ul.megamenu .sub ul li a:hover{
       color: #3c828e;
    }
}

@media (min-width:1200px){
ul.megamenu li.level0 {
	line-height: 45px;
}
ul.megamenu li .sub .wrapper {
    width: 69%;
}
ul.megamenu li .sub {
    width: 1000px;
    max-width: 95vw;
}
ul.megamenu li.level0 {
  width: 19%;
}
ul.megamenu li.level0:nth-of-type(2) {
  width: 21%;
}
ul.megamenu li.level0:nth-of-type(1) .sub {
    left: 151px;
}
 ul.megamenu li .sub {
	 left:3%;
}
ul.megamenu li.level0:nth-of-type(3) .sub {
    left: -143px;
}
}
@media (min-width:1385px){

}
@media (min-width:1400px){

}
@media (min-width:1600px){
ul.megamenu li.level0 {
	margin:0;
}
}
