﻿.paragraph--type--image-tile-cards.paragraph-tiles-gray,
.paragraph--type--image-tile-cards.paragraph-tiles-tan {
    padding: 40px 0 50px;
}

@media screen and (min-width: 768px) {
    .paragraph--type--image-tile-cards.paragraph-tiles-gray,
    .paragraph--type--image-tile-cards.paragraph-tiles-tan {
        padding: 75px 0 100px;
    }
}

@media screen and (min-width: 992px) {
    .paragraph--type--image-tile-cards.paragraph-tiles-gray,
    .paragraph--type--image-tile-cards.paragraph-tiles-tan {
        padding: 100px 0 125px;
    }
}

@media screen and (min-width: 1200px) {
    .paragraph--type--image-tile-cards.paragraph-tiles-gray,
    .paragraph--type--image-tile-cards.paragraph-tiles-tan {
        padding: 115px 0 150px;
    }
}

.paragraph--type--image-tile-cards.paragraph-tiles-gray {
    background-color: #e8e9ee;
}

.paragraph--type--image-tile-cards.paragraph-tiles-tan {
    background-color: #f5f1e5;
}

.paragraph--type--image-tile-cards > div {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (min-width: 768px) {
    .paragraph--type--image-tile-cards > div {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 720px;
    }
}

@media screen and (min-width: 992px) {
    .paragraph--type--image-tile-cards > div {
        max-width: 960px;
    }
}

@media screen and (min-width: 1200px) {
    .paragraph--type--image-tile-cards > div {
        max-width: 1140px;
    }
}

@media screen and (min-width: 1400px) {
    .paragraph--type--image-tile-cards > div {
        max-width: 1320px;
    }
}

.image-tile-cards {
    position: relative;
    margin-bottom: 20px;
}

@media (max-width: 991.98px) {
    .image-tile-cards {
        margin-bottom: 0;
    }
}

.image-tile-cards > .container {
    max-width: 1340px;
}

@media (max-width: 991.98px) {
    .image-tile-cards > .container {
        padding: 0;
    }
}

.image-tile-cards-title {
    color: #142554;
    max-width: 70%;
    margin: 45px auto 70px;
}

@media (max-width: 767.98px) {
    .image-tile-cards-title {
        padding-left: 15px;
        max-width: none;
    }
}

.image-tile-cards-trigger {
    background: none;
    border: 0;
    color: #fff;
    font-size: 2.2rem;
    position: absolute;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
    z-index: 12;
}

    .image-tile-cards-trigger:before {
        font-family: "Font Awesome 6 Pro";
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        content: "";
    }

    .image-tile-cards-trigger:hover {
        color: #ffb81c;
    }

.expanded .image-tile-cards-trigger {
    color: #2b2b2b;
    z-index: 15;
}

    .expanded .image-tile-cards-trigger:before {
        content: "";
    }

    .expanded .image-tile-cards-trigger:hover {
        color: #36f;
    }

@media (max-width: 767.98px) {
    .image-tile-cards-trigger {
        top: 5px;
    }
}

.image-tile-cards-item {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    position: relative;
    overflow: visible;
}

    .image-tile-cards-item:before {
        content: "";
        display: block;
        padding-top: 94.25287356%;
    }

    .image-tile-cards-item-item,
    .image-tile-cards-item embed,
    .image-tile-cards-item object,
    .image-tile-cards-item video,
    .image-tile-cards-item iframe {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.image-tile-cards-item-content {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: 10;
    transition: z-index 0.35s step-end, width 0.35s ease, height 0.35s ease;
}

    .image-tile-cards-item-content:before {
        background: #000;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 33%);
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .image-tile-cards-item-content img {
        position: absolute;
        width: 100%;
        height: 100%;
    }

.expanded .image-tile-cards-item-content img {
    max-width: none !important;
}

.image-tile-cards-item.expanded:after {
    background: rgba(255, 255, 255, 0.25);
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 200%;
    z-index: 15;
}

.image-tile-cards-item:nth-child(3).expanded:after {
    right: auto;
    left: 0;
}

.image-tile-cards-item:nth-child(3) .image-tile-cards-item-content {
    right: 0;
    left: auto;
}

.image-tile-cards-item:nth-child(4) .image-tile-cards-item-content,
.image-tile-cards-item:nth-child(5) .image-tile-cards-item-content {
    top: auto;
    bottom: 0;
}

.image-tile-cards-item:last-child.expanded:after {
    right: auto;
    left: 0;
}

.image-tile-cards-item:last-child .image-tile-cards-item-content {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
}

@media (max-width: 991.98px) {
    .image-tile-cards-item:nth-child(2).expanded:after {
        right: auto;
        left: 0;
    }

    .image-tile-cards-item:nth-child(2) .image-tile-cards-item-content {
        right: 0;
        left: auto;
    }

    .image-tile-cards-item:nth-child(3).expanded:after {
        right: 0;
        left: auto;
    }

    .image-tile-cards-item:nth-child(3) .image-tile-cards-item-content {
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
    }

    .image-tile-cards-item:nth-child(4).expanded:after {
        right: auto;
        left: 0;
    }

    .image-tile-cards-item:nth-child(4) .image-tile-cards-item-content {
        top: auto;
        right: 0;
        bottom: 0;
        left: auto;
    }
}

.image-tile-cards-details-wrapper {
    display: -ms-grid;
    display: grid;
}

.expanded .image-tile-cards-details:after {
    background: rgba(255, 255, 255, 0.25);
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200%;
    height: 1px;
    z-index: 15;
}
/*QA changes - comments are changes to font fam and changes to font size*/
.field--name-field-image-tile-cards-title {
    font-family: "alternate-gothic-atf",sans-serif;
    font-size: 3rem;
    /*font-family: "instrument-serif", serif;
    font-size: 4.5rem;*/
    line-height: 1;
    margin: 0.5em auto 0.5em !important;
}

@media screen and (min-width: 768px) {
    .field--name-field-image-tile-cards-title {
        font-size: 3.3rem;
        /*font-size: 8rem;*/
    }
}

@media screen and (min-width: 992px) {
    .field--name-field-image-tile-cards-title {
        font-size: 3.5rem;
        /*font-size: 9rem;*/
    }
}

@media screen and (min-width: 1200px) {
    .field--name-field-image-tile-cards-title {
        font-size: 3.8rem;
        /*font-size: 10rem;*/
    }
}

@media screen and (min-width: 1400px) {
    .field--name-field-image-tile-cards-title {
        font-size: 4rem;
        /*font-size: 11rem;*/
    }
}

.field--name-field-image-title-cards-intro {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (min-width: 768px) {
    .field--name-field-image-title-cards-intro {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 720px;
    }
}

@media screen and (min-width: 992px) {
    .field--name-field-image-title-cards-intro {
        max-width: 960px;
    }
}

@media screen and (min-width: 1200px) {
    .field--name-field-image-title-cards-intro {
        max-width: 1140px;
    }
}

@media screen and (min-width: 1400px) {
    .field--name-field-image-title-cards-intro {
        max-width: 1320px;
    }
}

.field--name-field-image-title-cards-intro p {
    max-width: 786px;
}

@media screen and (min-width: 1200px) {
    .field--name-field-image-title-cards-intro {
        font-size: 2.6rem;
    }
}

.image-tile-cards-wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto auto;
    grid-template-rows: auto auto;
    position: relative;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .image-tile-cards-wrapper {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        -ms-grid-rows: auto;
        grid-template-rows: auto;
    }

        .image-tile-cards-wrapper > *:nth-child(1) {
            -ms-grid-row: 1;
            -ms-grid-column: 1;
        }

        .image-tile-cards-wrapper > *:nth-child(2) {
            -ms-grid-row: 1;
            -ms-grid-column: 2;
        }
}

@media screen and (min-width: 992px) {
    .image-tile-cards-wrapper {
        -ms-grid-columns: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.image-tile-cards-wrapper > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.image-tile-cards-wrapper > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.image-tile-cards-wrapper > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.image-tile-cards-wrapper > *:nth-child(4) {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}

.image-tile-cards-wrapper > *:nth-child(5) {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
}

.image-tile-cards-wrapper > *:nth-child(6) {
    -ms-grid-row: 2;
    -ms-grid-column: 3;
}

.expanded .image-tile-cards-label {
    color: #003594;
    z-index: 15;
}

@media screen and (min-width: 576px) {
    .expanded .image-tile-cards-label {
        color: #ffb81c;
    }
}

.expanded .image-tile-cards-item-content {
    z-index: 15;
    transition: z-index 0.25s step-start, width 0.25s ease, height 0.25s ease;
}

@media screen and (min-width: 768px) {
    .expanded .image-tile-cards-item-content {
        width: 200%;
        height: 200%;
    }
}

.image-tile-cards-label {
    font-size: 1.3rem;
    font-weight: 700;
    position: absolute;
    color: #fff;
    width: 78%;
    text-transform: uppercase;
    transform: rotate(-90deg);
    z-index: 5;
    transform-origin: bottom left;
    top: auto;
    bottom: 20px;
    left: 40px;
    width: auto;
}

@media screen and (min-width: 768px) {
    .image-tile-cards-label {
        font-size: 1.6rem;
        font-family: "Roboto", sans-serif;
    }
}

@media screen and (min-width: 768px) and (min-width: 992px) {
    .image-tile-cards-label {
        font-size: 1.7rem;
    }
}

@media screen and (min-width: 768px) and (min-width: 1200px) {
    .image-tile-cards-label {
        font-size: 1.8rem;
    }
}

.image-tile-cards-details {
    background: rgba(255, 255, 255, 0.9);
    color: #2b2b2b;
    font-size: 1.4rem;
    font-weight: 300;
    -ms-grid-row-align: center;
    align-self: center;
    -ms-grid-column-align: center;
    justify-self: center;
    position: absolute;
    padding: 25px 25px 25px 50px;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    z-index: 12;
    transition: width 0.35s step-end, height 0.35s step-end, right 0.35s ease;
}

.expanded .image-tile-cards-details {
    right: 0;
    width: 100%;
    height: 100%;
    transition: width 0.25s step-start, height 0.25s step-start, right 0.25s ease;
}

@media screen and (min-width: 576px) {
    .image-tile-cards-details {
        padding: 50px;
        font-size: 1.6rem;
    }

    .expanded .image-tile-cards-details {
        width: 50%;
        height: 100%;
    }
}

@media screen and (min-width: 992px) {
    .image-tile-cards-details {
        background: #fff;
    }

    .expanded .image-tile-cards-details {
        width: 50%;
        height: 50%;
    }
}

@media screen and (min-width: 1200px) {
    .image-tile-cards-details {
        font-size: 2rem;
    }
}

@media screen and (min-width: 1600px) {
    .image-tile-cards-details {
        font-size: 2.4rem;
    }
}

.paragraph--type--image-tile-cards
.slick--field-image-tile-cards-item
.slick-slider
.slick-list
.image-tile-cards-item-content {
    position: static;
}
