body {
background: #eee !important;
font-family: 'Roboto', sans-serif;
}

a.homelink {
    color: #4502b1;
    /* text-decoration: none; */
    text-decoration-color: #cfd6e2;
}
	a.drop {
-webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    box-sizing: content-box !important;
}
#nav ul li a {
-webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

.card-deck {
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    justify-content: flex-start;
    margin-left: 0px;
    margin-right: 0px;
}

.card-deck .card {
    /*max-width: 366px;
    min-width:320px; */
    flex: 1 1 calc(20% - 16px);
    box-sizing: border-box;
    max-width  : calc(20% - 16px);
    margin-left: 0;
    margin-right: 0;
}

/* Tablet: 3 items per row */
@media (max-width: 991.98px) {
  .card-deck .card {
    flex: 1 1 calc(33.33% - 16px); /* 3 items per row */
    max-width: calc(33.33% - 16px);
  }
}

/* Mobile: 1 item per row */
@media (max-width: 767.98px) {
  .card-deck .card {
    flex: 1 1 100%; /* 1 item per row */
    max-width: 100%;
    margin-left:10px;
    margin-right:10px;
  }
}
.card {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    border: 0;
    font-weight: 400; 
    margin-top: 30px; 
    width:15rem;
}
.card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}
p.card-text {
    font-size: 110%;
}
.card-deck img {
    width: 100%;
    transition: all .2s ease;
}
.card-deck a {
    color: #4F2683;
    font-weight: 400;
}
.card-deck {
    margin-bottom: 30px;
}
.card-deck img:hover {
    opacity: .9;
    filter: alpha(opacity=1); /* For IE8 and earlier */
}
/*
#bmi-researchers-filter {
    margin-top:30px;
}
*/
#bmi-researchers-filter label {
    font-size:20px;
}
#bmi-researchers-filter span {
    margin-left:10px;
    margin-right:10px;
    font-weight:bolder;
}
.card-title {
    margin-top:.75rem;
}
.card-deck a:link {
    color: #4F2683;
    font-weight: 400;
}
.card-title h5, h5.card-title {
    font-family: inherit;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 1px;
    font-size: 1.5em;
    color: #2196E7;
}
.jplist-selected {
    background-color: #4f2683;
    color:white;
}

.jplist-holder {
    display:flex;
    gap: 0.5rem;
}
.flex-control-nav {
    box-sizing:initial;
}