﻿/*--banner裝飾線 --*/
.main-area{ background:url(/images/theme-b67/index/bg-line.jpg) left top  no-repeat;background-size: 100% auto;background-attachment: scroll; }


.video { width:calc(100% - 120px); padding: 20px 60px; margin:2% auto 10% auto; display: flex; flex-wrap: wrap;  flex-direction: row; }
.video li{ width: calc(100%/3 - 50px); margin: 50px 25px; /*display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center;*/  position: relative; transition: all 0.3s linear 0s;  overflow: hidden;
border: 1px solid #fff3eb;background: #fffaee;  box-shadow: 0px 2px 4px rgba(172, 184 ,204 ,.25), 0px 4px 4px rgba(172, 184 ,204 ,.2), 0px 8px 8px rgba(172, 184 ,204 ,.15), 0px 16px 16px rgba(172, 184 ,204 ,.1), 0px 24px 24px rgba(172, 184 ,204 ,.25);
mix-blend-mode: multiply;border-radius: 24px; color: #565656;}


.news-box-info{width: 100%; margin: 0px;padding:0px;  box-sizing: border-box;display: -ms-flexbox; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.news-box{position: relative;width: 100%; margin:0px;padding:20px 20px 10px 20px;  box-sizing: border-box; background-color:#fffaee; }
.new-tag { width:auto;padding:0px 10px;   font-size:.9rem;   font-weight: 400; vertical-align: top; border-radius:15px;border: solid 1px #f39800;}
.new-tag a{color:#f39800;   }


.video li figure{ position: relative; width:100%;  height: 0; padding:62.5% 0px 0px 0px; overflow: hidden;object-fit: contain;background-color: #000; box-shadow: 0px 1px 9px rgba(0,0,0,.1);  transition: all 0.5s ease 0s; }
.video li figure img { max-width: 100%; height: auto; transition: all .35s ease;  }


.video-title { width: 100%; max-height: 56.7px; margin: auto; padding:10px 0px; color:#565656; font-size:1rem; line-height: 1.375rem;  font-weight:400; overflow: hidden; word-break:normal;  text-overflow: ellipsis;  display: -webkit-box; -webkit-line-clamp: 2;  -webkit-box-orient: vertical; }
.video .btn-play {  transform: scale(0.5);  margin:13% auto auto auto; z-index:99; left: calc(50% - 58px);} 


@media (max-width: 1024px) {
.video { width:100%; padding:0px; }   
}

@media (max-width: 768px) {
.video li{ width: calc(100%/2 - 50px); margin: 50px 25px;  }

}

@media (max-width: 767.98px) {
.video li{ width: 100%; margin: 30px auto;}
.fancybox-slide--iframe .fancybox-content { padding: 0px;  width: 100%!important; height: 80%; max-width: calc(100% - 10px); max-height: calc(100% - 100px);}
}
