/* 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, #feed90 36%, #ffffff 50%, #feed90 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: #0073a1;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: 0;}
.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: 1.0rem;}

/*書單*/
.booklist{margin:1rem auto 2rem;}
.books, .books th, .books td {border-collapse: collapse;padding: .4rem 1rem;border: 2px solid white;color: #121212;}
.books{border-collapse: collapse;padding: .4rem 1rem;border: 7px solid #bcd89b;color: #121212;background-color: white;}
.books tr:nth-of-type(even) td{ background-color: #e1efcc;}

.books th {border-right: solid 2px #9eb8cf;}
.books td:nth-child(4){color: red}
.books .bottom_line{border-bottom: solid 1px #cacaca;margin-bottom: 1rem;border-right: solid 2px #9eb8cf;}
.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: #525864;font-size: 1.4rem;text-align: center;}
nav .hot{color: #bf1d1b;font-size: 2.0rem;font-weight: bold;display: block;}
nav .hot b{color: #0073a1;}
nav a{color: #932226;}
#event_buy,#event_buy a{background: linear-gradient(to right, #ffffff 10%, #fee109 75%);color: #000;margin-top: 1.0rem;display: inline-block;}
#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 2rem .5rem;
}
.buy strong{font-size: 1.6rem;margin-left: 0.3rem;}
.buy b{color: #c11d28;}
.buy span{color: #FFF682;}
.buy{display: flex;justify-content: center;    align-items: center;width: 100%;}
.buy p{margin-bottom: .6rem;}
.buy p:nth-child(1){width: 75%}
.cover img{max-width: 100%;width: 80%;}
small{font-size: 0.9rem;}
/* 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 bottom, #015382, #0285b1);
}

/*各大相容檢視*/
@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 */


/* 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;}
	.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 {
}
