/*********/
/* Cards */
/*********/

.grid-page .card {
    overflow: hidden;
    position: relative;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.15);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.15);
    margin: 0 0 30px;
    min-height: 500px;
    background-color: #fff;
    cursor: pointer;
    -webkit-transition: opacity .3s ease, -webkit-transform .3s ease, -webkit-box-shadow .3s ease;
    transition: opacity .3s ease, -webkit-transform .3s ease, -webkit-box-shadow .3s ease;
    -o-transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease;
    transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease;
    transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease, -webkit-transform .3s ease, -webkit-box-shadow .3s ease;
}

.grid-page .card:not(.placeholder):not(.slick-slide):hover {
    /*-webkit-transform: scale(1.02);*/
    /*-ms-transform: scale(1.02);*/
    /*transform: scale(1.02);*/
    -webkit-box-shadow: 0 0 45px 0 rgba(0,0,0,0.15);
    box-shadow: 0 0 45px 0 rgba(0,0,0,0.15);
    text-decoration: none;
}

.grid-page .card:not(.placeholder):not(.slick-slide):hover .title,
.grid-page .card:not(.placeholder):not(.slick-slide):hover .card-cta {
    text-decoration: underline;
}

.grid-page .card .thumbnail {
    display: block;
    position: relative;
    width: 100%;
    height: 1px;
    padding-bottom: 56.25%;
    background-color: #9b9b9b;
    background-size: cover;
    background-position: center center;
}

.grid-page .card .card-detail{
    padding: 20px 30px 80px;
}

.grid-page .card .card-detail .content-type-label{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
}

.grid-page .card .card-detail .content-type-label .icon{
    width: 31px;
    height: 31px;
    margin-right: 10px;
    background-color: #9b9b9b;
    border-radius: 50%;
    flex: none;
}

.grid-page .card .card-detail .content-type-label .content-types-label-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.grid-page .card .card-detail .content-type-label .content-types-label-text span{
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 14px;
}

.grid-page .card .card-detail .content-type-label .content-types-label-text span.content-types-label-heading {
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    width: 100%;
}

.grid-page .card .card-detail .content-type-label .content-types-label-text span.content-types-label-heading span.webinar-date {
    font-weight: 400;
    display: inline;
    color: #9B9B9B !important;
    font-style: italic;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0;
    text-transform: none;
}

.grid-page .card .card-detail .content-type-label .content-types-label-text span.subtype,
.grid-page .card .card-detail .content-type-label .content-types-label-text span.industry {
    font-weight: 300;
    letter-spacing: 0;
    line-height: 15px;
    font-style: italic;
    text-transform: none;
}


.grid-page .card .card-detail .title{
    color: #445C6D !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 10px;
}

.grid-page .card .card-detail .body{
    color: #4E4E4E !important;
    font-size: 14px;
    line-height: 21px;
}

.grid-page .card .footnote{
    color: #9b9b9b !important;
    font-size: 12px;
    font-style: italic;
    line-height: 17px;
    margin-bottom: 6px;
    position: absolute;
    bottom: 49px;
    left: 30px;
}

.grid-page .card .card-cta{
    color: #4A90AD !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    position: absolute;
    bottom: 30px;
    left: 30px;
    margin-bottom: 0;
}

.grid-page .card .card-cta.lock::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 29px;
    background-image: url("/sites/default/modules/ia_integrators/images/icons/Icon-LockedContent.svg");
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 8px;
    vertical-align: -8px;
}

/* Loading card placeholders */

.grid-page .placeholder .content-types-label-text,
.grid-page .placeholder .icon,
.grid-page .placeholder .thumbnail,
.grid-page .placeholder .title,
.grid-page .placeholder .title::after {
    background: -webkit-linear-gradient(97.89deg, #EEEEEE 0%, #D8D8D8 100%);
    background: -o-linear-gradient(97.89deg, #EEEEEE 0%, #D8D8D8 100%);
    background: linear-gradient(352.11deg, #EEEEEE 0%, #D8D8D8 100%);
    -webkit-animation: Gradient 1s ease-in-out infinite;
    animation: Gradient 1s ease-in-out infinite;
    background-size: 400% 400%;
}

.grid-page .placeholder .content-types-label-text {
    display: block;
    width: 100px;
    height: 30px;
    border-radius: 3px;
}

.grid-page .placeholder .title {
    display: block;
    width: 80%px;
    height: 24px;
    border-radius: 3px;
    position: relative;
}

.grid-page .placeholder .title::after {
    content: '';
    display: block;
    width: 70%;
    height: 24px;
    border-radius: 3px;
    position: absolute;
    left: 0;
    bottom: -30px;
}

.grid-page .placeholder.card a:hover {
    cursor: default;
}

@-webkit-keyframes Gradient {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

@keyframes Gradient {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}



/*************************************/
/* content-type specific card styles */
/*************************************/

/* white papers */
.grid-page .card.white-paper .card-detail .content-type-label .icon{
    background-image: url('../images/icons/TileIcon-WhitePaper.svg');
    background-color: #FDEDE9;
}

.grid-page .card.white-paper .card-detail .content-type-label span{
    color: #EC6742 !important;
}

/* videos */
.grid-page .card.video .card-detail .content-type-label .icon{
    background-image: url('../images/icons/TileIcon-Video.svg');
    background-color: #E6F2E5;
}

.grid-page .card.video .card-detail .content-type-label span{
    color: #57A94F !important;
}

/* articles */
.grid-page .card.article .card-detail .content-type-label .icon{
    background-image: url('../images/icons/TileIcon-Article.svg');
    background-color: #E5EFF3;
}

.grid-page .card.article .card-detail .content-type-label span{
    color: #4A90AD !important;
}

/* case studies */
.grid-page .card.casestudy .card-detail .content-type-label .icon{
    background-image: url('../images/icons/TileIcon-Success.svg');
    background-color: #FEF1DE;
}

.grid-page .card.casestudy .card-detail .content-type-label span{
    color: #F49E1E !important;
}

/* customer project */
.grid-page .card.customerproject .card-detail .content-type-label .icon{
    background-image: url('../images/icons/TileIcon-CustomerProject.svg');
    background-color: #FEF1DE;
}

.grid-page .card.customerproject .card-detail .content-type-label span{
    color: #EC6742 !important;
}

/* podcasts */
.grid-page .card.podcast .card-detail .content-type-label .icon{
    background-image: url('../images/icons/TileIcon-Podcast.svg');
    background-color: #F3ECF4;
}

.grid-page .card.podcast .card-detail .content-type-label span{
    color: #AE7DB2 !important;
}

/* ICC */
.grid-page .card.icc .card-detail .content-type-label .icon{
    background-image: url('../images/icons/TileIcon-ICC.svg');
    background-color: #e9ecf4;
}

.grid-page .card.icc .card-detail .content-type-label span{
    color: #4F66A8 !important;
}

/* webinars */
.grid-page .card.webinar .card-detail .content-type-label .icon{
    background-image: url('../images/icons/TileIcon-Webinar.svg');
    background-color: #E6F2E5;
}

.grid-page .card.webinar .card-detail .content-type-label span{
    color: #4AA99D !important;
}

/* Ignition Exchange */

.grid-page .card.exchange .card-detail .content-type-label .content-types-label-text span.content-types-label-heading {
    color: #9B9B9B;
}

.grid-page .card.exchange .card-detail .content-type-label .content-types-label-text span.subtype {
    color: #9B9B9B;
}

.grid-page .card.exchange .card-detail .content-type-label .icon {
    background-color: rgba(0,33,67,0.06);
}

.grid-page .card.exchange.individual .card-detail .content-type-label .icon {
    background-image: url('/sites/default/modules/ignition_exchange/images/type-icons/Icon-Type-Individual.svg');
}

.grid-page .card.exchange.project .card-detail .content-type-label .icon {
    background-image: url('/sites/default/modules/ignition_exchange/images/type-icons/Icon-Type-Project.svg');
}

.grid-page .card.exchange.gateway .card-detail .content-type-label .icon {
    background-image: url('/sites/default/modules/ignition_exchange/images/type-icons/Icon-Type-Gateway.svg');
}

.grid-page .card.exchange .owner-band {
    height: 32px;
    width: 100%;
    background-color: rgba(0,0,0,0.37);
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 0 10px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.grid-page .card.exchange .owner-band img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.grid-page .card.exchange .owner-band span {
    opacity: 0.75;
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
}

.grid-page .card.exchange .owner-band .lifecycle {
    margin-right: 8px;
}

.grid-page .card.exchange .owner-band .edit-link {
    margin-left: auto;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
}

.grid-page .card.exchange .owner-band .edit-link:hover,
.grid-page .card.exchange .owner-band .edit-link:focus {
    text-decoration: underline;
}


/************************************************************************/
/* Featured section and grid listings, uses grid with flex fallback */
/************************************************************************/

.grid-listing,
.featured-listing {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.featured-listing {
    margin-bottom: 50px;
}

.middle-section-2:last-of-type .grid-listing {
    margin-bottom: 50px;
}

.featured-loader {
    display: none;
}


/* desktop only styles */
@media print, screen and (min-width: 769px) {
    .grid-page .card {
        width: calc(33.33% - 20px);
        -ms-flex-negative: 1;
        flex-shrink: 1;
        min-height: 386px;
        margin-bottom: 50px;
    }

    .grid-page .featured-listing.four-up > .card:first-of-type {
        width: 100%;
        min-height: 386px;
        margin-bottom: 30px;
    }

    .grid-page .featured-listing.four-up > .card.webinar.register:first-of-type {
        overflow: visible;
    }

    .grid-page .featured-listing.four-up > .card.webinar.register:first-of-type  .thumbnail{
        overflow: visible;
        border-radius: 3px 0 0 3px;
    }

    .grid-page .featured-listing.four-up > .card.webinar.register:first-of-type .card-detail::after {
        content: 'Upcoming Webinar';
        position: absolute;
        top: -25px;
        width: 100%;
        left: 0;
        height: 25px;
        border-radius: 3px 3px 0 0;
        background-color: #4A90AD;
        line-height: 25px;
        color: #fff;
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 700;
        text-align: center;
    }

    .grid-page .featured-listing.four-up > .card:first-of-type .thumbnail {
        height: 100%;
        width: calc(66.66% + 20px);
        float: left;
    }

    .grid-page .featured-listing.four-up > .card:first-of-type .card-detail {
        position: relative;
        /*padding-top: 50px;*/
        width: calc(33.33% - 20px);
        float: right;
    }
}

/* XL only styles */
@media print, screen and (min-width: 120.063em) {
    .grid-page h1 {
        font-size: 30px !important;
        line-height: 36px;
    }

    .grid-page h2 {
        font-size: 30px !important;
        line-height: 40px;
    }

    .grid-page .card .card-detail .body {
        font-size: 16px;
        line-height: 25px;
        margin-bottom: 50px;
    }

    .grid-page .card .card-detail .content-type-label .icon {
        width: 35px;
        height: 35px;
    }

    .grid-page .card .card-detail .title {
        font-size: 21px;
        line-height: 30px;
    }

    .grid-page .card .footnote {
        font-size: 14px;
        line-height: 20px;
    }

    .grid-page .card .card-cta {
        font-size: 16px;
        line-height: 26px;
    }

    .grid-page .card {
        min-height: 684px;
    }

    .grid-page .featured-listing.four-up > .card:first-of-type {
        min-height: 541px;
    }

    .grid-page .card .thumbnail {
        height: 250px;
    }

    .grid-page .card .card-detail {
        padding-top: 30px;
    }

    .grid-page .card .card-detail .content-type-label {
        margin-bottom: 30px;
    }

    .grid-page .card .card-detail .title {
        margin-bottom: 15px;
    }

    .grid-page .card .footnote {
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 10px;
    }

    .node--type-casestudy .project-info p,
    .node--type-casestudy .project-info a,
    .node--type-customerproject .project-info p,
    .node--type-customerproject .project-info a {
        font-size: 16px !important;
        line-height: 26px !important;
    }

    .node--type-customerproject .project-info a.morelink {
        font-size: 12px !important;
    }
}


/* Tablet smaller breakpoint */
@media print, screen and (max-width: 768px) and (min-width: 39.9375em){
    .grid-page .featured-listing.four-up > .card:first-of-type {
        width: 100%;
        min-height: 386px;
    }

    .grid-page .featured-listing.four-up > .card.webinar.register:first-of-type {
        overflow: visible;
    }

    .grid-page .featured-listing.four-up > .card.webinar.register:first-of-type .card-detail::after {
        content: 'Upcoming Webinar';
        position: absolute;
        top: -25px;
        width: 100%;
        left: 0;
        height: 25px;
        border-radius: 3px 3px 0 0;
        background-color: #4A90AD;
        line-height: 25px;
        color: #fff;
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 700;
        text-align: center;
    }

    .grid-page .card {
        width: 48.5%;
    }

    .grid-page .featured-listing.four-up > .card:first-of-type .thumbnail {
        height: 100%;
        width: 51%;
        float: left;
    }

    .grid-page .featured-listing.four-up > .card:first-of-type .card-detail {
        position: relative;
        padding-top: 50px;
        width: 49%;
        float: right;
    }

    .grid-page .featured-listing > .card:nth-of-type(4) {
        display: none;
    }
}


/* Mobile only styles */
@media print, screen and (max-width: 39.9375em) {
    .grid-listing {
        margin-bottom: 0;
    }

    .grid-page .card {
        width: 48.5%;
    }

    .grid-page .featured-listing.four-up .card.webinar.register {
        overflow: visible;
        margin-top: 25px;
    }

    .grid-page .featured-listing.four-up .card.webinar.register {
        overflow: visible;
        margin-top: 25px;
    }

    .grid-page .featured-listing.four-up .card.webinar.register .thumbnail::after {
        content: 'Upcoming Webinar';
        position: absolute;
        top: -25px;
        width: 100%;
        left: 0;
        height: 25px;
        border-radius: 3px 3px 0 0;
        background-color: #4A90AD;
        line-height: 25px;
        color: #fff;
        font-size: 12px;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-weight: 700;
        text-align: center;
    }

    /*.grid-page {*/
    /*    min-height: calc(100vh - 319px);*/
    /*}*/

    .grid-page .header {
        padding-bottom: 50px;
    }

    .grid-page .infinity-pager-container {
        padding-bottom: 50px;
    }

    .grid-page .top-section.pre-load {
        min-height: 500px;
        position: relative;
    }

    .grid-page .featured-loader {
        display: block;
        position: absolute;
        top: 200px;
        height: 100px;
        width: 100%;
        background-image: url(../images/icons/loader.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100px;
    }
}


/* Small mobile  styles */
@media print, screen and (max-width: 530px) {
    .grid-page .card {
        width: 100%;
        margin-bottom: 15px;
    }
}


/*                      */
/* grid-specific styles */
/*                      */
@supports (display: grid) {
    .grid-page .card {
        margin: 0;
        min-height: unset;
        width: auto;
    }

    .grid-page .featured-listing {
        display: grid;
        grid-template-columns: repeat(3, 33.33fr);
        grid-auto-rows: minmax(495px, auto);
        grid-column-gap: 30px;
        grid-row-gap: 30px;

        margin-left: 0;
        margin-right: 0;
    }

    .grid-page .featured-listing.four-up {
        grid-template-rows: 386px;
        grid-auto-rows: minmax(500px, auto);
    }

    .grid-page .middle-section-2 .grid-listing {
        display: grid;
        grid-template-columns: repeat(3, 33.33fr);
        grid-auto-rows: minmax(495px, auto);
        grid-row-gap: 50px;
        grid-column-gap: 30px;
        margin-bottom: 50px;
    }


    /* reset fallback rules */
    .grid-page .featured-listing > .card:first-of-type .thumbnail,
    .grid-page .featured-listing.four-up > .card:first-of-type .thumbnail,
    .grid-page .featured-listing > .card:nth-of-type(2) .thumbnail,
    .grid-page .featured-listing.four-up > .card:nth-of-type(2) .thumbnail {
        float: none;
        width: auto;
    }

    .grid-page .featured-listing > .card:first-of-type .card-detail,
    .grid-page .featured-listing.four-up > .card:first-of-type .card-detail,
    .grid-page .featured-listing .card:nth-of-type(2) .card-detail,
    .grid-page .featured-listing.four-up .card:nth-of-type(2) .card-detail {
        height: auto;
        width: auto;
    }

    .grid-page .featured-listing > .card:first-of-type,
    .grid-page .featured-listing.four-up > .card:first-of-type,
    .grid-page .featured-listing .card:nth-of-type(2),
    .grid-page .featured-listing.four-up .card:nth-of-type(2) {
        height: auto;
    }


    /* grid-specific desktop only styles */
    @media print, screen and (min-width: 769px) {
        .grid-page .featured-listing.four-up {
            grid-template-rows: 386px;
            grid-auto-rows: minmax(495px, auto);
            grid-row-gap: 30px;
        }

        .grid-page .featured-listing,
        .grid-page .middle-section-2 .grid-listing {
            grid-template-columns: repeat(3, 50fr);
        }

        .grid-page .featured-listing.four-up > .card:first-of-type {
            grid-column: 1/4;
            grid-row: 1/2;
            display: grid;
            grid-template-columns: 33.33fr 30px 33.33fr 30px 33.33fr;
            grid-column-gap: 0;
        }

        .grid-page .featured-listing.four-up > .card.webinar.register:first-of-type {
            overflow: visible;
        }

        .grid-page .featured-listing.four-up > .card:first-of-type .thumbnail {
            grid-column: 1/5;
            grid-row: 1/2;
        }

        .grid-page .featured-listing.four-up > .card:first-of-type .card-detail {
            grid-column: 5/6;
            grid-row: 1/2;
        }
    }

    /* grid-specific XXL only styles */
    @media print, screen and (min-width: 120.063em) {
        .grid-page .featured-listing.four-up {
            grid-template-rows: 541px;
            grid-auto-rows: minmax(684px, auto);
        }

        .grid-page .no-padding-xxl {
            padding-left: 0;
            padding-right: 0;
        }

        .grid-page .middle-section-2 .grid-listing {
            grid-auto-rows: minmax(684px, auto);
        }
    }

    /* grid-specific smaller tablet breakpoint */
    @media print, screen and (max-width: 768px) and (min-width: 40em) {
        .grid-page .featured-listing,
        .grid-page .middle-section-2 .grid-listing {
            grid-row-gap: 30px;
        }

        .grid-page .featured-listing.four-up {
            grid-template-rows: 386px;
            grid-auto-rows: minmax(495px, auto);
        }

        .grid-page .featured-listing,
        .grid-page .middle-section-2 .grid-listing {
            grid-template-columns: repeat(2, 50fr);
        }

        .grid-page .middle-section-2 .grid-listing {
            margin-bottom: 30px;
        }

        .grid-page .featured-listing.four-up > .card:first-of-type {
            grid-column: 1/3;
            display: grid;
            grid-template-columns: 50fr 30px 50fr;
            grid-column-gap: 0;
        }

        .grid-page .featured-listing.four-up > .card.webinar.register:first-of-type {
            overflow: visible;
        }

        .grid-page .featured-listing.four-up > .card:first-of-type .thumbnail {
            height: auto;
            width: 100%;
            grid-column: 1/3;
        }

        .grid-page .featured-listing.four-up > .card:first-of-type .card-detail {
            grid-column: 3/4;
        }
    }


    /* grid-specific mobile only styles */
    @media print, screen and (max-width: 39.9375em) {
        .grid-page .featured-listing,
        .grid-page .middle-section-2 .grid-listing {
            grid-template-columns: repeat(2, 50fr);
        }
    }


    /* Small mobile  styles */
    @media print, screen and (max-width: 530px) {
        .grid-page .featured-listing,
        .grid-page .middle-section-2 .grid-listing {
            grid-template-columns: 100fr;
            grid-auto-rows: minmax(495px, auto);
            grid-row-gap: 15px;
            margin-bottom: 15px;
        }
    }
} /* end @supports: grid */


/* mobile carousel styles */
@media print, screen and (max-width: 39.9375em) {
    .grid-page .featured-listing {
        display: none;
        margin-bottom: 50px;
        position: relative;
    }

    .grid-page .featured-listing.one-up {
        display: flex;
        margin: 0 15px 50px;
    }

    .grid-page .featured-listing.four-up {
        grid-template-rows: 100fr;
    }

    .grid-page .featured-listing .slick-list {
        overflow: visible;
    }

    .grid-page .featured-listing .slick-track .card {
        width: 100%;
        height: auto;
        margin: 5px;
        transform: scale(.95);
        opacity: .5;
    }

    .grid-page .featured-listing .slick-track {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    .grid-page .featured-listing .slick-current,
    .grid-page .featured-listing .card.slick-center {
        transform: scale(1);
        opacity: 1;
    }

    .grid-page .featured-listing .slick-slide:focus {
        outline: none;
    }

    .grid-page .featured-listing .slick-dots {
        margin-bottom: -5px;
    }

    .grid-page .featured-listing .slick-dots li button:before {
        font-size: 12px;
        color: #d8d8d8;
        opacity: 1;
    }

    .grid-page .featured-listing .slick-dots li.slick-active button:before {
        color: #4A90AD;
    }
}

/*************************************/
/* Styling for listing pages*/
/*************************************/

.grid-page h1 {
    margin-bottom: 0.4em;
    color: #445C6D !important;
}

.grid-page .header h1 {
    display: inline-block;
    padding-left: 50px;
    position: relative;
}

.grid-page.resources .header h1 {
    padding-left: 0;
}

.grid-page .header h1::before {
    content: '';
    width: 50px;
    height: 50px;
    /*margin-right: 8px;*/
    /*display: inline-block;*/
    /*vertical-align: middle;*/
    border-radius: 50%;
    background: transparent no-repeat center / contain;
    position: absolute;
    left: -10px;
    top: -10px;
}

.grid-page .header h1.no-graphic::before {
    content: none;
}

.grid-page h2 {
    color: #4e4e4e !important;
    font-size: 27px !important;
    font-weight: 200;
    line-height: 1.3;
    margin: 0;
}

.grid-page .content {
    background-color: #f5f5f5;
}

.grid-page::before {
    /* The sole purpose of this pseudo element is to pre-load this image:*/
    content: '';
    background-image: url(../images/icons/icon-dropdown-checkbox-checkmark.svg);
    position: absolute;
    left: -1000000px;
}


/***************************/
/* page-specific h1 styles */
/***************************/

/* 404 page */
body.page-not-found .grid-page .header {
    display: none;
}
body.page-not-found .grid-page .resources-breadcrumb-container {
    display: none;
}


/* home page */
.grid-page.resources .header h1::before {
    content: none;
}

/* white papers */
.grid-page.white-paper .header h1 {
    color: #EC6742 !important;
}
.grid-page.white-paper .header h1::before {
    background-color: #FDEDE9;
    background-image: url('../images/icons/TileIcon-WhitePaper.svg');
}

/* videos */
.grid-page.video .header h1 {
    color: #57A94F !important;
}
.grid-page.video .header h1::before {
    background-color: #E6F2E5;
    background-image: url('../images/icons/TileIcon-Video.svg');
}

/* articles */
.grid-page.article .header h1 {
    color: #4A90AD !important;
}
.grid-page.article .header h1::before {
    background-color: #E5EFF3;
    background-image: url('../images/icons/TileIcon-Article.svg');
}

/* Case Study */
.grid-page.case-study .header h1 {
    color: #F49E1E !important;
}

.grid-page.case-study .header h1::before {
    background-color: #FEF1DE;
    background-image: url('../images/icons/TileIcon-Success.svg');
}

/* Customer Project */
.grid-page.customer-project .header h1 {
    color: #EC6742 !important;
}

.grid-page.customer-project .header h1::before {
    background-color: #FEF1DE;
    background-image: url('../images/icons/TileIcon-CustomerProject.svg');
}

/* podcasts */
.grid-page.podcast .header h1 {
    color: #AE7DB2 !important;
}
.grid-page.podcast .header h1::before {
    background-color: #F3ECF4;
    background-image: url('../images/icons/TileIcon-Podcast.svg');
}

/* ICC */
.grid-page.icc .header h1 {
    color: #4F66A8 !important;
}
.grid-page.icc .header h1::before {
    background-color: #e9ecf4;
    background-image: url('../images/icons/TileIcon-ICC.svg');
}

/* webinars */
.grid-page.webinar .header h1 {
    color: #4AA99D !important;
}
.grid-page.webinar .header h1::before {
    background-color: #E6F2E5;
    background-image: url('../images/icons/TileIcon-Webinar.svg');
}

.grid-page .header {
    padding-top: 75px;
    padding-bottom: 60px;
    position: relative;
}

.grid-page.resources .header {
    padding-top: 75px;
    padding-bottom: 60px;
}

.grid-page .top-section {
    position: relative;
    padding: 0 0 40px 0;
    min-height: unset;
}

.case-study .grid-page .top-section,
.icc .grid-page .top-section {
    padding: 0;
}

.grid-page.resources .top-section {
    padding: 0 0 100px 0;
    min-height: calc(100vh - 415px);
}

.grid-page.resources span.view-all {
    display: block;
    position: absolute;
    left: 50%;
    bottom:70px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
}

.grid-page span.view-all::after {
    content: '\203A';
    color: #4A90AD !important;
    font-size: 40px;
    font-weight: 300;
    position: absolute;
    left: 50%;
    bottom: -45px;
    -webkit-transform: translateX(-10%) rotate(90deg);
    -ms-transform: translateX(-10%) rotate(90deg);
    transform: translateX(-10%) rotate(90deg);
}

.grid-page .middle-section-1 {
    border-top: 1px solid #CCCCCB;
    background-color: #f5f5f5;
    padding: 67px 0 0;
}

.grid-page .middle-section-2 {
    background-color: #f5f5f5;
    padding: 0;
}

.grid-page .resources-breadcrumb-container {
    margin-bottom: 20px;
}

/* Filter row */
.grid-page form.views-exposed-form {
    display: none;
}

.grid-page .filters-desktop {
    padding-bottom: 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.grid-page .filters-desktop.stuck {
    padding: 17px 0 10px 0;
}

.grid-page .filters-desktop.stuck .sort-by-row {
    margin-top: 0;
}

@media print, screen and (min-width: 120.063em){
    .grid-page .header,
    .grid-page.resources .header {
        padding-bottom: 100px;
    }

    .grid-page .header h2 {
        max-width: 825px;
        margin: auto;
    }
}

@media print, screen and (max-width: 63.9375em){
    .grid-page .header {
        padding-top: 48px;
        padding-bottom: 50px;
    }
}


@media only print, screen and (max-width: 39.9375em) {
    .grid-page.resources .header {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
