@charset "utf-8";
/* CSS Document */
/*【default】*/
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
    body {
        background-color: #fff;
        background-image: url(../img/bg.jpg);
    }
	header,main,footer{
		text-align:center;
	}
	header img,main img,footer img{
		display: block;
	}
/*------------------------------------------------------------wrapper--------------------------------------------------*/
	#wrapper{
		width:100%;
	}
/*---------------------------------------------------header---------------------------------------*/
	header{
		position: relative;
	}
/*-------------------------------top--------------------------------*/
	 .top{
		position: fixed;
		z-index: 1000;
		top:0;
		left: 0;
		width: 100%;
		height: 100px;
		background-color: rgba(255, 255, 255, 0.9);
		transition: height 0.3s ease ,box-shadow 0.3s ease;
	}
	.topAni{
		height: 70px;
		background-color: rgba(255, 255, 255, 0.95);
		box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
	}
/*------------------logo----------------------*/
	.logo {
		position: absolute;
		left: 10px;
		transition:all 0.3s ease ;
		z-index: 2;
		max-height: 100px;
		max-width: 470px;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}
	.logo:hover{
		opacity: 0.5;
	}
	.logo img{
	    max-width: 100%;
		max-height: 100px;
	    margin: 0 auto;
	    transition: 0.3s ease;
	}
	.logoAni img{
	    max-height: 60px;
	}
/*--------------------nav---------------------*/
	header nav{
		margin-top: 28px;
		transition: top 0.3s ease, margin-left 0.3s ease;
		position: relative;
	}
	.navAni{
		margin-top: 13px;
	}
	header nav ul {
		list-style-type: none;
	}
	header nav li{
	    position: relative;
	}
	header nav > ul {
	    position: absolute;
	    right: 15px;
	}
	header nav > ul > li{
		display: inline-block;
		vertical-align: middle;
	}
	header nav > ul > li a{
		color: #353538;
		display: block;
		padding: 10px 20px;
		transition: 0.3s ease;
	}
	header nav > ul > li a:hover,
	header nav li.active > a{
		color: #fff;
		background-color: #d4c552;
	}
	header nav li ul{
		display: none;
		position: absolute;
		width: 170px;
		background-color: rgba(255, 255, 255, 0.95);
		box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
	}
	header nav li li a{
		border-left: 10px solid #d6a966;
	}
	header nav li li a:hover,
	header nav li li.active > a{
		border-color: #dc9122;
	}
	header nav li li ul{
		top: 2px;
		left: 170px;
	}
	#icons {
	    position: absolute;
	    right: 10px;
	    top: -6px;
	}
	#nav-tel {
	    margin: 3px;
	    display: inline-block;
	    font-size: 23px;
	    color: #e6dbbc;
	    display: none;
	}
	#icons img {
        width: 50px;
        height: 50px;
	    display: inline-block;
	    margin: 3px;
	    vertical-align: middle;
		transition: 0.3s;
	}
	#icons a:hover img {
        -ms-transform: scale(1.2);
        transform: scale(1.2);
	}
    #sNav_menu a {
        display: block;
        width: 100%;
        line-height: 60px;
    }
    #sNav_menu a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
    #sNav_menu li.icons a {
        display: inline;
    }
	#sNav_menu li.icons a:hover {
        background-color: inherit;
    }
	#sNavScroll img {
        display: inline;
        margin: 0 10px;
	    width: 50px;
	    height: 50px;
		transition: 0.3s;
	}
	#sNavScroll a:hover img {
        -ms-transform: scale(1.2);
        transform: scale(1.2);
	}
/*-------------------sNav---------------------*/
	#sNav{
		display: none;
	 }
/*---------------------------------------------------footer-------------------------------------*/
	footer{
		clear: both;
		padding: 40px 20px;
		background-color: #454444;
		color: #fff;
	}
	footer a:link,
	footer a:visited{
		color: #cc9;
	}
	footer a:hover,
	footer a:active{
		color: #ff0;
	}
	footer p{
		padding-bottom: 15px;
	}
	footer p:last-child{
		padding-bottom:0;
	}
	footer .design{
		margin-left: 20px;
		color: #fff;
	}
	footer .line img {
		width: 165px;
		height: 165px;
		display: inline-block;
	}
	footer small {
		font-size: 11px;
	}
	footer:after {
		display: table;
		content: " ";
		clear: both;
	}
/*---------------------------buttonTop----------------------------*/
	footer #buttonTop {
		background:url(../img/buttonTop.png) no-repeat center;
		position: fixed;
		z-index: 1000;
		right: 0;
		bottom: 0;
		display: none;
		cursor: pointer;
		width: 90px;
		height:81px;
		transition: background 0.3s ease;
	}
	footer #buttonTop #arrow{
		background:url(../img/arrow.png) no-repeat center;
		position: absolute;
		right: 12px;
		bottom: 9px;
		width: 15px;
		height: 28px;
		transition: background 0.3s ease , bottom 0.3s ease;
	}
	footer #buttonTop:hover{
		background:url(../img/buttonTop_hover.png) no-repeat center;
	}
	footer #buttonTop:hover #arrow{
		background:url(../img/arrow_hover.png) no-repeat center;
		bottom: 15px;
	}

	/* bootstrap like */
	mark {
		padding: .2em;
		background-color: #fcf8e3;
	}
	.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-11 {
        box-sizing: border-box;
		float: left;
        padding: 0 10px;
	    width: 100%;
	}
	.col-xs-3 {
		width: 25%;
	}
	.col-xs-9 {
		width: 75%;
	}

	.form-group {
		margin-bottom: 10px;
	}
	.form-group:after {
		display: table;
		content: " ";
		clear: both;
	}
	.form-horizontal .form-group {
		/*
		margin-right: -15px;
		margin-left: -15px;
		*/
		margin-bottom: 15px;
	}
	.form-control {
		display: block;
		box-sizing: border-box;
		width: 100%;
		height: 34px;
		padding: 6px 12px;
		font-size: 14px;
		line-height: 1.42857143;
		color: #555;
		background-color: #fff;
		background-image: none;
		border: 1px solid #ccc;
		border-radius: 4px;
		-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
		box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
		-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
		-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
		transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	}

	.btn-default, .btn-primary {
		display: inline-block;
		padding: 6px 12px;
		margin-bottom: 0;
		font-size: 14px;
		font-weight: 400;
		line-height: 1.42857143;
		text-align: center;
		white-space: nowrap;
		vertical-align: middle;
		-ms-touch-action: manipulation;
		touch-action: manipulation;
		cursor: pointer;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		background-image: none;
		border: 1px solid transparent;
		border-radius: 4px;
	}
	.btn-default {
		color: #333;
		background-color: #fff;
		border-color: #ccc;
	}
	.btn-primary {
		color: #fff;
		background-color: #337ab7;
		border-color: #2e6da4;
	}
	.btn-danger, .btn-default, .btn-info, .btn-primary, .btn-success, .btn-warning {
		text-shadow: 0 -1px 0 rgba(0,0,0,.2);
		-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
		box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
	}
	.btn-default {
		text-shadow: 0 1px 0 #fff;
		background-image: -webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);
		background-image: -o-linear-gradient(top,#fff 0,#e0e0e0 100%);
		background-image: -webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));
		background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
		filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
		background-repeat: repeat-x;
		border-color: #dbdbdb;
		border-color: #ccc;
	}
	.btn-primary {
		background-image: -webkit-linear-gradient(top,#337ab7 0,#265a88 100%);
		background-image: -o-linear-gradient(top,#337ab7 0,#265a88 100%);
		background-image: -webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));
		background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
		filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
		background-repeat: repeat-x;
		border-color: #245580;
	}
	.btn-primary:focus, .btn-primary:hover {
		background-color: #265a88;
		background-position: 0 -15px;
	}
	.btn-default:focus, .btn-default:hover {
		background-color: #e0e0e0;
		background-position: 0 -15px;
	}

	.input-group {
		position: relative;
		display: table;
		border-collapse: separate;
	}
	.input-group .form-control {
		position: relative;
		z-index: 2;
		float: left;
		width: 100%;
		margin-bottom: 0;
		display: table-cell;
	}
	.input-group-addon {
		width: 1%;
		white-space: nowrap;
		vertical-align: middle;
		display: table-cell;
		padding: 6px 12px;
		font-size: 14px;
		font-weight: 400;
		line-height: 1;
		color: #555;
		text-align: center;
		background-color: #eee;
		border: 1px solid #ccc;
		border-radius: 4px;
	}
	.input-group .form-control:first-child {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}
	.input-group-addon:last-child {
		border-left: 0;
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
	}

nav.page-nav {
	text-align: center;
}
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}
.pagination>li {
    display: inline;
}
.pagination-sm>li>a, .pagination-sm>li>span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
}
.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #d4c552;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}
.pagination>.disabled>a, .pagination>.disabled>a:focus, .pagination>.disabled>a:hover, .pagination>.disabled>span, .pagination>.disabled>span:focus, .pagination>.disabled>span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}
.pagination>li:first-child>a, .pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #d4c552;
    border-color: #d4c552;
}
.pagination-sm>li:first-child>a, .pagination-sm>li:first-child>span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}


/* #fixed-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(247, 232, 213, 0.9);
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	}
	#fixed-links a {
	    display: block;
	    height: 45px;
	    font-family: arial;
		color: #333;
		-ms-transition: .3s;
		transition: .3s;
	}
	#fixed-links a:before {
	    content: " ";
	    display: inline-block;
	    background: url(../assets/images/link_icons.png) no-repeat;
	    width: 45px;
	    height: 45px;
	    vertical-align: middle;
	}
	#fixed-links a:hover {
	    /* filter: brightness(110%); */
	    background: #57524c;
	    color: #eee;
	}
	#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;
	}

@media (min-width:1200px) {
	header nav {
		display: block !important;
		opacity: 1 !important;
	}
	header nav li ul{
		display: none !important;
	}
	header nav li:hover > ul{
		display: block !important;
	}
}

@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%;
	}
}

@media (min-width:992px) {
	.offset-lg-1 {
		margin-left: 8.33%;
	}
	.offset-lg-2 {
		margin-left: 16.66%;
	}
	.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-11 {
		width: 91.66%;
	}
}

@media (max-width:1499px) {
/*--------------------nav---------------------*/
	header nav > ul > li a{
		padding: 10px;
	}
}

@media (min-width:1200px) AND (max-width:1299px) {
	.logo {
		max-width: 320px;
	}
}

@media (max-width:1199px) {
/*---------------------------------------------------header---------------------------------------*/
    #banner {
        margin-top: 0px;
    }
/*-------------------------------top--------------------------------*/
	.top {
		position: relative;
		z-index: 2000;
		height: auto;
		background-color: #fff;
	}
/*------------------logo----------------------*/
	.logo {
		position: relative;
		left: initial;
		top: initial;
		margin: 0 auto;
		padding: 10px 0;
		transform: none;
		max-width: none;
	}
/*--------------------nav---------------------*/
	header nav{
		display: none;
		position: fixed;
		width: 100%;
		height: 100vh;
		margin: 0;
		top: 0;
		background-color: #06641E;
		z-index: 999;
		overflow: auto;
	}
	.navAni{
		margin-top: 0;
	}
	header nav ul {
	}
	header nav li{
	}
	header nav > ul {
	    position: absolute;
	    top: 50%;
	    transform: translateY(-50%);
	    right: initial;
	    width: 100%;
	    text-align: left;
	}
	header nav > ul > li{
		display: block;
	}
	header nav > ul > li a{
		color: #fff;
		letter-spacing: 5px;
		/*padding: 20px 10px 20px calc(50vw - 80px);*/
		text-align:center;
	}
	header nav > ul > li a:hover{
		color: #ffe72e;
		background-color: #454444;
	}
	header nav li.active > a{
		color: #ffe72e;
		background-color: inherit;
	}
	header nav li ul{
		position: inherit;
		width: 100%;
		background-color: #717070;
		box-shadow: none;
	}
	header nav li:hover > ul{
		display: none;
	}
	header nav li li a{
		border-left: none;
	}
	header nav > ul > li > ul > li > a{
		/*padding-left: calc(50vw - 60px);*/
		padding-left: calc(50px);
	}
	header nav li li a:hover,
	header nav li li.active > a{
	}
	header nav li li ul{
		top: 0;
		left: 0;
		background-color: #8e8e8e;
	}
	header nav > ul > li > ul > li > ul > li > a{
		padding-left: calc(50vw - 40px);
	}
	#icons {
		display: none;
	}
/*-------------------sNav---------------------*/
	#sNav{
		display: block;
		width: 100%;
	}
	.sNavAni{
		position: fixed;
		top:0;
	}
/*---sNav_button---*/
	#sNav_button{
		position: relative;
		top: initial;
		right: initial;
	}
	#sNav_button h4{
		color: #fff;
		font-weight: bold;
		background-color: #F21B52;
		padding: 10px 10px;
		transition: margin-top 0.3s ease;
		cursor: pointer;
	}

/*click MENU後，出現的X*/
	header nav .cancel{
		display: none;
		position: absolute;
		z-index: 101;
        top: 20px;
        right: 15px;
        padding: 25px 15px;
		cursor: pointer;
	}
	header nav .cancel .line {
		width: 30px;
		height: 2px;
		background-color: #fff;
		-ms-transition: background .3s ease;
		transition: background .3s ease;
	}
	header nav .cancel:hover{
	    background-color: rgba(255, 255, 255, 0.2);
	}
	header nav .cancel:hover .line{
		background-color: gold;
	}
	#line1{
		transform: rotate(45deg);
	}
	#line2{
		transform: rotate(-45deg) translate(0 , -2px);
	}
/*---------------------------------------------------footer-------------------------------------*/
	footer span {
		display: block;
	}
/*---------------------------up-----------------------------------*/
	footer .up{
		padding: 50px 10px;
	}
	footer .up h4{
		padding-bottom: 20px;
	}
/*---------------------------buttonTop----------------------------*/
	footer #buttonTop:hover{
		background:url(../img/buttonTop.png) no-repeat center;
	}
	footer #buttonTop:hover #arrow{
		background:url(../img/arrow.png) no-repeat center;
		bottom: 9px;
	}
}



