﻿/* These styles are only used on this homepage */
/*#Hero-Carousel .carousel-item {
    height: 70vh;
}*/

#New-Resources-Carousel .carousel-item {
    height: 400px;
    max-height: 30vh;
}

#Partner-Logos {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

    #Partner-Logos li {
        display: inline-block;
        margin: 10px;
    }

#Site-Gallery {
    text-align: center;
}

.galleryItem {
    position: relative;
    display: block;
    width: 49.95%;
    padding-bottom: 49.95%;
    float: left;
    overflow: hidden;
}

    .galleryItem:hover .project-title {
        background-color: rgba(12,20,53,1) !important;
    }

@media all and (min-width: 700px) and (max-width: 999px) {
    .galleryItem {
        width: 33.3%;
        padding-bottom: 33.3%;
    }
}

@media all and (min-width: 1000px) and (max-width: 1299px) {
    .galleryItem {
        width: 24.975%;
        padding-bottom: 24.975%;
    }
}

@media all and (min-width: 1300px) {
    .galleryItem {
        width: 19.98%;
        padding-bottom: 19.98%;
    }
}

.galleryItem .project-title {
    position: absolute;
    z-index: 2;
    top: 0;
    width: 100%;
    background-color: rgba(12,20,53,.5);
    transition: background-color .5s;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: .5em;
    border-top: solid .4rem var(--psp-bg-dark-color, rgb(12,20,53));
    pointer-events: none; /* pass clicks through to underlying anchor href */
}


.galleryItem img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 101%; /* fix isotope issue :/ */
    height: 101%;
    object-fit: cover;
    object-position: center;
}

.hover-note {
    display: none;
    position: absolute;
    padding: 1em;
    color: white;
    background-color: rgba(12,20,53,.6);
    text-align: center;
    width: 100%;
    pointer-events: none;
    bottom: 50%;
    transform: translateY(50%);
    font-size: 1vw;
    z-index: 1;
}
/* Changes to 2-wide at this width */
@media (max-width: 992px) {
    .hover-note {
        font-size: 2.5vw;
    }
}
/* Changes to single site per row at this width */
@media (max-width: 480px) {
    .hover-note {
        font-size: 5vw;
    }
}

.galleryItem:hover .hover-note {
    display: block;
}

.hover-note-title {
    font-weight: bold;
}

/* ********
           PSP TEAM
           ******** */
#PSP-Team-Section h4 {
    color: #2072b9;
    font-size: 1.3rem
}

#PSP-Team-Section p {
    font-size: smaller;
}

#PSP-Site-Team-Chart-Container {
    margin: 0 2% 0 0;
    width: 48%;
    float: left;
}

#PSP-Team-List .square-icon-box {
    margin: 0 20px 15px 10px;
    float: left;
}

#PSP-Team-List > li {
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    #PSP-Site-Team-Chart-Container {
        margin: 0 34%;
        width: auto;
        float: none;
    }

    .split-right {
        text-align: right;
    }

    #PSP-Team-List .square-icon-box {
        margin: auto;
        float: none;
    }

    #PSP-Team-List {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }

        #PSP-Team-List > li {
            margin-bottom: 0;
            flex: 0 0 50%;
            display: flex;
        }

            #PSP-Team-List > li > div:last-child {
                margin: 0 20px;
            }

            #PSP-Team-List > li:nth-child(odd) {
                padding-right: 204px;
            }

            #PSP-Team-List > li:nth-child(even) {
                padding-left: 204px;
            }

            #PSP-Team-List > li:nth-child(odd) > div:first-child {
                order: 2;
            }

            #PSP-Team-List > li:nth-child(odd) > div:last-child {
                order: 1;
            }
}



/* ************
           SQUARE ICONS
           ************ */

.square-icon-box {
    width: 100px;
    height: 100px;
    margin: auto;
    font-size: 30px;
    position: relative;
    line-height: 100px;
}

    .square-icon-box i {
        position: relative;
        z-index: 1;
    }

    .square-icon-box:before {
        border: 3px solid #2b8be9;
        z-index: 2;
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        -moz-box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
        -webkit-transition: all 0.3s all ease ease-out;
        -moz-transition: all 0.3s all ease ease-out;
        -o-transition: all 0.3s all ease ease-out;
        transition: all 0.3s all ease ease-out;
        -webkit-transition: 0.3s all ease;
        -o-transition: 0.3s all ease;
        transition: 0.3s all ease;
    }

.square-icon-hover:hover .square-icon-box {
    color: #313842;
    z-index: 999999;
}

    .square-icon-hover:hover .square-icon-box:before {
    }

.square-icon-small {
    width: 56px;
    height: 56px;
    line-height: 56px;
}

.topimg {
    z-index: 999999;
    padding-bottom: 6px;
}

/*
            ITEMS OF INTEREST
        */

#itemsOfInterestFlexbox {
    clear: both;
    display: flex;
    flex-direction: row; /* let the content flow to the next row */
    flex-wrap: wrap;
    margin-right: -3%;
    font-size: 1.12rem;
}

    #itemsOfInterestFlexbox .fa {
        font-size: 25px;
        margin-right: 10px;
    }

    #itemsOfInterestFlexbox > a {
        color: white;
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: 112px;
        align-items: center;
        flex-grow: 1;
        margin-bottom: 15px;
        margin-top: 15px;
        margin-right: 3%;
        text-align: center;
        border: 1px solid #fff;
        padding: 30px;
        -webkit-transition: all 0.2s all ease ease-out;
        -moz-transition: all 0.2s all ease ease-out;
        -o-transition: all 0.2s all ease ease-out;
        transition: all 0.2s all ease ease-out;
        -webkit-transition: 0.2s all ease;
        -o-transition: 0.2s all ease;
        transition: 0.2s all ease;
        background-color: var(--psp-bg-dark-color);
    }

        #itemsOfInterestFlexbox > a span:last-child {
            flex-grow: 1;
        }

        #itemsOfInterestFlexbox > a:hover {
            background-color: #2072b9;
            text-decoration: none;
        }

@media (min-width: 992px) {
    #itemsOfInterestFlexbox > a {
        width: 29%;
    }
}

#itemsOfInterestFlexbox > a i {
    font-size: 80px;
    display: block;
    margin-bottom: 30px;
}


/* ********
           CAROUSEL
           ******** */

#Carousel-Item-New-Sites {
    background: linear-gradient(-45deg, #11232E, #2072b9, #11232E);
    background-size: 400% 400%;
    animation: newsitesgradient 8s ease infinite;
}

@keyframes newsitesgradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#Carousel-Sites-Announcement {
    text-align: center;
    margin: 0 15%;
    color: white;
    font-weight: 700;
    text-shadow: 0 0 2px black;
}

#Carousel-Item-New-Sites .btn-lg {
    font-size: 1rem;
    border-radius: .5rem;
    background-color: #11232E;
}

@media (min-width: 400px) {
    #Carousel-Sites-Announcement {
        font-size: 3.5rem;
    }

    #Carousel-Item-New-Sites .btn-lg {
        font-size: 1.25rem;
        border-radius: .75rem;
    }
}

@media (min-width: 750px) {
    #Carousel-Sites-Announcement {
        font-size: 3.5rem;
    }

    #Carousel-Item-New-Sites .btn-lg {
        font-size: 1.5rem;
        border-radius: .75rem;
    }
}

@media (min-width: 1200px) {
    #Carousel-Sites-Announcement {
        font-size: 3.75rem;
    }

    #Carousel-Item-New-Sites .btn-lg {
        font-size: 2rem;
        border-radius: 1rem;
    }
}

#Carousel-Site-Parade {
    display: flex;
    padding-bottom: 50px;
    width: 100%;
}

    #Carousel-Site-Parade .aspect-box-square {
        padding-bottom: 16.6666666667%
    }

@media (max-width: 800px) {
    #Carousel-Item-Core-Components h2 {
        text-align: center;
    }

    #Carousel-Item-Core-Components .logo-positioner {
        width: 80%;
        top: 1% !important;
    }

        #Carousel-Item-Core-Components .logo-positioner img {
            display: block;
            margin: auto;
            max-width: 50vw;
        }

    #Carousel-Item-Core-Components .gfx-positioner {
        transform: scale(0.7);
    }

        #Carousel-Item-Core-Components .gfx-positioner .core-block {
            max-width: 47.857%;
        }
}


