
/* Ajax Message Popup */

.ajax_message {
    display: none;
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.ajax_message .ajax_message_content {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10001;
    min-width: 300px;
    padding: 38px 50px 25px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    animation: hide-popup 0.3s forwards;
}

.ajax_message .ajax_message_content .icon {
    height: 90px;
    width: 90px;
    position: relative;
    margin: 0 auto;
}

.ajax_message .ajax_message_content .icon:before,
.ajax_message .ajax_message_content .icon:after {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

.ajax_message .ajax_message_content .icon:before {
    content: "";
    border-width: 3px;
    border-style: solid;
    border-radius: 50%;
    transform: translateX(-50%) scale(1, 0);
    opacity: 0;
    height: 100%;
    top: 0;
    width: 100%;
}

.ajax_message .ajax_message_content .icon:after {
    line-height: 45px;
    transform: translateX(-50%) scale(0);
    opacity: 0;
    width: 100%;
    height: 100%;
    top: auto;
    padding: 0px;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.ajax_message .ajax_message_content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #445363;
    margin-top: 40px;
}

.video_popup.popup-visible .ajax_message_content {
    animation: show-popup 0.3s forwards;
}

.video_popup.popup-visible .ajax_message_content .icon:before {
    animation: show-icon-cirlce 0.3s forwards 0.15s;
}

.video_popup.popup-visible .ajax_message_content .icon:after {
    animation: show-icon 0.3s forwards 0.3s;
}
/*========== Vissible Popup ==========*/
.video_popup.popup-visible{
    opacity: 1;
    display: block;
}


/*Video popup*/

.video_popup .ajax_message_content {
    padding: 20px!important
}

.dt_video_iframe {
    width: 600px;
    height: 500px
}

/**
 * Popup animations.
 */

@keyframes show-popup {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0;
    }
    45% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes hide-popup {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
}