nav {
    background-color: var(--bg-color, #002554);
    width: 100%;
    height: auto;
    z-index: 5;
    position: relative;
}



.HomePageV2 {
    z-index: -1;
}

.topnav {
    justify-content: end;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .topnav a,
    .topnav span,
    .topnav .btn {
        padding: 0px 15px;
    }

.btn-primary-new {
    border-radius: 0px;
}

.topnav a {
    float: right;
    display: block;
    text-decoration: none;
    font-size: var(--font-size-12);
    text-transform: capitalize;
    position: relative;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-color, #047BC1);
}

    .topnav a::after {
        content: "";
        position: absolute;
        right: 0px;
        height: 11px;
        background: #1A4984;
        width: 1px;
        top: 4px;
    }

.topnav .last::after {
    display: none;
}

.topnav .btn-primary-new {
    background-color: #009DE2;
    color: #ffffff;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    min-height: 40px !important;
    margin-left: 15px;
    min-width: 190px;
    border: none;
}


.navbar-default .navbar-navs > li > a {
    padding: 0px;
    border-right: none !important;
    padding-bottom: 3px;
    border-bottom: solid 3px transparent;
    text-decoration: none;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-color, #FFFFFF);
}

.navbar-default .navbar-navs > li:hover > a,
.navbar-default .navbar-navs > li.active > a,
.navbar-default .navbar-navs > li.active > a:focus {
    border-bottom: solid 3px #009DE2;
    color: var(--text-color, #FFFFFF);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.navbar-default .navbar-navs > li > a:hover,
.navbar-default .navbar-navs > li > a:focus {
    background-color: transparent;
}

.navigation-div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.navigation-bar {
    display: block;
    z-index: 102;
}

    .navigation-bar .margin-right-top-nav {
        margin-right: 50px;
    }

.mega-row {
    flex-wrap: nowrap;
}


    .mega-row .list-group-item {
        border: 0px solid #ffffff;
        font-size: 14px;
        line-height: 16px;
        padding: 0.3rem .5rem;
        text-align: left;
        letter-spacing: 0px;
        color: #000000;
        opacity: 1;
        font-style: normal;
        font-weight: 500;
        text-wrap: nowrap;
        background: none;
    }

a.dropdown-item.m-drop-item {
    border: 0px solid #ffffff;
    font-size: 14px;
    line-height: 16px;
    padding: 0.1rem .5rem;
    text-align: left;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    font-style: normal;
    font-weight: 500;
    text-wrap: nowrap;
}


a.list-group-item:hover {
    background-color: #FFFFFF;
    color: #B4B4B4;
}

a.list-group-item.mega-submenu-item:hover {
    background-color: #FFFFFF;
    color: #B4B4B4;
}

.mega-row h6 {
    font-size: 17px;
    line-height: 20px;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
    letter-spacing: 0px;
    color: #2F70B0;
    opacity: 1;
    font-style: normal;
    font-weight: bold;
}

.pinned-mega-container {
    display: flex;
    justify-content: end;
}


    .pinned-mega-container .navbar-navs li {
        border-right: none;
        height: 30px;
        display: flex;
        align-items: center;
        line-height: 17px;
        padding: 0 25px;
        position: relative !important;
    }


        .pinned-mega-container .navbar-navs li:last-child {
            padding-right: 0px;
        }

li.m-nav-item::after {
    content: '';
    height: 15px;
    width: 2px;
    position: absolute;
    top: 5px;
    right: 0px;
    background: #1A4984;
}

.pinned-mega-container .navbar-navs li:last-child::after {
    content: unset;
}

.mega-col {
    padding-top: .5rem !important;
    padding-bottom: 0 !important;
}

.mega-heading h5 {
    font-size: 22px;
    line-height: 27px;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    font-style: normal;
    font-weight: bold;
}


.topnav ul li a {
    float: right;
    display: block;
    text-decoration: none;
    font-size: var(--font-size-12);
    text-transform: capitalize;
    position: relative;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #047BC1;
}

    .topnav ul li a::after {
        content: "";
        position: absolute;
        right: 0px;
        height: 11px;
        background: #1A4984;
        width: 1px;
        top: 4px;
    }

.topnav ul li .last::after {
    display: none;
}

@media (max-width: 1023px) {


    .header-mobile .dropdown {
        align-items: center;
        font-weight: 600;
        font-size: 14px;
        line-height: 160%;
        color: #002554;
        /*padding: 2px 0px;*/
        width: 100%
    }

    .header-mobile .mega-dropdown {
        min-height: 40px;
        font-weight: 600;
        font-size: 14px;
        line-height: 160%;
        color: #002554;
        /*padding: 8px 0px;*/
    }

    .header-mobile .nav-link {
        color: #002554;
    }

    a.nav-link.dropdown-toggle.mega-dropdown {
        /*padding: 8px 30px;*/
    }

    a.nav-link {
        font-size: 14px;
    }

    .navbar-nav .dropdown-menu {
        border: none;
        padding: 0;
        margin: 0;
    }
}

.row.mega-container {
    flex-wrap: nowrap;
}

span.mega-submenu-title {
    border: 0px solid #ffffff;
    font-size: 15px;
    line-height: 16px;
    /*padding: 0.3rem .5rem;*/
    text-align: left;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    font-style: normal;
    font-weight: 500;
}

a.list-group-item.mega-submenu-item::before {
    content: "";
    position: absolute;
    left: 1px;
    height: 2px;
    background: #1A4984;
    width: 5px;
    top: 12px;
}

a.list-group-item.mega-submenu-item {
    margin-left: 1.5rem;
    text-align: left;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 16px;
    ;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.row.mega-heading {
    border-bottom: 1px solid #B4B4B4;
    margin: 0 1px;
    text-align: left;
    padding: 10px 0 10px 0;
    --bs-gutter-x: 0;
    opacity: 1;
}

.col.mega-column {
    margin-bottom: 1rem;
    margin-right: 5px;
    margin-left: 10px;
}

.m-drop li::after {
    background-color: #FFFFFF;
}

.dropdown-item.list-group-item.mega-submenu {
    border: none;
    /*padding: 8px 30px;*/
}

.list-group-item.mega-submenu-item.mobile::before {
    content: none;
    position: relative;
    left: 0px;
    height: 0px;
    background: none;
    width: 0px;
    top: 0px;
}

.dropdown-item.m-mega-dropdown-item {
    /*border: 1px solid #E9EBEC;*/
    padding: 0px;
}

li.dropdown-item.mega-submenu.mega-dropdown-item {
    padding: 0px;
}

.m-mega-dropdown-link {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 12px;
    line-height: 160%;
    color: #002554;
    white-space: wrap;
    border: none;
    height: 100%;
    width: 100%;
    /*padding: 8px 30px;*/
}

.m-mega-dropdown-heading {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 160%;
    color: #002554;
    white-space: wrap;
    border: none;
    height: 100%;
    width: 100%;
    padding: 8px 30px;
}

.dropdown.m-mega-dropdown-item {
    /*border: 1px solid #E9EBEC;*/
    width: 100%;
}

ul.m-mega-dropdown-menu {
    border: none;
}

.dropdown-item:hover {
    background: none;
}

@media (min-width:992px) {
    .dropdown-menu.mega-dropdown {
        left: -373px;
        border-radius: 0;
    }
}

.mega-title-link {
    border: 0px solid #ffffff;
    font-size: 14px;
    line-height: 16px;
    text-align: left;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    font-style: normal;
    font-weight: 500;
    text-wrap: nowrap;
    text-decoration: none;
    padding: 0.3rem .5rem;
}

a.mega-title-link:hover {
    background-color: #FFFFFF;
    color: #B4B4B4;
}

.dropdown-menu.mega-dropdown.show {
    top: 35px;
    background: transparent linear-gradient(156deg, #FFFFFF 0%, #F8F8F8 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 99px #00000029;
    opacity: 1;
}

.col.navbar-brand {
    max-width: 270px;
    margin-left: 100px;
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.top-navbar {
    margin-bottom: 10px;
}

.navbar-navs {
    flex-direction: inherit;
    align-items: flex-end;
    width: auto;
    margin-right: 115px;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    border-radius: 0;
    top: 35px;
}


.hamburg-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.hamburg-dropdown .hamburger {
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    min-height: auto !important;
}

.hamburg-dropdown .line {
    width: 100%;
    height: 4px;
    background-color: #009de2;
    border-radius: 2px;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.hamburg-dropdown.open .line1 {
    transform: translateY(13px) rotate(45deg);
}

.hamburg-dropdown.open .line2 {
    opacity: 0;
}

.hamburg-dropdown.open .line3 {
    transform: translateY(-11px) rotate(-45deg);
}

.hamburg-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 272px;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 15%);
    padding: 0px;
    z-index: 101;
    right: 0px;
    top: 25px;
}

.hamburg-dropdown.open .hamburg-dropdown-content {
    display: block;
}

.hamburg-dropdown-content-header {
    padding: 8px 30px;
    font-weight: 600;
    font-size: 12px;
    line-height: 160%;
    background-color: #009DE2;
    color: #fff;
    min-height: 40px;
    display: flex;
    align-items: center;
}

    .hamburg-dropdown-content-header a {
        color: inherit;
        text-transform: capitalize;
    }

.header-mobile .list-group-item {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 12px;
    line-height: 160%;
    color: #002554;
    /*padding: 8px 30px;*/
    /*border: 1px solid #E9EBEC;*/
}

@media (max-width:1023px) {
    .container-fluid {
        padding: 0px;
    }

    .col.navbar-brand {
        max-width: none;
    }

    .navbar {
        min-height: 95px;
    }

    .header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        margin: 0px 24px;
    }

    .carousel-content.home-carousel-img .home-carousel-content {
        margin-top: 0px;
    }
}

@media (min-width:1024px) {
    .header-mobile {
        display: none;
    }
}

@media (min-width:992px) and (max-width:1023px) {
    .navbar-expand-lg .navbar-collapse {
        display: none !important;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: column;
    }
}

@media (min-width:1024px) and (max-width:1209px) {
    .navbar-navs {
        margin-right: 10px;
    }

    .top-navbar {
        margin-right: 10px;
    }

    .navigation-bar .margin-right-top-nav {
        margin-right: 0px;
    }

    .col.navbar-brand {
        max-width: auto;
        margin-left: 10px;
        padding-left: 0;
    }

    .pinned-mega-container .navbar-navs li {
        padding: 0 15px;
    }
}



/* new mobile styles */

.hamburg-dropdown {
    position: static;
}

.hamburg-dropdown-content {
    left: 0;
    top: 90px;
}

li.dropdown-item.mega-heading {
    /*padding: 8px 40px;*/
}

.dropdown-menu .dropdown.m-mega-dropdown-item {
    /*padding-left: 15px;*/
}

.dropdown-item.m-mega-dropdown-item + .dropdown-item {
    border-top: 0;
}

.dropdown-item {
    border-left: 0 !important;
    border-right: 0 !important;
}

.header-mobile .list-group-item {
}

/*.navbar-expand-lg .navbar-nav .dropdown-menu li + li a {
    border-top: 0;
}*/

.mobile-nav > .mega-dropdown {
    padding: 0;
}

.menu-large{
    border: 0;
}

.header-mobile .list-group-item {
    border: 0;
    padding: 0;
}
.mobile-nav > .mega-dropdown > a,
.mobile-nav > .list-group-item a,
.mobile-nav .dropdown-item.mega-heading,
.mobile-nav .dropdown-menu > .m-mega-dropdown-item > a,
.mobile-nav .mega-dropdown ul a {
    border-top: 1px solid #E9EBEC;
    border-bottom: 0;
    padding: 16px 30px !important;
    width: 100%;
}

    .menu-large.mega-dropdown .dropdown-menu a,
    .mobile-nav .dropdown-item.mega-heading,
    .mobile-nav .dropdown-menu > .m-mega-dropdown-item > a.m-mega-dropdown-heading {
        padding-left: 45px !important;
    }
        .mobile-nav .dropdown-menu > .m-mega-dropdown-item .m-mega-dropdown-link {
            padding-left: 60px !important;
        }

.mobile-nav > .mega-dropdown + .mega-dropdown {
    border-top: 0;
}

.dropdown-toggle.show::after {
    transform: rotate(180deg);
}