@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400&family=Noto+Serif+TC:wght@500&display=swap');

body{
	font-size: 1.1rem!important;
}



:root {
	--yh-yellow: #f9db4b;
	--yh-midyellow: #f9ce39;
	--yh-lightorange: #f1ac28;
	--yh-orange: #ef932d;
	--yh-green1: #879e29;
	--yh-green2: #53a165;
	--yh-green3: #6ec0a9;
	--yh-lightgray: #c5d5dd;
	--yh-bluegray: #90b6c1;
	--yh-midgray: #8092a1;
	--yh-darkgray1: #577174;
	--yh-darkgray2: #647172;
	--yh-darkgray3: #717979;
	--yh-midbrown: #8d711e;
	--yh-darkbrown: #4d3b0a;
}

ul{
	margin:0;
	padding:0;
	padding-left:20px;
	color:#577174!important;
}

.carousel-control-next, .carousel-control-prev{
	color:var(--yh-darkgray1)!important;
}

.carousel-control-prev-icon {
	background-image: url("../images/prev-icon.png");
}

.carousel-control-next-icon{
	background-image: url("../images/next-icon.png");
}

.carousel-control-next-icon, .carousel-control-prev-icon{
	width:60px;
	height:60px;
}


.carousel-indicators {
	position: absolute;
	right: 0;
	bottom: -20px;
	left: 0;
	z-index: 15;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: center;
	justify-content: center;
	padding-left: 0;
	margin-right: 15%;
	margin-left: 15%;
	list-style: none;
	margin-bottom:0;
}

.carousel-indicators li {
	box-sizing: content-box;
	-ms-flex: 0 1 auto;
	flex: 0 1 auto;
	width: 10px;
	height: 10px;
	margin-right: 3px;
	margin-left: 3px;
	text-indent: -999px;
	cursor: pointer;
	background-color: var(--yh-darkbrown);
	background-clip: padding-box;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	opacity: .5;
	transition: opacity .6s ease;
}

#loading{
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 999999;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

#loading img{
	width: 10%;
	height: auto;
	position: absolute;
	top:0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
}

.mp-row{
	background: #C7B299!important;
	margin-left: .25rem;
	margin-right:.25rem; 
	margin-bottom:1.5rem;
}

.mp-script{
	font-family: 'Noto Serif TC', serif;
	font-size: 1.1rem;
	color:var(--yh-darkbrown);
	padding-left:2rem;
}

.main-stContent{
	padding:1rem;
}


.no-scroll{
	overflow: hidden;
}

video{
	display: block;
	width: 100%;
	height: 100%;
	/* position設定成fixed 然後在影片淡出後再把body的no-scroll class移除掉，避免影片還沒播完就卡在頁面內容下方 */
	position: fixed; 
	top:0;
	left:0;
	object-fit: cover;
	z-index: 9999;
}

video.hideThis{
	opacity: 0;
}

section{
	padding-bottom:3rem;
}

section.main-banner,section.roadWrapper{
	padding-bottom:0;
}

section.donateSection{
	background: #fff6ce;
}

section.donateSection a.donateBtn1{
	width: 250px;
	height: auto;
	display: block;
	margin:0 auto;
	font-size: 1.3rem;
	border-radius: 2rem;
	background: #ff6a6e;
	color: #fff;
	padding: 0.8rem 2.5rem;
	text-align: center;
	border: 0;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
}

#pos2{
	background: #fff6ce;
}

section#pos2 h4{
   font-weight: 500!important;
   color:var(--yh-darkbrown);
}

section#pos2 h4:before{
	content: "";
	width: 5px;
	height: 25px;
	margin-right: 0.5rem;
	position: relative;
	top: 4px;
	display: inline-flex;
	background: var(--yh-darkbrown);
}

#pos4{
	/* background: url("../images/mainBanner_background.jpg"); */
	background: url("../images/spmanBack.jpg?v=3");
	background-size: cover;
	background-repeat-x: repeat;
}

a.videoBtn:link,a.videoBtn:visited{
	position: relative;
	display:block;
}



a.videoBtn .playBtn{
	width:100%;
	height:100%;
	background: rgba(60, 60, 60, 0.5);
	position: absolute;
	left:0;
	top:0;
	display: flex;
	cursor: pointer!important;
	/* opacity: 1; */
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
}

a.videoBtn:hover .playBtn{
	/* opacity: 0; */
	background: rgba(60, 60, 60, 0.1);
}

.playBtn h2{
	text-align: left;
	font-weight: 300;
	color:#fff;
	font-size: 2.3rem;
	position: absolute;
	bottom:4%;
	left:3%;
}

.vice-video .playBtn h2{
	font-size: 2rem;
}

.playBtn img{
	width:60px;
	height:auto;
	position: absolute;
	top:6%;
	left:3%;
}

.embedSize{
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
}

.embedSize iframe{
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%;
}

html{
	padding:
	 constant(safe-area-inset-top)
	 constant(safe-area-inset-right)
	 constant(safe-area-inset-bottom)
	 constant(safe-area-inset-left);
}

.modal-header{
	border-bottom:0 !important;
}

a.showStoryBtn{
	border-radius: 2rem;
	background: var(--yh-orange);
	color:#fff;
	padding:.8rem 2.5rem;
	text-align: center;
	border:0;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
}

a.showStoryBtn:hover{
	background: var(--yh-midbrown);
}

header{
	background: var(--yh-yellow);
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1020;
}



nav{
	width: 100%;
	max-width: 1140px;
	margin:0 auto;
	
}

.nav-link.dBtn{
	display: block;
	padding: 0.5rem 1rem;
	background: var(--yh-orange);
	color:#fff!important;
	text-align: center;
	border-radius: 2rem;
	padding-left: 1.2rem!important;
	padding-right: 1.2rem!important;
	margin-left: 0.5rem;
	
}

.navbar-light .navbar-toggler{
	color: #fff;
	border-color: rgba(0,0,0,.1);
}

.navbar-toggler {
	border: 0;
}

.bg-cover{
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	/* background-attachment: scroll !important; */
}

.main-banner{
	background: url("../images/mainBanner_background.jpg");
}

.bannerBackMountain{
	width:100%;
	height:100%;
	background: url("../images/bannerBackMountain.png") repeat-x;
	background-position: bottom;
	overflow:hidden;
}

.keyqBox{
	/* background: var(--yh-bluegray); */
	padding:2.5rem;
}

.key-row{
	display: flex;
	align-items: center;
	margin-bottom:1.2rem;
}

.key-row span{
	width:40px;
	height:40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius:50%;
	background: var(--yh-darkgray2);
	color:#fff;
	font-size: 1.5rem;
	font-weight: 300;
	margin-right:1rem;
}

.key-row p{
	font-size: 1.5rem;
	font-weight: 400;
	margin:0;
}

.section-title{
	text-align: center;
	padding:3.5rem 0;
	color: var(--yh-darkbrown);
}

.section-title h2{
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 500;
	font-size: 2.3rem!important;
	/* display: inline-flex;
	align-items: center; */
}

.section-title h2:before{
	content: "";
	width: 6px;
	height: 35px;
	margin-right: 0.8rem;
	position: relative;
	top: 4px;
	display: inline-flex;
	background: var(--yh-darkbrown);
}

.section-title.spman h2{
	line-height: 1;
	display: flex;
	justify-content: center;
}

.mainBannerContent{
	width: 1140px;
	height: auto;
	display: flex;
	margin:0 auto;
	position: relative;
	align-items: flex-start;
	justify-content: center;
}

.mainBannerContent a.donateBtnImg{
	width: 450px;
	height: auto;
	position: absolute;
	bottom: 3.5rem;
	left: 550px;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
}

/* .mainBannerContent a.donateBtnImg:hover{
	width: 380px;
	height: auto;
} */

.mainBannerContent a.donateBtnImg img{
	width:100%;
	height:auto;
}

.donateSection a.donateBtnImg{
   display: none;
}



.mainBannerContent img.bannerDraw{
	width:40%;
	height: auto;
	margin: 0 2rem;
}

.mainBannerContent img.bannerTitle{
	width:25%;
	height: auto;
	margin: 0 1rem;
}

/* 車子跑動 */
.roadWrapper{
	width:100%;
	height:auto;
	display: block;
	background: #fff6ce;
	/* margin-bottom:3rem; */
	/* background: gray; */
	/* overflow-x: hidden; */
}

.roadSection{
	width:100%;
	height: 40px;
	/* background: gray; */
	position: relative;
	z-index: 0;
	background: #506365;
}


.roadSection:before{
	content: "";
	width: 100%;
	height: 3px;
	display: block;
	position: absolute;
	top: 47%;
	background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23ececec' stroke-width='8' stroke-dasharray='3%25 4%25' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
}

.roadSection.two{
	background: #577174;
	display: none;
}

.roadSection.three{
	background: #5d7d81;
	display: none;
}

.carTrack{
	width:100%;
	height:auto;
	
	position: relative;
	/* overflow-x: hidden; */
	
}

.patientBak{
	
	width:100%;
	height: auto;
	display: flex;
	margin-bottom:0;
	justify-content: flex-end;
	padding: 1.5rem;
	background-size: contain!important;
}

/* .patientBak.chen{
	background: url("../images/mrChen.png") no-repeat;
}

.patientBak.kao{
	background: url("../images/mrKao.png") no-repeat;
}

.patientBak.yei{
	background: url("../images/mrYei.png") no-repeat;
} */

/* .patientBak p.kaoP{
	width:50%!important;
} */

p{
	font-family: 'Noto Sans TC', sans-serif;
	color: #577174!important;
	line-height: 1.5;
	font-size: 1.1rem;
	font-weight: 300;
}



.carImg{
	width:fit-content;
	height: auto;
	display:flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	z-index: 9;
	bottom:5px;
	left:-5%;
	transition: all 3s ease-out;
	-webkit-transition: all 3s ease-out;
	-moz-transition: all 3s ease-out;
}

.carImg img{
	width:70%;
	height: auto;
}
/* #car1{
	left:-80px;
} */

#car2,#car3{
	display: block;
}

.trackLine{
	width:0;
	height: 6px;
	position: absolute;
	top:18px;
	background: #e16a6e;
	transition: all 3.1s ease-out;
	-webkit-transition: all 3.1s ease-out;
	-moz-transition: all 3.1s ease-out;
}


/* 偏鄉銀髮癌友就醫困境 */

.nowstate{
	width: 1140px;
	height: auto;
	margin:0 auto;
	position: relative;
}


.card{
	width:100%;
	border:0;
}

.story-card .imgBox{
	
	width:250px;
	height:250px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #cecece;
	margin: 0 auto;
}

.story-card .imgBox img{
	width: 330px;
	height: auto;
	margin: 0 auto;
}

.storyText1{
	width:fit-content;
	/* background: #71212966; */
	padding: 2rem;
}

.storyText1 p{
	color:#000!important;
}

.storyText1 p:last-child{
	margin-bottom: 0;
}


/* 內頁 */
.pageBannerContent{
	width: 1140px;
	height: auto;
	display: block;
	margin:0 auto;
	position: relative;
}

.pageBannerContent img.bannerDraw{
	width:100%;
	height:auto;
	/* position: absolute;
	bottom:0; */
}



/* footer */
footer{
	background: var(--yh-yellow);
}

footer h5{
	color: var(--yh-darkbrown);
}



a.donateBtn{
	width: 250px;
	height: auto;
	display: block;
}

a.donateBtn img{
	width:100%;
	height: auto;
}

.row.donate-row{
	align-items: center;
}

.row.donate-row h5{
	font-size: 1.8rem;
	font-weight: bold;
}

.row.donate-row p{
	margin-bottom: 0;
	font-size: 1.2rem;
}

.target-p{
	display: flex;
	align-items: center;
	margin-bottom: .8rem;
}

.target-p img{
	width:32px;
	height: auto;
}

.target-p p{
	margin:0;
	margin-left:.5rem;
	font-size: 1.2rem;
	font-weight: 400;
	color:var(--yh-darkbrown)!important;
}

.spmanBox{
	width: 250px;
	height:250px;
	display: block;
	border-radius: 50%;
	overflow: hidden;
}

.spmanBox img{
	width:100%;
	height: auto;
}

section.donateformSec{
	box-sizing: border-box;
}

section.donateformSec .row{
	margin-left:0!important;
	margin-right:0!important;
}


a.currentDonate{
	width: fit-content;
	height: auto;
	/* margin: 0 auto; */
	border-radius: 10px;
	padding: .25rem 1rem;
	background: #0d9922;
	color: #fff;
	display: block;
	text-align: center;
	font-size: 1rem;
	opacity:0;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all .3s ease-out;
}

a.currentDonate:after{
	content: '';
	display: block;
	position: absolute;
	top:45%;
	left:50%;
	transform:translate(-50%,-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12px 8px 0 8px;
	border-color: #0d9922 transparent transparent transparent;
}

a.currentDonate span{
	font-size: .8rem;
}

/* 道路上的物件 */
.roadItem{
	width:100%;
	position: relative;
	bottom:-5px;
	left:0;
}



.roadItem .rpos{
	position: absolute;
	bottom:0;
	width:70px;
}

.roadSection.one .roadItem .rpos.r1-1{
	left:10%;
}

.roadSection.one .roadItem .rpos.r1-2{
	left:30%;
	width: 80px;
}

.roadSection.one .roadItem .rpos.r1-3{
	left:70%;
	width: 60px;
}

.roadSection.one .roadItem .rpos.r1-4{
	left:5%;
	width: 60px;
}

.roadSection.one .roadItem .rpos.r1-5{
	left:45%;
	width: 150px;
}

.roadSection.one .roadItem .rpos.r1-6{
	left:25%;
	width:20px;
}


.roadSection.one .roadItem .rpos.r1-7{
	left:62%;
	width:20px;
}

.roadSection.one .roadItem .rpos.r1-8{
	left:55%;
	width:70px;
}

.roadSection.one .roadItem .rpos.r1-10{
	left:15%;
	width:70px;
}

.roadSection.one .roadItem .rpos.r1-9{
	left: 78%;
	width: 70px;
}


.roadItem .rpos.hospital{
	right:1%;
	width: 150px;
	bottom: -10px;
}

p.sectit-p{
	font-size: 1.5rem!important;
	color:var(--yh-orange)!important;
}

.modal-body{
	padding:2rem!important;
}

@media screen and (max-width:767px){
	
	header{
		position: -webkit-sticky;
		position: fixed;
		z-index: 1020;
		top: 0;
	}
	
	.trackLine{
		height: 3px;
	}
	
	.indexP{
		padding-top:3rem;
	}
	
	.modal-body{
		padding:1rem!important;
	}
	
	.mp-row{
		margin-left: 0rem;
		margin-right:0rem; 
		margin-bottom:1.2rem;
	}
	
	.mp-script{
		padding-left:1rem;
		padding-bottom:1rem;
	}
	
	.main-stContent{
		padding:1rem;
	}
	
	.playBtn h2{
		text-align: left;
		font-weight: 300;
		color:#fff;
		font-size: 1.5rem;
		position: absolute;
		top:auto;
		bottom:4%;
		left:3%;
	}
	
	.vice-video .playBtn h2{
		font-size: 1.1rem;
	}
	
	.playBtn img{
		width:40px;
		height:auto;
		position: absolute;
		top:6%;
		left:3%;
	}
	
	.navbar-brand{
		padding:0;
		margin:0;
	}
	
	.roadItem .rpos.hospital {
		right: 1%;
		width: 60px;
		bottom: -20px;
	}
	
	.roadItem .rpos{
		width:40px;
	}
	
	.roadSection:before{
		content: "";
		width: 100%;
		height: 3px;
		display: block;
		position: absolute;
		top: 47%;
		background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23ececec' stroke-width='8' stroke-dasharray='4%25 10%35' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
	}
	
	.roadSection.one .roadItem .rpos.r1-2 {
		left: 30%;
		width: 50px;
	}
	
	.roadSection.one .roadItem .rpos.r1-3{
		left:70%;
		width: 40px;
	}
	
	.roadSection.one .roadItem .rpos.r1-4 {
		left: 5%;
		width: 30px;
	}
	
	.roadSection.one .roadItem .rpos.r1-6{
		left:25%;
		width:15px;
	}
	
	.roadSection.one .roadItem .rpos.r1-5 {
		left: 50%;
		width: 80px;
	}
	
	.roadSection.one .roadItem .rpos.r1-7{
		display: none;
	}
	
	.roadSection.one .roadItem .rpos.r1-8 {
		display: none;
	}
	
	.roadSection.one .roadItem .rpos.r1-10 {
		display: none;
	}
	
	.roadSection.two .roadItem .rpos.r1-1{
		left:5%;
	}
	
	.roadSection.two .roadItem .rpos.r1-2{
		display: none;
		left:20%;
	}
	
	.roadSection.two .roadItem .rpos.r1-3{
		left:60%;
	}
	
	.roadSection.two .roadItem .rpos.r1-4{
		left:15%;
		width:35px;
	}
	
	.roadSection.two .roadItem .rpos.r1-5{
		left:28%;
	}
	
	.roadSection.two .roadItem .rpos.r1-6 {
		left: 42%;
		width: 80px;
	}
	
	
	.roadSection.two .roadItem .rpos.r1-7 {
		left: 72%;
		width: 48px;
	}
	
	.roadSection.three .roadItem .rpos.r1-1{
		left:15%;
	}
	
	.roadSection.three .roadItem .rpos.r1-2{
		left:35%;
		width: 55px;
	}
	
	.roadSection.three .roadItem .rpos.r1-3{
		left:75%;
	}
	
	.roadSection.three .roadItem .rpos.r1-7{
		left:62%;
		width:15px;
	}
	
	.roadSection.three .roadItem .rpos.r1-10 {
		left: 3%;
		width: 48px;
	}
	
	.storyText1{
		width:100%;
	}
	
	
	
	.kaoBak p.kaoP{
		width:100%!important;
	}
	
	#loading img{
		width: 30%;
		height: auto;
	}
	
	.section-title{
		text-align: center;
		padding:1.5rem 0;
		color: var(--yh-darkbrown);
	}
	
	.section-title h2{
		font-family: 'Noto Sans TC', sans-serif;
		font-weight: 300;
		font-size: 2rem!important;
		padding-left:1rem;
		padding-right:1rem;
	}
	
	.section-title h2:before{
		display: none;
	}
   
   .section-title h2 span{
	   display: block;
   }
   
   .section-title.spman h2{
	   line-height: 1.3;
	   display: block;
   }
   
   .mainBannerContent a.donateBtnImg{
	   display: none;
   }
   
   section.donateSection{
	   padding-bottom:2rem;
   }
   
   .donateSection .row{
	   width:100%;
   }
   
   .donateSection a.donateBtnImg{
	   width:70%;
	   margin:0 auto;
	   display: block;
	}
	
	
   .donateSection a.donateBtnImg img{
	   width:100%;
	   height:auto;
   }	
   
   #pos2  .section-title{
	   padding-top:1rem;
   }
   
   
   
   section#pos5 {
	   padding-bottom: 2rem;
   }
   
   .main-banner{
	   padding-top:1.5rem;
   }
   
   .mainBannerContent{
	   width:100%;
	   height:auto;
   }
   
   .mainBannerContent img.bannerTitle {
	   width: 30%;
	   height: auto;
   }
   
   .bannerBackMountain{
	   background: none;
   }
   
   
   .pageBannerContent{
	   width:100%;
		  height:auto;
   }
   
   .navbar-nav .nav-link{
	   text-align: center;
   }
   
   
   .nav-link.dBtn{
	   margin: 0 auto;
	   margin-top:.5rem;
	   width:60%;
   }
   
   
  .keyqBox{
	  padding-top:0;
  }
   
   .carImg{
		   width:60px;
		   height: auto;
   }
   
   
   .carTrack{
	   overflow-x: hidden;
	   height:auto;
	   padding-top:30px;
	   top:-30px;
   }
	
	.roadSection{
		height:40px;
	}
	
   .roadSection.two,.roadSection.three{
	   display: block;
   }
   
   .nowstate{
	   width:100%;
   }
}