﻿/*-------------- Video Listing ---------------------*/
.videoListBlock {
    float: left;
    font-family: Arial;
    font-size: 12px;
    padding-top: 30px;
    position: relative;
    width: 100%;
}

.videoListBlock .item {
    margin-bottom: 30px;
}

.videoListBlock .item.right { margin-right: 0; }

.videoListBlock .image {
    height: 208px;
    width: 100%;
    position: relative;
    position: relative;
    /*border: 1px solid #ccc;*/
}
.videoListBlock .image a{width:100% !important; height:100% !important;}
.videoListBlock .image img{position:absolute; top:0px; right:0px; bottom:0px; left:0px; margin:auto auto !important;}
.videoListBlock .title {
    margin-top: 8px;
    overflow: hidden;
    text-align: center;
    width: 100%;
    height:40px;
}

.videoListBlock .title a {
    font-size: 15px;
    color: #f58400;
    cursor: pointer;
    line-height: 1.4;
    font-family:Arial;
}

.videoListBlock .title img {
    display: inline;
    margin-left: 5px;
}

.videoListBlock .pager {
    float: left;
    height: 22px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.videoListBlock .pager a {
    border: 1px solid #fff;
    color: #767676;
    height: 25px;
    line-height: 25px;
    text-align: center;
    text-decoration: none;
    width: 25px;
    display: inline-block;
}

.videoListBlock .pager .select {
    background: none;
    border: 1px solid #ffaf00;
    color: #767676;
    font-weight: normal;
    padding: 0;
}

.videoListBlock .numberpager {
    color: #4d4d4d;
    float: right;
    height: 22px;
    line-height: 22px;
    margin-top: 10px;
}

.videoListBlock .numberpager span { padding-right: 10px; }

.videoListBlock .numberpager select {
    height: 22px;
    text-align: left;
    width: 50px;
}
/*-------------- Video References ---------------------*/

.videoRefBlock {
    clear: both;
    font-family: Arial;
    font-size: 12px;
    padding-top: 30px;
    position: relative;
    width: 100%;
}

.videoRefBlock .cap-b {
    float: left;
    margin-bottom: 20px;
    margin-top: 10px;
    padding-left: 250px;
}

.videoRefBlock .prev {
    float: left;
    margin-top: 4px;
}

.videoRefBlock .video {
    float: left;
    font-weight: bold;
    line-height: 22px;
    margin: 0 15px;
    text-transform: uppercase;
}

.videoRefBlock .video a {
    color: #d76500;
    font-size: 16px;
}

.videoRefBlock .next {
    float: left;
    margin-top: 4px;
}

.videoRefBlock .item {
    /*border: 1px solid #e2e2e2;*/
    float: left;
    min-height: 161px;
    /*margin-right: 0px;
    padding: 10px;
    width: 182px;*/
}

.videoRefBlock .image {
    height: 136px;
    width: 183px;
}

.videoRefBlock .title {
    font-size: 12px;
    height: 18px;
    margin-top: 8px;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.videoRefBlock .title a {
    color: #434343;
    cursor: pointer;
    line-height: 18px;
}

.videoRefBlock .caroufredsel_wrapper { width: 678px !important; }

/*------------------------ video detail ----------------------*/
#videodetail_wrapper {
    float: left;
    margin-left: 118px;
}
.videoDetailBlock {
    font-family: Arial;
    padding-top: 30px;
    position: relative;
    text-align: center;
    width: 100%;
}

.videoDetailBlock .item { text-align: left; }

.videoDetailBlock .item .vTitle {
    color: #808080;
    float: left;
    font-size: 12px;
    font-weight: bold;
}

.videoDetailBlock .newsTitle {
    color: #ef9006;
    display: block;
    float: right;
    font-size: 18px;
    height: 49px;
    /* margin-top: 4px; */
    overflow: hidden;
    width: 86%;
    /* width: 610px; */
    float: left;
    margin-left: 15px;
}

.videoDetailBlock .newsTitle .pageview {
    background: url(img/page_view.gif) no-repeat left 9px;
    color: #5d5d5d;
    font-size: 11px;
    margin-top: 4px;
    padding-left: 15px;
    padding-top: 4px;
}

.videoDetailBlock .calendar {
    background: url(img/calendar.png) no-repeat;
    float: left;
    height: 49px;
    position: relative;
    width: 47px;
}

.videoDetailBlock .calendar a {
    color: #ff6600;
    display: block;
    font-size: 20px;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.videoDetailBlock .calendar b {
    color: #fff;
    display: block;
    font-size: 12px;
    height: 19px;
    line-height: 19px;
    text-align: center;
    width: 47px;
}

.videoDetailBlock .TopToolbar {
    clear: both;
    float: left;
    height: 25px;
    margin-bottom: 50px;
    margin-top: 10px;
}

.videoDetailBlock .BottomToolbar {
    clear: both;
    float: left;
    margin-bottom: 10px;
    margin-top: 50px;
}
/*----VideoIntroduction*/
.anhquangcao-video img{width:100% !important;}



/**Khung popup tối*/
#fadePopupVideo{display: none;position: absolute;top: 0%;left: 0%;width: 100%;height: 100%;background:#000;  position:fixed;z-index:9999999;-moz-opacity: 0.8;opacity:.80;filter: alpha(opacity=80)}
/*Khung popup sáng*/
#lightPopupVideo{position:fixed;display:none;top:100px;z-index: 9999999999;width: 100%;left: 0}
#VideoFrame2 img{width:100% !important; height:100%  !important;}

#VideoFrame2{position:relative;background:url(img/bgpopupvideo.png) repeat;padding:6px;border:solid 1px #d4d4d4;border-radius: 3px;width: 614px;margin: 0 auto}
#lightPopupVideo a.btclose{width:28px;height:28px;background:url(img/btClose.png) no-repeat;display:block;position:absolute;top:0px;right:0px;z-index:2}
#VideoPlayerTitle2{position:absolute;top:10px;left:0;z-index:3;text-align:center;width:100%;height:20px;font:normal 12px/20px Arial;color:#fff;text-transform:uppercase;display:none}
#VideoFrame2 iframe{z-index:999999999999;}

@media screen and (min-width:0px) and (max-width:320px) {
   
      #VideoFrame2{width: 100%;}
       #VideoFrame2 iframe {
            width: 100%;
            height: 181px !important;
        }
}

@media screen and (min-width:321px) and (max-width:360px) {
  
   #VideoFrame2{width: 100%;}
   #VideoFrame2 iframe{ width: 100% !important;height: 181px !important}
}

@media screen and (min-width:361px) and (max-width:560px) {
 
   #VideoFrame2{width: 100%;}
   #VideoFrame2 iframe{ width: 100% !important;height: 181px !important}
}

@media screen and (min-width:561px) and (max-width:767px) {
   #VideoFrame2{width: 520px}
   #VideoFrame2 img{ width: 506px !important;height: 270px !important}
   #VideoFrame2 iframe{ width: 506px !important;height: 270px !important}
}
@media screen and (min-width:768px) and (max-width:920px) {
   .videoListBlock  .khungAnh{ width:180px;height:109px;position:relative;line-height:109px;display:table;text-align: center;border: 1px solid #e3e4e6;position: relative}
   .videoListBlock  .khungAnh a{ display:table-cell;vertical-align:middle }
   .videoListBlock  .khungAnh a img{ max-width:180px;max-height: 109px;margin: 0 auto }
   .videoListBlock  .khungAnh span.icon{display:block;width:180px;height:109px;background:url(img/play.png) no-repeat center}
   .videoListBlock  .khungAnh span.bg{width:180px;height:111px;position:absolute;z-index:2;top:-1px;left:-1px;display:block;}
   .videoListBlock  .item:hover .khungAnh span.bg{background-color:rgba(0,0,0,0.5)}
   .videoListBlock  .item:hover .khungAnh span.icon{transform:rotate(360deg) !important}
   .videoListBlock  a.title{font:bold 12px/18px Arial;color:#333;margin-top:10px;display:block;text-align: center;width: 180px}
}

@media screen and (min-width:921px) and (max-width:1023px) {
   
   .videoListBlock  .khungAnh{ width:210px;height:124px;position:relative;line-height:124px;display:table;text-align: center;border: 1px solid #e3e4e6;position: relative}
   .videoListBlock  .khungAnh a{ display:table-cell;vertical-align:middle }
   .videoListBlock  .khungAnh a img{ max-width:210px;max-height: 124px;margin: 0 auto }
   .videoListBlock  .khungAnh span.icon{display:block;width:210px;height:124px;background:url(img/play.png) no-repeat center}
   .videoListBlock  .khungAnh span.bg{width:210px;height:126px;position:absolute;z-index:2;top:-1px;left:-1px;display:block;}
   .videoListBlock  .item:hover .khungAnh span.bg{background-color:rgba(0,0,0,0.5)}
   .videoListBlock  .item:hover .khungAnh span.icon{transform:rotate(360deg) !important}
}

@media screen and (min-width:1024px) and (max-width:1199px) {
 
   .videoListBlock  .khungAnh{ width:230px;height:129px;position:relative;line-height:129px;display:table;text-align: center;border: 1px solid #e3e4e6;position: relative}
   .videoListBlock  .khungAnh a{ display:table-cell;vertical-align:middle }
   .videoListBlock  .khungAnh a img{ max-width:230px;max-height: 129px;margin: 0 auto }
   .videoListBlock  .khungAnh span.icon{display:block;width:230px;height:129px;background:url(img/play.png) no-repeat center}
   .videoListBlock  .khungAnh span.bg{width:230px;height:131px;position:absolute;z-index:2;top:-1px;left:-1px;display:block;}
   .videoListBlock  .item:hover .khungAnh span.bg{background-color:rgba(0,0,0,0.5)}
   .videoListBlock  .item:hover .khungAnh span.icon{transform:rotate(360deg) !important}
   .videoListBlock  a.title{font:bold 12px/18px Arial;color:#333;margin-top:10px;display:block;text-align: center;width: 230px}
}


.videoListBlock .khungAnh span.icon {
    display: block;
    width: 100%;
    height: 100%;
    background: url(img/play.png) no-repeat center center;
}

.videoListBlock  .khungAnh span.bg {
   position: absolute;
    z-index: 2;
    top: 0px;
    left: 0px;
    display: block;
    right: 0px;
    bottom: 0px;
}

.videoListBlock .item:hover .khungAnh span.bg{background-color:rgba(0,0,0,0.5)}
.videoListBlock  .item:hover .khungAnh span.icon{transform:rotate(360deg) !important}


@media screen and (min-width:736px) and (max-width:767px) {
    .videoListBlock .item {
        margin-bottom: 30px;
        height: 190px;
         overflow:hidden;
    }
}
@media screen and (min-width:667px) and (max-width:735px) {
    .videoListBlock .item {
        margin-bottom: 30px;
        height: 190px;
        overflow:hidden;
    }
}
@media screen and (min-width:568px) and (max-width:666px) {
    .videoListBlock .item {
        margin-bottom: 30px;
        height: 190px;
        overflow: hidden;
    }
}
@media screen and (min-width:480px) and (max-width:567px) {
    videoListBlock .item {
        margin-bottom: 30px;
        height: 194px;
    }
}

@media screen and (min-width:375px) and (max-width:479px){    
    .videoListBlock .item {
        margin-bottom: 30px;
        height: auto !important;
    }
}
@media screen and (min-width:361px) and (max-width:374px){
    .videoListBlock .item {
        margin-bottom: 30px;
        height: auto !important;
    }
}

@media screen and (min-width:321px) and (max-width:360px) {
    .videoListBlock .item {
        margin-bottom: 30px;
        height: auto !important;
    }
}

@media screen and (min-width:0px) and (max-width:320px) {
    .videoListBlock .item {
        margin-bottom: 30px;
        height: auto !important;
    }
}

@media screen and (max-width:767px){
    .videoListBlock .title{font-size:14px;}
}


@media screen and (min-width:768px){
    #VideoFrame2 iframe{width:640px !important; height:480px !important;}
    #VideoFrame2 {width:655px !important;}
}