.segment-preference {
    width: 75%;
    max-width: 500px;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1050;
}

#segmentswitcher {
    z-index: 1000;
    padding: 15px;
    border-radius: 2px;
    display: block;
    flex-direction: unset;
    margin-right: 15px;
    background: #FFF;
}

.segment-preference .card {
    visibility: visible;
    display: block;
}

.segment-preference .card-title {
    max-width: 70%;
}

.segment-preference .clear {
    text-align: right;
}

.segment-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    animation: backgroundFade 1s ease forwards;
    background-color: #000;
    z-index: 998;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.segment-overlay.fadeOut {
    animation: backgroundFadeOut 1s ease forwards;
}

@keyframes backgroundFade {
    from {
        opacity: 0;
    }
    to {
        opacity: .5;
    }
}

@keyframes backgroundFadeOut {
    from {
        opacity: .5;
    }
    to {
        opacity: 0;
    }
}