﻿/* --- Carousel --- */

#home section h2 {
    font-size: 200%;
    line-height: 100%;
}

header {
    background-color: #f8f9fa;
}
.carousel {
    /*    clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);*/
    /* left top, right top, right bottom, left bottom */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);
}
    .carousel button {
        background-color: unset;
        font-size: 3rem;
        color: #fff;
    }
    .carousel button.slick-prev-custom {
        position: absolute;
        z-index: 2;
        height: 100%;
        opacity: 0;
    }
    .carousel button.slick-next-custom {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        height: 100%;
        opacity: 0;
    }
        .carousel button.slick-prev-custom .chevron.left:before {
            top: -30px;
            left: 0.4rem;
        }
        .carousel button.slick-next-custom .chevron.right:before {
            top: -30px;
            left: -0.25rem;
        }
        .carousel button.slick-prev-custom:hover,
        .carousel button.slick-next-custom:hover {
            opacity: 0.75;
        }
    .carousel ul.slick-dots {
        position: absolute;
        bottom: 3%;
        left: 50%;
        padding: 0;
        list-style: none;
        transform: translateX(-50%);
    }
        .carousel ul.slick-dots li {
            display: inline-block;
            margin: 0.5rem;
            padding: 0.25rem;
            background-color: black;
            border: 2px solid #fff;
            border-radius: 100%;
            width: 15px;
            height: 15px;
            cursor: pointer;
            transition: .3s ease-in-out;
            opacity: 0.5;
        }
        .carousel ul.slick-dots li:hover {
            background-color: #fff;
        }
    .carousel ul.slick-dots li button {
        background-color: transparent;
        font-size: 1rem;
        display: none;
    }

    .carousel .slick-track {
        height: 300px;
        height: auto;
    }
    .carousel img {
        display: inline-block;
        width: 100%;
        height: 60vh;
        object-fit: cover;
        object-position: center;
    }
        .carousel img.mobile-hidden,
        .carousel img.desktop-solo {
/*            height: 60vh;*/
        }

    @media screen and (min-width: 576px) {
        .carousel {
            background-color: unset;
        }
            .carousel ul.slick-dots {
                bottom: 6%;
            }
    }
    @media screen and (min-width: 577px) {
        header {
            background-color: #ffffff;
        }
    }
    @media screen and (min-width: 768px) {
        .carousel .slick-track {
            height: auto;
        }
        .carousel ul.slick-dots {
            bottom: 8%;
        }
    }
    @media screen and (min-width: 1100px) {
        .carousel img.desktop-hidden {
            display: none;
        }
        .carousel ul.slick-dots {
            bottom: 17%;
        }
    }

/* --- end Carousel --- */



/* --- What Would You Like to Do Block --- */
.icon-container h2 {
}

.icon-container ul {
    list-style-type: none;
}
.icon-container ul li {
    width: 20%;
}
    .icon-container ul li a {
        display: inline-block;
        width: auto;
        color: #000;
        text-transform: uppercase;
        text-decoration: none;
    }

a.icon p {
    padding: 0.25rem 0.5rem;
    font-size: 1.2rem;
    transition: .3s ease-in-out;
    /*    letter-spacing: 0.05rem;*/
    /*    box-shadow: inset 0 0 0 0 black;
transition: color .5s ease-in-out, box-shadow .5s ease-in-out;*/
}

a.icon:hover p {
    background-color: #000;
    color: #fff;
    /*    box-shadow: inset 400px 0 0 0 black;*/
}

#icon-exhibitions {
    fill: #cf128c;
}

#icon-planetarium {
    fill: #1267cf;
}

#icon-films {
    fill: #f68c1e;
}

#icon-all-ages {
    fill: #7ec242;
}

#icon-afterhours {
    fill: #eb2427;
}

.icon-wrapper svg {
    width: 100px;
    height: 100px;
}

/* Members Icon - Randal CSS */
#icon-55f12c80-984d-4b43-ae81-c2bb28461380 svg {
    height: 100px;
}

@media screen and (max-width: 576px) {
    .icon-container {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .icon-wrapper svg {
        padding: 0 15px;
    }
}

/* --- end What Would You Like to Do Block --- */




/* --- Today at the Science Center Block --- */

.card-container {
    background-color: #f8f9fa;
/*    clip-path: polygon(0 0, 100% 0%, 100% 90%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);*/
}

.card-group-container {}

    .card-group-container #upcoming-events button {
        position: absolute;
        bottom: 0;
        z-index: 100;
        min-width: 50px;
        width: 50px;
        height: 50px;
        background-color: rgb(0 0 0 / 0.1);
        border-radius: 100px;
        color: #000;
    }
        .card-group-container #upcoming-events button.slick-prev-custom {
            left: 30%;
        }
        .card-group-container #upcoming-events button.slick-next-custom {
            right: 30%;
        }
        .card-group-container #upcoming-events button:hover {
            background-color: rgb(0 0 0 / 1);
            color: #0097D7;
        }
        .card-group-container #upcoming-events button .chevron.left:before {
            left: 0.1em;
        }

#upcoming-events.slick-slider {}
#upcoming-events .slick-list {}

#upcoming-events .slick-track {
    padding-bottom: 60px;
}

#upcoming-events .slick-slide {
    padding: 1rem;
}

#upcoming-events .card {
    border-radius: 0;
    box-shadow: 0 0 10px #ccc;
}

#upcoming-events .card-type-wrapper {
    filter: drop-shadow(3px 4px 3px rgba(0, 0, 0, 0.5));
}

#upcoming-events .card-type {
    position: absolute;
    top: -10px;
    left: -10px;
    padding-top: 0.75rem !important;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    text-decoration: none;
    line-height: 13px;
}
    #upcoming-events .card-type:hover {
        background-color: #000 !important;
        color: #fff;
    }
    #upcoming-events .card-type.exhibition {
        background-color: #CF128C;
    }
    #upcoming-events .card-type.planetarium {
        background-color: #1267CF;
    }
    #upcoming-events .card-type.all-ages {
        background-color: #7FC241;
    }

#upcoming-events .card-body {
    color: black;
    text-decoration: none;
}
#upcoming-events .img-wrapper {
    width: 100%;
    height: 200px;
}
    #upcoming-events .img-wrapper img {
        width: inherit;
        height: inherit;
        object-fit: cover;
    }

#upcoming-events .card-text-wrapper {
    height: 200px !important;
}

#upcoming-events .card-body .card-title {
    box-shadow: inset 0 0 0 0 black;
    font-size: 1.65rem;
    line-height: 1.75rem;
    text-transform: uppercase;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
    /*    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;*/
}

#upcoming-events .card-body:hover .card-title {
    color: #fff;
    box-shadow: inset 400px 0 0 0 black;
}
#upcoming-events .card-text {
    display: block;
}
#upcoming-events .card-text {
    display: -webkit-box !important;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

#upcoming-events .card-footer {
    background-color: rgba(255,255,255,0);
}
    #upcoming-events .card-footer a.button {
        width: 110px;
        height: 90px;
        padding: 40px 10px 0 0;
        background-color: #000;
        color: #fff;
        font-size: 1rem;
        text-decoration: none;
        text-transform: uppercase;
        text-align: right;
        line-height: normal;
        clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
    }
        #upcoming-events .card-footer a.button.more {
            width: 110px;
            height: 90px;
            padding: 45px 10px 0 0;
            line-height: 1.15rem;
        }
        #upcoming-events .card-footer a.button:hover {
            background-color: #0097D7;
        }


    @media screen and (min-width: 425px) {
        #upcoming-events.slick-slider {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
        }
        .card-group-container #upcoming-events button {
            position: unset;
            bottom: unset;
        }
            .card-group-container #upcoming-events button.slick-next-custom {
                right: unset;
            }
    }

    @media screen and (min-width: 577px) {
        .card-container {
            background-color: #eee;
/*            clip-path: polygon(0 0, 100% 10%, 100% 90%, 0% 100%);*/
        }
    }

    @media screen and (min-width: 500px) and (max-width: 767px) {
        #upcoming-events .img-wrapper {
            height: 250px;
        }
    }

    @media screen and (min-width: 768px) {
    }

    @media screen and (min-width: 1200px) {
        #upcoming-events .img-wrapper {
            height: 250px;
        }

        #upcoming-events .card-text-wrapper {
            height: 250px !important;
        }

        #upcoming-events .card-text {
            -webkit-line-clamp: 5;
        }
    }

/* --- end Today at the Science Center Block --- */




/* --- TTD Block --- */
.item-wrapper {
    overflow: hidden;
    width: 100%;
}

    .item-wrapper a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .item-wrapper a,
        .item-wrapper a:hover {
            text-decoration: none;
        }

    .item-wrapper:hover .item,
    .item-wrapper:focus .item {
        transform: scale(1.03);
    }

.item {
    width: 100%;
    height: 200px;
    background-color: #eeeeee;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: ease-in-out .75s;
}

.item-1 {
    background-image: url("/img/ttd01.webp");
}
.item-2 {
    background-image: url("/img/ttd02.webp");
}
.item-3 {
    background-image: url("/img/ttd03.webp");
}
.item-4 {
    background-image: url("/img/ttd04.webp");
}
.item-5 {
    background-image: url("/img/ttd05.webp");
}
.item-6 {
    background-image: url("/img/ttd06.webp");
}
.item-text {
    position: absolute;
}

    .item-text.min {
        width: 100%;
    }

    .item-text h3 {
        margin: auto;
        margin-bottom: 1rem;
        font-size: 1.75rem;
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
    }

    .item-text p {
        margin: auto;
        margin-bottom: 1rem;
        font-size: 1rem;
        color: #fff;
        font-style: italic;
    }

        .item-text p:last-of-type {
            margin-bottom: 0rem;
        }

        .item-text p.date {
            margin-bottom: 0;
            font-style: normal;
        }

.double-height {
    height: 200px;
}


    @media screen and (min-width: 768px) {
        .double-height {
            height: 400px;
        }
        .item-text.min {
            width: 25%;
        }
    }
    @media screen and (min-width: 1200px) {
        .item-text.min {
            width: 20%;
        }
    }
    @media screen and (min-width: 1400px) {
        .item-text.min {
            width: 15%;
        }
    }

/* --- end TTD Block --- */






/* --- CTA Block --- */
.cta {
    background-image: linear-gradient(to right, #000000, #2d2d2d);
/*    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 100%);*/
/*    clip-path: polygon(0 0, 100% calc(100% - 210vw), 100% 100%, 0 100%);*/
}

        .cta::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
/*            background-image: url(/img/watermark_cogs.png), url(/img/watermark_cogs_lg.svg);
            filter: opacity(8%);
            background-repeat: no-repeat;
            background-position-y: 0, 100px;
            background-position-x: -200px, 200px;*/
        }

    .cta article {
        position: relative;
        z-index: 100;
        text-align: center;
    }

        body#home section.cta h2 {
            color: #F9A11B;
            letter-spacing: 0.05rem;
        }

.cta p.byline {
    font-size: 1.5rem;
    line-height: 1.75rem;
}

        .cta p {
            color: #fff;
        }

        .cta a.btn:hover {
            background-color: #ffffff !important;
            color: #0097D7;
        }

    @media screen and (min-width: 768px) {
        .cta article {
            width: 80%;
        }
        .cta::before {
            background-position-y: 10%, -18%;
            background-position-x: -12%, 120%;
        }
    }

    @media screen and (min-width: 768px) {
        .cta article {
            width: 80%;
        }

        .cta::before {
            background-position-y: 10%, -18%;
            background-position-x: -12%, 120%;
        }
    }

@media screen and (min-width: 1200px) {
    .cta article {
        width: 60%;
    }
}
    /* --- end CTA Block --- */





/* --- Clip Paths --- */

.angle-down {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 100%);
}

.angle-up {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);
}

@media screen and (min-width: 576px) {
    .today.angle-down {
        clip-path: none;
    }
    .today.angle-up {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);
    }
    .angle-down {
        clip-path: polygon(0 0, 100% 10%, 100% 100%, 0% 100%);
    }
}
@media screen and (min-width: 768px) {
    .today.angle-up {
        clip-path: none;
    }
    .today.angle-down {
        clip-path: none;
    }
    .today.angle-both {
        clip-path: polygon(0 0, 100% 7%, 100% 93%, 0% 100%);
    }
}