body, html {
	font-family: "jf-jinxuan", "Noto Sans CJK TC Regular", "微軟正黑體 Light", "新細明體-ExtB", "Adobe 繁黑體 Std B";
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: #777;
	font-weight: 400;
	width: 100% !important;
	height: 100% !important;
}
h2 {
	font-family: "creamfont", "Noto Sans CJK TC Regular", "微軟正黑體 Light", "新細明體-ExtB", "Adobe 繁黑體 Std B";
	margin: 0 0 20px 0;
	font-size: 3.4em;
	font-weight: 400;
	color: #333;
	text-transform: uppercase;
}
h3 {
	font-family: "jf-jinxuan", "Noto Sans CJK TC Regular", "微軟正黑體 Light", "新細明體-ExtB", "Adobe 繁黑體 Std B";
	font-size: 22px;
	font-weight: 500;
	color: #333;
}
h4 {
	font-family: "jf-jinxuan", "Noto Sans CJK TC Regular", "微軟正黑體 Light", "新細明體-ExtB", "Adobe 繁黑體 Std B";
	font-size: 2em;
	font-weight: 400;
	color: rgba(255,255,255,1);
	text-transform: uppercase;
}
h5 {
	font-weight: 700;
	line-height: 20px;
	text-transform: uppercase;
}
p {
	font-size: 16px;
}
p.intro {
	margin: 12px 0 0;
	line-height: 24px;
}
a {
	color: #c31b1f;
}
a:hover, a:focus {
	text-decoration: none;
	color: #222;
}
ul, ol {
	list-style: none;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
ul, ol {
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
}
hr {
    height: 2px;
    width: 200px;
    text-align: center;
    position: relative;
    margin: 0;
    margin-bottom: 30px;
    border: 0;
    background-color: #93bfd4;
	
}
.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
	outline: none;
	outline-offset: none;
}

/* Navigation */
#menu {
	/*padding: 5px 0;*/
	transition: all 0.3s;
}
#menu.navbar-default {
    background-color: rgba(36, 136, 176,0.8);
    border-color: rgba(30,115,150,0);
}
#menu a.navbar-brand {
	font-size: 1.3em;
	color: #FFFFFF;
	font-weight: 500;
	letter-spacing: 1px;
}
@media(max-width:767px) {
.navbar-header > .navbar-brand {
	   color: rgba(255,255,255,1);
	   width: 80%;
	   padding: 5px 10px 10px 15px;
    }
#menu a.navbar-brand {
    font-size: 1em;
	font-weight: 400;
}	
}

#menu.navbar-default .navbar-nav > li > a {
	text-transform: uppercase;
	color: #fff;
	font-weight: 500;
	font-size: 1.2em;
	padding: 5px 0;
	border: 2px solid transparent;
	letter-spacing: 0.5px;
	margin: 10px 15px 0 15px;
}
#menu.navbar-default .navbar-nav > li > a:hover {
    color: #BBDCE9;
}
.on {
	background-color: rgba(36, 136, 176,1) !important;
	padding: 0 !important;
	/*padding: 10px 0 !important;*/
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #BBDCE9 !important;
    background-color: transparent;
}
.navbar-toggle {
	border-radius: 0;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: rgba(36, 136, 176,1);
    border-color: rgba(30,115,150,1.00);
}
.navbar-default .navbar-toggle:hover>.icon-bar {
	background-color: #FFF;
}
.section-title {
	margin-bottom: 40px;
}
.section-title .overlay {
	padding: 80px 0;
	background: rgba(0, 0, 0, 0.7);
}
.section-title p {
	font-size: 22px;
	color: rgba(255,255,255,0.8);
}
.section-title hr {
	margin: 0 auto;
	margin-bottom: 20px;
}
.btn-custom {
	text-transform: uppercase;
	color: #fff;
	background-color: #2489b0;
	border: 0;
	padding: 14px 20px;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.5px;
	border-radius: 0;
	margin-top: 20px;
	transition: all 0.5s;
}
.btn-custom:hover, .btn-custom:focus, .btn-custom.focus, .btn-custom:active, .btn-custom.active {
	color: #fff;
	background-color: #2489b0;
}
/* Header Section */

header {
    display: table;
    width: 100%;
	min-height: 100%;
    padding: 0;
    background: url(../images/main.jpg) no-repeat center center;
    background-color: #2489b0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
.intro .overlay {
	background: rgba(0,0,0,0);
}
.intro h1 {
	font-family: 'Dancing Script', cursive;
	color: #fff;
	font-size: 10em;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 10px;
}
.intro span {
    color: #1B86C3;
    font-weight: 600;
}
.intro p {
	color: #fff;
	font-size: 32px;
	font-weight: 300;
	margin-top: 10px;
	margin-bottom: 40px;
}
header .intro-text {
	/* 
	padding-top: 470px;
    padding-bottom: 100px;
    text-align: center;
	*/
}
/* Media Queries 767px */
@media (max-width: 767px) {
header {
	width: 100%;
	height: 95%;
	background: url(../images/main-m.jpg) no-repeat center center;	
	background-position: center 50px;
	background-color: #c95348;
	background-size: contain;
    }
header .intro-text {
	/*padding-top: 95%;*/
}
.logo{
	display: none;
	/*width: 80%;
	height: auto;*/
}	
/*	
.section-title .overlay {
	padding: 25px 0 5px 0;
	background: url(../images/title-bg-m.jpg) no-repeat;
	background-size: cover;
}
*/
}
	
@media screen and (max-device-width: 767px) and (orientation: landscape)  {
    header {
	width: 100%;
	height: 100%;
	background-color: #2489b0;
	background-image: url(../images/main.jpg);
	background-size: contain;
	background-position: center top;
	background-repeat: no-repeat;	
    }
}

/* About Section */
#about {
	/*padding: 50px 0 0 0;
	background: url(../images/bg.png) repeat;*/
	padding: 80px 0 100px 0;
	color: #fff;
	background: #1d7394 url(../images/plot-bg.jpg) center center no-repeat;
	background-size: cover;
}
#about h3 {
	font-size: 20px;
}
#about .about-text {
    padding-top: 50px;

}
#about .about-img {
	display: inline-block;
	position: relative;
	bottom: -5px;
}
#about .about-img:before {
	display: block;
	content: '';
	position: absolute;
	top: 8px;
	right: 8px;
	bottom: 0px;
	left: 8px;
}
#about p {
    font-size: 1.3em;
    line-height: 1.7em;
    margin: 15px 0 30px;
    color: #000000;
	text-align: justify;
}

/* Cast Section */
#cast {
	color: #fff;
	background: #1d7394 url(../images/cast-bg.jpg) center top no-repeat fixed;
	background-size: cover;
}
#cast .overlay {
	padding: 80px 0 80px 0;
	background: rgba(36, 136, 176, 0.55);
}
#cast h2, #cast p {
	color: #fff;
}
#cast h3 {
	color: #FC5255;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	margin: 5px 0;
}
#cast img {
	width: 300px;
}
#cast .thumbnail {
	background: transparent;
	border: 0;
}
#cast .thumbnail .cast-img {
	display: inline-block;
	position: relative;
	box-shadow: 0px 4px 8px rgba(0,0,0,0.5);
}
#cast .thumbnail .cast-img:before {
	display: block;
	content: '';
	position: absolute;
	top: 8px;
	right: 8px;
	bottom: 8px;
	left: 8px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}
#cast .thumbnail .caption {
	padding-top: 10px;
}
#cast .thumbnail .caption p {
    color: rgba(255,255,255,1);
    padding: 10px 10px;
    font-size: 1.3em;
    line-height: 1.6em;
    text-align: justify;
}

/* Story Section */
#story {
	padding: 80px 0 80px 0;
	background: url(../images/bg.png) repeat;
}
#story .section-title h2 {
	color: #333;
}
#story img {
	width: 300px;
	box-shadow: 15px 0 #e9d7c7;
}
#story h3 {
	padding: 10px 0;
	text-transform: uppercase;
}
#story .story-section hr {
	margin: 0 auto;
}
#story .story-section {
	margin-top: 30px;
	margin-right: 15px;
	margin-left: 15px;
	margin-bottom: 30px;
}
#story .story-section-title {
    font-size: 1.8em;
    display: block;
    font-weight: 500;
    color: #fff;
    padding: 10px 0;
    margin: 10px auto;
    background-color: rgba(30,115,150,1);
    text-align: center;
    text-decoration: none;
	width:160px;
}
#story .story-item {
	margin: 10px 0;
	/*background-color: rgba(255,237,204,0.20);*/
	/*box-shadow: 0px 4px 8px rgba(0,0,0,0.2);*/
}
#story .story-item-description {
	font-size: 1.3em;
	line-height: 1.6em;
	color: #000000;
	padding: 20px;
	text-align: left;
}
#story .story-border {
    margin: 20px;
	padding: 25px;
	border: 1px solid #4386b1;
}
@media (max-width: 767px) {
#story .story-border {
    margin: 10px 5px;
	padding: 20px 15px;
	border: 1px solid #4386b1;
}
    }

/* Portfolio Section */
#portfolio {
	color: #fff;
	background: #1d7394 url(../images/photo-bg.jpg) center center no-repeat fixed;
	background-size: cover;
}
#portfolio .overlay {
	padding: 80px 0 80px 0;
	background: rgba(36, 136, 176, 0.5);
}
#portfolio .section-title h2 {
	color: #fff;
}
.categories {
	padding-bottom: 30px;
	text-align: center;
}
ul.cat li {
	display: inline-block;
}
ol.type li {
	display: inline-block;
	margin: 0 10px;
	padding: 20px 0;
}
ol.type li a {
	color: #999;
	font-weight: 500;
	font-size: 14px;
	padding: 12px 24px;
	background: #eee;
	border: 0;
	border-radius: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
ol.type li a.active {
	color: #fff;
	background-color: #c31b1f;
}
ol.type li a:hover {
	color: #fff;
	background-color: #c31b1f;
}
.isotope-item {
	z-index: 2
}
.isotope-hidden.isotope-item {
	z-index: 1
}
.isotope, .isotope .isotope-item {
	/* change duration value to whatever you like */
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	transition-duration: 0.8s;
}
.isotope-item {
	margin-right: -1px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.isotope {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	transition-property: height, width;
}
.isotope .isotope-item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	transition-property: transform, opacity;
}
.portfolio-item {
	margin: 15px 0;
}

@media (max-width: 767px) { 
.portfolio-item {
	width: 100%;
	margin: 15px 10%;
}
}

.portfolio-item .hover-bg {
	overflow: hidden;
	position: relative;
}
.portfolio-item .hover-bg:before {
	display: block;
	content: '';
	position: absolute;
	top: 6px;
	right: 6px;
	bottom: 6px;
	left: 6px;
	border: 1px solid rgba(255, 255, 255, 0.6);
}
.hover-bg .hover-text {
	position: absolute;
	text-align: center;
	margin: 0 auto;
	color: #fff;
	background: rgba(0, 0, 0, 0.6);
	padding: 30% 0 0 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: all 0.5s;
}
.hover-bg .hover-text>h4 {
	opacity: 0;
	color: #fff;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	transition: all 0.3s;
	font-size: 17px;
	letter-spacing: 0.5px;
	font-weight: 500;
}
.hover-bg:hover .hover-text>h4 {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.hover-bg:hover .hover-text {
	opacity: 1;
}

/* Video Section */
#video {
	padding: 100px 0 100px 0;
	display: table;
	width: 100%;
	height:auto;
	background: url(../images/video-bg.jpg) no-repeat center center;
	background-color: #1d7394;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
#video .section-title h2 {
	color: #333;
}
  .video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 100px;
	z-index: 99;  
  }
  .video-container iframe,
  .video-container object,
  .video-container embed {
    border: 5px solid #1d7394;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

/* Footer Section*/
#footer {
	padding: 5px 0;
	transition: all 0.3s;
	background-color: rgba(36, 136, 176,0.8);
}
#footer .copyright-text {
	font-size: 14px;
	color: #FFFFFF;
}
		
.fb-like { 
	vertical-align: text-top; 
}


canvas {
  width: 100%;
  position: fixed;	
  z-index: 1;
  opacity: 0.6;	
}

