@media (min-width:992px){
    nav#nav{
        width:100%;
    }
	ul.megamenu {	
		float:left;
		margin: 0 5px 0 0;
	    padding: 0;
		position: relative;
		width: 100%;
	}
	ul.megamenu,
	ul.megamenu li{
		list-style-type:none;
	}
	ul.megamenu li {
	    display:block;
		float: left;
		margin: 0;
	   
		
	}
	ul.megamenu li.level0 {
        text-align:center;
		padding: 0 0px 20px 0;
    }
   	ul.megamenu a.level0{
		color: #4e4d4f;
        display:inline-block;
        float:none;
        font-size: 20px;
		text-transform: uppercase;
		font-weight: 600;
		padding: 5px 30px;
        position:relative;
		font-family: 'Lato', sans-serif;
		
    }
	ul.megamenu li.level0 span { 
		color: #4e4d4f;
		font-family: 'Lato', sans-serif;
		vertical-align:top;
		margin:0 15px;
		line-height: 33px;
	font-weight: 700;
	}
	ul.megamenu li.level0:nth-of-type(4) span { 
		display:none;
	}
	ul.megamenu a.level0.current {
		background-color:#fff;
		color: #4e4d4f;
	}
	 ul.megamenu a.level0:hover {
		 color: #252525;
	 }
	ul.megamenu a.level0.current {
		border-bottom: 3px solid #8fc73e;
	}

	ul.megamenu ul {
		padding:0;
		margin:0;
	}
	ul.megamenu li a {
		float: left; 
		text-decoration:none;
	}
	

	ul.megamenu li .sub {
		left: -402px;
		float: left;
		padding:25px;
		position: absolute;
		opacity:0;
		overflow:hidden;
		text-align:left;
		top:50px;
		visibility:hidden;
		width:100%;
		z-index:1000;
		max-width:1280px !important;
		min-width:1280px;
		display:none;
		background:url("https://www.secfed.bank/Portals/_default/skins/securityfed/Menus/MegaMenuDesktop/menubg.png") no-repeat bottom left;
	}
	/*ul.megamenu li.level0:nth-of-type(1) .sub {
		display:block;
		opacity:1;
		visibility:visible;
		background:white;
	}*/

	ul.megamenu li.level0:nth-of-type(1) .sub .menushadow, ul.megamenu li.level0:nth-of-type(2) .sub .menushadow, ul.megamenu li.level0:nth-of-type(3) .sub .menushadow, ul.megamenu li.level0:nth-of-type(4) .sub .menushadow, ul.megamenu li.level0:nth-of-type(5) .sub .menushadow {
		width:495px;		
		float:right;
		margin-top:15px;
	}

	ul.megamenu li.level0 .sub .menushadow {
		position:relative;
	}
	ul.megamenu li.level0 a.level0 {
		border-bottom: 3px solid #fff;
	}
	ul.megamenu li.level0 a.level0:hover{
		border-bottom: 3px solid #8fc73e;
	}

	ul.megamenu li.level0:hover > .sub{
		opacity:1;
        visibility:visible;
		background-color: #fff;
		display:block;
		box-shadow: 0px 8px 5px -4px rgb(0 0 0 / 30%);
	}
	ul.megamenu li .row {
	    clear: both;
	    float: left;
	    margin-bottom: 10px;
	    width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	ul.megamenu li .sub ul{
	    display:block; 
	     float: left; 
	     height:auto; 
	     list-style: none; 
	     margin: 0;
	     padding: 0 8px; 
	     width: 16.6%; 
	}
	ul.megamenu li.level0 .sub ul{
	   display:block;
	     float: left;
	     height:auto;
	    list-style: none; 
	    margin: 0; 
	    padding: 0 35px;
	    width: 25.33333%;
	}
	ul.megamenu li:nth-child(1) .sub ul, ul.megamenu li:nth-child(2) .sub ul, ul.megamenu li:nth-child(3) .sub ul, ul.megamenu li:nth-child(4) .sub ul, ul.megamenu li:nth-child(5) .sub ul {
		width: 33% !important;
	}
	ul.megamenu li:nth-child(1) .sub ul, ul.megamenu li:nth-child(3) .sub ul, ul.megamenu li:nth-child(4) .sub ul {
		display: inline-block !important;
		height: 100% !important;
		min-height: auto !important;
		float: none !important;
		vertical-align: top !important;
		margin-top: 0px !important;
		margin-left: 0 !important;
}

	
	ul.megamenu li.level0:nth-of-type(2) .sub ul,ul.megamenu li.level0:nth-of-type(3) .sub ul, ul.megamenu li.level0:nth-of-type(4) .sub ul, ul.megamenu li.level0:nth-of-type(5) .sub ul {
		padding: 0 15px;
	}
	
	ul.megamenu li.level0:nth-of-type(2) .sub ul.megamenusubcontent, ul.megamenu li.level0:nth-of-type(3) .sub ul.megamenusubcontent, ul.megamenu li.level0:nth-of-type(4) .sub ul.megamenusubcontent, ul.megamenu li.level0:nth-of-type(5) .sub ul.megamenusubcontent {
		width: 25%;
	}
	ul.megamenu .sub ul li {
		width: 100%;
		line-height: 29px;
	}
	ul.megamenu .sub ul li h2 {
	    margin: 0;
		padding: 0;
	}
	ul.megamenu .sub ul li h2 a {
	    color: #333;
		font-size: 17px;
		border-bottom: 0;
		display: block;
		margin-bottom: 12px;
		line-height: 1.2;
		position: relative;
		padding-top: 10px;
	}
	ul.megamenu .sub li.subheader > a {
		color: #004b89;
		font-size: 20px;
		border-bottom: 0;
		display: block;
		font-weight: 700;
		margin-bottom: 28px;
		text-transform:none;
		line-height: 1.2;
		position: relative;
		padding:10px 0 0 0px;
		text-transform:uppercase;
		font-family: 'Lato', sans-serif;
		margin-bottom: 12px;
	}
	ul.megamenu .sub li.subheader > a:hover {
		color: #8fc73e;
	}
	ul.megamenu li.subheader a img{
        height:auto;
        margin-top:5px;
        width:100%;
    }
	ul.megamenu .sub ul li a {
		float: none; 
		text-indent: 0; /*--Reset text indent--*/
		display: block;
		text-decoration: none;
		color: #252525;
		margin:0;
	}
	
	ul.megamenu .sub ul li a.level2{
        font-size:18px;
		margin-bottom: 5px;
		color:#252525;
		font-weight:600;
		padding-left: 15px;
		z-index: 10;
		position:relative;
    }
	ul.megamenu .sub ul li a:hover{
        color:#8fc73e;
    }
	ul.megamenu .sub ul li a.level3{
		padding-left: 25px;
	}
}


@media only screen and (min-width: 992px) and (max-width: 1024px) {
.menusection {
    margin-top: -9px;
}
ul.megamenu li.level0 {
    padding: 0 0px 15px 0;
}
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
	ul.megamenu li .sub {
		min-width:950px;
		max-width:900px;
		left: -350px;
	}
	ul.megamenu li.level0:nth-of-type(1) .sub ul,ul.megamenu li.level0:nth-of-type(2) .sub ul,ul.megamenu li.level0:nth-of-type(3) .sub ul, ul.megamenu li.level0:nth-of-type(4) .sub ul, ul.megamenu li.level0:nth-of-type(5) .sub ul {
		padding: 0 5px;
	}
	ul.megamenu li.level0:nth-of-type(1) .sub .menushadow, ul.megamenu li.level0:nth-of-type(2) .sub .menushadow, ul.megamenu li.level0:nth-of-type(3) .sub .menushadow, ul.megamenu li.level0:nth-of-type(4) .sub .menushadow, ul.megamenu li.level0:nth-of-type(5) .sub .menushadow {
		width: 280px;
		height: auto;
	}
	ul.megamenu a.level0 {
		padding: 5px 0;
	}
}
@media only screen and (min-width: 1201px) and (max-width: 1384px) {
ul.megamenu .sub li.subheader > a {
	font-size:18px;
}
ul.megamenu .sub ul li a.level2 {
    font-size: 16px;
	padding-left:8px;
}
ul.megamenu .sub ul li {
	line-height:18px;
}
ul.megamenu .sub ul li a.level3 {
    padding-left: 16px;
    font-size: 16px;
}
ul.megamenu li.level0:nth-of-type(1) .sub .menushadow, ul.megamenu li.level0:nth-of-type(2) .sub .menushadow, ul.megamenu li.level0:nth-of-type(3) .sub .menushadow, ul.megamenu li.level0:nth-of-type(4) .sub .menushadow {
    width: 360px;	
}
ul.megamenu a.level0 {
	padding: 0;
}
ul.megamenu li .sub {
    left: -635px;
	max-width: 1231px !important;
	min-width: 1208px;
	padding: 5px 25px;
}
ul.megamenu li:nth-child(1) .sub ul,ul.megamenu li:nth-child(2) .sub ul, ul.megamenu li:nth-child(3) .sub ul, ul.megamenu li:nth-child(4) .sub ul {
    width: 20% !important;
}
ul.megamenu li.level0 span {
    line-height: 32px;
}
}
@media only screen and (min-width: 1385px) and (max-width: 1600px) {
ul.megamenu li.level0:nth-of-type(1) .sub .menushadow, ul.megamenu li.level0:nth-of-type(2) .sub .menushadow, ul.megamenu li.level0:nth-of-type(3) .sub .menushadow, ul.megamenu li.level0:nth-of-type(4) .sub .menushadow {
    width: 372px;	
}
}
@media only screen and (min-width: 1281px) and (max-width: 1440px) {
ul.megamenu li.level0 span {
    line-height: 32px;
}
}
@media only screen and (min-width: 1025px) and (max-width: 1280px) {
ul.megamenu li.level0 span {
    line-height: 22px;
}
}
@media (min-width:1385px){
.sticky ul.megamenu li .sub {
	top: 39px;
}
ul.megamenu li .sub {
    left: -733px;
	top: 53px;
	width: 100%;
	z-index: 1000;
	max-width: 1394px !important;
	min-width: 1357px;
}
ul.megamenu a.level0 {
	padding: 5px 0px;
}
ul.megamenu li:nth-child(2) .sub ul {
    width: 21% !important;
}
}
@media (min-width:1440px){
ul.megamenu li .sub {
	left: -830px;
	max-width:1435px !important;
	min-width:1435px;
}
ul.megamenu .sub ul li {
    line-height: 24px;
}
ul.megamenu a.level0 {
	padding: 5px 0px;
}

ul.megamenu li:nth-child(1) .sub ul, ul.megamenu li:nth-child(2) .sub ul, ul.megamenu li:nth-child(3) .sub ul, ul.megamenu li:nth-child(4) .sub ul, ul.megamenu li:nth-child(5) .sub ul, ul.megamenu li:nth-child(6) .sub ul {
    width: 17% !important;
}
}
@media (min-width:1600px){
ul.megamenu li .sub {
	left: -975px;
	max-width:1600px !important;
	min-width:1600px;
}
ul.megamenu .sub ul li {
    line-height: 29px;
}

}
@media (min-width:1800px){
ul.megamenu li .sub {
	left: -1094px;
	max-width:1902px !important;
	min-width:1902px;
	padding: 35px 50px;
}
ul.megamenu li.level0 .sub ul {
	padding: 0 10px;
}
}
@media (min-width:1900px){
ul.megamenu li .sub {
	left: -1123px;
}