﻿
.main-home-link-mobi {
    display: none;
}

.main-home-link {
    display: grid;
    justify-content: center;
    align-content: center;
    height: 83vh;
    max-width: 1150px;
    width: 100%;
    margin: auto;
    padding-top: 40px;
}

.btn-img {
    cursor: pointer;
    max-width: 263px;
    width: 100%;
}

.img-home-link {
    max-width: 550px !important;
    width: auto;
    margin-top: -85px;
}

.btn-img:hover {
    transform: scale(1.1);
}


.btn-img {
    width: 285px;
    z-index: 99;
}

/* Categrory Item */

.CategoryListChildren {
    min-height: 60vh;
    display: flex;
}

.box-category-children {
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
    width: 100%;
}

.item-box-children {
    max-width: 420px;
    margin: 0 auto 34px;
    text-align: center;
    padding: 12px 18px;
    border-radius: 24px;
    flex-basis: 50%;
    box-sizing: border-box;
    /*height: 100%;*/
    background-color: #252B38;
    transition: .3s;
    -moz-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .item-box-children:hover {
        transform: translateY(-12px);
    }

.title-chidden-category .box {
    font-size: 18px;
    text-align: center;
    color: #fff;
    margin-top: 0.2 rem;
    text-align: left;
}

.title-chidden-category.text-avatar .box {
    text-align: left;
    margin: 0;
}

.title-chidden-category {
    width: 100%;
}

    .title-chidden-category.text-avatar {
        width: calc(100% - 76px);
        margin-left: auto;
    }

.image-avatar {
    max-width: 68px;
    width: 68px;
}

.avatar-category {
    width: 100%;
    height: auto;
}

/* End Category Item */

.box-video-yotube {
    width: 100%;
    display: flex;
    gap: 36px;
    margin-top: 24px;
    position: relative;
}

.video-comment {
    width: 70%;
    padding-left: 15px;
}

/* Custom Media */

.wp-media {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: calc(100% - 80px);
    margin: auto;
    margin-top: 40px
}

.box-video-media {
    max-width: 100%;
    margin: 0 auto;
    height: 530px;
    max-height: 530px;
    width: 100%;
}

.swiper-media {
    margin: 0 auto;
    width: 30%;
    overflow: hidden;
    overflow-y: auto;
    max-height: 560px;
}

    .swiper-media::-webkit-scrollbar {
        width: 12px;
    }

swiper-media::-webkit-scrollbar-track {
    background: orange;
}

swiper-media::-webkit-scrollbar-thumb {
    background-color: blue;
    border-radius: 20px;
    border: 3px solid orange;
}

.item-media-y:first-child {
    padding-top: 0px;
}

.item-media-y {
    max-width: max-content;
    max-width: 100%;
    width: 100%;
    display: flex;
    cursor: pointer;
    gap: 16px;
    border-bottom: 1px dashed #8d8d8d;
    padding: 16px 0px;
}

.swiper-slide {
    height: auto;
}

.item-media-y .slide-title {
    position: relative;
}

.item-media-y img,
.slide-title {
    width: 50%;
}

.box-title-cmt {
    max-width: 100%;
}

.item-media-y::before {
    background: unset;
}

@media screen and (max-width: 1440px) {
    .main-home-link {
        height: 90vh;
    }

    .item-media-y .slide-title {
        -webkit-line-clamp: 3;
    }

    .img-home-link {
        width: 450px;
        margin-top: -130px;
    }

    .btn-img {
        width: 200px;
    }

    .right-top-bottom {
        margin-left: 120px;
    }
}

@media screen and (max-width: 1024px) {
    .main-home-link {
        height: 60vh;
    }

    .box-video-yotube {
        margin-top: 0;
    }

    .btn-img {
        width: 200px;
    }

    .left-center {
        padding-left: 10px;
    }

    .left-top-bottom {
        margin-right: 120px;
    }

    .right-center {
        padding-right: 10px;
    }

    .rigjt-top-bottom {
        padding-right: 10px;
    }

    #sidebar {
        position: fixed;
        top: 0;
        left: -380px;
        width: 380px;
        height: 100%;
        background-color: #333;
        opacity: 0;
        transition: left 1.2s ease, opacity 0.5s ease;
        padding: 0px;
    }

        #sidebar.show {
            left: 0;
            opacity: 1;
            z-index: 100;
            background: #252b38;
        }

    .main-sidebar {
        border-left: 0;
        border-radius: 0;
        padding-top: 15px;
    }

    .nav-link:before, .nav-link:after {
        + right: 6px;
    }

    header {
        padding: 11px 0;
        display: block;
        background: transparent;
    }

    .header-top {
        max-height: 75px;
        height: 75px;
        align-items: center;
        position: relative
    }

    .back-home {
        align-items: stretch;
        margin-left: 40px;
    }

    .cau-doi img {
        max-width: 200px;
        width: 100%;
    }

    main {
        padding-top: 20px;
        display: inline-flex;
        flex-direction: column;
        height: calc(100% - 100px);
        width: 100%;
    }

    .logo-header-top.show {
        display: block;
        display: flex;
        margin: auto;
        height: 100%;
    }

    .logo-header-top a {
        display: flex;
        justify-content: center;
    }

    .logo-header-top img {
        height: 100%;
        width: auto;
        max-width: 100%;
    }

    .back-home-link {
        width: 90px;
        font-size: 18px;
    }

    .code-qr {
        margin-left: auto;
    }

    .image-qr {
        max-height: 60px;
        height: 90px;
    }

    #rightSideWrapper {
        width: 100%;
        transition: margin-left 0.2s ease;
        padding-right: 0;
    }

    /* Media */
    .title {
        font-size: 30px;
    }

    .wp-media {
        width: calc(100% - 20px);
        gap: 15px;
        margin-top: 20px;
    }

    .box-video-media {
        height: 380px;
        max-height: 380px;
    }

    .swiper-media {
        margin: 0 auto;
        width: 30%;
        overflow: hidden;
        overflow-y: auto;
        max-height: 560px;
    }

    .title-video-meida {
        font-size: 18px;
    }

    .item-media-y .slide-title {
        font-size: 13px;
    }
}

@media screen and (min-width: 769px) {
    .wp-content-right {
        display: flex;
        justify-items: content;
    }

    wp-content-right .layout-left {
        width: 50%;
    }

    .wp-content-right .layout-left .item.item-image-list {
        width: calc(45% - 46px);
        margin-bottom: 0px;
    }

    .wp-content-right .layout-left .item.default-size {
        width: 88%;
    }

    .wp-content-right .layout-right {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .dp-pc {
        display: none;
    }

    .dp-mb {
        display: block;
    }

    .logo-header-top img {
        height: 70px;
        margin-top: 5px;
    }

    #sidebar {
        left: -100%;
        width: 100%;
        height: 100%;
    }

    .main-home-link {
        display: none;
    }

    .main-home-link-mobi {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        gap: 30px;
        margin-top: 10px;
        width: 500px;
    }

    .img-home-link {
        width: 470px;
        margin-top: 0px;
    }

    .gradient-card {
        margin-left: 130px;
        margin-right: 130px;
    }

    .link-menu-sub {
        padding: 0;
    }

    .item.item-image-list[data-ipad="3"] {
        width: calc(50% - 40px);
    }

    .item-link-nav .item-link {
        font-size: 18px;
    }

    #rightSideWrapper {
        padding-right: 0;
    }

    .back-home {
        display: none;
    }

    .cau-doi img {
        max-width: 100px;
        width: 100%;
    }

    .swiper-css {
        height: 100%;
    }

    .searchInput input {
        height: 36px;
        font-size: 18px;
    }

    .searchInput .icon {
        right: 8px;
        top: 4px;
    }

    .icon-svg-search svg {
        max-width: 22px;
    }

    .resultBox li a {
        font-size: 16px;
    }

    .partner-okevip {
        display: none;
    }

    .home .box-form-search {
        margin-top: 30px;
    }

    .frame-step {
        min-height: 30px;
        min-height: 30px;
        margin-top: 12px;
    }

    .main-content {
        overflow: unset;
    }

    .mySwiper.swiper {
        overflow: hidden;
    }

    .box-image:hover img {
        transform: scale(1.05)
    }

    .silde-media {
        width: 100%;
        padding: 15px;
        overflow-y: scroll;
        display: block;
    }

    .item-media-y {
        width: 100%;
        max-width: 100%;
        height: max-content;
        max-height: 350px;
    }

    .box-video-yotube {
        display: block;
        background: #aab2b94d;
    }

    .video-comment {
        width: 100%;
    }

    .box-video-media {
        margin: 0 auto;
    }

    .box-title-cmt {
        max-width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 8px 15px;
    }

    .title-video-meida {
        font-size: 20px;
        font-family: system-ui;
        font-weight: 600;
        text-transform: capitalize;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .item-media-y::before {
        content: unset;
    }

    .swiper-media {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .item-media-y img {
        border-radius: 8px;
    }

    .swiper-pagination-bullets {
        display: block;
    }

    .swiper-pagination-bullet {
        background-color: #ffffff !important;
        opacity: 1 !important;
    }

        .swiper-pagination-bullet.swiper-pagination-bullet-active {
            background-color: #ffa800 !important;
            opacity: 1 !important;
        }

    .box-image-list {
        gap: 20px;
    }

    .item.item-image-list {
        width: calc(50% - 12px);
        margin-bottom: 0;
    }

        .item.item-image-list[data-pc="1"],
        .item.item-image-list[data-pc="2"],
        .item.item-image-list[data-pc="3"] {
            width: calc(100%);
        }

    .image-suarez {
        transform: translateY(30%);
    }

    .item-box-children {
        flex-basis: 100%;
        padding: 12px;
    }

        .item-box-children:first-child {
            margin-top: 30px;
        }

    .title-chidden-category.text-avatar {
        width: calc(100% - 62px);
    }

    .image-avatar {
        max-width: 52px;
        width: 52px;
    }

    .title-chidden-category .box {
        font-size: 18px;
    }

    /* Media */
    .wp-media {
        flex-direction: column;
        gap: 10px;
    }

    .video-comment {
        width: 100%;
        padding-left: 0px;
    }

    .box-video-media {
        height: 54vw;
        max-height: 54vw;
    }

    .silde-media {
        padding: 5px;
    }

    .swiper-media {
        width: 100%;
    }

    .item-media-y.active_video {
        display: flex !important;
    }

    .box-image img {
        max-height: 60vh;
        object-fit: contain;
        max-width: 100% !important;
        height: auto;
    }

    .no-slider .swiper-wrapper {
        gap: 0px;
    }
}

@media screen and (max-width: 667px) {
    .no-slider .swiper-wrapper {
        justify-content: unset;
    }

    .no-slider .item {
        max-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .slider-anh {
        height: calc(100vh - 20px);
    }

    .logo-header-top img {
        height: 70px;
        margin-top: 0px;
    }

    .header-top {
        max-height: 70px;
    }

    .img-home-link {
        max-width: 370px !important;
        padding: 0px 10px;
        width: 100%;
    }

    .gradient-card {
        margin-left: 10px;
        margin-right: 10px;
    }

    .main-home-link {
        display: none;
    }

    .main-home-link-mobi {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        gap: 30px;
        margin-top: 10px;
    }

    .btn-mobi {
        width: 45%;
    }

    #sidebar {
        left: -100%;
        width: 100%;
        height: 100%;
    }

    mySwiper .swiper-slide {
        width: 100%;
        height: 100%;
    }

    .swiper-css {
        height: 100%;
        padding-top: 0px;
    }

        .swiper-css .swiper-button-prev {
            display: none !important;
        }

        .swiper-css .swiper-button-next {
            display: none !important;
        }


    .code-qr {
        display: none;
    }

    .nav-sidebar {
        margin-top: 10px;
    }

    .back-mobi {
        position: fixed;
        bottom: 10px;
        left: 10px;
        z-index: 999;
        display: block;
    }

    .title {
        font-size: 20px;
    }

    .list-item-buoc {
        margin-top: 20px;
        justify-content: space-between;
        padding: 0;
    }

    .text-step {
        font-size: 14px;
        text-align: center;
    }


    .list-item-buoc .slick-prev {
        left: 10px;
    }

    .list-item-buoc .slick-next {
        right: 10px;
    }

        .list-item-buoc .slick-prev:before,
        .list-item-buoc .slick-next:before {
            font-size: 28px;
        }

    .modal-comment .modal-dialog {
        right: 0;
        margin: auto;
        bottom: auto;
    }

    .title-video-meida {
        font-size: 18px;
    }

    .text-comment-title {
        display: none;
    }

    .content-comment {
        max-height: 350px;
    }
}

@media screen and (max-width: 374px) {
    .text-header {
        max-width: 354px;
        font-size: 8px;
    }

    #sidebar {
        left: -100%;
        width: 100%;
        height: 100%;
    }

    .main-home-link {
        display: none;
    }

    .main-home-link-mobi {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
        gap: 20px;
    }
}
