/**
 * Theme Name: BuddyxPro Child
 * Description: This is a child theme of BuddyxPro, generated by Merlin WP.
 * Author: <a href="https://wbcomdesigns.com">wbcomdesigns</a>
 * Template: buddyx-pro
 * Version: 3.8.7
 */

/* Video Styling */
div.rtmedia-activity-container li.media-type-video video {
    background-color: black;
}

div.rtmedia-activity-container li.media-type-video {
    padding: 0 !important;
    margin: 0 !important;
}

.rtmedia-list-item.media-type-video .mejs-video {
    width: 100% !important;
    height: 100% !important;
}

.rtmedia-list:not(.rtmedia-activity-media-length-1) {
    /* display: grid !important; */
    /* grid-template-columns: repeat(2, 1fr) !important; */
    /* gap: 2px; */
}

.rtmedia-list:not(.rtmedia-activity-media-length-1) li.rtmedia-list-item.media-type-video {
    width: 100% !important;
    height: 100% !important;
    /* min-height: clamp(11.25rem, 16.992vw + 7.002rem, 21.87rem); */
    /* background: black; */
}

/* General Thumbnail and List Styling */
.rtmedia-list-item {
    width: 100% !important;
    max-width: 100% !important;
}

.rtmedia-item-thumbnail {
    position: relative;
    min-height: 100px;
}

div.rtmedia-activity-container li.media-type-photo a,
div.rtmedia-activity-container li.media-type-video div.rtmedia-item-thumbnail {
    height: 100% !important;
}

/* Flex Container for Video Items */
li.rtmedia-list-item.media-type-video {
    height: 100% !important;
    display: flex;
}

.mejs-overlay.mejs-layer.mejs-overlay-play {
    width: 100% !important;
    height: 100% !important;
}

/* Video Notice Overlay */
.video-notice {
    /* position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; */
    min-height: 300px;
    background: #0000005c;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    margin-top: 0 !important;
}

.video-overlay {
    position: absolute;
    background: #00000069;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
}

.video-notice span {
    display: block;
    width: 80%;
    line-height: 1.3em;
    text-align: center;
}

.video-notice~p {
    display: none;
}

.video-notice p {
    line-height: 1.4em;
    text-align: center;
    position: relative;
    z-index: 20;
    max-width: 300px;
    margin: auto;
}

.video-notice p a {
    color: #fff;
    text-decoration: underline !important;
}

.video-notice p a:hover {
    color: #7cc8f2;
}

/* Media with Single Video */
.rtmedia-activity-container .rtmedia-activity-media-length-1.rtm-activity-video-list li.media-type-video div.rtmedia-item-thumbnail .mejs-video,
.rtmedia-activity-container .rtmedia-activity-media-length-1.rtm-activity-video-list li.media-type-video div.rtmedia-item-thumbnail .mejs-video video {
    min-height: 380px !important;
}

/* Comment Media Upload Hide */
form#rt_media_comment_form .rtmedia-comment-media-upload {
    display: none;
}


.square-loader {
    display: inline-flex;
    gap: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.square {
    width: 8px;
    height: 8px;
    background-color: #fff;
    animation: blink 1.2s infinite ease-in-out both;
}

.square:nth-child(1) {
    animation-delay: 0s;
}

.square:nth-child(2) {
    animation-delay: 0.2s;
}

.square:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {

    0%,
    80%,
    100% {
        opacity: 0.2;
    }

    40% {
        opacity: 1;
    }
}

.video-message-container {
    text-align: center;
}

.square-loader {
    width: 52px;
    margin-bottom: 0.5em;
    margin-left: 0 !important;
}

.video-notice.video-loading.has-thumbnail {
    background-size: cover;
}

/* TESTING */

/* From 1025 to 1280 */

@media (min-width: 1025px) and (max-width: 1672px) {
    div#rtm-mejs-video-container {
        width: 90% !important;
        max-width: 90vw !important;
        margin-left: 0;
    }
}

div#rtmedia-single-media-container {}



div#mep_0 {
    /* margin-left: 8%; */
}