html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Noto Sans CJK TC Regular", "微軟正黑體", "新細明體", "Adobe 繁黑體 Std B";
    background-color: #000000;
    background-image: url(../images/bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
	overflow-x: hidden;
	/*animation: flicker-5 6s linear infinite both;*/
}

hr {
    max-width: 80px;
    border-width: 3px;
    opacity: 0.2;
    margin-top: 15px;
    margin-bottom: 15px;
}

hr.light {
    border-color: #fff;
}

a {
	color: #000000;
	-webkit-transition: all .35s;
	-moz-transition: all .35s;
	transition: all .35s;
}

a:hover,
a:focus {
	color: #000000;
	outline: 0;
}

h1,h2,h3,h4,h5,h6 {
	font-family: "Noto Sans CJK TC Regular", "微軟正黑體", "新細明體", "Adobe 繁黑體 Std B";
}
h3 {
    font-size: 1.9em;
    color: #FFFFFF;
    text-align: center;
    padding-top: 10px;
	letter-spacing: normal;
}
h4 {
    font-size: 1.4em;
    line-height: 1.4em;
    color: #E42F2F;
    text-align: center;
    padding-bottom: 10px;
}
p {
    font-family: "Noto Sans CJK TC Regular", "微軟正黑體", "新細明體", "Adobe 繁黑體 Std B";
    font-size: 1.4em;
    line-height: 1.8;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.text-muted{
	line-height: 1.6;
}

.wide-space {
    letter-spacing: 1.6px;
}

.icon-lg {
    font-size: 50px;
    line-height: 18px;
}

.bg-dark {
    color: #eee;
    background-color: #222;
}

.cursive {
    font-family: 'Dancing Script', cursive;
    text-transform: none;
}

.text-faded {
    color: #debf89;
    padding-top: 30px;
    text-align: left;
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1.8em;
}

.text-dark {
    color: #111;
}

.modal-content {
    background-color: #1d1d1d;
}

section {
    padding: 60px 0;
}

aside {
    padding: 50px 0;
}

footer {
    padding: 15px;
}

.no-padding {
    padding: 0;
}

.navbar-default {
    background-color: rgba(0,0,0,0.80);
    border-color: transparent;
    /*border-color: rgba(104,165,136,0.90);*/
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    transition: all .4s;
}

.navbar-header > .navbar-brand {
	color: #FFFFFF;
	padding: 15px;
	-webkit-transition: padding .2s ease-in;
	-moz-transition: padding .2s ease-in;
	transition: padding .2s ease-in;
	font-size: 1.3em;
}

.navbar-header > .navbar-brand:hover,
.navbar-header > .navbar-brand:focus {
    color: #FFFFFF;
    text-shadow: 0 0 10px #ffffff,0 0 20px #ffffff;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
	background: transparent;
}
.navbar-default .navbar-toggle, .navbar-default .navbar-collapse {
    border-color: transparent;
}

.navbar-default .nav > li>a,
.navbar-default .nav>li>a:focus {
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 200;
	color: #FFFFFF;
}

.navbar-default .nav > li>a:hover,
.navbar-default .nav>li>a:focus:hover {
	color: #da0028;
}

.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
	color: #da0028 !important;
	background-color: transparent;
}

.navbar-default .nav > li.active>a:hover,
.navbar-default .nav>li.active>a:focus:hover {
    background-color: transparent;
}


@media(min-width:768px) {
    .navbar-default {
	background-color: rgba(0,0,0,0.80);
    border-color: transparent;
	min-height: 30px;
    }

    .navbar-header > .navbar-brand {
	   color: rgba(255,255,255,1);
	   padding: 15px;
	   /*text-shadow: 1px 1px 1px rgba(255,255,255,0.8);*/
	   font-size: 1.3em;
	   font-weight: 400;
    }

    .navbar-default .navbar-header .navbar-brand:hover,
    .navbar-default .navbar-header .navbar-brand:focus {
	color: #FFFFFF;
	text-shadow: 0 0 10px #ffffff , 0 0 20px #ffffff;
    }

    .navbar-default .nav > li>a,
    .navbar-default .nav>li>a:focus {
	   color: rgba(255,255,255,1);
	   /*text-shadow: 2px 2px 2px rgba(255,255,255,0.8);*/
	   padding: 15px;
	   /*letter-spacing: 1.1px;*/
    }

    .navbar-default .nav > li>a:hover,
    .navbar-default .nav>li>a:focus:hover {
	   color: #FFFFFF;
	   text-shadow: 0 0 10px #ffffff , 0 0 20px #ffffff;
    }

    .navbar-default.affix {
	background-color: rgba(0,0,0,0.8);
    border-color: transparent;
	/*border-color: rgba(104,165,136,0.90);*/
    }

    .navbar-default.affix .navbar-header .navbar-brand {
        font-size: 1.3em;
        color: #FFFFFF;
        padding: 15px;
       /* letter-spacing: 1px;*/
    }

    .navbar-default.affix .navbar-header .navbar-brand:hover,
    .navbar-default.affix .navbar-header .navbar-brand:focus {
	color: #FFFFFF;
	text-shadow: 0 0 10px #ffffff , 0 0 20px #ffffff;
    }

    .navbar-default.affix .nav > li>a,
    .navbar-default.affix .nav>li>a:focus {
	    color: #FFFFFF;        
		/*text-shadow: 1px 1px 1px rgba(30,30,30,0.7);*/
    }

    .navbar-default.affix .nav > li>a:hover,
    .navbar-default.affix .nav>li>a:focus:hover {
        color: #da0028;
    }
}

@media(max-width:767px) {
.navbar-header > .navbar-brand {
    color: rgba(255,255,255,1);
    width: 85%;
    padding: 10px;
    font-size: 1.2em;
    font-weight: 400;
    }
}

/*header {
	position: relative;
	min-height: auto;
	text-align: center;
	color: #fff;
	width: 100%;
	background-color: #f7f2f1;
	background-image: url(../images/main.jpg);
	background-position: center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
	background-attachment: fixed;
}*/

header .header-content {
    position: relative;
    width: 100%;
    padding: 100px 15px;
    text-align: center;
    z-index: 2;
}

header .header-content .inner h1 {
    margin-top: 0;
    margin-bottom: 0;
}

header .header-content .inner p {
    margin-bottom: 50px;
    font-size: 16px;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
}


@media(min-width:768px) {
    .icon-lg {
        font-size: 80px;
    }
    
    header {
	min-height: 100%;
    }

    header .header-content {
        position: absolute;
        top: 50%;
        padding: 0 50px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    header .header-content .inner {
        margin-right: auto;
        margin-left: auto;
        max-width: 1000px;
    }

    header .header-content .inner h1 {
        font-size: 53px;
    }

    header .header-content .inner p {
        margin-right: auto;
        margin-left: auto;
        max-width: 80%;
        font-size: 18px;
    }
    
    section {
        min-height: auto;
        padding: 140px 0;
    }

}

@media (max-width: 767px) { 
    header {
	width: 100%;
	height: 95%;
	background-image: url(../images/main-m.jpg);
	background-size: contain;
	background-position: center 50px;
	background-repeat: no-repeat;
    }
	
    body {
	background-color: #535353;
	background-image: url(../images/bg-pattern.png);
    background-position: left top;
    background-repeat: repeat;
	background-size: auto;
    }
    
    section {
        min-height: auto;
        padding: 50px 0;
    }	
 }

@media screen and (max-device-width: 767px) and (orientation: landscape)  {
    header {
	width: 100%;
	height: 100%;
	background-color: #535353;
	background-image: url(../images/main.jpg);
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;	
    }
}

textarea {
    resize: none;
}

.margin-top-0 {
	margin-top: 0px;
}


/* Cast */

.cast{
    /*-webkit-box-shadow: 6px 6px 6px 0 rgba(0,126,153,0.70);
    box-shadow: 6px 6px 6px 0 rgba(0,126,153,0.70);*/
	}
.hover figure img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-filter: blur(0);
	filter: blur(0);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hover figure:hover img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	-webkit-filter: contrast(120%);
	filter: contrast(120%);
}
.center{
display:flex;
align-items:center;
justify-content:center;
}
.cast-image{ 	
  margin: 10px auto;
  /* 做出傾斜的視覺感 */
  /*transform: rotate(-4deg);*/
}
.cast-title{
	width:auto;
	padding: 20px 0;
	margin: 20px 0;
	border-bottom: 1px solid #fff;
	text-align: center;
	}

.animated-modal {
	max-width: auto;
	overflow: hidden;
	transform: translateY(-50px);
	transition: all .7s;
}

@media (max-width: 767px) {
.animated-modal	{
	width: 100%;	
    }
.cast-image	{
	width: 60%;
	}
}

.animated-modal h3,.animated-modal h4,.animated-modal h5,
.animated-modal p {
  transform: translateY(-50px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: .4s;
}


/* Final state */
.fancybox-slide--current .animated-modal,
.fancybox-slide--current .animated-modal h3,
.fancybox-slide--current .animated-modal h4,
.fancybox-slide--current .animated-modal h5,
.fancybox-slide--current .animated-modal p {
  transform: translateY(0);
  opacity: 1;
}

/* Reveal content with different delays */
.fancybox-slide--current .animated-modal h3 {
  transition-delay: .1s;
}
.fancybox-slide--current .animated-modal h4 {
  transition-delay: .1s;
}
.fancybox-slide--current .animated-modal h5 {
  transition-delay: .2s;
}
.fancybox-slide--current .animated-modal p {
  transition-delay: .3s;
}


/*story*/

.fix{
    overflow: hidden;
}
#storyslid{
	background-color: rgba(14,15,67,0);
}
.main_story{
    width: 100%;
    display: block;
}
.main_story{}
.main_story .story_item{}
.main_story .story_item .story_text{
    width: 80%;
    margin: 10px auto;
	padding: 10px;
}
.main_story .story_item .story_text h3{
    font-family: "Noto Sans CJK TC Medium", "微軟正黑體", "新細明體", "Adobe 繁黑體 Std B";
    font-size: 1.9em;
    padding: 10px 0;
    color: #ffffff;
    background-color: #9b2224;
    width: 150px;
    margin: 10px auto 50px auto;
}
.main_story .story_item .story_text p{
	font-family: "Noto Sans CJK TC Regular", "微軟正黑體", "新細明體", "Adobe 繁黑體 Std B";
	font-size: 1.4em;
	line-height: 1.8;
	text-align: left;
	margin-bottom: 20px;
}
.main_story .carousel-control{
    background-image: none;
    top:45%;
    font-size:5rem;
	color: #fff;
}

/*carousel fade*/

.carousel-fade .carousel-inner .item {
    opacity: 0;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}
.carousel-fade .carousel-inner .active {
    opacity: 1;
}
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-control {
    z-index: 2;
}
		  
/* video */
  
  .video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 100px;
  }
  .video-container iframe,
  .video-container object,
  .video-container embed {
	border: 5px solid rgba(255,255,255,0.7);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
  }


/* Footer */
	  	  
 #footer {
	background-color: rgba(0,0,0,0.8);
	text-align: center;
	padding-top: 0.4em;
	padding-right: 0;
	padding-bottom: 0.4em;
	padding-left: 0;
	max-height: 40px; 
	  }
	    
 #footer .copyright {	
	font-size: 1em;
	color: rgba(255, 255, 255, 1);
	text-align: center;
	margin-top: 0.4em;
	margin-right: 0;
	margin-bottom: 0.4em;
	margin-left: 0;
	  }

		  @media screen and (max-width: 767px) {
			  #footer {
	              padding-top: 0.2em;
	              padding-right: 0;
	              padding-bottom: 0.2em;
	              padding-left: 0;
	              max-height: 55px;
			  }
			  #footer .copyright {
			  font-size: 0.9em;
	          }
		  }

.inner {
	width: 80em;
}    
.inner-plot{
	margin-left:30%;
	}    
.inner-cast{
	margin-left:30%;
	}

@media screen and (max-width: 767px) {
.inner-plot{
	width: 100%;
	margin-right:0;
	margin-left:0;
	}
.inner-cast{
	width: 100%;
	margin-left:0;
} 
} 	
	
@media screen and (max-width: 1280px) {
.inner {
width: 65em;
	}
}

@media screen and (max-width: 980px) {
.inner {
width: 80%;
	}
}

@media screen and (max-width: 767px) {
.inner {
width: 100%;
	}
}

/**
 * ----------------------------------------
 * animation flicker-5
 * ----------------------------------------
 */
@keyframes flicker-5 {
  0%,
  100% {
    opacity: 1;
  }
  -0.02% {
    opacity: 1;
  }
  0% {
    opacity: 1;
  }
  1% {
    opacity: 1;
  }
  1.02% {
    opacity: 1;
  }
  8.98% {
    opacity: 1;
  }
  9% {
    opacity: 0;
  }
  9.8% {
    opacity: 0;
  }
  9.82% {
    opacity: 1;
  }
  9.48% {
    opacity: 1;
  }
  9.5% {
    opacity: 1;
  }
  9.6% {
    opacity: 1;
  }
  9.62% {
    opacity: 1;
  }
  14.98% {
    opacity: 1;
  }
  15% {
    opacity: 0.5;
  }
  15.8% {
    opacity: 0.5;
  }
  15.82% {
    opacity: 1;
  }
  15.18% {
    opacity: 1;
  }
  15.2% {
    opacity: 0.7;
  }
  16% {
    opacity: 0.7;
  }
  16.02% {
    opacity: 1;
  }
  15.48% {
    opacity: 1;
  }
  15.5% {
    opacity: 0.5;
  }
  16.2% {
    opacity: 0.5;
  }
  16.22% {
    opacity: 1;
  }
  16.98% {
    opacity: 1;
  }
  17% {
    opacity: 1;
  }
  17.8% {
    opacity: 1;
  }
  17.82% {
    opacity: 1;
  }
  20.48% {
    opacity: 1;
  }
  20.5% {
    opacity: 0.9;
  }
  21.3% {
    opacity: 0.9;
  }
  21.32% {
    opacity: 1;
  }
  20.98% {
    opacity: 1;
  }
  21% {
    opacity: 1;
  }
  22% {
    opacity: 1;
  }
  22.02% {
    opacity: 1;
  }
  39.98% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  41% {
    opacity: 1;
  }
  41.02% {
    opacity: 1;
  }
  40.48% {
    opacity: 1;
  }
  40.5% {
    opacity: 0.6;
  }
  41.4% {
    opacity: 0.6;
  }
  41.42% {
    opacity: 1;
  }
  41.98% {
    opacity: 1;
  }
  42% {
    opacity: 1;
  }
  42.8% {
    opacity: 1;
  }
  42.82% {
    opacity: 1;
  }
  59.98% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  61% {
    opacity: 1;
  }
  61.02% {
    opacity: 1;
  }
  60.18% {
    opacity: 1;
  }
  60.2% {
    opacity: 0.2;
  }
  61% {
    opacity: 0.2;
  }
  61.02% {
    opacity: 1;
  }
  60.78% {
    opacity: 1;
  }
  60.8% {
    opacity: 0.4;
  }
  61.6% {
    opacity: 0.4;
  }
  61.62% {
    opacity: 1;
  }
  61.38% {
    opacity: 1;
  }
  61.4% {
    opacity: 0;
  }
  62.2% {
    opacity: 0;
  }
  62.22% {
    opacity: 1;
  }
  61.78% {
    opacity: 1;
  }
  61.8% {
    opacity: 1;
  }
  62.8% {
    opacity: 1;
  }
  62.82% {
    opacity: 1;
  }
  75.98% {
    opacity: 1;
  }
  76% {
    opacity: 1;
  }
  77% {
    opacity: 1;
  }
  77.02% {
    opacity: 1;
  }
  77.98% {
    opacity: 1;
  }
  78% {
    opacity: 0.7;
  }
  78.8% {
    opacity: 0.7;
  }
  78.82% {
    opacity: 1;
  }
  78.98% {
    opacity: 1;
  }
  79% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  80.02% {
    opacity: 1;
  }
  99.98% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
  101% {
    opacity: 1;
  }
  101.02% {
    opacity: 1;
  }
}

/* glitch bg */
.glitch__layer {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url(../images/main.jpg);
    background-repeat: no-repeat;
    background-position: center;
	background-size: cover;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
}
.glitch__layer:nth-child(1) {
	transform: translateX(-5%);
	animation: glitch-anim-1 2s infinite linear alternate;
}
.glitch__layer:nth-child(2) {
	transform: translateX(3%) translateY(3%);
	animation: glitch-anim-2 2.3s -.8s infinite linear alternate;
}
.glitch__layer:nth-child(3) {
	transform: translateX(5%);
	animation: glitch-anim-flash 1s infinite linear;
}
@keyframes glitch-anim-1 {
	0% {
		clip-path: polygon(0 0%, 100% 0%, 100% 5%, 0 5%);
	}
	10% {
		clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
	}
	20% {
		clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
	}
	30% {
		clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
	}
	40% {
		clip-path: polygon(0 35%, 100% 35%, 100% 35%, 0 35%);
	}
	50% {
		clip-path: polygon(0 45%, 100% 45%, 100% 46%, 0 46%);
	}
	60% {
		clip-path: polygon(0 50%, 100% 50%, 100% 70%, 0 70%);
	}
	70% {
		clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
	}
	80% {
		clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
	}
	90% {
		clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
	}
	100% {
		clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%);
	}
}
@keyframes glitch-anim-2 {
	0% {
		clip-path: polygon(0 15%, 100% 15%, 100% 30%, 0 30%);
	}
	15% {
		clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
	}
	25% {
		clip-path: polygon(0 8%, 100% 8%, 100% 20%, 0 20%);
	}
	30% {
		clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
	}
	45% {
		clip-path: polygon(0 45%, 100% 45%, 100% 45%, 0 45%);
	}
	50% {
		clip-path: polygon(0 50%, 100% 50%, 100% 57%, 0 57%);
	}
	65% {
		clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
	}
	75% {
		clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
	}
	80% {
		clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%);
	}
	95% {
		clip-path: polygon(0 45%, 100% 45%, 100% 60%, 0 60%);
	}
	100% {
		clip-path: polygon(0 11%, 100% 11%, 100% 15%, 0 15%);
	}
}
@keyframes glitch-anim-flash {
	0% {
		opacity: .2;
	}
	30%, 100% {
		opacity: 0;
	}
}	
