/*
    video_by_category.php
*/

.magpop_content_wrapper {
    display: none;
}

#magpop_loading.magpop_content_inner.loading_ico {
    max-width: none;
    padding: 300px 0;
}


.magpop_content_inner {
    width: 100%;
    max-width: fit-content;
    margin: auto;
    position: relative;
    text-align: center;
}

.magpop_content_inner.danh_sach_ng_choi {
    width: 60%;
    max-width: none;
    margin: auto;
    position: relative;
    background: #FFEFCF;
    padding: 90px 20px 40px;
    border: 8px solid #ED1A3B;
    border-radius: 40px;
    min-height: 400px;
}

.dsnc_header_img {
    position: absolute;
    content: "";
    width: 100%;
    height: 150px;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: url("../images/dsnc_header_img.png") center top no-repeat;
    background-size: auto 150px;
}

h2.dsnc_title {
    color: #9D5A18;
    text-align: center;
    font-size: 24px;
    line-height: 28px;
}

.danh_sach_trung_giai_inner {
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-height: 300px;
    overflow-y: scroll;
}

.ng_choi {
    color: #ED1A3B;
    font-weight: bold;
    width: calc(33% - 20px);
    margin: 0 10px 10px;
    text-align: center;
}

.mfp-close-btn-in #dsnc .mfp-close {
    background: url(../images/popup_close_ico.png) 0 0 no-repeat;
    background-size: contain;
    width: 35px;
    height: 35px;
    transform: rotate(0);
    opacity: 1;
    color: transparent !important;
    right: auto;
    left: 30px;
    top: 30px;
}


.mfp-close-btn-in div#magpop_loading .mfp-close {
    left: auto;
}



.mfp-close-btn-in .mfp-close {
    color: #fff;
}

.magpop_txt {
    position: absolute;
    width: 40%;
    height: 100%;
    top: 0;
    right: 0;
    background: #fff;
    padding: 20px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 16px;
    line-height: 24px;
    color: #2D17FF;
}


.danh_sach_swiper_wrapper {
    position: relative;
    margin-bottom: 45px;
}

.danh_sach_swiper {
    margin: 0 50px 0 150px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.danh_sach_swiper_wrapper .swiper-button-prev,
.danh_sach_swiper_wrapper .swiper-container-rtl .swiper-button-next {
    left: 110px;
}




/*
    Swiper
*/
.images_swiper_wrapper {
    position: relative;
}

.show_nav .is-button-prev,
.show_nav .is-button-next
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 37px;
    background: url(../images/arrow_blue_ico.png) 0 0 no-repeat;
    background-size: 22px auto;
}

.show_nav .is-button-prev {
    left: -40px;
}

.show_nav .is-button-next {
    right: -40px;
    background-position: left bottom;
    transform: rotate(180deg) translateY(50%);
}