/* FUND DASHBOARD MODIFICATIONS */
.tile {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
}
.welcome-row {
    padding-top: 20px;
}
body {
    background-color: #f9fafa;
}
.to-grant,.ytd-contribution,.ytd-grants {
    color: #3c7413;
}
.container {
    padding-left: 0px;
    padding-right: 0px;
}
.table h4 {
    color: #2587C8;
}
div#EntityFormPanel{
    padding: 20px;
}
/* Pie Chart Styling */
.chart-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Maintain aspect ratio (1:1) for the pie chart */
}
#pieChart {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* FUND SUB HEADER SETTINGS */
.subheader-section {
    display: flex;
    justify-content: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}
.subheader-section .nav > li > a {
    padding: 10px 15px;
    text-align: center;
}
.subheader-section .nav-pills > li {
    display: inline-block;
    text-align: center;
}
.subheader-section .nav-pills > li > a {
    display: block;
    white-space: normal;
    line-height: 1.2;
}
/* .subheader-section .nav-pills > li.active > a,
.subheader-section .nav-pills > li.active > a:hover,
.subheader-section .nav-pills > li.active > a:focus {
background-color: #f5f5f5;
border-bottom: 2px solid #000;
color: #333;
font-weight: bold;
} */
.subheader-section .nav-pills > li > p {
    margin-bottom: 0;
}
.subheader-section .nav-pills > li:not(:last-child) {
    border-right: 1px solid #ccc;
}
/* custom styling for dropdown */
.subheader-section .dropdown {
    padding-right: 2px;
}
/* Custom styles for dropdown menu */
.subheader-section .dropdown-menu {
    width: auto; /* Adjust the width as per your preference */
}
.subheader-section .dropdown-menu.columns-2 {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}
.subheader-section .dropdown-menu .copy-section {
    padding: 15px;
}
/* Additional styles for multi-column dropdown */
.subheader-section .dropdown-menu.multi-column {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
}
.subheader-section .dropdown-menu.multi-column > li {
width: 50%; /* Adjust column width as per your preference */
}
.dropdown-menu>li>a {
    text-align: left;
}
.nav-description {
    font-size: 12px;
}

/*Report Download CSS*/
/* The Modal (background) */
.report-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.report-modal-content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.report-loader {
    margin: auto;
    width: 50%;
    border: 3px solid green;
    padding: 10px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
   /* // Safari animation: spin 2s linear infinite;*/
}

/* fund selection list styling */

#card-slot{
    padding: 20px;
  }
  
  .card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
    height: 188px;
    /*width: 200px;*/
    text-align: center;
    margin: auto;
    background-color: #aec35c;
  }
  
  a.card-link, a.card-link:hover{
      text-decoration: none !important; 
  }
  
  .card img{
      border-radius: 5px 5px 0 0;
      margin: auto;
      height: 70%;
  }
  
  .card-title {
      height: auto;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .card-title > h3, .card-description > h4 {
      color: white;
  }
  
  .card-description > h4 {
    font-size: 20px;
  }

  .card-description{
      overflow: hidden;
      height: 50px;
  }
  
  .card:hover {
      box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  }
  
  .card-container {
      padding: 2px 16px 10px;
      height: 100%;
      display: flex;
      align-content: space-between;
      justify-content: space-around;
      flex-direction: column;
  }
  
  .child-fund-list{
      padding-top: 20px;
      padding-bottom: 20px;
  }

  .popover {
    min-width:276px;
  }
  .popover .popover-content,
  .popover .popover-content p{
      text-overflow:ellipsis; 
      overflow:hidden
  }
  
