﻿@charset "utf-8";
/* CSS Document */
@font-face {
  font-family: "iconfont"; /* Project id 2527535 */
  src: url('iconfont.woff2?t=1631422324054') format('woff2'),
       url('iconfont.woff?t=1631422324054') format('woff'),
       url('iconfont.ttf?t=1631422324054') format('truetype');
}


/*header排版------------------------------------------------------------------------------------------*/
header {	
	width: 100%;
	padding: 0;
	margin: 0 auto;
	text-align: center;	
	border-bottom: 1px #ccc solid;
	z-index: 999;	
	top: 0;
	left: 0;
	border:none;
	
	
}

.header_row {
	width: 1600px;
	margin: 0 auto;
}

.logo_row {
	float: left;
	display: block;
	margin-top: 3px;
	text-align:left;
		width: 520px;
}

header nav {
	float: right;
	display: block;	
	text-align: right;
	margin: 0;
	padding: 0;
	}


@media(max-width:1680px) {
    .header_row {
	width: auto;
	display: block;
	margin: 0 25px;
}
}
@media(max-width:1440px) {
    .header_row {
	margin: 0 10px;
}
}
@media(max-width:1280px) {
	.logo_row{
		width:400px;
	}
}
@media(max-width:1160px) {
	
	header nav {
		width: auto;
	}
	
}
@media(max-width:1024px) {
	.logo_row {
		margin-top: 0px;
		margin-bottom: 5px;
		margin-left: 2.4em;
	}

	.logo_row{
		width:95%;
	}
}


	/*logo-區塊----------------------------------------------------------*/
	.logo_row a.logo {
		display: inline-block;
		height: 60px;
		float: left;	
	}

		.logo_row a.logo img {
			height: 100%;
			width: auto;
			vertical-align: bottom;
		}
.logo_icon{	
	float: left;
	display: block;
	margin-left: 5px;
    margin-top:5px;
}
.logo_icon img{
	width: auto;
	height:56px;
}
.logo_span{
	display: block;
	margin-top: 37px;
	float: left;
	margin-left: 5px;
	
}

@media(max-width:1440px) {

	.logo_span{
		display: block;	
		
	}
}

@media(max-width:1280px) {

	.logo_icon{
		float: left;
		display: block;
		margin-left: 10px;
		margin-top: 5px;
	}
	.logo_icon img{
		height: 55px;	
	}

	.logo_span{
		display: none;	
		
	}
}

		
		@media(max-width:1024px) {
			.logo_row a.logo {
				height: 50px;
				margin-left: 8px;				
			}	
			
			.logo_icon img{
				height: 45px;	
			}
			.logo_span{
				display: block;
				margin-top: 28px;
				
			}
		}

		@media(max-width:560px) {		
			.logo_span{
				display: none;	
				
			}
		}

		@media(max-width:380px) {		
			.logo_icon{
				display: none;	
				
			}
		}
	
		
	/*menu---------------------------------------------------------------*/
	header ul.menu {		
		text-align: center;
		vertical-align: bottom;
		display: inline-block;
		padding: 0;
		margin: 0;
		
	}

		header ul.menu > li {
			float: left;			
			position: relative;
			text-align: center;
			height: auto;
			margin: 0;		
			font-size: 15px;
			line-height: 1em;
			color: #555;
			display: block;
				padding: 0.8em 2em;
				-moz-transition:background 350ms;
-o-transition:background 350ms;
-webkit-transition:background 350ms;
				
		}

			header ul.menu > li > a {
				position: relative;				
				padding:1em 0.6em;
				color: #666;
				text-decoration: none;
				display:block;
				line-height: 1em;
				font-size: 15px;
				font-family: "微軟正黑體", "新細明體", "標楷體";
				
			}

			header ul.menu > li::after {/**/
				content: "";
				display: block;
				width: 1%;
				height: 3px;
				position: absolute;
				left: 0;
				top: 0;
				z-index: 1;
				opacity: 0;
				transition: all 0.4s ease;
				transition: width 400ms cubic-bezier(0.645, 0.045, 0.355, 1) 0ms;
				-webkit-transition: width 400ms cubic-bezier(0.645, 0.045, 0.355, 1) 0ms;
				-moz-transition: width 400ms cubic-bezier(0.645, 0.045, 0.355, 1) 0ms;
				-o-transition: width 400ms cubic-bezier(0.645, 0.045, 0.355, 1) 0ms;
				-ms-transition: width 400ms cubic-bezier(0.645, 0.045, 0.355, 1) 0ms;
				
				background-color: #389ac3;
			  }

			  header ul.menu > li:hover {					
				background:rgba(0, 0, 0, 0.05);
				
			  }
			  
			  header ul.menu > li > a:hover {
				text-decoration: none;
				color: #333;
				background-color: transparent;			
				
			  }
			  
			  header ul.menu > li:hover::after {
				opacity: 1;
				width: 100%;
			  }

			  @media(max-width:1440px){
				header ul.menu > li {
							padding: 0.8em 1.3em;
				}	
			  }

			  @media(max-width:1280px){
				header ul.menu > li {

							padding: 0.8em 1em;
				}	
			  }

			  @media(max-width:1160px){
				header ul.menu > li {
							padding: 0.8em .75em;
				}	
			  }

			  @media(max-width:1100px){
				header ul.menu > li {
							padding: 0.8em 0.6em;
				}	
			  }

			 
			  /*下拉選單----------------------------------------------*/

			  header ul.menu li.dropDown .submenu {
				display: none;
				width: 250px;
				position: absolute;
				top: 100%;
				left: 0;
				z-index: 9999;
				padding: 0;
				margin: 0;
				background-color: #ffffff;
				background-color: #f7f7f7;
				background:rgba(36, 122, 188, 0.6);
				
			}
			header ul.menu li.dropDown .submenu a {
				display: block;
				margin: 0;
				padding: 0.75em 1.5em;
				font-family: "微軟正黑體", "新細明體", sans-serif;
				font-size: 15px;
				color: #fff;
				text-align: left;
			}

	header nav ul.menu li.dropDown .submenu a:hover {
		color: #fff;
		background: #f1f1f1;
		background:rgba(36, 122, 188, 0.7);
	}




	/*捲動時的menu---------------------------------------------------------------------------------*/
	header.shrink_menu {
		position: fixed;
		z-index: 9999;
		background: rgba(255,255,255,0.8);
		border-bottom: 1px #ccc solid;
		height: 57px;
	}



	header.shrink_menu .logo_row {
		margin-top: 0;
		
	}

	header.shrink_menu .logo_row a.logo {
		display: inline-block;
		height: 50px;	
	
	}

	/*99999999999999*/
	header.shrink_menu .search_row {
		
	}

	
	header.shrink_menu nav {
		

}

header.shrink_menu .top_menu{
	margin:6px 0 0 0;	
	}

	header.shrink_menu ul.menu > li {
		padding-top: 0.4em;
		padding-bottom: 0.4em;
	}


/* header.shrink_menu ul.menu li > a {
	padding:1.2em  2em;
	padding:9px  2em;
}
header.shrink_menu ul.menu li.dropDown:after {
left: 6.5em;
top: 20px;
} */




	
	@media(max-width:1024px) {
		header.shrink_menu {
			display: none;
		}
	}

	/*手機menu--------------------------------------------------------------*/
	.m_menu {
		display: none;
		
	}

	@media (max-width: 1024px) {
		header nav {
			display: none;
		}
		/*手機menu*/
		.m_menu {
			display: inline-block;
			width: auto;
			position: fixed;
			top: 0;
			left: 0;
			z-index: 9999;	
			padding: 0;
			margin: 0;	
		}



		/*黑幕*/
		.m_menu .mask {
			display: none;
			background-color: rgba(0, 0, 0, 0.7);
			position: fixed;
			width: 100%;
			height: 100%;
			padding-bottom: 60px;
			top: 0;
			left: 0;
		}
			/*固定上方*/
			.m_menu .controlBox {
				/*background-color: rgba(255, 255, 255,0.6);
	background: none;
	padding: 2px 0;
	width:2.5em;*/
				display: block;
			}

				.m_menu .controlBox a.main {
					display: block;
					float: left;
					margin-right: 0;					
					text-align: center;	
				}

					.m_menu .controlBox a.main i {
						display: block;
						font-size: 40px;
						line-height: 1.2em;
						padding: 5px 10px;
						color: #333;
						top: 0;
						cursor: pointer;
											
					}


			/*手機menu內容---------------------------------------------------------------------------*/
			.m_menu .hideBox {
				display: none;
				width: 250px;
				height: 100%;
				padding-bottom: 0;
				overflow-y: auto;
				position: fixed;
				left: 0;
				top: 0;
				background: #fff;
			}

				.m_menu .hideBox .sp {
					/* padding: 0;
					margin: 0;
					vertical-align:top;
					border-bottom:1px #ccc solid;
					padding-bottom:2px; */

					display: block;
					float: none;
					margin-right: 0;					
					text-align: center;

				}

	
					.m_menu .hideBox .sp a.main {
						display: block;
					float: none;
					margin-right: 0;					
					text-align: left;
					margin-left: 0;
					}

						.m_menu .hideBox .sp a.main i {
							display: block;
						font-size: 40px;
						line-height: 1.2em;
						padding: 5px 10px;
						color: #333;
						top: 0;
						cursor: pointer;
						}

				.m_menu .hideBox .hideBox_logo {
					display: inline-block;					
					margin-left:0;
					margin-top:8px;
				}
				.m_menu .hideBox .hideBox_logo a{
					display:block;
					height: 38px;
					padding: 0;			
				}
				.m_menu .hideBox .hideBox_logo a img{					
					height:100%;
					width: auto;
				}
					.m_menu ul.nav li a {
				padding: 1em 1em;
				font-family: "微軟正黑體", "新細明體", sans-serif;
				display: block;
				font-size: 15px;
				color: #333333;
			}

			.m_menu ul.nav li:hover a {
				color: #222222;
				background: #f1f1f1;
				
			}

			.m_menu ul.nav li .submenu {
				display: none;
			}

				.m_menu ul.nav li .submenu a {
					padding: 0.8em 2em;
				}
					/*次選單li滑入*/
					.m_menu ul.nav li .submenu a:hover {
						background-color: #ededed;
						background: #6666;
						background:rgba(36, 122, 188, 0.6);
						color: #fff;
					}

			.m_menu ul.nav li.dropDown {
				position: relative;
			}

				.m_menu ul.nav li.dropDown:after {
					font-family: "iconfont" !important;
					font-size: 16px;
					font-style: normal;
					-webkit-font-smoothing: antialiased;
					-moz-osx-font-smoothing: grayscale;
					display: inline-block;
					width: auto;
					color: #666;
					position: absolute;
					right: 1.5em;
					top: 12px;
					content: "\e6b9";
					content: "\e603";
				}
	}
	/*查無符合資料-------------------------------------------------------------*/
	.no_search{
		display: block;
		border:1px #ccc solid;
		padding: 2em 0;
		text-align: center;
		color: #666;
		font-size: 15px;
	}


	  /*頭像--------------------------------------------------------*/
.top_menu{
margin:15px 0 0 0;
padding: 0;
}

.top_menu li{
	display: inline-block;
	margin-left: .5em;
}

	  .top_img{
		  display: block;
		  width: 44px;
		  height: 44px;
		  border-radius: 22px;
		  overflow: hidden;
		  margin: 0 0 5px 0;
		  padding: 0 0 0 0;
		  line-height: normal;
		  height: auto;
	  }
	  .top_img img{
		width: 100%;
		height: auto;
	}

	.top_icon{
		display: block;
		  width: 60px;
		  height: 44px;
		  overflow: hidden;
		  margin: 0 0 5px 0;
		  padding: 0;
		  line-height: normal;
		  height: auto;
		display: block;
		text-align: center;
		position: relative;

	}
	.top_icon i{
		font-size: 28px;
		line-height: 44px;
		
	}
	.top_link{
		display: block;
	
	
		overflow: hidden;
		margin: 0 0 5px 0;
		padding: 0;
		line-height: 75px;	
	  display: block;
	  text-align: center;
	  position: relative;
	  
	}

	a.top_link span{
		display: block;
		line-height: 44px;
		height: 44px;
		width: 44px;
		border-radius: 22px;
		background: #dddddd;
		font-size: 15px;
	}
	a.top_link:hover span{
	background: #f17e97;
	color: #fff;
	}

	.top_menu li.dropDown{
		position:relative;
	}

	.top_menu li.dropDown .submenu {
		display: none;
		width: 140px;
		position: absolute;
		top: 100%;
	
		right: -50px;
		z-index: 9999;
		padding:0;
		margin: 0;
		background-color: #ffffff;
		border: 1px #ccc solid;
		
	}
	.top_menu li.dropDown .submenu a{
		display: block;
		padding:0.8em 1em;
		text-align: center;
		font-size: 15px;
		color: #555;
	}
	.top_menu li.dropDown .submenu a:hover{
background: #f1f1f1;
	}

	@media(max-width:1024px) {
		.top_menu{
			margin:8px 0 0 0;
			padding: 0;
			}

		.navbar-nav li, .nav li{
			padding: 0;
			margin: 0;
		}
  

	  .top_icon i{
		  font-size: 28px;
		  line-height: 44px;
		  
	  }
	  .top_link{
		  width: auto;
		  height: auto !important;
		  line-height:1em;	
		
	  }
  

	}


