/**
 * Main Styles
 */

nav ul.ps-mega-menu {
    border-bottom: 8px solid #000;
}

nav ul.ps-mega-menu,
nav ul.ps-mega-menu li {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul.ps-mega-menu>li {
    background-color: #fff;
}

nav ul.ps-mega-menu a {
    display: block;
    text-decoration: none;
}

nav ul.ps-mega-menu a:hover,
nav ul.ps-mega-menu a:visited {
    text-decoration: none;
}

nav.ps-mega-menu-nav {
    background-position: center left;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #ffffff;
}

nav ul.ps-mega-menu {
    background-position: center left;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
}

nav ul.mega-menu--multiLevel {
    flex-direction: column;
}

nav ul.mega-menu--multiLevel>li>a {
    padding: 10px 30px 10px 30px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
    transition: all 0.5s cubic-bezier(0.48, 0.01, 0.5, 0.99);
    position: relative;
}

nav ul.mega-menu--multiLevel>li>a>.link-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    color: white;
    font-family: "TitlingGothicFBCompressed", Sans-serif;
    font-size: 29px;
    font-weight: 200;
    line-height: 1.1em;
    color: var(--e-global-color-text);
}

nav ul.mega-menu--multiLevel>li>a:hover {
    background-color: var(--e-global-color-primary);
}

nav ul.mega-menu--multiLevel>li>a:hover>.link-text,
nav ul.mega-menu--multiLevel>li>a:hover>.dropdown-arrow {
    color: #fff;
}

nav ul.ps-mega-menu__sub-menu {
    position: relative;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

nav ul.ps-mega-menu__sub-menu::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 26%;
    background-color: #FFFFFFAD;
}

nav ul.ps-mega-menu__sub-menu::-webkit-scrollbar {
    display: none;
}


nav ul.ps-mega-menu__sub-menu>li>a {
    padding: 10px 40px 10px 40px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-pack: start;
    justify-content: flex-start;
    transition: all 0.5s cubic-bezier(0.48, 0.01, 0.5, 0.99);
    position: relative;
}

nav ul.ps-mega-menu__sub-menu>li>a>.link-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    color: white;
    font-family: "TitlingGothicFBCompressed", Sans-serif;
    font-size: 29px;
    font-weight: 200;
    line-height: 1.1em;
    color: var(--e-global-color-text);
}

nav ul.ps-mega-menu__sub-menu>li>a:hover {
    background-color: var(--e-global-color-primary);
}

nav ul.ps-mega-menu__sub-menu>li>a:hover>.link-text,
nav ul.ps-mega-menu__sub-menu>li>a:hover>.dropdown-arrow {
    color: #fff;
}

nav ul.ps-mega-menu__sub-menu>li>a>.dropdown-arrow {
    position: absolute;
    font-size: 20px;
    line-height: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    right: 15px;
    background-color: #FFFFFF00;
    width: 20px;
    height: 20px;
    align-self: center;
    color: var(--e-global-color-primary);
}

nav ul.mega-menu--multiLevel>li {
    width: 20%;
}

nav ul.mega-menu--multiLevel>li>[aria-haspopup="true"]~ul {
    left: 20%;
    right: 0;
    padding-left: 0;
    background-position: center left;
    background-size: cover;
}

nav ul.mega-menu--multiLevel li.ps-mega-menu__sub-menu__nav-item {
    width: 26%;
}

nav ul.mega-menu--multiLevel>li>[aria-haspopup="true"]~.service-description {
    position: absolute;
    left: 40.8%;
    right: 0;
    bottom: 8px;
}

nav ul.mega-menu--multiLevel li:hover>[aria-haspopup="true"]~ul,
nav ul.mega-menu--multiLevel>li:hover>[aria-haspopup="true"]~.service-description,
nav ul.mega-menu--multiLevel>li:hover>[aria-haspopup="true"]~.service-subnav-overlay {
    display: block;
    transform-origin: left;
    animation: flyout 0.3s ease-out;
}

nav ul.mega-menu--multiLevel [aria-haspopup="true"]~ul {
    position: absolute;
    top: 0;
    bottom: 8px;
}

nav ul.ps-mega-menu .service-subnav-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20%;
    width: 20.8%;
    background-color: #FFFFFFAD;
}

nav ul.mega-menu--multiLevel [aria-haspopup="true"]~ul,
nav ul.mega-menu--multiLevel>li>[aria-haspopup="true"]~.service-description,
nav ul.mega-menu--multiLevel>li>[aria-haspopup="true"]~.service-subnav-overlay {
    display: none;
}

nav ul.mega-menu--multiLevel .service-description .service-description-wrapper {
    background-color: #fff;
    padding: 10px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	height: 80px;
}

nav ul.mega-menu--multiLevel .service-description {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 26%;
}

nav ul.mega-menu--multiLevel li:hover>.service-description {
    display: block;
    transform-origin: left;
    animation: flyout 0.3s ease-out;
}

nav ul.mega-menu--multiLevel .service-description .service-description--left {
    width: 80%;
	display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
nav ul.mega-menu--multiLevel .service-description .service-description--left p { line-height: 1.1; }
nav ul.mega-menu--multiLevel .service-description .service-description--right {
    width: 20%;
    justify-content: flex-end;
	display: flex;
	align-items: center;
}
nav ul.mega-menu--multiLevel .service-description .service-description--right img { max-height: 60px; width: auto; }
nav ul.mega-menu--multiLevel .service-description .services-desc-title {
    color: var(--e-global-color-primary);
    color: #0067D1;
    font-family: "TTCommons", Sans-serif;
    font-size: 19px;
    font-weight: 400;
    margin: 0;
}

nav ul.mega-menu--multiLevel .service-description .services-desc-copy {
    color: var(--e-global-color-text);;
    font-family: "TTCommons", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/**
  * Animations
  */
@keyframes flyout {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}