@charset "UTF-8";

/* =========================================================
   AMBOY CITY PARK SCULPTURE EXHIBIT
   Bootstrap 5.2.3
   Images: 1280 x 720
   ========================================================= */


/* ---------------------------------------------------------
   EXHIBIT CONTAINER
   --------------------------------------------------------- */

.amboy-exhibit {
    width: 100%;
    max-width: 1280px;
    margin: 2rem auto 3rem;
}


/* ---------------------------------------------------------
   EXHIBIT HEADING / INTRO
   --------------------------------------------------------- */

.amboy-intro {
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.amboy-intro p {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   MAIN SLIDESHOW
   --------------------------------------------------------- */

.amboy-exhibit .carousel {
    position: relative;
    width: 100%;
}

.amboy-exhibit .carousel-inner {
    width: 100%;
    overflow: hidden;
}


/* ---------------------------------------------------------
   PHOTOGRAPH
   --------------------------------------------------------- */

.amboy-slide {
    position: relative;
    margin: 0;
    background: #000;
}

.amboy-slide img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;
}


/* ---------------------------------------------------------
   RED INFORMATION BAR
   --------------------------------------------------------- */

.amboy-caption {
    position: relative;

    min-height: 72px;

    background: #a71919;
    color: #fff;

    display: flex;
    align-items: center;

    padding: 10px 120px 10px 22px;
}


/* Text area */

.amboy-caption-text {
    line-height: 1.15;
}

.amboy-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.amboy-location {
    margin-top: 3px;

    font-size: .95rem;
    font-weight: 600;
}

.amboy-credit {
    margin-top: 4px;

    font-size: .78rem;

    opacity: .95;
}


/* ---------------------------------------------------------
   SCULPTURE NUMBER
   --------------------------------------------------------- */

.amboy-number {
    position: absolute;

    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    width: 82px;
    height: 82px;

    border-radius: 50%;

    background: #a71919;

    border: 5px solid #fff;

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2.1rem;
    font-weight: 700;

    line-height: 1;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, .35);

    z-index: 5;
}


/* ---------------------------------------------------------
   CAROUSEL CONTROLS
   --------------------------------------------------------- */

/*
   Controls occupy the photograph area but stop above
   the red information bar.
*/

.amboy-exhibit .carousel-control-prev,
.amboy-exhibit .carousel-control-next {

    position: absolute;

    top: 0;
    bottom: 72px;

    width: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 1;

    background: transparent;

    border: 0;

    z-index: 10;

    cursor: pointer;
}


/* Circular background */

.amboy-exhibit .carousel-control-prev::before,
.amboy-exhibit .carousel-control-next::before {

    content: "";

    position: absolute;

    width: 54px;
    height: 54px;

    background: rgba(0, 0, 0, .55);

    border-radius: 50%;

    transition:
        background-color .2s ease,
        transform .2s ease;
}


/* Bootstrap arrow */

.amboy-exhibit .carousel-control-prev-icon,
.amboy-exhibit .carousel-control-next-icon {

    position: relative;

    z-index: 2;

    width: 28px;
    height: 28px;

    background-size: 100% 100%;

    filter: none;
}


/* Hover */

.amboy-exhibit .carousel-control-prev:hover::before,
.amboy-exhibit .carousel-control-next:hover::before {

    background: #a71919;

    transform: scale(1.08);
}


/* Keyboard focus */

.amboy-exhibit .carousel-control-prev:focus-visible,
.amboy-exhibit .carousel-control-next:focus-visible {

    outline: 3px solid #fff;

    outline-offset: -5px;
}


/* ---------------------------------------------------------
   COUNTER
   --------------------------------------------------------- */

.amboy-counter {

    padding: 9px 0;

    color: #666;

    font-size: .9rem;

    font-weight: 600;

    text-align: center;
}


/* ---------------------------------------------------------
   OPTIONAL EXHIBIT MAP / INDEX
   --------------------------------------------------------- */

.amboy-exhibit-index {
    margin-top: 2rem;
}

.amboy-exhibit-index a {
    color: #a71919;
}

.amboy-exhibit-index a:hover {
    color: #751111;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767.98px) {

    .amboy-exhibit {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .amboy-caption {

        min-height: 64px;

        padding:
            8px
            82px
            8px
            14px;
    }

    .amboy-title {
        font-size: 1.05rem;
    }

    .amboy-location {
        font-size: .78rem;
    }

    .amboy-credit {
        font-size: .68rem;
    }

    .amboy-number {

        width: 60px;
        height: 60px;

        right: 10px;

        border-width: 3px;

        font-size: 1.5rem;
    }


    /* Smaller controls */

    .amboy-exhibit .carousel-control-prev,
    .amboy-exhibit .carousel-control-next {

        width: 65px;

        bottom: 64px;
    }

    .amboy-exhibit .carousel-control-prev::before,
    .amboy-exhibit .carousel-control-next::before {

        width: 44px;
        height: 44px;
    }

    .amboy-exhibit .carousel-control-prev-icon,
    .amboy-exhibit .carousel-control-next-icon {

        width: 22px;
        height: 22px;
    }
}


/* ---------------------------------------------------------
   VERY SMALL PHONES
   --------------------------------------------------------- */

@media (max-width: 400px) {

    .amboy-caption {

        min-height: 58px;

        padding:
            7px
            70px
            7px
            10px;
    }

    .amboy-title {
        font-size: .95rem;
    }

    .amboy-location {
        font-size: .7rem;
    }

    .amboy-credit {
        display: none;
    }

    .amboy-number {

        width: 52px;
        height: 52px;

        right: 7px;

        font-size: 1.3rem;
    }

    .amboy-exhibit .carousel-control-prev,
    .amboy-exhibit .carousel-control-next {

        width: 55px;

        bottom: 58px;
    }

    .amboy-exhibit .carousel-control-prev::before,
    .amboy-exhibit .carousel-control-next::before {

        width: 38px;
        height: 38px;
    }

    .amboy-exhibit .carousel-control-prev-icon,
    .amboy-exhibit .carousel-control-next-icon {

        width: 19px;
        height: 19px;
    }
}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .amboy-exhibit .carousel-control-prev::before,
    .amboy-exhibit .carousel-control-next::before {

        transition: none;
    }
}