@charset "UTF-8";

* { box-sizing: border-box; }
html, body { margin:0 0 20px 0; padding:0; font-family:Arial, Helvetica, "Microsoft JhengHei", 微軟正黑體, Heiti, 黑體, sans-serif; font-size:1.05em; color:#333; letter-spacing: 0.05em; line-height:26px; text-align:justify; }

.remarkstar { font-size:12px;}

html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
	background-color: #fff9d2;
	background-image: linear-gradient(0deg, #daaf4e 0%, #F7CE68 50%, #fff9d2 100%);
}

a:link { text-decoration: none; color: #f06a32; font-weight: bold;}
a:visited { text-decoration: none; color: #f06a32; font-weight: bold; }
a:hover { text-decoration: none; color: #B74720; font-weight: bold; }
a:active { text-decoration: none; color: #B74720; font-weight: bold; }

.sticky { position: fixed; top: 0; background:#FFF; width:1400px !important;  /*margin: 0 auto;*/}
 #myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: #FFF solid 2px;
  outline: none; /* Remove outline */
  background-color: #754c24; /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 5px 10px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: 25px; /* Increase font size */
}

#myBtn:hover {
  background-color:#C69C6D; /* Add a dark-grey background on hover */
}



h1 { color:#FFF; padding:10px 30px 10px 35px; margin:0 0 20px 0; font-size:1.75em; display:inline-block; letter-spacing:0.3em; border: 3px solid #F2DDB0; text-shadow: 2px 2px 8px #633; background: rgb(240,185,91);
background: linear-gradient(180deg, rgba(240,185,91,1) 0%, rgba(185,133,45,1) 57%, rgba(189,131,33,1) 100%); 
box-shadow: 4px 4px 3px 0 rgba(189, 131, 10, 0.6); border-radius:25px;}
h2 { color:#479725; margin:10px 0 15px 0; padding:0; font-size:1.65em; letter-spacing:0.1em; }
h3 { color:#ef6427; margin:8px 0; padding:0; font-size:1.25em; }
h4 { color:#FEE54E; margin:20px 0; padding:0; font-size:1.65em; letter-spacing:0.1em; }

h5 { /*background:#bc8321;*/ background: rgb(60,133,29);
background: linear-gradient(0deg, rgba(60,133,29,1) 0%, rgba(84,172,47,1) 12%, rgba(119,195,57,1) 100%);color:#FFF; font-size:1em; font-weight:bold; display:block; margin:0; padding:5px 0; text-align:center;}

hr {
    margin: 30px 0;
	height: 30px;
    border: 0;
    box-shadow: inset 0 10px 10px -10px rgba(125, 73, 26, 0.5);
}

hr.style2 {
    margin: 40px 0 -10px 0;	
    border-top: 1px #F7C1C0 dotted;	
    box-shadow: inset 0 10px 10px -10px rgba(182, 68, 62, 1);
}

hr.style3  {
    margin: 30px 0 -15px 0 !important;
	height: 40px !important;
    border: 0;
}


table.T1 { width: 100%; margin:5px 0; border:3px solid #ba8427; }
table.T1 td { padding:8px; background-color: #FDF0D3; }
table.T1 th { padding:10px 5px;   background: rgb(60,133,29);
background: linear-gradient(0deg, rgba(60,133,29,1) 0%, rgba(84,172,47,1) 12%, rgba(119,195,57,1) 100%);   font-size:18px; color:#FFF; }

/* location table */
table.location-table { width: 40%; border-collapse:collapse; margin-bottom:30px !important; padding:10px; }
table.location-table td { padding: 8px 0; border-bottom:#E4E4E4 1px solid; border-top:#E4E4E4 1px solid;}
table.location-table th { color:#6B9C1C; background:#E5EBC7; adding:10px 5px;  letter-spacing:0.5em; text-align:center; font-size:18px; font-weight:600; border-radius:5px; }

.regBTN {
	background-image: linear-gradient(-20deg, #fc6076 0%, #ff9a44 100%);
	border-radius:25px;
	display:inline-block;
	/*cursor:pointer;*/
	color:#FFF !important;
	padding:8px 30px;
	text-decoration:none;
	font-size:1.1em;
	box-shadow: 0 10px 10px -10px rgba(182, 68, 62, 0.5);
}
.regBTN:hover {
	background-color:#bc8321;
}
.regBTN:active {
	position:relative;
	top:1px;
}


.mainREG { 
	animation: reg 0.8s ease-in-out infinite alternate;
	-webkit-animation: reg 0.8s ease-in-out infinite alternate;
    -webkit-transform-origin: 20% 0;
    -ms-transform-origin: 20% 0;
	transform-origin: 20% 0; 
	background-image: linear-gradient(-20deg, #fc6076 0%, #ff9a44 100%);
	border-radius:30px;
	display:inline-block;
	/*cursor:pointer;*/
	color:#FFF !important;
	padding:10px 30px;
	text-decoration:none;
	font-size:1.25em;
	box-shadow: 0 10px 10px -10px rgba(182, 68, 62, 0.8);
	line-height:1.25em;
}

.mainREG:hover {
	background-image: linear-gradient(-20deg, #ff9a44 0%, #fc6076 100%);
}

@-webkit-keyframes reg  {
    0% {
        -webkit-transform: scale(1.0);
    }
    100% {
        -webkit-transform: scale(1.05);
    }
}

@keyframes reg {
    0% {
        transform: scale(1.0);
    }
    100% {
        -webkit-transform: scale(1.05);
    }
} 


.new { 
	animation: reg 0.8s ease-in-out infinite alternate;
	-webkit-animation: reg 0.8s ease-in-out infinite alternate;
    -webkit-transform-origin: 20% 0;
    -ms-transform-origin: 20% 0;
	transform-origin: 20% 0; 
 background: rgb(84,172,47);
background: linear-gradient(0deg, rgba(84,172,47,1) 0%, rgba(112,189,49,1) 50%, rgba(185,223,72,1) 100%); 
	border-radius:30px;
	display:inline-block;
	color:#FFF !important;
	padding:8px 30px;
	text-decoration:none;
	font-size:1em;
	box-shadow: 0 10px 10px -10px rgba(182, 68, 62, 0.8);
	line-height:1em;
	margin-left:10px;
}

#wrapper { width:1400px; margin:0 auto; }

footer { font-size:0.8em; text-align:center; padding: 15px 10px;  background:#C69C6D;
background: linear-gradient(180deg, #754c24 0%, #c69c6d 15%);  color: #FFF; }

#home-banner { width:1400px; height:550px; }
.homebanner1{ display:block;  width:1400px; height:550px; }
.homebanner2, .insidebanner2 { display:none; }

#home-wrapper { background:#EA5B57; color:#FFF; }
#home-content { padding: 30px 80px; }
#home-content ul li { padding:5px 0; text-shadow: 2px 2px 8px #633; font-size:1.1em; letter-spacing:0.15em}

#inside-banner { width:1400px; height:270px; }

#inside-wrapper { background:#FFF; color:#7A2B2E; }
#inside-content { padding: 80px 80px 70px 80px; box-shadow: 0 20px 10px 0 rgba(182, 68, 62, 0.5);}
#inside-content ul { padding:0; margin:0 0 5px 45px; }
#inside-content ol { padding:0; margin:0 0 5px 25px; }

#logo-wrapper { width:100%; height:120px; position:relative; margin:10px 0; }
.sl-logo { width:200px; float:left; position:absolute; bottom:8px; left: 230px; }
.sl-logo img { width:100%;}
.erb-logo { width:195px; float:left; position:absolute; bottom:0; left: 0; }
.erb-logo img { width:100%; }

ul.mainpage { margin:0 0 0 20px !important; padding:0;}
ul.mainpage li { margin-left:0; margin-bottom:10px;}
.boxhightlight span { display:block;}

.boxhightlight { 
z-index:50;
color:#754c24;
display:inline-flex;
align-items:stretch;
background: rgb(235,203,119);
background: linear-gradient(0deg, rgba(235,203,119,1) 0%, rgba(255,255,255,1) 95%); 
border: 5px solid #e9c56c/*#FCEFD9*/;
padding:0 20px;
border-radius:10px;
box-shadow: 0 3px 5px 0 rgba(158, 80, 56, 0.8);
margin-top:-130px;
margin-bottom:40px;
width:100%;
}

.boxhightlight-txt { 
text-align:center;
align-self:center;
font-size:1.2em;
line-height:1.35em;
letter-spacing:1px;
font-weight:bold;
width: calc(100% - 300px);
padding: 10px 80px 0 0;}

.elderly-pic {
	width: 308px;
	height: 253px;
	z-index: 51;
	margin:0 20px 0 60px;
	bottom:0;
	align-self:end;
}
.elderly-pic img { width: 308px; height: 253px;}

#Nav-wrapper { width:100%; box-shadow: 0 0 8px 0 rgba(182, 68, 62, 0.5); z-index:10; margin:0; padding: 0 60px; border-radius:0px; background:#FFF;} 
.navbar {
  overflow: hidden;
  background-color: #FFF;
  width:100%;
}
.navbar a {
  font-size: 1.05em;
  float: left;
  display: block;
  color:#754c24;
  text-align: center;
  padding: 10px 25px;
  text-decoration: none;
  font-weight:bold;
  letter-spacing:0.1em;
  border-left:#F8CAC9 solid 1px;
}
.navbar a:last-child { border-right:#F8CAC9 solid 1px; }
.navbar a:hover {
  color:#FFF;
  background-image: linear-gradient(-20deg, #fc6076 0%, #ff9a44 100%);
  /*background:#f06a32;*/
}

.download { position:relative; float:left; width:150px; margin-right:30px; margin-bottom:10px;  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3); }

.download2 { position:relative; float:left; width:150px; margin-right:30px; margin-bottom:10px; }

.download img, .download2 img { width:100%; height:100%;}



@media only screen and (min-width: 800px) and (max-width: 1390px) {

html, body { margin:0; }

.mainREG { 
	border-radius:30px;
	display:inline-block;
	color:#FFF !important;
	padding:10px 30px;
	text-decoration:none;
	font-size:1.15em;
	box-shadow: 0 10px 10px -10px rgba(182, 68, 62, 0.8);
	line-height:1.2em;
}
	
.navbar a {
  padding: 10px 20px;
}	
#wrapper { width:100%; height:auto; box-sizing: border-box; }
#home-wrapper { width:100%; }
#inside-content { padding: 0px 80px 70px 80px;}

#home-banner, #inside-banner { width:100%; height:auto; }
#home-banner img, #inside-banner img { width:100%; height:auto; }
.homebanner1, .insidebanner1 { display:block; }
.homebanner2, .insidebanner2 { display:none; }
.boxhightlight span { display:inline;}	

.boxhightlight { 
align-self:center;
padding:0 20px;
margin-top:-50px;
margin-bottom:40px;
}

.boxhightlight-txt { 
text-align:center;
align-self:center;
font-size:1.2em;
line-height:1.35em;
letter-spacing:2px;
font-weight:bold;
width: calc(100% - 300px);
padding: 10px 20px 0 0;}

.elderly-pic {
	width: 280px;
	height: 230px;
	z-index: 51;
	margin:0 20px 0 0;
	bottom:0;
	align-self:end;
}
.elderly-pic img { width: 280px; height: 230px;}


}

@media screen and (max-width: 799px) {
	
html, body { margin:0;}

.boxhightlight span { display:inline;}
.boxhightlight { 
flex-direction:column;
padding:0 20px;
margin-top:-60px;
margin-bottom:40px;
}

.boxhightlight-txt { 
text-align:center;
align-self:center;
font-size:1.2em;
line-height:1.35em;
letter-spacing:2px;
font-weight:bold;
width: 100%;
padding: 0 10px 10px 10px;}

.elderly-pic {
	width: 280px;
	height: 230px;
	z-index: 51;
	margin:0;
	bottom:0;
	align-self:center;
}
.elderly-pic img { width: 280px; height: 230px;}

.sticky { position:static; top: 0; background:#FFF; width: 100% !important; }
	
#wrapper { width:100%; }

#home-banner { width:100%; height:auto; }
#home-banner img { width:100%; height:auto; }

#inside-banner { width:100%; height:auto; }
#inside-banner img { width:100%; height:auto; }

.homebanner1, .insidebanner1 { display:none; }
.homebanner2, .insidebanner2 { display:block; }

#home-content, #inside-content { padding: 30px; }

#logo-wrapper { width:100%; position:relative; height:100px; }
.sl-logo { width:155px; float:left; position:absolute; bottom:5px; left: 200px; }
.sl-logo img { width:100%;}
.erb-logo { width:210px; float:left; position:absolute; bottom:0; left: 20px; }
.erb-logo img { width:75%; }

#Nav-wrapper { width:100%; box-shadow: 0 0 8px 0 rgba(182, 68, 62, 0.5); z-index:10; margin:0; padding: 0 ;} 
.navbar {
  width:100%;
}
.navbar a {
  float: none;
  width: 100%;
  border-left:none;
  border-top:#F8CAC9 solid 1px;
}
.navbar a:last-child { border-right:none; }

table.location-table { width: 100%; border-collapse:collapse; margin-bottom:30px !important; padding:10px; }


.download { width:150px; margin-bottom:20px;  box-shadow: 0 0 8px 0 rgba(182, 68, 62, 0.8); }
.download2 { width:150px; margin-bottom:10px; }
.download img, .download2 img { width:100%; height:100%;}

}
