@charset "UTF-8";

* { box-sizing: border-box; }


.remarkstar { font-size:12px;}

.anchor {
    display: block;
    height: 60px;
    margin-top: -60px;
    visibility: hidden; }

html { background:#f6b083; 
-webkit-background-size: cover; 
-moz-background-size: cover; 
-o-background-size: cover; 
background-size: cover; 
background-attachment: fixed; 
background-image:url(../images/bg.jpg); 
background-repeat: no-repeat; 
background-position: center center; }

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

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; }


h1 { color:#FFF; padding:20px 30px 20px 35px; margin:0 0 30px 0; font-size:1.8em; display:inline-block; letter-spacing:0.3em;  text-shadow: 2px 2px 8px #633; border-radius:35px; box-shadow: 4px 4px 3px 0 rgba(189, 131, 10, 0.6);
 background: rgb(137,25,28);
background: linear-gradient(0deg, rgba(137,25,28,1) 0%, rgba(222,43,36,1) 100%);  
 }
h2 { color:#59a946; margin:10px 0 15px 0; padding:0; font-size:1.65em; letter-spacing:0.1em; }
h3 { color:#ef454b; 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;
}


.sticky { position: fixed; top: 0; background:#FFF;  left:0; border-radius:0 !important;}


/*Buttton*/
 #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 */
}

.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;
}

/*main page*/
.boxhightlight { 
display:grid;
width:100%;
margin-bottom:40px;
grid-gap: 10px;
grid-template-columns: 37% 63%;
} 

.boxhightlight ul { margin:0 5px 0 30px !important; padding:0 !important; list-style:none;}
.boxhightlight ul li { margin:0; padding:2px 0; line-height:1.25em;}
.boxhightlight ul li:first-child { font-size:1.55em; }

p.offertxt { margin:0 0 20px 0; padding:0; font-weight:bold; font-size:1.3em; line-height:1.3em;} 
 
.offer-cny { background: rgb(174,44,25);
background: linear-gradient(0deg, rgba(174,44,25,1) 0%, rgba(189,26,2,1) 100%); color:#FFDC89; font-weight:bold; font-size:1.45em; padding: 22px 10px 0 0;
border-radius:10px; text-shadow:2px 3px 3px #651111; }
.offer-elderly { background: rgb(240,64,15);
background: linear-gradient(0deg, rgba(240,64,15,1) 0%, rgba(232,93,28,1) 100%); color:#FFDC8F; font-weight:bold; font-size:1.45em; padding: 22px 10px 0 0;
border-radius:10px; display:flex; text-shadow:2px 3px 3px #651111;}
.offer-elderly-txt { padding-right:5px;}
.offer-cny span, .offer-elderly span { display:inline-block; font-size:20px !important;}


.elderly-pic {
	width: 218px;
	height: 170px;
	bottom:0;
	align-self:end;
}
.elderly-pic img { width: 218px; height: 170px;}

p.text-reg {
    margin:0 0 50px 0; padding:0;
	color: #DB201F;
	font-size:3em;
	font-weight:bolder;
    letter-spacing: 0em;
    text-shadow: 
      -1px -1px 2px #FCF5BC, 
      0px 1px 0 #9C2E1E,
	  1px 2px 0 #9C2E1E,
	  2px 3px 0 #651111,
	  3px 4px 0 #651111,
      3px 5px 25px rgba(138, 23, 23, 0.5);
 }
 
 p.text-reg span { padding-left:40px; display:inline-block;}

span.linebreak {display:block; font-size:inherit !important;}

/* price table */
table.T1 { width: 100%; margin:5px 0;  /*box-shadow: 0 5px 10px 0 rgba(182, 68, 62, 0.3);*/border-collapse: collapse; }
table.T1 td { padding:10px; background-color: #FDF0D3; border:#E5C7C7 1px solid;}
table.T1 th { padding:12px 5px;  border:#FFF 1px solid; 
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; }

/* 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; }



.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%);
}

.mainREG-full { 
	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.8em;
	box-shadow: 0 10px 10px -10px rgba(182, 68, 62, 0.8);
	line-height:1.5em;
	font-weight:bold;
}

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

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

.mainREG-home: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);
    }
} 

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

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


.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; color: #FFF; }


#logo { align-self: center; flex-grow:1;  }
#logo ul { list-style:none; white-space: nowrap;  margin:0; padding:0;}
#logo ul li { float:left; padding-right:30px; }
.sl-logo, .erb-logo  { }
.sl-logo img, .erb-logo img { width:200px; height:auto; }

#social-media { align-self: center;}
#social-media ul { list-style:none; margin:0; padding:0; }
#social-media ul li { list-style:none; font-size:1.3em; padding:0 8px; float:left; }
#social-media ul li a { color:#303030;}
#social-media ul li a:hover { color:#a21c20;} 

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

#top-wrapper { width:100%; display:flex; align-items:stretch; padding:30px 15px 20px 15px; }
#Nav-wrapper { width:100%;  z-index:10; margin:0; padding: 0 60px;  box-shadow: 0 5px 10px 0 rgba(182, 68, 62, 0.5); background: rgba(255,255,255, 0.95); border-radius:30px;
} 
.navbar {
  overflow: hidden;
  width:100%;
}
.navbar a {
  font-size: 1.1em;
  float: left;
  display: block;
  color:#754c24;
  text-align: center;
  padding: 15px 25px;
  text-decoration: none;
  font-weight:bold;
  letter-spacing:0.1em;
}
@keyframes navcolor {
  0% {
    background-color: #a7d578;
  }
  100% {
    background-color: #69ab25; 
  }
}
.navbar a:last-child { }
.navbar a:hover {
  color:#FFF;
  animation: navcolor 0.8s ease-in;
  background:#69ab25
}


#home-banner { width:1400px; height:500px; }
.homebanner1{ display:block;  width:1400px; height:500px; }
.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:300px; }

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



.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; }

span.linebreak {display:inline; font-size:inherit !important;}

.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;
}
	
#wrapper { width:98%; height:auto; box-sizing: border-box; }
#top-wrapper { padding: 20px;}

#home-wrapper { width:100%; }
#inside-content { padding: 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 ul { margin:0 5px 20px 25px !important; padding:0 !important; list-style:none;}
.boxhightlight ul li { margin:0; padding:2px 0; line-height:1.25em;}
.boxhightlight ul li:first-child { font-size:1.45em; }
}


@media only screen and (min-width: 800px) and (max-width: 1200px) {
.boxhightlight { 
display:grid;
width:100%;
margin-bottom:30px;
grid-gap: 10px;
grid-template-columns: 100%;
}

span.linebreak {display:inline; font-size:inherit !important;}

 p.text-reg span { padding-left:40px; display:inline-block;}
.offer-cny { font-size:1.4em; padding: 20px; }
.offer-elderly { font-size:1.4em; padding: 20px 20px 0 20px; display:block; }
 	
}


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

h1 { padding:15px 20px 15px 30px; margin:0 0 20px 0; font-size:1.7em; display:inline-block; letter-spacing:0.2em;}
h2 { margin:10px 0 15px 0; padding:0; font-size:1.5em; letter-spacing:0em; }
h3 { margin:8px 0; padding:0; font-size:1.2em; }
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;}

.sticky { position:static; top: 0; background:#FFF; width: 100% !important; }
span.linebreak {display:inline; font-size:inherit !important;}

/*main page*/
.boxhightlight { 
display:grid;
width:100%;
margin-bottom:30px;
grid-gap: 10px;
grid-template-columns: 100%;
} 

.boxhightlight ul { margin:0 5px 20px 25px !important; padding:0 !important; list-style:none;}
.boxhightlight ul li { padding:2px 0; margin:0; line-height:1.25em;}

p.offertxt { margin:0 0 20px 0; padding:0; font-weight:bold; font-size:1.3em; line-height:1.3em;} 
 
.offer-cny { font-size:1.4em; padding: 20px 10px; }
.offer-elderly { font-size:1.4em; padding: 20px 20px 0 10px; display:block; }
.offer-elderly-txt { padding-right:0;}


.elderly-pic {
	width: 218px;
	height: 170px;
	padding: 0 10px;
}
.elderly-pic img { width: 218px; height: 170px;}

p.text-reg {
    margin:0 0 40px 0; padding:0;
	line-height:1.1em;
	color: #DB201F;
	font-size:2.6em;
	font-weight:bolder;
    letter-spacing: 0em;
    text-shadow: 
      -1px -1px 2px #FCF5BC, 
      0px 1px 0 #9C2E1E,
	  1px 2px 0 #9C2E1E,
	  2px 3px 0 #651111,
	  3px 4px 0 #651111,
      3px 5px 25px rgba(138, 23, 23, 0.5);
 }
  p.text-reg span { padding-left:0; display:block;}
 
	
#wrapper { width:100%; }
#top-wrapper { width:100%; display:flex; align-items:stretch; padding:20px 10px 15px 10px; flex-direction:column;}

#Nav-wrapper { width:100%; padding: 0; border-radius: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; }



#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: 50px 30px; }


#logo { align-self: center; flex-grow:1; margin-bottom:10px; }
#logo ul { list-style:none; white-space: nowrap;  margin:0; padding:0;}
#logo ul li { float:left; padding-right:30px; }
#logo ul li:last-child { padding-right:0px;}
.sl-logo, .erb-logo  { }
.sl-logo img, .erb-logo img { width:150px; height:auto; }

#social-media { align-self: center;}
#social-media ul { list-style:none; margin:0; padding:0; }
#social-media ul li { list-style:none; font-size:1.2em; padding:0 6px; float:left; }
#social-media ul li a { color:#303030;}
#social-media ul li a:hover { color:#a6ce39;} 


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%;}

}
