.ahura_player {
    display: flex;
    position: relative;
    overflow: hidden;
    clear: both;
    width: 100%;
    background-color: #0000000a;
    border-radius: 10px;
}

.ahura_player.no-video {
    background: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    border-radius: 5px;
}

body:not(.elementor-page) video::-webkit-media-controls {
    display: none;
}

.video_controls {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 80px;
    align-items: center;
    display: flex;
    z-index: 99;
    opacity: 0;
    transition: ease .15s;
    transform: translateY(30px);
}

.video_controls.show-video-controls {
    opacity: 1;
    transform: translateY(0);
}

.video_controls_wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    flex-wrap: wrap;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    padding: 10px 15px;
}

.video_controls .video_controls_top {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.video_controls .video_play,
.video_controls .video_pause {
    width: 30px;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.video_controls .video_pause {
    display: none;
}

.video_controls .video_fullscreen {
    right: 1em;
    color: white;
    font-size: 25px;
    cursor: pointer;
    display: flex;
}

.video_controls .video_audio_wrapper {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 25px;
    padding: 0 3px;
}

.video_controls_wrapper svg {
    width: 30px;
    height: 30px;
}

.video_controls_wrapper svg path {
    stroke: #fff;
}

.video_controls_wrapper :is(.v-up, .v-mute) {
    height: 30px;
    cursor: pointer;
    display: inline-block;
}

.video_controls .video_controls_left {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 10px 10px 10px 0;
}

.video_timer {
    margin-left: 20px;
}

.video_timer {
    color: white;
}

.video_time_duration,
.video_time_current {
    font-style: normal;
}

.video-play-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000038;
    cursor: pointer;
}

.video-play-button:not(.is-visible) {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.video-play-button:hover i {
    transform: scale(1.2);
}

.video-play-button i {
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a2a2a;
    background-color: #fff;
    width: 90px;
    height: 90px;
    border-radius: 50px;
    box-shadow: 0 0 0 10px #ffffff1f;
    transition: ease .15s;
}

.ahura_player .video_audio {
    margin: 0 5px;
}

.ahura_player input[type="range"] {
    width: 100%;
    position: relative;
    font-size: 1rem;
    background: #fff0;
    border: none;
    overflow: hidden;
    color: #ffffff;
    direction: ltr;
    --thumb-height: 1.125em;
    --track-height: 0.2em;
    --track-color: rgba(0, 0, 0, 0.6);
    --brightness-hover: 180%;
    --brightness-down: 80%;
    --clip-edges: 0.125em;
}

.ahura_player input[type="range"]:active {
    cursor: grabbing;
}

.ahura_player input[type="range"]:disabled {
    filter: grayscale(1);
    opacity: 0.3;
    cursor: not-allowed;
}

.ahura_player input[type="range"],
.ahura_player input[type="range"]::-webkit-slider-runnable-track,
.ahura_player input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    transition: all ease 100ms;
    height: var(--thumb-height);
}

.ahura_player input[type="range"]::-webkit-slider-runnable-track,
.ahura_player input[type="range"]::-webkit-slider-thumb {
    position: relative;
}

.ahura_player input[type="range"]::-webkit-slider-thumb {
    --thumb-radius: calc((var(--thumb-height) * 0.5) - 1px);
    --clip-top: calc((var(--thumb-height) - var(--track-height)) * 0.5 - 0.5px);
    --clip-bottom: calc(var(--thumb-height) - var(--clip-top));
    --clip-further: calc(100% + 1px);
    --box-fill: calc(-100vmax - var(--thumb-width, var(--thumb-height))) 0 0 100vmax currentColor;
    width: var(--thumb-width, var(--thumb-height));
    background: linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--track-height) + 1px);
    background-color: currentColor;
    box-shadow: var(--box-fill);
    border-radius: var(--thumb-width, var(--thumb-height));
    filter: brightness(100%);
    clip-path: polygon(
            100% -1px,
            var(--clip-edges) -1px,
            0 var(--clip-top),
            -100vmax var(--clip-top),
            -100vmax var(--clip-bottom),
            0 var(--clip-bottom),
            var(--clip-edges) 100%,
            var(--clip-further) var(--clip-further)
    );
}

.ahura_player input[type="range"]:hover::-webkit-slider-thumb {
    filter: brightness(var(--brightness-hover));
    cursor: grab;
}

.ahura_player input[type="range"]:active::-webkit-slider-thumb {
    filter: brightness(var(--brightness-down));
    cursor: grabbing;
}

.ahura_player input[type="range"]::-webkit-slider-runnable-track {
    background: linear-gradient(var(--track-color) 0 0) scroll no-repeat center /
		100% calc(var(--track-height) + 1px);
}

.ahura_player input[type="range"]:disabled::-webkit-slider-thumb {
    cursor: not-allowed;
}

.ahura_player input[type="range"],
.ahura_player input[type="range"]::-moz-range-track,
.ahura_player input[type="range"]::-moz-range-thumb {
    appearance: none;
    transition: all ease 100ms;
    height: var(--thumb-height);
}

.ahura_player input[type="range"]::-moz-range-track,
.ahura_player input[type="range"]::-moz-range-thumb,
.ahura_player input[type="range"]::-moz-range-progress {
    background: #fff0;
}

.ahura_player input[type="range"]::-moz-range-thumb {
    background: currentColor;
    border: 0;
    width: var(--thumb-width, var(--thumb-height));
    border-radius: var(--thumb-width, var(--thumb-height));
    cursor: grab;
}

.ahura_player input[type="range"]:active::-moz-range-thumb {
    cursor: grabbing;
}

.ahura_player input[type="range"]::-moz-range-track {
    width: 100%;
    background: var(--track-color);
}

.ahura_player input[type="range"]::-moz-range-progress {
    appearance: none;
    background: currentColor;
    transition-delay: 30ms;
}

.ahura_player input[type="range"]::-moz-range-track,
.ahura_player input[type="range"]::-moz-range-progress {
    height: calc(var(--track-height) + 1px);
    border-radius: var(--track-height);
}

.ahura_player input[type="range"]::-moz-range-thumb,
.ahura_player input[type="range"]::-moz-range-progress {
    filter: brightness(100%);
}

.ahura_player input[type="range"]:hover::-moz-range-thumb,
.ahura_player input[type="range"]:hover::-moz-range-progress {
    filter: brightness(var(--brightness-hover));
}

.ahura_player input[type="range"]:active::-moz-range-thumb,
.ahura_player input[type="range"]:active::-moz-range-progress {
    filter: brightness(var(--brightness-down));
}

.ahura_player input[type="range"]:disabled::-moz-range-thumb {
    cursor: not-allowed;
}

@media screen and (max-width: 767px) {
    .video_controls {
        height: auto;
    }

    .video_controls_wrapper {
        flex-wrap: nowrap;
        padding: 6px;
    }

    .video_controls .video_controls_top {
        width: auto;
    }

    .ahura_player input[type="range"].video_audio {
        width: 60px;
    }

    .video_timer {
        display: none;
    }

    .video-play-button i {
        font-size: 1.5em;
        width: 70px;
        height: 70px;
    }
}