@charset "utf-8";

@font-face {
    font-family: "SquareRegular";
    src: url(../../fonts/SquareRegular.86fb99a.ttf) format("truetype");
    font-display: swap;
}

* {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    margin: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    font-family: "SquareRegular", serif;
}

html,
body {
    width: 100%;
    margin: 0;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    overflow-x: hidden;
    color: rgb(51, 51, 51);
}

a {
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.ad-container {
    margin: 16px auto;
}

.ad-container[data-ad-index="0"] {
    margin-top: 0;
}

.gptslot {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    min-height: 250px;
    max-width: 300px;
    margin: 0 auto;
}

.ad-label {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: start;
    -webkit-align-items: start;
       -moz-box-align: start;
            align-items: start;
    position: relative;
    padding: 5px 0px 2px 0px;
    font-size: 14px;
    color: rgb(73, 73, 73);
}

.fav {
    width: 160px;
    height: 60px;
}

.fav .rootbg {
    display: inline-block;
    width: 160px;
    height: 100%;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.bgi {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../../images/loading.e29b847.gif);
}

header {
    position: relative;
    width: 100%;
    color: #fff;
    height: 60px;
    border-bottom: 1px solid #f9eeea;
}

.header-box {
    width: 98%;
    margin: 0 auto;
    padding: 0 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
}

.header-left,
.header-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    gap: 10px;
}

.header-right {
    gap: 30px;
}

.header-left .left-item {
    padding: 5px 20px;
    border: 1px solid #fff;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

.aside-menu {
    width: 40px;
    height: 35px;
    background-image: url(../../images/menu_1.10c606e.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

#MoreShow,
.search-button-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    gap: 5px;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.about-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    position: relative;
}

.about-list {
    position: absolute;
    top: 43px !important;
    right: 0 !important;
    height: auto;
    width: auto;
    background-color: #353535;
    z-index: 9999;
    display: none;
    /* display: flex; */
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    padding: 5px;
    border-radius: 10px;
    padding: 20px 40px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

.about-list .play-item {
    margin: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    height: 30px;
    line-height: 30px;
    padding: 3px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    border: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid #000;
    position: relative;
}

.search-box {
    position: fixed;
    top: 30%;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    display: none;
    width: 60%;
    height: 40px;
    /* display: flex; */
    display: none;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(199, 236, 252, 1);
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    margin: 0;
    border: 1px solid #c7ecfc;
    z-index: 999;
}

.search-btn-box {
    margin-left: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    height: 100%;
    padding: 0 10px;
    background-color: transparent;
}

.more-icon,
.search-btn,
.search-button {
    width: 30px;
    aspect-ratio: 1;
    background-image: url(../../images/search.f5926f9.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.more-icon {
    width: 20px;
    background-image: url(../../images/more.b9c5f2f.png);
}

.search-button {
    width: 20px;
    background-image: url(../../images/Cerca.1bfb06c.png);
}

.search-button-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.myInput {
    color: #000;
    height: 30px;
    outline: 0;
    font-size: 1rem;
    border: 0;
    display: inline-block;
    margin: 0 1em;
    text-decoration: none;
    width: 80%;
    background-color: transparent;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.945);
    z-index: 998;
    display: none;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100vh;
    background: #fff;
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
    z-index: 999;
    overflow: scroll;
}

.sidebar-container {
    padding: 20px;
}

.close-btn-box {
    position: absolute;
    top: 5px;
    right: 35px;
}

.sidebar-container .list-canvas {
    width: 95%;
    margin: 10px auto;
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
}

.list-canvas .menu-tag,
.list-canvas .item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    height: 45px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.514);
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px 0px;
}

.list-canvas .menu-tag p,
.list-canvas .item .icon-name {
    padding-left: 20px;
}

.tab-container {
    background-color: #eaeaea;
    position: relative;
    margin-top: 10px;
}

.tab-container::before {
    content: "";
    position: absolute;
    left: 0;
    top: -10px;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.tab-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin-bottom: 10px;
}

.tab-title {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    padding: 8px;
    font-weight: 600;
    color: #707070;
    cursor: pointer;
    background-color: #cbcbcb;
}

.tab-title.active {
    color: #525f7f;
    background-color: #eaeaea;
}

.tab-content {
    position: relative;
}

.tab-list {
    display: none;
    padding: 10px;
}

.tab-list .video-card:last-child {
    border: none;
}

.tab-list.active {
    display: block;
}

.tab-list .video-card--type1 .video-card__title,
.tab-list .video-card--type1 .video-card__duration {
    display: none;
}

.video-list-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 100%;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.video-list-wrapper .video-list {
    width: 100%;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

.switch-btn {
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    z-index: 10;
    background-color: transparent;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.prev-btn {
    background-image: url(../../images/left.ddb135a.png);
}

.next-btn {
    background-image: url(../../images/right.00ac485.png);
}

.bottom {
    text-align: center;
    font-family: Arial, sans-serif;
    padding: 10px 0;
    margin-top: 60px;
}

.bottom .fav {
    height: 60px;
    margin: 0 auto;
}

.bottom-container {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
       -moz-box-align: stretch;
            align-items: stretch;
    gap: 10px;
}

.footer-links {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    border-top: 1px solid #c9b0a3;
    border-bottom: 1px solid #c9b0a3;
    color: #99867f;
    padding: 0 10px;
    font-size: 14px;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    margin-top: 20px;
}

.footer-links a,
.copyright {
    color: #a18d86;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.nav-item {
    padding: 15px 10px;
    text-align: center;
    border-right: 1px solid #c9b0a3;
}

.nav-item:last-child {
    border-right: none;
}

.nav-empty {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
}

.footer-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    padding: 20px 10px;
    color: #99867f;
    font-size: 13px;
    line-height: 1.5;
}

.welcome-text {
    max-width: 70%;
    margin: 0;
}

.main {
    width: 100%;
    min-height: -webkit-calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    margin: 0 auto;
    overflow: hidden;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    border-radius: 15px;
    margin-top: 10px;
}

.video-container-box {
    padding: 10px 0;
    margin: 10px 0;
}

.box-shadow {
    padding: 10px;
    box-shadow: 0 2px 10px rgba(99, 84, 84, 0.4);
    border-radius: 15px;
    margin: 10px 0 30px;
}

.video-card {
    position: relative;
    overflow: hidden;
    color: #fff;
}

.video-card__icon-box {
    position: relative;
    width: 100%;
}

.video-card__thumbnail {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.video-card__title {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    max-height: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-card__view-more {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 5px 10px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 12px;
}

.video-card__meta {
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    gap: 12px;
    padding: 0;
    font-size: 10px;
}

.video-card__author {
    font-size: 10px;
    margin-top: 3px;
    white-space: nowrap;
}

.video-card__category {
    font-size: 12px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

.video-card--type1 .video-card__icon-box {
    height: 100%;
}

.video-card--type1 .video-card__title {
    position: absolute;
    left: 5px;
    bottom: 15px;
    width: -webkit-calc(100% - 130px);
    width: calc(100% - 130px);
    padding: 2px;
    font-weight: 400;
    color: #fff;
}

.video-card--type2 .video-card__meta {
    position: absolute;
    top: 5px;
    left: 5px;
}

.video-card--type2 .video-card__view-more {
    border: none;
}

.video-card--type3 {
    padding: 15px;
    border: 1px solid #9b7e70;
}

.video-card--type3 .video-card__icon-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-card--type3 .video-card__title {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
}

.video-card--type3 .video-card__category {
    position: absolute;
    bottom: 15px;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    padding: 5px 15px;
    border: 1px solid #fff;
    color: #fff;
}

.video-card--type4 .video-card__icon-box {
    min-height: 288px;
    aspect-ratio: 0.8;
    border: 1px solid #fff;
}

.video-card--type4 .video-card__category {
    position: absolute;
    top: 5px;
    left: 5px;
}

.video-card--type4 .video-card__meta {
    position: absolute;
    bottom: 40px;
    left: 5px;
    right: 5px;
}

.video-card--type4 .video-card__view-more {
    font-size: 10px;
}

.video-card--type3 .video-card__title,
.video-card--type5 .video-card__title {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-rows: auto;
    max-height: 30px;
    white-space: wrap;
}

.video-card--type5 .video-card__icon-box {
    aspect-ratio: 0.8;
    min-height:250px;
}

.video-card--type5 {
    color: #92776d;
    padding: 15px;
    border-top: 1px solid #9b7e70;
}

.section-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    padding: 5px 20px;
    color: #fff;
}

.section-title-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
       -moz-box-align: end;
            align-items: flex-end;
    padding: 15px 20px;
    gap: 5px;
}

.section-subtitle {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
}

.section-desc {
    font-size: 0.85rem;
    color: #5a4a42;
    line-height: 1.4;
    max-width: 60%;
    margin: 0;

}

.more-btn {
    padding: 4px 20px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
}

.fresh .section-title-wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
            flex-direction: row;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
       -moz-box-align: baseline;
            align-items: baseline;
    gap: 10px;
    color: #fff;
}

.fresh .section-header {
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
       -moz-box-align: baseline;
            align-items: baseline;
}

@media screen and (max-width:900px) {
    body {
        -webkit-overflow-scrolling: touch;
        max-width: 100vw;
    }

    .header-box {
        padding: 0 10px;
    }

    .all-text,
    #MoreShow {
        display: none;
    }

    .title {
        font-size: 16px;
    }

    .more-btn p {
        font-size: 12px;
    }

    .title-text {
        font-size: 18px;
    }

    .video-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width:480px) {

    header,
    .header-box,
    .fav {
        height: 40px;
    }

    .video-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .aside,
    .search-box {
        width: 90%;
    }

    .bottom .fav {
        height: 60px;
    }

    .sidebar {
        width: 90%;
    }

    .content-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }

    .footer-links {
        -webkit-flex-wrap: wrap;
                flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
           -moz-box-pack: center;
                justify-content: center;
    }

    .bottom {
        font-size: 0.9rem;
    }

    .bottom .footer-header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
        margin: 0;
        -webkit-box-align: center;
        -webkit-align-items: center;
           -moz-box-align: center;
                align-items: center;
    }

    .video-card,
    .video-card .video-card__thumbnail {
        aspect-ratio: auto;
        height: 100%;
    }

    .video-card--type1 .video-card__icon-box {
        aspect-ratio: auto;
    }

    .video-card--type3 .video-card__title,
    .video-card--type5 .video-card__title {
        height: 30px;
    }

    .header-right {
        padding: 0;
    }

    .text-columns {
        width: 95%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
        gap: 10px;
    }

    .footer-content,
    .footer-links {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }

    .nav-item {
        border-right: none;
    }

    .section-title {
        font-size: 2rem;
        white-space: nowrap;
    }

    .section-subtitle {
        height: 42px;
    }

    .section-header,
    .section-title-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }

    .fresh .section-title-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }
}
