body{
    background-color: white;
  }
  
  .background-grey{
    background-color: #ececec;
  }
  
  html, body {
      height: 100%;
  }
  
  .section-card{
    background-color: white;
    border-radius: 10px;
    padding: 3rem;
    margin-top: 3rem;
  }

  .loading-tab{
    text-align: center;
    padding: 2rem;
    font-size: 1.5rem;
  }
  
  .section-title{
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: #888888;
    text-align: center;
  }
  
  .section-block-content{
    margin-top: 3rem;
  }
  
  .small-table{
    display: inline-block;
    width: 49.8%;
    vertical-align:top;
  }
  
  
  .karmanye-select{
    border-radius: 5px;
    padding: .5rem;
    width: 16rem;
  }
  
  .karmanye-select:focus{
    outline: none;
  }
  
  .portfolio-details{
      text-decoration: none;
      font-size: 1.2rem;
      margin: auto;
      width: 300px;
  }
  
  .manager-cash-left{
      text-decoration: none;
      font-size: 1rem;
      margin: auto;
      width: 300px;
      border-radius: 5px;
  }
  
  .manager-cash-left td, .manager-cash-left th{
    padding: .5rem;
    text-align: center;
    border: 1px solid grey;
  }
  
  .manager-cash-left th{
    background-color: grey;
    color: white;
  }
  
  .manager-positions{
    width: 30%;
    margin: auto;
    height: 200px;
    overflow-y: scroll;
    padding: 1rem;
    display: inline-block;
  }
  
  .manager-positions table{
    width: 100%;
  }
  
  .manager-positions th{
    background-color: #7d7d7d;
    color: white;
    text-align: center;
    padding: .1rem;
  }
  
  .manager-positions tr:nth-child(even) {
      background-color: #f1f1f1;
  }
  
  .manager-positions td{
    padding: .3rem;
  }
  
  .manager-positions .mhead{
    background-color: white;
    color: #3c3c3c;
    border: 1px solid #3c3c3c;
  }
  
  .myPortfolio .dataTables_wrapper{
    width: 100%;
  }

  .piechart-title{
    width: 500px;
    text-align: center;
    display: inline-block;
  }

  .piechart-title-text{
    font-size: 20px;
    font-family: arial;
  }
  .piechart-subtitle-text{
    font-size: 12px;
    font-family: arial;
    color: gray;
    margin-top: -5px;
  }
  
  
  .details{
    background-color: white;
    border-radius: 10px;
    padding: 3rem;
  }
  
  .detailSelection{
    margin-left: 1rem;
  }
  
  
  .detailButton{
      display: inline-block;
      border-top: 1px solid #929292;
      border-left: 1px solid #929292;
      border-right: 1px solid #929292;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      width: 130px;
      cursor: pointer;
      padding: 3px;
      text-align: center;
      background-color: white;
      color: #929292;
  }
  
  .detailButtonSelected{
      background-color: #929292;
      color: #fff;
  }
  
  .detail-title{
    text-align: center;
      padding: 1rem;
      font-size: 1.5rem;
      color: #929292;
  }
  
  .hidden{
    display: none;
  }
  
  .agg-pos{
    cursor: pointer;
  }
  
  .agg-pos:hover{
    background-color: #c4c4c4;
  }
  
  table.dataTable tbody tr.agg-pos-highlight{
    background-color: #c4c4c4;
  }
  
  button.dt-button{
    background-color: white;
    background: none;
  }
  
  .main-content{
      min-height: 100%;
      height: auto !important;
      height: 100%;
      margin: 0 auto -100px;
  }
  
  .footer{
    background-color: white;
    text-align: center;
    padding-top: 2rem;
    margin-top: 4rem;
  }
  
  .footer, .push {
      height: 100px; /* .push must be the same height as .footer */
  }

  .dataTables_wrapper .dataTables_filter{
    float: right;
  }

  table.dataTable thead th{
    text-align: right;
  }

  .dataTables_scrollHead th{
    background-color: #38c172;
    color: white;
    text-align: right;
  }

  table{
    border: 0;
  }

  th{
    border: 0;
    text-align: right;
  }

  td{
    border: 0;
    text-align: right;
  }

  table.dataTable thead th{
    text-align: right;
  }

  .dataTables_filter input{
    margin-left: 5px;
    border: 0;
    margin-left: 5px;
    border: 1px solid;
    border-radius: 5px;
    min-height: 35px;
    width: 200px;
    color: gray;
  }

  button.dt-button {
    border: 1px solid;
    color: gray;
  }

  .dataTables_info{
    margin-top: 20px;
  }

  .login-form input{
    display: inline-block;
    width: 50%;
    height: calc(1.6em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  }

  .login-form label{
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.6;
    margin-right: 1rem;
    min-width: 5rem;
    margin-bottom: 1rem;
    text-align: right;
    width: 25%;
  }

  .mainlinks{
    width: 70%;
    display: flex;
    flex-flow: row wrap;
    margin: auto;
    margin-top: 5rem;
    margin-bottom: 5rem;
   }

 .featurecard{
  margin: auto;
  width: 30%;
  background: white;
  padding: 40px;
  border: 1px white;
  border-radius: 5px;
  margin-top: 1rem;
  text-align: center;
 }

 .featurecard a:hover{
  text-decoration: none;
  color: #02559a;
 }

 .nav-logout{
  background-color: white;
    border: 0;
    padding-left: 1.5rem;
 }

 .all-clients{
  width: 100%;
 }

 .all-clients td, .all-clients th{
 border: 1px solid black;
 padding-right: .5rem;;
 }

 .all-clients th{
  font-weight: 500;
 }
  
.allocation{
  margin: 1rem;
  margin-top: 2rem;
  text-align: center;
}

.allocation-cash{
  margin-top: 1rem;
    text-align: right;
    padding-right: 6rem;
}

.manager-cash-table{
  text-decoration: none;
    font-size: 1.2rem;
    margin: auto;
    width: 300px;
}

.manager-cash-table table{
 border: 1px solid black;
}

.manager-cash-table td{
  padding: .5rem .5rem .5rem 1rem;
  border: 1px solid black;
  text-align: right;
  font-size: 16px;
}

.manager-cash-table th{
  text-align: center;
  border: 1px solid black;
  padding: 0 1rem 0 1rem;
}

table.dataTable thead .sorting { background: url('images/sort_both.png') no-repeat center right; padding-right: 15px; background-color: #38c172; }
table.dataTable thead .sorting_asc { background: url('images/sort_asc.png') no-repeat center right; padding-right: 15px; background-color: #38c172; }
table.dataTable thead .sorting_desc { background: url('images/sort_desc.png') no-repeat center right; padding-right: 15px; background-color: #38c172; }

table.dataTable thead .sorting_asc_disabled { background: url('images/sort_asc_disabled.png') no-repeat center right;padding-right: 15px; background-color: #38c172; }
table.dataTable thead .sorting_desc_disabled { background: url('images/sort_desc_disabled.png') no-repeat center right;padding-right: 15px; background-color: #38c172; }


  
  /* Changes for mobile */
  @media only screen and (max-width: 767px) {
      /* phones */
  
  select {
      font-size: 1rem;
      text-align: center;
      width: 90%;
  }
  
  .section-card{
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 3rem;
  }
  
  .details{
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
  }
  
  
      .detailButton{
          border: 1px solid #929292;
          border-radius: 5px;
          width: 30%;
          cursor: pointer;
          padding: 3px;
          text-align: center;
          background-color: white;
          color: #929292;
          margin-bottom: 10px;
      }
  
      .detailButtonSelected{
          background-color: #929292;
          color: #fff;
      }
  
      .detailSelection{
        margin-bottom: 1rem;
      }
  
      .dt-buttons{
        text-align: center;
      }
  
      .small-table{
        width: 100%;
      }
  
      .manager-positions{
        width: 100%;
      }
  }
  