/*******************************
    Template-5801
*******************************/

.template-5801 .template__content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity .4s;
}

.template-5801 .template__image {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    cursor: pointer;
    object-fit: cover;
    object-position: center;
    transition: opacity .4s;
}

.template-5801.img-hidden .template__image,
.template-5801.img-hidden .template__content {
    opacity: 0;
    pointer-events: none;
}

/* blue-play-btn */

.template-5801.blue-play-btn:before,
.template-5801.blue-play-btn:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .4s;
    pointer-events: none;
}

.template-5801.blue-play-btn:before {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    border: 3px solid #34578d;
    background: #34578dcf;
    animation: pulseBtn 2s linear infinite;
    z-index: 2;
}

.template-5801.blue-play-btn:after {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 40px solid #ffffffc2;
    margin-left: 7px;
    z-index: 3;
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 87, 141, 0.7), 0 0 0 0 rgba(52, 87, 141, 0.7);
    }
    40% {
        box-shadow: 0 0 0 50px rgba(52, 87, 141, 0), 0 0 0 0 rgba(52, 87, 141, 0.7);
    }
    80% {
        box-shadow: 0 0 0 50px rgba(52, 87, 141, 0), 0 0 0 30px rgba(52, 87, 141, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 87, 141, 0), 0 0 0 30px rgba(52, 87, 141, 0);
    }
}

.template-5801.blue-play-btn.img-hidden:after, 
.template-5801.blue-play-btn.img-hidden:before {
    opacity: 0;
}

.template-5801.rounded-media video,
.template-5801.rounded-media .template__image {
  border-radius: 5px;
}
