/* css reset 歸0 */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,caption,tfoot,thead{margin:0;padding:0;border:0;outline:0;font-size:100%}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
:focus{outline:0}
ins{text-decoration:none}
del{text-decoration:line-through}
/* css reset 歸0 end */

body{margin:0 auto;padding:0;font-family: 'Noto Sans TC', sans-serif;background: #f1f6ff;}
#BodyContainer{margin:0 auto}
#BodyContentEvent{width:100%}
#event{background-color: #fff;}
#event a:hover{text-decoration:none;left:1px;top:1px;position:relative}
article{background: url(../images/1112050_2_03.png) center 110% / 100% auto no-repeat, linear-gradient(to bottom, white 36%, #E0DBEB 50%, white 74%);}
.flex{display: flex;flex-wrap: wrap;}
.banner img{width: 100%;}
.mag_group{justify-content: center;width: 90%;margin: auto;}
.mag_group figure img{max-width: 100%;}
.mag_group a, .books a {color: #0457a7;font-family: "Microsoft JhengHei";}
.mag_group figcaption{margin-top: .5rem;}
figure{width: calc(100%/4 - 2%);text-align: center;margin: 1rem auto;}
h1{font-size: 3rem;}
h2{font-size: 2rem;}
h3{font-size: 1.5rem;}

/* 知識素養 */
#event_mag .mag_container {margin-top: -6.8rem;}
.mag_container {display: flex;flex-wrap: wrap;justify-content: center;align-items: flex-start;}
.mag_container h3{
	width: 5%;writing-mode: tb-rl;text-orientation: upright;display: inline-block;
	background: linear-gradient(to right, #8CC2E9 0%, #3D69AD 100%);border-radius: 0 20px 20px 0;padding: 1.2rem 1rem;color: white;
	text-shadow: 1.5px 0 3px #717171,-1.5px 0 3px #717171,0 1.5px 3px #717171,0 -1.5px 3px #717171,0 0 9px #717171;letter-spacing: 0.1rem;
}
#event_third .mag_container {margin-block-start: 2.5rem;}

/*書單*/
.booklist{margin:1rem auto 2rem;width: 86%;}
.books, .books th, .books td {border-collapse: collapse;padding: .4rem 1rem;border: 2px solid white;color: #121212;}
.books tr th:nth-of-type(1) { background: linear-gradient(to bottom, #DDD8D1 0%, #A1969A 100%);border-radius: 20px 0px 0 0;}
.books tr th:nth-of-type(2) { background: linear-gradient(to bottom, #DDD8D1 0%, #A1969A 100%);border-radius: 0 20px 0 0; }
.books tr {background: linear-gradient(to right, #DADADB 0%, #FFF8A7 100%);}
.books td:nth-child(4){color: red}
.books .bottom_line{border-bottom: solid 1px #cacaca;margin-bottom: 1rem;}
.books p{text-align: left}
.books [class*="ball"]{
	display: flex;justify-content: center;align-items: center;padding: 1rem;font-size: 1.2rem;
	font-weight: bold;width: 3.2rem;height:3.2rem;border-radius: 50%;color: white;
	margin: .8rem .3rem;
}
.books .ball1{background-color: #79BC35;}
.books .ball2{background-color: #2EABE3;}
.books .ball3{background-color: #CB9347;}
.books .ball4{background-color: #2984B1;width: 5rem;height: 5rem;padding: 0;}
nav{text-align: center;color: black;font-size: 1.2rem;text-align: center;}
nav a{color: #932226;}
#event_buy,#event_buy a{background-color: #7F3790;color: white;}
#event_buy{
	display: flex;flex-wrap: wrap;justify-content: space-around;align-items: center;margin: auto;
	font-size: 1.3rem;font-weight: 400;padding: 1rem 3rem .5rem;
}
.buy span{color: #FFF682;}
.buy p{margin-bottom: .6rem;}
.cover img{max-width: 100%;width: 80%;}

/* notice */
#event_notice{
	text-align:left;float:left;width:100%;padding:2% 0;
	/*background:linear-gradient(to bottom,#00A93A 0%,#6BB72D 70%);*/
	background: linear-gradient(to right, #88C5DF , #81AEDD);
}

/*各大相容檢視*/
@media screen and (-webkit-min-device-pixel-ratio:0) { /*Webkit*/
}
@-moz-document url-prefix(){/*Firefox*/
}

@media \0screen\,screen\9 {/*IE 6 7 8*/
}

@media screen\0 {/*IE 8 9 10 11*/
}

@media print {
}




@media all and (min-width: 1201px){
#BodyContainer,#BodyContentEvent{width:850px}

/* Event css */
#event,
#event_master,
#event_mag,
#event_third {
	width: 100%;
	margin:0 auto;
	padding:0;
}

    
/* bodyHeader */
#BodyHeader #header-share{line-height:1.2em;font-size:13px;color:#000;text-align:center;border-collapse:separate}
#BodyHeader #header-share img{height:auto;vertical-align:middle;display:inline}
#BodyHeader #header-share a{font-size:13px;color:#000;text-decoration:underline}
#BodyHeader_m{display:none}

/* news */
#event_news{width:100%;clear:both;height:auto;margin:0;float:left;background-color:#fffde7;padding:3% 0;}
#event_news .NewsStyle_title{font-size:1.1rem;color: #F44336}
#event_news .NewsStyle{font-size:0.9rem;color:#000;}
#event_news .NewsStyle a:link{color:#000;}
#event_news .NewsStyle a:visited{color:#000;}
#event_news .NewsStyle a:hover{color:#333;}
#event_news .NewsStyle a:active{color:#000;}
/* news end*/

#event_notice p{font-size:.9rem;line-height:22px;margin-left:14%;color: #fff;}

/* Footer */
#BodyFooter_rwd,#footer_address,#footer_address ul,#footer_address ul li{width:100%;}
#BodyFooter_rwd{float: left;background-color:#FFF;}
#BodyFooter_rwd a:hover{text-decoration: none;}
#BodyFooter_rwd #footer_address{margin: 0% auto auto auto;text-align: center;}
#BodyFooter_rwd #footer_address a{color:#000;}
#BodyFooter_rwd #footer_address ul{padding:0;margin: 1% 0;text-align: center;}
#BodyFooter_rwd #footer_address ul li{margin-right:0;text-align: center;font-size: .9rem;list-style-type: none;	display:inline-block;    margin-top: 0.3rem;}
#BodyFooter_rwd #footer_address ul li img{max-width:100%;height:auto;vertical-align: middle;display: inline;}
#BodyFooter_rwd #footer_address ul br{display: none}
/* Footer end */

/* 舊版IE */
#noie{background-color:#FFF;width:100%;text-align:center}
/* 舊版IE end */
#topbutton{display:none;}

}

@media (min-width:768px) and (max-width:1199px){
	.mag_group figure img{box-shadow: 0px 2px 6px gray;}
}

@media (max-width:767px){
	figure,figure:nth-of-type(n+4):nth-of-type(-n+6){width: calc(100%/2 - 6%);margin: 0 auto 1rem;}
	.buy{margin: 1rem 0;}
	.buy+div{margin: 1rem 0;}
	.mag_group, .booklist { width: 96%; }
	#event_mag .mag_container{ flex-direction: row;margin-top: -3rem; }
	.mag_container h3{width: initial;border-radius: 20px;writing-mode: horizontal-tb;padding: .6rem 2.5rem;margin-block-end: 1rem; }
	.books td { padding: 1rem .5rem; }
	.books td:nth-last-of-type(1) { width: 25%; }
	#event_notice { padding: 1rem 0; }
}

/*各大相容檢視*/
@media screen and (-webkit-min-device-pixel-ratio:0) { /*Webkit*/
}
@-moz-document url-prefix(){/*Firefox*/
}

@media \0screen\,screen\9 {/*IE 6 7 8*/
}

@media screen\0 {/*IE 8 9 10 11*/
}

@media print {
}
