/* EGIFT CAROUSEL SELECTORS COMPONENT STYLES */

body.body-lock {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

.selector-app,
.selector-app *,
.selector-app-carousel,
.selector-app-carousel * {
    box-sizing: border-box;
}

.selector-app,
.selector-app-carousel {
    width: 100%;
    overflow: hidden;
    padding-left: 4px;
    padding-right: 4px;
}

.selector-app-carousel {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
}

.selector-app-button-scroll {
    flex-basis: 32px;
    flex-grow: 0;
    flex-shrink: 0;
    width: 32px;
    height: 48px;
    padding: 0;
    font-size: 32px;
    background-color: transparent;
    border: 1px solid transparent;
}

.selector-app .selector-app-button-scroll {
    display: none;
}

.selector-app-selectors {
    overflow: hidden;
    padding-top: 4px;
}

.selector-app .selector-app-selectors {
    width: 100%;
}

.selector-app-carousel .selector-app-selectors {
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    width: calc(100% - 64px);
}

/* EGIFT WRAPPER PREVIEW */

.egift-wrapper-preview {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    height: 100%;
background: linear-gradient(
    180deg,
    rgb(255, 255, 255),
    rgba(215, 227, 239, 0.9));
}

.egift-wrapper-preview.exit {
    display: none;
}
 
.egift-wrapper-preview.enter,
.egift-wrapper-preview.exiting {
    display: block;
}

.egift-wrapper-preview.enter .egift-wrapper-preview-dialog {
    animation-name: preview-in;
}

.egift-wrapper-preview.exiting .egift-wrapper-preview-dialog {
    animation-name: preview-out;
}

.egift-wrapper-preview-dialog {
    position: relative;
    width: 360px;
    height: 252px;
    border: 1px solid hsl(0, 0%, 80%);
    border-radius: 4px;
    box-shadow: 0px 2px 12px hsla(0, 0%, 56%, 0.8);
    background-color: rgba(215, 227, 239, 1);
    text-align: right;
    animation-direction: normal;
    animation-duration: 240ms;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;

position: absolute; top: 50%; left: 50%;
}

@keyframes preview-in {
    0% {
        opacity: 0;
        transform: scale(0) translate(-50%, -50%);
    }
    100% {
        opacity: 1;
        transform: scale(1) translate(-50%, -50%);
    }
}

@keyframes preview-out {
    0% {
        opacity: 1;
        transform: scale(1) translate(-50%, -50%);
    }
    100% {
        opacity: 0;
        transform: scale(0) translate(-50%, -50%);
    }
}

.egift-wrapper-preview-dialog button, .fullscreen-image-preview button {
    position: absolute;
    top: 0;
    right: 0; 
    width: 25px;
    height: 25px;
    margin: 8px;
    padding: 0;
    font-size: 0px;
display: flex; align-items: center; justify-content: center;
}
.selector-app-preview-close-button {
padding: 0; margin: 0; line-height: 16px; font-size: 16px; pointer-events: none;
}

.egift-wrapper-preview-video {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* EGIFT CAROUSEL SELECTORS LIST */
.selector-app-selectors-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 0;
    transition: transform 400ms ease-in-out;
}

.selector-app-selectors-list-item {
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
}

.col-2 .selector-app-selectors-list-item {
  flex-basis: 50%;
}

.col-3 .selector-app-selectors-list-item {
  flex-basis: 33.33%;
}

.col-4 .selector-app-selectors-list-item {
  flex-basis: 25%;
  padding: 3px 0 0 0;
}

@media screen and (max-width: 499px) {
    .carousel-item-none {
        display: none;
    }
}

.selector-app-selector {
    width: 80%;
    max-width: 96px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 4px;
    padding-bottom: 4px;
}

.selector-app-selector label {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    text-transform: capitalize;
}

.selector-app-selector input {
    position: static;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6px;
}

/* EGIFT WRAPPER SELECTORS THUMBNAIL */

.selector-app-thumbnail {
    position: relative;
    width: 80%;
    max-width: 96px;
    height: 0px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4px;
    padding-bottom: 80%;
}

.selector-app-thumbnail-button {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 1px solid transparent;
}

.selector-app-thumbnail-button:hover {
    cursor: pointer;
}

.selector-app-thumbnail-button img {
    pointer-events: none;
    display: block;
    width: 100%;
    height: 100%;
}