﻿/* Stylesheet has been built using Mobile first approach */


/* All styles built for mobile view, and then viewports are used for Desktop rendering */

:root {
    --card-parallax-top-1-lth: 120px;
    --card-parallax-top-2-lth: 60px;
    --card-parallax-top-3-lth: 0px;
    --card-parallax-top-1-htl: 0px;
    --card-parallax-top-2-htl: 60px;
    --card-parallax-top-3-htl: 120px;
}

/* .three-cards .card h3 {
    font-family: 'Adieu-Regular';
    font-size: 1.25rem;
} */

.three-cards .card p {
    font-family: 'AvenirNext LT Pro';
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    font-size: 15px;
}

.three-cards .card a {
    font-family: 'AvenirNext LT Pro';
    font-weight: bold;
    font-style: normal;
    font-size: 18px;
}

.three-cards .card .card-title {
    text-transform: uppercase;
    font-family: 'Adieu-Regular';
    font-size: 1.25rem;
}


/* .three-cards .grid-items {
    margin-top: 5%;
    margin-bottom: 10%;
} */

.three-cards .high-to-low-cards>.col:nth-child(1)>.card>.card-img {
    content: var(--image-mobile-htl-1);
}

.three-cards .high-to-low-cards>.col:nth-child(2)>.card>.card-img {
    content: var(--image-mobile-htl-2);
}

.three-cards .high-to-low-cards>.col:nth-child(3)>.card>.card-img {
    content: var(--image-mobile-htl-3);
}

.three-cards .low-to-high-cards>.col:nth-child(1)>.card>.card-img {
    content: var(--image-mobile-lth-1);
}

.three-cards .low-to-high-cards>.col:nth-child(2)>.card>.card-img {
    content: var(--image-mobile-lth-2);
}

.three-cards .low-to-high-cards>.col:nth-child(3)>.card>.card-img {
    content: var(--image-mobile-lth-3);
}

.three-cards .grid-items>.col:nth-child(3)>.card {
    top: 20px;
}

.three-cards .grid-items .card {
    border-radius: 20px;
    overflow: hidden;
    will-change: transform;
}

.three-cards .card .additional {
    display: none;
    position: absolute;
    width: 100%;
    overflow: hidden;
    z-index: 3;
}

.three-cards .card .additional-heading {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 4;
}

.three-cards .card .additional-heading .card-title {
    margin-left: 5%;
    margin-right: 5%;
    /* margin-top: 50%; */
    margin-top: 55%;
}

.three-cards .card-info-link-mobi {
    font-size: 18px;
    line-height: 18px;
    height: 60px;
    width: 100%;
    margin-top: 10%;
    margin-left: 5%;
    margin-right: 5%;
}

.three-cards .card-info-link-mobi a {
    color: var(--white)!important;
    text-decoration: none;
}

.three-cards .card-info-link-mobi img {
    width: 15%;
    margin-left: 5%;
}

.three-cards .card-overlay {
    position: absolute;
    /* background-color: #000000; */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(0deg, rgba(80, 0, 160, 0.8), rgba(80, 0, 160, 0.8));
    background-blend-mode: normal, color, normal;
    opacity: 0.2;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.three-cards .card-radius {
    border-radius: 20px;
}

.three-cards .card {
    border: none;
}

.three-cards .grid-items>.col:nth-child(2)>.card {
    top: 20px;
}

.three-cards .grid-items>.col:nth-child(3)>.card {
    top: 20px;
}

.three-cards .cards-wrapper {
    padding-left: 8%;
    padding-right: 8%;
}

.high-to-low-cards .no-parallax-cards,
.low-to-high-cards .no-parallax-cards {
    margin-bottom: 10px;
    /* top: 0!important; */
    margin-top: 0!important;
}


/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {
    .three-cards .cards-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .three-cards .high-to-low-cards>.col:nth-child(1)>.card {
        top: var(--card-parallax-top-1-htl);
    }
    .three-cards .high-to-low-cards>.col:nth-child(2)>.card {
        top: var(--card-parallax-top-2-htl);
    }
    .three-cards .high-to-low-cards>.col:nth-child(3)>.card {
        top: var(--card-parallax-top-3-htl);
    }
    .three-cards .low-to-high-cards>.col:nth-child(1)>.card {
        top: var(--card-parallax-top-1-lth);
    }
    .three-cards .low-to-high-cards>.col:nth-child(2)>.card {
        top: var(--card-parallax-top-2-lth);
    }
    .three-cards .low-to-high-cards>.col:nth-child(3)>.card {
        top: var(--card-parallax-top-3-lth);
    }
    .three-cards .high-to-low-cards>.col:nth-child(1)>.card>.card-img {
        content: var(--image-desktop-htl-1);
    }
    .three-cards .high-to-low-cards>.col:nth-child(2)>.card>.card-img {
        content: var(--image-desktop-htl-2);
    }
    .three-cards .high-to-low-cards>.col:nth-child(3)>.card>.card-img {
        content: var(--image-desktop-htl-3);
    }
    .three-cards .low-to-high-cards>.col:nth-child(1)>.card>.card-img {
        content: var(--image-desktop-lth-1);
    }
    .three-cards .low-to-high-cards>.col:nth-child(2)>.card>.card-img {
        content: var(--image-desktop-lth-2);
    }
    .three-cards .low-to-high-cards>.col:nth-child(3)>.card>.card-img {
        content: var(--image-desktop-lth-3);
    }
    .three-cards .card-color-overlay {
        position: absolute;
        background: #FF6600;
        width: 100%;
        top: 100%;
        height: 0%;
        z-index: 3;
        transition: all 0.9s;
    }
    /* .card-overlay {
        position: absolute;
        background-color: #000000;
        opacity: 0.3;
        z-index: 2;
    } */
    .three-cards .card .additional {
        display: block;
        position: absolute;
        width: 100%;
        /* max-width: 397px; */
        top: 100%;
        height: 0%;
        /* height: 100%; */
        /* background-image: url("../img/hover_backgrounds/Rectangle_Orange.png"); */
        transition: all 0.9s;
        overflow: hidden;
        z-index: 5;
    }
    .three-cards .card .additional-heading {
        position: absolute;
        width: 100%;
        /* max-width: 397px; */
        /* top: 100%; */
        /* height: 0%; */
        height: 100%;
        /* background-image: url("../img/hover_backgrounds/Rectangle_Orange.png"); */
        overflow: hidden;
        z-index: 4;
    }
    .three-cards .card .additional-heading .card-title {
        margin-left: 5%;
        margin-right: 5%;
        /* margin-top: 50%; */
        /* margin-top: 110%; */
        margin-top: 100%;
        transition: all 0.8s;
    }
    .three-cards .card:hover {
        cursor: pointer;
    }
    .three-cards .card:hover .additional {
        cursor: pointer;
        top: 0%;
        height: 100%;
        border-radius: 0 5px 5px 0;
    }
    .three-cards .card:hover .card-color-overlay {
        top: 0%;
        height: 100%;
    }
    .three-cards .card:hover .additional-heading .card-title {
        margin-top: 45%;
    }
    .three-cards .additional-info .card-text {
        /* margin-top: 60%; */
        margin-top: 65%;
        margin-left: 5%;
        margin-right: 5%;
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        height: 65px;
    }
    .three-cards .additional-info .card-info-seperator {
        margin-top: 10%;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .three-cards .card-info-btn {
        content: url("../img/svg_s/MediumWhite.svg");
        width: 8%;
        margin-left: 5%;
        transition: all 0.4s;
        text-decoration: none;
    }
    .three-cards .card-info-link-mobi {
        display: none;
    }
    .three-cards .card-info-link {
        font-size: 18px;
        line-height: 18px;
        height: 60px;
        width: 100%;
        margin-top: 10%;
        margin-left: 5%;
        margin-right: 5%;
        z-index: 5;
    }
    .three-cards .card-info-link a {
        color: var(--white)!important;
        text-decoration: none;
    }
    .three-cards .card-info-link-tag:hover .card-info-btn {
        width: 10%;
    }
    .three-cards .card-info-link:hover .card-info-btn {
        width: 10%;
    }
}


/*
,_     _,
|\\___//|
|=6   6=|
\=._Y_.=/
 )  `  (    ,
/       \  ((
|       |   ))
/| |   | |\_//
\| |._.| |/-`
'"'   '"'
*/