﻿html {
    font-size: 62.5%;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 1.6rem;
    box-sizing: border-box;
    /*background-image: url('/assets/images/bg-pc.jpg');
    background-repeat: repeat-y;
    background-size: cover;*/ /* căng toàn màn hình, vẫn giữ tỉ lệ */
    /*background-position: center;*/
    /*position: relative;*/
    height: 100%;
    min-height: 100vh;
    /*background: linear-gradient(to right, rgb(208 240 253 / 80%), rgb(168 225 248 / 20%));*/
    background: linear-gradient(to right, rgb(135 206 235 / 20%), rgb(255 255 255), rgb(135 206 235 / 20%));
}

button, input, [tabindex] {
    outline: none;
    border: none;
}

a[href] {
    color: #000;
    text-decoration: none;
}

header {
    width: 100%;
    display: flex;
    background-color: #26A9E0;
    justify-content: center;
}

.header-mb {
    display: none;
    width: 100%;
}

.wrapper {
    width: 1170px;
    display: flex;
}

.header-pc .wrapper {
    justify-content: flex-start;
    align-items: center;
    padding: 23px 0;
}
.header-mb .wrapper {
    justify-content: flex-start;
    align-items: center;
}
.image-logo {
    margin-top: 23px;
    width:100%;
    height:auto;
}
.back-nav {
    display: none;
    cursor:pointer
}

.wrapper .menu {
    display: flex;
    gap: 18px;
    margin-left: 152px;
}

.menu a {
    display: flex;
    align-items: center; /* Căn giữa icon và chữ */
    white-space: nowrap; /* Giữ nội dung trên một dòng */
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: inset 0px 2px 6px 0px rgba(255, 255, 255, 0.61);
    text-transform: capitalize;
}

.menu-title {
    padding: 10px 20px;
}

.menu-icon {
    margin-left: 20px; /* Giãn cách icon với chữ */
    flex-shrink: 0; /* Không co lại icon */
    color: #FFFFFF
}

.container {
    display: flex;
    justify-content: center;
    max-width: 1170px !important;
}

    .container .wrapper {
        justify-content: flex-start;
        align-items: center;
        padding: 23px 0;
        flex-direction: column;
        max-width: 1170px !important;
    }

/*Search*/

.search-container {
    display: flex;
    position: relative;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #26A9E0;
    padding: 8px;
    max-width: 800px;
    min-width: 200px;
    width: 100%;
    margin: 0 auto;
    /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);*/
}

.clear-input {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    background: #8080801a;
    border: none;
    font-size: 20px;
    color: #bf9393;
    border-radius: 50%;
}
.input-search {
    flex: 1;
    width: 100%;
    padding: 10px 40px 10px 10px;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 8px;
}
    .input-search:focus {
        border-color: #007bff;
        outline: none;
    }

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    cursor: pointer;
}

.menu-icon {
    width: 24px;
    height: 24px;
}


/* Style cho resultBox */
.resultBox {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #6192a7b8;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    display: none; /* Ẩn mặc định */
    z-index: 10;
}


    .resultBox.active {
        display: block;
    }

    .resultBox > div {
        padding: 10px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

        .resultBox > div:hover {
            background-color: #f1f1f1;
        }
/*endsearch*/

.container .list-item {
    margin-top: 34px;
    display: grid; /* Hỗ trợ trình duyệt cũ của Microsoft */
    flex-wrap: wrap;
    gap: 38px; /* khoảng cách giữa các item */
    align-items: center;
    justify-content: space-between;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Cải thiện khả năng tương thích */
}

    .container .list-item.grid-col-custom {
        margin-top: 34px;
        display: grid; /* Hỗ trợ trình duyệt cũ của Microsoft */
        flex-wrap: wrap;
        gap: 15px; /* khoảng cách giữa các item */
        align-items: center;
        justify-content: space-between;
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* Cải thiện khả năng tương thích */
    }

.list-item .item-container {
    border: 1px solid;
    border-image-source: linear-gradient(180deg, #00ABE5 3.34%, #FFFFFF 54.22%, #00ABE5 94.04%);
    border-image-slice: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 11px 40px;
    color: #00ABE5;
    cursor: pointer;
}

.list-item.grid-col-custom .item-container {
    min-width: 380px;
    border: 1px solid;
    border-image-source: linear-gradient(180deg, #00ABE5 3.34%, #FFFFFF 54.22%, #00ABE5 94.04%);
    border-image-slice: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 13px;
    color: #00ABE5;
    cursor: pointer;
}

.item-container .item-image {
    width: 63px;
    height: 63px
}

.item-container .item-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-content .item-title {
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
}

.item-content .item-description {
    font-size: 16px;
    font-weight: 400;
    color: #838383;
}

/*.item-container .item-symbol {
    color: red;
}*/

/*breadcrumb*/
.nav-region {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.breadcrumb {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    color: #00ABE5;
    text-transform: capitalize;
    font-size: 14px;
}

    .breadcrumb a {
        color: #00ABE5;
        font-weight: 500;
    }

.breadcrumb-item active {
}

.breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, ">");
}
@media screen and (max-width:1024px) {
    .header-pc {
        display: none;
    }

    .header-mb {
        display: flex;
        height: 213px;
        padding: 10px 10px;
    }
        .header-mb .image-logo img {
            /* width:100%;
            height:auto;*/
            width: auto;
            height: auto;
            max-width: none;
        }

    .header-mb .wrapper {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

        .header-mb .header-main {
            position: relative;
            display: flex;
            justify-content: flex-start;
            align-items: center;
        }

        .header-mb .image-logo {
            width: 216px;
            object-fit: contain;
        }

        .header-mb .menu-toggle {
            position: absolute;
            cursor: pointer;
            top: 40px;
            left: 20px;
        }

    .menu-toggle .toggle {
        position: relative;
    }

    .menu-toggle .toggle-span {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        flex-direction: column;
        gap: 5px;
    }

    .menu-toggle span {
        width: 25px;
        height: 3px;
        /*background: #ffffff;*/
        border-radius: 10px;
        transition: 0.5s;
        width: 30px;
    }

    .back-nav {
        display: block;
        position: fixed;
        top: 16px;
        right: 16px;
        width: 30px;
        height: 30px;
        z-index: 100;
    }

        .back-nav img {
            width: 100%;
            height: auto;
        }

    .search-container {
        display: none;
    }

        .search-container.mb {
            display: flex;
            max-width: 380px;
        }

    /*sidebar*/
    .sidebar-mb {
        position: fixed;
        top: 0;
        left: 0;
        width: 290px;
        height: 100vh;
        background: #26A9E0;
        color: white;
        padding: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }


        .sidebar-mb.show {
            left: 0px; /* Trượt vào khi hiển thị */
            transform: translateX(0)
        }

    .toggle-span {
        cursor: pointer;
    }

        .toggle-span span {
            display: block;
            width: 25px;
            height: 3px;
            background: #fff;
            transition: 0.3s;
        }

    /* Nút đóng (X) */
    .sidebar-mb .close-btn {
        position: absolute;
        top: 70px;
        right: 20px;
        font-size: 20px;
        font-weight:600;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        border-radius: 50%;
        background: #fff;
        width: 26px;
        height: 26px;
        color: #26A9E0;
        text-align: center;
        margin: auto;
        display: flex;
        align-content: center;
        justify-content: center;
    }
    .sidebar-mb .image-logo-sidebar{
        margin-top:78px;
        
    }
    .sidebar-mb .menu-sidebar{
        margin-top:40px;
        display:flex;
        flex-direction:column;
        width:100%;
        gap:20px;
    }
    .menu-sidebar a {
        color: #fff;
        padding-bottom:12px;
        border-bottom: 1px solid #71CCF3
    }
    .menu-sidebar .menu-icon {
        color: red;
    }
    /*hide sidebar*/
    .container {
        width: 100%;
    }
        .container .wrapper {
            align-items: center;
            padding: 23px 0;
            flex-wrap: wrap;
            width: 100%;
        }

    .container .list-item {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
        .container .list-item.grid-col-custom {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
        .list-item.grid-col-custom .item-container{
            min-width:320px;
        }
    .list-item .item-container{
        justify-content:space-between;
        padding:15px 20px;
        gap:8px;
    }
     .item-container .item-content {
        flex: 1;
        }
    }

/*end layout*/

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

.video-comment {
    width: 70%;
}

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

.box-title-cmt {
    margin: 0 auto;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.box-comment-video {
    cursor: pointer;
    color: #004D6D;
    font-family: Arial;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.icon-comment svg {
    max-width: 32px;
}

    .icon-comment svg path {
        fill: #004D6D
    }


.title-video-meida {
    color: #004D6D;
    font-size: 21px;
    font-weight: 700;
}

.swiper-media {
    width: 100%;
    align-items: center;
}

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

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

    .item-media-y:last-child {
        border-bottom: none;
        padding-bottom: 16px;
    }

    .item-media-y .thumbnail_url {
        width: 50%;
        /*border-radius: 12px;*/
    }

    .item-media-y .slide-title {
        height: 100%;
        color: #000;
        font-size: 18px;
        max-width: 50%;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .item-media-y img {
        width: 100%;
        /*border-radius: 12px;*/
    }


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

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

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


.video-thumbnails {
    display: grid;
    gap: 16px;
}

/*comment*/
.modal-comment .modal-content {
    width: 100%;
    background: unset;
}

.modal-comment .modal-dialog {
    position: absolute;
    right: 5%;
    bottom: 15%;
    width: 100%;
}

.modal-comment .modal-content {
    border: none;
}
.block {
    max-width: 360px;
    width: 100%;
    padding: 8px;
    background: #d9d9d9;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 2px 1px rgba(0, 0, 0, 0.06), 0px 1px 1px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    display: grid;
    align-content: space-between;
}

.block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

    .block-header .title {
        display: flex;
        align-items: flex-start;
    }

        .block-header .title .tag {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 4px;
            background: #f7f7f7;
            color: #1c1c1c;
            text-align: center;
            padding: 0 4px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            font-weight: 500;
            font-size: 10px;
            line-height: 16px;
            border: 1px solid #e8e8e8;
            border-radius: 96px;
        }

.comment {
    display: grid;
    gap: 8px;
}

.content-comment {
    max-height: 500px;
    overflow-y: auto;
    padding: 0 16px;
    margin-bottom: 16px;
}

    .content-comment::-webkit-scrollbar {
        width: 3px;
    }

.footer-comment {
    border-radius: 10px;
    background: #FFF;
    padding: 0 16px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.content-comment::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}


.toast-error {
    z-index: 99999;
}

.box-image-list {
    display: flex;
    justify-content: center;
    margin: auto;
    gap: 40px 60px;
    flex-wrap: wrap;
}

.item.item-image-list {
    /*width: 350px;*/
    margin-bottom: 24px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:10px;
}
    .item.item-image-list[data-pc="4"] {
        width: calc(24% - 40px);
    }
    .item.item-image-list[data-pc="3"] {
        width: calc(33% - 40px);
    }
    .item.item-image-list[data-pc="2"] {
        width: calc(50% - 46px);
    }
    .item.item-image-list[data-pc="1"] {
        width: calc(100% - 40px);
    }

.input-user {
    padding: 8px 0;
    border-bottom: 3px solid #989898;
}

    .input-user input::placeholder {
        color: #2f2f2f;
    }

    .input-user input {
        color: #101010;
        font-family: Inter;
        font-size: 18px;
        font-style: italic;
        font-weight: 600;
        padding: 4px 0;
        border: none;
    }

        .input-user input:focus-visible {
            outline: 0;
        }

.input-text-cmt {
    padding-top: 12px;
    position: relative;
}

.send-comment {
    position: absolute;
    right: -10px;
    bottom: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    background-color: #30aaef;
    display: flex;
    justify-content: center;
    align-items: center;
}
.send-comment:disabled {
    background-color: #dddddd;
    color: #555555;
    cursor: not-allowed;
}

.icon-send {
    margin: auto;
}

.text-nd textarea {
    border: none;
    outline: 0;
    color: #414141;
    font-family: Inter;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
}

.main-content {
    /*overflow: hidden;*/
    text-align:justify;
}
@media screen and (max-width:1024px){
    body {
        background-position: center;
    }
    .main-content {
        max-width: 360px;
        padding: 10px 10px;
        max-height: calc(100vh - 150px);
        height: 100%;
        /* overflow: scroll;
      */
    }
    .box-video-yotube{
        flex-direction:column;
        width:100%;
    }
    .video-comment{
        width:100%;
    }
    .video-list {
        width: 100%;
    }
    .video-thumbnails{
        display:flex;
        flex-direction:column;
    }
   /* .silde-media {
        overflow-x: auto;
        height: auto;
        width: 100%;
        max-height:unset;
        overflow-y:unset;
    }
    */
    .item-media-y {
        width: 100%;
        height: unset;
        max-width: unset;
    }

        .item-media-y .thumbnail_url {
            width: 150px;
            height: auto;
        }

        .item-media-y .slide-title {
            width: 100px;
        }
        .item-media-y img {
            width: 150px;
        }

    .title-video-meida {
        font-size: 20px;
        font-weight: 600;
    }
    .box-image-list {
        flex-wrap: wrap;
    }
    .item.item-image-list {
        padding:10px 30px;
    }
        .item.item-image-list[data-ipad="4"] {
            width: calc(24% - 40px);
        }

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

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

        .item.item-image-list[data-ipad="1"] {
            width: calc(100% - 40px);
        }
}
/*youtube*/
