/* Case-studies updates */

.single-case-study .page-header {
    background-image: none !important;
    background-color: rgba(0, 0,0,0) !important;
}

.single-case-study #content-wrap {
    margin-top: -104px;
}

.single-case-study .post-header {
    padding-top: 126px;
}

.single-case-study .case-study ul.meta li,
.single-case-study .case-study ul.meta li a,
.single-case-study .case-study ul.meta li:nth-child(2),
.single-case-study .case-study ul.meta li:nth-child(2) a {
    color: #FFF !important;
}

.single-case-study .post-header .title_top .left_section ul li {
    border-color: #FFF !important;
}

.single-case-study h2.section-title {
    text-indent: -2px;
}

.single-case-study .single-post-title img {
    filter: brightness(0) invert(1);
    margin-right: 11px;
    margin-left: -11px;
    margin-top: -9px;
    width: 95px;
    height: 96px;
}

.single-case-study .single-post-title.entry-title {
    color: #FFF !important;
}

.background-white {
    background: #ffffff !important;
}

.featured-case-study {
    min-height: 600px;
}

.featuredPostWrapper.featured-case-study  .vc_column-inner {
    margin-bottom: 0px !important;
}

.flex  {
    display: flex !important;
}

.flex-align-bottom {
    align-items: flex-end;
}

.service-tabs {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    min-height: 60px;
}

.service-tabs li {
    display: flex;
    text-align: left;
    margin: 0 5px;
}

.service-tabs li a {
    color: #172f51;
    font-size: 16px;
    font-weight: bold;
    padding: 0 5px;
}

.service-tabs li {
    border-bottom: 4px solid #a4e05f;
    margin-bottom: 0px !important;
    align-items: flex-end;
}

.service-tabs li:hover,
.service-tabs li.active {
    background: #a4e05f;
}

.text-teal,
.outlook-webinar .single-tagline.text-teal {
    color: #00FBCD !important;
}

.featured-case-study-link {
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
}

.featured-case-study-link:hover {
    text-decoration: underline;
}
.page-template-case-studies-page-template .outlook-webinar .col-4.flex-item,
.page-template-case-studies-page-template .outlook-webinar .col-4.flex-item {
    display: flex !important;
    flex-direction: column !important;
    margin: 0;
    width: calc(33.33% - 15px) !important;
}

.page-template-case-studies-page-template .outlook-webinar .col-4.flex-item:nth-child(2) {
    margin: 0 30px;
}

.justify-content-space-between {
    justify-content: space-between !important;
}

.justify-content-space-between .single_post-wrapper .contentWrapper .categoriesWrapper {
    font-size: 16px;
    font-weight: bold;
}

service-single-case-study {
    margin: 0 15px;
}

.service-more {
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    width: auto;
    padding-left: 5px;
}

.service-more img {
    position: relative;
    margin-bottom: -2px;
    height: 14px;
}

.outlook-webinar .single_post-wrapper.service-single-case-study .contentWrapper {
    padding: 18px 0px;
}

.page-template-case-studies-page-template .single_post-wrapper:hover .contentWrapper {
    background: #FFF;
}

.page-template-case-studies-page-template .single_post-wrapper .contentWrapper h2 {
    padding: 0px;
}

.page-template-case-studies-page-template h4.service-category a,
.page-template-case-studies-page-template h4.service-category {
    color: #1575D5;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

.pl-15 {
    padding-left: 15px;
}

.pr-15 {
    padding-right: 15px;
}

.page-template-case-studies-page-template .outlook-webinar .flex.services-row {
    display: none !important;
}

.page-template-case-studies-page-template .outlook-webinar .flex.services-row.visible {
    display: flex !important;
}

.featuredPostWrapper .vc_column-inner.mb-0,
.mb-0 {
    margin-bottom: 0px !important;
}

.see-more.services {
    color: #1575D5;
    padding: 0;
    margin-left: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 70px;
    float: left;
}

.see-more.services:hover {
    text-decoration: underline;
}

.services-related-case-studies hr {
    border-bottom: 2px solid #e8e8e8;
    margin-left: 15px;
    margin-right: 15px;
    padding-left: 0px;
    padding-right: 0px;
}
.outlook-webinar .single-tagline.color-gray,
.color-gray {
    color: #78839b;
}

.outlook-webinar h2.case-studies {
    padding-bottom: 15px !important;
    font-size: 42px !important;
    line-height: 42px;
}

.featuredPostWrapper .vc_column-inner.m-0,
.m-0 {
    margin: 0px !important;
}

.related-case-studies-wrapper .col-4.flex-item {
    width: calc(33.33% - 30px);
    padding: 0;
}

.related-case-studies-wrapper .single_post-wrapper .imageWrapper i.arrow-up {
    border-bottom-color: #e1e7ee;
}
.related-case-studies-wrapper .contentWrapper {
    background: #e1e7ee;
    width: 100%;
}

.related-case-studies-wrapper .single_post-wrapper:hover .imageWrapper i.arrow-up {
    border-bottom-color: #d0f9ff;
}

.related-case-studies-wrapper .single_post-wrapper:hover .contentWrapper {
    background: #d0f9ff;
}

.page-template-case-studies-page-template .featuredPostWrapper {
    float: left;
    width: 100%;
}

.page-template-case-studies-page-template .connect-wrapper {
    background-image: url('/wp-content/themes/total-child-theme/images/Green_Callout-Module.png');
}

.page-template-case-studies-page-template .outlook-webinar #connect-button {
    background: #ffffff !important;
    color: #01395a;
    width: 100%;
    float: left;
    text-align: center;
    margin-top: 35px;
    font-style: normal;
    font-weight: 700;
    font-size: 23px;
    height: 51px;
    line-height: 51px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-transform: none;
}

.page-template-case-studies-page-template .outlook-webinar #connect-button i {
    display: flex;
    line-height: 51PX;
    width: 15%;
    justify-content: center;
    background: #01395a;
    color: #ffffff !important;
}

.page-template-case-studies-page-template .outlook-webinar #connect-button .link-inner:hover,
.page-template-case-studies-page-template .outlook-webinar #connect-button:hover .link-inner,
.page-template-case-studies-page-template .outlook-webinar #connect-button:hover {
    background: #01395a !important;
    transition: all 0.5s ease-in;
}

.page-template-case-studies-page-template .outlook-webinar #connect-button:hover .link-inner {
    color: #FFFFFF;
    transition: all 0.3s ease-in;
}

section.services-related-case-studies {
    float: left;
    width: 100%;
    margin-bottom: -17px !important;
    padding-bottom: 0px !important;
    padding-top: 70px !important;
}

section.services-related-case-studies:last-child {
    margin-bottom: 0px !important
}

.single-case-study section:last-of-type hr,
.page-template-case-studies-page-template section:last-of-type hr {
    display: none;
}

.single-case-study section:last-of-type,
.page-template-case-studies-page-template section:last-of-type {
    padding-bottom: 35px !important;
}


@media (max-width: 921px) {
    .page-template-case-studies-page-template .featuredPostWrapper.featured-case-study .flex.flex-align-bottom {
        flex-direction: column !important;
    }

    .featured-case-study {
        min-height: fit-content;
    }

    .service-tabs {
        flex-direction: column;
    }

    .service-tabs li {
        padding: 10px 0;
        margin: 0px;
    }

    .services-row .flex {
        flex-direction: column;
    }

    .page-template-case-studies-page-template .outlook-webinar .col-4.flex-item, .page-template-case-studies-page-template .outlook-webinar .col-4.flex-item {
        width: 100% !important;
        padding: 0px !important;
    }

    .page-template-case-studies-page-template .outlook-webinar .col-4.flex-item:nth-child(2) {
        margin: 0px !important;
    }

    .services-related-case-studies hr {
        margin-left: 0px !important;
        margin-right: 0px !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    section.services-related-case-studies {
        padding-top: 30px !important;
    }

    .see-more.services {
        margin-bottom: 15px;
        margin-left: 15px;
    }

    .single-case-study .post-header {
        padding-bottom: 13px !important;
    }

    .related-case-studies-wrapper .col-4.flex-item.related-content-item {
        width: 100%;
        margin-top: 30px;
    }


}

@media (max-width: 760px) {
    .single-case-study .post_summary {
        padding-right: 0px;
        margin-right: 0px !important;
        padding-left: 0px;
    }

    .single-case-study .vc_column_container>.vc_column-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .case-study .post-container {
        padding-right: 0px !important;
    }
}