@charset "utf-8";
@font-face {
    font-family: "Myriad Pro";
    src: url(../extra/MyriadPro-Regular.otf);
}

body,html {
	height:100%;
	width: 100%;
	font-family:"微軟正黑體" ,"Myriad Pro";
	letter-spacing:1px;
	overflow-x:hidden;
}
 /*nav manu---------------------------------------------------------*/
.button_container {
	position: fixed;
	top: 30px;
	right: 30px;
	height: 27px;
	width: 35px;
	cursor: pointer;
	z-index: 100;
	-webkit-transition: opacity .25s ease;
	transition: opacity .25s ease;
}
.button_container:hover {
	opacity: .7;
}
.button_container.active .top {
	-webkit-transform: translateY(11px) translateX(0) rotate(45deg);
	transform: translateY(11px) translateX(0) rotate(45deg);
	background: #FFF;
}
.button_container.active .middle {
	opacity: 0;
	background: #FFF;
}
.button_container.active .bottom {
	-webkit-transform: translateY(-11px) translateX(0) rotate(-45deg);
	transform: translateY(-11px) translateX(0) rotate(-45deg);
	background: #FFF;
}
.button_container span {
	background: #fff;
	border: none;
	height: 5px;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transition: all .35s ease;
	transition: all .35s ease;
	cursor: pointer;
}
.button_container span:nth-of-type(2) {
	top: 11px;
}
.button_container span:nth-of-type(3) {
	top: 22px;
}

#overlay {
	position: fixed;
	background: #0c7b8d;
	top: 0;
	left: 0;
	width: 100%;
	height: 0%;
	opacity: .4;
	visibility: hidden;
	-webkit-transition: opacity .35s, visibility .35s, height .35s;
	transition: opacity .35s, visibility .35s, height .35s;
	overflow: hidden;
	z-index:10;
}
#overlay.open {
	opacity: .9;
	visibility: visible;
	height: 100%;
}
#overlay.open li {
	-webkit-animation: fadeInRight .5s ease forwards;
	animation: fadeInRight .5s ease forwards;
	-webkit-animation-delay: .35s;
	animation-delay: .35s;
}
#overlay.open li:nth-of-type(2) {
	-webkit-animation-delay: .4s;
	animation-delay: .4s;
}
#overlay.open li:nth-of-type(3) {
	-webkit-animation-delay: .45s;
	animation-delay: .45s;
}
#overlay.open li:nth-of-type(4) {
	-webkit-animation-delay: .50s;
	animation-delay: .50s;
}
#overlay nav {
	position: relative;
	height: 70%;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	font-size: 50px;
	font-weight: 400;
	text-align: center;
}
#overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	position: relative;
	height: 100%;
}
#overlay ul li {
	display: block;
	height: calc(100% / 8);
	min-height: 50px;
	position: relative;
	opacity: 0;
}
#overlay ul li a {
	font-size:.5em;
	display: block;
	position: relative;
	color: #FFF;
	text-decoration: none;
	overflow: hidden;
}
#overlay ul li a:hover:after, #overlay ul li a:focus:after, #overlay ul li a:active:after {
	width: 100%;
}
#overlay ul li a:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	height: 3px;
	background: #FFF;
	-webkit-transition: .35s;
	transition: .35s;
}

@-webkit-keyframes fadeInRight {
 0% {
	opacity: 0;
	left: 20%;
}
 100% {
	opacity: 1;
	left: 0;
}
}

@keyframes fadeInRight {
 0% {
	opacity: 0;
	left: 20%;
}
 100% {
	opacity: 1;
	left: 0;
}
}

/*scroll---------------------------------------------------------*/
#scroll {
	padding-top:15%;
	font-size:16px;
	text-align:center;
}
#scroll a p{
	position:absolute;
	bottom:4%;
	left: 50%;
	margin-left:-86px;
}
#scroll a{
	color:#fff;
}
#scroll a span {
	position:absolute;
	top: 82%;
	left: 50%;
	width: 24px;
	height: 24px;
	margin-left: -12px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-animation: sdb07 2s infinite;
	animation: sdb07 2s infinite;
	opacity: 0;
	box-sizing: border-box;
}
#scroll a span:nth-of-type(1) {
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}
#scroll a span:nth-of-type(2) {
	top: 84%;
	-webkit-animation-delay: .15s;
	animation-delay: .15s;
}
#scroll a span:nth-of-type(3) {
	top: 86%;
	-webkit-animation-delay: .3s;
	animation-delay: .3s;
}
@-webkit-keyframes sdb07 {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes sdb07 {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

/*All setting---------------------------------------------------------*/
main{
	width:100%;
	height:100%;
	display: table;
	background-repeat: no-repeat;
	text-align:center;
	position:relative;
	top:0;
    left:0;
	padding-top:8%;
}
article{
	display: block;
	background-repeat: no-repeat;
	margin:0 15px;
	padding-bottom:30px;
}
#content {
	background-color: rgba(255,255,255,.7);
	border-radius:20px;
	text-align:left;
	padding:30px;
	padding-top:10px;
	margin-top:12%;
}
#title{
	color:#fff;
	margin-top:18px;
	font-size:2em;
}
#subject{
	color:#0c858d;
	font-size:1.8em;
	line-height:2.6em;
	border-bottom:#0c858d solid 3px;
}
#subject2{
	color:#003f3e;
	font-size:2em;
	font-weight:600;
	line-height:2.2em;
}
#sub_title{
	color:#303030;
	font-size:1.3em;
	line-height:1.7em;
}
#word{
	color:#303030;
	font-size:1.1em;
	margin-top:16px;
}
#myBtn{
	width:100%;
	background:none;
	border:none;
	padding:0;
	margin:0;
}
#sub_title1 {
	color:#fff;
	font-size:1.3em;
	line-height:1em;
	margin-top:10px;
}

/*single---------------------------------------------------------*/
.bg1{
	background:url(../images/bg1.png),cover,#167b8d; /* Old browsers */
	background:url(../images/bg1.png),-moz-linear-gradient(top, #167b8d 1%, #769e97 100%); /* FF3.6-15 */
	background:url(../images/bg1.png),-webkit-linear-gradient(top, #167b8d 1%,#769e97 100%); /* Chrome10-25,Safari5.1-6 */
	background:url(../images/bg1.png),linear-gradient(to bottom, #167b8d 1%,#769e97 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#167b8d', endColorstr='#769e97',GradientType=0 );
	background-size:cover;
}
#top img{
	width:70%;
	margin:2em auto;
}
.bg2 {
	background:url(../images/bg2.png),cover,#769e97; /* Old browsers */
	background:url(../images/bg2.png),-moz-linear-gradient(top, #769e97 1%, #f0bca4 100%); /* FF3.6-15 */
	background:url(../images/bg2.png),-webkit-linear-gradient(top, #769e97 1%,#f0bca4 100%); /* Chrome10-25,Safari5.1-6 */
	background:url(../images/bg2.png),linear-gradient(to bottom, #769e97 1%,#f0bca4 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#769e97', endColorstr='#f0bca4',GradientType=0 );
	background-size:cover;
}
.bg3{
	background:url(../images/bg1.png),cover,#f0bca4; /* Old browsers */
	background:url(../images/bg1.png),-moz-linear-gradient(top, #f0bca4 1%, #167b8d 100%); /* FF3.6-15 */
	background:url(../images/bg1.png),-webkit-linear-gradient(top, #f0bca4 1%,#167b8d 100%); /* Chrome10-25,Safari5.1-6 */
	background:url(../images/bg1.png),linear-gradient(to bottom, #f0bca4 1%,#167b8d 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0bca4', endColorstr='#167b8d',GradientType=0 );
	background-size:cover;
}
#intro img {
	position:absolute;
	bottom:0;
	left:3%;
	width:90%;
	height:auto;
}
#exhibit img {
	position:absolute;
	top:0;
	left:3%;
	width:90%;
	height:auto;
}
#position img {
	position:absolute;
	bottom:0;
	right:3%;
	width:90%;
	height:auto;
}
#fb_qr img {
	position:absolute;
	top:0;
	right:3%;
	height:100%;
}
#teacher1 .col-md-3, #teacher01 .col-xs-6,#teacher2 .col-md-3, #teacher02 .col-xs-6 {
	margin-top:16px;
}
#teacher1 img,#teacher2 img {
	margin-bottom:10px;
}
@media (max-width:1200px){
 #scroll {
	padding-top:12%;
}
 main{
	 padding-top:20%;
}
}
@media (max-height:850px){
#top{
	padding-top: 3%; 
}
main{
	padding-top: 0; 
}
#content {
    margin-top: 10%; 
}
#teacher1 img,#teacher2 img {
	width:70%;
}
}
@media (max-width:768px){
 .button_container {
	top: 20px;
	right: 20px;
}
 #scroll {
	padding-top:20%;
}
 #scroll a span {
	top: 72%;
 }
 #scroll a span:nth-of-type(2) {
	top: 75%;
}
 #scroll a span:nth-of-type(3) {
	top: 78%;
}
 main{
	 padding-top:20%;
}
 #title{
	 font-size:1.2em;
}
 #top img{
	width:100%;
}
 #intro img {
	width:100%;
}
 #exhibit img {
	width:100%;
}
#fb_qr img {
	width:100%;
	height:auto;
	right:0;
}
 #teacher1 img, #teacher2 img {
	width:50%;
}
 #teacher1 .col-md-3, #teacher01 .col-xs-6 {
	margin-top:4px;
}
 #teacher2 .col-md-3, #teacher02 .col-xs-6 {
	margin-top:4px;
}
 #myBtn{
	width:80%;
}
}
@media (max-width:450px){
 #scroll {
	padding-top:20%;
}
 #scroll a span {
	top: 80%;
 }
 #scroll a span:nth-of-type(2) {
	top: 82%;
}
 #scroll a span:nth-of-type(3) {
	top: 84%;
}
 main{
	 padding-top:15%;
}
 #content {
	background-color: rgba(255,255,255,0.90);
	border-radius:20px;
	text-align:left;
	padding:20px;
	margin-top:15%;
}
}