.PhotoGallery__scrolling___BeLzR {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.PhotoGallery__scrolling___BeLzR::-webkit-scrollbar {
        display: none;
    }

.PhotoGallery__root___nJWgH {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: var(--white);
    z-index: 1000;
    overflow: hidden;
}

/* layout */

.PhotoGallery__layout___BDoOb {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.PhotoGallery__layoutHeader___iNVA1 {
    padding: var(--pds-spacing-l) var(--pds-spacing-m);
}

.PhotoGallery__slotLayoutHeader___KxMxT {
    display: block;
    padding: 0;
}

.PhotoGallery__layoutContent___C-jWr {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.PhotoGallery__layoutFooter___MQh-L {
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 50%;
}

.PhotoGallery__layoutSection___3FXm5 {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.PhotoGallery__layoutSectionContent___WPu-a {
    flex: 1;
    min-width: 0;
    min-height: 0;
}

.PhotoGallery__layoutSectionFooter___G5FaN {
    display: block;
}

.PhotoGallery__layoutPreviews___gQFQR {
    align-self: center;
    padding: var(--pds-spacing-m) 0;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
}

.PhotoGallery__layoutAdditional___pw0QV {
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 50%;
}

/* header */

.PhotoGallery__header___meCSL {
}

.PhotoGallery__headerTitle___NpSWI {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-size: var(--pds-font-size-h3);
    font-weight: bold;
    line-height: 24px;
    padding-right: var(--pds-spacing-5xl);
    padding-left: var(--pds-spacing-5xl);
}

.PhotoGallery__headerClose___-B9Zg {
    position: absolute;
    right: 0;
    top: 0;
    margin: var(--pds-spacing-m);
}

/* MainPhotos.tsx */

.PhotoGallery__mainPhotoScrollControls___ckcap {
    height: 100%;
    width: 100%;
}

.PhotoGallery__mainPhoto___-r4WP {
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: 100%;
}

.PhotoGallery__mainPhotoItem___Q7wDI {
    scroll-snap-align: center;
    scroll-snap-stop: always;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.PhotoGallery__mainPhotoItem___Q7wDI + .PhotoGallery__mainPhotoItem___Q7wDI {
        margin-left: var(--pds-spacing-m);
    }

.PhotoGallery__mainPhotoImage___NrcBT {
    display: block;
    outline: none;
    border: 0;
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
}

.PhotoGallery__mainPhotoIframe___kObZY {
    width: 100%;
    height: 100%;
    border: 0;
}

/* PreviewPhotos.tsx */

.PhotoGallery__preview___86-3f {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    box-sizing: border-box;
    max-height: 100%;
    max-width: 100%;
    min-width: 0;
}

.PhotoGallery__previewItem___gnB8m {
    flex: 0 0 auto;
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
}

.PhotoGallery__previewItem___gnB8m:first-child {
        padding-left: var(--pds-spacing-m);
    }

.PhotoGallery__previewItem___gnB8m:last-child {
        padding-right: var(--pds-spacing-m);
    }

.PhotoGallery__previewItem___gnB8m + .PhotoGallery__previewItem___gnB8m {
        margin-left: var(--pds-spacing-xs);
    }

.PhotoGallery__previewButton___L4PR- {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--pds-round-m);
    border: 1px solid var(--black-400);
    margin: 1px;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.PhotoGallery__previewButton___L4PR-:disabled {
        border-color: var(--violet-500);
        border-width: 2px;
        margin: 0;
    }

.PhotoGallery__previewImage___8dsDI {
    display: block;
    outline: none;
    border: 0;
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

/* video */

.PhotoGallery__videoPlayLabel___2kU58 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--black-100);
    width: 45%;
    height: 45%;
    min-width: 24px;
    min-height: 24px;
    max-width: 48px;
    max-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-900);
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

.PhotoGallery__videoPlayLabelIcon___WR7T8 {
    width: 100%;
    height: 100%;
    min-width: 10px;
    min-height: 10px;
    max-width: 16px;
    max-height: 16px;
}

/* animation */

.PhotoGallery__enter___sM8Qu,
.PhotoGallery__exit___veHZr {
    pointer-events: auto;
}

.PhotoGallery__enterActive___VP4oy,
.PhotoGallery__exitActive___AMPJ3 {
    pointer-events: none;
    transition:
        transform 240ms cubic-bezier(0, 0, 0.2, 1) 0ms,
        opacity 240ms cubic-bezier(0, 0, 0.2, 1) 0ms;
}

.PhotoGallery__enter___sM8Qu {
    transform: translate(-50%, 100%);
    opacity: 0;
}

.PhotoGallery__enterActive___VP4oy {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.PhotoGallery__exit___veHZr {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.PhotoGallery__exitActive___AMPJ3 {
    transform: translate(-50%, 100%);
    opacity: 0;
}

@media only screen and (min-width: 960px) {
    .PhotoGallery__root___nJWgH {
        max-width: 80%;
        max-height: 80%;
        border-radius: var(--pds-round-m);
    }
    .PhotoGallery__layoutHeader___iNVA1 {
        padding: var(--pds-spacing-3xl);
    }

    .PhotoGallery__layoutContent___C-jWr {
        flex-direction: row;
        padding: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
    }

    .PhotoGallery__layoutSection___3FXm5 {
        order: 2;
    }

    .PhotoGallery__layoutPreviews___gQFQR {
        align-self: flex-start;
        order: 1;
        padding: 0;
        margin-right: var(--pds-spacing-xl);
        height: 100%;
    }

    .PhotoGallery__layoutAdditional___pw0QV {
        order: 3;
        margin-left: var(--pds-spacing-xl);
        height: 100%;
        max-height: none;
        max-width: 50%;
    }

    .PhotoGallery__layoutFooter___MQh-L {
        margin: 0 var(--pds-spacing-3xl) var(--pds-spacing-3xl);
    }

.PhotoGallery__headerTitle___NpSWI {
        padding-left: 0;
        text-align: left;
        font-weight: normal;
        font-size: var(--pds-font-size-h2);
}
    .PhotoGallery__preview___86-3f {
        flex-direction: column;
    }
        .PhotoGallery__previewItem___gnB8m:first-child {
            padding-left: 0;
        }

        .PhotoGallery__previewItem___gnB8m:last-child {
            padding-right: 0;
        }

        .PhotoGallery__previewItem___gnB8m + .PhotoGallery__previewItem___gnB8m {
            margin-left: 0;
            margin-top: var(--pds-spacing-xs);
        }
    .PhotoGallery__enter___sM8Qu {
        transform: translate(-50%, -46%);
        opacity: 0;
    }

    .PhotoGallery__enterActive___VP4oy {
        transform: translate(-50%, -50%);
        opacity: 1;
    }

    .PhotoGallery__exit___veHZr {
        transform: translate(-50%, -50%);
        opacity: 1;
    }

    .PhotoGallery__exitActive___AMPJ3 {
        transform: translate(-50%, -46%);
        opacity: 0;
    }
}
