
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body{
  background:#fff;
  margin:0 auto;
  padding:24px;
  font-family: Arial, sans-serif;
  max-width:1440px;
}
code {white-space: pre-line;
line-height: 1.5}
th .primary,
td .primary{
  display: inline-block;
  line-height: 1.2em;
}

th .secondary,
td .secondary{
  display: block;
  font-size: 14px;
  color:#666;
}
.checklabel{
  display: inline-block;
  padding: 10px;
}
th .secondary.green,
td .secondary.green{
  color:#008800;
}
th .secondary.red,
td .secondary.red{
  color:#cc0000;
}

@keyframes fade {
    from { background: #cceeee; }
    to { background: transparent; }
}
@keyframes fadegreen {
    from { background: #cceeee; }
    to { background: #008800; }
}
@keyframes fadered {
    from { background: #cceeee; }
    to { background: #fff; }
}


span.sorted{
    animation-name: fade;
    animation-duration: 4s;
}
span.changepercent.green.sorted{
    animation-name: fadegreen;
    animation-duration: 4s;
}
span.changepercent.red.sorted{
    animation-name: fadered;
    animation-duration: 4s;
}
span.changepercent.green[data-label="Day Change"].sorted,
span.changepercent.red[data-label="Day Change"].sorted{
    animation-name: fade;
}
td.sorted{
  border-top: 0;
}
.tableControl{
  padding:0 0 10px;
}
.tableControl select{
  padding:10px 5px;
}
.tableControl {
  padding:10px 0;
}
.tableControl label span{
  padding:0 0 5px;
  display: block;
  clear:both;
}
.tableControl label span#reverse{
  padding:0 0 5px;
  display: inline-block;
}
.changepercent{
  width:100%;
  display: block;
  padding:10px 0;
  text-align: center;
  border-radius:6px;
  margin:0 5px 0 0;
}
.changepercent[data-label="Day Change"].green,
.changepercent[data-label="Day Change"].red{
  background: none;
  border: 1px solid #ddd;
}

.changepercent.red{
  border:1px solid #cc0000;
}
.changepercent.green[data-label="Gain/Loss"]{
  border:1px solid #008800;
  color:#008800;
  background: #008800;
  color: #fff;
}

.nowrap{
  white-space: nowrap;
  }

td.hidden,
th.hidden{
  display: none;
}
.pad{
  height:200px;
}
.tablewrap table{
  border-spacing:0;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 100%;
}
.tablewrapcollapse{
  width:100%;
}
.tablewrapcollapse table{
  border-spacing:0;
  table-layout: auto;
}
.tablewrap {
  overflow:auto;
  max-width: 100%;
  width: 100%;
  padding:0;
  background:#fff;
  border:1px solid #ddd;
  scroll-behavior:smooth;
  overscroll-behavior-x: contain;
}
td.truncate{
  overflow: hidden;
  text-overflow:ellipsis;
}
.tablewrap td{
  overflow:auto;
  max-width: 100%;
  text-align:right;
  vertical-align:top;
}
.tablewrap .left{
  text-align:left;
}
.scrollcontrol{
  position:absolute;
  background:#fff;
z-index:100;
height:40px;
width:40px;
}
.tablewrap.swipe td{
  white-space: nowrap;
      background: #fff;
}

.tablewrap.swipe thead{
  background:#fff;
    z-index:10;
}
.tablewrap.swipeable{
  overflow: auto;
}
.tablewrap.swipe.active thead{
  scroll-behavior:smooth;
  background:#fff;
  position:fixed;
  top:0;
  left:24px;
  right:24px;
  z-index: 20;
  height:60px;
  overflow:hidden;
  box-shadow:0 3px 3px rgba(0,0,0,.2);
  white-space:nowrap;
  display:block;

}
   .tablewrap thead th{
    background: #fff;
   }

  .tablewrap td,
  .tablewrap th{
      padding:5px 10px;
      border-right:1px solid #ddd;
      white-space: normal;
  }
    .tablewrap td.nowrap,
  .tablewrap th.nowrap{
      white-space: nowrap;
  }
  .tablewrap thead th{
     border-bottom: 1px solid #ddd;
  }
  .tablewrap.hoverrows tbody tr:nth-child(odd) td, 
  .tablewrap.hoverrows tbody tr:nth-child(odd) th{
    background-color:#f8f8f8;
  }
 
  .tablewrap.swipe.active thead th .headerlabel{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  padding:10px 20px;
  white-space: normal;
  display:block;
  }
  .tablewrap.swipe thead th.sticky{
    position:sticky;
    position: -webkit-sticky;
  background:#fff;
  border-right:1px solid #ddd;
  z-index:20;
  height:60px;
  }
   
    .tablewrap.swipe thead th.center{
    text-align:center;
  }
      .tablewrap.swipe thead th.sticky.right{
    right:0;
  }
    .tablewrap.swipe.active thead th.sticky{
    position:fixed;
  }
      .tablewrap.swipe.active thead th.sticky span{
    display:none;
  }
.tablewrap.swipe.active{
  padding-top:60px;
}  .tablewrap.swipe.active thead th.sticky{
    position:fixed;
  }
a.button{
  text-decoration: none;
  color:#222;
  width: 100%;
  text-align: center;
}

.tablewrap.swipe tbody,
.tablewrap.swipe tr{
  width:100%;
  display: revert;
  }
table {
  position: relative;
}
.tablewrap tbody tr.headerrow th,
.tablewrap tbody tr.headerrow td{
  
  border-right:none;
  border-top:2px solid #ddd;
  border-bottom:1px solid #ddd;
  font-weight: 800;
}
.tablewrap tbody tr.totalrow th,
.tablewrap tbody tr.totalrow td{
  font-weight: 800;
}
.tablewrap tbody tr.headerrow th, .tablewrap tbody tr.headerrow td{
  border-top: 0;
}
 .tablewrap.hoverrows tbody tr:hover td,
  .tablewrap.hoverrows tbody tr:hover th{
    background: #F3FBFF;
}   
.headertitle{
  font-weight:800;
  white-space: nowrap;
}
.headersubtitle{
  display:block;
  font-size: 14px;
}
.button{
  display: inline-block;
  background: #eee;
  border: 1px solid #ddd;
  border-radius:3px;
  padding:10px 15px;
  text-align: center;
}
.button:hover{
  cursor: pointer;
  border-color: #ccc;
}
.tablewrap.swipe.active thead tr {
  display:table-row;
  bottom:0;
  position:absolute;
}
.tablewrap thead th:first-child,
.tablewrap tbody th{ 
  background: #fff;
}
.tablewrap tbody td{ 
  vertical-align: middle;
}

.swipeable th.sticky.left,
.swipeable td.sticky.left{ 
  box-shadow: 2px 0 3px rgba(0,0,0,0.3);
  border-bottom: 0;
}
.swipeable th.sticky.right,
.swipeable td.sticky.right{ 
  box-shadow: -1px 0 3px rgba(0,0,0,0.3);
  border-bottom: 0;
}

.swipeable{ 
  box-shadow: 2px 0px 6px 2px rgba(0,0,0,0.5) inset;
}

 thead th {
  height:40px;
  top:0;
  text-align:right;
  font-size:14px;
  font-weight:400;
  color:#000;
  vertical-align:bottom;
  position:relative;
}
.tablewrap table tbody tr td:last-child{
  width:99%;
}


.green{
  color:#008800;
}

.red{
  color:#cc0000;
}

.smaller{
  font-size:14px;
}
.tablewrap th.sticky,
.tablewrap td.sticky{
  position:sticky;
  position: -webkit-sticky;
}
.tablewrap th.sticky.left,
.tablewrap td.sticky.left {
  text-align:left;
  left: 0;
  z-index: 10;
}
.tablewrap th.sticky.right,
.tablewrap td.sticky.right {
  text-align:right;
  right: 0;
}
.tablewrap tbody th {
  font-weight: normal;
}
.descriptioncell span{
  display:inline-block;
  float: left;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.descriptioncell.cash span{
  width:100%;
}

.descriptioncell .count:after{
  content:" Shares";
  display: inline;
}
.descriptioncell span.accountnumber{
  clear:left;
  font-weight: normal;
}
   .tablewrap.collapse th.descriptioncell .symbolandcount,
    .tablewrap.collapse th.descriptioncell .priceandchange{
      display:table-cell;
   }
   .tablewrap.collapse th.descriptioncell .symbolandcount{
      float:left;
   }
    .tablewrap.collapse th.descriptioncell .priceandchange{
      float:right;
   }
      .tablewrap.collapse th.descriptioncell .symbolandcount span{
      float:left;
      clear: both;
      overflow: hidden;
      text-overflow:ellipsis;
   }
    .tablewrap.collapse th.descriptioncell .priceandchange span{
      float:right;
      clear:both;
   }
.floatright{
  float:right;
  text-align: right;
}

.descriptioncell{
  min-width: 220px;
}



.tablewrap tbody th.right {
text-align:right;
}
.nowrap{
  white-space:nowrap;
}
.tablewrap tbody th{
  overflow:hidden;
  text-overflow:ellipsis;
}
.name{
  white-space: nowrap;
  display:block;
  clear: both;
  font-size: 14px;
  overflow: hidden;
  text-overflow:ellipsis;
  color:#767676;
}
.change{
  display:block;
  clear: both;
  font-size: 14px;
}



span.labeled:before{
  color:#767676;
  content: attr(data-title);
  display: inline-block;
  padding-right:10px;
}


a.button.details{
  background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNOS4xNDUgMTguMjljLTUuMDQyIDAtOS4xNDUtNC4xMDItOS4xNDUtOS4xNDVzNC4xMDMtOS4xNDUgOS4xNDUtOS4xNDUgOS4xNDUgNC4xMDMgOS4xNDUgOS4xNDUtNC4xMDIgOS4xNDUtOS4xNDUgOS4xNDV6bTAtMTUuMTY3Yy0zLjMyMSAwLTYuMDIyIDIuNzAyLTYuMDIyIDYuMDIyczIuNzAyIDYuMDIyIDYuMDIyIDYuMDIyIDYuMDIzLTIuNzAyIDYuMDIzLTYuMDIyLTIuNzAyLTYuMDIyLTYuMDIzLTYuMDIyem05LjI2MyAxMi40NDNjLS44MTcgMS4xNzYtMS44NTIgMi4xODgtMy4wNDYgMi45ODFsNS40NTIgNS40NTMgMy4wMTQtMy4wMTMtNS40Mi01LjQyMXoiLz48L3N2Zz4=);
  background-repeat:no-repeat;
  background-position:center center;
  background-size: 16px 16px;
  height:35px;
  width: 40px;
}

a.button.details .buttontext{
  display: none;
}

@media only screen and (max-width: 600px) {
  body{
  padding:12px;
  }
  a.button.details{
  background-image:none;
  height:auto;
  width:100%;
}
 

.tablewrap.collapse thead th{
   overflow: hidden;
   text-overflow:ellipsis;
}
.tablewrap.swipe.active.collapse thead th.sticky {
  position: relative;
}

  a.button.details .buttontext{
  display: inherit;
  width: auto;
}
a.button.details .buttontext:before{
  background:
  url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNOS4xNDUgMTguMjljLTUuMDQyIDAtOS4xNDUtNC4xMDItOS4xNDUtOS4xNDVzNC4xMDMtOS4xNDUgOS4xNDUtOS4xNDUgOS4xNDUgNC4xMDMgOS4xNDUgOS4xNDUtNC4xMDIgOS4xNDUtOS4xNDUgOS4xNDV6bTAtMTUuMTY3Yy0zLjMyMSAwLTYuMDIyIDIuNzAyLTYuMDIyIDYuMDIyczIuNzAyIDYuMDIyIDYuMDIyIDYuMDIyIDYuMDIzLTIuNzAyIDYuMDIzLTYuMDIyLTIuNzAyLTYuMDIyLTYuMDIzLTYuMDIyem05LjI2MyAxMi40NDNjLS44MTcgMS4xNzYtMS44NTIgMi4xODgtMy4wNDYgMi45ODFsNS40NTIgNS40NTMgMy4wMTQtMy4wMTMtNS40Mi01LjQyMXoiLz48L3N2Zz4=)
  no-repeat
  left
  center;
  background-size: contain;
  display: inline-block;
  width:16px;
  height:16px;
  margin-right:10px;
}
  .tablewrap.collapse tbody th,
  .tablewrap.collapse thead th:first-child {
   
    display: inline-block;
    overflow: hidden;
    margin: 0;
  }
  .tablewrap.collapse thead th{
    font-size: 12px;
    padding: 10px 0;
    text-align: center;
  }
  .tablewrap.collapse.active{
  padding-top:30px;
}
 .tablewrap.collapse.active thead {
   height:30px;
}
    .tablewrap.collapse tbody tr{
    cursor:pointer;
  }

     .tablewrap.hoverrows tbody tr:nth-child(odd) td, 
  .tablewrap.hoverrows tbody tr:nth-child(odd) th{
    background-color:#fff;
  }
     .tablewrap.collapse tbody tr.headerrow,
.tablewrap.collapse tbody tr.headerrow td,
 .tablewrap.collapse tbody tr.headerrow th{
      background:#eee;
    }


  .tablewrap.hoverrows tbody tr:hover,
  .tablewrap.hoverrows tbody tr:hover td,
  .tablewrap.hoverrows tbody tr:hover th{
      background: #f8f8f8;
  }
 
   .tablewrap.hoverrows tbody tr.active,
   .tablewrap.hoverrows tbody tr.active td,
  .tablewrap.hoverrows tbody tr.active th{
      background: #F3FBFF;
  }

  .tablewrap.collapse tr{
       display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
    -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
      width:100%;
      float: left;

    }


  .tablewrap.collapse tbody td,
  .tablewrap.collapse tbody th{
      padding:2px 2px 2px 4px;
      display: none;
      width: calc(100% - 10px);
      margin: 0;
      float: left;
      border-top:1px solid #ddd;
      border-right: 0;
    }
      .tablewrap.collapse thead tr {
      float: left;
      white-space: nowrap;
      display:inline-flex;
      flex-flow:nowrap;
    }
      .tablewrap.collapse thead th {
      display: none;
    }
 
    .tablewrap.collapse thead th.nohide{
      float: left;
      clear:none;
      display: inline-block;
      width:25%;
      height:30px;
      overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap;}
    
    .tablewrap.collapse thead th.nohide:first-child {
      width: 50%;
    }
    .tablewrap.collapse tr.active td:not(.empty),
    .tablewrap.collapse tr.active th:not(.empty){
      display:block;
    }
    .tablewrap.collapse tr td.sorted,
    .tablewrap.collapse tr th.sorted{
      display:block;
    }
    .tablewrap.collapse tr td.sorted:not(.descriptioncell) span{
      display:none;
    }
     .tablewrap.collapse tr.active td.sorted span{
      display:block;
    }
    .tablewrap.collapse tr td.sorted span.sorted{
      display:block;
    }
     .tablewrap.collapse tr td.sorted span.changepercent.sorted{
      display:grid;
    }
    .tablewrap.collapse td.full,
    .tablewrap.collapse th.full{
      width:100%;
    }
    .tablewrap.collapse th,
    .tablewrap.collapse td{
      order:5;
    }
    .tablewrap.collapse td.full{
      order:3;
      padding:0 5px;
    }
    
    .tablewrap.collapse tr:not(.headerrow) td.symbolname{
      order:1;
    padding:5px;
    }
    .tablewrap.collapse td.symbolname .primary{
      font-size: 1.2em;
    }
    .tablewrap.collapse td span{
      width:100%;
      display: block;
   }

   .descriptioncell span{
  display:block;
  width:auto;
  float: left;
  clear: both;
}

.descriptioncell span.secondary,
.descriptioncell span{
  padding:2px 10px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow:ellipsis;
  width: auto;
}
.descriptioncell span.secondary{
  padding-right: 0;
}

.descriptioncell span.count:after{
  font-size: 14px;
}
.descriptioncell span.price{
  width:auto;
  padding-right:0;
}
   .tablewrap.collapse td span.button{
    display: inline-block;
    width: 100%;
   }
    .tablewrap.collapse td span:before,
     .tablewrap.collapse th span:before{
      content: attr(data-label);
      display: block;
      float:left;
      text-align: left;
      width: 50%;
      color: #666;
      white-space: normal;
   }
 .tablewrap.collapse td.symbolname span:before,
 .tablewrap.collapse th.descriptioncell span:before{
      display: none;
   }

   .tablewrap tbody tr.headerrow th,
  .tablewrap tbody tr.headerrow td{
    font-weight: normal;
    }
    .tablewrap.collapse td.full span:before{
      font-size: inherit;
   }
       .tablewrap.collapse td.full span{
      padding:1px 0 4px ;
   }
      .tablewrap.collapse td.symbolname span{
      padding:0;
   }
  
     .tablewrap.collapse thead tr,
     .tablewrap.collapse tbody tr{
      position: relative;
      padding-right: 30px;
     }
th .secondary, td .secondary {
    
    font-size: 16px;
    color: #000;
}
    .tablewrap.collapse tbody tr:after{
      display: block;
      content: "\FF0B";
      right:5px;
      top:12px;
      position: absolute;
      font-size: 20px;
      color:#ccc;
    }
    .tablewrap.collapse tbody tr.active:after{
      content: "\FF0D";
    }
    .tablewrap.collapse tbody .descriptioncell,
    .tablewrap.collapse tbody .changecell{
      width:25%;  
      margin: 0;
      display:table-cell;
      position: relative;
      min-width: 0;
      order:1;
    }
    .tablewrap.collapse tbody .descriptioncell{
      width:50%;
      margin: 0;
    }
    .tablewrap.collapse .changecell{
      vertical-align: middle;
    }
    .tablewrap.collapse .changecell span{
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .tablewrap.collapse .changecell span:before{
      display: none;
    }
    .tablewrap.collapse td.changecell .changepercent{
         padding:8px 0;
         margin-top:6px;
         position: relative;
    }
    .tablewrap.swipe:not(.collapse) thead th:first-child{
    position:fixed;
  }
    .tablewrap.collapse tbody tr {
      border-top: 1px solid #ccc;
      background: #eee;
    }
}
/**tiny screens*/
@media only screen and (max-width: 359px) {
.tablewrap.collapse thead,
.tablewrap.swipe.active thead{
  display: none;
}
.tablewrap.collapse thead th.nohide,
.tablewrap.collapse tbody .descriptioncell{
      width:100%;
      border-bottom: 0;
      }
    
    .tablewrap.collapse thead th.nohide:first-child,
  
    .tablewrap.collapse tbody td.changecell {
      width:50%;
    }
     .tablewrap.collapse td.changecell{
      border-bottom: 0;
     }
    .tablewrap.collapse td.changecell .changepercent{
         display: inline-grid;
         padding:0;
         margin:0 0 3px;
         position: relative;
    }
 .tablewrap.collapse .changecell span:before{
      display: block;
      width: 100%;
      text-align: center;
      font-size: 12px;
      color:#222;
   }
    .tablewrap.collapse .changecell span[data-label="Gain/Loss"].green:before{
      color:#fff;
   }

  .tablewrap.collapse.active{
  padding-top:0;
}

}
