﻿/*Pop up Celebrate*/
.pop-up-celebrate {
    display: none;
    background-color: transparent;
    transition: all 0.25s ease;
}

    .pop-up-celebrate.open {
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 6;
    }

    .pop-up-celebrate .content-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 550px;
        height: auto;
        margin: 0;
        /*margin-top: 0.5%;*/
        padding: 0.6rem;
        background-color: #F3F3F3;
        border-radius: 0.3125rem;
        box-shadow: 0 0 2.5rem rgba(0, 0, 0, 0.5);
        /*height: 450px;*/
    }

        .pop-up-celebrate .content-wrapper .closeCelebrate {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2.5rem;
            height: 2.5rem;
            border: none;
            background-color: transparent;
            font-size: 1.5rem;
            transition: 0.25s linear;
        }

            .pop-up-celebrate .content-wrapper .closeCelebrate:before, .pop-up-celebrate .content-wrapper .closeCelebrate:after {
                position: absolute;
                content: '';
                width: 1.75rem;
                height: 0.2rem;
                background-color: black;
                cursor: pointer;
            }

            .pop-up-celebrate .content-wrapper .closeCelebrate:active {
                outline: 0;
                border: none;
                text-decoration: none;
            }

            .pop-up-celebrate .content-wrapper .closeCelebrate:before {
                transform: rotate(-45deg);
            }

            .pop-up-celebrate .content-wrapper .closeCelebrate:after {
                transform: rotate(45deg);
            }

            .pop-up-celebrate .content-wrapper .closeCelebrate:hover {
                transform: rotate(360deg);
            }

                .pop-up-celebrate .content-wrapper .closeCelebrate:hover:before, .pop-up-celebrate .content-wrapper .closeCelebrate:hover:after {
                    background-color: #277BD9;
                }

#imgCelebrate {
    width: 100% !important;
    height: auto !important;
    padding-top: 6% !important;
}

.img-celebrate {
    display: none;
    width: 100% !important;
    height: auto !important;
    padding-top: 6% !important;
}

    .img-celebrate.open {
        display: flex;
        opacity: 1;
        animation-name: fadeInOpacity;
        animation-iteration-count: 1;
        animation-timing-function: ease-in;
        animation-duration: 1.5s;
    }

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
        -moz-opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"
    }

    100% {
        opacity: 1;
        -moz-opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"
    }
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -7%;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    opacity: 0.5;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover,
    .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
        opacity: 1.0;
        color: white;
    }

    .prev::before,
    .next::before {
        color: #fff !important;
    }

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .activeimg, .dot:hover {
        background-color: #717171;
    }
