.video_popup  {
    display: none;
    padding: 0;
    background: transparent;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.video_popup .popup_back {
    position: absolute;
    height: 100%;
    width: 100%;
    background: #ffffffdb;
}
.video_popup .video-block {
    position: relative;
}
.video_popup .flex-p-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.tags-wrapper .title {

    font-style: normal;
    font-weight: 700;
    font-size: 17.0584px;
    line-height: 23px;
    text-transform: uppercase;
    
    color: #333333;
    cursor: pointer;
}
h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    line-height: 34px;
    
    color: #000000;
    margin-bottom: 35px;

}
.tags-wrapper ul {
    padding-left: 0;
    margin-left: 0;
}
.tags-wrapper ul li {

    font-style: normal;
    font-weight: 400;
    font-size: 18.3427px;
    line-height: 25px;
    
    /* Заголовки */
    cursor: pointer;
    color: #5A5A5A;
    display: block;
}
.tags-wrapper ul li.active {
    text-decoration: underline;
}
.video_item {
    margin-bottom: 45px;
    
    transition: all .5s;
    min-height: 230px;
}
.video-wrapper {
    transition: all 5s;
}
.video_item:hover .video_desc {
    opacity: 0;
}
.video-wrapper img {
    border-radius: 10px;
}
.img-hover {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    min-width: 0px;
    transition: all .5s;
}
.video-wrapper:hover .img-hover {
    display: block;
    top: -20px;
    z-index: 999;
    min-width: 120%;
    left: -20px;
    opacity: 1;
}

.video_desc{
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    
    /* Заголовки */
    
    color: #5A5A5A;
    margin-top: 15px;
}
.popup_back .close {
        position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    cursor: pointer;
}
.video-col:before {
    content: "";
    position: absolute;
    left: -20px;
    top: 0;
    width: 1px;
    background: #333333;
    opacity: 0.4;
    height: 100%;
}





.tab_template {
    display: flex;
    justify-content: center;
    align-items: center;
}
.tab_template .arrow-block.prev {
    margin-right: 5px;
}
.tab_template .arrow-block {
    width: 50px;
    height: 50px;
    background: #e9e9e9;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .3s;
}
.tab_template .arrow-block svg {
    fill: transparent;
    stroke: #000;
    width: 6px;
    height: 12px;
    transition: .3s;
}
.tab_template .tab_list_box {
    width: 100%;
}
.tab_template .tab_list_box {
    position: relative;
    z-index: 6;
}
.tab_template .tab_list_box .tab_main {
    display: block;
    position: relative;
    z-index: 2;
}
.tab_template .tab_list_box .tab_main p {
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 51px;
    cursor: pointer;
    background: #000000;
    border: 2px solid #000000;
        margin-bottom: 0;
    margin-left: -2px;
}
.tab_template .tab_list_box .tab_main p span {
    font-size: 15px;
        font-weight: 600;
    line-height: 1;
    color: #fff;
}
.tab_template .tab_list_box .tab_main p svg {
    fill: #fff;
    width: 6px;
    height: 6px;
    margin-left: 10px;
    transform: rotateZ(90deg);
    transition: .3s;
}
.tab_template .tab_list_box .tab_list {
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    background: #fff;
    border-radius: 0px 0px 5px 5px;
    margin-left: -2px;
    margin-top: -6px;
}
.tab_template .tab_list_box .tab_list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}
.tab_template .tab_list_box .tab_list .tab {
    position: relative;
    z-index: 2;
}
.ctlg1_tab_box .tab_list_box .tab_list .tab p {
    font-size: 15px;
        padding: 0 10px;
}
.tab_template .tab_list_box .tab_list .tab p {
    border: 2px solid #000;
    box-sizing: border-box;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    min-height: 51px;
    font-weight: 600;
    font-size: 15px;
    color: #000;
    cursor: pointer;
    transition: .3s;
    text-align: center;
    line-height: 18px;
    padding: 4px 5px;
    min-width: 150px;
}
.tab_template .tab_list_box .tab_list .tab p {
    background: #fff;
    margin: 0px!important;
    border-radius: 0;
    border: none;
    color: #000;
    font-weight: 500;
}
.tab_template .tab_list_box .tab_list .tab:nth-child(even) p {
    background: #2222221a;
    color: #000;
    border-radius: 3px;
}
.tab_template:after {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    opacity: 0;
    visibility: hidden;
    z-index: 5;
    transition: .3s;
}
.tab_template.a .tab_list_box .tab_list, .tab_template.a:after {
    opacity: 1;
    visibility: visible;
}

.tab_template {
    display: none;
}
.tab_template .arrow-block.next {
    transform: rotate(180deg);
}
@media (max-width: 991px) {
    h1 {
        text-align: center;
    }
    .video_item:hover .video_desc {
        opacity: 1;
    }
    .video-wrapper:hover .img-hover {
        display: none;
        opacity: 0;
    }
    .video-wrapper {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .video_desc {
        text-align: center;
        max-width: 290px;
        margin: auto;
        margin-top: 15px;
            height: 40px;
    }
    .video-col:before {
        display: none;
    }
    .tab_template {
        display: flex;
        margin-bottom: 20px;
    }
    .tags-wrapper {
        display: none;
    }
}
@media (max-width: 820px) {
    .video-block {
        width: 100%;
    }
    .video-block iframe {
        width: 100%;
        height: 400px;
    }
}
@media (max-width: 499px) {
    .video-block iframe {
        width: 100%;
        height: 300px;
    }
}
