﻿.resource-center .content-row {
    padding-left: 10%;
    padding-right: 10%;
    margin-top: 350px;
}

.resource-center .tab-bar div {
    display: none;
}

.resource-center .tab-bar {
    display: flex;
    gap: 0;
    align-self: stretch;
    width: 100%;
    border: 1px solid;
    border-color: var(--colors-neutral-n-200);
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
}

.resource-center .tab-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: var(--numbers-spacing-spacing-sm) 10px var(--numbers-spacing-spacing-sm) 10px;
    position: relative;
    flex: 0 0 auto;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-color: var(--colors-extended-contrast-blue);
    cursor: pointer;
    color: var(--colors-extended-contrast-blue);
}

.resource-center .all {
    margin-top: -2px;
    position: relative;
    align-self: stretch;
    font-family: var(--large-body-font-family);
    font-weight: var(--large-body-font-weight);
    font-size: var(--large-body-font-size);
    letter-spacing: var(--large-body-letter-spacing);
    line-height: var(--large-body-line-height);
    font-style: var(--large-body-font-style);
    cursor: pointer;
}

.resource-center .all-wrapper {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    padding: var(--numbers-spacing-spacing-sm) 10px var(--numbers-spacing-spacing-sm) 10px;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
    cursor: pointer;
}

.resource-center .all-2 {
    margin-top: -1px;
    position: relative;
    align-self: stretch;
    font-family: var(--large-body-font-family);
    font-weight: var(--large-body-font-weight);
    font-size: var(--large-body-font-size);
    letter-spacing: var(--large-body-letter-spacing);
    line-height: var(--large-body-line-height);
    font-style: var(--large-body-font-style);
    cursor: pointer;
}


.resource-center .all-content-title {
    color: #1d2225;
    font-family: var(--large-body-font-family);
    font-size: 32px;
    font-weight: 400;
    line-height: 39px;
    text-align: center;
    white-space: nowrap;
}
.resource-center .separator-title {
    font-family: var(--large-body-font-family);
    font-size: 24px;
}

    .main-insight-container .main-insight {
        height: 650px;
        background-size: cover;
    }

    .main-insight-container .main-insight-overlay {
        width: 100%;
        height: 40%;
        background: #336f96;
    }

.resource-center .load-more-link,
.headshot-group .view-all-articles-link {
    font-size: 18px;
    font-family: "Instrument Sans";
    font-weight: 400;
    color: rgba(0, 89, 185, 1);
}

.resource-center .webcast-title {
    height: 39px;
    color: #1d2225;
    font-family: var(--large-body-font-family);
    font-size: 32px;
    font-weight: 400;
    line-height: 39px;
   
    white-space: nowrap;
}

.webcast-card.post.webcast-item, .webcast-card.post.insight-item {
    width: 99%;
}


.resource-center .line1 {
    color: #c6e8f3;
    font-family: var(--large-body-font-family);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.52px;
}

.resource-center .line2 {
    color: #ffffff;
    font-family: var(--large-body-font-family);
    font-size: 26px;
    font-weight: 500;
    line-height: 31.72px;
    z-index: 39;
}

.resource-center .line3 {
    height: 22px;
    color: #c6e8f3;
    font-family: var(--large-body-font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
}

.resource-center .text {
    color: #14374e;
    font-size: 18px;
    font-family: "Instrument Sans";
    font-weight: 500;
    color: rgba(20, 55, 78, 1);
    line-height: 26px;
}

.resource-center .text-b {
    font-size: 14px;
    font-family: "Instrument Sans";
    font-weight: 400;
    color: rgba(88, 103, 112, 1);
    width: 100%;
    /**truncate text*/
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resource-center .thumbnail {
    height: 248px;
}
.resource-center .text-read-more {
    font-size: 14px;
    font-family: "Instrument Sans";
    font-weight: 400;
    color: rgba(58, 68, 75, 1);
}

.resource-center .load-more-container {
    padding: unset;
}

.resource-center .snapshot-icon {
    width: 40px;
    height: 40px;
}

.resource-center .main-webcast {
    width: 80%;
    padding-bottom: 46.25%;
}
.resource-center .main-webcast iframe {
    width: 100%;
    top: 0;
    left: 0;
}
.resource-center .main-webcast-overlay {
    width: 80%;
}

.resource-center .item-name {
    font-family: var(--large-lead-text-font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    text-align: left;
    text-overflow: initial;
    white-space: nowrap;
    z-index: 3;
}

.resource-center .item-date {
    width: 77px;
    font-family: var(--large-lead-text-font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    text-overflow: initial;
    white-space: nowrap;
    z-index: 4;
}
.resource-center .snapshot-download {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.resource-center .main-webcast-overlay {
    gap: 8px;
    padding: 32px 32px 32px 64px;
    background: var(--colors-light-blue-lb-600);
    z-index: 24;
}

@media (min-width: 576px) {
    .resource-center .content-row {
        margin-top: 250px;
    }
}

@media (min-width: 768px) {
    .resource-center .content-row {
        margin-top: 200px;
    }    
        .resource-center .tab-bar div {
            display: block;
        }

    .main-insight-container .main-insight-overlay {
        height: 30%;
    }
    .webcast-card.post.webcast-item, .webcast-card.post.insight-item {
        width: 45%;
    }
}

@media (min-width: 820px) {
    .resource-center .content-row {
        margin-top: 40px;
    }
    .resource-center .tab-bar {
        gap: var(--numbers-spacing-spacing-lg);
    }

}

@media (min-width: 992px) {
    .resource-center .content-row {
        margin-top: 0px;
    }
    .webcast-card.post.webcast-item, .webcast-card.post.insight-item {
        width: 30%;
    }
}

@media (min-width: 1200px) {

    .main-insight-container .main-insight {
        height: 550px;
    }
}
