/* For top-level menu items that are PostLinks */
nav.left-nav>ul>li>form>a>svg.bd-icon {margin-right:1px;width:20px; height:20px;display:inline-block;vertical-align:middle;}

/* For child menu items that are PostLinks */
nav.left-nav ul ul li>form>a {margin-left:23px;font-size:13px;font-weight:400;outline:0}

/* For child menu items with images that are PostLinks */
.dropdown-menu>li>form>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333}
.dropdown-menu>li>form>a:focus,.dropdown-menu>li>form>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}
.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}

.dropdown-btn .dropdown-menu>li>form>a{ font-size:13px; padding:10px 14px;border-bottom:1px solid #d9dfed;}
.dropdown-btn .dropdown-menu>li>form>a:hover{ background-color:#f3f5fc;}
.dropdown-btn .dropdown-menu>li:last-child>form>a{border-bottom:0;}
.navbar-inverse .navbar-nav>li>form>a{ color:#fff; text-transform:uppercase; text-align:center;}
.navbar-inverse .navbar-nav>li>form>a>svg.bd-icon{ margin-right:5px; vertical-align:middle; font-size:18px; fill:#fff;}
.dashboard .navbar-nav.navbar-right>li>form>a>svg.bd-icon{ display:block; margin:0 auto 5px; text-align:center; width:20px;}
.dashboard .navbar-nav.navbar-right>li>form>a,.dashboard .navbar-nav.navbar-right>li>form>a:focus{border-left:1px solid #4c3c8f; font-size:12px; padding-top:18px; padding-bottom:13px;border-bottom:4px solid #250858;}
.dashboard .navbar-nav.navbar-right>li>form>a:hover,.dashboard .navbar-nav.navbar-right>.open>a, .dashboard .navbar-nav.navbar-right>.open>a:focus, .dashboard .navbar-nav.navbar-right>.open>a:hover{ color:#4c3c8f; background-color:#fff;border-bottom:4px solid #fff;border-left:1px solid #fff;fill:#4c3c8f;}
.dashboard .navbar-nav.navbar-right>li>form>a:hover svg.bd-icon,.dashboard .navbar-nav.navbar-right>.open>a svg.bd-icon, .dashboard .navbar-nav.navbar-right>.open>a:focus svg.bd-icon, .dashboard .navbar-nav.navbar-right>.open>a:hover svg.bd-icon{ /*background-color:#4c3c8f;*/fill:#4c3c8f;}
.dashboard .navbar-nav.navbar-right>li .dropdown-menu>li>form>a{ font-size:13px; color:#121113; padding-top:8px; padding-bottom:8px; display:inline-block; width:100%;}
.dashboard .navbar-nav.navbar-right>li .dropdown-menu>li>form>a>svg.bd-icon{ margin-right:10px; float:left;}
.dashboard .navbar-nav.navbar-right>li .dropdown-menu>li>form>a>span{ float:left;}
.dashboard .navbar-nav.navbar-right>li .dropdown-menu>li>form>a:focus, .dashboard .navbar-nav.navbar-right>li .dropdown-menu>li>form>a:hover{ background-color:#f3f5fc;}
nav.left-nav>ul>li>form>a b {position:absolute!important;right:10px;top:10px}
nav.left-nav>ul>li>form>a>svg.bd-icon {margin-right:1px;width:20px; height:20px;display:inline-block;vertical-align:middle;}
nav.left-nav ul ul li>form>a:focus, nav.left-nav ul ul li>form>a:hover{border-left:3px solid #a3a8b1; background-color:#f3f5fc; z-index:1; color:#4c3c8f;}
nav.left-nav ul ul li>form>a {margin-left:23px;font-size:13px;font-weight:400;outline:0}
nav ul ul li>form>a:hover {background-color:rgba(69,69,69,.8);color:#fff}
nav.left-nav>ul>li>form>a>i.transact{ background-position:0 -50px;}
nav.left-nav>ul>li>form>a>i.history{ background-position:0 -100px;}
nav.left-nav>ul>li>form>a>i.documents{ background-position:0 -150px;}
nav.left-nav>ul>li>form>a>i.offers{ background-position:0 -200px;}
nav.left-nav>ul>li>form>a>i.voting{ background-position:0 -250px;}
nav.left-nav>ul>li>form>a>i.benefit{ background-position:0 -250px;}
nav.left-nav>ul>li>form>a>i.contact{ background-position:0 -300px;}

/* fix for column width for contributionTable class when width < 1024px */
.contributionTable.table { display: table !important; }
.contributionTable.table>tfoot, .contributionTable.table>tbody, .contributionTable.table>thead { display: table-header-group !important; }
.contributionTable.table>tbody>tr, .contributionTable.table>thead>tr { display: table-row; }

.navbar-nav>li { min-width: 100px;}

.skybludBg { background-color: #fff !important; }

/* background image */

@media (max-width: 1023px) {
    .custom-bg2 { top: 90px; }
}

@media (min-width: 768px) {
    .custom-bg1 { width: 125%; }
}
@media (min-width: 992px) {
    .custom-bg1 { width: 120%; }
    .custom-bg2 { width: 125%; }
}
@media (min-width: 1200px) {
    .custom-bg1 { width: 100%; }
}

/* Internet Explorer fix for selected dropdown box */
select::-ms-value {
    background: transparent;
    color: black;
}

/* Date range styling */
.date-range .input-group-addon {
    min-width: 60px;
}

/* error colour */
.has-error .checkbox,
.has-error .checkbox-inline,
.has-error .control-label,
.has-error .help-block,
.has-error .radio,
.has-error .radio-inline,
.has-error.checkbox label,
.has-error.checkbox-inline label,
.has-error.radio label,
.has-error.radio-inline label {
    color: #d43814;
}

/* ensure ValidationMessageFor text has correct colour */
span.has-error { margin-top:9px; margin-bottom:9px; color:#d43814; font-weight:400;}

.ui-datepicker-trigger { background-color: transparent;}

/* accordian table overrides used in Documents */
.view-link {
    font-size: 12px;
    font-weight: 700;
    background-color: transparent;
    text-decoration: none;
    color: #07aa9b !important;
    border: 0;
    cursor: pointer;
}
.view-link:hover {
    text-decoration: underline;
}

.tbl-accordion td a { text-decoration: none;color: black;}
.tbl-accordion .no-child li a:hover,
.tbl-accordion-nested table li a:hover { text-decoration: underline;cursor: pointer;}

.tbl-accordion-nested .table>tbody>tr>td>ul>li.docName {width: 100%}
.tbl-accordion ul {
    list-style-type: none;
    margin-bottom: 0;
}
.tbl-accordion ul li {
    padding-left: 20px;
    text-indent: -1.4em;
}
.tbl-accordion li:before {
    font-family: 'FontAwesome';
    font-size: 13px;
    margin: 0 10px 0 -7px;
    content: '\f0f6';
}
.tbl-accordion-nested li:before {
    margin: 0 15px 0 -9px;
}

.no-child td a.btn {
     margin-left: 0 !important;
     margin-right: 0 !important;
}

.tbl-accordion .table-hover>tbody>tr>td>a.btn { padding-bottom: 3px;}
.tbl-accordion .list-inline {margin-bottom: 0}
.tbl-accordion>tbody>tr.tbl-accordion-section>td>p>span:hover{ text-decoration:none;font-weight: bold;}
.tbl-accordion td.view-btn { padding: 10px 0;}

.tbl-accordion > tbody > tr.tbl-accordion-section > td span.docTitle {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
}

.tbl-accordion td i { padding-left: 10px;}
.tbl-accordion .folder td:first-child { padding-left: 0; margin:5px 0}
.tbl-accordion .folder td.date { padding: 18px 0;}
.tbl-accordion .folder li:before { content: '\f114';}

.tbl-accordion .no-child td:first-child { padding-left: 0; margin:5px 0}
/*.tbl-accordion .no-child td.date { padding: 18px 0; font-size: 12px;}*/
.tbl-accordion-section td.date { padding: 18px 0; font-size: 12px;}
.tbl-accordion-section ul li .date {
    padding-left: 0;
    text-indent: 0;
}
.tbl-accordion .no-child li:before { content: '\f0f6';}

.tbl-accordion-nested .table>tbody>tr>td>ul {
    margin-left: 20px;
}

@media (max-width: 767px) {
    .modal-dialog { margin-top:100px }
    .view-link { font-size: 13px; }
    .no-child td p{ padding-left: 0 }
    .tbl-accordion > tbody > tr.tbl-accordion-section > td span.docTitle {
        display: inline-block;
        vertical-align: top;
        margin-left: 10px;
        font-size: 13px;
    }

    .tbl-accordion .no-child ul li, .tbl-accordion .folder ul li {
        padding-left: 0;
    }
    .tbl-accordion .no-child li:before, .tbl-accordion .folder li:before {
        margin: 0 10px 0 -7px;
    }

	.tbl-accordion>tbody>tr.tbl-accordion-section>td span.date{ font-size:12px; color: #7a7f88; }

    .tbl-accordion-nested .table>tbody>tr>td>ul { margin-left: 10px;}
}

/* login screen */
.logInForm.registered .form-group { margin-bottom: 16px }
.logInForm.registered label { margin-bottom: 4px }
.logInForm.registered hr { margin: 30px 0 10px }
.logInForm.registered .login-footer { margin: 20px 0 -25px; }

/* Default header logos */
.logoDesktop {
    background: url(../images/header-logo.png) no-repeat;
    width: 184px;
    height: 100px;
}

.logoMobile {
     background: url(../images/mob-logo.png) no-repeat;
     width: 122px;
     height: 100px;
}

#left-panel .logo-container {
    padding-bottom: 10px;
}

#left-panel .navbar-brand {
    height: 55px;
    padding: 15px;
}

#left-panel .sub-brand {
    font-size: 20px;
}


.notification-banner {
    background-color: #f9e194;
    color: #121113;
    margin: 0;
    border-radius: 0;
    text-align: center;
    padding: 7px 30px 8px 0;
    display: none;
}

.notification-button {
    background-color: #f9e194;
    color: #121113;
    border-color: black;
    margin-left: 12px;
    padding: 0 16px;
    font-weight: bold;
    font-size: 13px;
}

.form-nav-progress {
    background-color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 5px 0;
    position: fixed;
    top: 50%;
    right: 50%;
    border-style: solid;
    border-width: 1px;
    box-shadow: 3px 3px 1.5px #888888;
    z-index: 999;
}

.form-nav-progress-img {
    background-color: #f0f0f0;
    margin-right: 10px;
}

.form-nav-progress-message {
    width: auto;
}

@media screen and (min-width: 700px) and (max-width: 767px) {
    table.footable-details > tbody > tr > th {
        text-align: right;
        width: 50% !important;
        white-space: initial;
    }

    table.footable-details > tbody > tr > td {
        text-align: left;
    }
}

/* table row-separator for Transaction History  */
tr.row-separator {
    background-color: #fff !important;
    border-top: #e8edfe 2px solid;
    border-bottom: #d9dfed 5px solid;
    height: 55px;
}

/* For the Contact Us, Terms of Use and Privacy Policy modals */
.footer .modal-body a {
 color: #07aa9b;
 font-weight: 700;
 padding-left: 0;
 padding-right: 0;
}

@media (max-width: 767px) {
    .contact-details .media-body .media-object {
        margin-bottom: 5px;
        height: 50px;
        width: 50px;
    }
}

@media (min-width: 768px) {
    .contact-details .media-left .media-object {
        height: 80px;
        width: 80px;
    }
}
/* ========================================================== */

.margintop20{ margin-top: 20px !important;}
.margintop40{ margin-top: 35px !important;}

.marginbot25 { margin-bottom: 25px !important; }

/* Offer Plans page */
@media (max-width: 1023px) {
    #tblPlanDetails td {
        min-height: 37px;
    }
}

.allocationsTable.table>tbody>tr>td .form-control,
.allocationsTable.table>tfoot>tr>td .form-control { text-align:right;}

.allocationsTable.table>tfoot>tr>td .form-control {
    height:28px;
    cursor: default;
}

.icon_alert {
    fill: #250858;
}

.icon_error {
    fill: #d43814;
}

.customAlert svg.icon_error {
    width: 44px;
    height: 44px;
}

.bd-Widget {
    margin-bottom: 10px;
}

    .widget-body header {
        background-color: #fff;
        padding: 30px 30px 30px 0;
    }

    .bd-Widget header h2 {
        margin: 0;
        font-weight: 400;
        font-size: 20px;
    }

/* Fix the behaviour of radiobuttons and checkboxes */
.direct-form .radio i,
.direct-form .checkbox i {
   border-color: #121113;
 }

input[type=radio] ~ i,
input[type=checkbox] ~ i {
    cursor: pointer;
}

input[type=radio][disabled] ~ i,
input[type=checkbox][disabled] ~ i {
    border-color: #c4c9d2 !important;
    cursor: not-allowed;
}

    input[type=radio][disabled] ~ i:hover,
    input[type=checkbox][disabled] ~ i:hover {
        border-color: #c4c9d2;
    }

.direct-form .radio,
.direct-form .checkbox {
    cursor: default;
}

input[type=radio][disabled]:hover ~ i,
input[type=radio][disabled]:focus ~ i,
input[type=checkbox][disabled]:hover ~ i,
input[type=checkbox][disabled]:focus ~ i {
    border-color: #c4c9d2;
}

.direct-form .radio:active i,
.direct-form .checkbox:active i {
    background: none;
}

.allocationUnderWater {
    /*background-color: #ff0000 !important;*/
    border-color: #ff0000 !important;
    border-width: medium;
}
.allocUnderWaterMessage {
    font-weight: bolder;
    font-size: medium;
    color: red;
}

/* loading progress overlay --------------------------------------------------- */

.loading-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 3;
}

.loading-wheel {
    width: 20px;
    height: 20px;
    margin-top: -40px;
    margin-left: -40px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-width: 30px;
    border-radius: 50%;
    -webkit-animation: spin 2s linear infinite;
    border-style: double;
    border-color: #ccc transparent;
}

.loading-message {
    margin-top: 25px;
    margin-left: -35px;
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0); }
    100% { -webkit-transform: rotate(-360deg); }
}

.contributionTable.table > tbody > tr.collapse, .contributionTable.table > thead > tr.collapse {
    display: none;
}

    .contributionTable.table > tbody > tr.collapse.in.show, .contributionTable.table > thead > tr.footable-toggle-enable.group-child.row-2.in.collapse.show {
        display: table-row;
    }

.table tr.group-child {
    background: #fafafa;
}

.table-striped > tbody > tr.group-child:nth-of-type(odd) {
    background: #fafafa;
}

.table tr.group-child.first {
    -webkit-box-shadow: inset 0px 7px 15px -10px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset 0px 7px 15px -10px rgba(0, 0, 0, 0.75);
    box-shadow: inset 0px 7px 15px -10px rgba(0, 0, 0, 0.75);
}

    .table tr.group-child.last {
        -webkit-box-shadow: inset 0px -7px 15px -10px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: inset 0px -7px 15px -10px rgba(0, 0, 0, 0.75);
        box-shadow: inset 0px -7px 15px -10px rgba(0, 0, 0, 0.75);
    }

    .table tr.group-child.last[data-expanded=true] {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

.contributionTable.footable-details.table > tbody > tr.collapse, .contributionTable.footable-details.table > thead > tr.collapse {
    display: table-row;
}

.footable-details.table tr.group-child.last {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.footable-details.table tr.group-child.last:last-of-type {
    -webkit-box-shadow: inset 0px -7px 15px -10px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset 0px -7px 15px -10px rgba(0, 0, 0, 0.75);
    box-shadow: inset 0px -7px 15px -10px rgba(0, 0, 0, 0.75);
}

.footable-details.table tr.group-child.last th, .footable-details.table tr.group-child.last td {
    background-color: transparent;
}

.footable-details.table tr.group-child.last {
    background-color: #f3f5fc;
}

.contributionTable .footable-disabled .footable-toggle {
    visibility: hidden;
}

.error-panel {
    background-color: #f0f0f0;
    background-color: InfoBackground;
    color: red;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 5px 0;
    position: fixed;
    top: 50%;
    right: 50%;
    border-style: solid;
    border-width: 1px;
    box-shadow: 3px 3px 1.5px #888888;
    z-index: 999;
}

@media (min-width: 768px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 100%;
        *width: 100%;
    }
}

@media (min-width: 992px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
    }
}

/**
 *  The following is not really needed in this case
 *  Only to demonstrate the usage of @media for large screens
 */
@media (min-width: 1200px) {
    .seven-cols .col-md-1,
    .seven-cols .col-sm-1,
    .seven-cols .col-lg-1 {
        width: 14.285714285714285714285714285714%;
        *width: 14.285714285714285714285714285714%;
    }
}

/**
 *  RAN-573 - bound the client-authored offer text on the Offer page so a long
 *  offer does not push the plan table and the Apply button off the screen.
 *
 *  max-height, not height: a short offer sizes to its own content and shows
 *  neither a scrollbar nor an empty box. The ceiling is the smaller of the
 *  height 4,000 characters used to occupy (the old cap, removed by RAN-563)
 *  and 65% of the viewport, so the plan table stays in view on a laptop.
 *  65vh scales down on its own, so no separate mobile breakpoint is needed.
 *
 *  450px is measured, not guessed: this text renders at 111px per 1,000
 *  characters in a full-width offer container, so 4,000 characters is ~445px.
 *
 *  The margins separate the box from the plan table below, which otherwise
 *  sits 3px from the text. Margin, not padding, and the distinction was
 *  measured rather than assumed: padding puts the space inside the clip, but
 *  it also grows the box and pushes the plan table 30px down the page, and
 *  cancelling that with negative margins lets the clipped text bleed under the
 *  table header. Margin cannot put space inside the clipped edge - the text
 *  still meets the boundary, and mid-scroll it is cut mid-line either way,
 *  since content scrolls straight through any padding area.
 */
.offerTextScroll {
    max-height: min(450px, 65vh);
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 15px;
    margin-bottom: 15px;
}
