﻿@media(max-width:1023px) {
    .no-display-mobile-tablet {
        display: none !important;
    }

    .detail-news-bottom .my-left,
    .detail-news-bottom .my-right {
        float: unset;
        width: 100%;
        padding: 0;
    }

    .detail-news-title {
        font-size: 16px;
    }

    .p-news-date__type2 svg {
        width: 13px;
        height: auto;
        margin-right: 5px;
    }

    .swiperBanner .swiper-button-prev {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .swiperBanner .swiper-button-next {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .header-bottom .header-bottom-cart {
        display: none;
    }

    .detail-news-wrap .p-details table {
        width: 100% !important;
    }

        .detail-news-wrap .p-details table span {
            font-size: 12px !important;
        }

    .mobile {
        display: block !important;
    }

    .right-sub {
        display: none;
    }

    .p-pro-content {
        bottom: -70px;
    }

    .header-top .list {
        display: none;
    }

    .header-bottom-car {
        display: none;
    }

    .descript-tops {
        padding: 0;
    }

    .flickity-button {
        display: none;
    }

    .p-slogan-list {
        flex-wrap: wrap;
    }

    .botcardp {
        margin-top: 20px;
    }

    section img {
        height: auto !important;
    }

    .footer-list-tag {
        position: relative;
        bottom: 0;
    }

    .mobile {
        display: flex !important;
    }

    .p-side-left,
    .p-side-right {
        width: 100%;
        float: unset;
    }

    .p-side-right {
        margin-top: 25px;
    }

    .side-note .p-side-wrap {
        max-height: 368px;
    }

    .total-time-intro-home {
        display: block;
    }

    .content-intro-home .scrolling-text {
        font-size: 14px;
    }

    .marquee-container {
        height: 37px;
        width: 100%;
    }

    .datetime-display {
        text-align: left;
        font-size: 13.5px;
        padding-left: 21px;
        display: flex;
        align-items: center;
    }

        .datetime-display:before {
            width: 100%;
            height: 1px;
            top: 0;
            left: 0;
            margin: unset;
            background: #d5d5d5;
        }

        .datetime-display:after {
            content: "\f017";
            position: absolute;
            font-family: FontAwesome;
            color: #fff;
            left: -4px;
            font-size: 13px;
            transform: translateY(0px);
            margin-right: 10px;
            background: #f44336;
            padding: 2px;
            border-radius: 50%;
        }
}

@media(min-width:740px) and (max-width:1023px) {
    .no-display-tablet {
        display: none !important;
    }

    .menu-rs .container .list li {
        list-style: none;
        height: 49px;
    }

    .w-list-banner-child-doctor a {
        width: 100% !important;
        height: auto !important;
    }

    .w-list-banner-child-doctor {
        margin-top: 11px;
    }

    .p-side-right .container,
    .p-side-right {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .my-news-bottom {
        margin-top: 10px;
    }

    .p-side-right .p-side-item {
        width: 100%;
        /* margin: 15px 0 !important; */
    }

    a.side-img.p-side-item.side-hoidap {
        display: none;
    }

    .decor-svg-note-l {
        display: none;
    }

    .p-side-right .p-side-item a.side-img {
        width: 100%;
    }

    .p-news-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .p-news-content h3 {
        font-size: 18px;
    }

    .p-news-img {
        height: 220px;
    }

    .p-product-item:first-child {
        grid-column: 1 / span 3 !important;
    }

    .p-title {
        font-size: 32px;
    }

    .p-slogan-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p-slogan-item .item-top {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .p-slogan-container {
        padding: 0;
        margin-bottom: 80px;
    }

    .p-slogan-item {
        width: 100%;
    }

    .p-slogan-content {
        padding: 0;
        text-align: center;
        margin-top: 10px;
    }

    .grid.wide {
        padding: 0 20px;
    }

    .home-design-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p-product-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media(max-width:739px) {
    ul.p-news-list__type2.rs {
        list-style: none;
        padding: 0;
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 11px;
        row-gap: 11px;
    }

    section.p-details.detail-about-chilld table {
        overflow-x: auto;
        /* Cho phép cuộn ngang */
        -webkit-overflow-scrolling: touch;
        /* Đảm bảo cuộn mượt mà trên iOS */
    }

    .table-responsive {
        width: 100% !important;
        overflow-x: auto;
        /* Cho phép cuộn ngang */
        -webkit-overflow-scrolling: touch;
        /* Cuộn mượt trên iOS */
    }

    section.p-details.detail-about-chilld thead th {
        font-size: 13px !important;
    }

    section.p-details.detail-about-chilld tbody td {
        font-size: 13px !important;
    }

    section.p-details.detail-about-chilld tbody tr td * {
        font-size: 13px !important;
    }

    .same-cate-title {
        margin-bottom: 25px;
        font-size: 19px;
    }

    .no-display-mobile {
        display: none !important;
    }

    .popup-asking .btn-close {
        top: 5px;
        right: 5px;
    }

    .popup-asking-container {
        padding: 30px 18px;
        width: 94%;
    }

    .p-banner {
        height: 250px;
    }

    .rs-close {
        right: 15px;
        top: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .p-news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 15px;
        row-gap: 15px;
    }

    .p-product-img {
        height: 150px;
    }

    .grid.wide {
        padding: 0 10px;
    }

    .side-pic.p-side-item.list-img-homee {
        margin-top: 10px;
    }

    .img-title-link-web {
        margin: 4px 5px;
    }

    .my-news-breadcum .container {
        padding: 5px 0;
    }

    .my-news-breadcum .slug a {
        margin: 3px 0;
    }

    .my-news-breadcum .slug span {
        margin: 3px 0;
    }

    .my-news-breadcum {
        height: auto;
    }

    .title-tops {
        font-size: 30px;
    }

    .descript-tops {
        font-size: 14px;
    }

    .menu-rs .container {
        width: 70%;
    }

    .menu-rs .container {
        font-size: 16px;
    }

    .p-product-content {
        padding: 0;
    }

    .p-product-title span {
        font-size: 13px;
    }

    .p-product-options .count {
        font-size: 11px;
    }

    .p-product-link .addcart {
        font-size: 11px;
    }

    .p-product-price span {
        font-size: 12px;
    }

    .p-product-content h3 {
        font-size: 16px;
    }

    .p-product-content .size {
        font-size: 13px;
    }

    .p-slogan-list {
        padding: 0 15px;
    }

    .p-product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 14px;
        row-gap: 14px;
    }

    .p-title {
        font-size: 24px;
        text-align: center;
        line-height: 36px;
    }

    .p-title-2 {
        font-size: 18.94px;
        text-align: center;
    }

    .p-descript {
        padding: 0;
        font-size: 16px;
    }

    .p-slogan-container {
        padding: 10px 0;
        margin-bottom: 50px;
    }

    .p-slogan-item {
        width: 100%;
    }

        .p-slogan-item .item-top {
            margin: 15px 0;
            flex-direction: column;
        }

    .button-cart .cont {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .button-cart .btnReturn {
        font-size: 11px;
    }

    .button-cart .btnContinue {
        font-size: 11px;
    }

    .agency-drop-container {
        width: 95%;
    }

    .p-banner-content span {
        font-size: 15px;
        line-height: 22px;
        margin: 0;
    }

    .loading-img {
        width: 200px;
        height: 200px;
    }

    .p-slogan-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }

    .p-slogan-content {
        padding: 0;
    }

        .p-slogan-content h3 {
            font-size: 14px;
            margin-top: 10px;
            text-align: center;
        }

        .p-slogan-content span {
            font-size: 12px;
            text-align: center;
            margin-top: 5px;
        }

    .p-product-item:first-child {
        grid-column: 1 / span 2 !important;
    }

    .p-news-img {
        height: 150px;
    }

    .p-news-content h3 {
        font-size: 16px;
        margin-top: 12px;
        line-height: 21px;
    }

    .p-news-descript {
        font-size: 14px;
    }

    .p-news-option span {
        font-size: 12px;
    }

    .header-bottom-text {
        margin: 0;
        transform: translateX(0);
    }

    .header-bottom-btn {
        display: none;
    }

    .p-product-title,
    .p-product-options,
    .p-product-price {
        padding: 0;
    }

    .header-bottom-container {
        position: relative;
    }

    .header-bottom-logo canvas {
        width: 60px !important;
        height: 60px !important;
    }

    .header-bottom-logo img,
    .header-bottom-logo canvas {
        width: 60px !important;
        height: 60px !important;
    }

    .header-bottom {
        height: 65px;
        /* background: #e9edf5; */
        border-top: 2px solid #FF1C15;
    }

    .header-bottom-text h3 {
        margin: 0;
        font-size: 13px;
        align-items: unset;
        padding-left: 118px;
    }

    .header-bottom-text strong {
        font-size: 24px;
        line-height: 100%;
        margin-top: 5px;
    }

    .header-bottom.fixed .header-bottom-logo {
        transform: translateY(26px) scale(0.8) !important;
    }

    .my-news-rs .btn {
        margin: 0;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .p-side-left .wrap:last-child {
        display: none;
    }

    .home-top-container .p-side-left .wrap:last-child {
        display: grid;
    }

    .p-video-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 12px;
    }

    .p-video-item h3 {
        font-size: 15px;
        line-height: 22px;
        padding: 0 15px;
    }

    .p-video-item {
        height: 150px;
    }

    .p-news-link__type2 {
        box-shadow: 0 2px 4px rgba(0, 0, 0, .11);
        border: 1px solid #f2f2f2;
        background-color: #fff;
        flex-direction: column;
        border-radius: 10px;
        overflow: hidden;
    }

    .p-news-img__type2 {
        width: 100%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        height: 150px;
    }

    .p-news-content__type2 {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .p-news-link__type2 .title {
        font-size: 16px;
        line-height: 24px;
        height: 48px;
        margin-bottom: 8px;
    }

    .p-news-link__type2 .descript {
        font-size: 14px;
        line-height: 24px;
        height: 72px;
    }

    .p-news-item__type2 {
        border: none;
        padding: 0 0;
    }

    .detail-news-bottom .my-right {
        padding: 0;
    }

    .my-right.side-detail-news.my-side-news .side-news-item:after {
        content: "";
        position: absolute;
        background: url(/Uploads/images/EditSetting/Logo.png) no-repeat;
        right: 0px;
        top: 0px;
        width: 46px;
        height: 46px;
        background-size: cover;
    }

    .my-side-news .side-news-item .title {
        font-size: 16px;
    }

    .side-news-link h3 {
        font-size: 14px;
    }

    .popup-file-container {
        padding: 36px 15px;
        width: 85%;
        padding-top: 20px;
    }

    .popup-file .btn-close {
        top: -33px;
        width: 25px;
        background-color: #fff;
        height: 25px;
    }

    .p-asking-item .top h3 {
        font-size: 18px;
    }

    .p-asking-item .top span {
        font-size: 15px;
    }

    .popup-form-container {
        max-width: 95%;
        padding: 35px 10px 10px 12px;
    }

    .rs-bottom-text strong {
        font-size: 20px;
        padding: 0;
    }

    .menu-rs .container .list .list-item {
        font-size: 15px;
    }

    .p-news-type_1_big .img {
        height: 225px;
    }

    li.drop-item.level3 > span.drop-item-link {
        background: var(--default-color-2);
        font-size: 14px !important;
        padding-left: 25px !important;
    }

        li.drop-item.level3 > span.drop-item-link:hover {
            background: var(--default-color-2) !important;
        }

    .p-news-type_1_big .content .title {
        font-size: 18px;
        line-height: 27px;
        height: unset;
    }

    .p-van-ban .heading-item:nth-child(2) {
        display: none;
    }

    .p-van-ban .van-ban-item span:nth-child(2) {
        display: none;
    }

    .p-van-ban .heading-item {
        font-size: 12px;
        height: 34px;
    }

        .p-van-ban .heading-item:nth-child(1),
        .p-van-ban .van-ban-item span:nth-child(1) {
            width: 95px;
        }

        .p-van-ban .heading-item:nth-child(4),
        .p-van-ban .van-ban-item span:nth-child(4) {
            width: 100px;
        }

    .p-van-ban .van-ban-item span {
        font-size: 13px;
        padding: 0 10px !important;
        line-height: 21px;
    }

    .detail-news-wrap .descript {
        font-size: 14px;
    }
}

@media(max-width:350px) {
    .datetime-display {
        font-size: 12px;
    }
}