﻿/* Overrides */

#GlobalNavWrapper {
    background-image: url(/alumni/assets/campus-beauty.jpg);
}


.intro.single {
    flex-basis: 100%;
    text-align: center;
}

h2.ctct-form-header {
    display: none !important;
}

div.ctct-form-defaults {
    padding: 0 !important;
}

button.ctct-form-button {
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

#Default {
    margin-top: 0;
    margin-bottom: 0;
}

/* NEW */
#Newsletter {
    background-image: url(/alumni/assets/tuffy-archway-mono.jpg);
    background-size: contain;
    background-position-x: right;
    background-repeat: no-repeat;
    padding: 10px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

    #Newsletter > header, #Newsletter article {
        flex-basis: 100%;
        width: 100%;
        max-width: 1200px;
    }

    #Newsletter p, #Newsletter h2, #Newsletter div, #Newsletter form {
        background-color: #FFFFFF00 !important;
    }

    #Newsletter input {
        background-color: white !important;
    }

    #Newsletter p[data-qe-id='form-gdpr-text'] {
        background-color: white !important;
        padding: 2px;
        border-radius:3px;
    }

.card-holder {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .card-holder > header {
        flex-basis: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

article.center-card {
    background-color: var(--bright-bg);
    border-radius: 5px;
    flex-basis: calc(33% - 10px);
    overflow: hidden;
    display: grid;
    grid-template-rows: 270px 1fr;
}


@media screen and (max-width:900px) {
    article.center-card {
        flex-basis: calc(100% - 10px);
    }
}

.center-card header {
    height: 270px;
}

    .center-card header h2 {
        padding-left: 10px;
        padding-right: 10px;
    }

.center-card section {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

    .center-card section p {
        min-height: 140px;
    }

    .center-card section h3 {
        margin: 5px auto;
    }

    .center-card section ul {
        margin-top: 0;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        list-style: none;
        text-align: center;
    }


/*
    News/Story Feed Specific
*/

#DefaultContainer {
    /* The phrase "Container" is appended  to the ID's of the placeholder divs, don't forget!*/
}

.story-holder {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

    .story-holder article {
        width: 380px;
        height: 100%;
        display: flex;
        flex-direction: column;
        box-shadow: 2px 2px 8px #777;
        border-radius: 5px;
        overflow: hidden;
    }

        .story-holder article:hover {
            box-shadow: 2px 2px 8px #333;
        }

        .story-holder article > img {
            height: 230px;
        }

        .story-holder article > .thumbnail {
            height: 230px;
            width: 100%;
            overflow: hidden;
        }


        .story-holder article > p,
        .story-holder article > em,
        .story-holder article > h3 {
            padding-left: 10px;
            padding-right: 10px;
            padding-top: 0;
            padding-bottom: 0;
        }

        .story-holder article > h3 {
            margin: 0 10px;
        }

        .story-holder article > em {
            margin: 10px auto;
        }

        .story-holder article > p {
            margin: auto 10px 10px 10px;
            overflow: hidden;
        }

        .story-holder article > a {
            padding-left: 10px;
            padding-right: 10px;
            margin-top: auto;
            margin-bottom: 10px;
        }



img.tall-thumb {
    object-fit: cover;
    object-position: 50% 20%;
    width: 100%;
    height: 100%;
}

img.wide-thumb {
    object-fit: cover;
    object-position: center;
    height: 100%;
}

img.even-thumb {
    object-fit: cover;
    object-position: center;
}

a.story-tile {
    display: block;
    text-decoration: none;
    height: 500px;
    width: 380px;
    cursor: pointer;
}

article.story-tile:hover h3 {
    text-decoration: underline;
    color: var(--titan-orange);
}

article.story-tile:hover {
    background-color: var(--bright-bg);
}
