#top-bar{
    padding: 0 15px;
}

#main-menu {
  /*  border-bottom: 1px solid #eaeaea; */
    background: #fff;
    position: relative;
    z-index: 2;
}

.megamenu-hold nav>ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.megamenu-hold nav>ul>li {
    list-style: none;
    padding: 45px 8px;
}

.megamenu-hold nav>ul>li a {
    color: #000;
    text-decoration: none;
}

.megamenu-hold nav>ul>li button {
    background: none;
    border: none;
    position: relative;
}

.megamenu-hold nav>ul>li button svg {
fill: #000;
}

.megamenu-hold nav>ul>li .mega-drop {
    display: none;
   /* border-top: 1px #eaeaea solid;*/
}.megamenu-hold nav>ul>li .mega-drop h3{
color: #2e3d9d;
font-size: 21pt;
font-weight: 300;
margin-top: 5pt;
}

@media only screen and (min-width: 1181px) {
    .megamenu-hold nav>ul>li .mega-drop {
        position: fixed;
        width: 100%;
        left: 0;
        right: 0;
        top: 192px;
       /* background: #fff;
        padding: 25px 0; */
        background: #3597fc;
            padding: 15px 0;
    }
    .megamenu-hold nav>ul>li .mega-drop ul>li>a {
        padding: 0px 15px 0px 15px;
        /*display: inline-block;*/
        width: 100%;
        /*border-bottom: 1px solid #e2e2e2;*/
       /* border-right: 1px solid #e2e2e2; */
    }
}

.megamenu-hold nav>ul>li .mega-drop ul {
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-start;
        width: 100vw;
        text-align: center;
        position: relative;
}

.megamenu-hold nav>ul>li .mega-drop ul>li {
    list-style: none;
}

.megamenu-hold nav>ul>li .mega-drop ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: text-indent ease 0.5s;
    padding-bottom: 20px;
}

.megamenu-hold nav>ul>li .mega-drop ul>li:last-child>a {
    border-bottom: 0;
}

.megamenu-hold nav>ul>li .mega-drop ul>li>button {
    position: absolute;
    /*right: 15px;
    top: 13px;
    display: none;*/
    right: 35%;
        margin-top: 20px;
        display: none;
}

.megamenu-hold nav>ul>li .mega-drop ul>li>button>svg {
    width: 17px;
    height: 17px;
    fill:#000;
}

.megamenu-hold nav>ul>li:hover .mega-drop {
    display: block;
    z-index: 2;
}

.megamenu-hold nav>ul>.activemain .mega-drop{
    display: block;
    background-color: #2e3d9d;
}

.megamenu-hold nav>ul>li:hover .mega-drop .col-hold {
    /*display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;*/
}

.megamenu-hold nav>ul>li .mega-drop ul>li>a:hover {
  /*  border-right: none;
    text-indent: 1rem; */
       /* color: #2e3d9d;*/
        /*font-weight: bold; */
        /*transition: text-indent ease 0.5s;*/
        text-shadow: 0px 0px 0px #fff, 0px 0px 0px #fff, 0px 0px 0px #fff, 0px 0px 0px #fff, 0px 0px 0px #fff, 0px 0px 0px #fff;
}


.mega-drop ul li a > ul li a:hover .mega-drop ul li a{
    border-right: none;
    
}

/*.mega-drop ul>li ul li a:hover{
  text-indent: 2rem!important;
}*/

.mega-drop ul>li ul:hover ul ~ a {
border-right: none;
}

/*.mega-drop ul>li ul li a:hover .mega-drop ul>li a{
    border-right:none!important;
}*/



.megamenu-hold nav>ul>li .mega-drop ul>li:hover ul {
    display: block;
}

.megamenu-hold nav>ul>li .mega-drop ul>li ul {
  /*  position: absolute;
    right: 0;
    display: none;
    width: 100%;
    max-width: 419px;
    text-align: left;
    top: 0;
    bottom: 0;
    text-indent: 1rem; */
    position: absolute;
        right: 0;
        display: none;
        width: 100%;
        text-align: left;
        top: 40px;
        width: 100%;
}

.megamenu-hold nav>ul>li .mega-drop ul>li ul li a {
    border: none;
    
    padding-top: 0rem;
        padding-bottom: 1rem;
    }
}

.menu-overlay {
    display: none;
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#top-bar {
    position: relative;
    z-index: 3;
}

body.admin-bar .megamenu-hold nav>ul>li .mega-drop {
    top: 224px;
     /*   border-top: 1px #eaeaea solid; */
}

.hamburger {
    background: none;
    border: none;
    position: absolute;
    top: 35px;
    right: 17px;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    display: none;
}

.hamburger .line {
    background-color: #000;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    transition: all 0.5s;
}

.hamburger .line:nth-child(1) {
    top: 0.3rem;
}

.hamburger .line:nth-child(2) {
    top: 0.9rem;
}

.hamburger .line:nth-child(3) {
    top: 1.5rem;
}

.hamburger.open .line:nth-child(1) {
    transform: rotate(45deg);
    top: 0.9rem;
}

.hamburger.open .line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .line:nth-child(3) {
    transform: rotate(-45deg);
    top: 0.9rem;
}




.activemen{
        text-indent: 1rem;
        color: #ffffff!important;
        font-weight: bold;
        transition: text-indent ease 0.5s;
        position: relative;
}

#activemen {
    text-indent: 2rem;
    color: #2e3d9d !important;
    font-weight: bold;
    transition: text-indent ease 0.5s;
}


/*.secondary-menu > ul:hover + a {
    border-right: none!important;
    text-indent: 1rem;
        color: #2e3d9d!important;
        font-weight: bold;
        transition: text-indent ease 0.5s;
}*/



#topButton {
    display: block;
position: fixed;
    bottom: 5%;
    right: -150px;
    z-index: 99;
    border: solid #2e3d9d 1px;
    outline: none;
    background-color: #2e3d9d;
    color: white;
    cursor: pointer;
    padding: 7px 9.5px 4.5px 9.5px;
    font-size: 1rem;
    transition: all ease 0.5s;
    border-radius: 100%;
}

#topButton:hover {
    background-color: #fff;
    color: #2e3d9d;
    border: solid #2e3d9d 1px;
    transition: all ease 0.5s;
}

#topButton:hover svg {
    fill: #2e3d9d
}


.origMen{
    position: relative;
}




.activemain{
 /*   border-bottom: #2e3d9d 2px solid; */
    position: relative;
}


.activemain::after {
    content: "";
    width: 100%;
    background: #2e3d9d!important;
    height: 15px!important;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.megamenu-hold nav>ul>li{
position: relative;
}

@media screen and (min-width:1200px) {
    


.megamenu-hold > nav > ul > li:hover:after {
    content: "";
        width: 100%;
        background: #3597fc;
        height: 15px;
        position: absolute;
        bottom: 0px;
        left: 0px;
        transition: ease height 0.5s;
}

.megamenu-hold > nav > ul > li::after {
    content: "";
   width: 100%;
    background: #3597fc;
    height: 0px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    transition: ease height 0.5s;
}


/*.megamenu-hold nav>ul>li:hover .mega-drop div .col::after, .megamenu-hold nav>ul>li:hover .mega-drop div .col-hold::after, .megamenu-hold nav>ul>li:hover .mega-drop div::after, .megamenu-hold nav>ul>li:hover .mega-drop ul::after, .megamenu-hold nav>ul>li:hover .mega-drop li a::after, .megamenu-hold nav>ul>li:hover .mega-drop li::after{
    display: none
}*/



.megamenu-hold nav>ul>li .mega-drop ul>li:hover ul {
    display: flex;
    background: #eaeaea;
    width: 100vw;
    position: absolute;
    padding: 7px 0px;
    z-index: 99;
}

.mega-drop .secondary-menu ul>li a{
    color: #000!important;
}

.mega-drop .secondary-menu > ul>li a:hover {
    color: #2e3d9d !important;
}


.secondary-menu ul::before {
    content: "";
    width: 100vw;
    position: absolute;
    height: 100%;
    background: #eaeaea;
    top: 0px;
    left: -100vw;
}

.activemen ul{
    display: flex;
}

.thirdlev{
/*display: flex!important;*/
background: #eaeaea!important;
width: 100vw!important;
position: absolute!important;
padding: 7px 0px!important;
z-index: 3;

}

/*.origMen.activemen::after {
    content: "";
    width: 100%;
    height: 10px;
    background: #eaeaea;
    position: absolute;
    left: 0px;
    bottom: 4px;
}*/


.megamenu-hold nav>ul>li a:hover .thirdlev{
    display: none!important;
}

.thirdlev+.activemen {
    border-bottom: #eaeaea solid 12px;
        padding-bottom: 7px !important;
}
}

/* MOBILE */

@media screen and (max-width:1200px){
    nav.open{
/*width: 100%;*/
position: absolute;
left: -6%!important;
padding: 1rem 3rem!important;
    }

        nav.open::after {
            content: "";
            width: 10rem;
            height: 100%;
            position: absolute;
            background: #eaeaea;
            right: -8rem;
            top: 0;
        }

.megamenu-hold>nav>ul>li:hover::after, .megamenu-hold>nav>ul>li::after{
    display: none;
}

.megamenu-hold nav>ul>li .mega-drop .col:first-child{
    display: block;
}

.secondary-menu ul::before{
    display: none;
}

.megamenu-hold nav>ul>li .mega-drop ul li a {
    color: #2e3d9d;
    text-decoration: none;
    transition: text-indent ease 0.5s;
    padding-bottom: 0px;
}

.megamenu-hold nav>ul>li .mega-drop ul {
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
    position: relative;
}

.mega-drop .container{
    width: 100%;
}

.megamenu-hold nav>ul>li .mega-drop ul>li ul{
    top: 0px;
}

.mobbig {
    color: #3443a0!important;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 600;
        width: 100%;
        display: -webkit-inline-box;
        border-bottom: solid 1.5px #2e3d9d;
}

.megamenu-hold nav>ul>.activemain .mega-drop {
    background-color: #eaeaea;

}
.activemen{
    color: #3443a0 !important;
    position: initial!important;
}

.megamenu-hold nav>ul>li .mega-drop ul>li>button{
    margin-top: -1px;
        right: -0.3rem;
        width: 50px;
        height: 50px;
}
.megamenu-hold nav>ul>li .mega-drop ul>li>button>svg{
    width: 20px;
        height: 20px;
        fill: #3443a0;
}

.thirdlev.open {
    text-indent: 2rem;
}

body.admin-bar .megamenu-hold nav>ul>li .mega-drop {
    top: 0;
}




}






@media only screen and (max-width: 1180px) {

body{
    overflow-x: hidden;
}
.mobsingtop{
    flex-direction: column!important;
}

.homeneedsgap{
    gap: 3rem!important;
}

.toplinkd{
    display: none;
}

    .hamburger {
        display: block;
    }

    #main-menu .megamenu-hold nav,
    #main-menu .wp-block-buttons {
        display: none;
    }

#main-menu .wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 80%;
    margin-top: 8px;
    padding-bottom: 1rem;
}

    #main-menu .megamenu-hold nav.open {
        display: block;
        position: absolute;
        top: 97px;
        /*width: 100%;*/
        width: calc(100vw - 107px);
        left: 0;
        right: 0;
        background: #eaeaea;
        height: 60vh;
            overflow-y: scroll;
            scrollbar-width: none;
            overflow-x: hidden;
            -ms-overflow-style: none;
    }

                #main-menu .megamenu-hold nav.open::-webkit-scrollbar {
            display: none;
        }

    .menu-overlay {
        display: none !important;
    }

    .megamenu-hold nav>ul {
        display: block;
    }

    .megamenu-hold nav>ul>li {
        padding: 10px;
        position: relative;
    }

    .megamenu-hold nav>ul>li button {
        /*position: absolute;
        right: 15px; */
        position: absolute;
        margin-top: 2px;
            right: 1rem;
    }
        .megamenu-hold nav>ul>li button svg {
            fill: #2e3d9d;
            height: 20px;
        }

    .megamenu-hold nav>ul>li:hover .mega-drop .col-hold {
        display: block;
    }

    .megamenu-hold nav>ul>li:hover .mega-drop {
        display: none;
    }

    .megamenu-hold nav>ul>li .mega-drop {
        position: relative;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    }

    .megamenu-hold nav>ul>li .mega-drop .col:first-child {
     /*   display: none; */
    }

    .megamenu-hold nav>ul>li .mega-drop.open,
    .megamenu-hold nav>ul>li .mega-drop.open ul.open {
        display: block;
        max-height: 9000px;
        transition: max-height 1s ease-in-out;
    }

    .megamenu-hold button.open svg {
        transform: rotate(180deg);
        transition: all ease 350ms;
    }

    .megamenu-hold nav>ul>li .mega-drop ul>li ul {
        position: relative;
    }

    .megamenu-hold nav>ul>li .mega-drop ul>li {
        position: relative;
        width: 100%;
        padding: 10px 0;
    }

    .megamenu-hold nav>ul>li .mega-drop ul>li>button {
        display: block;
        transform: rotate(90deg);
    }

    .megamenu-hold nav>ul>li .mega-drop ul>li:hover ul {
        display: none;
    }


.megamenu-hold nav>ul>li .mega-drop ul>li ul li a{
    padding-left:1rem;
}


}

@media screen and (max-width:900px) {

    .secondary-menu {
        display: grid;
    }

    .secondary-menu .wp-block-navigation-submenu__toggle {
        order: 2;
    }

    .secondary-menu ul {
        order: 3;
    }

    .origMen {
        order: 1;
    }

    .frontHeadUpTop{
        width: 90vw!important;
            left: 3vw!important;
    }
        ul li {
            padding-bottom: 1rem;
        }

}


.wp-block-button__link.wp-element-button:hover {
    border: 2px solid;
    border-top-width: 2px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-top-width: 2px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    padding: .667em 1.333em;
    background: white;
    color: #2e3d9d;
    transition: all ease 300ms;
}


.mobbig:hover {
    text-shadow: 0px 0px 0px #2e3d9d, 0px 0px 0px #2e3d9d, 0px 0px 0px #2e3d9d, 0px 0px 0px #2e3d9d, 0px 0px 0px #2e3d9d, 0px 0px 0px #2e3d9d;
    color: #2e3d9d;
}

.openAsWell{
    font-weight: bold;
}