/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
/* -moz-.flexslider ul.slides li{
  position:absolute;
}

 -moz-transform:scale(0.5);*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.slides{
	width:100%;
	position: relative;
	float:left;
	clear:both;
	
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
	display: none;
	-webkit-backface-visibility: hidden;
	position: relative;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.slides iframe{
	width:100%;
	height:100vh;
	z-index: 0;}
.youoverlay{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100vh;
	z-index:10;
cursor: pointer;}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.flexslider .slides > li:first-child,.no-js .flexslider .slides > li:first-child  {display: block; -webkit-backface-visibility: visible;
opacity:1} 

/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  margin: 0 auto;
  position: relative;
  zoom: 1;
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
  -moz-user-select: none;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
@-moz-document url-prefix() {
  .loading .flex-viewport {
    max-height: none;
  }
}
.carousel li {
  margin-right: 5px;
  cursor:pointer;
}

.flex-direction-nav {
		position: absolute;
		top: 50%;
		left: 0px;
		width:100%;
		z-index:50;
		opacity:0
}
.wrapper-bigad:hover .flex-direction-nav,.wrapper-bigad-page .flex-direction-nav{opacity:1}
.flex-direction-nav a {
	text-decoration: none;
	display: block;
	width: 30px;
	height: 40px;
	position: absolute;
	top: 50%;
	z-index: 10;
	overflow: hidden;
	cursor: pointer;
	color: rgba(85, 101, 181, 0.8);
	text-shadow: 1px 1px 0 rgba(85, 101, 181, 0.3);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
	background-color: rgba(0,0,0,.1);
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}
.flex-direction-nav a:before {
	font-family: "flexslider-icon";
	font-size: 10px;
	display: inline-block;
	content: '\f001';
	color: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-prev:before {
	margin-left: 10px;
}
.flex-direction-nav a.flex-next:before {
	content: '\f002';
	margin-right: 10px;
}
.flex-direction-nav .flex-prev {
	left: 0px;
	opacity: 0.7;
}
.flex-direction-nav .flex-next {
  right: 0px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 0px;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 0px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover ,.flexslider:hover .flex-direction-nav .flex-prev:hover{
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}
.flex-pauseplay a {
	display: block;
	width: 20px;
	height: 20px;
	position: absolute;
	bottom: -30px;
	left: 10px;
	opacity: 0.8;
	z-index: 10;
	overflow: hidden;
	cursor: pointer;
	color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
	width: 100%;
	position: absolute;
	bottom: 0px;
	text-align: center;
	z-index: 10;
}
.flex-control-nav li {
	margin: 0 6px;
	display: inline-block;
	zoom: 1;
  *display: inline;
	list-style-type: none;
	padding:10px
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(255,255,255, 0.8);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(236,160, 133, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(236,160, 133, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(236,160, 133, 0.3);
  box-shadow: inset 0 0 3px rgba(236,160, 133, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background:var(--main-color);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background:var(--main-color);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}

/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
/*  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 0px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    left: 50px;
  }*/
  .flex-direction-nav {
		bottom: 7%;
		opacity:1

}
}
@media screen and (max-width: 650px) {
.flex-control-nav {
	display: none;
}
}
/*IFRAME=======================================================================================================*/
video{ width: 100%; height: auto 
	}
/*IFRAME=======================================================================================================*/
/*ZOOM========================================================================================================*/
.wrapper-bigad-page{
	/* float: left; */
	/* clear: both; */
	/* width: 100%; */
	overflow: hidden;
}

.wrapper-bigad{
	float: left;
	clear: both;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.slides > li {width:100%;float:left;overflow:hidden;height:100vh;}
.slides > li .adcont {float:left;overflow:hidden;height:100vh;
width:100%}
.wrapper-bigad-page .slides > li {width:100%;float:left;overflow:hidden;height:auto;text-align: center;}
.slide-image{
	background-size:cover;
	background-repeat:no-repeat ;
	background-position:center center;position:absolute;width:100%;height:100%;left:0;top:0;}
.slide-image.vimg{
		background-size:auto 100%;
		background-position:top center;
}
	
.flex-active-slide .slide-image,.flex-active-slide .chimg{animation: zoomout 3s;}
@keyframes zoomout{
  0%{
    transform: scale(1.3);
  }
  100%{
    transform: scale(1);
  }
}
/*@media (max-width:800px) {
.slides > li,.slides > li .adcont {height:70vh}
}*/
/*H1 ANIMATE=====================================================================================*/
.slides li .meta {
	color: #ffffff;
	float: left;
	clear: both;
	width: 100%;
	max-width: 300px;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: center;
	align-items: flex-end;
	align-content: flex-end;
	height: 80vh;
	margin-right: 5%;
	margin-left: 10%;
	/*text-transform: uppercase;*/
	position: absolute;
	z-index: 11;
	bottom: 18%;
	left: 0%;
	font-family: 'Noto Serif TC', serif;
}
.meta2 {
	color: #ffffff;
	float: left;
	clear: both;
	max-width: 300px;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
	align-items: flex-end;
	align-content: flex-end;
	height: 80vh;
	margin-right: 5%;
	margin-left: 8%;
	/*text-transform: uppercase;*/
	position: absolute;
	z-index: 11;
	bottom: 18%;
	left: 0%;
	font-family: 'Noto Serif TC', serif;
}

.slides li h1 {
	margin-bottom: 0;
	font-size: 2.5em;
	font-weight: 700;
	text-align: left;
	flex: 1 1 auto;
	writing-mode: vertical-rl;
}

.slides li h2 {
	font-size: 1.5em;
	margin-bottom: 0;
	font-weight: 300;
	text-align: left;
	flex: 0 1 40px;
	margin-right:30px;	writing-mode: vertical-rl;
	position:relative
}
.slides li h2 span{
	display: inline
}
.slides li h2:before{
	content:"";
	background-color:#ffffff;
	position:absolute;
	width:1px;
	display:inline-block;
	left:50%;
	
				opacity: 0;
				height:0px;
				top:0px;
		animation-delay: .8s;
		animation-duration: 2.5s;
		animation-fill-mode: both;
		animation-name: fadeInLine;
		}
@-webkit-keyframes fadeInLine {
		0% {
				opacity: 0;
				height:0px;
				top:0px;
		}
		100% {
				opacity: 1;
				height:50px;
				top:-60px;
		}
}

@keyframes fadeInLine {
		0% {
				opacity: 0;
				height:0px;
				top:0px;
		}
		100% {
				opacity: 1;
				height:50px;
				top:-60px;
		}
}

.meta-icon{
	background-color: var(--main-color);
	writing-mode: horizontal-tb;
	clear: both;
	padding: 5px;
	font-size: 0.7em;
	color: #ffffff;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color:  var(--main-color);
	position:relative
	 }
/*.meta-icon:after{
	content: "";
	display: block;
	height: 1px;
	width: 0%;
	position: absolute;
	left: 0px;
	bottom: 0px;
	background-color:rgba(255,255,255,0)
}
.meta-icon:hover:after{width: 100%;background-color:rgba(255,255,255,1)}*/
.flexslider li .category {
		display: flex;
		flex-direction: row;
}

.flexslider li .category p {
		background: #e43837;
		margin-right: 7px;
		font-size: 1.1em;
		padding: 12px 18px 10px;
		font-weight: 300;
}

.flexslider li .category span {
		background: #e43837;
		margin-top: 17px;
		padding: 8px 12px 0;
		font-size: 0.9em;
		font-weight: 300;
		height: 26px;
}

.flexslider li h1,
.flexslider li h2,
.flexslider li .category p,
.flexslider li .category span {
		-webkit-animation-duration: .6s;
		animation-duration: .6s;
		-webkit-animation-fill-mode: both;
		animation-fill-mode: both;
		-webkit-animation-name: fadeOutLeft;
		animation-name: fadeOutLeft;
}

.flexslider li.flex-active-slide .meta h1,
.flexslider li.flex-active-slide .meta h2,
.flexslider li.flex-active-slide .meta .category p,
.flexslider li.flex-active-slide .meta .category span {
		-webkit-animation-delay: .4s;
		animation-delay: .4s;
		-webkit-animation-duration: 2s;
		animation-duration: 2s;
		-webkit-animation-fill-mode: both;
		animation-fill-mode: both;
		-webkit-animation-name: fadeInLeft;
		animation-name: fadeInLeft;
		color:#ffffff
}

.flexslider li.flex-active-slide .meta h2 {
		-webkit-animation-delay: .8s;
		animation-delay: .8s;
}

.flexslider li.flex-active-slide .meta .category p {
		-webkit-animation-delay: .6s;
		animation-delay: .6s;
}

.flexslider li.flex-active-slide .meta .category span {
		-webkit-animation-delay: .8s;
		animation-delay: .8s;
}

@-webkit-keyframes fadeInLeft {
		0% {
				opacity: 0;
				transform: translate3d(-100%, 0, 0);
		}
		100% {
				opacity: 1;
				transform: none;
		}
}

@keyframes fadeInLeft {
		0% {
				opacity: 0;
				transform: translate3d(-100%, 0, 0);
		}
		100% {
				opacity: 1;
				transform: none;
		}
}

@-webkit-keyframes fadeOutLeft {
		0% {
				opacity: 1;
		}
		100% {
				opacity: 0;
				transform: translate3d(-100%, 0, 0);
		}
}

@keyframes fadeOutLeft {
		0% {
				opacity: 1;
		}
		100% {
				opacity: 0;
				transform: translate3d(-100%, 0, 0);
		}
}

@media (max-width:750px) {
.slides li .meta {
	max-width: 300px;
	height: 80vh;
	margin-right: 5%;
	margin-left: 5%;
	bottom: 10%;
	right: 5%;
	float: right;
	left:auto
}
.slides li h1 {
	margin-bottom: 0;
	font-size: 2em;
	font-weight:400;
	text-align: left;
	flex: 1 1 auto;
	writing-mode: vertical-rl;
}

.slides li h2 {
	font-size: 1.1em;
	margin-bottom: 0;
	font-weight: 200;
	text-align: left;
	flex: 0 1 40px;
	margin-right:30px;
	writing-mode: vertical-rl;
	position:relative
}
}
@media (max-width:500px) {
.slides li h1 {
	margin-bottom: 0;
	font-size: 2em;
	font-weight:400;
	text-align: left;
	flex: 1 1 auto;
	writing-mode: horizontal-tb;
}

.slides li h2 {
	font-size: 1.1em;
	font-weight: 200;
	text-align: left;
	flex: 0 0 40px;
}



.slides li .meta2 {
	margin-right: 5%;
	margin-left: 5%;
	width: 90%;
	max-width: 90%;
	 text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.8);
	}
}
