/* -------------------------------- *
 * -- styles for navigation pane -- *
 * -------------------------------- */

div#navpaneRootPanel {
    height: inherit;
    width: 100%;
    /*
    position:relative;
    */
    background-color: var(--np-background);
    top: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.SideSection {
    flex-basis: 12.7%;
    display: flex;
    height: inherit;
    flex-grow: 1;
}

.Left {
    justify-content: flex-start;
}

.Right {
    justify-content: flex-end;
}

.MiddleSection {
    height: 82px;
    flex-basis: 72.6%;
    display: flex;
    justify-content: stretch;
}

.SideSection.Left div.CustomerLogo {
    display: flex;
    height: 74px;
    margin-left: 10px;
    margin-top: 4px;
}

div.CustomerLogo, div.CustomerLogo img.CustomerLogoImg,
div.CustomerLogo, div.CustomerLogo svg.CustomerLogoSvg,
div.CustomerLogo a.CustomerLogoHomepageLink,
div.CustomerLogo a.CustomerLogoHomepageLink img.CustomerLogoImg,
div.CustomerLogo a.CustomerLogoHomepageLink svg.CustomerLogoSvg{
    height: inherit;
}

div.NavpaneTile {
    margin: 0;
    font-size: 12px;
    text-decoration: none;
    background-color: transparent;
    position: relative;
    height: 82px;
    float: left;
    flex-grow: 1;
}

div.NavpaneTile svg {
    display: block;
}

div.NavpaneTile.BigTile {
    width: -webkit-fill-available;
}

div.NavpaneTile.BigTile svg {
    height: 32px;
    width: 32px;
}

div.NavpaneTile.SmallTile {
    width: 38px;
    min-width: 38px;
    flex-basis: 38px;
    max-width: 38px;
}

div.NavpaneTile.SmallTile svg {
    height: 26px;
    width: 26px;
}

a.BigTileLink, a.SmallTileLink {
    text-align: center;
    align-items: center;
    background-color: var(--np-tile-bg);
    font-weight: bold;
    height: 82px;
    display: flex;
    line-height: 1;
    flex-direction: column;
    justify-content: center;
    width: auto;
}

a.BigTileLink .NavpaneCaption {
    color: var(--np-tile-caption);
    font-size: 15px;
    text-transform: uppercase;
    padding-left: 10px;
    padding-right: 10px;
}

a.BigTileLink:hover, a.SmallTileLink:hover,
div.NavpaneTile.Active a.BigTileLink,
div.NavpaneTile.Active a.SmallTileLink,
a.SmallTileLink.ActiveTile {
    background-color: var(--np-tile-hover);
}

a.BigTileLink:hover .NavpaneCaption,
.Active a.BigTileLink .NavpaneCaption, a.BigTileLink.ActiveTile .NavpaneCaption {
    color: var(--np-tile-caption-hover);
}

div.NavpaneTile a svg .IconSVG {
    fill: var(--np-tile-icon);
}

div.NavpaneTile a:hover svg .IconSVG,
div.NavpaneTile.Active a svg .IconSVG,
div.NavpaneTile a.ActiveTile svg .IconSVG {
    fill: var(--np-tile-hover-icon);
}

#searchTile {
    max-width: 38px;
    min-width: 38px;
}

#searchTile a.SmallTileLink {
    position: relative;
}

#searchTile a.SmallTileLink svg {
    position: absolute;
    height: 30px;
    width: 30px;
}

#searchTile a.SmallTileLink:hover {
    background-color: var(--np-search-hover-active);
}

#searchTile a.SmallTileLink:hover svg .IconSVG {
    fill: var(--np-search-icon);
}

.SearchExpanded #searchTile a.SmallTileLink {
    background-color: var(--np-search-hover-active);
}

.SearchExpanded #searchTile a.SmallTileLink svg .IconSVG {
    fill: var(--np-search-icon);
}

.SearchExpanded #searchTile a.SmallTileLink:hover {
    background-color: var(--np-search-expand-hover);
}

.SearchExpanded #searchTile a.SmallTileLink:hover svg .IconSVG {
    fill: var(--np-search-expand-icon-hover);
}

#roleSelectionTile a.SmallTileLink,
#languageSelectionTile a.SmallTileLink,
#customPropertySelectionTile a.SmallTileLink {
    hyphens: auto;
    overflow-wrap: break-word;
    padding-right: unset;
}

#languageSelectionTile a.SmallTileLink {
    position: relative;
    overflow: hidden;
    width: 38px;
}

#personalizationTile {
    flex-basis: auto;
    max-height: 82px;
    height: 82px;
    max-width: fit-content;
}

#personalizationTile a.UserProfileLink,
#personalizationTile a.UserProfileLink:link,
#personalizationTile a.UserProfileLink:visited {
    background-color: var(--np-profile-bg);
	display: flex;
    max-width: fit-content;
    flex-direction: row-reverse;
    max-height: 50px;
    min-height: 50px;
	padding: 16px 0;
}

#personalizationTile a.UserProfileLink:hover,
#personalizationTile a.UserProfileLink:active,
#personalizationTile a.UserProfileLink:focus {
    background-color: var(--np-profile-bg-hover);
    color: var(--np-profile-text-hover);
}

#personalizationTile a.UserProfileLink .UserAvatar {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    margin-left: 5px;
    margin-right: 5px;
    float: right;
}

#personalizationTile a.UserProfileLink .UserAvatar img.UserAvatarImage {
    position: static;
    display: block;
    width: inherit;
    height: inherit;
}

#personalizationTile a.UserProfileLink .UserAvatar svg.UserAvatarDefaultImage {
    position: static;
    display: block;
    width: 60px;
    height: 60px;
    margin-top: -5px;
    margin-left: -5px;
}

#personalizationTile a.UserProfileLink .UserAvatar svg.UserAvatarDefaultImage .IconSVG,
#personalizationTile a.UserProfileLink:link .UserAvatar svg.UserAvatarDefaultImage .IconSVG,
#personalizationTile a.UserProfileLink:visited .UserAvatar svg.UserAvatarDefaultImage .IconSVG {
    fill: var(--np-profile-icon);
}

#personalizationTile a.UserProfileLink:hover .UserAvatar svg.UserAvatarDefaultImage .IconSVG,
#personalizationTile a.UserProfileLink:active .UserAvatar svg.UserAvatarDefaultImage .IconSVG,
#personalizationTile a.UserProfileLink:focus .UserAvatar svg.UserAvatarDefaultImage .IconSVG {
    fill: var(--np-profile-icon-hover);
}

#personalizationTile .UserData {
    margin: 0;
    max-height: 50px;
    justify-content: center;
    text-align: left;
}

#personalizationTile .UserData p {
    white-space: nowrap;
    text-transform: none;
    color: var(--np-profile-user-text);
    padding-right: 5px;
    font-size: 12px;
    line-height: 1.4;
}

#personalizationTile a.UserProfileLink:active .UserData p,
#personalizationTile a.UserProfileLink:focus .UserData p,
#personalizationTile a.UserProfileLink:hover .UserData p {
    color: var(--np-profile-user-text-hover);
}

#personalizationTile .UserData p.UserName {
    font-weight: bold;
}

#personalizationTile .UserData p.UserRole, #personalizationTile .UserData p.UserLanguage {
}

#navMenuContent,
div#navPaneTouchBorder,
div#navPaneTouchBorderMarker, div#navpaneButton,
#navPaneInvisibleTouchExtension {
    display: none;
}

#navMenuTile {
    width: 0;
    max-width: 0;
    height: 0;
    max-height: 0;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
}

#navMenuTile a.SmallTileLink.NavMenuButton {
    height: inherit;
    width: inherit;
    overflow: hidden
}

#navMenuTile a.SmallTileLink.NavMenuButton div.MenuIcon,
#navMenuTile a.SmallTileLink.NavMenuButton div.CloseIcon {
    height: 0;
    width: 0;
    display: none;
}


@media screen and (min-width: 768px) and (max-width: 1534px) {
    #personalizationTile {
        width: 60px;
    }

    #personalizationTile .UserData {
        display: none;
    }

    #personalizationTile a.UserProfileLink {
		padding: 16px 0;
	}
}

/* Desktop Display < 1024px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    a.BigTileLink .NavpaneCaption {
        font-size: 13px;
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media screen and (min-width: 1395px) {
    div#navpaneRootPanel {
        display: block;
    }

    .SideSection {
        display: block;
        position: fixed;
        top: 0
	}

    .Left {
        justify-content: flex-start;
        float: left;
        left: 0;
        max-width: 82px;
    }

    .Right {
        justify-content: flex-end;
        float: right;
        right: 0;
        max-width: 136px;
    }

    .MiddleSection {
        margin: 0 auto;
        width: 1004px;
    }

}

@media screen and (min-width: 1535px) {
    #personalizationTile .UserData {
        width: 120px;
    }

    .Right {
        max-width: unset;
        width: auto;
    }
}

/* Mobile Display < 768px */
@media screen and (min-width: 0px) and (max-width: 767px) {
    div.NavpaneTile {
        height: 50px;
    }

    div#navpaneRootPanel {
        height: 50px;
    }

    .MiddleSection {
        height: 50px;
        flex-basis: 38px;
        max-width: 38px;
        min-width: 38px;
    }

    .SideSection.Left div.CustomerLogo {
        height: 40px;
        margin-top: 4px;
        overflow: hidden;
    }

    .SideSection.Left div.CustomerLogo{
        height:47px;
        margin-top:1px;
    }

    .SideSection.Left div.CustomerLogo img.CustomerLogoImg,
    .SideSection.Left div.CustomerLogo svg.CustomerLogoSvg,
    .SideSection.Left div.CustomerLogo a.CustomerLogoHomepageLink,
    .SideSection.Left div.CustomerLogo a.CustomerLogoHomepageLink img.CustomerLogoImg,
    .SideSection.Left div.CustomerLogo a.CustomerLogoHomepageLink svg.CustomerLogoSvg{
        height: 47px;
    }

    .SideSection.Right {
        flex-basis: 126px;
        max-width: 126px;
        min-width: 126px;
    }

    div.NavpaneTile.BigTile {
        width: 0;
        height: 50px;
        display: block;
        max-height: 0;
        max-width: 0;
        overflow: hidden;
    }

    div.NavpaneTile.SmallTile {
        flex-direction: row-reverse;
        width: 38px;
        margin: 0;
        font-size: 12px;
        text-decoration: none;
        background-color: transparent;
        float: left;
    }

    a.BigTileLink, a.SmallTileLink {
        height: 50px;
    }

    div.NavpaneTile.SmallTile a.SmallTileLink,
    div.NavpaneTile.SmallTile a.SmallTileLink:link,
    div.NavpaneTile.SmallTile a.SmallTileLink:visited {
        padding: unset;
        border: 0;
        width: auto;
    }

    div.NavpaneTile.SmallTile.Active a.SmallTileLink {
        background-color: var(--np-mobile-small-tile-bg);
    }

    div.NavpaneTile.SmallTile.Active a.SmallTileLink svg .IconSVG {
        fill: var(--np-mobile-small-tile-icon);
    }

    #languageSelectMenuButton {
        padding-right: unset;
        align-items: center;
    }

    #languageSelectMenuButton svg {
        height: 45px;
    }

    .languageCaption {
        display: none;
    }

    .MenuOpened.SearchExpanded #searchTile a.SmallTileLink {
        background-color: var(--np-mobile-search-expand);
    }

    .MenuOpened.SearchExpanded #searchTile a.SmallTileLink svg .IconSVG {
        fill: var(--np-mobile-search-expand-icon);
    }

    .MenuOpened.SearchExpanded #searchTile a.SmallTileLink:hover {
        background-color: var(--np-mobile-search-expand-hover);
    }

    .MenuOpened.SearchExpanded #searchTile a.SmallTileLink:hover svg .IconSVG {
        fill: var(--np-mobile-search-expand-icon-hover);
    }

    #personalizationTile {
        width: 50px;
        height: 50px;
    }

    #personalizationTile a.UserProfileLink,
    #personalizationTile a.UserProfileLink:link,
    #personalizationTile a.UserProfileLink:visited {
        padding-top: 0;
        padding-bottom: 0;
    }

    #personalizationTile a.UserProfileLink .UserAvatar {
        margin: 0;
    }

    /*	#personalizationTile .UserAvatar img.UserAvatarImage,
        #personalizationTile .UserAvatar svg.UserAvatarDefaultImage{
            position: static;
            display: block;
            width: inherit;
            height: inherit;
        }*/
    #personalizationTile .UserData {
        display: none;
    }

    #navMenuTile {
        width: 50px;
        max-width: 50px;
        height: 50px;
        max-height: 50px;
        overflow: hidden;
        min-width: 0;
        min-height: 0;
    }

    #navMenuTile a.SmallTileLink.NavMenuButton {
        height: inherit;
        width: inherit;
        overflow: hidden
    }

    #navMenuTile a.SmallTileLink.NavMenuButton div.MenuIcon {
        width: 32px;
        height: 32px;
        margin: 4px;
        display: block;
    }

    #navMenuTile a.SmallTileLink.NavMenuButton div.CloseIcon {
        width: 0;
        height: 0;
        display: none;
    }

    #navMenuTile a.SmallTileLink.NavMenuButton div.MenuIcon svg,
    #navMenuTile a.SmallTileLink.NavMenuButton div.CloseIcon svg {
        width: inherit;
        height: inherit;
        display: inherit;
    }

    #navMenuTile a.SmallTileLink.NavMenuButton.MenuOpened div.MenuIcon {
        width: 0;
        height: 0;
        margin: 0;
        display: none;
    }

    #navMenuTile a.SmallTileLink.NavMenuButton.MenuOpened div.CloseIcon {
        height: 50px;
        width: 50px;
        display: block;
    }

    #navMenuContent {
        top: 50px;
        bottom: 0;
        left: 0;
        right: 0;
        position: fixed;
        background-color: transparent;
        z-index: 99;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        box-sizing: border-box;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        box-shadow: none;
        height: auto !important;
        padding-bottom: 0;
        margin-right: 0;
        margin-left: 0;
        overflow: hidden;
        border-top: 1px solid var(--grey-30pc);
    }

    #navMenuContent.MenuOpened {
        display: block !important;
    }

    #navMenuContent ul {
        box-sizing: border-box;
        padding-left: 0;
        list-style: none;
        float: none !important;
        text-align: center;
        margin: 0;
        background-color: var(--white);
        box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
    }
}

#navMenuContent ul li.NavMenuItem {
    box-sizing: border-box;
    list-style: none;
    position: relative;
    display: block;
    float: none;
    border-bottom: 1px solid #d5d5d5;
    width: 100%;
}

#navMenuContent ul li.NavMenuItem a.MenuItemLink {
    -webkit-tap-highlight-color: var(--np-menu-item-hover);
    font-style: normal;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
    outline: none !important;
    position: relative;
    display: block;
    font-weight: bold;
    z-index: 1;
    color: #5d5d5d;
    font-size: 26px;
    line-height: 50px;
    padding: 0;
}

#navMenuContent ul li.NavMenuItem a.MenuItemLink:hover {
    color: var(--np-menu-item-hover);
}

#navMenuContent .NavMenuShield {
    background-color: var(--black);
    opacity: 0.6;
    position: absolute;
    height: 100%;
    width: 100%;
}

/* Desktop Display 768px  */
@media screen and (min-width: 768px) {
    #navMenuContent, #navMenuContent.Show {
        display: none !important;
    }
}
