﻿table tr td, table tr th {
    page-break-inside: avoid;
}
.logo {
    height: 80px;
}
#PrintLogo {
    display: none;
}
#selEndDate :focus {
    outline: none;
    border: 0;
}

a {
    cursor: pointer;
}

label strong {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

public-banner.public-banner div.banner,
banner.banner div.banner,
.navigation-bar,
.investor-info,
.main-content {
    margin: 0 auto;
    max-width: 1280px;
}

.top-bar {
    z-index: 2;
}
form[name="investorDetailsForm"]
md-input-container.foreignReporting.md-input-has-value label:not(.md-no-float) {
       overflow: visible;
}

form[name="investorDetailsForm"].entityActive
md-input-container.foreignReporting md-select-value span {
    color:rgb(221,44,0);
}


login form,
forgot-password form,
password form,
success
{
    display: block;
    max-width: 600px !important;
    margin: 20px auto;
}
md-dialog {
    min-width: 600px;
    max-width: 600px;
}
/*
md-dialog {
    min-width: 750px;
    max-width: 900px;
    min-height: 300px;
}
*/
login md-card,
forgot-password md-card,
password md-card
{
    padding: 8px;
}

ul {
    margin: 0;
}

.number {
    width: 100px;
}

th {
    text-align: left;
}

th.number,
td.number {
    text-align: right;
}

    th.Image, td.Image {
        text-align: left;
        align-content: flex-start;
    }

th.fit-content, 
td.fit-content {
    width: 1%;
    white-space:nowrap;
}

td.date {
    width: 100px;
    white-space:nowrap;
}

th.two-lines{
    white-space: normal !important;
    max-width: 55px !important;  
    }
th.large_collumn{
    width: 23%;    
}

table.no-checkbox .md-checkbox-column,
table.no-checkbox .md-checkbox-cell {
    display: none;
}

.md-inline-form md-input-container{
    margin-bottom: 0;
}

.md-inline-form md-select {
    margin-bottom: 24px;
}

md-list.md-dense {
    font-size: 13px;
}

md-list.md-dense md-list-item,
md-list.md-dense md-list-item::before  {
    min-height: 32px;
}

md-list-item.intended {
    padding-left: 32px;
}

md-input-container.no-label {
    margin: 0;
}

md-input-container.no-label label {
        display: none;
}

.md-inline-form md-input-container {
    margin-bottom: -24px;
}

md-tooltip .md-content {
    height: auto;
}

.funding-actions md-list-item {
    margin-top: 8px;
    margin-bottom: 8px;
}

md-list-item .md-button.md-raised {
    margin-left: 32px;
    margin-right: 32px;
}

md-card.flex-row {
    flex-direction: row;
}

.help-icon {
    margin: 4px;
}
/*
.material-icons.active {
    color: rgba(0,166,64,0.87);
}
*/

.avialable-cash-summary-card,
.avialable-product-card {
    margin-left: 0;
}

.avialable-product-list th.md-column.order-action {
    text-align: center;
    width: 120px;
}

.avialable-product .product-fee-section {
    margin-bottom: 10px;
}

.avialable-product .product-link {
    margin: 10px 5px;
}
.avialable-product .product-links {
    margin-top: 20px;
}
.avialable-product .product-link md-icon {
    margin-right: 20px;
}

.sell-all-option span {
    margin-left: 5px;
}

.holdings-no-position {
    margin-top: 10px;
}

/* 
    Invest - Funds  
*/

.available-product-list {
    width: 100%;
}

.available-product-list .md-checkbox-column,
.available-product-list .md-checkbox-cell {
    display: none;
}

.available-product-list .md-sort-icon,
.term-deposit-holdings-list .md-sort-icon
{
    display: none;
}

.table--grid {
    table-layout: fixed;
}
input.form-control:only-child {
    border-radius: 4px;
}

.input-hint {
    font-size: 12px;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}
.input-group-addon:last-child {
    border-left: 0;

}

.input-group .form-control:first-child, .input-group-addon:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-addon {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 2px;
    /*width: 1%;*/
    white-space: nowrap;
    vertical-align: middle;
    display: table-cell;
}
abbr.input-group-addon {
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}
.input-group .form-control {    
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}
.input-group .form-control, .input-group-addon, .input-group-btn {
    display: table-cell;
}
.form-control {
    padding: 5% 10%;
    /*
    width: 100%;
    height: 50%;
 
    */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

#performance-chart-outter {
    position: relative;
    padding-bottom: 37.5%; /*this value will be overriden by highchart component. please see impl in the PortfolioPerformanceChartComponent*/
    width: 72.5%;
    float: left;
}

.performance-chart__inner {
    position: absolute;
    width: 100%;
    height: 100%;
}

.highcharts-xaxis-grid .highcharts-grid-line {
    stroke-width: 2px;
    stroke: #d8d8d8;
}

.highcharts-xaxis .highcharts-tick {
    stroke-width: 2px;
    stroke: #d8d8d8;
}

.highcharts-minor-grid-line {
    stroke-dasharray: 2, 2;
}
.form-control, output {
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    display: block;
}

.md-radio-button.md-default-theme .md-on, md-radio-button .md-on {
    background-color: rgba(0,166,64,0.87);
}
.span-msg--err {
    color: #dd2c00;
}
/* Product Image */
.available-product-list th:nth-child(2),
.available-product-list td:nth-child(2) {
    width: 245px !important;
    padding: 4px !important;
}

/* Fund name */
.available-product-list th:nth-child(3),
.available-product-list td:nth-child(3) {
    padding: 0;
    max-width: 350px;
    min-width: 30px;
}

/* Fees, Return 1Y and Return 5Y name */
.available-product-list th:nth-child(4),
.available-product-list td:nth-child(4),
.available-product-list th:nth-child(5),
.available-product-list td:nth-child(5),
.available-product-list th:nth-child(6),
.available-product-list td:nth-child(6) {
    padding: 0 !important;
    white-space: nowrap;
}

/* Download links */
.available-product-list th:nth-child(7),
.available-product-list td:nth-child(7) {
    padding: 0 12px 0 !important;
    white-space: nowrap;
}

/* Invest button */
.available-product-list th:nth-child(8),
.available-product-list td:nth-child(8) {
    padding: 0 !important;
    width: 120px;
    white-space: nowrap;
}

/* 
    Invest - Term Deposits  
*/

.term-deposit-rate-list {
    width: 100%;
}

.term-deposit-rate-list .md-sort-icon {
    display: none;
}

/* Bank Image */
.term-deposit-rate-list th:nth-child(1),
.term-deposit-rate-list td:nth-child(1) {
    width: 245px !important;
    padding: 4px !important;
}

/* Rates */
.term-deposit-rate-list th:nth-child(n+2),
.term-deposit-rate-list td:nth-child(n+2) {
    text-align: center !important;
    padding: 0 !important;
    min-width: 100px;
}

.term-deposit-rate-list td:nth-child(n+2) .md-button {
    margin: 0 !important;
}

.beta {
    color: red;
    font-size: smaller;
    text-transform: none;
}
.beta::after
{
    content: "   (Beta)";
}
.banner log-off {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: baseline;
}

img.brand-logo, .ec-component img.custom-logo {
    max-height: 30px;
}
img.brand-logo{
    max-width:50%;
}
.ec-component .orders-container {
    display: flex;
    flex-wrap: nowrap;
}
.ec-component .orders-container > div {
    text-align: center;
    padding: 3px    
}
.orders-container > div img {
    height:15px;
}

td.ec-table__cell.ec-table__cell--data.mds-data-table__cell.ng-scope.ec-table__cell--last {
    width: 18%;
}
.ec-component .orders-container .md-button {
    margin: 0px 8px
}

.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptext {
    font-size:10px;
    visibility: hidden;
    width: auto;
    background-color: #656369;
    color: #e7e6eb;
    text-align: center;
    border-radius: 3px;
    padding: 5px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 105%;
    white-space: nowrap;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
#component-container, #component-chart-container {
    height: 600px;
}

.login__content-section-container{
    padding: 0 16px 16px;
}

md-dialog.tfaDialog{
    max-width: 950px;
    padding: 20px;
    margin: 10px;
  }

.mb-0 {
    margin-bottom: 0 !important;
}