@charset "utf-8";
/* CSS Document */
*{box-sizing:border-box;}
html{
	-webkit-text-size-adjust:none;
  font-family:Verdana, 'Noto Sans TC','Microsoft JhengHei', sans-serif;
  font-size: 16px;
  text-align: center;
  margin: 0;
  height: 100%;
}
/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Bree+Serif);

body {
	font-size:22px;
	line-height: 32px;
	color: #ffffff;
	margin: 0;
	padding: 0;
	word-wrap:break-word !important;
	font-family: 'Open Sans', sans-serif;
  height: 100%;
	}

h1 {
	font-size: 60px;
	text-align: center;
	color: #FFF;
}	

h3 {
	font-size: 30px;
	line-height: 34px;
	text-align: center;
	color: #FFF;
}

h3 a {
	color: #FFF;
}

a {
	color: #FFF;
}

img{
  display: block;
  width: 100%;
  margin: 0;
}

header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #373d49;
	padding: 0px 150px 0px 32px;
}
.nm_logo{
	width: 4%;
}


/* header menu -----------------------------------------------------------------*/
#container {
	margin: 0 auto;
	max-width: 890px;
}

p {
	text-align: center;
}

.toggle,
[id^=drop] {
	display: none;
}

/* Giving a background-color to the nav container. */
nav { 
	margin: 0;
  padding: 0;
  z-index: 1;
  position: relative;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #373d49;
}

/* Styling the links */
nav a {
	display:block;
	padding:14px 20px;	
	color:#FFF;
	font-size:20px;
	text-decoration:none;
}


nav ul li ul li:hover { background: #000000; }

/* Background color change on Hover */
nav a:hover { 
	background-color: #000000; 
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 60px; 
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:200px;
	float:none;
	display:list-item;
	position: relative;
	background-color: #454c56;
}
nav ul ul li a{
	line-height: 1.4;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-60px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:200px; 
}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' +'; }
li > a:only-child:after { content: ''; }


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {

	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Stylinf the toggle lable */
	.toggle {
		display: block;
		background-color: #373d49;
		padding:8px 20px;	
		color:#FFF;
		font-size:20px;
		text-decoration:none;
		border:none;
	}

	.toggle:hover {
		background-color: #000000;
	}

	/* Display Dropdown when clicked on Parent Lable */
	[id^=drop]:checked + ul {
		display: block;
		width: 100%;
	}

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
	}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav a:hover,
 	nav ul ul ul a {
		background-color: #000000;
	}
  
	nav ul li ul li .toggle,
	nav ul ul a,
  	nav ul ul ul a{
		padding:8px 20px;	
		color:#FFF;
		font-size:20px; 
	}
  
  
	nav ul li ul li .toggle,
	nav ul ul a {
		background-color: #212121; 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		color: #ffffff;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 
	}

	header {
		display: block;
		width: 100%;
		padding: 0;
	}
	.nm_logo {
		width: 12%;
        padding: 10px;
	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}
/* header menu end -----------------------------------------------------------------*/


.wrapper{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main{
  flex: 1;
}

footer{
  background-color: #303030;
  padding: 12px 20px;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* index page */
.visualArea{
  position: relative;
  color: #000000;
}
.wordingBox{
  position: absolute;
  left: 50%;
  top: 6%;
  transform: translate(-50%, 0%);
  width: 35%;
}
.wordingBox p{
  font-size: 22px;
	margin: 4% 0;
	line-height: 1.4;
}
.visualBg{
  display: block;
}
.visualBg_mb{
  display: none;
}
/* index page end*/

/* edu page */
.kvArea{
  position: relative;
  color: #000000;
}
.kvWordingBox{
  position: absolute;
  left: 25%;
  top: 30%;
  transform: translate(-50%, 0%);
  width: 15%;
}
.kvWordingBox p{
  font-size: 24px;
  margin: 4% 0;
  line-height: 1.6;
}
.contentList{
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(400px, 1fr)
  );
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.eduContent{
  width: 90%;
  max-width: 1400px;
  margin: 3% auto;
  color: #000000;
}
.contentList li{
  margin-bottom: 2%;
}
.contentList p{
  font-size: 20px;
}
/* edu page end*/

/* glory page */
.gloryContent{
	background: url(../images/nm_bg.jpg);
	width: 100%;
	padding: 3%;
	background-position: 50% 0;
}
.kvWordingBox2{
  width: 30%;
}
.videoBox{
  width: 100%;
  max-width: 800px;
  margin: 0 auto 3% auto;
}
/*iframe youtube-------------------------------------------------*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

    .video-container iframe, .video-container object, .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
/*iframe youtube-------------------------------------------------*/

.btnArea{
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 2% auto;
    width: 90%;
    max-width: 800px;
}
.gloryBtn{
	margin: 0 2%;
	display: block;
}
.btnArea p{
	color: #000000;
    padding-left: 4em;
}

/* article page */
.articleContent{
	color: #000000;
	width: 90%;
	max-width: 800px;
	margin: 0 auto;
}
.articleContent2{
	color: #000000;
	width: 90%;
	max-width: 300px;
	margin: 0 auto;
}
.articleContent h3,.articleContent2 h3{
	font-size: 24px;
	color: #000000;
}
.articleContent h4{
	font-size: 18px;
	text-align: right;
    margin-bottom: 1em;
}
.articleBox{
	// 1. 如果下面把溢出部份hidden掉了，就繞不了囉！
	// overflow: hidden; 
	// 2. 在這裡清除浮動(下兩種都不行)，文繞圖也是會失敗！
	// clear: both; 
	// @extend %clearfix;
	margin-top: 3%;
}
.articleBox2{
	margin-top: 3%;
}
.float-item {
  width: 90%;
  max-width: 250px;
  height: auto;
  margin: 10px;
  float: left;
}
.articleBox p{
	font-size: 18px;
	text-align: left;
    text-indent: 2em;
}
.articleBox2 p{
	font-size: 18px;
	text-align: left;
}
.articleBox img{
	margin: 2% 0;
}
.articleBox2 img{
	width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
.nextBtn{
	background-color: #3b4f80;
    border-radius: 50px;
    font-size: 18px;
    padding: 4px 30px;
    text-decoration: none;
	margin: 0 1%;
}
/* article page end*/

/* glory page end*/

/* book page*/
.colorW{
	color: #ffffff;
}
.name{
	text-align: center;
	text-indent: 0;
	font-size: 18px;
}
.articleTitle{
	width: 90%;
    margin: 0 auto 2% auto;
    max-width: 200px;
}
.bookName{
	color: #000000;
	margin-top: 1%;
}
.videoContent{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}
.videoWrapper{
	width: 48%;
    margin: 0 1% 2% 1%;
}
.articleContent_story h3{
	color: #000000;
	width: 90%;
	max-width: 800px;
	margin: 0 auto 2% auto;
	font-size: 24px;
}
/* book page end*/

/* art page */
.articleBox_artPainting p{
	font-size: 18px;
	margin: 1% 0;
	text-align: left;
	line-height: 1.6;
}
.art4work{
	display: block;
	width: 90%;
	max-width: 1440px;
	margin: 0 auto;
}
.art4work_mb{
	display: none;
}

.artConBox{
	width: 90%;
    max-width: 600px;
    margin: 0 auto;
}


/* owl */
.owl-carousel .owl-item{
	background-color: rgb(0 0 0 / 0)!important;
}
.articleAuthor{
  font-size: 24px;
  margin:0 auto 2% auto;
  position: relative;
  z-index: 0;
  text-decoration: underline;
}

.articleArea{
    margin: 5% auto 0 auto;
}
.articleBg{
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
}
.owl_conImg{
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.owl_conImg2{
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.owl_conImg3{
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

.artOwlArea{ 
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
/* .artCarouselBox{
  position: absolute;
  width: 50%;
  top: 60%;
  left: 50%;
  transform: translate(-50%,0);
  z-index: 1;
} */
.carouselNav,.carouselNav2 {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  width: 100%;
}
button{ border:0;}
.carouselNav .carouselNav_prev,.carouselNav2 .carouselNav_prev{ left: 5px;}
.carouselNav .carouselNav_next,.carouselNav2 .carouselNav_next{ right: 5px;}
.carouselNav .carouselNav_prev:focus,.carouselNav2 .carouselNav_prev:focus,
.carouselNav .carouselNav_next:focus,.carouselNav2 .carouselNav_next:focus { outline: none;}
.carouselNav .carouselNav_prev,.carouselNav2 .carouselNav_prev,
.carouselNav .carouselNav_next,.carouselNav2 .carouselNav_next{
width: 50px;
height: 50px;
border-radius: 50%;
background: #373d49;
z-index: 1;  
}
.carouselNav .carouselNav_prev:before,.carouselNav2 .carouselNav_prev:before,
.carouselNav .carouselNav_next:before,.carouselNav2 .carouselNav_next:before{
position: absolute;
content: '';
display: inline-block;
width: 0;
height: 0;
border: 12px solid transparent;  
top: 25%;  
}
.carouselNav .carouselNav_prev:before,.carouselNav2 .carouselNav_prev:before{border-right-color: #fff!important;left: 10%;}
.carouselNav .carouselNav_next:before,.carouselNav2 .carouselNav_next:before{border-left-color: #fff!important;left: 40%;}
.carouselNav .carouselNav_prev,.carouselNav2 .carouselNav_prev,
.carouselNav .carouselNav_next,.carouselNav2 .carouselNav_next {
  position: absolute;
  color: #000;
  font-size: 26px;
  margin: 0px;
  padding: 4px 10px 8px 10px;
  background:#373d49;
  display: inline-block;
  cursor: pointer;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  border: none;
}
.carouselNav2 .carouselNav_prev,.carouselNav2 .carouselNav_next {background: rgba(247,144,43,1);}

.articleTeacher{
  margin-bottom: 2%;
}
/*.owl end */

.navMenu_page{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 90%;
	max-width: 1000px;
	margin: 0 auto 2% auto;
}
.navMenu_box{
	display: inline-block;
	background-color: #2539f5;
	border-radius: 50px;
    padding: 6px 50px;
    color: #ffffff;
	margin: 1%;
	font-size: 20px;
}

/* art page end */


/* treasure page */
.treasureBtn{
	display: inline-block;
    background-color: #2539f5;
    border-radius: 50px;
    padding: 6px 50px;
    color: #ffffff;
}
.wordingBox2{
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translate(-50%, 0%);
  width: 35%;
}
.wordingBox2 p{
  font-size: 24px;
    margin: 4% 0;
    line-height: 1.6;
}
/* treasure page end */

@media (max-width: 768px) {
/* index page */
  .visualBg{
    display: none;
  }
  .visualBg_mb{
    display: block;
  }
  .wordingBox{
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%, 0%);
    width: 90%;
  }
  .wordingBox p {
    font-size: 18px;
  }
/* index page end*/

/* edu page */
  .kvWordingBox {
      position: absolute;
      left: 50%;
      top: 25%;
      transform: translate(-50%, 0%);
      width: 40%;
  }
/* edu page end*/

/* glory page */
	.gloryContent {
		padding: 8% 0;
	}
	.videoBox {
		margin: 0 auto 8% auto;
	}
	.kvWordingBox2{
		width: 90%;
	}
/* glory page end */

	.videoWrapper {
		width: 100%;
	}

	/* art page */
	.art4work{
		display: none;
		width: 90%;
		max-width: 1440px;
		margin: 0 auto;
	}
	.art4work_mb{
		display: block;
		width: 90%;
		margin: 0 auto;
	}
	/* art page end */
	.wordingBox2{
		width: 60%;
	}
	.wordingBox2 p{
		font-size: 20px;
	}

}

@media (max-width: 480px) {
  .contentList{
    grid-template-columns: repeat(
      auto-fit,
      minmax(300px, 1fr)
    );
  }
/* glory page */
	.btnArea{
		display: block;
	}
	.gloryBtn{
		width: 100%;
		margin-bottom: 6%;
	}
/* glory page end */

.wordingBox2{
	width: 90%;
}

  
}

