@charset "utf-8";
/* CSS Document */
/*【default】*/
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
	header,main,footer{
		text-align:center;
	}
	header img,main img,footer img{
		display: block;
		width:100%;
	}
/*-------------主標題樣式(title)-------------*/
	.title {
		position: relative;
		display: table;
	}
	.title h1{
		position: relative;
		z-index:9;
	}
	.title .under_line{
		position: relative;
		z-index: 8;
		height: 20px;
		margin-top: -10px;
	}
/*-------------------mask--------------------*/
	.mask{
		position: absolute;
		z-index: 2;
		background-color: rgba(39, 89, 165, 0.6);
		transition: all 0.2s ease;
		opacity: 0;
		width: 0;
		height: 0;
		left: 50%;
		bottom: 50%;
	}
	.mask .word {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		/* opacity: 0; */
		width: 100%;
		transition: all 0.4s ease;
	}
	.mask h3{
		color: #fff;
	}
	.mask p{
		color: #dcba05;
	}
	figure{
		position: relative;
	}
	figure:hover .mask {
		opacity: 1;
		width: 100%;
		height: 105px;
		bottom: 0;
		left: 0;
	}
	/*
	figure:hover .mask .word{
		left:50%;
		opacity: 1;
	}
	*/
/*------------------------------------------------------------wrapper--------------------------------------------------*/
	#wrapper{
		width:100%;
	}
/*---------------------------------------------------header---------------------------------------*/
	header{
		position: relative;
		z-index: 10;
	}
/*----------------------------top-----------------------------------*/
	header .top{
		position: fixed;
		z-index: 1000;
		width: 100%;
		height: 70px;
		background-color: #fff;

	}
/*----------------------------logo----------------------------------*/
	#logo{
		float: left;
		margin-left: 20px;
		transition: opacity 0.3s ease;
	}
	#logo:hover{
		opacity: 0.5;
	}
	#logo img{
		width: auto !important;
		height: 70px;
	}
/*-------------------------navBox-----------------------------------*/
	#navBox{
		height: 70px;
	}
/*-------------------nav----------------------*/
	#navBox nav {
		float: right;
		margin-right: 10px;
		text-align: center;
	}
	#navBox nav ul {
		list-style: none;
		margin: 0;
    	padding: 0;
	}
	#navBox nav a{
		color: #000;
		display: block;
		font-size: 18px;
		line-height: 70px;
		letter-spacing: 2px;
		transition: 0.3s;
		padding: 0 10px;
	}
	#navBox nav a:hover,
	#navBox nav li.active > a{
		color: #b49038;
	}
	#navBox nav li {
		display: inline-block;
	}
/*--------------navMenu(子選單)---------------*/
	#navBox nav li ul{
		display: none;
		position: absolute;
		top: 70px;
		left: 0;
		z-index: 10;
		width: 100%;
		padding: 30px 0;
		background-color: rgba(158, 158, 158, 0.85);
	}
	#navBox nav li li{
		display: block;
		margin: 0;
	}
	#navBox nav li li a{
		line-height: 60px;
		color:#fff;
	}
	#navBox nav li li a:hover,
	#navBox nav li li.active > a{
		color:#ffff15;
	}
/*-------------------sNav----------------------*/
	#sNav{
		display: none;
	}
/*----------------------------banner--------------------------------*/
	#banner {
		position: relative;
	}
/*---------------------------------------------------main-----------------------------------------*/
	main{
		width: 100%;
		margin: 50px 0;
	}
/*---------------------------------------------------footer---------------------------------------*/
	footer{
		clear: both;
		margin-top: 50px;
		color: #fff;
		background-color: #292828;
	}
	footer p{
		margin: 2px 0;
	}
	footer a:link, footer a:visited{
		color: #fff;
	}
	footer a:hover, footer a:active {
		color: #ffff15;
	}
/*--------------------------------up--------------------------------*/
	footer .up{
		padding: 1px 10px;
	}
/*------------------------------down--------------------------------*/
	footer .down {
		padding: 0 10px;
		background-color: #111;
	}
	footer .down  span{
		margin-left:10px;
	}
/*---------------------------buttonTop------------------------------*/
	#buttonTop{
		display:none;
		position: fixed;
		right: 0;
		bottom: 0;
		z-index: 10000;
		width: 50px;
		height: 50px;
		opacity: 0;
		background-color: rgba(99, 96, 95, 0.89);
		cursor: pointer;
		transition: bottom 0.3s ease;
	}
	#buttonTop p{
		color: #fff;
		line-height: 50px;
		transition: color 0.3s ease;
		margin: 0;
	}
	#buttonTop:hover{
		bottom: 10px;
	}
	#buttonTop:hover p{
		color: #ffff15;
	}

/* shares links */

#shares {
    margin: 10px 10px 0 0;
    float: right;
}
#shares.fixed {
    position: fixed;
    z-index: 999;
    margin-top: 0;
}
#shares > * {
    vertical-align: middle;
}
#shares a {
    display: inline-block;
    height: 28px;
}
#shares a:hover {
    filter: brightness(0.8);
}
#shares a.plurk {
    line-height: 0;
}
#shares a.plurk img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 3px;
}
#shares a.google-plus {
    overflow: hidden;
}
#shares i.fa-google-plus-square {
    margin-top: -3px;
    font-size: 32px;
    color: #db4437;
    background: #ffffff;
    border-radius: 8px;
}

/* contact links */

#fixed-links {
    position: fixed;
    right: 0;
    top: 41%;
    z-index: 999;
    overflow: hidden;
    width: 45px;
    max-width: 100%;
    white-space: nowrap;
    transition: .3s;
}
#fixed-links:hover {
    width: 310px;
    background-color: rgba(255,255,255,.9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
#fixed-links a {
    display: block;
    height: 45px;
    font-family: arial;
    color: #666;
	-ms-transition: .3s;
	transition: .3s;
}
#fixed-links a:before {
    content: " ";
    display: inline-block;
    background: url(../img/link_icons.png) no-repeat;
    width: 45px;
    height: 45px;
    vertical-align: middle;
}
#fixed-links a:hover {
    filter: brightness(120%);
    background: #337ab7;
    color: #fff;
}
#fixed-links .fb:before {
    background-position-y: 0px;
}
#fixed-links .line:before {
    background-position-y: -45px;
}
#fixed-links .email:before {
    background-position-y: -90px;
}
#fixed-links .tel:before {
    background-position-y: -135px;
}
#fixed-links .ig:before {
	background-position-y: -180px;
}
#fixed-links .yt:before {
	background-position-y: -225px;
}

/* bootstrap like */

mark {
	padding: .2em;
	background-color: #fcf8e3;
}
.row {
	margin-left: -10px;
	margin-right: -10px;
}
.row:after {
	display: table;
	content: " ";
	clear: both;
}
.col-xs-3, .col-xs-9, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-8, .col-sm-9, .col-sm-10, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
	box-sizing: border-box;
	float: left;
	padding: 0 10px;
	width: 100%;
}
.col-xs-3 {
	width: 25%;
}
.col-xs-9 {
	width: 75%;
}
@media (min-width: 576px) {
	.offset-sm-1 {
		margin-left: 8.33%;
	}
	.offset-sm-2 {
		margin-left: 16.66%;
	}
	.col-sm-2 {
		width: 16.66%;
	}
	.col-sm-3 {
		width: 25%;
	}
	.col-sm-4 {
		width: 33.33%;
	}
	.col-sm-5 {
		width: 41.66%;
	}
	.col-sm-6 {
		width: 50%;
	}
	.col-sm-8 {
		width: 66.66%;
	}
	.col-sm-9 {
		width: 75%;
	}
	.col-sm-10 {
		width: 83.33%;
	}
	.visible-xs{
		display: none !important;
	}
}
@media (max-width: 575px) {
	.hidden-xs{
		display: none !important;
	}
}
@media (min-width:992px) {
	.offset-lg-1 {
		margin-left: 8.33%;
	}
	.offset-lg-2 {
		margin-left: 16.66%;
	}
	.offset-lg-3 {
		margin-left: 25%;
	}
	.col-lg-1 {
		width: 8.33%;
	}
	.col-lg-2 {
		width: 16.66%;
	}
	.col-lg-3 {
		width: 25%;
	}
	.col-lg-4 {
		width: 33.33%;
	}
	.col-lg-5 {
		width: 41.66%;
	}
	.col-lg-6 {
		width: 50%;
	}
	.col-lg-7 {
		width: 58.33%;
	}
	.col-lg-8 {
		width: 66.66%;
	}
	.col-lg-9 {
		width: 75%;
	}
	.col-lg-10 {
		width: 83.33%;
	}
	.col-lg-11 {
		width: 91.66%;
	}
    .col-lg-12 {
    	width: 100%;
    }
}

/*熒幕尺寸【小於】1025時頁面顯示---平板*/
@media (max-width: 1024px) {
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
/*-------------------mask--------------------*/
	.mask{
		opacity: 1;
		width: 100%;
		height: 75px;
		bottom: 0;
		left: 0;
	}
	.mask_active{
		background-color: rgb(0 0 0 / 35%);
	}
	figure:hover .mask {
		height: 75px;
	}
	/*
	.mask_active .word {
		opacity: 1;
		position: initial;
		transform: initial;
	}
	*/
	.mask_active .word h3,
	.mask_active .word p {
		margin: .5em auto;
	}
	/*
	figure:hover .mask {
		height: initial;
	}
	*/
/*---------------------------------------------------header---------------------------------------*/
/*----------------------------top-----------------------------------*/
	header .top{
		position:initial;
		height: 50px;
	}
/*----------------------------logo----------------------------------*/
	#logo{
		margin-left: 10px;
		transition: opacity 0.3s ease;
	}
	#logo img{
		height: 50px;
	}
/*-------------------------navBox-----------------------------------*/
	#navBox{
		height: 50px;
	}
/*-------------------nav----------------------*/
	#navBox nav{
		display: none;
	}
/*-------------------sNav----------------------*/
	#sNav{
		display: block;
	}
/*-----------sNavBtn-----------*/
	#sNavBtn{
		position: absolute;
		right: 10px;
		width: 30px;
		height: 50px;
		cursor: pointer;
	}
	#sNavBtn .line {
		position: absolute;
		width: 100%;
		height: 3px;
		background-color: #000;
	}
	#line1{
		top: 17px;
		transition: transform 0.3s ease;
	}
	#sNavBtn.line1_click #line1 {
		transform: rotate(45deg) translateY(10px);
	}
	#line2{
		top: 33px;
		transition: transform 0.3s ease;
	}
	#sNavBtn.line2_click #line2 {
		transform: rotate(-45deg) translateY(-12px);
	}
/*----------sNavMenu-----------*/
	#sNavMenu {
		display: none;
		position: absolute;
		z-index: 500;
		top: 50px;
		width: 100%;
		background-color: #17172d;
		padding: 20px 0;
		text-align: center;
	}
	#sNavMenu li{
		display: block;
	}
	#sNavMenu a{
		display: block;
		color:#fff;
		padding:15px 0;
		font-size: 16px;
	}
	#sNavMenu li.active > a{
		color:#ffff15;
	}
/*子項目*/
	#sNavMenu li ul{
		display: none;
		padding: 15px 0;
		background-color: #fff;
	}
	#sNavMenu li li a{
		background-color: #fff;
		color: #000;
	}
	#sNavMenu li li a:hover,
	#sNavMenu li li.active > a{
		background-color: #fec;
		color: #000;
	}
/*---------------------------------------------------footer---------------------------------------*/
/*--------------------------------up--------------------------------*/
	footer .up {
		background-color: #292828;
	}
/*------------------------------down--------------------------------*/
	footer .down span {
		margin-left: 0;
		display: block;
	}
/*---------------------------buttonTop------------------------------*/
	#buttonTop:hover{
		bottom: 0;
	}
	#buttonTop:hover p{
		color: #fff;
	}
}
