﻿.video-js {
    width: 400px !important;
    height: 200px !important;
}
/*
        #wrapper {
            width: 640px;
            height: 360px;
            background: #000;
        }*/

#image_background {
    display: none;
}

.vjs-big-play-centered .vjs-big-play-button {
    margin-top: -1.5em !important;
    margin-left: -4em !important;
}

.video-js .vjs-big-play-button {
    font-size: 10px !important;
    width: 10em !important;
    height: 3em !important;
    background-color: #0062a9 !important;
}

.vjs-big-play-button .vjs-icon-placeholder::before {
    display: none;
}

.close-video {
    font-size: 16px;
    color: #5293c6;
    background-color: transparent;
    top: 19%;
    left: 90%;
    position: absolute;
    z-index: 2;
    border: none;
}
.hls-poster-desktop {
    display: none;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
    background-color: #000000;
    cursor: pointer;
    border: 4px solid #3c5063;
    height: 196px;
    width: 350px;
}

.continueButton-desktop {
    font-size: 10px;
    width: 10em;
    height: 3em;
    top: 40%;
    background-color: #0062a9;
    opacity: 1;
    border-radius: 0.3em;
    cursor: pointer;
    color: white;
    position: relative;
    border: none;
}
video {
    -webkit-box-shadow: none !important;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}
.geo-menu-item__icon-slot {
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #EFF2F7;
    margin: 10px 0 10px 165px;
}

.geo-menu-item__icon {
    width: 30px;
    height: 30px;
    background-size: auto 100%;
    fill: #66788C;
    color: #66788C;
    margin: 8px auto 0 auto;
}

.controls {
    background: linear-gradient(to top, #c4c5c7 0%, #dcdddf 52%, #ebebeb 100%);
}

#close {
    color: #6c757d;
    position: absolute;
    border: solid #6c757d 2px;
    border-radius: 50%;
    top: 35px;
    right: 5px;
    text-align: center;
}

#close:hover {
    cursor: pointer;
}
 
#divi-playpause:disabled {
    background-color: grey !important;
    color: white;
    cursor: not-allowed;
}
#divi-playpause {
    background-color: #0078d3;
    color: #ffffff;
    font-size: 16px;
    border: none;
    padding: 0.5em 1em;
    margin: 5px;
    border-radius: 4px;
}

#divi-playpause:hover {
    cursor: pointer;
}


/*dual live view styles*/
#liveViewPopupForDualCam {
    display: block;
    border-radius: 5px;
}

#dual-close {
    margin: 10px;
    padding: 8px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
    color: white;
    background-color: #ee1e1e;
}

/* Styles for the dual-playpause button */
#dual-playpause {
    margin: 10px;
    padding: 8px 20px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
}

    /* Enabled state */
    #dual-playpause:not(:disabled) {
        background-color: #0062a9; /* Blue when enabled */
        color: white;
        opacity: 1;
    }

        #dual-playpause:not(:disabled):hover {
            background-color: #004d87; /* Darker blue on hover */
        }

    /* Disabled state */
    #dual-playpause:disabled {
        background-color: #666; /* Gray when disabled */
        color: #ccc;
        opacity: 0.7;
        cursor: not-allowed;
    }

.loading-indicator {
    position: absolute;
    top: 13%;
    left: 40%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: white;
    padding: 10px;
    border-radius: 5px;
    display: none; /* Hidden by default */
    z-index: 10; /* Above the video */
    text-align: center;
}

    .loading-indicator.active {
        display: block; /* Show when active */
    }

/* Optional: Add a spinning animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-indicator span {
    margin-top: 5px;
    display: inline-block;
    animation: spin 1s linear infinite; /* Optional spinning effect */
    font-size: 24px;
    width: 70px;
    height: 30px;
}