/* Research Projects Panel CSS - BorisD*/
/* Migrate to Panel specific and convert to SCSS */

#research-project-results-panel .box {
    min-height: 280px;
    position: relative;
    margin-bottom: 2rem;
}
#research-project-results-panel .box-caption {
    position: absolute;
    background-color: rgba(0, 70, 127, 0.9);
    /*max-width: calc(100% - 2.22rem);*/
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 2rem;
}

#research-project-results-panel-2 .box {
    min-height: 280px;
    position: relative;
    margin-bottom: 2rem;
}
#research-project-results-panel-2 .box-caption {
    position: absolute;
    background-color: rgba(0, 70, 127, 0.9);
    /*max-width: calc(100% - 2.22rem);*/
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 2rem;
}

#research-project-results-panel-2 a:not([href]):not([tabindex]) {
    color: #00467f;
}

/* Pagnation current */
#research-project-results-panel-2 .page-item .next {
    color: white;
}

#alt-design-2 .h5  {
    color: white;
}

#research-project-results-panel-2  ul.pagination li.next a::before   {
    color: white;
}

#research-project-results .box .box-caption .show-on-hover {
    max-height: 0;
    transition: opacity 0.3s ease-out, max-height 0.6s ease-in;
    overflow: hidden;
    opacity: 0;
}
#research-project-results .box:hover .box-caption {
    background-color: rgba(0, 70, 127, 1);
}
#research-project-results .box:hover .box-caption .show-on-hover {
    max-height: 350px;
    transition: opacity 0.3s ease-out, max-height 0.6s ease-out;
    opacity: 1;
}