.flex-bt{
    display: flex;
    justify-content: space-between;
}
.navbar-text:last-child{
    margin-left:20px;
}
.hlinel{}
.hlinel .video-container{

}
.hlinel .vjs-swiper {
    position: static !important;
    height: auto !important;
    width: 100% !important;
    top: auto !important;
}

.slideshow {
    height: calc(100% - 100px);
    object-fit: cover;
}

/*主题的列表显示样多*/
.theme-item{
    border-radius: 5px;
    overflow: visible;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
}
.theme-item .show-img{
    position: relative;
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}
.theme-item .card-price{
    position: absolute;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    top:0px;
    right:0px;
    padding: 5px;
    z-index: 99;
    /*background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);*/
    width: 100%;
}
.theme-item .card-info{
    position: absolute;
    left:0;
    bottom: 0;
    z-index: 99;
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    width:100%;
    padding:5px 0;
    height:37px;
}
.theme-item .card-info .right{
    display: flex;
    padding-right:10px;
    flex-shrink: 0;
    display: none;
}

.theme-item .card-info .card-title{
    color:#0468B3;
    font-weight: bold;
    padding-left:10px;
    display: inline-block;
    margin-bottom: 0px!important;
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 隐藏溢出的内容 */
    text-overflow: ellipsis; /* 显示省略符号来代表被修剪的文本 */
}
/*免费*/
.free-tag{
    display: inline-block;
    padding:2px 3px;
    background: #0468B3;
    color:#fff;
    border-radius: 5px;
}

.theme-item .show-img .card-info .right{
    display: none;
}


.show-video a,
.show-img a{
    display: flex;
    justify-content: center;
    align-items: center;
}
.theme-item-price{
    color:#FFE5AF;
}
.theme-item .card-body{
    padding:5px 10px!important;
    width:100%;
    min-height: 25px;
}
.avatar-small,
.theme-item .card-body .avatar{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: solid 1px #ccc;
}


.theme-item .card-body .likes .liked{
    color:#ff0000;
}
.theme-item .card-body .likes i.liked{
    display: none;
}

.theme-item .card-body .liked i.liked{
    display: initial;
}
.theme-item .card-body .liked i.unliked{
    display: none;
}



.theme-item .show-download{
    position: absolute;
    right:0px;
    bottom:40px;
    width: 100%;
    display: flex;
    padding-right:5px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}
a.buy-theme,
a.open-vmax,
a.get-theme,
a.download-theme{
    font-style: normal;
    background-repeat: no-repeat;
    background-position: 12px;
    display: inline-block;
    transition: .3s;
    background: linear-gradient(90deg, #0468B3, #3892B5);
    border-radius: 19px;
    color:#fff;
    padding:5px 10px;
}
a.buy-theme:hover,
a.open-vmax:hover,
a.get-theme:hover,
a.download-theme:hover{
    transition: .3s;
    background: linear-gradient(180deg, #0468B3, #3892B5);
}

a.bought-theme:hover,
a.bought-theme{
    display: inline-block;
    padding:3px 8px;
    background: #3892B5;
    color:#CC7830;
    border-radius: 10px!important;
}
a.open-vmax{
    padding:5px 30px;
}


/*鼠标移到主题上显示的效果*/

.theme-item .show-img:hover .card-info .right{
    display: flex;
}
.theme-item:hover .show-img{
    overflow: hidden;
}
.theme-item:hover .show-img img{
    transform: scale(1.1);
    transition: .5s;
}
.theme-item:hover .card-body{
    /*display: none;*/
    background: linear-gradient(to right, #ff7e5f, #feb47b, #ffecb7);
    box-shadow: 2px 2px 5px #0468B3;
    border-radius: 0 0 5px 5px;
}



.full-screen{
 height: calc(100% - 200px)!important;
}
.more-bar{
    width:100%;
    background: linear-gradient(90deg, #ffc400, #ff9100);
    height:30px;
    border-radius: 10px;
    color:#fff;
}
.more-bar a{
    color:#fff!important;
    font-weight: bold;
}
.swiper-slide video{
    width:100%;
    height: 100%;
}
.swiper-slide-item{
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide-item img{
    max-height: 100%;
    max-width: 100%;
    width: auto!important;
    height: auto!important;
}
.search-box{
    margin-top:90px;
}
.search-box .form-group{
    width:350px;
}
.search-box .form-group input{width:100%;}

.nav-container{
    padding:40px 0px;
}
.nav-container .row {
    padding:0px 20px;
    display: flex;
    justify-content: space-between;
}
.nav-container .nav-item {
}
.nav-container .nav-item .card{
    width:100%;
    border-radius: 10px;
    background: #E6E6E6;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding:1em;
    aspect-ratio: 222/96;
}
.nav-container .nav-item .left{
    width:70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.nav-container .nav-item .left h3{
    font-size:1.5em;
    font-family: 微软雅黑,"Helvetica Neue", Helvetica, Arial, sans-serif;
}
.nav-container .nav-item .left button{
    color:#444444;
    border-radius: 1em;
    background: #E6E6E6;
    border: 1px solid #494949;
    width:8em;
    margin-top:1em;
    font-size:0.6em;
}
.nav-container .nav-item .right{
    width:30%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right:10px;
}
.nav-container .nav-item .right img{
    width:100%;
    max-width: 100px;
    height: auto;
}

/* Loading toast*/

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.loading-overlay.show {
    display: flex;
}
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.toast {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    z-index: 10000;
    min-width: 200px;
    text-align: center;
    font-size: 14px;
}
.toast.show {
    display: block;
    animation: fadeInOut 2s ease-in-out;
}
@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
/*模态对话框*/
.modal-dialog{
    margin-top:20%;
}
/*光标*/
.cursor-hand{
    cursor: pointer;
}

/* 瀑布流布局样式 */
.masonry-grid {
    margin: 0 auto;
}

.masonry-item {
    width: 33%;
    margin-bottom: 20px;
}

.masonry-item-1920x140,
.masonry-item-1920x462,
.masonry-item-1920x480,
.masonry-item-1920×140,
.masonry-item-1920×462,
.masonry-item-1920×480,
.masonry-item-width{
    width: 100%!important;
    margin-bottom: 20px;
}

.masonry-sizer {
    width: 33%;
}
.hidden{
    display: none!important;
}

@media (max-width: 300px){
    .navbar-toggler{
        padding: .25rem .55rem;
    }
    .search-box .form-group{
        width:100px!important;
    }
    /*二级菜单处理*/
    .sub-menu-ico{
        display: none;
    }
}


@media (max-width: 576px) {
    .navbar-toggler{
        padding: .25rem .55rem;
    }
    .search-box .form-group{
        width:300px!important;
    }
    .masonry-item, .masonry-sizer {
        width: 100%!important;
    }
    .navbar-text{
        display: block;
        padding-left:20px;
        margin-left:0px;
    }
    .navbar-text:last-child{
        margin-left:0px!important;
    }
    .nav-container .nav-item .left button{
        margin-top:1em;
    }
    .nav-container .nav-item .left h3{
        font-size: 2em!important;
    }
    /*二级菜单处理*/
    .sub-menu-ico{
        display: none;
    }
    .sub-menu{
        margin-left:20px;
    }
    .sub-menu a{
        color: rgba(0, 0, 0, .5);
        display: block;
        padding:5px;
    }

}

@media (max-width: 992px) {
    .nav-container .nav-item .left h3{
        font-size: 1em;
    }
    .nav-container .nav-item .left button{
        margin-top:0.5em;
    }
    .masonry-item, .masonry-sizer {
        width: 48%;
    }
    /*二级菜单处理*/
    .sub-menu-ico{
        display: none;
    }
    .sub-menu{
        margin-left:30px;
    }
    .sub-menu a{
        color: rgba(0, 0, 0, .5);
        display: block;
        padding:5px;
    }
}
@media (min-width:993px){
    .nav-container{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .row{
        max-width: 1600px;
    }


    /*处理二级菜单*/
    .navbar-nav .nav-item .active nav-link{
        background: #fff;
    }

    .navbar-nav .nav-item{
        position: relative;
    }

    .navbar-nav .nav-item .sub-menu{
        display: none;
        position: absolute;
    }
    .navbar-nav .nav-item:hover{
        background: #fff;
    }

    .navbar-nav .nav-item:hover .sub-menu{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #fff;
        box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
        border-radius: 0 0 10px 10px;
        min-width: 91px;
    }

    .navbar-nav .nav-item .sub-menu li{
        padding:0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        text-align: center;
    }

    .navbar-nav .nav-item .sub-menu li .sub-menu-ico{
        max-width:50px;
        max-height:50px;
    }
}

@media (min-width:1600px){
    .nav-container{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .row{
        max-width: 1600px;
    }


    /*处理二级菜单*/
    .navbar-nav .nav-item .active nav-link{
        background: #fff;
    }

    .navbar-nav .nav-item{
        position: relative;
    }

    .navbar-nav .nav-item .sub-menu{
        display: none;
        position: absolute;
        min-width: 91px;
    }
    .navbar-nav .nav-item:hover{
        background: #fff;
    }

    .navbar-nav .nav-item:hover .sub-menu{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #fff;
        box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
        border-radius: 0 0 10px 10px;
    }

    .navbar-nav .nav-item .sub-menu li{
        padding:0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        text-align: center;
    }

    .navbar-nav .nav-item .sub-menu li .sub-menu-ico{
        max-width:50px;
        max-height:50px;
    }

    .theme-container {
        max-width: 1600px!important;
    }

    /* 瀑布流布局样式 */
    .masonry-grid {
        margin: 0 auto;
    }

    .masonry-item {
        width: 25%!important;
        margin-bottom: 20px;
    }

    .masonry-item-1920x140,
    .masonry-item-1920x462,
    .masonry-item-1920x480,
    .masonry-item-1920×140,
    .masonry-item-1920×462,
    .masonry-item-1920×480,
    .masonry-item-width{
        width: 50%!important;
        margin-bottom: 20px;
    }

    .masonry-sizer {
        width: 25%!important;
    }
}




@media (min-width:2500px){
    .nav-container{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .row{
        max-width: 2500px;
    }


    /*处理二级菜单*/
    .navbar-nav .nav-item .active nav-link{
        background: #fff;
    }

    .navbar-nav .nav-item{
        position: relative;
    }

    .navbar-nav .nav-item .sub-menu{
        display: none;
        position: absolute;
        min-width: 91px;
    }
    .navbar-nav .nav-item:hover{
        background: #fff;
    }

    .navbar-nav .nav-item:hover .sub-menu{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: #fff;
        box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
        border-radius: 0 0 10px 10px;
    }

    .navbar-nav .nav-item .sub-menu li{
        padding:0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        text-align: center;
    }

    .navbar-nav .nav-item .sub-menu li .sub-menu-ico{
        max-width:50px;
        max-height:50px;
    }

    .theme-container{
        max-width: 2500px!important;
    }

    /* 瀑布流布局样式 */
    .masonry-grid {
        margin: 0 auto;
    }

    .masonry-item {
        width: 12.5%!important;
        margin-bottom: 20px;
    }
    .masonry-item-1920x140,
    .masonry-item-1920x462,
    .masonry-item-1920x480,
    .masonry-item-1920×140,
    .masonry-item-1920×462,
    .masonry-item-1920×480,
    .masonry-item-width{
        width: 25%!important;
        margin-bottom: 20px;
    }

    .masonry-sizer {
        width: 12.5%!important;
    }

    .search-container .masonry-item {
        width: 25%!important;
        margin-bottom: 20px;
    }
    .search-container .masonry-item-1920x140,
    .search-container .masonry-item-1920x462,
    .search-container .masonry-item-1920x480,
    .search-container .masonry-item-1920×140,
    .search-container .masonry-item-1920×462,
    .search-container .masonry-item-1920×480,
    .search-container .masonry-item-width{
        width: 50%!important;
        margin-bottom: 20px;
    }
    .search-container .masonry-sizer{
        width: 25%!important;
    }
}





