

html{
  scroll-behavior: smooth;
}

:root {
  scroll-padding-top: 2.8rem;
}
 
body{
	background-color:#f4f4f4;
	color:#4c4842;
	font-family:"Arial","LiHei Pro","黑體-繁","微軟正黑體", sans-serif;
	overflow-y: scroll;
	overflow-x: hidden;
}
.header {
	max-width: 1200px;
	margin:0 auto;
	animation: fadeIn 2s;
	background-color:#efefef;
	background: url(../images/header_drkjleepic_320.png) bottom center no-repeat;
    background-size:contain;
	height:460px;
}
@keyframes fadeIn {
    0% { opacity: 0; }
  100% { opacity: 1; }
}


@media screen and (min-width: 500px) {
    .header {
        background-image: url(../images/header_drkjleepic_450.png);
		height:480px;
    }


}

@media screen and (min-width: 660px) {
    .header {
        background-image: url(../images/header_drkjleepic_1600.png);
		height:430px;
	}
    
	.headerContent h1 {
		padding:2% 0 1.5% 20%;
	}
}


.header .pagetop {
	overflow:hidden;
	margin:10px 0 0 0;
}
.header .logo {
	background:url(../images/logo.png) left top no-repeat;
	width:45px;
	height:45px;
	float:left;
	text-indent:-9999px;
	margin:5px 20px;
}


@media(max-width:660px){
	.navMenu{
		display:none;
	}
}
.header .navMenu {
	float:right;
	padding:16px 5% 0 5px;
}
.navMenu li {
	display:inline;
	padding:0 7px;
}
.navMenu li a {
	color:#666;
	font-size:13px;
	font-weight:700;
	text-decoration:none;
}
.navMenu li a:hover {
	color:#999;
}



.headerContent {
	padding:0 15px;
}

.headerContent h1 {
	color:#302c28;
	font-size:34px;
	line-height:42px;
	letter-spacing:2;
	font-weight:700;
	padding:1% 0 1.5% 10%;
}

.headerContent h2 {
	color:#4d4d4d;
	font-size:14px;
	font-weight: 700;
	padding:0 0 0 10%;
}



/*
.headerContent .slogan {
	float:left;
	font-size:17px;
	display:block;
	padding:150px 0 0 7%; 
	margin:0 0 0 0;
}
.slogan p {
	font-size:13px;
	color:#594536;
	line-height:21px;
}
@media(min-width: 300px){
    .headerContent .slogan {
        padding:130px 0 0 8%; 
    }
}
@media(min-width: 400px){
    .headerContent .slogan {
        padding:80px 0 0 8%; 
    }
}
@media(min-width: 500px){
    .headerContent .slogan {
        padding:60px 0 0 8%; 
    }
}
*/

/*
@media(max-width: 550px){
    .headerContent .slogan {
        padding:60px 0 0 8%; 
    }
}
@media(max-width: 550px){
    	.slogan p {
		font-size:16px;
		color:#594536;
		line-height:21px;
	}
}
*/


.main {
	padding: 0px 5px 5px 5px;
	margin:-25px 0 0 0;
}

.main h2 {
	font-size:24px;
	font-weight: 700;
	text-align:center;
	text-decoration-line: underline;
	text-decoration-color:#dfe72b;
	text-decoration-thickness:7px;
	padding:55px 0 30px 0;
	letter-spacing:1.5;
	/*background:linear-gradient(180deg,transparent 90%,#fdda5a 0);*/
}
.main h2.white {
	color:white;
	font-weight:500;
	text-decoration-line: none;
	padding: 35px 0 25px 0;
}


#reasonContainer {
		width:90%;
		max-width:1200px;
		margin:10px auto;

	}

@media(min-width: 900px){
    #reasonContainer {
		display: flex;
		align-items: flex-start;
	}
	
}

.reason1, .reason2, .reason3 {
	padding:5px 15px 15px 70px;
	margin: 0 0 0 3%;
	
}
.reason1 h3, .reason2 h3, .reason3 h3 {
	font-size:20px;
	font-weight: 600;
	line-height:32px;
	letter-spacing:1;
}
.reason1 p, .reason2 p, .reason3 p {
	color:#685f52;
	font-size:13px;
	/*font-weight: 300;*/
	text-align: justify;
	line-height:20px;
}
.reason1, .reason2, .reason3 {
	background-position:left top;
	background-repeat:no-repeat;
}
.reason1 {
	background-image: url(../images/reason1.png);
}
.reason2 {
	background-image: url(../images/reason2.png);
}
.reason3 {
	background-image: url(../images/reason3.png);
}


#review {
	width:90%;
	margin:-20px auto 0 auto;
		max-width:800px;
}
#review .top {
	width:100%;
	margin:0px 0 0 0;
	z-index:1;
}
#review .quotes {
	background:url(../images/icon_quotes.png) left top no-repeat;
	width:70px;
	height:40px;
	display:inline-block;
	z-index:1;
	margin:0 0 0 4%;
}
#review .person {
	width:95px;
	height:84px;
	float:right;
	margin:-45px 4% 0 0;
	background: url(../images/reviewPerson.png) right top no-repeat;
}
.reviewContent {
	background-color:white;
	/*padding:15px 20px 20px 20px;*/
	padding:6% 8% 3% 10%; 
	margin:-10px 0 0 0;
	border-radius: 20px;
	box-shadow: 4px 4px 7px rgba(0, 0, 0, 0.1);
}
.reviewContent .name {
	color:#35322d;
	font-size:16px;
	line-height:28px;
	font-weight:700;
	letter-spacing:1;
	padding:0 0 0 5px;
}
.reviewContent p {
	color:#35322d;
	font-size:16px;
	line-height:22px;
	letter-spacing:1px;
	padding:0 0 0 5px;

}
.reviewContent .date {
	color:#888;
	font-size:12px;
	line-height:24px;
	padding:5px 0 0 5px;
	text-align:right;
}

.reviewContent ul.reviewTag {
	margin:5px 0 10px 0;
}
.reviewContent .reviewTag li {
	font-size:12px;
	font-weight:700;
	color:white;
	display:inline-block;
	padding:6px 10px 7px 10px;
	margin:3px 0px;
	border-radius: 14px;
	background-color:#8e8364;
}

.star {
    font-size: x-large;
    width: 18px;
    display: inline-block;
    /*color: gray;*/
}
.star:last-child {
    margin-right: 0;
}
.star:before {
    content:'\2605';
}
.star.on {
    /*color: gold;*/
	color:#8dd1c5;
}
.star.half:after {
    content:'\2605';
    color: gold;
    position: absolute;
    margin-left: -20px;
    width: 10px;
    overflow: hidden;
}

#review .PrevNext {
	width:90px;
	margin:5px auto;
}
#review .PrevNext li {
	background-color:grey;
	display:inline-block;
	border:1px solid black;
	margin:10px auto;
}
#review .PrevNext li a {
	background-color:grey;
	display:inline-block;
	border:1px solid black;
	padding:10px;
}


.qa  {
	background:#fff;
	padding:0 5% 40px 5%;
	margin:35px 0 0 0;
}
.qa .accordion {
	/*width:300px;*/
}
.qa .accordion article {
	cursor:pointer;
	max-width:800px;
	margin:0 auto;
}
.qa label {
	background-color:#4c4842;
	color: #fff;
	display:block;
	padding:0 20px;
	height:40px;
	cursor:pointer;
	line-height:40px;
	font-size:15px;
}
.qa label.first {
	visibility:visible;
}



.qa label:hover {
	background-color:#8dd1c5;
	color: #fff;
}
.qa p {
	font-size:15px;
	text-align:justify;
	overflow:hidden;
	padding:0 20px;
	margin:0;
	background-color:white;
	border:1px solid #ddd9d4;
	border-top:none;
	max-height:0;
	line-height:23px;
	letter-spacing:1;
	transition: all .5s ease;
}
input:nth-child(1):checked ~ article:nth-of-type(1) p,
input:nth-child(2):checked ~ article:nth-of-type(2) p,
input:nth-child(3):checked ~ article:nth-of-type(3) p,
input:nth-child(4):checked ~ article:nth-of-type(4) p,
input:nth-child(5):checked ~ article:nth-of-type(5) p,
input:nth-child(6):checked ~ article:nth-of-type(6) p {
	border-bottom-width:1px;
	max-height:600px;
}
.qa .moreqa {
	color:brown;
	margin:15px auto;
}
.qa .moreqa a {
	background-color:#fff;
	border:4px solid #ddd9d4;
	color:#8e8364;
	font-size:13px;
	text-decoration:none;
	line-height:24px;
	letter-spacing:1px;
	display:block;
	padding:5px 10px;
	width:90px;
	margin:0 auto;
}
.qa .moreqa a:hover {
	background-color:#fff;
	border:4px solid #dbc283;
	color:#4f452c;
}
.qa .arrow {
	border: solid black;
	border-width: 0px 3px 3px 0;
	display: inline-block;
	padding: 3px;
	margin:0 0 0 5px;
}
.qa .right {
  transform: rotate(-45deg);
}


#profileExpertisWrap{
	margin:0 auto;	
	width:100%;
	clear:both;
	max-width: 1300px;
}
#profileContainer {
	background-color:#4c4b4a;
	padding:0 0 30px 0;
	margin:0 auto;	
	display:inline-block;
	float:left;
	width:50%;
}
#profileContainer ul, #expertiseContainer ul {
	color:#e1d7b3;
	font-size:14px;
	line-height:23px;
	width:240px;
	padding:0 0 0 35px;
	margin:0 auto;
}

#expertiseContainer {
	background-color:black;
	padding:0 0 30px 0;
	display:inline-block;
	float:left;
	width:50%;
}
#expertiseContainer ul {
	list-style: square inside;
}

@media(max-width: 550px){
    #expertiseContainer, #profileContainer {
        width:100%;
        float: none;
        height: auto;
    }
}





#clinicHour {
	padding:0 2%;
	clear:both;
	max-width:700px;
	margin:0 auto;
}
#clinicHour table.time {
	width:100%;
}
#clinicHour H4, #clinicInfo H4 {
	color:#736357;
	font-size:15px;
	line-height:22px;
	letter-spacing:1;
	display:block;
	width:280px;
	margin:0 auto 20px auto;
	text-align:center;
}
#clinicHour .time th {
	background-color:#8dd1c5;
	color:white;
	height:36px;
	width:14%;
	vertical-align:middle;
}
#clinicHour .time tr {
	border:2px solid white;
	font-size:15px;

}
#clinicHour .time tr.bg_1 td {
	background-color:#eaeadf;
	border:2px solid white;
}
#clinicHour .time tr.bg_2 td {
	background-color:#fff8e6;
}
#clinicHour .time td {
	line-height:20px;
	vertical-align:middle;
	text-align:center;
	padding:6px 5px;
}
#clinicHour .time td.period {
	font-size:12px;
	line-height:13px;
	font-family: "calibri", "Arial", sans-serif;

}






#tab {
	width:90%;
	max-width: 720px;
	margin:0 auto 10px auto;
	background:#eaeadf;
	border-radius: 10px 10px 0 0;
}

/* 頁籤ul */
#tab > ul {
    /* overflow: hidden; */
    margin: 0;
    padding: 10px 20px 0 20px;
}

#tab > ul > li {
    list-style-type: none;
}

/* 頁籤上的文字 */
#tab > ul > li > a { 
    text-decoration: none;
    font-size: 15px;
    color: #333;
    float: left;
    padding: 10px;
    margin-left: 5px;
}

/*頁籤div內容*/
#tab > div {
    clear: both;
    padding: 0 5px 0 8%;
    height: 0;
    overflow: hidden;
    visibility: hidden;
		/*width: 90%;*/
		/*max-width: 600px;*/
		/*margin: 15px auto 30px auto;*/
}

/*第一筆的底色*/
span:target ~ #tab > ul li:first-child a {
    background: none;
}

span:target ~ #tab > div:first-of-type {
    visibility: hidden;
    height: 0;
	border-radius: 10px 10px 0 0;
}

/*頁籤變換&第一筆*/
span ~ #tab > ul li:first-child a,
#tab-1:target ~ #tab > ul li a[href$="#tab-1"],
#tab-2:target ~ #tab > ul li a[href$="#tab-2"],
#tab-3:target ~ #tab > ul li a[href$="#tab-3"]{
    background: #fff;
    border-radius: 5px 5px 0 0;
}

span ~ #tab > ul li:first-child a::before,
#tab-1:target ~ #tab > ul li a[href$="#tab-1"]::before,
#tab-2:target ~ #tab > ul li a[href$="#tab-2"]::before,
#tab-3:target ~ #tab > ul li a[href$="#tab-3"]::before {
    background-color: white;
    height: 100%;
}

/*頁籤內容顯示&第一筆*/
span ~ #tab > div:first-of-type,
#tab-1:target ~ #tab > div.tab-content-1,
#tab-2:target ~ #tab > div.tab-content-2,
#tab-3:target ~ #tab > div.tab-content-3 {
    visibility: visible;
    height: 940px;
    background: #fff;
}

#clinicInfo span {
    display: none;
}



#clinicInfo {
	clear:both;
}
#clinicInfo h3 {
	color:black;
	font-size:17px;
	font-weight:700;
	letter-spacing:1;
	line-height:30px;
	padding:25px 0 0 0;
	vertical-align:middle;
}	
#clinicInfo strong {
	color:#2dc1c1;
	font-size:12px;
	border:1px #2dc1c1 solid;
	border-radius:5px;
	letter-spacing:1;
	vertical-align:top;
	padding:4px;
	margin:0 0 0 10px;
}	

#clinicInfo p {
	color:gray;
	font-size:13px;
	line-height:24px;
}
#clinicInfo a {
	color:#736357;
	cursor:pointer;
}
#clinicInfo a:hover {
	color:#337ab7;
	cursor: pointer;
}
#clinicInfo a[href^="tel:"] {
	color:#736357;
}
/*
#clinicInfo a.lineId, #clinicInfo a.call {
	width:22px;
	height:22px;
	display:inline-block;
	text-indent:-9999px;
}
*/

#clinicInfo .lineId, #clinicInfo .call {
	width:auto;
	height:22px;
	display:inline-block;
	padding:0 23px 0 0;
}




#clinicInfo a.map {
	background: url(../images/icon_map.png) left top no-repeat;
	display:inline-block;
	padding:0 0 0 18px;
	width:80px;
	height:22px;
}

#clinicInfo a.lineId {
	background: url(../images/icon_reserve_line.png) right center no-repeat;
}

#clinicInfo a.call {
	background: url(../images/icon_reserve_call.png) right center no-repeat;
}

	#clinicInfo .tabs {
		width: 90%;
		height:35px;
		max-width: 600px;
		margin: 15px auto 30px auto;/
	}
		#clinicInfo .tabs input {
			opacity: 0;
		}
		#clinicInfo .tabs label {
			background: -webkit-linear-gradient(#7f6d3e, #736357);
			border-radius: 10px 10px 0 0;
			cursor: pointer;
			color: #eee;
			padding: 1.7% 4%;
			float: left;
			margin-right: 1px;
			font: italic 0.6em cambria;
		}
			#clinicInfo .tabs label:hover {
				/*background: -webkit-linear-gradient(#777, #666);*/
				background: -webkit-linear-gradient(#a09270, #877954);
			}
			#clinicInfo .tabs input:checked + label {
				background: #fff;
				color: #333;
			}

		.tabs input:nth-of-type(1):checked ~ .panels .panel:first-child,
		.tabs input:nth-of-type(2):checked ~ .panels .panel:nth-child(2),
		.tabs input:nth-of-type(3):checked ~ .panels .panel:last-child {
			opacity: 1;
			-webkit-transition: .3s;
		}

		#clinicInfo .tabs .panels {
			float: left;
			clear: both;
			position: relative;
			width: 100%;
			background: #fff;
			border-radius: 0 10px 10px 10px;
			margin:0 0 30px 0;	
			min-height: 550px;
		}

			.panel {
				width: 100%;
				opacity: 0;
				position: absolute;
				background: #fff;
				border-radius: 0 10px 10px 10px;
				padding: 0 4% 0 10%;
				box-sizing: border-box;
			}



#drColumn {
	background-color:white;
	padding:0px 25px 20px 25px;
	border-radius: 20px;
	box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.1);
	clear:both;
	width:75%;
	margin:0 auto;
	max-width: 700px;
}

#drColumn .drPic {
	clear:both;
	width:100px;
	height:100px;
	margin:0px auto -40px auto;
	background: url(../images/drColumnDrpicpng.png) left top no-repeat;
}

#drColumn h3 {
	font-size:18px;
	line-height:24px;
	font-weight:700;
	letter-spacing:1;
	padding:0 0 10px 0;
}
#drColumn p {
	color:#444;
	font-size:12px;
	text-align:justify;
	line-height:20px;
	padding:0 0 10px 0;
}

#drColumn a.more {
	color:#8e8364;
	float:right;
	font-size:12px;
	padding:3px 5px 5px 0;
}
#drColumn a.more:hover {
	color:#337ab7;
}


#drColumn ul {
	margin:0 auto;
	padding:5px 0;
	clear:both;
}
#drColumn li {
	display:inline-block;
	font-size:12px;
}
#drColumn li.tag {
	color:#8e8364;
}
#drColumn li a {
	text-decoration:none;
	color:white;

	display:inline-block;
	padding:5px 8px;
	border-radius: 14px;
	background-color:#8e8364;
}



#reserveBox {
    bottom: 0px;
    box-sizing: border-box;
    /*overflow: hidden;*/
    z-index: 2;
    position: relative;
	margin:0 auto;
	width:100%;
	position:fixed;
}
#reserveBox button {
	border: none;
    background-repeat: no-repeat;
	cursor: pointer;
	color:white;
	display: block;
    text-align: center;
    font-size: 16px;
	font-weight:700;
    float: left;
    letter-spacing: 0.05em;
	width: 50%;
    height: 50px;
    position: relative;
    box-sizing: border-box;
	transition: all 0.5s;
}

#reserveBox button span {
	cursor: pointer;
	display: inline-block;
	position: relative;
	transition: 0.5s;
	padding:0 0 0 25px;
}

#reserveBox button:hover span {
  padding-right: 25px;
}

#reserveBox button:hover span:after {
  opacity: 1;
  right: 0;
}


#reserveBox button.btnClinicHour {
	background-color: #8dd1c5;
}

#reserveBox button.btnContact {
	background-color: #2dc1c1;
}

#reserveBox button .hour {
    background: url(../images/btnClinicHour.png) left bottom no-repeat;
}

#reserveBox button .contact {
    background: url(../images/btnContact.png) left bottom no-repeat;
}

#reserveBox button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}




footer {
	padding: 0 0 50px 0;
}


footer .webTag {
	width:100%;
	margin:0 auto;
}
footer .webTag h6{
	color:#999;
	/*font-size:10px;*/
	font-size:x-small;
	line-height:16px;
	display:block;
	width:300px;
	margin:0 auto 10px auto;
	text-align:center;
}
footer .webTag a {
	color:gray;

}




/*
footer .webTag ul {
	margin:0 auto;
	padding:5px 10px 5px 20px;
}
footer .webTag li {
	display:inline-block;
	font-size:12px;
}
footer .webTag li.tag {
	color:gray;
}
footer .webTag  li a {
	font-size:12px;
	text-decoration:none;
	color:white;
	display:inline-block;
	padding:5px 8px;
	border-radius: 12px;
	background-color:gray;
}

*/

#backTop {
    /*position: fixed;*/
   /* right: 0px;*/
    bottom: 100px;
	display:block;
	margin:10px auto;
    width: 75px;
	height:75px;

    cursor: pointer;
    z-index: 9999;
	text-indent:-9999px;
	background:url(../images/goTop.png) center top no-repeat;
}














/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  /*margin-top: -22px;*/
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */

.dotBox{
	text-align:center;
	padding:20px 0 0 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}








