@charset "utf-8";
/* 首頁主要內容區域 */

/*首頁Option*/
.comm-btn {
	height: auto;
	text-align: center;
	width: 16.66%;
	/* border: 1px solid #f1da84; */
}
.comm-btn img{
	width: 30%;
}
.comm-btn a{
	display: block;
}
.comm-btn-text {
	font-size: 1.06rem;
	padding-bottom: 5px;
	height: 41px;
	font-weight: bolder;
	line-height: 40px;
	color: #ffffff;
}
.comm-btn:hover{
	/* background-color: #fff4c8; */
	background: #c750ad;
}

.f-btn {
	height: auto;
	text-align: center;
	width: 16.66%;
	border: 1px solid #ffffff;
}
.f-btn img{
	width: 70%;
}
.f-btn a{
	display: block;
}
.f-btn-text {
	font-size: 1.35rem;
	padding-bottom: 5px;
	height: 40px;
	font-weight: bolder;
	line-height: 40px;
}
.f-btn:hover{
	background-color: #76bdc1;
}

/*首頁彈出畫面*/
.home_load{
	position: absolute;
	right: 0px;
	top: 0px;
	padding: 5px;
	width: 50px;
	cursor: pointer;
	z-index: 10;
}
.homeimg_load{
	position: absolute;
	top: 20%;
	left: 28%;
	right: 28%;
	z-index: 1000;
	border: 3px solid #f079bd;
}

/*首頁跑馬燈*/
.msg_border {
	font-size: 1.2em;
	color: #fff;
	background-color: #00247b;
	border-radius: 3px;
}

marquee{
	font-size: 1.5em;
	font-weight: bold;
	color: #00247b;
}

/*middeOption*/
.MO-bule{
	background-color: #3F51B5;
	border-radius: 2px;
	margin-bottom: 10px;
	box-shadow: #e5e5e5 2px 3px;
	background-image: url(../../../images/home_icon/rf-btn-01.png);
	background-repeat: no-repeat;
	padding: 15px 0 15px 50px;
	color: white;
	background-position: left center;
}

.MO-pink {
	background-color: #d43580;
	border-radius: 2px;
	margin-bottom: 10px;
	box-shadow: #e5e5e5 2px 3px;
	background-image: url(../../../images/home_icon/rf-btn-02.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 15px 0 15px 50px;
	color: white;
}

.MO-red {
	background-color: #d93839;
	border-radius: 2px;
	margin-bottom: 10px;
	box-shadow: #e5e5e5 2px 3px;
	background-image: url(../../../images/home_icon/rf-btn-03.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 15px 0 15px 50px;
	color: white;
}

.MO-orange {
	background-color: #ffa024;
	border-radius: 2px;
	margin-bottom: 10px;
	box-shadow: #e5e5e5 2px 3px;
	background-image: url(../../../images/home_icon/rf-btn-04.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding: 15px 0 15px 50px;
	color: black;
}


/*首頁醫院訊息*/
.bottomLine{
	border-bottom: 1px solid #ddd;
	padding-bottom: 3px;
}

.news .title,.custom .title,.customQuick .title{
	border-bottom: 3px solid #3e9ca9;
	color: #3e9ca9;
	padding: 0 10px 0 0px;
	letter-spacing: 1px;
	font-size: 1em;
	font-weight: bold;
}
.custom .title a,.customQuick .title a{
	color: #3e9ca9;
}

.news .nav{
	background-color: #F2F2F2;
	color: black;
	font-size: 1.2em;
	font-weight: bold;
}

.news .nav .nav-item:not(.active){
	border: 1px solid #DDD;
}

.news .nav .nav-item.active {
	color: black;
	background-color: white;
	border-top: 3px solid #383f45 !important;
}
.news .tab-content {
	border: 1px solid #DDD;
	border-top: 0;
	padding: 20px;
}
.news .tab-content a{
	color:#555;
}
.news .card {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgba(0,0,0,0);
	border-radius: .25rem;
	border-bottom: 5px #ddd solid;
	padding: 10px 10px;
	margin: 0 0 15px;
	-moz-transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}
.news .card:hover {
	background: #f5f5f5;
	border-bottom: 5px #3e9ca9 solid;
	box-shadow: 0 0 10px #aaa;
}
.news .card .card-img-top {
	overflow: hidden;
	position: relative;
	border: 1px solid #e8e5e5;
	background-color: #f5f5f5;
}
.news .card .card-img-top.main-img{
	height: 333px;
	overflow: hidden;
}

.news .card .card-img-top.sub-img{
	height: 130px;
	overflow: hidden;
}

.news .card .card-title {
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden;
	font-weight:bold;
	font-size: 1.6em;
	color: #3e9ca9;
}
.news .card .card-sub-title {
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden;
	font-size: 1.2em;
	color: #3f8acd;
}
.news .card .card-date {
	font-weight:bold;
	font-size: 1em;
}
.news .card .card-text{
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden;
	font-size: 1em;
}
.btn-news{
	color: #fff;
	background-color: #3e9ca9;
	border-color: #3e9ca9;
}

.btn-news:hover {
	color: #fff;
	background-color: #1a8290;
	border-color: #1a8290;
}

@media (max-width: 1200px){
	.news .card .card-img-top.main-img{
		height: 273px;
		overflow: hidden;
	}
	.news .card .card-img-top.sub-img{
		height: 100px;
	}
}

@media (max-width: 992px){
	.news .card .card-img-top.main-img{
		height: auto;
		overflow: unset;
	}
	.news .card .card-img-top.sub-img{
		height: 200px;
	}
}

@media (max-width: 768px){
	.news .card .card-img-top.sub-img{
		height: auto;
		overflow: unset;
	}
}


/*首頁醫療訊息*/
.date_color{
	color: #e80058;
}
.btn-rss{
	color: #fff;
	background-color: #d76f02;
	border-color: #d76f02;
	padding: 2px 5px;
	float: right;
}
.btn-rss:hover {
	color: #fff;
	background-color: #AD5A00;
	border-color: #AD5A00;
}
.medical_title {
	padding: 8px;
	background-color: #fce2cb;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
	display: flow-root;
	border: 1px solid #f7d7c8;
}
.medi_body {
	border: 1px solid #f7d7c8;
	display: flow-root;
}
.medical_h2 {
	font-size: 1.6em;
	color: black;
	margin: 10px 0px 10px 0px;
}
.medi_body ul li {
	line-height: 40px;
	border-bottom: 1px dotted #dcdcdc;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	list-style: none;
}

.events_title {
	padding: 8px;
	background-color: #b9e5e4;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
	display: flow-root;
	border: 1px solid #98d4cf;
}
.events_body {
	border: 1px solid #98d4cf;
	display: flow-root;
}
.events_h2 {
	font-size: 1.6em;
	color: black;
	margin: 10px 0px 10px 0px;
}
.events_body ul li {
	line-height: 40px;
	border-bottom: 1px dotted #dcdcdc;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	list-style: none;
}
.more_link {
	float: right;
	line-height: 50px;
	font-size: 1.2em;
}

/*首頁焦點新聞*/
.newsTxt ul li {
	margin-bottom: .5rem;
	list-style: none;
	padding-bottom: 3px;
	border-bottom: 1px solid #CCC;
}
.newsTxt ul li:before {
	position: absolute;
	left: 1%;
	text-align: center;
	margin: 5px 0px;
	line-height: 20px;
	transition: all .2s;
	color: #ffffff;
	background: #33577C;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	content: '+';
}
.newsTxt ul li .subTitle{
	font-weight: bold;
	font-size: 1.2em;
}
.newsTxt ul li .date{
	color:#008a79;
	font-weight: bold;
	font-size: 1.2em;
}

/*owl系列*/
.owl-carousel .owl-nav [class*=owl-] {
	position: absolute;
	top: 50%;
	margin-top: -18px;
	left: -15px;
	zoom: 1;
	width: 36px;
	height: 36px;
	line-height: 32px;
	border: 0;
	color: black !important;
	background-color: #dedddd !important;
	font-size: 1.125em;
	border-radius: 50%;
	opacity: 0;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
.owl-carousel:hover .owl-nav [class*=owl-] {
	opacity: 1;
	left: 0px;
}
.owl-carousel:hover .owl-nav .owl-next {
	left: auto;
	right: 0px;
}
.owl-carousel .owl-nav [class*=owl-]:hover {
	background-color: #b7005c!important;
	color: white!important;
	text-decoration: none;
}
.owl-carousel .owl-nav .owl-next {
	left: auto;
	right: -15px;
}
.owl-carousel .owl-nav [class*=owl-]:focus {
	outline-color: red !important;
	outline-style: dashed !important;
	outline-width: 2px !important;
}

/* customQuick */
.customQuick .list{
	padding: 5px;
	display: block;
	color: #555;
	background: #fff;
	border: 1px #ddd solid;
	border-left: 5px #3e9ca9 solid;
	font-size: 1.2em;
	-moz-transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}

.customQuick .list:hover{
	box-shadow: 0 0 10px #aaa;
}

/*首頁新進醫師介紹*/
.dotor-border {
	background-color: #f4f4f4;
	border: 1px solid #e3e3e3;
	position: relative;
}
.dotor-btn {
	background-color: #f4f4f4;
	text-align: center;
	margin-bottom: 15px;
}
.dotor-btnimg {
	width: 80%;
	margin: 15px 10px;
}
.dotor-title {
	font-size: 1.5em;
	font-weight: bold;
	line-height: 2.4;
	text-align: center;
	color: #2b2b2b;
}
.solidLine{
	border-top:2px solid white;
	height: 1px;
	overflow:hidden;
}
.imgArea {
	max-height: auto;
	overflow: hidden;
}
.img2Area {
	border: 20px solid white;
	max-height: 200px;
	overflow: hidden;
}
.img3Area {
	border: 20px solid white;
	max-height: 200px;
	overflow: hidden;
}
.title{
	font-size: 3em;
	margin-top: 20px;
}
.titleArea{
	text-align: center;
	font-size: 1.3em;
	color: black;
}
.txtArea{
	text-align: center;
	font-size: 1.3em;
	color: #d43270;
	font-weight:bold;
}
.contentArea{
	font-size: 1.125em;
	color: black;
}

/*相關連結*/
.rellinks{
	background: url('/images/home_img/links-bg.png');
}
.rellinks .title {
	font-size: 2em;
}

/*醫療衛教資訊*/
.medilinks{
	background-color: #c8eaec;
	text-align: center;
}
.medilinks_title{
	color: #4a5154;
	font-size: 2rem;
}


/* 活動花絮 */
.thumbArea {
	font-size: 1.2em;
	padding-bottom: 15px;
	text-align: center;
	background-color: #fff;
	margin-bottom: 10px;
	box-shadow: 2px 2px 5px #dedede;
	padding: 8px;
}
.photos-line {
	height: 10px;
	width: 100%;
	background-image: url(/images/home_img/photos-bg.png);
	background-repeat: repeat;
	background-position: 0 0;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 8px 0px;
}


/* owl系列 */
.owl-carousel a:focus,
.owl-dot:focus{
	outline-color: red;
	outline-style: dashed;
	outline-width: 2px;
}

.owlDoctor .owl-nav button.owl-prev span {
	position: absolute;
	top: 40%;
	left: 0px;
	font-size: 5rem;
	background-color: white;
	padding: 5px;
	color: black;
	border-radius: 5px;
}

.owlDoctor .owl-nav button.owl-next span {
	position: absolute;
	top: 40%;
	right: 0px;
	font-size: 5rem;
	background-color: white;
	padding: 5px;
	color: black;
	border-radius: 5px;
}

.owlDoctor .owl-dots .owl-dot span {
	background: white;
	border: 2px solid black;
}

.owlDoctor .owl-dots .owl-dot.active span,
.owlDoctor .owl-dots .owl-dot:hover span {
	background: white;
	border: 2px solid #03A9F4;
}

.owltourl .owl-nav button.owl-prev span {
	position: absolute;
	top: 20%;
	left: 0px;
	font-size: 3rem;
	background-color: green;
	padding: 5px;
	color: white;
	border-radius: 5px;
}

.owltourl .owl-nav button.owl-next span {
	position: absolute;
	top: 20%;
	right: 0px;
	font-size: 3rem;
	background-color: green;
	padding: 5px;
	color: white;
	border-radius: 5px;
}

.owltourl .owl-dots .owl-dot span {
	background: white;
	border: 2px solid black;
}

.owltourl .owl-dots .owl-dot.active span,
.owltourl .owl-dots .owl-dot:hover span {
	background: white;
	border: 2px solid #2c7c84;
}

/* 活動花絮 */
.activeys .title{
	font-size: 2em;
}

.activeys .card .overlay{
	background: rgba(0, 0, 0, 0.55) none repeat scroll 0 0;
	height: 100%;
	opacity: 0;
	padding: 20px;
	position: absolute;
	text-decoration: none;
	transition: all 0.4s ease 0s;
	width: 100%;
	z-index: 100;
	bottom: 0;
	left: 0;
	right: 0;
	top: 0;
	transform: scale(0);
	-webkit-transform: scale(0);
	transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-webkit-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
}

.activeys .card:hover .overlay,.activeys .card a:focus .overlay{
	opacity: 1;
	filter: alpha(opacity=40);
	transform: scale(1);
	-webkit-transform: scale(1);
}

.activeys .card .overlay .icon {
	color: #fff;
	font-size: 2rem;
	left: 45%;
	position: absolute;
	right: 0;
	top: 42%;
}


/*
*media
*/
@media (max-width: 1152px){
	.f-btn {
		width: 140px;
	}
}
@media (max-width: 960px){
	.f-btn {
		width: 150px;
	}
}

@media (max-width: 768px){
	.margin_h{
		height: 130px;
	}
	.f-btn {
		width: 170px;
	}
}

@media (max-width: 414px){

	.f-btn {
		width: 190px;
	}
}
@media (max-width: 375px){
	.f-btn {
		width: 170px;
	}
}
@media (max-width: 360px){
	.f-btn {
		width: 160px;
	}
}
@media (max-width: 320px){
	.f-btn {
		width: 145px;
	}
}