.nav-primary,
.nav-industry {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-primary ul,
.nav-industry ul {
    margin: 0;
    list-style: none;
}

.primary-item {
    margin-right: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.nav-primary .primary-item:last-child {
    margin-right: 0;
}

.ind-item {
    margin-right: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.nav-industry .ind-item:last-child {
    margin-right: 0;
}

.primary-item > .item-inner a {
    font-size: 20px;
    font-size: calc(14px + (20 - 14) * ((100vw - 1025px) / (1200 - 1025)));
    transition: color 0.5s;
}

.ind-item > .item-inner a {
    color: #3c3c3c;
    text-transform: uppercase;
    font-size: calc(13px + (15 - 13) * ((100vw - 1025px) / (1200 - 1025)));
    transition: color 0.5s;
}

@media (min-width: 1200px) {
    .primary-item > .item-inner a {
        font-size: 20px;
    }

    .ind-item > .item-inner a {
        font-size: 15px;
    }
}

.primary-item:hover > .item-inner a,
.ind-item:hover > .item-inner a {
    color:#bfb74c;
}

.nav-primary .nav-dropdown,
.nav-industry .nav-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    z-index: 2000;
}

.nav-primary .nav-dropdown .dd-list,
.nav-industry .nav-dropdown .dd-list {
    box-shadow: 3px 3px 8px rgba(0,0,0,0.1), -3px -8px 8px rgba(0,0,0,0.1);
}

.nav-primary .nav-dropdown ul,
.nav-industry .nav-dropdown ul {
    background-color: white;
    padding: 6px 0;
    min-width: 260px;
}

.nav-primary .nav-dropdown .item-inner,
.nav-industry .nav-dropdown .item-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 15px;
}

.primary-item.has-dropdown:hover > .nav-dropdown,
.ind-item.has-dropdown:hover > .nav-dropdown {
    opacity: 1;
    pointer-events: all;
}

.nav-primary .nav-dropdown .item-inner a,
.nav-industry .nav-dropdown .item-inner a {
    width: calc(100% - 20px);
}

.nav-industry .nav-dropdown .item-inner i,
.nav-primary .nav-dropdown .item-inner i {
    font-size: 21px;
    color: #497baf;
}
.nav-primary .nav-dropdown li,
.nav-industry .nav-dropdown li{
    position: relative;
}
.nav-industry .nav-dropdown li:hover,
.nav-primary .nav-dropdown li:hover {
    background-color: #bfb74c;
}

.nav-industry .nav-dropdown li:hover > .item-inner > *,
.nav-primary .nav-dropdown li:hover > .item-inner > * {
    color: white;
}

.nav-primary ul ul,
.nav-industry ul ul {
    position: absolute;
    top: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    z-index: -1;
    box-shadow: 4px 6px 12px rgba(0,0,0,0.1);
}

.nav-primary ul ul {
    left: 100%;
}

.nav-primary .primary-item:last-child ul ul {
    left: auto;
    right: 100%;
}

.nav-industry ul ul {
    right: 100%;
}

.nav-industry .nav-dropdown li.has-submenu:hover > ul,
.nav-primary .nav-dropdown li.has-submenu:hover > ul {
    opacity: 1;
    pointer-events: all;
}

@media (min-width: 81.25em) {
    .primary-item {
        margin-right: 20px;
    }
}

/****Dropdown Support****/
.primary-item.has-dropdown:hover > .item-inner > .dropdown-support, 
.ind-item.has-dropdown:hover > .item-inner > .dropdown-support {
    position: absolute;
    top: 69%;
    left: -50%;
    width: 200%;
    height: 45px;
    transition: transform 1.2s;
    z-index: 2001;
    transform: scaleY(0);
    transform-origin: center bottom;
    /*background-color: blue;*/
}

.primary-item.has-dropdown > .item-inner > a:hover + .dropdown-support, 
.ind-item.has-dropdown > .item-inner > a:hover + .dropdown-support {
    transition: none;
    transform: scaleY(1);
}

.primary-item.has-dropdown .nav-dropdown li.has-submenu:hover > .item-inner .dropdown-support,
.ind-item.has-dropdown .nav-dropdown li.has-submenu:hover > .item-inner .dropdown-support {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600%;
    transition: transform 1s;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: right center;
}

.primary-item.has-dropdown .nav-dropdown li.has-submenu > .item-inner a:hover +  .dropdown-support,
.ind-item.has-dropdown .nav-dropdown li.has-submenu > .item-inner a:hover +  .dropdown-support {
    transition: none;
    transform: scaleX(1);
}

/* horizontal dropdown support */
.nav-primary .nav-dropdown li .item-inner > .dropdown-support {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500%;
    transition: transform .4s;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: right center;
    /* background:blue; */
}
.nav-industry .nav-dropdown li .item-inner > .dropdown-support {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500%;
    transition: transform .4s;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: right center;
     /*background:blue;*/ 
}
.nav-primary .nav-dropdown li.has-submenu > .item-inner > a:hover + .dropdown-support,
.nav-industry .nav-dropdown li.has-submenu > .item-inner > a:hover + .dropdown-support  {
    transition: none;
    transform: scaleX(1);
}
.nav-primary .nav-dropdown li .item-inner a:hover,
.nav-industry .nav-dropdown li .item-inner a:hover  {
    z-index: 10;
}
/****End Dropdown Support****/

/**** Mobile Nav ****/

.mobilenav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.mobilenav .controls {
    position: absolute; 
    top: 0;
    right: 0;
    display: flex;
    padding: 15px;
    cursor: pointer;
}

.mobilenav .controls .menu-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 37px;
    background-color: #6a8eb3;
}

.mobilenav .controls .menu-cont .close {
    font-size: 20px;
    color: white;
    display: none;
}

.mobilenav.active .controls .menu-cont .close {
    display: inline-block;
}

.mobilenav.active .controls .menu-cont .open {
    display: none;
}

.mobilenav .mobile-dd {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    max-width: 400px;
    z-index: 2000;
    background-color: white;
    -webkit-box-shadow: -12px 13px 28px -18px rgba(0,0,0,0.5);
    -moz-box-shadow: -12px 13px 28px -18px rgba(0,0,0,0.5);
    box-shadow: -12px 13px 28px -18px rgba(0,0,0,0.5);
}

.mobilenav.active .mobile-dd {
    display: block;
}

.mobilenav .dd-top {
    padding: 15px;
    background-color: #f7f5f0;
}

.mobilenav .nav-list.primary {
    padding-top: 7px;
}

.mobilenav .nav-list.footer {
    padding: 7px 0 0;
    background-color: var(--dark-blue-bg);
}

.mobilenav .nav-list .item-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 15px;
}

.mobilenav .nav-list.primary .item-inner,
.mobilenav .nav-list.industry .item-inner {
    background-color: white;
}
.mobilenav .item-inner .toggle {
    cursor: pointer;
}
.mobilenav .mobile-dd ul {
    list-style: none;
}

.mobilenav .nav-list {
    margin: 0;
}

.mobilenav a:link {
    text-decoration: none;
}

.mobilenav .nav-list ul {
    display: none;
}

.mobilenav .nav-list li.active > ul {
    display: block;
}

.mobilenav .nav-list li.active > .item-inner > a {
    color: #cdc774;
}
.mobilenav .nav-list li > .item-inner > .toggle i {
    transform: rotate(0deg);
    -webkit-transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
}
.mobilenav .nav-list li.active > .item-inner > .toggle i {
    transform: rotate(90deg);
}

.mobilenav .nav-list.primary .item-inner a {
    font-size: 20px;
    font-weight: 500;
}

.mobilenav .nav-list.primary .item-inner .toggle i {
    font-size: 23px;
    color: #497baf;
}

.mobilenav .nav-list.industry .item-inner a {
    color: #3c3c3c;
}

.mobilenav .nav-list.industry .item-inner .toggle i {
    font-size: 23px;
    color: #3c3c3c;
}

.mobilenav .nav-list.footer .item-inner a {
    font-size: 15px;
    text-transform: uppercase;
    color: white;
}

.mobilenav .nav-list.footer .item-inner .toggle i {
    font-size: 23px;
    color: white;
}

@media (min-width: 64.063em) {
    .mobilenav {
        display: none
    }
}







/****Footer Nav****/

.footer-nav {
    margin-bottom: 30px;
}

.footer-section .footer-nav a {
    color: white;
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 500;
}

.footer-nav .item {
    margin-bottom: 5px;
}

.footer-nav .item.has-submenu > ul {
    display: none;
}

@media (min-width: 40.063em) {
    .footer-nav {
        text-align: left;
    }
}

/****End Footer Nav****/

/****Interior Nav****/

.interior-nav {
    margin: 0;
    list-style: none;
    line-height: 18px;
}

.interior-nav li {
    display: inline-block;
    line-height: 14px;
}

.interior-nav li a {
    font-size: 13px;
    font-weight: 400;
    color: #484747;
    text-transform: uppercase;
}

.interior-nav li:last-child a {
    color: #477ab1;
    font-weight: 600;
}

.interior-nav li::after {
    content: "\f142";
    margin: 0 2px;
    color: #bfb74c;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
}

/****End Interior Nav****/