body {
    margin: 0;
}
.ui-tooltip {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    font-weight: 300;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    padding: 10px 20px;
    position: absolute;
    z-index: 10;
    max-width: 300px;
}
.arrow:after {
    background: #fff;
    border: 1px solid #ddd;
}
.arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}
.arrow.top {
    top: -16px;
    bottom: auto;
}
.arrow.left {
    left: 20%;
}
.arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    -webkit-box-shadow: 0 0 10px 0 #bbb;
    -moz-box-shadow: 0 0 10px 0 #bbb;
    box-shadow: 0 0 10px 0 #bbb;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
}
.arrow.top:after {
    bottom: -20px;
    top: auto;
}
.table-container {
    border: 1px solid #f5f5f5;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    background-color: #f5f5f5;
    padding: 10px 0;
    max-width: 1000px;
    min-width: 320px;
    font-size: 15px;
    margin: 0 auto;
}
table.portfolio-table {
    font-size: 100%;
    font-weight: 500;
    width: 100%;
    margin: 0;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.cost, .expense-ratio {
    text-align: right;
}
.cost, .cost-background {
    background-color: rgba(0, 0, 0, .03);
}
.cost:after, .expense-ratio:after {
    content: "%";
}
.cost.adv:before {
    content: "$";
}
.cost.adv:after {
    content: "";
}
.industry-avg {
    background-color: #eff4f9;
    color: #333;
}
.primary {
    background-color: #fff;
    color: #30363d;
}
.secondary {
    background-color: #fff;
    color: #2179ee;
}
.portfolio-table td.asset-class {
    color: #333;
    font-weight: 700;
    font-size: 110%;
    padding-left: 15px;
    background-color: #fff;
    width: 30%;
}
td.asset-color {
    width: 3%;
    padding: 0;
}
th.etf-column {
    width: 16%;
}
td.index-text {
    font-size: 85%;
    font-weight: 500;
}
.taxable-bonds, .ira-stocks, .ira-bonds {
    display: none;
}
.legend-toggle-container {
    margin: 0 4%;
    width: 92%;
}
.legend-container, .controls-container {
    display: inline-block;
}
.legend-container {
    width: 29%;
    vertical-align: top;
    margin-bottom: 10px;
}
.legend-container p {
    margin: 0 0 3px 7px;
    font-weight: 700;
}
.controls-container {
    width: 70%;
    min-width: 320px;
    float: right;
}
.account-cont, .asset-cont {
    display: inline-block;
    width: 49%;
    text-align: center;
    min-width: 190px;
    float: right;
}
.cost-toggle {
    width: 50%;
    float: right;
    text-align: center;
    margin: 10px 0;
    font-size: 90%;
}
@media (max-width: 600px) {
    .legend-container, .controls-container {
        width: 100%;
    }
    .table-container {
        font-size: 14px;
    }
}
@media (max-width: 440px) {
    .account-cont, .asset-cont {
        width: 100%;
        margin-bottom: 15px;
    }
    .cost-toggle {
        display: none;
    }
    .index-collapse {
        display: none;
    }
    .table-container {
        font-size: 13px;
    }
}
p.toggle-label {
    margin: 0 0 5px;
    font-weight: 700;
}
table.legend {
    border: 1px solid #e6e6e6;
    font-size: 100%;
    font-weight: 500;
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    vertical-align: middle;
    margin: 0 0 10px;
}
.legend td {
    padding: 8px;
}
.asset-circle {
    border-radius: 50%;
    width: 13px;
    height: 13px;
    background: #ccc;
    display: inline-block;
    margin: 0 10px 0 0;
}
.vti {
    background: #bce577;
}
.ive {
    background: #96d363;
}
.iws {
    background: #74b503;
}
.iwn {
    background: #50891e;
}
.vea {
    background: #035d0e;
}
.vwo {
    background: #0c3911;
}
.shv {
    background: #e0edf9;
}
.vtip {
    background: #add6ff;
}
.agg {
    background: #70b8ff;
}
.lqd {
    background: #1f8fff;
}
.bndx {
    background: #005cb8;
}
.vwob {
    background: #003366;
}
th.extra-left-padding {
    padding-left: 15px;
}
.title-container {
    margin: 0 4%;
    width: 92%;
}
.title-container h3 {
    font-size: 160%;
    text-align: center;
    font-weight: 500;
    color: #30363d;
    margin: 10px 0 20px;
}
.title-container p {
    margin: 0 0 3% 0;
    font-weight: 500;
    color: #333;
}
.data-source {
    font-size: 90%;
    font-weight: 500;
    color: #666;
    padding: 20px 5% 10px;
    width: 90%;
}
td {
    border-bottom: none;
}
tr {
    border-bottom: 1px solid #e6e6e6;
}
body > div > table > tbody.main-toggle > tr:hover {
    font-weight: 900;
    border-bottom: 1px solid #30363d;
}
tr:hover td.asset-class, tr.tableizer-firstrow:hover, td.asset-color {
    border-bottom: 1px solid #e6e6e6;
}
th.expense {
    width: 70px;
}
