﻿/*
==============================================
   框架
==============================================
*/
.header {
	width:100%;
	position:relative;
	left:0;
	top:0;
	z-index:501;
	text-align:left;
	-webkit-transition:all .6s ease-in-out;
            transition:all .6s ease-in-out;
}
.header::after {
    clear: both;
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
	overflow: hidden;
}
.header .row.top {
	padding: 0px;
	background-position:left center;
	border-bottom: 1px solid #dedede;
	z-index: 1;
}
.header .row + .row {
	padding:0;
}

.headerBg {
	position: absolute;
	width: 100%; height: 100%; top: 0; left: 0;
	background-position: center top;
	background-repeat: no-repeat;
	/*background-size: cover;*/
	z-index: -1;
}


/*
==============================================
   header logo
==============================================
*/
.header .logo {
	position:relative;
	margin: 0;
	padding: 0;
	line-height: 1;
	z-index: 10;
	float: left;
	-webkit-transition:all 0.6s ease-in-out;
			transition:all 0.6s ease-in-out;
}
.header .logo > a {
	margin: 0 auto;
	display: block;
	-webkit-transition:all 0.6s ease-in-out;
			transition:all 0.6s ease-in-out;
}
/* logo size */
.header .header-normal .logo > a {/* small */
	width: 250px;
}
.header .header-normal .logo img {
	max-height:100px;
}
.header .header-normal.logo-middle .logo > a {/* middle */
	width: 350px;
}
.header .header-normal.logo-middle .logo img {
	max-height:150px;
}
.header .header-normal.logo-large .logo > a {/* large */
	width: 450px;
}
.header .header-normal.logo-large .logo img {
	max-height:200px;
}


/*
==============================================
   header slogan
==============================================
*/
.header .logo ~ .header-slogan {
	margin-top: 13px;
	color: #333333;
	font-size: 13px;
	line-height: 16px;
	margin-bottom: 8px;
	float: left;
	width: 100%;
}
.header .logo ~ .header-content ~ .header-slogan { margin-top: 3px; }


/*
==============================================
   header content
==============================================
*/
.header .header-normal .header-content {
	float: right;
	width:700px;
	position: relative;
	min-height: 50px;
	padding-bottom: 20px;
}
.header .header-normal.logo-middle .header-content {
	width:600px;
}
.header .header-normal.logo-large .header-content {
	width:500px;
}


/*
==============================================
   header-search
==============================================
*/
.header-search {
	position: relative;
	float: right;
	z-index: 601;
	margin-left: 5px;
} 
.header-search .btn-black {
	position: absolute;
	right: 0;
	font-size: 18px;
	background-color: transparent;
	border: none;
	line-height: 20px;
    width: 20px;
    height: 20px;
    color: #878787;
}
.header-search .btn-black > i {
    line-height: 20px;
}
.header-search .btn-black:link { color: #878787; }
.header-search .btn-black:visited { color: #878787; }
.header-search .btn-black:hover { opacity: 1; color:#b0a377; background-color: transparent; border: none; }
.header-search .btn-black:active { color:#b0a377; box-shadow: none; }
.header-search .btn-black::after,  .header-search .btn-black:active::after {
	display: none;
}
.header-search .polymer-form { float: right; z-index: 2; }
.header-search .polymer-form input {
	padding-bottom: 3px;
	font-size: 14px;
	height: 18px;
	cursor: pointer;
}
.header-search .polymer-form .bar { background-color: transparent; }
.header-search .polymer-form .bar-in { background-color: #b0a377; }

.header-search input[type="text"] {
    width:0px;
    padding-right: 24px;
    -webkit-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}
.header-search input[type="text"]:focus, 
.header-search input[type="text"]:active {
    width: 200px;
}
/* 如果輸入框有內容 */
.header-search .polymer-form.dirty { z-index: auto; margin-left: 5px; }
.header-search .polymer-form.dirty input[type="text"] { width: 100px; cursor: text; }
.header-search .polymer-form.dirty .bar { background-color: #454545; }
.header-search .polymer-form.dirty .bar .bar-in { background-color: #b0a377; }


/*
==============================================
   menu
==============================================
*/
.header .menu {
	/*position: relative;*/
	width: 100%;
	float: right;
	text-align: right;
	z-index: 600;
}
.header .menu::after {
    clear: both;
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
	overflow: hidden;
}


/*
==============================================
   main menu
==============================================
*/
.header .main-menu {
	margin:0;
	padding:0;
	vertical-align:middle;
	font-size:14px;
	float: right;
	width: 100%;
	position: absolute;
	right: 0;
	bottom: 0;

	font-family: 'Verdana', 'Noto Sans TC', "微軟正黑體", "Microsoft JhengHei", sans-serif;
}
.header .main-menu, 
.header .main-menu ul, 
.header .main-menu li { list-style:none; margin:0; padding:0; }
.header .main-menu a { display:block; white-space:nowrap; }
.header .main-menu li { position:relative; line-height:1; }

/* level 1 */
.header .main-menu > li > a:link { color:#000000; }
.header .main-menu > li > a:visited { color:#000000; }
.header .main-menu > li > a:hover { color:#b0a377; }
.header .main-menu > li > a:active { color:#b0a377; }

.header .main-menu > li {
	display:inline-block;
	*display:inline;
	*zoom:1;
	margin-left:20px;
	padding-bottom:3px;

	-webkit-transition:all 0.3s ease-in-out;
            transition:all 0.3s ease-in-out;
}
.header .main-menu > li:first-child { margin-left:0; }

.header .main-menu > li::after {
	content:'';
	display:block;
	position:absolute;
	width: 1%;
	height: 3px;
	background-color:#b0a377;
	overflow: visible;
	visibility: visible;
	bottom:0px;
	left: 49%;
	opacity:0;
	z-index: -1;

	-webkit-transition:all 0.3s ease-in-out;
            transition:all 0.3s ease-in-out;
}
.header .main-menu > li:hover::after {
	width: 100%;
	left: 0%;
	opacity:1;
}

.header .main-menu > li.sub-menu-active {
	background-color:#1f1f1f;
}
.header .main-menu > li > a {
	padding: 0px 0px 13px;
}

/* MENU > DROPDOWN */
.header .menu ul.sub-menu a:link { color:#000000; }
.header .menu ul.sub-menu a:visited { color:#000000; }
.header .menu ul.sub-menu a:hover { color:#b0a377; }
.header .menu ul.sub-menu a:active { color:#b0a377; }

.header ul.sub-menu > li.open > a { background:#b0a377; }
.header ul.sub-menu > li.open > a:link { color:#333333; }
.header ul.sub-menu > li.open > a:visited { color:#333333; }
.header ul.sub-menu > li.open > a:hover { color:#333333; }
.header ul.sub-menu > li.open > a:active { color:#333333; }

.header ul.sub-menu { 
	display:none;
	min-width: 100%;
	left:0px;
	top: 100%;
	position:absolute;
	z-index:200;
	text-align:left;

	box-shadow: 0 2px 6px #cccccc;
}
.header ul.sub-menu > li > a {
	padding: 12px 20px;
	background:#ffffff;
}

/* level 3+ */
.header ul.sub-menu ul.sub-menu {
	left: 100%;
	top: 20%;
}

/* 當前選項 */
.header .main-menu > li.current-menu-item::after { width: 100%; left: 0%; opacity: 1; }
.header .main-menu > li.current-menu-item > a:link { color:#b0a377; }
.header .main-menu > li.current-menu-item > a:visited { color:#b0a377; }
.header .main-menu > li.current-menu-item > a:hover { color:#b0a377; }
.header .main-menu > li.current-menu-item > a:active { color:#b0a377; }

.header ul.sub-menu > li.current-menu-item > a { background:#b0a377; }
.header ul.sub-menu > li.current-menu-item > a:link { color:#333333; }
.header ul.sub-menu > li.current-menu-item > a:visited { color:#333333; }
.header ul.sub-menu > li.current-menu-item > a:hover { color:#333333; }
.header ul.sub-menu > li.current-menu-item > a:active { color:#333333; }


/*
==============================================
   header shrink
==============================================
*/
.header .header-shrink .main-menu {
}


/*
==============================================
   menu-toggle
==============================================
*/
.header .menu-toggle {
	display: none;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1005;
	padding: 10px 0px;
	cursor: pointer;

	-webkit-transition: all .6s ease-in-out;
			transition: all .6s ease-in-out;
}
body.admin .header .menu-toggle {
	top: 60px;
}
.header .menu-toggle-hamburger {
	display: block;
	width: 34px;
	height: 2px;
	background: #222222;
	position: relative;
  	left: 0;
  	top: 0;
  	-webkit-transition: background 0s 0.3s;
          	transition: background 0s 0.3s;
}
.header .menu-toggle-hamburger::before, 
.header .menu-toggle-hamburger::after {
	display: block;
	width: 100%;
	height: 2px;
	position: absolute;
	background: #222222;
	left: 0;
	content: '';
	overflow: visible;
	visibility: visible;
	-webkit-transition-duration: 0.3s, 0.3s;
	-webkit-transition-delay: 0.3s, 0s;
	transition-duration: 0.3s, 0.3s;
	transition-delay: 0.3s, 0s;
}
.header .menu-toggle-hamburger::before {
	-webkit-transition-property: top, transform;
	transition-property: top, transform;
	top: 550%;
}
.header .menu-toggle-hamburger::after {
	-webkit-transition-property: bottom, transform;
	transition-property: bottom, transform;
	bottom: 550%;
}

/* hover */
/*.header .menu-toggle:hover .menu-toggle-hamburger::before, 
.header .menu-toggle:hover .menu-toggle-hamburger::after { background: #ffffff; }*/

.header .menu-toggle.menu-toggle-active .menu-toggle-hamburger::before, 
.header .menu-toggle.menu-toggle-active .menu-toggle-hamburger::after, 
.header .menu-toggle.menu-toggle-active:hover .menu-toggle-hamburger::before, 
.header .menu-toggle.menu-toggle-active:hover .menu-toggle-hamburger::after {
  background: #ffffff;
}
.header .menu-toggle.menu-toggle-active:hover .menu-toggle-hamburger {
  background: transparent;
}

/* menu-toggle-active */
.header .menu-toggle.menu-toggle-active {
	-webkit-transition: all .6s ease-in-out;
	transition: all .6s ease-in-out;
}
.header .menu-toggle.menu-toggle-active .menu-toggle-hamburger {
	background: none;
}
.header .menu-toggle-active .menu-toggle-hamburger::before {
	width: 100%;
	top: 0%;
	-webkit-transition-delay: 0s, 0.3s;
	transition-delay: 0s, 0.3s;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.header .menu-toggle-active .menu-toggle-hamburger::after {
	width: 100%;
	bottom: 0%;
	transition-delay: 0s, 0.3s;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}


/*
==============================================
   header lang
==============================================
*/
.se-dropdown.dropdown-lang {
    vertical-align: top;
	line-height: inherit;
	margin-top: -1px;
	margin-left: 9px;
	float: right;
	font-size: 13px;
}
.se-dropdown.dropdown-lang > i { font-size: 14px; vertical-align: text-bottom; }
.se-dropdown.dropdown-lang > .default.dropdown-text, 
.default.se-dropdown.dropdown-lang > .dropdown-text {
	color: #878787;
}


/*
==============================================
   header share
==============================================
*/
.header .header-share {
	position: relative;
	z-index: 601;
	font-size: 16px;
	float: right;
	margin-top: 0;
	margin-left: 4px;
}

.header .header-share .se-dropdown {
	font-size: 16px;
	vertical-align: inherit;
	margin-left: 8px;
}
.header .header-share .se-dropdown.dropdown-channel .dropdown-menu > .dropdown-item { text-align: center; }
.header .header-share .se-dropdown > .icon {
	margin: 0;
}
.header .header-share .se-dropdown .dropdown-menu > .dropdown-item {
	font-size: 13px;
	padding: 8px 12px !important;
}


/*
==============================================
   socialIcon
==============================================
*/
.header .socialIcon {
	/*width: 22px;
	height: 22px;*/
	display: inline-block;
	margin: 0px 5px;
	text-align: center;
}
.header .dropdown-share .socialIcon {
	margin: 0px 3px 0px 0px;
}
.header .dropdown-channel .socialIcon {
	margin: 0px 3px 0px 0px;
}
.header .socialIcon i {
	margin: 0;
	/*line-height: 22px;*/
}
.header .socialIcon img {
	max-width: 100%;
	max-height: 100%;
}
/*各種尺寸*/
.header .socialIcon.s-18 { /*width: 18px; height: 18px;*/ }
.header .socialIcon.s-20 { /*width: 20px; height: 20px;*/ }
.header .socialIcon.s-24 { /*width: 24px; height: 24px;*/ }
.header .socialIcon.s-26 { /*width: 26px; height: 26px;*/ }
.header .socialIcon.s-28 { /*width: 28px; height: 28px;*/ }
.header .socialIcon.s-30 { /*width: 30px; height: 30px;*/ }
.header .socialIcon.s-32 { /*width: 32px; height: 32px;*/}
.header .socialIcon.s-34 { /*width: 34px; height: 34px;*/ }
.header .socialIcon.s-36 { /*width: 36px; height: 36px;*/ }
.header .socialIcon.s-38 { /*width: 38px; height: 38px;*/ }
.header .socialIcon.s-40 { /*width: 40px; height: 40px;*/ }
.header .socialIcon.s-42 { /*width: 42px; height: 42px;*/ }
.header .socialIcon.s-44 { /*width: 44px; height: 44px;*/ }
.header .socialIcon.s-46 { /*width: 46px; height: 46px;*/ }
.header .socialIcon.s-48 { /*width: 48px; height: 48px;*/ }
.header .socialIcon.s-50 { /*width: 50px; height: 50px;*/ }
.header .socialIcon.s-52 { /*width: 52px; height: 52px;*/ }
.header .socialIcon.s-54 { /*width: 54px; height: 54px;*/ }
.header .socialIcon.s-56 { /*width: 56px; height: 56px;*/ }
.header .socialIcon.s-58 { /*width: 58px; height: 58px;*/; }
.header .socialIcon.s-60 { /*width: 60px; height: 60px;*/ }
.header .socialIcon.s-62 { /*width: 65px; height: 65px;*/ }
.header .socialIcon.s-64 { /*width: 64px; height: 64px;*/ }

.header .socialIcon.s-18 i { line-height: 18px; font-size: 16px; }
.header .socialIcon.s-20 i { line-height: 20px; font-size: 18px; }
.header .socialIcon.s-24 i { line-height: 24px; font-size: 22px; }
.header .socialIcon.s-26 i { line-height: 26px; font-size: 24px; }
.header .socialIcon.s-28 i { line-height: 28px; font-size: 26px; }
.header .socialIcon.s-30 i { line-height: 30px; font-size: 28px; }
.header .socialIcon.s-32 i { line-height: 32px; font-size: 30px; }
.header .socialIcon.s-34 i { line-height: 34px; font-size: 32px; }
.header .socialIcon.s-36 i { line-height: 36px; font-size: 34px; }
.header .socialIcon.s-38 i { line-height: 38px; font-size: 36px; }
.header .socialIcon.s-40 i { line-height: 40px; font-size: 38px; }
.header .socialIcon.s-42 i { line-height: 42px; font-size: 40px; }
.header .socialIcon.s-44 i { line-height: 44px; font-size: 42px; }
.header .socialIcon.s-46 i { line-height: 46px; font-size: 44px; }
.header .socialIcon.s-48 i { line-height: 48px; font-size: 46px; }
.header .socialIcon.s-50 i { line-height: 50px; font-size: 48px; }
.header .socialIcon.s-52 i { line-height: 52px; font-size: 50px; }
.header .socialIcon.s-54 i { line-height: 54px; font-size: 52px; }
.header .socialIcon.s-56 i { line-height: 56px; font-size: 54px; }
.header .socialIcon.s-58 i { line-height: 58px; font-size: 56px; }
.header .socialIcon.s-60 i { line-height: 60px; font-size: 58px; }
.header .socialIcon.s-62 i { line-height: 62px; font-size: 60px; }
.header .socialIcon.s-64 i { line-height: 64px; font-size: 62px; }

.header .socialIcon.s-18 span { width: 19px; height: 19px; line-height: 19px; font-size: 18px; }
.header .socialIcon.s-20 span { width: 21px; height: 21px; line-height: 21px; font-size: 20px; }
.header .socialIcon.s-24 span { width: 25px; height: 25px; line-height: 25px; font-size: 24px; }
.header .socialIcon.s-26 span { width: 27px; height: 27px; line-height: 27px; font-size: 26px; }
.header .socialIcon.s-28 span { width: 29px; height: 29px; line-height: 29px; font-size: 28px; }
.header .socialIcon.s-30 span { width: 31px; height: 31px; line-height: 31px; font-size: 30px; }
.header .socialIcon.s-32 span { width: 33px; height: 33px; line-height: 33px; font-size: 32px; }
.header .socialIcon.s-34 span { width: 35px; height: 35px; line-height: 35px; font-size: 34px; }
.header .socialIcon.s-36 span { width: 37px; height: 37px; line-height: 37px; font-size: 36px; }
.header .socialIcon.s-38 span { width: 39px; height: 39px; line-height: 39px; font-size: 38px; }
.header .socialIcon.s-40 span { width: 41px; height: 41px; line-height: 41px; font-size: 40px; }
.header .socialIcon.s-42 span { width: 43px; height: 43px; line-height: 43px; font-size: 42px; }
.header .socialIcon.s-44 span { width: 45px; height: 45px; line-height: 45px; font-size: 44px; }
.header .socialIcon.s-46 span { width: 47px; height: 47px; line-height: 47px; font-size: 46px; }
.header .socialIcon.s-48 span { width: 49px; height: 49px; line-height: 49px; font-size: 48px; }
.header .socialIcon.s-50 span { width: 51px; height: 51px; line-height: 51px; font-size: 50px; }
.header .socialIcon.s-52 span { width: 53px; height: 53px; line-height: 53px; font-size: 52px; }
.header .socialIcon.s-54 span { width: 55px; height: 55px; line-height: 55px; font-size: 54px; }
.header .socialIcon.s-56 span { width: 57px; height: 57px; line-height: 57px; font-size: 56px; }
.header .socialIcon.s-58 span { width: 59px; height: 59px; line-height: 59px; font-size: 58px; }
.header .socialIcon.s-60 span { width: 61px; height: 61px; line-height: 61px; font-size: 60px; }
.header .socialIcon.s-62 span { width: 63px; height: 63px; line-height: 63px; font-size: 62px; }
.header .socialIcon.s-64 span { width: 65px; height: 65px; line-height: 65px; font-size: 64px; }

.header .socialIcon.s-18 span i.fa-stack-2x { line-height: 18px; font-size: 21px; }
.header .socialIcon.s-20 span i.fa-stack-2x { line-height: 20px; font-size: 23px; }
.header .socialIcon.s-24 span i.fa-stack-2x { line-height: 24px; font-size: 27px; }
.header .socialIcon.s-26 span i.fa-stack-2x { line-height: 26px; font-size: 29px; }
.header .socialIcon.s-28 span i.fa-stack-2x { line-height: 28px; font-size: 31px; }
.header .socialIcon.s-30 span i.fa-stack-2x { line-height: 30px; font-size: 33px; }
.header .socialIcon.s-32 span i.fa-stack-2x { line-height: 32px; font-size: 35px; }
.header .socialIcon.s-34 span i.fa-stack-2x { line-height: 34px; font-size: 37px; }
.header .socialIcon.s-36 span i.fa-stack-2x { line-height: 36px; font-size: 39px; }
.header .socialIcon.s-38 span i.fa-stack-2x { line-height: 38px; font-size: 41px; }
.header .socialIcon.s-40 span i.fa-stack-2x { line-height: 40px; font-size: 43px; }
.header .socialIcon.s-42 span i.fa-stack-2x { line-height: 42px; font-size: 45px; }
.header .socialIcon.s-44 span i.fa-stack-2x { line-height: 44px; font-size: 47px; }
.header .socialIcon.s-46 span i.fa-stack-2x { line-height: 46px; font-size: 49px; }
.header .socialIcon.s-48 span i.fa-stack-2x { line-height: 48px; font-size: 51px; }
.header .socialIcon.s-50 span i.fa-stack-2x { line-height: 50px; font-size: 53px; }
.header .socialIcon.s-52 span i.fa-stack-2x { line-height: 52px; font-size: 55px; }
.header .socialIcon.s-54 span i.fa-stack-2x { line-height: 54px; font-size: 57px; }
.header .socialIcon.s-56 span i.fa-stack-2x { line-height: 56px; font-size: 59px; }
.header .socialIcon.s-58 span i.fa-stack-2x { line-height: 58px; font-size: 61px; }
.header .socialIcon.s-60 span i.fa-stack-2x { line-height: 60px; font-size: 63px; }
.header .socialIcon.s-62 span i.fa-stack-2x { line-height: 62px; font-size: 65px; }
.header .socialIcon.s-64 span i.fa-stack-2x { line-height: 64px; font-size: 67px; }

.header .socialIcon.s-18 span i { line-height: 19px; font-size: 12px; }
.header .socialIcon.s-20 span i { line-height: 21px; font-size: 14px; }
.header .socialIcon.s-24 span i { line-height: 25px; font-size: 18px; }
.header .socialIcon.s-26 span i { line-height: 27px; font-size: 20px; }
.header .socialIcon.s-28 span i { line-height: 29px; font-size: 22px; }
.header .socialIcon.s-30 span i { line-height: 31px; font-size: 24px; }
.header .socialIcon.s-32 span i { line-height: 33px; font-size: 26px; }
.header .socialIcon.s-34 span i { line-height: 35px; font-size: 28px; }
.header .socialIcon.s-36 span i { line-height: 37px; font-size: 30px; }
.header .socialIcon.s-38 span i { line-height: 39px; font-size: 32px; }
.header .socialIcon.s-40 span i { line-height: 41px; font-size: 34px; }
.header .socialIcon.s-42 span i { line-height: 43px; font-size: 36px; }
.header .socialIcon.s-44 span i { line-height: 45px; font-size: 38px; }
.header .socialIcon.s-46 span i { line-height: 47px; font-size: 40px; }
.header .socialIcon.s-48 span i { line-height: 49px; font-size: 42px; }
.header .socialIcon.s-50 span i { line-height: 51px; font-size: 44px; }
.header .socialIcon.s-52 span i { line-height: 53px; font-size: 46px; }
.header .socialIcon.s-54 span i { line-height: 55px; font-size: 48px; }
.header .socialIcon.s-56 span i { line-height: 57px; font-size: 50px; }
.header .socialIcon.s-58 span i { line-height: 59px; font-size: 52px; }
.header .socialIcon.s-60 span i { line-height: 61px; font-size: 54px; }
.header .socialIcon.s-62 span i { line-height: 63px; font-size: 56px; }
.header .socialIcon.s-64 span i { line-height: 65px; font-size: 58px; }

.header .socialIcon.s-18 img { max-width: 18px; max-height: 18px; }
.header .socialIcon.s-20 img { max-width: 20px; max-height: 20px; }
.header .socialIcon.s-24 img { max-width: 24px; max-height: 24px; }
.header .socialIcon.s-26 img { max-width: 26px; max-height: 26px; }
.header .socialIcon.s-28 img { max-width: 28px; max-height: 28px; }
.header .socialIcon.s-30 img { max-width: 30px; max-height: 30px; }
.header .socialIcon.s-32 img { max-width: 32px; max-height: 32px; }
.header .socialIcon.s-34 img { max-width: 34px; max-height: 34px; }
.header .socialIcon.s-36 img { max-width: 36px; max-height: 36px; }
.header .socialIcon.s-38 img { max-width: 38px; max-height: 38px; }
.header .socialIcon.s-40 img { max-width: 40px; max-height: 40px; }
.header .socialIcon.s-42 img { max-width: 42px; max-height: 42px; }
.header .socialIcon.s-44 img { max-width: 44px; max-height: 44px; }
.header .socialIcon.s-46 img { max-width: 46px; max-height: 46px; }
.header .socialIcon.s-48 img { max-width: 48px; max-height: 48px; }
.header .socialIcon.s-50 img { max-width: 50px; max-height: 50px; }
.header .socialIcon.s-52 img { max-width: 52px; max-height: 52px; }
.header .socialIcon.s-54 img { max-width: 54px; max-height: 54px; }
.header .socialIcon.s-56 img { max-width: 56px; max-height: 56px; }
.header .socialIcon.s-58 img { max-width: 58px; max-height: 58px; }
.header .socialIcon.s-60 img { max-width: 60px; max-height: 60px; }
.header .socialIcon.s-62 img { max-width: 65px; max-height: 65px; }
.header .socialIcon.s-64 img { max-width: 64px; max-height: 64px; }


/*
==============================================
   header shrink
==============================================
*/
.header-shrink {
	position: fixed;
	width: 100%;
	top: -100%;
	left: 0;
	z-index: 601;
	/*background: rgba(255,255,255,.8);*/
	-webkit-transition:all .6s ease-in-out;
            transition:all .6s ease-in-out;
}
.header-shrink.slideInDown { top: 0%; }
.header-shrink.slideInUp { top: -100%; }
.header-shrink.slideInDown.headroom--top { top: -100%; }

.header-shrink.scrollDown.slideInUp.headroom--not-top { top: 0%; }

.header-shrink .row.top {
	padding:10px 0 0;
	border-bottom: none;
	background: #ffffff;
}
/* logo */
.header .header-shrink .logo {
	float: left;
	padding:0 0 10px;
}
.header .header-shrink .logo > a {
	margin-left: 0;
	text-align: left;
	width: 180px;
}
.header .header-shrink .logo img {
	max-height:60px;
}
.header .header-shrink.logo-middle .logo > a {
	width: 250px;
}
.header .header-shrink.logo-middle .logo img {
	max-height:80px;
}
.header .header-shrink.logo-large .logo > a {
	width: 300px;
}
.header .header-shrink.logo-large .logo img {
	max-height:100px;
}


/*
==============================================
   header shrink slogan
==============================================
*/
.header .header-shrink .logo ~ .header-slogan {
	margin-top: 0;
	margin-bottom: 8px;
	float: left;
	width: 100%;
	color: #bbbbbb;
}


/*
==============================================
   header shrink content
==============================================
*/
.header .header-shrink .header-content {
	float: right;
	width:700px;
	position: relative;
	min-height:50px;
	padding-bottom: 10px;
}
.header .header-shrink.logo-middle .header-content {
	width:700px;
}
.header .header-shrink.logo-large .header-content {
	width:600px;
}

/* 20160606 Gabby 增加會員登錄上方的xxx你好 */
.header .btnMemberLogin {
    float: right;
    line-height: 1.5;
    padding-left: 10px;
    border-left: 1px solid #ccc;
    margin-left: 10px;
}


/*
==============================================
   responsive
==============================================
*/
@media screen and (min-width : 1136px) {
}
@media screen and (max-width : 1023px) {
	.header .header-normal .header-content { width: 70%; }
	.header .header-normal.logo-middle .header-content { width: 70%; }
	.header .header-normal.logo-large .header-content { width: 70%; }
}
@media screen and (max-width : 979px) {
	.header { z-index: 507; }

	.header .logo { padding-bottom: 20px; }
	.header .header-normal .logo > a { width: 100%; }
	.header .header-normal.logo-middle .logo > a { width: 100%; }
	.header .header-normal.logo-middle .logo img { max-height:100px; }
	.header .header-normal.logo-large .logo > a { width: 100%; }
	.header .header-normal.logo-large .logo img { max-height:100px; }

	.header .logo ~ .header-slogan { margin-top: 10px; }

	.header .header-normal .header-content {
		position: static;
		right: 0;
		height: inherit !important;
		padding-bottom: 0px;
	}
	.header .header-normal.logo-middle .header-content { height: inherit !important; }
	.header .header-normal.logo-large .header-content { height: inherit !important; }

	.header-shrink { display: none !important; }

	.header .menu {
		position: absolute;
		text-align: center;
		background-color: rgba(0,0,0,0.9);
		padding: 0px;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		height: 0;
		opacity: 0;
		overflow: hidden;
		overflow: auto;
	}
	.header .menu.menu-open {
		height: 100%;
    	opacity: 1;
    	top: 0px;
    	padding: 70px 0px 30px;
    	position: fixed;
    	left: 0;
	}
	body.admin .header .menu.menu-open {
		top: 40px;
		height: calc(100% - 130px);
	}
	
	.header .menu-toggle { display: block; }
	.header .main-menu { position: relative; bottom: 0; width: 100%; text-align: left; }
	.header .main-menu::before {
		content: '';
		display: block;
		width: 1px;
		height: 100%;
		background-color: #dedede;
		position: absolute;
		top: 0;
		right: 0;
	}
	.header .main-menu { font-size: 15px; }
	.header .main-menu a { white-space:normal; }
	.header .main-menu > li {
		display: block;
		margin-left: 0;
		padding: 20px 0;
		margin: 0 30px;
		border-bottom: 1px solid #333333;
	}
	.header .main-menu > li:first-child { margin-left: 30px; }
	.header .main-menu > li.current-menu-item::after { display: none; }
	.header .main-menu > li::after { display: none; }
	.header .main-menu > li > a { padding: 0px; }
	.header .main-menu > li > a:link { color:#d8d8d8; }
	.header .main-menu > li > a:visited { color:#d8d8d8; }
	.header .main-menu > li > a:hover { color:#d8d8d8; }
	.header .main-menu > li > a:active { color:#d8d8d8; }
	.header ul.sub-menu {
		position: relative;
		box-shadow: none;
	}
	.header ul.sub-menu ul.sub-menu { left: 0; }
	.header ul.sub-menu > li > a { background: transparent; padding: 17px 0 12px 15px; }
	.header ul.sub-menu > li.current-menu-item > a { background: transparent; }
	.header ul.sub-menu ul.sub-menu > li > a { padding: 12px 0 12px 30px; }

	.header ul.sub-menu > li.open > a { background:transparent; }
	.header ul.sub-menu > li.open > a:link { color:#ffffff; }
	.header ul.sub-menu > li.open > a:visited { color:#ffffff; }
	.header ul.sub-menu > li.open > a:hover { color:#ffffff; }
	.header ul.sub-menu > li.open > a:active { color:#ffffff; }

	.header ul.sub-menu > li.current-menu-item > a { background:#222222; }
	.header ul.sub-menu > li.current-menu-item > a:link { color:#ffffff; }
	.header ul.sub-menu > li.current-menu-item > a:visited { color:#ffffff; }
	.header ul.sub-menu > li.current-menu-item > a:hover { color:#ffffff; }
	.header ul.sub-menu > li.current-menu-item > a:active { color:#ffffff; }

	.header-search { float: none; margin: 10px 30px; clear: both; }
	.header-search .polymer-form .bar { background-color: #bbbbbb; }
	.header-search .polymer-form .bar-in { background-color: #b0a377; }
	.header-search input[type="text"] {
		width:100%;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		padding-bottom: 6px;
		height: 30px;
	}
	.header-search input[type="text"]:focus, 
	.header-search input[type="text"]:active {
    	width: 100%;
	}
	.header-search .polymer-form.dirty input[type="text"] {
    	width: 100%;
	}

	/* 如果輸入框有內容 */
	.header-search .polymer-form.dirty .bar { background-color: #bbbbbb; }
	.header-search .polymer-form.dirty .bar .bar-in { background-color: #b0a377; }

	.header-search ~ .nav, .header-share ~ .nav { margin-top: 10px; }
	.header-search ~ .main-menu, .header-share ~ .main-menu { margin-top: 10px; }
	.header-search ~ .nav ~ .main-menu, .header-share ~ .nav ~ .main-menu { margin-top: 0px; }

	.header .header-share {
		vertical-align: top;
		float: none;
		display: inline-block;
		color: #d8d8d8;
		z-index: 602;
		margin-right: 15px;
		margin-bottom: 15px;
		line-height: 1;
	}
	
	.header-search .polymer-form { width: 100%; }

	.header-search .btn-black {
		color: #f7f7f7;
		top: 2;
		font-size: 22px;
	}

	.header .header-share .se-dropdown {
		margin-left: 15px;
		font-size: 20px;
	}
	.header .header-share .se-dropdown .dropdown-menu { left: auto; right: 0; top: 120%; }
	/*.header .header-share .se-dropdown .dropdown-menu > .dropdown-item i { font-size: 16px; }*/
	.se-dropdown.dropdown-lang > .default.dropdown-text, 
	.default.se-dropdown.dropdown-lang > .dropdown-text { display: none; }

	.se-dropdown.dropdown-lang { vertical-align: top; margin: 0 0 15px; z-index: 602; color: #d8d8d8; float: none; display: inline-block; }
	.se-dropdown.dropdown-lang > i { font-size: 20px; }

	/* MENU > DROPDOWN */
	.header .menu ul.sub-menu a:link { color:#d8d8d8; }
	.header .menu ul.sub-menu a:visited { color:#d8d8d8; }
	.header .menu ul.sub-menu a:hover { color:#d8d8d8; }
	.header .menu ul.sub-menu a:active { color:#d8d8d8; }

	/* 當前選項 */
	.header .main-menu > li.current-menu-item > a:link { color:#b0a377; }
	.header .main-menu > li.current-menu-item > a:visited { color:#b0a377; }
	.header .main-menu > li.current-menu-item > a:hover { color:#b0a377; }
	.header .main-menu > li.current-menu-item > a:active { color:#b0a377; }

	.header ul.sub-menu > li.current-menu-item > a { background: transparent; }
	.header ul.sub-menu > li.current-menu-item > a:link { color:#b0a377; }
	.header ul.sub-menu > li.current-menu-item > a:visited { color:#b0a377; }
	.header ul.sub-menu > li.current-menu-item > a:hover { color:#b0a377; }
	.header ul.sub-menu > li.current-menu-item > a:active { color:#b0a377; }

}
@media screen and (max-width : 800px) {
	/* 20160606 Gabby 增加會員登錄上方的xxx你好 */
	.header .btnMemberLogin { padding-left: 0; margin-left: 0; border-left: none; }
}
@media screen and (max-width : 680px) {
	.header .header-normal .logo img { max-height:80px; }
	.header .header-normal.logo-middle .logo img { max-height:80px; }
	.header .header-normal.logo-large .logo img { max-height:80px; }

	.header .header-normal .header-content { width:95%; }
	.header .header-normal.logo-middle .header-content { width:95%; }
	.header .header-normal.logo-large .header-content { width:95%; }
}
@media screen and (max-width : 320px) {
	/* btnMemberLogin樣式調整 20160606 Gabby */
	.header .btnMemberLogin { 
		float: none; 
		position: absolute; 
		right: 30px; 
		top: 50px; 
	}
}