/** Custom CSS **/

/* Start Research Highlight styling */
.text-right {
    text-align: right !important;
}

.alt-lang-link a {
    text-decoration: underline !important;
    color: #216fb4 !important;
    font-size: 1.25rem;
    font-weight: 700;
}

.article-date {
    font-size: 1.5rem;
}

.rh-blue-container {
    background-color: #ecf7ff;
    padding: 15px;
    margin-bottom: 25px;
}

.rh-blue-container ul {
    padding-left: 15px;
    margin-left: 1.5rem;
    list-style: disc;
}

.basic-content-body h2 {
    letter-spacing: -0.4px;
    font-size: 30px;
    font-weight: 400;
}

.card-grid.generic-callout {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    margin-top: 60px;
}

.card-grid .generic-callout {
    padding-right: 15px;
    padding-left: 15px;
}

.generic-callout-box {
    padding: 15px;
    background-color: #ecf7ff;
    border-bottom: 10px solid #262262;
    height: 100%;
}

.row.related-resources {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.generic-callout-box .callout-title {
    color: #262262;
    font-size: 1.875rem;
}

.extlink .icon.open {
    margin-left: 5px;
    max-width: 16px;
}

.card, .card-grid.related-resources .card {
    box-shadow: none;
    background: linear-gradient(180deg, #ecf7ff 64%, #fff 0);
}

.card-grid .generic-callout {
    margin-bottom: 25px;
}

.description.rh-blue-container h4 {
    letter-spacing: -0.4px;
    margin-bottom: 0.75rem;
}

.description.rh-blue-container strong {
    font-weight: 900;
}

.card-grid.related-resources .card img {
    margin: 0 auto;
}

.basic-content-body ul {
    margin-left: 1.5rem;
    list-style: disc;
}
    
.basic-content-body ul li {
    margin-bottom: 15px;
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-4 {
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .basic-content-body h2 {
        font-size: 20px; 
    }

    .generic-callout-box .callout-title {
        font-size: 20px;
    }

    .rh-blue-container ul li{
        margin-bottom: 0 !important;
    }

    .row.related-resources {
        display: block;
        margin-right: 0;
        margin-left: 0;
    }

    .related-resources .card .card-body {
        text-align: center;
    }

    .research_highlight_en h1.page-title {
        margin: 20px auto !important;
    }

}
/* End Research Highlight styling */


/****** Start Announcement styling *****/
/* From Announcements landing page */
.announcement-card {
    border-top: 5px solid #f48972;
    border-bottom: 5px solid #f48972;
    height: auto;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.announcement-card .card-image {
    height: 40%;
}

.announcement-card .card-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.announcement-card .card-body .card-em {
    /*line-height: 1.5;
    font-stretch: normal;
    color: #4a4a4a;*/
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.node-announcement-subheader p {
    font-weight: 100;
    letter-spacing: -.4px;
    color: #262262;
    font-size: 30px;
}

@media screen and (min-width: 769px) {
    .announcement-card {
        height: 900px;
    }
}

@media screen and (min-width: 1380px) {
    .announcement-card{
        height: 570px;
    }
}


/* From News and Events*/
.mb-4 {
    margin-bottom: 1.5rem;
}

.float-right {
    float: right !important;
}

.node-announcement__image-wrapper {
    padding-right: 15px;
    padding-left: 15px;
}

.nih-announcement h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.nih-announcement ul {
    padding-left: 15px;
    margin-left: 1.5rem;
    list-style: disc;
    margin-bottom: .75rem;
}

.related-content {
    left: 0px;
    bottom: 0px;
    width: 100%;
    margin-top: 44px;
    padding-top: 60px;
    padding-bottom: 70px;
    margin-bottom: -50px;
    background: #c0daf3;
    position: absolute;
}

.related-content .row {
    display: flex;
    flex-wrap: wrap;
}

.related-content-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #262262;
}

.related-content ul li {
    padding: 12px 0;
    line-height: 1.25;
}

#block-particle-content.related-layout {
    margin-bottom: 350px;
}

@media (min-width: 576px) {
    .col-sm {
        flex-basis: 0;
        flex-grow: 1;
        min-width: 0;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .col-md-4 {
        max-width: 33.3333333333%;
    }
}

@media (max-width: 575.98px) {
    #block-particle-content.related-layout {
        margin-bottom: 530px;
    }
}

/* End Announcement styling */

/**** POST MVP - v31+ ****/

/* Start Research Landing Page styling */
.feature-highlight {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 100px;
    background-color: #262262;
}

.feature-highlight h2 {
    color: #fff;
    letter-spacing: -0.4px;
    font-weight: 400;
}

.feature-highlight p {
    color: #fff;
}

.feature-highlight img {
    border: 1px solid #fff;
}

.row.rh {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.feature-highlight .col-lg-7 a:hover {
    color: #fff; !important;
}

@media (max-width: 768px) {
    .row.rh {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .feature-highlight h2 {
        font-size: 1.25rem !important;
        margin: 15px 0 !important;
    }
}

@media (min-width: 992px) {
    .col-lg-5 {
        flex: 0 0 41.6666666667%;
        max-width: 41.6666666667%;
        padding-right: 15px;
        padding-left: 15px;
    }
    .col-lg-7 {
        flex: 0 0 58.3333333333% 58.3333%;
        max-width: 58.3333333333%;
        padding-right: 15px;
        padding-left: 15px;
    }
}
/* End Research Landing Page styling */

/* Start footer override styling */

.footer__ .footer__menu ul.menu__primary > li {
    width: 16%;
}

@media screen and (max-width: 768px) {
    .footer__ .footer__etc li {
        margin-bottom: 0px;
        margin-top: 10px;
    } 

    .footer__ > .container {
        padding: 40px 0 100px 0;
    }
}

/* End footer override styling */