﻿/* For modern browsers */
.cf:before,
.cf:after {
    content:"";
    display:table;
}

.cf:after {
    clear:both;
}

/* For IE 6/7 (trigger hasLayout) */
.cf {
    zoom:1;
}
.refresh{
	cursor: pointer;
}
.videos_list{
	margin-bottom: 7px;
}

.videos_list ul li{
	margin: 0px;
}

.videos-home-thumbnail{
	background: #DDD none repeat scroll 0% 0%;
}
.videos-home-info h3, .videos_list h4, .videos_list h3, .videos-text h3, .videos-thumbnail h3, .related_new_videos .thumbnail h4 , .related_videos .thumbnail h4 {
    line-height: 1.5;
    height: 40px;
	overflow: hidden
}
.videoplayer img
{
	margin: auto
}
img.imghome{
	margin: 0 auto!important;
}
.mgr_10
{
margin-right: 10px
}
.PlaylistCont #show-list {
	max-height:350px;
	overflow-y:auto;
}
.mg0_10_10 {
    margin: 0px 10px 10px;
}
.pd0{
	padding: 0px
}
.pd10_0 {
    padding: 10px 0px;
}
.form_80{
	width:80%
}.form_70{
	width:70%
}.form_60{
	width:60%
}.form_50{
	width:50%
}.form_40{
	width:40%
}.form_30{
	width:30%
}
.bodytext_collapse{
	clear: both;
	width: 100%;
	float: left;
    text-align: center;
    padding: 7px;
}
.bodytext_shorten .morelink {
    color: #FFF;
    background-color: #428BCA;
    border-color: #357EBD;
    display: inline-block;
    margin-bottom: 0px;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.42857;
    border-radius: 4px;
    -moz-user-select: none;
}
.spacer::before{
	content: "•";
margin: 0px 5px;
}
ul.uploadinfo{
	padding: 0;
	font-style: italic;
	font-size: 10pt
}
.page-header{
	margin: 0
}

.uploader_info h4{
	padding:5px
}

.hitstotal{
	font-family: Roboto,arial,sans-serif;
	font-size: 13px;
	font-weight: bold;
}
.group {
    display: block;
    clear: both;
}
.media-func {
    padding-bottom: 20px;
}
.button-style-1 {
    display: inline-block;
    *display: inline;
    *zoom: 1;
	padding: 10px;
    color: #808080;
    border: 1px solid #e5e5e5;
    background: #f7f7f7;
    margin-right: 5px;
    line-height: 0;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
	height:33px
}
.zicon-arrow-left-1, .zicon-arrow-right-1, .zicon-hand-like, .zicon-hand-unlike, .zicon-music-note, .zicon-arrow, .zicon-add, .zicon-favorite, .zicon-remove, .zicon-remove-1, .zicon-remove-2, .zicon-edit-1, .zicon-playlist-1, .zicon-play-1 {
    width: 25px;
    height: 25px;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    cursor: pointer;
}
.button-style-1 span {
    position: relative;
    font-size: 12px;
}
.add-playlist-region .playlist-region li {
    border-bottom: 1px solid #e6e6e6;
    position: relative;
    padding: 12px 0 12px 40px;
}

.add-playlist-region .playlist-region li:last-child{
	border-bottom: 1px solid transparent;
}

.add-playlist-region .playlist-region li .fix-button {
    display: block;
    width: 66px;
    height: 28px;
    line-height: 14px;
    border: 1px solid #ddd;
    background-color: #f1f1f1;
    text-align: center;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -14px;
    margin-right: 15px;
    color: #428bca;
}

.add-playlist-region h4 {
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
    position: relative;
}

.close {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 0;
    background-position: -25px -1139px;
    cursor: pointer;
    top: -3px;
    opacity: 0.5;
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    z-index: 9;
}
a.video-tags{
	color: #000000!important
}
.report{
	padding: 20px
}
.fb-comments, .fb-comments iframe[style], .fb-like-box, .fb-like-box iframe[style] {width: 100% !important;}
.fb-comments span, .fb-comments iframe span[style], .fb-like-box span, .fb-like-box iframe span[style] {width: 100% !important;}

/* ============ Trang Thư viện Video - modern redesign ============ */

.videos-cat-block.panel.panel-default {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(20, 30, 40, 0.08);
    margin-bottom: 28px;
    background: #fff;
}

.videos-cat-block > .panel-heading {
    background: linear-gradient(135deg, #c0392b 0%, #922b21 100%);
    border: none;
    padding: 14px 20px;
}

.videos-cat-block .panel-heading .sub-list-icon {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.videos-cat-block .panel-heading li h4 {
    margin: 0;
}

.videos-cat-block .panel-heading > .sub-list-icon > li:first-child h4 a {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.videos-cat-block .panel-heading li h4 a.dimgray {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    font-size: 12.5px;
    text-transform: none;
    padding: 5px 12px;
    margin-left: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-block;
    transition: background-color .2s ease, color .2s ease;
}

.videos-cat-block .panel-heading li h4 a.dimgray:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff !important;
}

.videos-cat-block .panel-heading .pull-right h4 a {
    color: rgba(255, 255, 255, 0.85);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease;
}

.videos-cat-block .panel-heading .pull-right h4 a:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.videos-cat-block > .panel-body {
    padding: 22px;
}

.videos-cat-block .videos_list {
    margin-bottom: 24px;
}

.videos-cat-block .videos-home-thumbnail {
    position: relative;
    background: #0f171e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(20, 30, 40, 0.14);
}

.videos-cat-block .videos-home-thumbnail img.imghome {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.videos-cat-block .videos-home-thumbnail:hover img.imghome {
    transform: scale(1.07);
}

.videos-cat-block .videos-home-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 30, 0);
    transition: background-color .25s ease;
    z-index: 1;
    pointer-events: none;
}

.videos-cat-block .videos-home-thumbnail:hover::before {
    background: rgba(15, 23, 30, 0.28);
}

.videos-cat-block .videos-home-thumbnail::after {
    content: '\f04b';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    line-height: 54px;
    padding-left: 4px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.94);
    color: #fff;
    font-size: 18px;
    transform: translate(-50%, -50%) scale(.6);
    opacity: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 2;
    pointer-events: none;
}

.videos-cat-block .videos-home-thumbnail:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.videos-cat-block .videos-home-info {
    padding-top: 12px;
}

.videos-cat-block .videos-home-info h3 {
    height: auto;
    margin: 0 0 8px;
    font-size: 14.5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.videos-cat-block .videos-home-info h3 a {
    color: #1a1a1a;
    font-weight: 700;
    transition: color .2s ease;
}

.videos-cat-block .videos-home-info h3 a:hover {
    color: #27ae60;
}

.videos-cat-block .videos-home-info .text-muted {
    color: #999;
}

.videos-cat-block .videos-home-info .text-muted ul.list-unstyled {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 8px;
    margin: 0;
    padding: 0;
}

.videos-cat-block .videos-home-info .text-muted ul.list-unstyled li {
    list-style: none;
    float: none;
    font-size: 12px;
}

.videos-cat-block .videos-home-info .text-muted ul.list-unstyled li a {
    color: #777;
}

.videos-cat-block .videos-home-info .text-muted ul.list-unstyled li a:hover {
    color: #c0392b;
}

.videos-cat-block .videos-home-info .text-muted .spacer {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ccc;
    padding: 0;
}

@media (max-width: 767px) {
    .videos-cat-block > .panel-body {
        padding: 16px;
    }

    .videos-cat-block .panel-heading .pull-right {
        display: none;
    }
}

/* ============ Trang danh mục Video (list view) - modern redesign ============ */

.videos-cat-intro {
    background: #f7f8f6;
    border: none;
    border-left: 3px solid #27ae60;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    color: #333;
}

.videos-cat-intro h1 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
}

.videos-cat-intro p {
    margin: 0;
    color: #555;
}

.videos-list-item.panel.panel-default {
    border: none;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(20, 30, 40, 0.07);
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.videos-list-item.panel.panel-default:hover {
    box-shadow: 0 10px 26px rgba(20, 30, 40, 0.12);
    transform: translateY(-2px);
}

.videos-list-item > .panel-body {
    padding: 16px;
}

.videos-list-item .videos-thumbnail {
    position: relative;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #0f171e;
    box-shadow: 0 4px 12px rgba(20, 30, 40, 0.12);
}

.videos-list-item .videos-thumbnail img.imghome {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0;
    transition: transform .4s ease;
}

.videos-list-item .videos-thumbnail:hover img.imghome {
    transform: scale(1.06);
}

.videos-list-item .videos-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 30, 0);
    transition: background-color .25s ease;
    z-index: 1;
    pointer-events: none;
}

.videos-list-item .videos-thumbnail:hover::before {
    background: rgba(15, 23, 30, 0.28);
}

.videos-list-item .videos-thumbnail::after {
    content: '\f04b';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding-left: 3px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.94);
    color: #fff;
    font-size: 14px;
    transform: translate(-50%, -50%) scale(.6);
    opacity: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 2;
    pointer-events: none;
}

.videos-list-item .videos-thumbnail:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.videos-list-item .videos-text h3 {
    margin: 0 0 8px;
    font-size: 15.5px;
    line-height: 1.4;
}

.videos-list-item .videos-text h3 a {
    color: #1a1a1a;
    font-weight: 700;
    transition: color .2s ease;
}

.videos-list-item .videos-text h3 a:hover {
    color: #27ae60;
}

.videos-list-item .videos-text .text-muted {
    color: #999;
}

.videos-list-item .videos-text .text-muted ul.list-unstyled {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 8px;
    margin: 0;
    padding: 0;
}

.videos-list-item .videos-text .text-muted ul.list-unstyled li {
    list-style: none;
    float: none;
    font-size: 12.5px;
}

.videos-list-item .videos-text .text-muted ul.list-unstyled li a {
    color: #777;
}

.videos-list-item .videos-text .text-muted ul.list-unstyled li a:hover {
    color: #c0392b;
}

.videos-list-item .videos-text .text-muted .spacer {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #ccc;
    padding: 0;
}

.videos-list-item .videos-text .btn-xs {
    border-radius: 6px;
}

@media (max-width: 767px) {
    .videos-list-item .videos-thumbnail {
        width: 100%;
        max-width: 100%;
        float: none;
        margin-bottom: 12px;
    }

    .videos-list-item .videos-text {
        width: 100%;
        max-width: 100%;
        float: none;
    }
}

/* ============ Trang chi tiết Video - modern redesign ============ */

.detail_video .title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 4px 0 16px;
}

.detail_video .videoplayer {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(20, 30, 40, 0.16);
    background: #000;
}

.detail_video .uploader {
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #eef0f1;
    border-bottom: 1px solid #eef0f1;
}

.detail_video .uploader img.img-thumbnail {
    border-radius: 50%;
    border: none;
    padding: 0;
    box-shadow: 0 2px 8px rgba(20, 30, 40, 0.15);
}

.detail_video .uploader p {
    margin: 0;
}

.detail_video .uploader p strong {
    color: #1a1a1a;
    font-size: 14.5px;
}

.detail_video .uploader .hitstotal {
    color: #999;
    font-weight: 600;
    font-size: 13px;
}

.detail_video .media-func {
    padding-top: 14px;
}

.detail_video .button-style-1 {
    height: auto;
    padding: 9px 16px;
    background: #f4f5f6;
    border: none;
    border-radius: 999px;
    color: #444;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}

.detail_video .button-style-1:hover {
    background: #27ae60;
    color: #fff;
}

.detail_video .button-style-1 .fa {
    color: inherit;
}

.bodytext_shorten.panel.panel-default,
#report_videos .panel.panel-default {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(20, 30, 40, 0.07);
}

.bodytext_shorten.panel.panel-default {
    margin-top: 20px;
}

.bodytext_shorten .bodytext {
    color: #333;
    line-height: 1.7;
}

.video-rating-block,
.video-tags-block,
.video-comment-block {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(20, 30, 40, 0.07);
    margin-bottom: 18px;
}

.video-tags.btn.btn-default {
    background: #f4f5f6;
    border: none;
    border-radius: 999px;
    color: #444;
    font-weight: 600;
    font-size: 12.5px;
    padding: 5px 12px;
    margin: 2px 3px 2px 0;
    transition: background-color .2s ease, color .2s ease;
}

.video-tags.btn.btn-default:hover {
    background: #c0392b;
    color: #fff !important;
}

/* Gộp "Video mới hơn/cũ hơn" thành 1 khối "Video khác" duy nhất */
.videos-others-block .other-news .other-heading ~ .other-heading {
    display: none;
}

.videos-others-block .other-news p.h3.other-heading {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c0392b;
    display: inline-block;
    margin: 0 0 16px;
}

.videos-others-block .other-news > div.row.clearfix {
    margin-bottom: 0 !important;
}

