

/* Start:/local/js/idea/video_extension/style.css?17854435603762*/
.video-preloader{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 60px;
    height: 60px;
    opacity: 0.9;
    z-index: 0;
}
.video-card {
    background: black;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.video-card:hover .video-controls{
    opacity: 1;
    transform: translateY(0);
}
.video-wrapper {
    position: relative;
    height: 100%;
    /*min-width: 465px;*/
}
.video-card:fullscreen *{
    background-color: black;
}
.video-wrapper video {
    max-height: 100vh;
    display: block;
    cursor: pointer;
    background: black;
    object-fit: contain;
    margin: 0 auto;
}

.video-controls {
    background: transparent;
    padding: 10px 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s, opacity 0.5s;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
    border-radius: 3px;
}

.progress-filled {
    height: 100%;
    background: #ffffff;
    width: 0;
    border-radius: 3px;
    position: relative;
}

.progress-filled::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-bar:hover .progress-filled::after {
    opacity: 1;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-controls-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.video-controls-btn.fullscreen-btn{
    width: 22px;
    height: 22px;
}
.video-controls-btn svg{
    width: 100%;
    height: 100%;
}
.video-controls-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.time {
    color: white;
    font-size: 13px;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 70px;
    -webkit-appearance: none;
    background: white;
    appearance: none;
    height: 5px;
    border-radius: 9999px;
}
.volume-slider::-webkit-slider-runnable-track{
    background: #ffffff;
    height: 5px;
}

.volume-slider::-webkit-slider-thumb{
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: #FFF;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -5px;
}

.speed-select {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

.speed-select:hover {
    background: rgba(255,255,255,0.3);
}
.speed-select option{
    color: grey;
}

@media (max-width: 768px) {
    .buttons {
        gap: 5px;
    }
    .btn {
        font-size: 14px;
    }
    .volume-slider {
        width: 50px;
    }
}
@media screen and (max-width: 690px){
    .video-controls{
        transform: none;
        opacity: 1;
        padding: 5px 5px;
    }
    .speed-select, .video-controls-btn.fullscreen-btn{
        display: none;
    }
    .time {
        font-size: 10px;
    }
    .volume-slider{
        width: auto;
        max-width: 110px;
    }
}

/* End */


/* Start:/local/templates/marygold_2026/components/bitrix/news.detail/video/style.css?1780009305611*/
.d-video__Viewer{
    max-width: 440px;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    padding: 58.33% 0;
    margin-left: auto;
}
.d-video__Viewer__Inner{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.d-video__Viewer .video-wrapper{
    min-width: auto;
}
.d-video__Viewer .video-card{
    height: 100%;
}
@media (max-width: 690px) {
    .d-video__Viewer{
        margin: 0 auto;
    }
    .d-video__Viewer video{
        max-width: 100%;
    }
}
@media (max-width: 420px) {
    .d-video__Viewer{
        min-height: 600px;
    }
}
/* End */


/* Start:/local/templates/marygold_2026/components/bitrix/news.list/video/style.css?1780005359812*/
.v-item {
    transition: all 0.3s ease;
}

.v-item[style*="display: none"] {
    display: none !important;
}
.results-count {
    margin-bottom: 15px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 14px;
    color: #666;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

mark {
    background-color: yellow;
    color: black;
    padding: 0 2px;
    border-radius: 3px;
}
.search-box-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    max-width: 1015px;
    border-bottom: 1px solid #e0e0e0;
}
.search-box {
    width: 100%;
    padding: 12px 20px 12px 0;
    border: none;
    font-size: 16px;
    transition: all 0.3s ease;
}
.search-box:focus {
    outline: none;
}
/* End */
/* /local/js/idea/video_extension/style.css?17854435603762 */
/* /local/templates/marygold_2026/components/bitrix/news.detail/video/style.css?1780009305611 */
/* /local/templates/marygold_2026/components/bitrix/news.list/video/style.css?1780005359812 */
