﻿
#root > div {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.page-content{
    flex:1;
}
#the-pb {
    padding-top: .5rem;
}

.page-content, .n-footer, .n-header, .n-prefooter, .n-progress {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* For Loader TEST*/
#loader {
    position: fixed;
    z-index: 99999;
    /* bottom: 0; */
    top: 0;
    left: 0;
    display: flex;
    height: 100%;
    width: 100%;
}

.cl__logo-wrapper {
    flex: 1;
    flex-direction: row;
    display: flex;
    align-items: center;
}

.cl__logo-wrapper > div:first-child {
    flex: 1;
}

button.n-button--primary {
    margin-right: 0px;
}
/* if paragraph needs linebreak*/
.line-br-mobile {
    display: none;
}


.error {
    margin-bottom: 0px;
}


/*ToolTip Styling*/
.Tooltip {
    position: absolute;
    color: var(--n-theme-color-text);
    pointer-events: none;
    background: var(--n-theme-color-white);
    border-radius: 0.4rem;
    box-shadow: var(--n-theme-shadow-depth-4);
    padding: 5px 10px;
    display: none;
    max-width: 280px;
    position: absolute;
    z-index: 20000;
    font-size: 16.5px;
    margin: 0px 16px;
}


.Tooltip .n-tooltip__arrow-wrapper {
    transform: rotate(180deg);
}

.Tooltip .n-tooltip__arrow {
    color: var(--n-theme-color-text);
    background: var(--n-theme-color-white);
}


.information-tooltip {
    margin: -5px 5px;
    cursor: default;
}

.is-tooltip {
}
/*End of ToolTip Styling*/

@media (min-width: 0px) {
    #n-header-logos-2-0 {
        max-width: 105px;
    }

    .line-br-mobile {
        display: inline;
    }
}

@media (min-width: 576px) {
    #n-header-logos-2-0 {
        max-width: 105px;
    }

    .line-br-mobile {
        display: inline;
    }
}

@media (min-width: 768px) {
    #n-header-logos-2-0 {
        max-width: 163px;
    }

    .line-br-mobile {
        display: none;
    }
}

@media (min-width: 992px) {
    #n-header-logos-2-0 {
        max-width: 163px;
    }

    .line-br-mobile {
        display: none;
    }
}

@media (min-width: 1200px) {
    #n-header-logos-2-0 {
        max-width: 163px;
    }

    .line-br-mobile {
        display: none;
    }
}




/* MODAL STYLING */


/*Modal */
#modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    opacity: .90;
    -webkit-opacity: .9;
    -moz-opacity: .9;
    filter: alpha(opacity=90);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-container {
    display: none;
    /*position: fixed;*/
    top: 0;
    left: 0;
    width: 80%;
    max-width: 800px;
    /*height: 100%;*/
    z-index: 1001;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-container .modal-content {
    background-color: white;
    box-shadow: var(--n-theme-shadow-depth-3);
    -webkit-box-shadow: var(--n-theme-shadow-depth-3);
    -moz-box-shadow: var(--n-theme-shadow-depth-3);
    position: relative;
    transform: translate(0, 0);
    transition: transform 0.1s linear, opacity 0.1s linear;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 2.6rem;
    padding: 1.6rem 0;
    height: 100%;
    border-radius: 0.25rem;
}

.modal_content_body {
    box-shadow: inset 0px -20px 18px 3px #f7f7f78f;
    max-height: 300px;
    overflow-y: auto;
}

.modal-content > * {
    padding: 1rem 5.2rem 1rem 2.6rem;
}

.nds-modal__footer {
    padding-right: 2.6rem;
}

.modal-content .close,
.TrusteeControlsDiv .close {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    transition: transform 0.1s linear, opacity 0.1s linear;
}

.modal-content .close:hover,
.TrusteeControlsDiv .close:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.05);
}

#modal-background.active {
    display: flex;
}

.modal-container.active {
    display: flex;
}


.modal-alt-section {
    display: flex;
    padding: 24px;
    margin-bottom: 18px;
}

.modal-alt-section-content {
    flex: 1;
    padding-left: 24px;
}

/* END OF MODAL STYLING*/





/*Beneficiaries Partial View*/



.beneficiary-table table {
    border-collapse: collapse;
    border: none;
    box-shadow: none;
    width: 100%;
    table-layout: auto;
}

/* White Border */
.beneficiary-table tr {
    border-bottom: 16px solid #fff;
}

.beneficiary-table th {
    background: #333;
    color: white;
    font-weight: bold;
}

.beneficiary-table td, .beneficiary-table th {
    padding: 2.4rem;
    border: none !important;
    text-align: left;
}

.beneficiary-table td > div {
    word-wrap: break-word;
}

.trustee-name {
    padding-top: 0px;
}

.trustee-name-mobile {
    display: none;
}



.beneficiary-table .action-column > div {
    display: flex;
    gap: 16px;
}

.beneficiary-table .action-column {
    float: right;
}


.beneficiary-table .en .beneficiary_percentage > div {
    width: 130px;
}

.beneficiary-table .en .beneficiary_age > div {
    width: 55px;
}

.beneficiary-table .en .beneficiary_relationship > div {
    width: 150px;
}

.beneficiary-table .en .action-column {
    width: 150px;
}

.beneficiary-table .fr .beneficiary_percentage > div {
    width: 150px;
}

.beneficiary-table .fr .beneficiary_age > div {
    width: 55px;
}

.beneficiary-table .fr .beneficiary_relationship > div {
    width: 150px;
}

.beneficiary-table .fr .action-column {
    width: 210px;
}



.beneficiary-table table tr td:first-child {
    width: 100%;
}


.beneficiary-table .beneficiary_for_tablet {
    display: none;
    border-bottom: 0px solid none;
}

.beneficiary-table .beneficiary_for_tablet .trustee-name {
    padding-top: 0px;
}

.beneficiary-table .mobile-hr {
    display: none;
}

.beneficiary-table .mobile-hr hr {
    margin: 1rem auto;
}


h1 > .tm-en::after,
h1 > .tm-fr::after {
    font-family: 'Foco';
    font-weight: 500;
}

.tm-fr::after,
.tm-en::after {
    vertical-align: super;
    font-size: .5em;
    font-weight: 600;
    font-family: 'Source Sans Pro';
}

.tm-fr::after {
    content: '\4D\43';
}

.tm-en::after {
    content: '\54\4D';
} 

@media only screen and (max-width: 991px) {
    .beneficiary-table .beneficiary_for_tablet {
        display: table-row;
        border-bottom: none;
    }

    .beneficiary-table td {
        padding-top: 16px;
    }

    .beneficiary-table .beneficiary_for_tablet td {
        padding-bottom: 0px;
    }


    .beneficiary-table :not(.beneficiary_for_tablet) .beneficiary_name {
        display: none;
    }
}
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
/*@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {*/
@media only screen and (max-width: 760px) {

    /* Force table to not be like tables anymore */
    .beneficiary-table table,
    .beneficiary-table thead,
    .beneficiary-table tbody,
    .beneficiary-table th,
    .beneficiary-table td,
    .beneficiary-table tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .beneficiary-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }


    .beneficiary-table td {
        /* Behave  like a "row" */
        border: none;
        position: relative;
    }

    .beneficiary-table td,
    .beneficiary-table th {
        padding: 5px 2.4rem;
    }

    .beneficiary-table tr {
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
    }

    .beneficiary-table .beneficiary_for_tablet {
        display: none;
        border-bottom: 0px solid none;
    }

    .beneficiary-table :not(.beneficiary_for_tablet) .beneficiary_name {
        display: block;
    }
    /*
    .action-column {
        text-align: right;
        position: absolute;
        display: block;
        right: 0;
        bottom: 19px;
    }

    .action-column > div {
        padding: 5px 2.4rem;
    }

    .action-column > div:first-child {
        margin-right: 0rem;
    }

    */

    .beneficiary-table .action-column {
        bottom: 70px;
        right: 0;
        width: 150px !important;
    }

    .beneficiary-table .action-column > div {
        flex-direction: column;
        text-align: right;
        gap: normal;
    }

    .beneficiary-table .action-column > div > * {
        padding: 5px 0px;
    }

    .beneficiary-table .trustee-name {
        display: none;
    }

    .beneficiary-table .trustee-name-mobile {
        display: block;
        width: 75%;
    }

    .beneficiary-table .forReview {
        width: 100% !important;
    }

    .beneficiary-table .mobile-hr {
        display: block;
    }
}


/****************************/







/*Product Table  Partial View*/


.table_wrapper {
    overflow-x: auto;
    width: 100%;
    box-shadow: var(--n-theme-shadow-depth-1);
    margin-bottom: 4.8rem;
}

.table_wrapper table {
    width: 100%;
    border: 0px;
    min-width: 688px;
    max-width: 1140px;
    margin-bottom: 0px;
}

.table_wrapper table thead tr th:not(:last-child) {
    background: none;
    /*width: 33%;*/
}

.table_wrapper table thead tr th.pending_coverage {
    width: 33%;
}

.table_wrapper table thead tr th:last-child {
    background: none;
    width: 175px;
    min-width: 175px;
}

.table_wrapper table thead tr th {
    border-top: 0px;
}

.table_wrapper table tbody tr td,
.table_wrapper table thead tr th,
.table_wrapper table tfoot tr th {
    border-left: 0px solid var(--n-theme-color-bg-translucent) !important;
    border-right: 0px solid var(--n-theme-color-bg-translucent) !important;
}

.table_wrapper table tbody tr td:last-child,
.table_wrapper table thead tr th:last-child,
.table_wrapper table tfoot tr th:last-child {
    text-align: right;
}

.table_wrapper table tfoot tr th:first-child {
    text-align: right;
}

.table_wrapper table tfoot tr:not(:last-child) th {
    background-color: var(--n-theme-color-bg-alt-1) !important;
}


/*Table First Column. Name and Member Type in new row*/
.table_wrapper table .applicant_data {
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
}

.table_wrapper table .coverage_amount {
    display: flex;
    align-items: center;
}

.table_wrapper table .coverage_amount > p {
    min-width: 150px;
}

.table_wrapper table .coverage_amount > span {
    min-width: 100px;
}

.table_wrapper table .coverage_amount_text {
    float: left;
}


@media (max-width: 992px) {
    .table_wrapper table .coverage_amount {
        flex-direction: column;
        align-items: baseline;
    }

    .table_wrapper table thead tr th:first-child {
        width: auto !important;
    }

    .table_wrapper table thead tr th:not(:last-child) {
        width: 25%;
    }

    .table_wrapper table thead tr th:last-child {
        min-width: 100px;
        width: 100px;
    }
}


/****************************/
