/* Common */
a:active, a:focus, a:hover{
    text-decoration:none !important;
}

.lh-1{line-height: 1rem;}
.lh-2{line-height: 2rem;}
.lh-3{line-height: 3rem;}

.ms-1{margin-left: 5px;}
.ms-2{margin-left: 10px;}
.ms-3{margin-left: 15px;}
.ms-4{margin-left: 20px;}
.ms-5{margin-left: 25px;}

.me-1{margin-right: 5px;}
.me-2{margin-right: 10px;}
.me-3{margin-right: 15px;}
.me-4{margin-right: 20px;}
.me-5{margin-right: 25px;}

.mt-1{margin-top: 5px;}
.mt-2{margin-top: 10px;}
.mt-3{margin-top: 15px;}
.mt-4{margin-top: 20px;}
.mt-5{margin-top: 25px;}

.mb-1{margin-bottom: 5px;}
.mb-2{margin-bottom: 10px;}
.mb-3{margin-bottom: 15px;}
.mb-4{margin-bottom: 20px;}
.mb-5{margin-bottom: 25px;}

.fw-bold{font-weight: bold;}


.w-100{
    width:100%;
}


/* Header */
.header-logo, .footer-logo{
    display: flex;
    align-items: center;
    /* padding: 10px 0; */
}

.header-logo img,.footer-logo img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.header-top-search-wrapper .model-search input.input {
    border-color: rgba(255, 255, 255, .3);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 5px rgba(255, 255, 255, .25);
}

.left-upper-tag{
    background-color: rgba(0,0,0,.6);
    color: white;
    padding: 0px 3px;
    border-radius: 3px;
    font-size: 0.5rem;
    font-weight: bold;
    margin: 1px 3px;
}

.background-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgb(0 0 0 / 50%) 65%, rgba(0,0,0,80%) 100%);
}

.background-overlay:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgb(0 0 0 / 50%) 65%, rgb(53 53 53 / 80%) 100%);
}

@media screen and (max-width:768px){
    .header-top-wrapper .nav-right{
        margin-right: 10px;
    }
}

.member-menu{
    display: none;
}

.member-menu.active{
    display: block;
}

.user-menu-avatar{
    height: 56px;
    width: 56px;
    overflow: hidden;
}

.header-top-container nav .sidebar-trigger{
    display: none;
}

@media screen and (max-width:768px){
    .header-top-container nav .sidebar-trigger{
        display: block;
    }
}

/* .model-filter-link.active{
    color: var(--primary-color) !important;
    font-weight: bold;
} */



/* Footer */
.mobile-navbar-tab i{
    font-size: 20px;
}

/* Video list */
.video-list-item-bagde-new{
    z-index: 99;
}

.video-list-item-bagde-new {
    background: var(--primary-color);
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    color: #000;
    height: 16px;
    margin: 0;
    margin-left: 2px;
    overflow: hidden;
    text-align: center;
    width: auto;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: normal;
    line-height: 14px;
    padding: 2px 5px;
    color: white;
}


.video-list-item-bagde-tag {
    background: #3680f0;
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    color: #000;
    height: 16px;
    margin: 0;
    margin-right: 2px;
    overflow: hidden;
    text-align: center;
    width: auto;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: normal;
    line-height: 14px;
    padding: 2px 5px;
    color: white;
}

.segment-header.text-title-l1.title-ds{
    align-items:center;
}
.segment-header.text-title-l1.title-ds i{
    margin-right:5px;
}

.header-sub .visible-items {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
.header-sub .visible-items::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

@media screen and (min-width:1024px){
    .header-sub .visible-items{
        flex-wrap: wrap;
        margin: 5px 0;
    }
    .header-sub.header-sub-wider-menu-gaps .container .header-sub-item-wrapper{
        margin: 3px 20px 3px 0;
        /* width: 7.5%; */
    }
    .header-sub .container .link{
        border-bottom:none;
    }
}

@media screen and (min-width:1600px){
    .header-sub.header-sub-wider-menu-gaps .container .header-sub-item-wrapper{
        /* width: 5%; */
        width: auto;
    }
}

/* Video Rank */
.video-rank-badge{
    height: 50px;
    width: 50px;
    position: absolute;
    top: -20px;
    right: -10px;
}

.video-rank-label{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f1f1f;
    border-radius: 5px;
    padding: 5px;
    margin-top: 3px;
    margin-bottom: 15px;
    font-weight: bold;
}

.video-rank-1{
    background: #e4ba23;
}

.video-rank-2{
    background: #878787;
}

.video-rank-3{
    background: #a66330;
}


/* Register */
.auth-modal-signup{
    z-index: 999;
}
.sign-up-new__header{
    height: 0;
}
.sign-up-new__close-btn{
    bottom: -35px;
    right: 5px;
    background: #4e4e4e36;
    border-radius: 50%;
    color: white;
    z-index: 99;
}


/* Play */
.view-cam-page{
    width: 100%;
}

.view-cam-page .video{
    width: 75%;
}

@media screen and (min-width: 1024px){
    .view-cam-page .view-cam-container .view-cam-page-main {
        max-width: 100%;
    }
}

@media screen and (max-width:1200px){
    .related-videos-wrapper .video-list-item{
        width: calc(100% - 5px);
        flex-basis: calc(100% - 5px);
        max-width: 100%;
        aspect-ratio: 100 / 67;
    }
}

@media screen and (max-width:768px){
    .view-cam-page .video{
        width: 100%;
    }
}

/* Player */
.plyr__video-wrapper{
    aspect-ratio: 16/9;
}

.tab-content .tab-item{
    display: none;
}

.tab-content .tab-item.show{
    display: block;
}

.plyr__controls{
    z-index: 999 !important;
}

.tab-nav{
    display: flex;
}

.tab-nav-item{
    margin-right: 5px;
    white-space: nowrap;
}

.btn-switch-source{
    background: #61922f;
    color: #f8f8f8;
    padding: 5px;
    border-radius: 3px;
    font-weight: bold;
}

.view-cam-buttons-wrapper{
    white-space: nowrap;
    margin-right: 10px;
}

@media screen and (max-width:768px){
    .view-cam-controls{
        overflow-x:scroll;
    }
    
}

.view-cam-buttons-wrapper a{
    padding: 4px 5px;
    border-radius: 3px;
    color: #f8f8f8;
    font-weight: bold;
}

.btn-share{
    background: #b3005e;
}

.btn-fav{
    background: #940fff;
}

.btn-like{
    background: #3737ff;
}

.btn-switch-source.active, .btn-switch-source:hover{
    background: #8ccd4b;
    color: #f8f8f8;
    padding: 5px;
    border-radius: 3px;
}

/* Video */
.view-cam-info-goal__title{
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: normal;
    line-height: 1.5;
}

.related-videos-wrapper{
    display: flex;
    width: 30%;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: space-between;
    padding: 0 10px;
    height: 100%;
}

@media screen and (max-width:768px){
    .related-videos-wrapper{
        width: 100%;
        margin-top:10px;
        padding: 0;
    }
}

.related-videos-wrapper .video-list-item{
    width: calc(50% - 5px);
    flex-basis: calc(50% - 5px);
    max-width: 50%;
}

@media screen and (max-width:1200px){
    .related-videos-wrapper{
        /* max-height: 800px; */
        overflow-y: scroll;
    }

    .related-videos-wrapper .video-list-item{
        width: calc(100% - 5px);
        flex-basis: calc(100% - 5px);
        max-width: 100%;
    }
}

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

    .related-videos-wrapper{
        overflow: hidden;
    }

    .related-videos-wrapper .video-list-item{
        width: calc(25% - 5px);
        flex-basis: calc(25% - 5px);
        max-width: 25%;
    }
}

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

    .related-videos-wrapper .video-list-item{
        width: calc(33% - 5px);
        flex-basis: calc(33% - 5px);
        max-width: 33%;
    }
}

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

    .related-videos-wrapper .video-list-item{
        width: calc(50% - 5px);
        flex-basis: calc(50% - 5px);
        max-width: 50%;
    }
}

.video-info{
    margin-top:20px;
}

.video-info-item-wrapper{
    margin-bottom: 5px;
}

.video-info-name{
    font-weight: bold;
    color: #ffffff;
}

.video-info-category{
    font-weight: bold;
    color: #ffa4ff;
}

.video-info-category:hover{
    color: #ffc5ff;
}

.video-info-tag{
    font-weight: bold;
    color: #ffe3a1;
}

.video-info-tag:hover{
    color: #fcffcb;
}

.video-info-actor{
    font-weight: bold;
    color: #ffa4b8;
}

.video-info-actor.actor-sex-t:hover{
    color: #fdbecc;
}

.video-info-actor.actor-sex-t{
    color: #ce8dff;
}

.video-info-actor.actor-sex-m{
    color: #a4d7ff;
}

.video-info-actor.actor-sex-u{
    color: #a4d7ff;
}

.video-info-recommended-title, .video-info-recommended-link{
    font-weight: bold;
    color:rgb(71, 255, 255);
}

.video-info-recommended-link:hover{
    color:rgb(153, 255, 255);
}

/* Post */
.post-thumbnail-wrapper img{
    width: 100%;
    height: 100%;
    margin-bottom:5px;
}

.post-content{
    font-size: 18px;
    line-height: 1.5;
    font-weight: bold;
}

.post-content a{
    color: var(--primary-color);
}

.post-content img {
    width: 100%;
    margin: 20px auto;
    display: inline-block;
    border-radius: 5px;
}

.post-title-wrapper h1{
    font-size: 1.8rem;
}

.post-info{
    margin-top:20px;
}

.post-info-item-wrapper{
    margin-bottom: 10px;
}

.post-info-name{
    font-weight: bold;
    color: #ffffff;
}

.post-info-category{
    font-weight: bold;
    color: #ffa4ff;
}

.post-info-category:hover{
    color: #ffc5ff;
}

.post-info-tag{
    font-weight: bold;
    color: #ffe3a1;
}

.post-info-tag:hover{
    color: #fcffcb;
}

.post-info-actor{
    font-weight: bold;
    color: #ffa4b8;
}

.post-info-actor:hover{
    color: #fdbecc;
}

.post-info-recommended-title, .post-info-recommended-link{
    font-weight: bold;
    color:rgb(71, 255, 255);
}

.post-info-recommended-link:hover{
    color:rgb(153, 255, 255);
}

/* Pagination */
.page-item{
    align-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 5px;
    color: rgba(255,255,255,.6);
    display: inline-flex;
    font-weight: 400;
    height: 30px;
    justify-content: center;
    margin: 0 2px 10px;
    min-width: 30px;
    padding: 5px 10px;
}

.page-item.active, .page-item:hover{
    background-color: #1a1d29;
    color:white;
}

/* Search Keywords */
.search-keyword-wrapper{
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 50px;

}

/* Archive */
.archive-filter{
    margin-top: 20px;
}
.archive-filter select{
    border-radius: 5px;
    background: #212223;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 5px 10px;
}

/* Pagination */
.pagination .page-item{
    padding: 0;
}

.pagination .page-link{
    display: block;
    width: 100%;
    padding: 5px 10px;
}

.text-truncate-2{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.3;
    letter-spacing: 0;
}

.text-truncate-3{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.3;
    letter-spacing: 0;
}


/* Advertisements */
.banner_ads{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.banner_ads a{
    width: 50%;
    height: auto;
    max-width: 100%;
    max-height: 90px;
    display: block;
    margin: 0px;
    overflow: hidden;
}

@media screen and (max-width:767px){
    .banner_ads a{
        width: 100%;
    }
}

.banner_ads img{
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.banner-column-1 a{
    width: 100%;
}