.n-banner-text h1{
    color: #FFFFFF;
}
.n-banner-text p {
    color: #FFFFFF;
}
#anli-1 .n-anli-content {
    padding: 16px;
    text-align: center;
}
#anli-1 .n-anli-title {
    margin-bottom: 0px;
}

.n-tab {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.n-tab div {
    position: relative;
    text-align: center;
    color: #6A6B6D;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    padding: 12px 32px;
    cursor: pointer;
    border-bottom: 2px solid #E3E5E6;
}

.n-tab div.n-tab-active {
    color: #E60039;
    line-height: 150%;
    pointer-events: none;
}

.n-tab div.n-tab-active::after {
    content: '';
    display: block;
    left: 0;
    bottom: -2px;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #E60039;
}
.select-btn{
    display: block;
    margin: 40px auto;
    width: fit-content;
}
.select-btn:hover{
    color: #FFFFFF!important;
}
#contactus {
    margin: 0;
}
@media screen and (max-width:768px) {
    .n-tab div {
        position: relative;
        text-align: center;
        font-size: 16px;
        padding: 12px 0px;
        border-bottom: 1px solid #E3E5E6;
        width: 33.33%;
    }
}

.resourcesSection {
    display: flex;
    align-items: flex-start;
}

.resources-tab {
    flex-shrink: 0;
}

.resources-tab-word {
    display: none;
}

.resources-tab {
    position: relative;
    padding: 12px 0;
    margin-right: 180px;
}

.resources-tab div {
    position: relative;
    color: #6A6B6D;
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    padding: 0 0 0 24px;
    margin-top: 48px;
    cursor: pointer;
}

.resources-tab div.active {
    color: #E60039;
    pointer-events: none;
}

.resources-tab div.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background-color: #E60039;
    display: block;
}

.resources-tab div:first-child {
    margin-top: 0;
}

.resources-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 1px;
    background-color: #D5D5D5;
    display: block;
}

.resourcesCont {
    width: 100%;
}

.resourceCards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.resourceCard {
    position: relative;
    padding: 24px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 2px solid #FFF;
    background: linear-gradient(180deg, #F3F5F8 0%, #FFF 100%);
    box-shadow: 0px 6px 20px 0px rgba(213, 219, 228, 0.50);
    cursor: pointer;
}

.resourceCard p {
    color: #2A2B2E;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%; /* 27px */
    margin-bottom: 42px;
}

.resourceCard a,
.resourceImg a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 4;
}

.resourceImgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.resourceImg {
    position: relative;
}

.resourceImg img {
    width: 100%;
}

.resourceImg p {
    color: #2A2B2E;
    font-size: 18px;
    line-height: 150%; /* 27px */
    margin:16px 0 12px;
}

.resourceImg i {
    color: #9B9FA8;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%; /* 21px */
}

.resourceImgCover {
    position: relative;
    overflow: hidden;
}

.resourceImgCover img {
    transition: transform .16s linear;
}

.resourceImgCover::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.20);
    z-index: 2;
}

.resourceImgCover::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../RJ-img/videoPlay.svg);
    z-index: 3;
}
.resourceImg:hover .resourceImgCover::after{
    background-image: url(../RJ-img/videoPlay-hover.svg);
}

.transparent-commonlink {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #E60039;
    font-size: 16px;
    font-weight: 400;
    line-height: 125%;
    margin: 24px 0 0 0;
}

.transparent-commonlink::after {
    content: '';
    background-image: url(../RJ-img/link.svg);
    margin-left: 8px;
    background-size: cover;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    transition: transform .16s linear;
    -webkit-transition:transform .16s linearr;
    -moz-transition:transform .16s linear;
    -o-transition:transform .16s linear;
}


@media screen and (min-width:1068px) {
    .resourceImg:hover .resourceImgCover img {
        transform: scale(1.05);
    }
    .transparent-commonlink.active::after {
        transform: translateX(6px);
    }
}

@media screen and (max-width:1440px) {
    .resources-tab {
        margin-right: 214px;
    }
    .resourceCard p {
        font-size: 18px;
    }
    .resourceImg p {
        margin-top: 14px;
        font-size: 16px;
    }
}

@media screen and (max-width:1280px) {
    .resources-tab {
        margin-right: 184px;
    }
    .resources-tab div {
        margin-top: 36px;
        font-size: 16px;
    }
    .resourceCard p {
        font-size: 16px;
    }
    .resourceImg p {
        margin-top: 12px;
        font-size: 14px;
    }
    .resourceCard .transparent-commonlink {
        font-size: 14px;
    }
    .resourceCard .transparent-commonlink::after {
        width: 20px;
        height: 20px;
    }
    .resourceVideo .resourceImgCover::after {
        width: 36px;
        height: 36px;
    }
    .form-content {
        margin-top: 12px;
    }
    
}

@media screen and (max-width:1068px) {
    .resourcesSection {
        flex-direction: column;
        align-items: center;
    }
    .resources-tab {
        display: flex;
        justify-content: center;
        margin-right: 0;
        padding: 0;
        margin-bottom: 36px;
    }
    .resources-tab div {
        margin-top: 0;
        padding: 0 12px 12px 12px;
    }
    .resources-tab::before {
        width: 100%;
        height: 1px;
        bottom: 0;
        left: 0;
        top: unset;
    }
    .resources-tab div.active::before {
        top: unset;
        bottom: 0;
        width: 100%;
        height: 2px;
    }
    .resourceImgs {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .resourceCards {
        gap: 20px;
    }
}

@media screen and (max-width:768px) {
    .resourceCard {
        padding: 16px;
    }
}

@media screen and (max-width:600px) {
    .resourceCards {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width:520px) {
    .resourceImgs {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}