﻿/* ---reset.css--- */
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, 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,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---reset.css--- */

html {	
	font-family:Helvetica, sans-serif;
	font-family: '微軟正黑體', Arial, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif"; 
	-webkit-text-size-adjust:none;
	background-color:#df0037;
}

body{
	/*background-image:url(images/bg.png); */
	background-color: #df0037;
	padding-bottom:30px;
}




/* --電腦版型------------------------------------- */

/*back top*/
#mini-header { background-color: #df0037; max-width: 100%; margin: 0 auto;}

/*主視覺只做1張圖*/
#BANNER{
	clear:both;
	width:100%; 
	margin:0 auto;
	box-shadow: 0 12px 20px -13px rgba(0,0,0,.15);
}

/*主視覺做2張圖*/
#BANNER-BG{
	width:100%;height:600px; 
	margin:0 auto;
	background-image:url(../images/KV-PC.jpg);background-position: center;
}

/*視覺做2張圖在用*/
#BANNER h1{
	display:block;
	width:100%;
	height:600px;
	background-image:url(../images/KV-PC.jpg);
	text-indent:-9999px;
}

/*模塊背景*/ /*漸層寫法參考 https://ithelp.ithome.com.tw/articles/10190867*/

#CONTENT-1-bg1{ width: 100%;/*background-color: #ffc3d2;*/ background-image: url(../images/bg01.jpg),linear-gradient(45deg, #e11e46, #eb501a);}
#CONTENT-1-bg2{ width: 100%;/*background-color: #ffa4bb;*/ background-image: url(../images/bg02.jpg),linear-gradient(45deg, #e11e46, #eb501a);}
#CONTENT-2-bg1{ width: 100%; background-image: url(../images/bg09.png),linear-gradient(to top, #f2bf79,#fffbe7 ); }

/*模塊1--4變2*/
#CONTENT-1{
	clear:both;
	width:1200px;
	margin:0 auto;
	overflow:hidden;
	padding-top: 0px;
	padding-bottom: 30px;
}

#CONTENT-1 .BOX{
	float:left;
	width:23%;
	background-color: white;
	padding:5px 5px 3px 5px; border-color: #ddd; border-width: 1px; border-style: solid;
	margin: 5px;
	box-shadow: 0 12px 20px -13px rgba(0,0,0,.15);
}

#CONTENT-1 .BOX h3{
	font-size:2em;
	line-height:2;
	border-bottom:2px solid #0CC;
	color:#0CC;
	text-align:center;
}

#CONTENT-1 .BOX p{
	font-size:13px;
	line-height:1.8;
	padding:20px;
	color:#333;
}

#CONTENT-1 .title{
	clear:both;
	width:50%;
	margin:0 auto;
}

/*模塊2--2變1*/
#CONTENT-2{
	clear:both;
	width:1200px;
	margin:0 auto;
	overflow:hidden;
	padding-top: 0px;
	padding-bottom: 30px;
}

#CONTENT-2 .BOX{
	float:left;
	width:48%;
	background-color: white;
	padding:5px 5px 3px 5px; border-color: #ddd; border-width: 1px; border-style: solid;
	margin: 5px;
	box-shadow: 0 12px 20px -13px rgba(0,0,0,.15);
}

#CONTENT-2 .BOX h3{
	font-size:2em;
	line-height:2;
	border-bottom:2px solid #0CC;
	color:#0CC;
	text-align:center;
}

#CONTENT-2 .BOX p{
	font-size:13px;
	line-height:1.8;
	padding:20px;
	color:#333;
}

#CONTENT-2 .title{
	clear:both;
	width:50%;
	margin:0 auto;
}



#DOWN{
	clear:both;
	width:100%;
	margin:0 auto;
	background-color:#df0037;
	padding:5px 0px;
}

#DOWN p{
	font-size:13px;
	text-align:center;
	line-height:1.8;
	color:#FFF;
}

/* 選單 */
/*#menu-float {
	width:100%; height:50px; 
	margin:auto;
   position: fixed;
    top: 0px;
    z-index: 999;	
	
}*/

ul,li{  margin: 0; padding: 0;
    list-style:  none;
	display: inline-block;
	margin: 0 auto ;  
}

/* 選單 */
#floater ul,
#floater ul{font-size:0;}	
#floater li{float:none;}
#floater li{cursor:pointer;}
#floater { width:100%;  height: 50px;}
#floater .content{
	width:100%;  
	background-color: #df0037; 
	margin: 0 auto;
	text-align: center;
	z-index: 10;
}

#floater .content right{ float: right;}	




/* --手機版型------------------------------------- */

@media screen and (max-width: 736px) {
	
*{	-webkit-box-sizing:border-box;box-sizing:border-box;}

html,body{-webkit-text-size-adjust:none;}

/*主視覺做1張圖*/
#BANNER{
	clear:both;
	width:100%;
	margin:0 auto;
	box-shadow: 0 12px 20px -13px rgba(0,0,0,.15);
}
	
/*主視覺做2張圖*/
#BANNER-BG{
	display:block;
	width:100%; height:280px;
	margin:0 auto;
	background-size:cover;
	background-position:center center;	
	background-image:url(../images/KV-MB.jpg);
	
}
	

/*主視覺做2張圖在用*/
	
#BANNER h1{
		display:block;
		width:100%;
		height:360px;
		background-image:url(../images/KV-MB.jpg);
		background-size:cover;
		background-position:center center;	
		text-indent:-9999px;
}

/*模塊背景*/ /*漸層寫法參考 https://ithelp.ithome.com.tw/articles/10190867*/
#CONTENT-1-bg1{ width: 100%; background-image: url(../images/bg01.jpg),linear-gradient(45deg, #e11e46, #eb501a);}
#CONTENT-2-bg1{ width: 100%; background-image: url(images/bg09.png),linear-gradient(to top, #f2bf79,#fffbe7 ); }

/*模塊1--4變2*/	
#CONTENT-1{
	clear:both;
	width:100%;
	margin:0 auto;
	overflow:hidden;
	padding-top: 20px;

}

#CONTENT-1 .BOX{
	float:left;
	width:47%;
	background-color: white;
	padding:5px 5px 3px 5px; border-color: #ddd; border-width: 1px; border-style: solid;
	margin:5;
	box-shadow: 0 12px 20px -13px rgba(0,0,0,.15);

}

#CONTENT-1 .BOX h3{
	font-size:2em;
	line-height:2;
	border-bottom:2px solid #0CC;
	color:#0CC;
	text-align:center;
}

#CONTENT-1 .BOX p{
	font-size:17px;
	line-height:1.8;
	padding:20px;
	color:#333;
}
	
#CONTENT-1 .title{
	width:95%;
	margin:0 auto;

}


/*模塊2--2變1*/
#CONTENT-2{
	clear:both;
	width:100%;
	margin:0 auto;
	overflow:hidden;
	padding-top: 20px;
}

#CONTENT-2 .BOX{
	float:left;
	width:98%;
	background-color: white;
	padding:5px 5px 3px 5px; border-color: #ddd; border-width: 1px; border-style: solid;
	margin:5;
	box-shadow: 0 12px 20px -13px rgba(0,0,0,.15);
}
	

#CONTENT-2 .BOX h3{
	font-size:2em;
	line-height:2;
	border-bottom:2px solid #0CC;
	color:#0CC;
	text-align:center;
}

#CONTENT-2 .BOX p{
	font-size:17px;
	line-height:1.8;
	padding:20px;
	color:#333;
}
	
#CONTENT-2 .title{
	/*clear:both;*/
	width:90%;
	margin:0 auto;
}


#DOWN{
	clear:both;
	width:100%;
	margin:20px auto;
	background-color:#df0037;
	padding:5px 0px;
}

#DOWN p{
	font-size:13px;
	text-align:center;
	line-height:1.8;
	color:#FFF;
}

/* 選單 */
#menu-float {
	width:100%; height:50px; 
	margin:auto;
   position: fixed;
    top: 0px;
    z-index: 999;	
	
}

ul,li{  margin: 0; padding: 0;
    list-style:  none;
	display: inline-block;
	margin: 0 auto ;  
}

#floater ul,
#floater ul{font-size:0;}	
#floater li{float:none;}
#floater li{cursor:pointer;}

#floater { 
	width:100%;  
	height: 50px;
}
#floater .content{
    width:100%;  
	background-color: #df0037; 
	margin: 0 auto;
	text-align: center;
	z-index: 10;
}

#floater .content right{ float: right;}	
#floater img{width:100% }
	
		
.backHome{
  color: #f4c343;
  font-size: 20px;
}
