.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
    z-index: 9;
}

.ui-helper-hidden-accessible {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

#product_image_container .card .card-body {
    height: 100%;
    min-height: 180px;
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

#product_image_container .card .card-body img {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#product_image_container .card .card-footer {
    overflow: hidden;
    white-space: nowrap;
}

#celebrities_image_container .card .card-body {
    height: 100%;
    min-height: 180px;
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

#celebrities_image_container .card .card-body img {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#celebrities_image_container .card .card-footer {
    overflow: hidden;
    white-space: nowrap;
}

.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(240, 238, 238, 0.5) no-repeat center center;
    z-index: 10000;
}

.card-loader {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 250px;
}

.spinner-border {
    z-index: 1;
    width: 25px;
    height: 25px;
    border: 2px solid #d9d9db;
    border-radius: 50%;
    border-top: 2px solid #7c5cc4;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

/* Custom Slider */
.custom-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 34px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e3e2e2;
    transition: 0.4s;
    border-radius: 34px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2), 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-slider:before {
    position: absolute;
    font-family: "dripicons-v2" !important;
    content: "\39";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold !important;
    color: #e3e2e2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

input:checked+.custom-slider {
    background-color: #2ecc71;
    /* green */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2),
        0 2px 10px rgba(40, 199, 111, 0.4);
}

input:checked+.custom-slider:before {
    transform: translateX(36px);
    font-family: "dripicons-v2" !important;
    content: "\53";
    color: #2ecc71;
}

.select-height>button.dropdown-toggle.btn-link {
    height: auto !important;
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1024px
    }
}

@media (min-width: 1440px) {
    .modal-xxl {
        max-width: 1380px
    }
}
