@charset "utf-8";
body {
	font-family: "微軟正黑體", "新細明體", "Arial Unicode MS"
}

.container{
	max-width: 1600px;
	padding:0 20px;
}
.container-fluid {
	max-width: 1600px;
}

.footer {
	color: #fff;
	background-color: #5cb9b4;
	text-align: center;
	padding: 24px 0;
}

.footer a {
	color: #0FC;
}

.footer_link{ display:inline-block;}

.share {
	margin: 8px 0;
}

.share img {
	margin: 0 2px;
}

.backtop {
	position: fixed;
	z-index: 999;
	width: 48px;
	height: 48px;
	left: 100%;
	top: 100%;
	margin-top: -64px;
	margin-left: -64px;
	padding: 5px;
	background-color: rgba(000, 000, 000, 0.5);
	text-align: center;
	color: #fff;
	font-size: 1.3rem;
	border-radius: 4px;
	cursor: pointer;
	-webkit-transition: background 0.3s;
	/* Safari */
	transition: background 0.3s;
}

.backtop:hover {
	background-color: #43908c;
}

.title_line {
	width: 60px;
	height: 3px;
	background-color: #5cb9b4;
	margin: 30px auto 60px;
}

.navbar {
	padding: 0px;
}

.navbar-brand {
	margin-left: 15px;
}

@media (min-width:768px) {
	.navbar-brand {
		margin-left: 0;
	}
}

.navbar-toggler {
	margin: 15px;
}

.navbar-nav .nav-item .nav-link {
	padding: 15px;
}

.navbar-nav .nav-item .nav-link:hover {
	background-color: #999;
}

.menu_header {
	position: fixed;
	z-index: 9000;
	top: 0;
	left: 0;
	width: 240px;
	height: 100%;
	background:#385173;
	-webkit-transition: margin 0.3s;
	/* Safari */
	transition: margin 0.3s;
	overflow-y: auto;
}

.menu_header img {
	margin: 12px 0;
}

.menu_close {
	left: 100%;
	margin-left: 0px;
}

.menu_open {
	left: 100%;
	margin-left: -240px;
}

.menu_header .container-fluid {
	padding: 0;
	position: relative;
	max-width: 1600px;
}

@media (min-width:992px) {
	.menu_header {
		position: fixed;
		width: 100%;
		height: auto;
		background: rgba(255,255,255,0.3);
		/*border-bottom: 8px solid #5cb9b4;*/
		overflow-y: visible;
	}
	.menu_open,
	.menu_close {
		left: 0;
		margin-left: 0;
	}
	.menu_header .container-fluid {
		padding: 0 15px;
	}
}

.logo_big {
	display: none
}

.logo_big img {
	-webkit-transition: all 0.3s;
	/* Safari */
	transition: all 0.3s;
	width: 280px;
	height: auto;
	margin-top: 15px;
}

@media (min-width:992px) {
	.logo_big {
		display: block;
		text-align: center;
		float: left;
	}
	.logo_big img {
		width: 100px;
		margin-top: 24px;
		margin-bottom: 20px;
	}
}

@media (min-width:1200px) {
	.logo_big img {
		width: 120px;
		margin-top: 24px;
		margin-bottom: 20px;
	}
}

.menu_ul {
	list-style: none;
	padding: 0;
}

.menu_ul li {
	border-bottom: 1px dotted #447ac4;
}

.menu_ul li a {
	color: #fff;
	display: block;
	font-size: 1.1rem;
	-webkit-transition: background 0.3s;
	/* Safari */
	transition: background 0.3s;
	padding: 15px;
}

.menu_ul li a:hover,
.menu_ul li a:focus {
	text-decoration: none;
	background-color: #43908c;
}

.menu_ul li a span {
	display: block;
	font-size: 0.8rem;
}

@media (min-width:992px) {
	.menu_ul {
		text-align: center;
		border-radius: 4px;
		height: 34px;
		float: right;
		margin-top: 32px;
	}
	.menu_ul li {
		float: left;
		border: none;
		position: relative;
		background-image: url(../images/divide_line.png);
		background-position: center left;
		background-repeat: no-repeat;
	}
	.menu_ul li:nth-child(2) {
		background: none;
	}
	.menu_ul li a {
		color: #555;
		font-size: 0.95rem;
		width: 90px;
		text-align: center;
		padding: 22px 0 22px 0;
	}
	.menu_ul li a:hover,
	.menu_ul li a:focus {
		color: #5cb9b4;
		background-color: transparent;
	}
	.menu_ul .mobile_home,
	.menu_ul .nav_language{
		display: none;
	}
	.menu_ul .sub_nav .sub_nav_list {
		padding: 0;
		list-style: none;
		font-size: 0.8rem;
	}
	.menu_header.menu_scroll .menu_ul .sub_nav .sub_nav_list {
		padding: 0;
		list-style: none;
		font-size: 0.8rem;
	}
}

@media (min-width:1200px) {
	.menu_ul li a {
		font-size: 1rem;
		width: 120px;
		text-align: center;
		padding: 22px 0 22px 0;
	}
}

.mobile_hide {
	background-color: #000;
	opacity: 0;
	position: fixed;
	z-index: 8999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.mobile_header {
	background-color: #fff;
	position: fixed;
	z-index: 8900;
	height: 74px;
	width: 100%;
}

.mobile_header img {
	margin: 20px 0 0 15px;
}

.iconbar {
	float: right;
	width: 48px;
	height: 36px;
	margin: 15px 15px 0 15px;
	border: 2px solid #525269;
	border-radius: 4px;
	cursor: pointer;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-transition: background 0.2s;
	/* For Safari 3.1 to 6.0 */
	transition: background 0.2s;
}

.iconbar_open {
	background-image: url(../images/iconbar.png);
}

.iconbar_close {
	background-image: url(../images/iconbar2.png);
	border-color: #447ac4;
}

.menu_title {
	margin: 3px 15px;
	padding-top: 15px;
	padding-bottom: 16px;
	color: #fff;
	font-family: Verdana, Geneva, sans-serif;
}

@media (min-width:992px) {
	.mobile_hide {
		display: none;
	}
	.mobile_header {
		display: none;
	}
	.iconbar_close {
		display: none;
	}
	.menu_title {
		display: none;
	}
}


.menu_ul .sub_nav {
	display: none;
}

@media (min-width:992px) {
	.menu_ul .sub_nav {
		position: absolute;
		top: 66px;
		-moz-box-shadow: 0 4px 15px -2px gray;
		-webkit-box-shadow: 0 4px 15px -2px gray;
		box-shadow: 0 4px 15px -2px gray;
	}
	.menu_ul .sub_nav a {
		background-image: none;
		padding: 15px 30px;
		margin: 0;
		border-top: 0px dotted #ccc;
		background-color: #385173; /*下拉選單背景色*/
		color: #fff;
		width: 200px;
		margin-left: 0;
		font-size: 0.9rem;
		text-align: left;
	}
	.menu_ul .sub_nav a:hover,
	.menu_ul .sub_nav a:focus {
		background-color: #43908c;
		color: #fff;
		border-bottom: none;
	}
	.menu_ul .sub_nav .sub_nav_list {
		padding: 0;
		list-style: none;
		font-size: 0.8rem;
	}
	.menu_ul .sub_nav .sub_nav_list li a {
		padding: 5px 10px 10px 60px;
		font-size: 0.8rem;
		display: block;
		text-indent: -10px;
	}
	.menu_ul .sub_nav .sub_nav_list li a::before {
		content: "-";
		margin-right: 5px;
	}
}

@media (min-width:1200px) {
	.menu_ul .sub_nav {
		top: 69px;
	}
	.menu_ul .sub_nav a {
		width: 220px;
		margin-left: 0;
		padding: 15px 42px;
	}
}

@media (min-width:992px) {
	.nav_about:hover .sub_nav_about,
	.nav_news:hover .sub_nav_news,
	.nav_work:hover .sub_nav_work,
	.nav_contact:hover .sub_nav_contact {
		display: block;
		font-size:1.25rem;
	}
}

.nav_language:hover .sub_nav_language,
{
	display: block;
}

.menu_ul .sub_nav_language a,
{
	font-size: 1rem;
	padding: 10px 30px;
}

.fadeInRight {
	-webkit-animation: fadeInRight 0.4s;
	/* Safari 4+ */
	-moz-animation: fadeInRight 0.4s;
	/* Fx 5+ */
	-o-animation: fadeInRight 0.4s;
	/* Opera 12+ */
	animation: fadeInRight 0.4s;
	/* IE 10+, Fx 29+ */
}

.nav_divide {
	display: none;
}

@media (min-width:992px) {
	.menu_header.menu_scroll {
		background-color: #fff;
		height: 88px;
		border-bottom: 0px solid #912025;
		background-image: none;
		-moz-box-shadow: 0 4px 15px -2px gray;
		-webkit-box-shadow: 0 4px 15px -2px gray;
		box-shadow: 0 4px 15px -2px gray;
	}
	.menu_header.menu_scroll .menu_ul {
		margin-top: 20px;
	}
	.menu_header.menu_scroll .menu_ul li a {
		padding: 30px 10px 24px 10px;
		color: #555;
	}
	.menu_header.menu_scroll .menu_ul li a:hover {
		color: #5cb9b4;
	}
	.menu_header.menu_scroll .menu_ul .sub_nav a {
		padding: 15px 30px;
		margin: 0;
		border-top: 0px dotted #ccc;
		background-color: #333;
		color: #ccc;
	}
	.menu_header.menu_scroll .menu_ul .sub_nav a:hover {
		background-color: #555;
		color: #fff;
		border-bottom: none;
	}
	.menu_header.menu_scroll .menu_ul .nav_language a{
		background-color: #de1a35;
		color: #fff;
		border-radius: 40px;
		padding: 10px 30px;
		margin: 24px;
		font-size: 0.9rem;
	}
	.menu_header.menu_scroll .menu_ul .nav_language a:hover {
		color: #fff;
		background-color: #912025;
	}
	.menu_header.menu_scroll .logo_big img {
		/*width: 142px;*/
		margin-top: 10px;
	}
	.menu_header.menu_scroll .menu_ul .sub_nav .sub_nav_list {
		padding: 0;
		list-style: none;
		font-size: 0.8rem;
	}
	.menu_header.menu_scroll .menu_ul .sub_nav .sub_nav_list li a {
		padding: 5px 30px 5px 40px;
		font-size: 0.8rem;
		display: block;
		text-indent: -10px;
	}
	.menu_header.menu_scroll .menu_ul .sub_nav .sub_nav_list li a::before {
		content: "-";
		margin-right: 5px;
	}
}

@media (min-width:992px) {
	.nav_divide {
		width: 1rem;
		color: #555;
		margin-top: 30px;
		display: inline-block;
	}
}

@media (min-width:1200px) {
	.nav_divide {
		margin-top: 30px;
	}
}

.top_blank {
	height: 72px;
}

@media (min-width:992px) {
	.top_blank {
		height: 97px;
	}
}

@media (min-width:1200px) {
	.top_blank {
		/*height: 101px;*/
		height: 150px;
	}
}

.page_banner {
	height: 480px;
	background: no-repeat center center scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	-webkit-transform: translateX(0);
	transform: translateX(0);
	transition-property: opacity;
	-webkit-transition-duration: 1.0s;
	-moz-transition-duration: 1.0s;
	-o-transition-duration: 1.0s;
	transition-duration: 1.0s;
}

.page_banner h2 {
	animation-duration: 1s;
}

.carousel-fade .carousel-inner .carousel-item {
	height: 480px;
	background: no-repeat center center scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	-webkit-transform: translateX(0);
	transform: translateX(0);
	transition-property: opacity;
	-webkit-transition-duration: 1.0s;
	-moz-transition-duration: 1.0s;
	-o-transition-duration: 1.0s;
	transition-duration: 1.0s;
}

.carousel-fade .carousel-inner .carousel-item,
.carousel-fade .carousel-inner .active.carousel-item-left,
.carousel-fade .carousel-inner .active.carousel-item-right {
	opacity: 0;
}

.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right {
	opacity: 1;
}

.carousel-caption {
	top: 180px;
	text-shadow: 0px 0px 5px #000, 0px 0px 10px #333, 0px 0px 15px #555;
}

.carousel-caption h2 {
	animation-duration: 1s;
}

.carousel-caption p {
	margin: 15px 0;
	animation-delay: 0.5s;
	animation-duration: 1s;
}

@media (min-width:992px) {
	.carousel-fade .carousel-inner .carousel-item {
		height: 640px;
	}
	.carousel-caption h2 {
		font-size: 2.8rem;
		animation-duration: 1s;
	}
	.carousel-caption p {
		font-size: 1.2rem;
	}
	.carousel-caption {
		top: 250px;
	}
}

@media (min-width:1200px) {
	.carousel-fade .carousel-inner .carousel-item {
		height: 800px;
	}
	.carousel-caption {
		top: 320px;
	}
}


.scroll_down {
	display: none;
}

@media (min-width:992px) {
	.scroll_down {
		height: 64px;
		width: 28px;
		border: 3px solid #fff;
		border-radius: 14px;
		position: absolute;
		z-index: 99;
		top: 100%;
		left: 50%;
		margin-top: -120px;
		margin-left: -14px;
		-webkit-transition: all 0.3s;
		/* For Safari 3.1 to 6.0 */
		transition: all 0.3s;
		display: block;
	}
	.scroll_down:hover {
		-moz-box-shadow: 0 4px 15px -2px #333;
		-webkit-box-shadow: 0 4px 15px -2px #333;
		box-shadow: 0 4px 15px -2px #333;
	}
	.scroll_item {
		height: 16px;
		width: 4px;
		border-radius: 2px;
		background-color: #fff;
		margin: 15px auto;
	}
}

.view_lg {
	display: none;
}

@media (min-width:768px) {
	.view_sm {
		display: none;
	}
	.view_lg {
		display: block;
	}
}



/*========================================================
                   	 目錄選單設定
=========================================================*/
.navsub {
	display: none;
	margin-top: 60px;
}
.navsub-list {
	text-align: center;	
	margin-right: 30px;
	padding-bottom: 5px;
	background-color: #fdfdfd;
	box-shadow: 2px 2px 10px #adadad;
}
.navsub-list h2  {
	color: #fff;
	background-color: #298ab3;
	padding: 12px 10px;
	text-align: center;
	margin: 0 0 10px 0;
}
.navsub-performance h2 {
    background-color: #5cb9b4 !important;
}
.navsub-list > ul {
	list-style: none;
	margin: 20px;
	padding: 0;
}
.navsub-list > ul li {
	border-bottom: 1px solid #ababab;
}
.navsub-list > ul li:last-of-type {
	border-bottom: none;
}
.navsub-list > ul li a {
	display: block;
	padding: 10px;
	color: #333;
	font-size: 18px;

}
ul.treeview > li > span {
    background-color: #a5dedb !important;
}.navsub-list ul li a:hover {
	color: #000;
	background-color: #c2c2c2;
}

.navsub-select {
	margin-left: 15px;
	margin-right: 15px;
	}
.navsub-select h2 {
	text-align: center;
	}
.navsub-select .form-control {
	margin-bottom: 20px;
}

@media (min-width: 992px) {
	.navsub {
		display: block;
	}
	.navsub-select {
		display: none;
	}
}

/*========================================================
                         首頁banner
=========================================================*/
.banner_text{ 
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	padding-top:50px;
	line-height:1rem;

	/*display:block;
	margin:0 auto;*/
	/*display: flex; 
	align-items: center;*/
}
@media (min-width: 768px) {.banner_text{padding-top:100px;padding-left:120px;}}
@media (min-width: 992px) {.banner_text{padding-top:200px;}}


.banner_text p{
	position:relative;
	right:30%;
}
@media (min-width: 768px) {.banner_text p{right:20%;}}

.banner_text .title{ color:#385173; font-size:25px; font-weight:bold;}
.banner_text .rl{ color:#3e3a39; margin-top:30px; }
/*.banner_text r1:last-child{margin-top:30px;}*/






/*========================================================
                         about品‧陞遠
=========================================================*/

/*tab語法*/
#tab-list{ /*width:350px; height:200px;*/}
#tab-list > ul{ display:block; margin:0;list-style:none;}
.tab-title{list-style:none;}
#tab-list > ul > li{ 
	display:inline-block;
	vertical-align:top;
	margin:0 -1px -1px 0 ;
	height:25px;
	line-height:25px;
	background:#FFF;
	padding:5px 15px;
	list-style:none;
	box-sizing:border-box;
}
#tab-list >  ul > li a{ color:#000; font-weight:bold;}
#tab-list > ul > li.active{ border-bottom:3px solid #385173; background:#fff;}
#tab-list > .tab-inner{
	clear:both;
	color:#000;
	border:1px #BCBCBC solid;
}
.tab-inner{ padding:15px;}


.about_block{/*background:url(../images/about_bg1.jpg) left top no-repeat;*/ min-height:600px; margin:0;}

.about_block .about_tab{ padding:25px 0;}
.about_block .about_tab span{ border-bottom:4px solid #385173;}
.about_block .about_tab a{color:#000;}
.about_block .about_tab a:hover{color:#FFF; background:#385173; text-decoration:none;}

.about_block .about_pic{margin-top:-150px; padding:0;}
.about_block .about_text{padding:30px 0;}
.about_block .about_tab ul{padding:15px;}
@media (min-width: 992px) {.about_block .about_tab ul{padding: 0 30px;}}
.about_block .about_tab ul li{ 
	list-style:none;
	display:inline-block;
	padding:10px 8px;
}
@media (min-width: 992px) {.about_block .about_tab ul li{padding:10px 20px;}}


.about_block h1{ color:#385173; padding-bottom:12px; font-weight:bold; font-size:20px;}
.about_block .text_block{ font-size:14px;}
.text_block{padding:30px; line-height:2rem;}
@media (min-width: 992px) {.text_block{padding:45px;}}


/*========================================================
                         news陞遠‧誌
=========================================================*/

/*.news_block{padding:0 25px;}
@media (min-width: 992px) {.news_block{padding:0 100px;}}*/

.news_block .news_title{ 
	font-size:38px;
	color:#385173;
	font-weight:bold;
	padding: 30px 0 0 30px;
}
@media (min-width: 992px) {.news_block .news_title{padding: 30px 0 0 45px; }}


.news_block .news_tab{ padding:0; text-align:left;}
@media (min-width: 992px) {.news_block .news_tab{ padding:25px 0; text-align:right;}}

.news_block .news_tab span{ border-bottom:4px solid #385173;}
.news_block .news_tab a{color:#000;}
.news_block .news_tab a:hover{color:#FFF; background:#385173; text-decoration:none;}

.news_block .news_tab ul{padding:15px;}
@media (min-width: 992px) {.news_block .news_tab ul{padding: 0 30px;}}
.news_block .news_tab ul li{ 
	list-style:none;
	display:inline-block;
	padding:10px 15px;
}
@media (min-width: 992px) {.news_block .news_tab ul li{padding:10px 8px;}}


ul.post-list{ list-style:none; padding:0;}
@media (min-width: 992px) {ul.post-list{ padding:40px;}}

.post-list li{ 
	border-bottom: 1px solid #a7a7a7;
	padding:20px 0;
}

.news_text { line-height:1rem;}
.news_text h1{ color:#385173; font-size:20px; font-weight:bold;}

.post-meta{ padding-bottom:20px;}
.news_text time{ color:#6b98d2; font-size:14px;}
.news_text p{ line-height:1.2rem; font-size:14px; padding-bottom:10px;}

.news_pic img{ padding-bottom:15px;}
.news_block .more{ padding-bottom:20px;}
.news_block .more a{ background:#385173; color:#fff; padding:5px 10px;}



/*========================================================
                         work陞遠‧作
=========================================================*/

.work_block .work_title{font-size:20px; padding:25px;vertical-align:middle;}
.work_block .work_title span{font-size:38px; font-weight:bold; color:#385173;padding-right:15px;}

.work_list img{ width:100%;}
.work_list .box{ padding:15px; box-shadow:#999 3px 3px 10px; margin-bottom:25px;}
.work_list .box p{ padding-top:15px;}
.work_list a{ color:#000; text-decoration:none;}
.work_list .box:hover{ 
	color:#8db6ee;
	opacity:0.7; 
	transition: width 0.7s,background-color 0.7s; 
	transition: width 0.7s linear;    
	transition: width 0.7s linear 0.7s;   
	transition: all 0.7s; 
}

/*作品內頁*/
.work_page{ padding:40px;}
@media (min-width: 768px) {.work_page{ padding:40px 0;}}

.work_page .logo img{width:40%; padding-bottom:15px;}
@media (min-width: 768px) {.work_page .logo img{width:70%;}}
.work_page h1{ color:#385173; font-weight:bold; font-size:30px;padding-bottom:20px;}
.work_page h1 span{ font-size:20px; padding-left:10px;}
.work_page .text-box{padding:5px 0 0 0; line-height:2rem;}
.work_page .text-box .info{ background:none;}
@media (min-width: 768px) {.work_page .text-box .info{ background:url(../images/divide_line2.png) left top no-repeat; padding-left:30px;}}
.work_page .text-box .info ul{ padding-left:20px;}

.work_page .work_pic{padding:0;}
@media (min-width: 768px) {.work_page .work_pic{padding:0 15px 0 0;}}

.work_page_banner{ padding-bottom:70px;}

/*========================================================
                         聯絡陞遠
=========================================================*/


/*.contact_block {
	position: relative;
    background: url(../images/contact_bg2-s.jpg) no-repeat center bottom;
    background-size: cover;
    background-size: 100% auto;
    padding: 20px 0;
	
}
@media (min-width: 768px) {
	.contact_block{
		background: url(../images/contact_bg2a.jpg) no-repeat right bottom;
		background-size: cover;
		background-size: 100% auto;
		padding: 80px 0;
	}
}
@media (min-width: 1024px) { .contact_block{padding: 200px 0;}}*/



/* 區塊設定 */
@media (min-width: 992px){
	.contact_block {
		display: flex;
		flex-direction: row-reverse;
		height: 100vh;
	}
}

.p-contact_main {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    flex: 1;
    background-image: url(../images/contact_bg2b.jpg);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}
@media (min-width: 992px){.p-contact_main { padding: 0;}}
@media (min-width: 768px){.p-contact_main { padding: 160px 0 0 0;}}

/*.p-contact_main .p-contact_form {
    width: 100%;
    max-width: 544px;
    padding: 0 22px;
    margin-left: auto;
    margin-right: auto;
}
*/
.p-contact_aside {
     background-color: #fff; 
}
@media (min-width: 992px){.p-contact_aside { flex: 0 0 220px; height: 100%;}}





/* 意見表單 */
.contact-form { padding:120px 15px 30px 15px;}
@media (min-width: 992px) {.contact-form { padding:0 200px 0 90px;}}
@media (min-width: 1187px) {.contact-form { padding:0 500px 0 90px;}}
@media (min-width: 1470px) {.contact-form { padding:0 700px 0 90px;}}

.contact-form [class *=col-] {
	position: relative;
	padding: 0;
	margin-bottom: 20px;
	max-width: 100%;
}

.contact-form [class *=col-] i {
	display: block;
	font-size: 16px;
	color: #c4c4c4;
	width: 28px;
	line-height: 28px;
	text-align: center;
	background-color: #f6f6f6;
	position: absolute;
	left: 6px;
	top: 6px;
	border-radius: 5px;
	transition: all 0.4s ease;
}
#form1 span{color: #F00;}


/*========================================================
                         footer設定
=========================================================*/

.footer-list{
	line-height:1.5rem;
	padding: 10px 15px;
	text-align:left;
	/*display:block;*/
	color: #555555;
}
@media (min-width: 768px) {
	.footer-list{
		bottom: -50px;
		left: 0;		
	}
}

@media (min-width: 992px) {
	.footer-list{
		/*display:none;*/
		position: absolute;
		bottom: 10px;
		left: 0;
	}
}

.footer-list .btn-fb {
    background-color: #214065;
    color: #fff;
}
.footer-list .btn-fb:hover {
    background-color: #466b97;
	text-decoration:none;
}
.footer-list a{
    font-size: 16px;
    color: #000;
    /*margin: 0 20px 0 4px;*/
    padding: 10px 15px;
}


/*========================================================
                         各類表單
=========================================================*/

/* 表單設定 */
.form-horizontal {
	/*margin-bottom: 40px;*/
}

.form-horizontal .control-label {
	color: #333;
}

.form-horizontal .form-control {
	color: #000;
	/*padding: 5px 20px 5px 40px;*/
	border:none;
	border-bottom: 1px solid #000;
	border-radius: 0;
	background-color: transparent;
	height: 40px;
}

::placeholder {
	color: #000;
	font-weight: bold;
}


.form-horizontal .fromwarn{ color:#F00;}


/*========================================================
                           表格
=========================================================*/

.table1 {
	border-collapse: collapse;
	text-align: left;
	margin: 0 0 20px 0px;
	border-width: 1px 1px 3px 1px;
	border-style: solid;
	border-color: #bfbfbf;
}

.table1 caption {
	color: #333;
	font-weight: bold;
}

.table1 th {
	background: #5cb9b4;
	color: #fff;
	font-weight: bold;
	padding: 5px 5px !important;
	text-align: center;
	border-top: 0 !important;
	border-right: 1px solid #555555;
}

.table1 th {
	border-right: 1px dotted #fff;
}

.table1 th:last-child {
	border-right: none;
}

.table1 td {
	padding: 5px 8px;
	border-right: 1px dotted #bfbfbf;
}

.table1 td.center {
	text-align: center;
}

.table1 td.c1 {
	background-color: #f7f9fb;
}

.table1 td:last-child {
	border-right: none;
}

.table1 tr:nth-of-type(2n+1) {
	background-color: #f7f7f7;
}

.table1 a.file {
	display: inline-block;
	margin-top: 4px;
	width: 24px;
	height: 24px;
	background: url(../images/file_pdf.png) no-repeat center center;
	text-indent: -9999px;
}

.table1 td.img img {
	width: 80px;
}

.table2 td:nth-child(1) {
	background-color: #f7f9fb;
	text-align: center;
}

.table3 {
	text-align: center;
}

.table-responsive {
	min-height: .01%;
	overflow-x: auto;
}

.table-text {
	color: #D40101;
	text-align: right;
	/* margin-bottom: -30px; */
}

@media screen and (max-width: 767px) {
	.table-responsive {
		width: 100%;
		margin-bottom: 15px;
		overflow-y: hidden;
		-ms-overflow-style: -ms-autohiding-scrollbar;
		/*border: 1px solid #ddd;*/
	}
}

@media (min-width: 992px) {
	.table-text {
		display: none;
	}
}


/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
}

a.figure:hover:before {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

a.figure:before {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 10px;
	right: 10px;
	z-index: 10;
	content: '';
	display: inline-block;
	background: rgba(0, 0, 0, 0.05) url(../images/magnifier.png) no-repeat center center;
	opacity: 0;
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
	transition: .3s;
}

.btn-primary {
	color: #fff;
	background-color: #5cb9b4;
	border-color: #2f7d79;
}

.btn-primary:hover {
	color: #fff;
	background-color: #2f7d79;
	border-color: #5cb9b4;
}