html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Noto Sans CJK TC Regular", "微軟正黑體", "新細明體", "Adobe 繁黑體 Std B";
    background-color: #082c36;
    background-image: url(../images/bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

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.8em;
	color: #FFFFFF;
	text-align: center;
	padding-top: 5px;
}
h4 {
    font-size: 1.6em;
    color: #D87C7C;
    text-align: center;
}
h5 {
    font-size: 1.4em;
	line-height: 1.6;
    color: #FFB83E;
    text-align: center;
}
p {
	font-family: "Noto Sans CJK TC Regular", "微軟正黑體", "新細明體", "Adobe 繁黑體 Std B";
	font-size: 1.35em;
	line-height: 1.8;
	color: #fff;
	margin-bottom: 20px;
}

.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,24,33,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 #FFE392,0 0 20px #FFE392;
}

.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: #D87C7C;
}

.navbar-default .nav > li.active>a,
.navbar-default .nav>li.active>a:focus {
	color: #D87C7C !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,24,33,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 #FFE392 , 0 0 20px #FFE392;
    }

    .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 #FFE392 , 0 0 20px #FFE392;
    }

    .navbar-default.affix {
	background-color: rgba(0,24,33,0.80);
    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 #FFE392 , 0 0 20px #FFE392;
    }

    .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: #D87C7C;
    }
}

@media(max-width:767px) {
.navbar-header > .navbar-brand {
	   color: rgba(255,255,255,1);
	   width: 85%;
	   padding: 15px 10px;
	   font-size: 1.2em;
	   font-weight: 400;
    }
}

/*header {
	position: relative;
	min-height: auto;
	text-align: center;
	color: #fff;
	width: 100%;
	background-color: #082c36;
	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: 100px 0;
    }

}

@media (max-width: 767px) { 
    header {
	width: 100%;
	height: 90%;
	background-image: url(../images/main-m.jpg);
	background-size: contain;
	background-position: center 50px;
	background-repeat: no-repeat;
    }
	
    body {
	background-color: #082c36;
	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: #082c36;
	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 0px 0 rgba(96,96,96,0.70);
	box-shadow: 6px 6px 0px 0 rgba(96,96,96,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: blur(2px);
	filter: blur(2px);
}
.center{
display:flex;
align-items:center;
justify-content:center;
}
.cast-image{ 	
  margin: 10px auto;
  /* 做出傾斜的視覺感 */
  /*transform: rotate(-4deg);*/
}
.cast-title{
	width:auto;
	padding: 10px;
	margin: 10px 0;
	border-bottom: 1px dashed #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: 30px 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-top: 0.4em;
    color: #FFB83E;
    margin-bottom: 20px;
}
.main_story .story_item .story_text p{
	font-family: "Noto Sans CJK TC Regular", "微軟正黑體", "新細明體", "Adobe 繁黑體 Std B";
	font-size: 1.35em;
	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,24,33,0.80);
	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;
	          }
		  }


/* CRT */

@keyframes flicker {
  0% {
    opacity: 0.27861;
  }
  5% {
    opacity: 0.34769;
  }
  10% {
    opacity: 0.23604;
  }
  15% {
    opacity: 0.90626;
  }
  20% {
    opacity: 0.18128;
  }
  25% {
    opacity: 0.83891;
  }
  30% {
    opacity: 0.65583;
  }
  35% {
    opacity: 0.67807;
  }
  40% {
    opacity: 0.26559;
  }
  45% {
    opacity: 0.84693;
  }
  50% {
    opacity: 0.96019;
  }
  55% {
    opacity: 0.08594;
  }
  60% {
    opacity: 0.20313;
  }
  65% {
    opacity: 0.71988;
  }
  70% {
    opacity: 0.53455;
  }
  75% {
    opacity: 0.37288;
  }
  80% {
    opacity: 0.71428;
  }
  85% {
    opacity: 0.70419;
  }
  90% {
    opacity: 0.7003;
  }
  95% {
    opacity: 0.36108;
  }
  100% {
    opacity: 0.24387;
  }
}
.crt::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}
.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  /*background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));*/
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}
.crt {
  opacity: 0.7;	
}
