/* 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: url(../images/0209056_line-bg.gif) #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{}
.flex{display: flex;flex-wrap: wrap;}
.banner img{width: 100%;}
.mag_container{display: flex;flex-wrap: wrap;justify-content: center;align-items: flex-start;}
#event_third .mag_container { margin-block-start: 2.5rem; }
.mag_container h3{
	width: 5%;writing-mode: tb-rl;text-orientation: upright;display: inline-block;
	background: linear-gradient(to right, #A8D071 0%, #00A6AE 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;
}
.mag_group{justify-content: center;width: 88%;margin: auto;}
.mag_group figure img{box-shadow: 0px 2px 9px gray;max-width: 100%;}
.mag_group a,.books a{color: #00006b;}
.mag_group figcaption{margin-top: .5rem;}
figure{width: calc(100%/4 - 2%);text-align: center;margin: 0 auto 2rem;}
figure:nth-of-type(n+4):nth-of-type(-n+6){margin: 0 auto;}
h1{font-size: 3rem;}
h2{font-size: 2rem;}
h3{font-size: 1.5rem;}
nav{text-align: center;font-size: 1.2rem;margin: 0.2rem auto 0;}
nav a, .buy b{color: #932226;}

/*書單*/
.booklist{margin:0 auto 2rem;width: 86%;}
.books, .books th, .books td {border-collapse: collapse;padding: .4rem 1rem;border: 2px solid white;color: #1b1b1b;}
.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%, #A9DCF6 100%);}
.books td:nth-of-type(2){text-align: center;}
.books tr:nth-last-of-type(1) td:nth-of-type(1){border-radius:0 0 0 20px;}
.books tr:nth-last-of-type(1) td:nth-of-type(2){border-radius:0 0 20px 0;}
.books .bottom_line{border-bottom: solid 1px #cacaca;margin-bottom: 1rem;}
.books p{text-align: left}
.books{width: 100%;}
.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}
#event_buy,#event_buy a{color: white;}
#event_buy{
	display: flex;flex-wrap: wrap;justify-content: space-around;align-items: center;margin: auto;
	font-weight: 400;padding: .5rem 3rem;
}
.buy{color: #555555;font-size: 1.2rem;margin-block-end: 1rem;font-weight: bold;}
.buy li{margin: 0.3rem auto;border-bottom: thin solid #c4c4c4;padding-bottom: 0.3rem;}
.buy span{color: #3E4096;}
.buy p{margin-bottom: .6rem;}
.buy b{font-weight: bold;font-family: arial black;font-size: 1.3rem;margin: 0 0.2rem;}
.buy a{background: #932226;display: inline-block;padding: 0.1rem .5rem;border-radius:6px;font-size: 1rem;text-decoration: none;font-weight: normal;margin-left: 0.5rem;}
.cover img{max-width: 100%;width: 80%;}


/* notice */
#event_notice{
	text-align:left;float:left;width:100%;padding:2% 0;
	background:linear-gradient(to right, #A8D071 50%, #00A6AE 100%);
}

/*各大相容檢視*/
@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:#EBEBEB;padding:3% 0;}
#event_news .NewsStyle_title{font-size:1.1rem;}
#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:20px;color:#000;margin-left:12%}

/* 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 */


/* Footer */
#BodyFooter_rwd{float:left;width:850px;margin-left:auto;margin-right:auto;color:#333;font-family:"Microsoft JhengHei"}
#BodyFooter_rwd #footer_line{width:90%;display:block;float:left;height:auto;text-align:center;border-top-width:thin;border-top-style:solid;border-top-color:#333;margin:2% 5%}
#BodyFooter_rwd #footer_inline a{color:#333}
#BodyFooter_rwd #footer_inline ul{float:left;width:100%;margin-bottom:0;margin-top:3%}
#BodyFooter_rwd #footer_inline ul li{display:inline;line-height:2em;font-size:1em;clear:both;width:100%;margin-right:1%;margin-bottom:0}
#BodyFooter_rwd #footer_inline ul li img{width:20%;height:auto;vertical-align:middle}
#BodyFooter_rwd #footer_address{margin-top:0;float:left;width:100%;margin-right:auto;text-align:center;margin-left:auto}
#BodyFooter_rwd #footer_address a{color:#333}
#BodyFooter_rwd #footer_address ul{float:left;text-align:center;margin-bottom:1%;width:100%;clear:both}
#BodyFooter_rwd #footer_address ul li{float:left;display:block;width:100%;line-height:2em;text-align:center;font-size:.8em}
/* 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;}
	.mag_group figure img{box-shadow: 0px 2px 3px gray;}
	.buy{margin: 1rem 0;}
	.buy+div{margin: 1rem 0;}
	.mag_group, .booklist { width: 96%; }
	.mag_container{ flex-direction: row; }
	.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 {
}
