﻿.live-demo-circle {
    background: #000;
    background-origin: content-box;
    border: 3px solid;
    border-color: #60c742;
    border-radius: 50%;
    box-shadow: #60c742 0 1px 0 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-size: 25px;
    display: table;
    position: fixed;
    bottom: 365px;
    right: 5px;
    text-align: center;
    line-height: 25px;
    vertical-align: middle;
    z-index: 200;
    width: 100px;
    height: 100px;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    transition: border, transform 0.5s ease-in-out;
    animation: live-demo-wave 3s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes live-demo-wave {
    to {
        box-shadow: 0 0 0 10px rgba(97, 202, 67, 0);
    }
}

.live-demo-circle-show {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    transition: border, transform 0.5s ease-in-out;
}

.live-demo-circle-text {
    display: table-cell;
    vertical-align: middle;
}

.live-demo-msg-container {
    display: inline-flex;
    border-radius: 12px;
    height: 57px;
    max-width: 300px;
    width: 0;
    position: fixed;
    right: 17px;
    bottom: 377px;
    text-decoration: none;
    display: inline-flex;
    -moz-transition-duration: 300ms;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    background: #3e3e3e;
    opacity: 0;
    transition: 300ms all ease;
    z-index: 190;
}

.live-demo-msg-box {
    color: #fff;
    display: flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 17px;
}

.live-demo-msg-slide-in-from-right {
    opacity: 1;
    right: 45px;
    width: 240px;
}

.live-demo-preview-container {
    width: 200px;
    height: 0;
    border-radius: 12px 12px 0 0;
    opacity: 0;
    position: fixed;
    right: 85px;
    bottom: 483px;
    animation-direction: normal;
    animation-duration: 0;
    animation-fill-mode: none;
    animation-iteration-count: 1;
    animation-name: none;
    animation-play-state: running;
    z-index: 190;
}

.live-demo-preview-container-slideup {
    width: 200px;
    height: 200px;
    opacity: 1;
    -webkit-transition: height 0.3s cubic-bezier(0.25, 0.46, 0.29, 1.02);
    -moz-transition: height 0.3s cubic-bezier(0.25, 0.46, 0.29, 1.02);
    -ms-transition: height 0.3s cubic-bezier(0.25, 0.46, 0.29, 1.02);
    -o-transition: height 0.3s cubic-bezier(0.25, 0.46, 0.29, 1.02);
    transition: height 0.3s cubic-bezier(0.25, 0.46, 0.29, 1.02);
    right: 84px;
    bottom: 433px;
}

.live-demo-preview {
    background: url("https://media.giphy.com/media/a6OnFHzHgCU1O/giphy.gif") center center / cover no-repeat;
}

.live-demo-preview-play-overlay {
    border-radius: 12px 12px 0 0;
    height: 200px;
    width: 200px;
    background: rgba(0, 0, 0, 0.4);
    bottom: 0;
    -webkit-transition: all 0.7s ease-in;
    -moz-transition: all 0.7s ease-in;
    -ms-transition: all 0.7s ease-in;
    -o-transition: all 0.7s ease-in;
    transition: all 0.7s ease-in;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: center;
    z-index: 190;
}

.live-demo-preview-play-button {
    text-align: center;
    opacity: 0;
    align-self: center;
    font-size: 52px;
    -webkit-transition: all 0.7s ease-in;
    -moz-transition: all 0.7s ease-in;
    -ms-transition: all 0.7s ease-in;
    -o-transition: all 0.7s ease-in;
    transition: all 0.7s ease-in;
    z-index: 190;
}

    .live-demo-preview-play-button.live-demo-preview-load {
        opacity: 1;
    }

.live-demo-swal {
    width: 600px;
    padding: 0px !important;
    background: rgba(100%,100%,100%,0);
}

    .live-demo-swal h2,
    .live-demo-swal fieldset,
    .live-demo-swal .sa-error-container,
    .live-demo-swal .sa-button-container {
        display: none;
    }

    .live-demo-swal p {
        display: flex!important;
        flex-direction: column;
    }

    .live-demo-swal .swal-content{
        padding:0!important;
        margin:0!important;
    }

.live-demo-iframe-youtube {
    width: 100%;
    height: 315px;
    flex: 2;
}

.live-demo-video-frame {
    width: 560px;
    height: 315px;
}

.live-demo-close-btn {
    margin-right: 13px;
    padding: 0;
    color: lightgray;
    font-size: large;
    cursor: pointer;
}

    .live-demo-close-btn:hover {
        color: white;
    }

.live-demo-dialog-btn-row {
    display: flex;
    flex-direction: row;
}

.live-demo-btn {
    padding: 14px 7px;
    display: flex;
    flex-direction: column;
    flex: 1;
    font-weight: bold;
}

    .live-demo-btn.btn-info {
        background-color:lightgray;
    }

    .live-demo-btn.btn-primary {
        background-color: #79B928;
        color:white;
    }

.live-demo-close-player-btn {
    background: black;
    display: inline-block;
    text-align: center;
    padding: 7px;
    color: white;
    cursor: pointer;
}
.live-demo-close-player-btn:hover{
    background-color:dimgray;
}

@media(max-width:480px) {
    .live-demo-circle {
        bottom: 5px;
    }

    .live-demo-msg-container {
        bottom: 17px;
    }

    .live-demo-preview-container {
        bottom: 123px;
    }

    .live-demo-preview-container-slideup {
        bottom: 73px;
    }

    .live-demo-swal {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .live-demo-video-frame {
        width: 300px;
        height: 315px;
    }

    .live-demo-iframe-youtube {
        height: 315px;
    }
}
