﻿html, body {
    height: 100%;
}

body {
    position: relative;
}

.masterbackgroundImage {
    background-image: url("../../Images/corner-mesh.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    bottom: 0px;
    right: 0px;
    position: fixed;
    z-index: -1;
    filter: hue-rotate(180deg);
    height: 90%;
    width: 90%;
    background-size: contain;
}

@media screen and (max-width: 768px) {
    .small-fullWidth {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.staticMasterContentContainer {
    margin-top: 10px;
}

@media screen and (min-width: 768px) {
    .topContentContainer {
        position: fixed;
        left: 250px;
        right: 0px;
        top: 0px;
        z-index: 101;
    }

    .staticMasterTopContentContainer {
        position: fixed;
        left: 0px;
        right: 0px;
        top: 0px;
        z-index: 101;
    }

    .contentContainer {
        margin-left: 250px;
        margin-top: 70px;
    }

    .staticMasterContentContainer {
        margin-top: 75px;
    }
}

.nav {
    float: left;
}

.navbar-header {
    background-color: var(--headerBackground);
}

.navbar a {
    text-decoration: none;
}

.static > a {
    color: var(--menuLinkColor) !important;
    outline: none;
}

.static:hover > a.level2, a.level2:focus {
    color: var(--menuLinkHoverColor) !important; 
}

.level1.nav.static {
    outline: none;
}

.navbar {
    border-radius: 0px;
    background: rgba(62, 62, 66, 1);
    border: none;
    margin-bottom: 0px;
    background-color: var(--headerBackground);
}

.nav > li > a.level2 {
    padding: 0px !important;
}

    .nav > li > a.level2 > span {
        display: block;
        padding: 5px 15px 5px 10px;
    }

@media screen and (max-width: 767px) {
    .nav > li > a {
        padding: 0px;
    }

        .nav > li > a.level2 > span {
            padding: 10px 15px;
        }
}

.nav > li > a[href]:hover,
.nav > li > a[href]:not([target="_blank"]):focus {
    background-color: var(--menuLinkHoverBackgroundColor) !important;
}

/* Do not show focus color on menu links that open new windows */
.nav > li > a:focus {
    background-color: inherit;
}

.navbar-collapse {
    background: var(--menuBackground) !important;
    padding-bottom: 10px;
}

.navbar-toggle .icon-bar {
    background-color: var(--headerTextColor) !important;
}

@media screen and (min-width: 768px) {
    #navHeightContainer {
        overflow-y: auto !important;
        height: calc(100% - 94px);
    }

    .navbar {
        border-radius: 0px !important;
        margin-bottom: 0px;
        position: fixed;
        top: 0px;
        left: 0px;
        bottom: 0px;
        width: 250px;
        border: none;
        box-shadow: none;
        background: var(--menuBackground);
        z-index: 101;
        border-right: 1px solid lightgray;
    }

    .navbar-text {
        float: none !important;
        margin-left: 0px !important;
        margin-bottom: 0px !important;
    }

    .nav a {
        padding: 4px !important;
        color: var(--menuLinkColor) !important;
    }        

    .nav a.level1 {
        cursor: default;
        background: none !important;
        font-weight: 600;
        font-size: 15px;
        display: block !important;
        margin-right: 0px !important;
    }

    .nav a.selected {
        background-color: var(--menuLinkSelectedBackgroundColor) !important;
        color: #343434 !important;
    }
        .nav a.selected.highlighted {
            background-color: var(--menuLinkHoverBackgroundColor) !important;
        }

    .nav .singleParent:hover {
        background: var(--menuLinkHoverBackgroundColor) !important;
        color: #343434 !important;
        cursor: pointer;
        display: block;
    }

    .nav .level2 {
        margin-left: 15px;
    }
}

.headerSection {
    color: var(--headerTextColor);
    font-size: 16px;
    padding-top: 17px;
    float: right;
    white-space: nowrap;
    padding-right: 15px;
}

.commonAreaContainer {
    background: var(--headerBackground);
}


@media screen and (min-width: 768px) {
    .commonAreaContainer {
        height: 60px;
        margin-top: 0px !important;
        display: flex;
        justify-content: space-between;
    }
}

.payeeContainer,
.fundContainer {
    font-size: 18px;
    color: var(--menuLinkColor);
    margin-top: 7px;
    margin-left: 15px;
    padding: 5px 6px 4px 5px;
    cursor: default;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .payeeContainer,
    .fundContainer {
        padding: 0px;
        margin: 0px;
    }
}

.personName {
    font-size: 18px;
    color: white;
    margin-left: 15px;
    padding: 5px 6px 4px 5px;
    cursor: default;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

    .personName > div {
        margin-top: 12px;
    }

@media screen and (min-width: 768px) {
    .personName {
        margin-top: 12px;
    }

        .personName > div {
            display: inline-block;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-top: 0px;
        }
}

@media screen and (max-width: 768px) {
    .personNameLabel {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        margin-right: 25px;
    }
}

.staticBenefitLabel {
    color: var(--headerTextColor);
    padding-top:5px;
    padding-left: 10px;
}

.benefitPicker,
.fundPicker {
    position: relative;
    cursor: pointer !important;
}

@media screen and (max-width: 768px) {
    .benefitPicker,
    .staticBenefitLabel,
    .fundPicker {
        margin-left: 0px;
        width: 100%;
        margin-top: 0px;
        padding: 18px 6px 18px 15px;
        background-color: var(--menuLinkHoverBackgroundColor);
        border-bottom: 1px solid lightgray;
    }

    .staticBenefitLabel {
        padding: 18px 6px 18px 18px;
        color: var(--menuLinkColor);
    }
}

.benefitPicker:hover,
.fundPicker:hover {
    background-color: var(--headerBackgroundLighten);
}

@media screen and (max-width: 767px) {
    .benefitPicker:hover,
    .fundPicker:hover {
        background: #cacaca;
    }
}

.currentFundContainer,
.currentBenefitContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.currentBenefitLabel,
.currentFundLabel {
    display: inline-block;
    padding: 5px 10px;
    color: var(--headerTextColor);
}

@media screen and (max-width: 767px) {
    .currentBenefitLabel,
    .currentFundLabel {
        color: var(--menuLinkColor);
    }
}

@media screen and (max-width: 768px) {
    .currentBenefitLabel,
    .currentFundLabel {
        padding: 0px 0px 0px 3px;
        width: calc(100% - 40px);
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

.benefitPickerDropDownImage,
.fundPickerDropDownImage {
    padding-right: 12px;
}

@media screen and (max-width: 768px) {
    .benefitPickerDropDownImage,
    .fundPickerDropDownImage {
        filter: brightness(0);
    }
}

.benefitPickerDropDown,
.fundPickerDropDown {
    position: absolute;
    top: 34px;
    left: 0px;
    background-color: var(--menuBackground);
    padding: 10px;
    min-width: 100%;
    display: none;
    cursor: default;
    z-index: 1011;
    border: 1px solid lightgray;
}

@media screen and (max-width: 768px) {
    .benefitPickerDropDown,
    .fundPickerDropDown {
        top: 58px;
        max-width: 100%;
    }
}

.benefitDropDownItem, 
.fundDropDownItem {
    font-size: 14px;
    padding: 7.5px 15px 7.5px 10px;
    color: var(--menuLinkColor);
    text-decoration: none;
    display: block;
    outline: none !important;
}

@media screen and (max-width: 767px) {
    .benefitDropDownItem,
    .fundDropDownItem {
        font-size: 16px;
        padding: 15px 10px;
    }
}

@media screen and (min-width: 768px) {
    .benefitDropDownItem,
    .fundDropDownItem {
        white-space: nowrap;
    }
}

@media screen and (max-width: 767px) {
    .fundLabel {
        margin-left: 0px;
    }
}

@media screen and (min-width: 768px) {
    .fundLabel {
        margin-left: 5%;
    }
}

.benefitDropDownItem.indented {
    margin-left: 10px;
    margin-right: 10px;
}

.benefitDropDownItem:hover, .benefitDropDownItem:focus, .benefitDropDownItem:active,
.fundDropDownItem:hover, .fundDropDownItem:focus, .fundDropDownItem:active {
    background: var(--menuLinkHoverBackgroundColor);
    color: var(--menuLinkHoverColor);
    text-decoration: none;
}

.benefitTypeSeparator {
    font-size: 16px;
    padding: 5px;
    font-weight: 600;
    cursor: default;
}

.logoContainer {
    height: 60px;
    padding-top: 13px;
    padding-left: 30px;
    background: var(--headerBackground);
    margin-right: -1px;
    
}

.menuLabel {
    display: inline-block;
    padding: 5px 10px 6px 10px;
    white-space: nowrap;
}

.userNameLabel {
    display: inline-block;
    padding-left: 5px;
    white-space: nowrap;
    color: var(--headerTextColor);
}

.accountMenu {
    color: white;
    display: inline-block;
    cursor: pointer;
    margin-top: -5px;
}

.accountMenuHover {
    background-color: var(--headerBackgroundLighten);
}

.accountMenuDropDown {
    position: absolute;
    top: 45px;
    right: 15px;
    background-color: var(--menuBackground);
    padding: 10px;
    display: none;
    text-align: left;
    min-width: 175px;
    border: 1px solid lightgray;
}

.accountMenuItem {
    font-size: 14px;
    padding: 5px 15px 5px 5px;
    color: var(--menuLinkColor) !important;
    text-decoration: none;
    display: block;
    outline: none !important;
}

    .accountMenuItem:focus {
        color: white;
        text-decoration: none;
    }

    .accountMenuItem:hover {
        background: var(--menuLinkHoverBackgroundColor) !important;
        color: var(--menuLinkHoverColor);
        text-decoration: none;
    }

.title {
    color: #002355;
    margin-left: 250px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.50);
    line-height: 60px;
    vertical-align: middle;
}

.trimmedCombo {
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    width: 100%;
}

.contentBackground {
    display: inline-block;
    min-width: 100%;
}

.logoAndTitleDiv {
    padding-right: 5px;
}

@media screen and (min-width: 992px) and (max-width:1199px) {
    .title {
        font-size: 30px;
    }
}

@media screen and (min-width: 768px) and (max-width:991px) {
    .title {
        font-size: 25px;
        margin-left: 200px;
    }
}

.mobilelogo {
    padding: 4px;
}

@-ms-viewport {
    width: device-width;
}

.btn {
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 12px;

    background-image: none !important;
    border: none !important;
}

.btn-primary {
    background-color: var(--primaryButtonBackgroundColor) !important;
    color: var(--primaryButtonTextColor) !important
}

    .btn-primary:hover {
        background-color: var(--primaryButtonHoverBackgroundColor) !important;
        color: var(--primaryButtonHoverTextColor) !important
    }

    .btn-primary:focus,
    .btn-secondary:focus {
        outline-offset: initial !important;
    }

.btn-secondary {
    background-color: var(--secondaryButtonBackgroundColor) !important;
    color: var(--secondaryButtonTextColor) !important
}

    .btn-secondary:hover {
        background-color: var(--secondaryButtonHoverBackgroundColor) !important;
        color: var(--secondaryButtonHoverTextColor) !important
    }

.btn.btn-xs {
    height: inherit;
}

/* restore height and padding */
.input-group-btn .btn {
    height: auto;
    padding-top: 6px;
}

.buttonbar {
    padding: 12px 0px 4px 0px;
}

.debug {
    border: 1px solid red;
}

.loginFailure {
    color: red;
    font-size: small;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    display: block;
}

@media screen and (min-width: 768px) {
    .loginFailure {
        margin-top: 30px;
        position: absolute;
        text-align: left;
    }
}

.noSizing {
    width: auto !important;
}

.row-centered {
    text-align: center;
}

.col-centered {
    display: inline-block;
    float: none;
    /* reset the text-align */
    text-align: left;
    /* inline-block space fix */
    margin-right: -4px;
}

.fieldLabel + div {
}

@media screen and (max-width: 991px) {
    /* small devies, force to not behave like a table anymore */
    table.flextable, .flextable thead, .flextable tbody, .flextable th,
    table.flextable td, .flextable tr {
        display: block;
    }

        table.flextable thead tr {
            display: none;
        }


        table.flextable td {
            border: none;
            border-bottom: 1px solid #eee;
            position: relative;
        }

        table.flextable tr:nth-of-type(odd) {
            background: #ddd;
        }

        table.flextable td:before {
            position: absolute;
            top: 6px;
            left: 6px;
            width: 25%;
            padding-right: 10px;
            white-space: nowrap;
        }

    .flextableHideColon {
        display: none;
    }

    .contributionName {
        text-align: center;
        font-weight: bold;
    }
}

.tablehack .fieldLabel {
    padding-right: 10px;
}

    .tablehack .fieldLabel hr {
        margin: 0px;
    }

.tablehack th {
    padding-left: 4px;
    padding-right: 4px;
}

.tablehack td {
    padding-left: 4px;
    padding-right: 4px;
}

.tablehack table {
    border-color: lightgray;
    margin: 0 auto;
    font-size: smaller;
}

    .tablehack table tr td {
        border-color: lightgray;
    }

.headerCenter {
    text-align: center !important;
}

.headerRight {
    text-align: right !important;
}

.scollTopIcon {
    position: fixed;
    bottom: 20px;
    right: 30px;
    background-color: var(--headerBackground);
    border-radius: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
}

.hideOnImpersonation {
    display: none;
}

.authenticatorCode {
    width: 7em !important;
}

.verificationCode input {
    font-size: 125%;
    width: 5em;
    letter-spacing: 5px;
    vertical-align: middle;
    text-align: center;
}

.verificationCode a {
    text-decoration: underline;
    font-size: 11px;
}

.textbox {
    border-radius: 3px;
    padding: 3px;
    border: 1px solid #006064;
}

.siteMapContent > span span:nth-child(3) {
    display: none;
}

.centeredPanelContainer {
    display: inline-block;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

    .centeredPanelContainer > div {
        max-width: 750px;
    }

.userNotification {
    background-color: white;
    border: 1px solid lightgrey;
    box-shadow: -1px 2px 5px 0px rgb(175,175,175);
    border-radius: 2px;
    padding: 10px 20px 10px 20px;
    margin-bottom: 10px;
    cursor: default;
    font-size: 12px;
}

    .userNotification.clickable:hover {
        cursor: pointer;
        background-color: rgba(102, 175, 233, 0.4);
    }

    .userNotification .notificationDescription {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 5px;
    }

/* overlap an hr following the span*/
.overlapLine {
    display: block;
    margin-left: 13px;
    margin-bottom: -30px;
}
    /* color is filterPanel color */
    .overlapLine > span {
        background-color: #f7f7f7;
        padding: 0 3px;
    }

.dropBalance {
    font-size: x-large;
    color: green;
    text-shadow: 0px 1px 3px rgba(0,0,0,.2);
}

.current-page-highlight {
    background-color: var(--menuLinkSelectedBackgroundColor);
    color: var(--menuLinkHoverColor);
}

    .current-page-highlight:hover {
        background-color: var(--menuLinkHoverBackgroundColor);
    }

#footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    font-size: 12px;
    padding: 7px 15px;
    z-index: 101;
    background-color: var(--footerBackgroundColor);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    #footer a {
        outline: none;
        text-decoration: none;
    }

        #footer a:hover {
            text-decoration: underline;
        }

    #footer, #footer a {
        color: var(--footerColor);
    }

        #footer.staticMaster {
            bottom: 0px;
            left: 0px;
            right: 0px;
            width: auto;
            background-color: #fafafa;
            color: gray;
        }

            #footer.staticMaster div {
                display: inline-block;
            }

            #footer.staticMaster a {
                color: gray;
            }

.footerDebug {
    font-size: 10px;
    margin-right: -5px;
}

.footerDivider {
    height: 10px;
    margin: 0px 10px 8px 10px;
    border-bottom: 1px solid lightgray;
}

#lrsLogo {
    margin: -1px 4px 1px 1px;
}

.outside-panel-text {
    backdrop-filter: blur(2px);
    padding: 5px;
    border-radius: 10px;
    display: inline-block;
}