.resource-with-featured  {
    padding: 88px 0 57px;
    overflow: hidden;
}

.resource-with-featured.padding-bottom-50 {
    padding-bottom: 58px;
}

@media (max-width: 992px) and (min-width: 595px)   {
    .resource-with-featured{
        padding-top: 45px;
        /*padding: 45px 0 0;*/
    }

}
@media (max-width: 595px) {
    .resource-with-featured.padding-bottom-50 {
        padding-bottom: 20px;
    }
}

.resource-with-featured .title {
    width: 100%;
    position: relative;
    text-align: center;
    max-width: 530px;
    margin: 0 auto 37px;
}

.resource-with-featured .title h2 {
    font-weight: 700 !important;
    margin-top: 0;
    text-align: center;
    font-size: 36px !important;
    font-family: 'UniversLTStd Cn' !important;
    line-height: 1.3 !important;
    margin-bottom: 41px;
}

.resource-with-featured .title p {
    max-width: 560px;
    margin: 0 auto;
    letter-spacing: 0.011em;
}

.resource-with-featured .content-wrapper .tabs-wrapper span {
    color: #222720;
    font-family: Univers LT Std Home;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.17em;
    margin-right: 60px;
}

.resource-with-featured .content-wrapper .tabs-wrapper ul {
    display: inline-block;
    list-style: none;
    padding: 0 0 0 62px;
    margin-left: 0;
}

@media (min-width: 1200px) {
    .resource-with-featured .content-wrapper .tabs-wrapper ul {
        margin-bottom: 49px;
    }
}

@media (min-width: 991px) {
    .resource-with-featured .content-wrapper .tabs-wrapper ul {
        padding: 0;
    }
}

.resource-with-featured .content-wrapper .tabs-wrapper ul li {
    display: inline-block;
    margin-left: 0;
}

.resource-with-featured .content-wrapper .tabs-wrapper ul li span {
    display: inline-block;
    color: #11a5da;
    font-family: Univers LT Std Home;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.17em;
    cursor: pointer;
    padding: 7px 15px 5px;
    margin-left: 31px;
    transition: 0.5s;
    margin-right: 25px;

}
.resource-with-featured .content-wrapper .tabs-wrapper ul li span {
    padding: 7px 38px 5px;
    margin-right:20px;
}
@media (min-width: 991px) {
    .resource-with-featured .content-wrapper .tabs-wrapper ul li span {
        margin-right:0;
    }
}

.resource-with-featured .content-wrapper .tabs-wrapper ul li.active span {
    background-color: #11a5da;
    color: #ffffff;

}

.resource-with-featured .content-wrapper .tab-box {
    padding: 40px 46px 45px 51px;
    background: #FFFFFF;
    box-shadow: 0 17px 45px 0 rgba(122, 149, 164, 0.20);
}

.resource-with-featured .content-wrapper .tab-box .tab-content .column-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 1100px) {
    .resource-with-featured .content-wrapper .tab-box .tab-content .column-row {
        align-items: center;
    }
}

@media (max-width: 767px) {
    .resource-with-featured .content-wrapper .tab-box .tab-content .column-row {
        flex-direction: column;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item.active {
    /*display: block;*/
    position: relative;
    opacity: 1;
    visibility: visible;
    transition: 0.5s;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item {
    /*display: none;*/
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-block {
    flex: 0 0 51.5%;
    max-width: 51.5%;
    width: 100%;
}

@media (max-width: 767px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-block {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .img-block {
    flex: 0 0 48.5%;
    max-width: 48.5%;
    width: 100%;
    max-height: 332px;
}

@media (max-width: 767px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .img-block {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container {
    padding-right: 70px;
    margin-top: 12px;
}

@media (max-width: 767px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container {
        padding-right: 0;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container span {
    display: inline-block;
    color: #11a5da;
    font-family: Univers LT Std Home;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container h2 {
    font-family: 'UniversLTStd Cn' !important;
    font-weight: 700 !important;
    font-size: 36px !important;
    margin-bottom: 13px;
    line-height: 1.25 !important;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container .mobile-img {
    display: none;
    margin-bottom: 30px;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container .mobile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container h2 {
        font-size: 30px !important;
    }

}

@media (max-width: 767px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container h2 {
        font-size: 28px;
    }
}

@media (max-width: 595px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container h2 {
        font-size: 24px;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container .mobile-img {
        display: block;
        height: 150px;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container p {
    font-size: 15px;
    margin-top: 13px;
    max-width: 510px;
    letter-spacing: 0.04em;
    line-height: 1.74;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container h4 {
    margin-top: 30px;
    line-height: 1.53;
}

@media (max-width: 767px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container h4 {
        font-size: 20px;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container .product-btn {
    margin: 19px 0 30px;
    padding: 11px 18px;
    letter-spacing: 0.21em;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .img-wrap {
    width: 100%;
    /*height: 100%;*/
}

@media (max-width: 991px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .img-wrap {
        margin-top: 10px;
        height: 300px;
    }

    .resource-with-featured .content-wrapper .tabs-wrapper ul {
        padding: 0;
    }

    .resource-with-featured .content-wrapper .tabs-wrapper ul li {
        margin: 0;
    }

    .resource-with-featured .content-wrapper .tab-box {
        padding: 32px 23px;
    }


    .resource-with-featured .title {
        margin: 0 auto 19px;
    }

}

@media (max-width: 595px) {
    .resource-with-featured .content-wrapper .tabs-wrapper ul {
        width: 100%;
        margin-top: 12px;
    }

    .resource-with-featured .content-wrapper .tabs-wrapper ul li {
        display: block !important;
        margin-bottom: 13px;
    }

    .resource-with-featured .content-wrapper .tabs-wrapper ul li:last-child {
        margin-bottom: 0;
    }

    .resource-with-featured .content-wrapper .tabs-wrapper ul li span {
        margin-left: 0;
    }

    .resource-with-featured .content-wrapper .tabs-wrapper ul li.active {
        display: inline-block;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container h2 {
        font-size: 24px !important;
        margin-bottom: 10px;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container p {
        margin-top: 10px;
        line-height: 1.6;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .img-wrap {
        height: 150px;
        display: none;
    }

    .resource-with-featured .content-wrapper .tab-box {
        padding: 9px 23px 26px;
    }

    .resource-with-featured .title h2 {
        font-size: 24px !important;
        margin-bottom: 26px;
    }
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .text-container span {
        margin-bottom: 24px;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .tab-box .tab-content .column-row .img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /*object-position: right bottom;*/
}

/*---------------------------------------cards---------------------------------------------------*/

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid {
    margin: 0 auto;
    background: none;
    margin-top: 27px;
    width: calc(100% + 32px);
    margin-left: -16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
@media (max-width: 1200px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 595px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid {
        margin-top: 16px;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap {
    padding: 16px 18px 0;
    flex: 0 0 33.33%;
    max-width: 33.33%;
    width: 100%;
}

@media (max-width: 991px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap {
        flex: 0 0 50%;
        max-width: 50%;
    }

}

@media (max-width: 1200px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap {
        padding: 16px 8px 0;
    }

}

@media (max-width: 595px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 16px 0 0;
    }
}

/* ---- Resource card: matches the homepage card in related-resources/resources.css ---- */

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap {
    border: 0;
    box-shadow: 0 5px 18px 0 rgb(78 102 116 / 17%);
    filter: drop-shadow(0px 5px 25px rgba(122, 149, 164, 0.25));
    border-radius: 15px;
    background: #fff;
    min-height: 415px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    margin: 0 3px 30px 10px;
}

@media (max-width: 576px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap {
        min-height: 370px;
        margin-bottom: 3px;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .img-wrap {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    height: 100%;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .img-wrap img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center top;
    object-position: center top;
    width: 100%;
    max-height: 190px;
    height: 100%;
    display: flex;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .img-wrap.video-wrap {
    position: relative;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .img-wrap.video-wrap:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3) url(/wp-content/themes/modeln/refresh/assets/images/card-play-icon.svg) no-repeat center;
    background-size: 15%;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body {
    padding-left: 24px;
    padding-top: 15px;
    width: 100%;
    background: #fff;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 5px 18px 0 rgba(78, 102, 116, 0.17);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    z-index: 1;
}

@media screen and (min-width: 576px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body {
        position: absolute;
        bottom: 0;
        left: 0;
        min-height: 229px;
        overflow: hidden;
    }
}

@media screen and (max-width: 575.98px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body {
        padding: 14px 17px;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .card-title {
    display: block;
    align-items: center;
    margin-bottom: 13px;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .card-title .button-wrap {
    margin-right: 20px;
}

/* the homepage card drops the resource-type icon in favour of the pill below */
.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .card-title .button-wrap .icon {
    display: none;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .card-title span {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: 'Univers LT Std' !important;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0;
    color: #31445C;
    background: rgba(0, 169, 224, 0.1);
    border-radius: 15px;
    padding: 10px 10px 9px;
    line-height: 1;
    text-transform: none;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .card-title span.on-demand-webinar {
    background: rgba(255, 209, 0, 0.15);
    color: #0C2340;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .content-wrap {
    position: relative;
    max-width: 302px;
    padding-left: 2px;
}

@media (max-width: 595px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .content-wrap {
        padding: 0;
        max-width: 100%;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .content-wrap h6 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    height: 80px;
    font-family: "UniversLTStd Cn" !important;
    font-weight: 700;
    font-size: 22px !important;
    line-height: 28px;
    color: #0C2340;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .content-wrap span {
    display: none;
    font-size: 16px;
    font-family: "Univers LT Std Home";
    max-height: 144px;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .content-wrap > a {
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
    font-size: 15px;
    font-family: "Univers LT Std Home", "UniversLTStd Cn", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #004EA8;
    margin-top: 30px;
    display: inline-block;
    position: relative;
    text-transform: none;
    padding-left: 2px;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .content-wrap > a:before {
    content: "";
    position: absolute;
    background: url(/wp-content/themes/modeln/img/navy-arrow.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    bottom: 6px;
    right: -41px;
    width: 28px;
    height: 13px;
    z-index: 1;
    cursor: pointer;
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .content-wrap > a:after {
    display: none;
}

@media screen and (min-width: 1024px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .card-body {
        padding-top: 18px;
        min-height: 321px;
        background: linear-gradient(180deg, #004EA8 0%, #0C2340 100%);
        transform: translateY(0);
        position: absolute;
        bottom: 0;
        overflow: hidden;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .card-body .content-wrap {
        position: relative;
        padding-bottom: 20px;
        min-height: 185px;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .card-body .content-wrap h6 {
        margin-bottom: 11px;
        color: #fff;
        height: auto;
        overflow: visible;
        display: block;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .card-body .content-wrap > span {
        display: block;
        color: #ffffff;
        font-weight: 400;
        line-height: 1.5;
        max-height: 144px;
        overflow: hidden;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .card-body .card-title,
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .card-body .title {
        margin-bottom: 33px;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .card-title span,
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .card-body .title .headline {
        padding: 10px 10px 9px;
        color: #ffffff !important;
        background: transparent;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .content-wrap > a {
        color: #00A9E0;
        margin-top: 30px;
        word-break: break-word;
    }

    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .content-wrap > a:before {
        content: "";
        position: absolute;
        background: url(/wp-content/themes/modeln/img/blue-arrow.svg);
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: contain;
        bottom: 6px;
        right: -41px;
        width: 28px;
        height: 13px;
    }
}

@media screen and (max-width: 1200px) and (min-width: 1024px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap:hover .content-wrap > a:before {
        background-size: 100%;
        right: -61px !important;
        width: 52px;
    }
}

@media (max-width: 595px) {
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .card-title {
        margin-bottom: 9px;
    }
    .resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .resource-grid .col-wrap .card-wrap .card-body .content-wrap h6 {
        font-size: 20px !important;
        line-height: 1.3;
        height: 78px;
    }
}

.resource-with-featured .content-wrapper .outer-wrapper .tab-data-item .btn-wrap {
    text-align: center;
}

@media (min-width: 596px) and (max-width: 900px) {
 .ua-mobile.ua-ios .fadeInUp {
     animation-name: none !important;
     animation-delay: 0ms;
 }
}


.resource-with-featured.product .content-wrapper .tabs-wrapper {
    display: none;
}