/* =======================================================
	內頁設定
======================================================= */

/* =======================================================
	page-content
======================================================= */

.page-content {
	padding-bottom: 40px;
}

.page-content h2 {
	font-size: 2.25em/*36p x  1em=16p x */;
	color: #000;
	letter-spacing: -2px;
	margin-bottom: 8px;
}

.page-content h3 {
	font-size: 1.5em/*24p x*/;
	font-weight: bold;
	color: #000;
	letter-spacing: -1px;
	margin-bottom: 8px;
}

.page-content li {
	font-size: 1em/*16p x*/;
	line-height: 30px;
}

.page-content img {
	margin-top: 25px;
	margin-bottom: 30px;
}

.page-content hr {
	width: 140px;
	color: #000000;
	border-top: solid 2px;
	margin-top: 8px;
	margin-bottom: 22px;
	margin-left: 0px;
	margin-right: 0px;
	
}

.page-content hr.gray {
	width: 100%;
	color: #d1d1d1;
	border-top: solid 2px;
	margin-top: 24px;
	margin-bottom: 22px;
	margin-left: 0px;
	margin-right: 0px;
	
}

.page-content-bg-color {
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
	background-color: #00264c;
}

/* =======================================================
======================================================= */


/* =======================================================
	麵包屑
======================================================= */

/* 背景 */
.page-breadcrumb {
	padding: 0px;
	background-repeat: repeat;
	border-top: 8px solid #ac0009;
}

/* 背景 */
.breadcrumb {
	padding-left: 0px;
	margin-bottom: 0px;
	list-style: none;
	background-color: transparent;
	border-radius: 0px;
}

/* 文字：link顏色 */
.breadcrumb > li a {
	font-size: 1em/*16p x*/;
}

.breadcrumb > li {
	display: inline-block;
}

/* 間隔的符號 */
.breadcrumb > li + li:before {
	padding: 0 5px;
	color: #ccc;
	content: "/";
}

/* 文字：active顏色 */
.breadcrumb > .active {
	font-size: 1em/*16p x*/;
	color: #ac0009;
}

/* =======================================================
======================================================= */


/* =======================================================
	左側選單
	page-list-group
======================================================= */

/* 背景 */
.page-list-group {
	padding-left: 0;
	margin-bottom: 0;
}

/* 邊框 */
.page-list-group-item {
	position: relative;
	display: block;
	padding: 10px 15px;
	margin-bottom: -1px;
	background-color: #f5f5f5;
	border: 4px solid #ffffff;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

/* 上方圓角 */
.page-list-group-item:first-child {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

/* 下方圓角 */
.page-list-group-item:last-child {
	margin-bottom: 0;
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

/* 連結：顏色、文字 */
a.page-list-group-item {
    font-size: 1em /*16p x*/;
    color: #444444;
    font-weight: 600;
}

/* 連結：hover顏色 */
a.page-list-group-item:hover,
a.page-list-group-item:focus {
	color: #ffffff;
	text-decoration: none;
	background-color: #ac0009;
	border-color: #ffffff;
}

/* active顏色 */
.page-list-group-item.active,
.page-list-group-item.active:hover,
.page-list-group-item.active:focus {
	z-index: 2;
	color: #ffffff;
	background-color: #ac0009;
	border-color: #ffffff;
}

/* =======================================================
======================================================= */


/* =======================================================
	thumbnail 縮圖組件
	page-thumbnail
======================================================= */


/* 背景：背景顏色、padding、border、圓角 */
.page-thumbnail-gray {
	display: block;
	padding: 0px 0px 15px;
	margin-top: 10px;
	margin-bottom: 35px;
	line-height: 1.42857143;
	background-color: #f3f3f3;
	border: 0px solid #f3f3f3;
	border-radius: 0px;
	-webkit-transition: border .2s ease-in-out;
		-o-transition: border .2s ease-in-out;
		transition: border .2s ease-in-out;
}

/* 背景：padding、文字顏色 */
.page-thumbnail-gray .caption {
	padding: 0px 20px 10px;
	text-align: justify;
}

/* 圖片 */
.page-thumbnail-gray > img,
.thumbnail a > img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
	margin-top: 0px;
}

/* =======================================================
======================================================= */


/* =======================================================
   form-group
   表單
======================================================= */

/* margin */
.form-group {
	margin-bottom: 0px;
}

/* margin */
.page-form-group {
	margin-bottom: 15px;
}

/* =======================================================
======================================================= */


/* =======================================================
	page-form-group
	表單
======================================================= */

/* 文字、行高、位置：margin、padding */
.page-form-group-text {
    font-size: 1em /*16p x*/;
    color: #444444;
    line-height: 22px;
    padding-left: 5px;
    margin: 0px 0px;
}

/* 位置：margin、padding */
.page-form-group-sign {
	margin-bottom: 10px;
	padding: 100px 0px;
}

/* 位置：margin、padding */
.page-form-group {
	margin-bottom: 10px;
	padding: 0px 0px;
}

/* 文字、行高、位置：margin */
.page-form-group-input {
    font-size: 1em /*16p x*/;
    line-height: 20px;
    margin-bottom: 15px;
}

/* radio-inline */
.page-radio-inline:first-child {
	margin-left: 10px;
}

/* radio-inline */
.page-radio-inline {
	margin-right: 10px;
}

/* =======================================================
======================================================= */


/* selected-請選擇職稱-文字 */
.page-form-control {
	padding: 6px 8px;
}


/* =======================================================
	藥片
======================================================= */

/* 齊左 */
.nav-pills > li {
	float: left;
}

/* link：圓角 */
.nav-pills > li > a {
	border-radius: 4px;
}

.nav-pills > li + li {
	margin-left: 2px;
}

/* active：顏色 */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
	color: #fff;
	background-color: #00264c;
}

/* =======================================================
======================================================= */


/* =======================================================
	分頁巡覽
======================================================= */

/* 文字、位置、圓角 */
.pagination {
	font-size: 0.938em/*15p x*/;
	display: inline-block;
	padding-left: 0;
	margin: 20px 0px 10px;
	border-radius: 4px;
}

.pagination > li {
	display: inline;
}

/* 背景：顏色 */
.pagination > li > a,
.pagination > li > span {
	position: relative;
	float: left;
	padding: 6px 12px;
	margin-left: -1px;
	line-height: 1.42857143;
	color: #777;
	text-decoration: none;
	background-color: transparent;
	border: transparent;
}

/* 第一格的圓角 */
.pagination > li:first-child > a,
.pagination > li:first-child > span {
	margin-left: 0;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

/* 最後一格的圓角 */
.pagination > li:last-child > a,
.pagination > li:last-child > span {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

/* 連結：hover顏色 */	
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
	color: #ac0009;
	background-color: transparent;
	border-color: transparent;
}
	
/* 連結：active顏色 */	
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	z-index: 2;
	color: #fff;
	cursor: default;
	background-color: #ac0009;
	border-color: transparent;
	border-radius: 4px;
}

/* =======================================================
======================================================= */


/* =======================================================
	page-panel
	面板
======================================================= */

/* 背景：margin */
.page-panel {
	margin-bottom: 20px;
	background-color: #fff;
	border: 1px solid transparent;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
          	box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

/* 文字：字級 */
.page-panel-title {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 1em/*16p x*/;
	color: inherit;
}

/* 文字：字級 */
.page-panel-body {
    padding: 15px;
    font-size: 1em /*16p x*/;
}

.page-panel-heading {
	padding: 10px 15px;
	border-bottom: 1px solid transparent;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

/* =======================================================
	手機圖片跑板問題 -> class="d-block w-100"
======================================================= */
/* 圖片：屏幕寬度大於或等於 992px時縮小為80% */
@media (min-width: 992px) {
	.carousel-item img {
		max-width: 80%;
		margin: 0 auto;
	}
}

/* =======================================================
======================================================= */