
/*
|-----------------------------------------------------------------------------------------------------------
| Main Nav Widget
|-----------------------------------------------------------------------------------------------------------
*/

.nav-primary,
.nav-industry {
  text-align: right;
  padding-right: 25px;
}

.nav-industry {
    padding-top: 10px;
}

.nav-primary nav > .item,
.nav-industry nav > .item,
.nav-primary nav .micro > .item {
    position: relative;
	display: inline-block;
    margin: 0 14px;
}

.nav-primary nav > .item,
.nav-primary nav .micro > .item {
    padding-bottom: 10px;
}

.nav-primary nav > .item a,
.nav-industry nav > .item a,
.nav-primary nav .micro > .item a {
    color: white;
    font-family: "Gotham SSm A", "Gotham SSm B", Arial, Helvetica;
    font-style: normal;
    font-weight: 700;
}

.nav-primary nav > .item.active-page > a,
.nav-primary nav .micro > .item.active-page > a {
    color: #00a0e1;
}

.nav-primary nav > .item:hover > a,
.nav-industry nav > .item:hover > a,
.nav-primary nav .micro > .item:hover > a {
    color: #00a0e1;
}

.nav-primary ul li {
    margin-bottom: 0;
}

.nav-primary nav > .item:last-child {
    margin-right: 0;
}

nav .dropdown-items .item.has-dropdown .dd-trigger {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-60%);
    font-size: 13px;
    cursor: pointer;
}

nav .dropdown-items .item.has-dropdown .dd-trigger > i.active,
nav .dropdown-items .item.has-dropdown a.active {
    color: #00a0e1;
}

nav .item.parent .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background-color: white;
    padding: 15px;
    z-index: 99
}

nav .dropdown-items .item {
    padding: 6px 0;
}

.header-section .item-inner {
    position: relative;
}

nav .item.parent:hover > .dropdown {
    display: block;
}

nav .dropdown-items {
    list-style: none;
    margin: 0;
    text-align: left;
}

nav .dd {
    display: none;
    list-style: none;
    text-align: left;
}

nav .dd.active {
    display: block;
}

nav .dropdown-items .item > .item-inner > a {
    color: #484849;
}

nav .dd .item a {
    color: #484849;
    font-weight: 300;
    font-size: 14px;
}

.nav-primary .item > a {
    font-size: 15px;
}

.nav-industry .item > a {
    text-transform: capitalize;
    font-size: 13px;
}

.nav-industry-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-industry {
    margin-bottom: 15px;
}

.nav-industry nav .item {
    padding-bottom: 5px;
    margin-bottom: 0;
}

.nav-industry .item.parent::before {
    content: "|";
    position: absolute;
    top: 3px;
    left: -20px;
    color: white;
    font-size: 12px;
}

.nav-industry .item.parent:last-of-type::after {
    content: "|";
    position: absolute;
    top: 3px;
    right: -20px;
    color: white;
    font-size: 12px;
}

.nav-industry .item.parent .dropdown { top: 20px; }

/*** mobile nav ***/

.mobilenav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
}

.mobilenav .hamburger {
    position: absolute;
    top: -60px;
    right: 200px;
    z-index: 1000;
}

.mobilenav .hamburger .relative {
    z-index: 1;
}

.mobilenav .hamburger .open-nav {
    z-index: 3;
    display: flex;
    align-items: center;
    color: white;
    border: 2px solid white;
    padding: 7px 10px;
    background-color: #3c3c3c;
}

.mobilenav .hamburger .close-nav {
    display: none;
    z-index: 2;
    align-items: center;
    color: #3c3c3c;
    border: 2px solid #3c3c3c;
    padding: 7px 10px;
    background-color: transparent;
}

.mobilenav .hamburger span {
    font-size: 12px;
}

.mobilenav .hamburger i {
    font-size: 20px;
    margin-right: 7px;
}

.mobilenav .hamburger:hover {
    cursor: pointer;
}

.mobile-dd {
    position: relative;
    display: none;
    width: 100%;
    max-width: 475px;
    margin: 0 auto;
    z-index: 100;
}

.mobile-dd::after {
    content: "";
    display: inline-block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: -1;
}

.mobile-dd .mobile-children {
    display: none;
}

.mobile-dd .dd-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

.mobile-dd ul {
    list-style: none;
    margin-left: 0;
}

.mobile-dd .item-main {
    background-color: #f6f6f6;
    border-left: 4px solid gray;
    padding: 10px;
    margin-bottom: 20px;
}

.mobile-dd .item-main.active {
    background-color: #f2fafd;
    border-left: 4px solid #009fdf;
}

.mobile-dd .item-main.active > .mobile-children {
    display: block;
}

.mobile-dd .item-main a {
    color: #484849;
    font-weight: bold;
}

.mobile-dd .dd-toggle {
    font-size: 13px;
}

.mobile-dd .mobile-children .item-child a {
    color: gray;
    font-weight: 100;
}

.mobile-dd .mobile-children .item-child:first-child {
    margin-top: 10px;
}

.mobile-dd .mobile-children .item-child.has-submenu ul {
    display: none;
    list-style: none;
    margin-left: 15px;
}

.mobile-dd .mobile-children .item-child.has-submenu ul li:first-child {
    margin-top: 10px;
}

.mobile-dd .mobile-children .item-child.has-submenu ul li a {
    font-size: 14px;
}

.mobile-dd .mobile-children .item-child.has-submenu.active > ul {
    display: block;
}

@media (max-width: 641px) {
    .mobile-dd {
        padding: 0 15px;
    }
    .mobilenav .hamburger {
        right: 300px;
    }
}

@media (max-width: 450px) {
    .mobilenav .hamburger {
        right: 200px;
    }
}
