/*===============================================================
 ##Video PopUp addon
 =================================================================*/

.YouTubePopUp-Wrap {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    z-index: 9999999999999;
}
.YouTubePopUp-animation {
    opacity: 0;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: YouTubePopUp;
    animation-name: YouTubePopUp;
}
@-webkit-keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes YouTubePopUp {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
body.logged-in .YouTubePopUp-Wrap {
    top: 32px;
    z-index: 99998;
}
.YouTubePopUp-Content {
    max-width: 1200px;
    display: block;
    margin: 0 auto;
    height: 100%;
    position: relative;
}
.YouTubePopUp-Content iframe {
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    height: 680px !important;
    border: none !important;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
}
.YouTubePopUp-Hide {
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-name: YouTubePopUpHide;
}
@-webkit-keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes YouTubePopUpHide {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.YouTubePopUp-Close {
    position: absolute;
    top: 52px;
    cursor: pointer;
    right: 0px;
    margin: auto 0;
    width: 24px;
    height: 24px;
    background: url(../images/close.png) no-repeat;
    background-size: 24px 24px;
    display: inline-block;
}
.YouTubePopUp-Close:hover {
    opacity: 0.5;
}
@media (max-width:1200px) {
    .YouTubePopUp-Content {
        max-width: 950px;
    }
    .YouTubePopUp-Content iframe {
        height: 500px !important;
    }
}
@media (max-width:992px) {
    .YouTubePopUp-Content {
        max-width: 750px;
    }
    .YouTubePopUp-Content iframe {
        height: 400px !important;
    }
}
@media (max-width:768px) {
    .YouTubePopUp-Content {
        max-width: 500px;
    }
    .YouTubePopUp-Content iframe {
        height: 362px !important;
    }
}
@media (max-width:600px) {
    .YouTubePopUp-Content {
        max-width: 95%;
    }
    .YouTubePopUp-Content iframe {
        height: 320px !important;
    }
    .YouTubePopUp-Close {
        bottom: 362px;
    }
}
@media (max-width:480px) {
    .YouTubePopUp-Content {
        max-width: 95%;
    }
    .YouTubePopUp-Content iframe {
        height: 220px !important;
    }
    .YouTubePopUp-Close {
        bottom: 262px;
    }
}
.edubin-video-popup-wrapper {
    position: relative;
}
/* ====== Video Popup Style 1 ========= */

.edubin-video-popup-wrapper .video i {
    width: 120px;
    height: 120px;
    line-height: 120px;
    text-align: center;
    font-size: 24px;
    background-color: var(--edubin-primary-color);
    color: #07294d;
    border-radius: 50%;
}
/* ====== Style 2  play icon with tex ========= */

.edubin-video-popup-wrapper a.play-icon-text {
    color: #ecb101;
}
/* ====== Style 3 ripple effect ========= */

.edubin-video-popup-wrapper .play-btn {
    width: 82px;
    height: 82px;
    background: radial-gradient(var(--edubin-primary-color) 60%, var(--edubin-primary-color) 62%);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}
/* ====== triangle ========= */

.edubin-video-popup-wrapper .play-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translateX(-40%) translateY(-50%);
    transform: translateX(-40%) translateY(-50%);
    transform-origin: center center;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 22px solid #fff;
    z-index: 1;
    -webkit-transition: all 600ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: all 600ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
/* ====== pulse wave ========= */

.edubin-video-popup-wrapper .play-btn:before {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation: pulsate1 3s;
    animation: pulsate1 3s;
    -webkit-animation-direction: forwards;
    animation-direction: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: steps;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid var(--edubin-primary-color);
    top: -25%;
    left: -25%;
    background: var(--edubin-primary-color);
}
@-webkit-keyframes pulsate1 {
    0% {
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 1;
        box-shadow: inset 0px 0px 25px 3px var(--edubin-primary-color), 0px 0px 25px 10px var(--edubin-primary-color);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
        box-shadow: none;
    }
}
@keyframes pulsate1 {
    0% {
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        opacity: 1;
        box-shadow: inset 0px 0px 25px 3px var(--edubin-primary-color), 0px 0px 25px 10px var(--edubin-primary-color);
    }
    100% {
        -webkit-transform: scale(1, 1);
        transform: scale(1);
        opacity: 0;
        box-shadow: none;
    }
}
/*====== Ripple effect 4 =====*/

.edubin-video-popup-wrapper .video-popup-4 {
    position: relative;
}
.edubin-video-popup-wrapper .video-play-button {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    border-radius: 50%;
    padding: 18px 20px 18px 28px;
}
.edubin-video-popup-wrapper .video-play-button:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: #fdbd00;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}
.edubin-video-popup-wrapper .video-play-button:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: #fdbd00;
    border-radius: 50%;
    transition: all 200ms;
}
.edubin-video-popup-wrapper .video-play-button img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}
.edubin-video-popup-wrapper .video-play-button span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid #fff;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}
@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}
/*====== Style 5 transform effect =====*/

.edubin-video-popup-wrapper .video-popup-5 {
    position: relative;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.edubin-video-popup-wrapper .stroke-dotted {
    opacity: 0;
    stroke-dasharray: 4, 5;
    stroke-width: 1px;
    transform-origin: 50% 50%;
    animation: spin 4s infinite linear;
    transition: opacity 1s ease, stroke-width 1s ease;
}
.edubin-video-popup-wrapper .stroke-solid {
    stroke-dashoffset: 0;
    stroke-dashArray: 300;
    stroke-width: 4px;
    transition: stroke-dashoffset 1s ease, opacity 1s ease;
}
.edubin-video-popup-wrapper .icon {
    transform-origin: 50% 50%;
    transition: transform 200ms ease-out;
}
.edubin-video-popup-wrapper #play:hover .stroke-dotted {
    stroke-width: 4px;
    opacity: 1;
}
.edubin-video-popup-wrapper #play:hover .stroke-solid {
    opacity: 0;
    stroke-dashoffset: 300;
}
.edubin-video-popup-wrapper #play:hover .icon {
    transform: scale(1.05);
}
.edubin-video-popup-wrapper #play {
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}
/*====== Video popup round =====*/

.edubin-video-popup-round {
    position: relative;
    border: 3px solid #ecb101;
}
.edubin-video-popup-round img {
    display: block;
    border-radius: 6px;
    position: relative;
}
.edubin-video-popup-round a.icon-video {
    position: absolute;
    border-radius: 100%;
    border: 7px solid #dcdcdc;
    width: 75px;
    height: 75px;
    background: #FFF;
    color: #ecb101;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    z-index: 12;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.edubin-video-popup-round a.icon-video:hover {
    background: #ecb101;
    color: #fff !important;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
.edubin-video-popup-round:hover:after {
    background-color: #ecb101cc;
}
.edubin-video-popup-round:after {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    content: "";
    transition: .4s;
    border-radius: 6px;
}
/*====== Video popup right =====*/

.edubin-video-popup {
    position: relative;
    margin-top: 15px;
}
.edubin-video-popup img {
    display: block;
    border-radius: 6px;
    position: relative;
}
.edubin-video-popup::before {
    content: '';
    border: 20px solid #ecb101;
    background: none;
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}
.edubin-video-popup a.icon-video {
    position: absolute;
    border-radius: 100%;
    border: 7px solid #dcdcdc;
    width: 75px;
    height: 75px;
    background: #FFF;
    color: #ecb101;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    z-index: 12;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.edubin-video-popup:hover:after {
    background-color: #ecb101cc;
}
.edubin-video-popup:after {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    content: "";
    transition: .4s;
    border-radius: 6px;
}
.edubin-video-popup a.icon-video:hover {
    background: #ecb101;
    color: #fff !important;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
/* ======Video left ======*/

.edubin-video-popup-left {
    position: relative;
    margin-top: 25px;
}
.edubin-video-popup-left img {
    display: block;
    border-radius: 6px;
    position: relative;
}
.edubin-video-popup-left::before {
    content: '';
    border: 30px solid #ecb101;
    background: none;
    position: absolute;
    top: -15px;
    right: -30px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}
.edubin-video-popup-left::before {
    content: '';
    border: 30px solid #ecb101;
    background: none;
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}
.edubin-video-popup-left a.icon-video {
    position: absolute;
    border-radius: 100%;
    border: 7px solid #dcdcdc;
    width: 75px;
    height: 75px;
    background: #FFF;
    color: #ecb101;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    z-index: 12;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.edubin-video-popup-left a.icon-video:hover {
    background: #ecb101;
    color: #fff !important;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
.edubin-video-popup-left:hover:after {
    background-color: #ecb101cc;
}
.edubin-video-popup-left:after {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    content: "";
    transition: .4s;
    border-radius: 6px;
}