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

.nav-primary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 5px;
}

.nav-primary .primary-item {
    height: 100%;
    margin-right: 20px;
}
.sticky-nav .nav-primary .primary-item {
    align-items: center;
    justify-content: center;
    display: flex;
    height: 73px;
}

.nav-primary .primary-item:first-child {
   /* margin-left: 15px;*/
}

.nav-primary .primary-item:nth-child(3) {
    /*margin-right: 0;*/
}

.nav-primary .primary-item:nth-child(4) {
    /*margin-left: 160px;*/
}

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

.nav-primary .primary-item > a {
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    color: #332212;
}

.nav-primary .primary-item .nav-marker {
    display: none;
    text-align: center;
    padding-top: 8px;
}

.nav-primary .primary-item.has-dd:hover .nav-marker {
    display: block;
}

.nav-primary .primary-item .item-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px 5px 7px;
}

.nav-primary .primary-item ul .item-inner {
    padding-left: 20px;
}

.nav-primary .primary-item .dd {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    padding: 10px 0 0 10px;
    z-index: 1001;
}

.nav-primary .primary-item.has-dd:hover .dd {
    display: block;
}
.sticky-nav.in-view .nav-primary .primary-item .nav-marker {
    text-align: center;
    padding-top: 8px;
    width: 100%;
    position: absolute;
    bottom: 0;
}
.sticky-nav.in-view .nav-primary .primary-item .nav-marker img {
    position: absolute;
    bottom: -1px;
}

.nav-primary .primary-item .dd::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    width: 100%;
    background: url("../png/green-pattern.png") center/contain repeat-x;
}

.nav-primary .primary-item .dd .dd-inner {
    display: flex;
    width: 100%;
    max-width: 1165px;
    margin-left: auto;
}

.nav-primary .primary-item .dd ul {
    position: relative;
    margin: 0;
    list-style: none;
    width: 25%;
    max-width: 285px;
    padding-top: 20px;
    padding-bottom: 25px;
    z-index: 1;
}

.nav-primary .primary-item .dd ul li ul {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 0;
    right: -100%;
    height: auto;
    min-height: 100%;
    width: 100%;
    background-color: #b7e5e3;
}

.nav-primary .primary-item .dd ul li:hover > ul {
    visibility: visible;
    pointer-events: all;
}

.nav-primary .primary-item .dd ul li ul li ul {
    background-color: #50afad;
}

.nav-primary .primary-item .dd ul li ul li ul::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    background-color: inherit;
    z-index: -1;
}

.nav-primary .primary-item .dd ul li {
    padding: 5px 0;
}

.nav-primary .primary-item .dd .current-item {
    font-size: 34px;
    margin-right: 65px;
    padding-top: 20px;
}

.nav-primary .primary-item .dd-menu a {
    color: #332212;
    font-weight: normal;
    font-size: 15px;
}

.nav-primary .primary-item .dd ul li ul li:hover {
    background-color: #50afad;
}

.nav-primary .primary-item .dd ul li ul li:hover .item-inner a,
.nav-primary .primary-item .dd ul li ul li:hover .item-inner i {
    color: white;
}

.nav-primary .primary-item .dd ul li ul li ul li .item-inner a {
    color: white;
}

.nav-primary .primary-item .dd-menu .item-inner i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    color: #332212;
    font-size: 23px;
    font-weight: bold;
}

.nav-primary .primary-item .dd-menu > li:hover {
    background-color: #b7e5e3;
}
.top-nav-container {
	/*margin-right: 165px;
    width: 50%;*/
}
.nav-industry {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-industry .industry-item > a {
    font-size: 13px;
    font-weight: 300;
    text-transform: uppercase;
    color: #332212;
}

.nav-industry .industry-item {
    margin-right: 20px;
    position: relative;
    padding-bottom: 6px;
}

.nav-industry .industry-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #50afad;
    display: none;
}

.nav-industry .industry-item.has-submenu:hover::after {
    display: block;
}

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

.nav-industry .industry-item ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 250px;
    padding: 10px 20px;
    list-style:none;
    margin: 0;
    background-color: #b6e5e4;
}

.nav-industry .industry-item.has-submenu:hover ul {
    display: block;
}

.nav-industry .industry-item ul li {
    position: relative;
    padding: 10px 0;
    text-align: left;
}

.nav-industry .industry-item ul li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #50afad;
    transition: transform 0.4s ease-in-out;
    transform-origin: left;
    transform: scaleX(0);
}

.nav-industry .industry-item ul li:hover::after {
    transform: scaleX(1);
}

.nav-industry .industry-item ul li a {
    color: #332212;
    font-weight: normal;
}

/* sticky nav */

.header-section .sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    border-bottom: 1px solid #d7cfc5;
}

.header-section .sticky-nav.in-view {
    transform: translateY(0);
}

.header-section .sticky-nav::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.9;
    z-index: -1;
}

.header-section .sticky-nav .inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}


.header-section .sticky-nav .sticky-logo img {
    display: block;
    width: 65px;
}

.header-section .sticky-nav .nav-primary {
  /*  width: 100%;*/
}

.header-section .sticky-nav .nav-primary .primary-item:nth-child(4) {
/*    margin-left: 120px;*/
}

.header-section .sticky-nav .search-cont {
 /*   margin: 0;*/
}

.header-section .sticky-nav .search-cont.sticky-active .flex-inner .fa.fa-angle-down {
    transform: rotate(180deg);
}

.header-section .sticky-nav .sticky-search {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.6s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.header-section .sticky-nav.in-view .sticky-search.sticky-active {
    opacity: 1;
    pointer-events: all;
}

.header-section .sticky-nav .sticky-search::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.9;
    z-index: -1;
}

/*
|-----------------------------------------------------------------------------------------------------------
| Interior Nav Widget
|-----------------------------------------------------------------------------------------------------------
*/

.interior-nav {
    align-items: center;
    margin: 0;
    list-style: none;
    padding-top: 12px;
}

.interior-nav li {
    position: relative;
    margin-right: 13px;
    display: inline;
    float: left;
}

.interior-nav li::after {
    content: "/";
    position: absolute;
    top: 0;
    right: -8px;
    color: #c4b9a7;
}

.interior-nav li:last-child::after {
    display: none;
}

.interior-nav li:last-child {
    margin-right: 0;
}

.interior-nav li a {
    color: #c4b9a7;
    font-weight: normal;
}

.interior-nav li.current a {
    color: #50afad;
    font-weight: 700;
}

@media (max-width: 640px) {
    .interior-nav li a {
        font-size: 15px;
    }
}

/*
|-----------------------------------------------------------------------------------------------------------
| Footer Nav Widget
|-----------------------------------------------------------------------------------------------------------
*/

.footer-nav {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.footer-nav a {
    display: inline-block;
    color: #332212;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-nav a:hover {
    text-decoration: none;
}

.footer-nav a:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .footer-nav {
        flex-direction: row;
    }
    .footer-nav a {
        margin: 0 15px 0 0;
    }
    .footer-nav a:last-child {
        margin-right: 0;
    }
}

@media (max-width: 640px) {
    .footer-nav {
        flex-direction: column;
        align-items: center;
    }
}
/*
|-----------------------------------------------------------------------------------------------------------
| Mobile Nav
|-----------------------------------------------------------------------------------------------------------
*/

.mobilenav {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1;
        height: 60px;
}
.mobilenav .mobile-logo {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    margin-top: 0;
}
.mobilenav.active {
	height: 100vh;
    z-index: 1000;
}

.header-section .hamburger {
    position: absolute;
    top: 0;
    right: 15px;
    width: 35px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-section .hamburger .close {
    display: none;
}

.header-section .mobilenav.active .hamburger .close {
    display: block;
}

.header-section .mobilenav.active .hamburger .open {
    display: none;
}

.header-section .mobilenav .mobile-dd {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    max-width: 280px;
    padding-top: 12px;
    box-shadow: -1px 2px 6px rgba(0,0,0,0.3);
    z-index: 1000;
    background-color: white;
    cursor: pointer;
}

.header-section .mobilenav.active .mobile-dd {
    display: block;
}

.header-section .mobilenav .mobile-dd::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 8px;
    width: 100%;
    background: url("../png/green-pattern.png")center/cover no-repeat;
}

.header-section .mobilenav .mobile-dd .dd-top {
    position: absolute;
    top: 10px;
    right: 0;
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 15px;
    border-bottom: 1px solid gainsboro;
        background: #fff;
}

.header-section .mobilenav .mobile-dd .dd-top > * {
    height: 100%;
}

.header-section .mobilenav .mobile-dd .dd-top > *:first-child {
    left: 0;
}

.header-section .mobilenav .mobile-dd .dd-top > *:nth-child(2) {
    /*left: 33.3333%;*/
}

.header-section .mobilenav .mobile-dd .dd-top > *:last-child {
    right: 0;
}

.header-section .mobilenav .mobile-dd .dd-top .flex-inner {
    height: 100%;
    justify-content: center;
}

.header-section .mobilenav .nav-list {
    margin: 45px 0 0;
    list-style: none;
}
.header-section .mobilenav .nav-list.secondary {
	margin: 0;
}
.header-section .mobilenav .nav-list ul {
    margin: 0;
    list-style: none;
}

.header-section .mobilenav .nav-list li ul {
    display: none;
}

.header-section .mobilenav .nav-list li.active > ul {
    display: block;
}

.header-section .mobilenav .nav-list li.active > .item-inner i {
    transform: rotate(180deg);
}

.header-section .mobilenav .nav-list li ul li.active {
    background-color: #b6e5e4;
}

.header-section .mobilenav .nav-list li ul li ul li.active {
    background-color: #50afad;
}

.header-section .mobilenav .nav-list li ul li ul li.active > .item-inner a,
.header-section .mobilenav .nav-list li ul li ul li.active > .item-inner i {
    color: white;
}

.header-section .mobilenav .nav-list li ul li ul li ul li > .item-inner a {
    color: white;
}

.mobilenav .nav-list .item-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    cursor: pointer;
}

.mobilenav .nav-list li .item-inner {
    padding-left: 15px;
    padding-right: 15px;
}

.mobilenav .nav-list li .item-inner i {
    font-size: 20px;
    font-weight: bold;
}

.mobilenav .nav-list li .item-inner a {
    font-size: 16px;
    text-transform: uppercase;
    color: #332212;
    font-weight: normal;
}

.mobilenav .nav-list li ul li .item-inner a {
    font-size: 15px;
    text-transform: none;
}

.mobilenav .nav-list li ul li .item-inner {
    padding-left: 25px;
}

.mobilenav .nav-list li ul li ul li .item-inner {
    padding-left: 35px;
}

.mobilenav .nav-list li ul li ul li ul li .item-inner {
    padding-left: 45px;
}

.mobilenav .nav-list .item-industry {
    background-color: #f4f2f0;
}

.mobilenav .nav-list .item-industry .item-inner a {
    font-size: 15px;
    text-transform: none;
}
.split-nav {
    position: absolute;
    background-color: #b7e5e3;
}
.split-nav.first-half {
    left: 0;
}
.split-nav.second-half {
    right: 0;
}
.dd-helper {
    background-color: transparent;
    width: 100%;
    height: 500px;
    position: absolute;
    top: 0;
    z-index: -1;
}