/****************************************/
/****************************************/
/** Causeis Starter Template 1 **/
/*
 * 
 *  Author: CAUSEIS PTY LTD - info@causeis.com.au
 * 
 *  Version: 1 -   
 *
 * 
 *  Document contains changes to call-to-action
 *
 *
*/
/****************************************/
/****************************************/ 

/***** colored + grey tile *****/
div[id*="tile"] > div:nth-child(1),
div[id*="tile"] > a > div:nth-child(1) {
    padding: 3rem 3rem;
    margin: 0;
    margin-bottom: 1rem;
    border-radius: 0.7rem;
    background: #00afdb;
}

div[id*="tile"] > div:nth-child(1) ol,
div[id*="tile"] > div:nth-child(1) ul {
    margin-bottom: 1rem;
}


div[id*="greytile"] > div:nth-child(1),
div[id*="greytile"] > a > div:nth-child(1) {
    background: #f7f8f9;
/*     box-shadow: 0.2rem 0.3rem 2rem 0 rgb(0 0 0 / 14%); */
}

div[id*="darktile"] > div:nth-child(1),
div[id*="darktile"] > a > div:nth-child(1) {
    background: #00728f;   
}


div[id*="tile"] h4 {
    margin-top: 0;
    font-weight: 700;
    font-size: 2.4rem;
    margin-bottom: 1rem ;
    color: #fff;
    letter-spacing: -0.04em;
}

div[id*="tile"] p {
    /* font-size: 1.5rem; */
    text-shadow: none;
    margin-bottom: 1rem ;
    color: #fff;
}

div[id*="tile"] > div:nth-child(1) ol li,
div[id*="tile"] > div:nth-child(1) ul li {
    color: white;
}

div[id*="darktile"] li {
    /* font-size: 1.5rem; */
    /* font-weight: 500; */
}

div[id*="greytile"] h4 {
    color: #000;
}

div[id*="greytile"] p {
    color: #000;
}

div[id*="greytile"] > div:nth-child(1) ol li,
div[id*="greytile"] > div:nth-child(1) ul li {
    color: black;
}

div[id*="tile"] a.Button {
    margin-top: 2rem ;
    color: #fff ;
    text-decoration: none;
    background: transparent ;
    box-shadow: 0px 0px 0 1px #ffffff;
}

div[id*="tile"] a.Button:after {
    background-image: url(/images/CauseisStarterTemplate1/svg/arrow-white-right.svg);
}

div[id*="tile"] a.Button:hover:after {
    background-image: url(/images/Launchpad-IA/Icons/svg/arrow-blue-right.svg);
}

div[id*="tile"] > div:nth-child(1) a.Button:hover,
div[id*="tile"] > div:nth-child(1) a.button:hover {
    background: #fff ;
    color: #00afdb ;
    box-shadow: 0px 0px 0 1px #ffffff;
}

div[id*="darktile"] a.Button {
    margin-top: 2rem ;
    color: #fff ;
    text-decoration: none;
    background: transparent ;
}

div[id*="darktile"] a.Button:after {
    background-image: url(/images/CauseisStarterTemplate1/svg/arrow-white-right.svg);
}

div[id*="darktile"] a.Button:hover:after {
    background-image: url(/images/Launchpad-IA/Icons/svg/arrow-darkblue-right.svg);
}

div[id*="darktile"] > div:nth-child(1) a.Button:hover,
div[id*="darktile"] > div:nth-child(1) a.button:hover {
    border-color: white ;
    background: #fff ;
    color: #00728f ;
}

div[id*="greytile"] a.Button {
    color: #00afdb ;
    text-decoration: none;
    background: transparent ;
    box-shadow: 0px 0px 0 1px #00afdb;
}

div[id*="greytile"] a.Button:after {
    background-image: url(/images/Launchpad-IA/Icons/svg/arrow-blue-right.svg);
}

div[id*="greytile"] a.Button:hover:after {
    background-image: url(/images/CauseisStarterTemplate1/svg/arrow-white-right.svg);
}

div[id*="greytile"] > div:nth-child(1) a.Button:hover,
div[id*="greytile"] > div:nth-child(1) a.button:hover {
    border-color: #00728f ;
    background: #00afdb ;
    color: #ffffff ;
    box-shadow: 0px 0px 0 1px #00afdb;
}

/**************** Standard call-to-action ****************/
.row.call-to-action-row {
    display: flex;
}

.row.call-to-action-row div {
    display: flex;
    width: 100%;
}

.call-to-action > div > div > div{
    display: flex;
    box-shadow: 0.2rem 0.3rem 2rem 0 rgb(0 0 0 / 14%);
    overflow: hidden;
    border-radius: 0.7rem;
}

.call-to-action > div> div > div {
    flex-direction: column;
    background: #fff;
}

.call-to-action > div> div > div img {
    max-height: 24rem;
    min-height: 24rem;
    width: 100%;
    object-fit: cover;

}

.call-to-action > div> div > div > div:last-of-type {
        align-self: flex-start;
        flex-grow: 1;
        align-items: flex-start;
        padding: 0 4rem 4rem 4rem;
}

.call-to-action > div> div > div:last-of-type a {
    margin-top: auto;

}

.call-to-action > div> div > div h4 {
        font-weight: 600;
        font-size: 2rem;
        color: #00728f;
        letter-spacing: -0.02em;
}

.call-to-action > div> div > div > div {
    flex-direction: column;
    padding: 4rem 4rem 0 4rem;
}

@media (max-width: 767px) {
    .row.call-to-action-row > div {
        display: block;
    }

    .col-primary > div > div > div.row .iMIS-WebPart > div {
        padding-top: 0 !important;
        padding-bottom: 0rem !important;
    }

    .row.call-to-action-row div {
        display: block;
    }

    .row.cta-row > div > div > div > div > div > div:nth-child(1) img {
        max-height: 21rem;
        min-height: 21rem;
    }
}
