﻿/*
==============================================
   框架
==============================================
*/
.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: 5px 0;
	background-position:left center;
	z-index: 1;
}
.header .row + .row {
	padding:0;
}
.header-top { text-align: right; }

.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 {
	width: 350px;
	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-slogan {
	color: #333333;
	font-size: 13px;
	line-height: 16px;
	text-align: right;
	width: 100%;
	position: absolute;
	bottom: 0;
	right: 0;
}


/*
==============================================
   header content
==============================================
*/
.header .header-normal .header-content {
	float: right;
	width:700px;
	position: relative;
	min-height: 50px;
}
.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: 600;
	margin-left: 5px;
	padding-top: 15px;
} 
.header-search .btn-black {
	position: absolute;
	right: 0;
	font-size: 18px;
	font-size: 1.8rem;
	background-color: transparent;
	border: none;
	line-height: 20px;
    width: 20px;
    height: 20px;
    color: #ffffff;
}
.header-search .btn-black > i {
    line-height: 20px;
}
.header-search .btn-black:link { color: #ffffff; }
.header-search .btn-black:visited { color: #ffffff; }
.header-search .btn-black:hover { opacity: 1; color:#004098; background-color: transparent; border: none; }
.header-search .btn-black:active { color:#004098; 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;
	font-size: 1.4rem;
	color: #ffffff;
	height: 18px;
	cursor: pointer;
}
.header-search .polymer-form .bar { background-color: transparent; }
.header-search .polymer-form .bar-in { background-color: #004098; }

.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: #004098; }


/*
==============================================
   menu
==============================================
*/
.header .menu {
	/*position: relative;*/
	width: 100%;
	text-align: left;
	z-index: 600;
	margin-top: 10px;
	background-color: #004098;
}
.header .menu::after {
    clear: both;
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
	overflow: hidden;
}
.header .menu.menu-above ~ .menu { margin-top: 0; background-color: #ffffff; }
.header .menu.menu-above ~ .menu .dark-menu { font-size: 15px; font-size: 1.5rem; }

/*
==============================================
   dark menu
==============================================
*/
.header .dark-menu {
	margin:0;
	padding:0;
	vertical-align:middle;
	font-size:16px;
	font-size:1.6rem;
	width: 100%;
	position: relative;
	right: 0;
	bottom: 0;

	/*font-family: 'Montserrat', 'Noto Sans TC', "微軟正黑體", "Microsoft JhengHei", sans-serif;*/
}
.header .dark-menu, 
.header .dark-menu ul, 
.header .dark-menu li { list-style:none; margin:0; padding:0; }
.header .dark-menu a { display:block; white-space:nowrap; }
.header .dark-menu li { position:relative; line-height:1; }

/* level 1 */
.header .dark-menu > li > a:link { color:#ffffff; }
.header .dark-menu > li > a:visited { color:#004098; }
.header .dark-menu > li > a:hover { color:#004098; }
.header .dark-menu > li > a:active { color:#004098; }

.header .menu-above ~ .menu .dark-menu > li > a:link { color:#004098; }
.header .menu-above ~ .menu .dark-menu > li > a:visited { color:#004098; }
.header .menu-above ~ .menu .dark-menu > li > a:hover { color:#50c2ff; }
.header .menu-above ~ .menu .dark-menu > li > a:active { color:#50c2ff; }

.header .dark-menu > li {
	float: left;
	-webkit-transition:all 0.3s ease-in-out;
            transition:all 0.3s ease-in-out;
}
.header .dark-menu > li.parent::before {
	/*font-family: "Ionicons";
	content: "\f3d0";
	display:block;
	position: absolute;
	top: 12px;
	right: 10px;
	overflow: visible;
	visibility: visible;
	opacity:0;
	z-index: 1;
	line-height: 18.5px;
	font-size: 13px;
    color: #ffffff;

	-webkit-transition:all 0.3s ease-in-out;
            transition:all 0.3s ease-in-out;*/
}
.header .dark-menu > li::after {
	content:'';
	display:block;
	position:absolute;
	width: 100%;
	height: 0;
	background-color: #ffffff;
	overflow: visible;
	visibility: visible;
	bottom: 0;
	left: 0;
	opacity:0;

	-webkit-transition:all 0.3s ease-in-out;
            transition:all 0.3s ease-in-out;
}
.header .dark-menu > li.parent:hover::before, 
.header .dark-menu > li.parent.current-menu-item::before {
	opacity:1;
}
.header .dark-menu > li:hover::after {
	height: 100%;
	opacity:1;
}
.header .dark-menu > li.parent:hover::before, 
.header .dark-menu > li.current-menu-item::before {
	color: #004098;
	font-weight: 600;
}






.header .dark-menu > li.sub-menu-active {
	background-color:#1f1f1f;
}
.header .dark-menu > li > a {
	position: relative;
	padding: 15px 20px;
	z-index: 1;
	color: #ffffff;
}
.header .dark-menu > li.parent:hover > a, 
.header .dark-menu > li.current-menu-item > a {
	color: #004098;
}

/* 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:#ffffff; }
.header .menu ul.sub-menu a:active { color:#ffffff; }

.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 #ffffff;
}
.header ul.sub-menu > li > a {
	padding: 12px 30px 12px 20px;
	background:#ffffff;
}
.header ul.sub-menu li.parent > a::before {
	/*font-family: "Ionicons";
	content: "\f3d3";
	display:block;
	position: absolute;
	right: 15px;
	overflow: visible;
	visibility: visible;
	opacity:1;
	line-height: 19px;
	font-size: 13px;
    color: #000000;

	-webkit-transition:all 0.3s ease-in-out;
            transition:all 0.3s ease-in-out;*/
}
.header ul.sub-menu li:hover > a {
	/*background:#004098;*/
}
.header ul.sub-menu li.parent:hover > a::before {
	color: #ffffff;
	font-weight: 600;
}

/* level 3+ */
.header ul.sub-menu ul.sub-menu {
	left: 100%;
	top: 20%;
}

/* 當前選項 */
.header .dark-menu > li.current-menu-item::after { left: 0; opacity: 1; }
.header .dark-menu > li.current-menu-item > a { background-color: #ffffff; }
.header .dark-menu > li.current-menu-item > a:link { color:#004098; }
.header .dark-menu > li.current-menu-item > a:visited { color:#004098; }
.header .dark-menu > li.current-menu-item > a:hover { color:#004098; }
.header .dark-menu > li.current-menu-item > a:active { color:#004098; }

.header .menu-above ~ .menu .dark-menu > li.current-menu-item > a:link { color:#50c2ff; }
.header .menu-above ~ .menu .dark-menu > li.current-menu-item > a:visited { color:#50c2ff; }
.header .menu-above ~ .menu .dark-menu > li.current-menu-item > a:hover { color:#50c2ff; }
.header .menu-above ~ .menu .dark-menu > li.current-menu-item > a:active { color:#50c2ff; }

.header ul.sub-menu > li.current-menu-item > a { background:#004098; }
.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 ul.sub-menu li.current-menu-item > a::before {
	color: #ffffff;
	font-weight: 600;
}

/* 滑過 */
.header .menu ul.sub-menu > li.open > a:link { color:#ffffff; }
.header .menu ul.sub-menu > li.open > a:visited { color:#ffffff; }
.header .menu ul.sub-menu > li.open > a:hover { color:#ffffff; }
.header .menu ul.sub-menu > li.open > a:active { color:#ffffff; }


/*
==============================================
   menu-toggle
==============================================
*/
.header .menu-toggle {
	display: none;
	position: fixed;
	top: 0px;
	right: 10px;
	z-index: 1005;
	cursor: pointer;
	padding: 30px 10px;
}
body.admin .header .menu-toggle {
	top: 40px;
}
.header .menu-toggle.menu-toggle-active {
}
.header .menu-toggle-hamburger {
	display: block;
	width: 30px;
	height: 2px;
	background: #000000;
	position: relative;
}
.header .menu-toggle.menu-toggle-active .menu-toggle-hamburger {
	background: #ffffff;
	height: 2px;
}
.header .menu-toggle-hamburger::before, 
.header .menu-toggle-hamburger::after {
	display: block;
	width: inherit;
	height: 2px;
	position: absolute;
	background: inherit;
	left: 0;
	content: '';
	overflow: visible;
	visibility: visible;
	-webkit-transition:all 0.3s linear;
			transition:all 0.3s linear;
}
.header .menu-toggle-hamburger::before {
	bottom: 320%;
}
.header .menu-toggle-hamburger::after {
	top: 320%;
}
/* menu-toggle-active */
.header .menu-toggle-active .menu-toggle-hamburger::before {
	bottom: 520%;
	height: 2px;
}
.header .menu-toggle-active .menu-toggle-hamburger::after {
	top: 520%;
	height: 2px;
}


/*
==============================================
   header lang
==============================================
*/
.se-dropdown.dropdown-lang {
	/*font-size: 16px;
    font-size: 1.6rem;*/
    vertical-align: top;
	line-height: inherit;
	margin-top: 2px;
	margin-left: 9px;
	float: right;
}
.se-dropdown.dropdown-lang > i { font-size: 14px; font-size: 1.4rem; }
.se-dropdown.dropdown-lang > .default.dropdown-text, 
.default.se-dropdown.dropdown-lang > .dropdown-text {
	color: #ffffff;
}


/*
==============================================
   header share
==============================================
*/
.header .header-share {
	position: relative;
	z-index: 601;
	font-size: 16px;
	font-size: 1.6rem;
	float: right;
	margin-top: -1px;
}

.header .header-share .se-dropdown {
	font-size: 16px;
	font-size: 1.6rem;
	vertical-align: inherit;
	margin-left: 7px;
}
.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;
	font-size: 1.3rem;
	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; font-size: 1.6rem; }
.header .socialIcon.s-20 i { line-height: 20px; font-size: 18px; font-size: 1.8rem; }
.header .socialIcon.s-24 i { line-height: 24px; font-size: 22px; font-size: 2.2rem; }
.header .socialIcon.s-26 i { line-height: 26px; font-size: 24px; font-size: 2.4rem; }
.header .socialIcon.s-28 i { line-height: 28px; font-size: 26px; font-size: 2.6rem; }
.header .socialIcon.s-30 i { line-height: 30px; font-size: 28px; font-size: 2.8rem; }
.header .socialIcon.s-32 i { line-height: 32px; font-size: 30px; font-size: 3rem; }
.header .socialIcon.s-34 i { line-height: 34px; font-size: 32px; font-size: 3.2rem; }
.header .socialIcon.s-36 i { line-height: 36px; font-size: 34px; font-size: 3.4rem; }
.header .socialIcon.s-38 i { line-height: 38px; font-size: 36px; font-size: 3.6rem; }
.header .socialIcon.s-40 i { line-height: 40px; font-size: 38px; font-size: 3.8rem; }
.header .socialIcon.s-42 i { line-height: 42px; font-size: 40px; font-size: 4rem; }
.header .socialIcon.s-44 i { line-height: 44px; font-size: 42px; font-size: 4.2rem; }
.header .socialIcon.s-46 i { line-height: 46px; font-size: 44px; font-size: 4.4rem; }
.header .socialIcon.s-48 i { line-height: 48px; font-size: 46px; font-size: 4.6rem; }
.header .socialIcon.s-50 i { line-height: 50px; font-size: 48px; font-size: 4.8rem; }
.header .socialIcon.s-52 i { line-height: 52px; font-size: 50px; font-size: 5rem; }
.header .socialIcon.s-54 i { line-height: 54px; font-size: 52px; font-size: 5.2rem; }
.header .socialIcon.s-56 i { line-height: 56px; font-size: 54px; font-size: 5.4rem; }
.header .socialIcon.s-58 i { line-height: 58px; font-size: 56px; font-size: 5.6rem }
.header .socialIcon.s-60 i { line-height: 60px; font-size: 58px; font-size: 5.8rem; }
.header .socialIcon.s-62 i { line-height: 62px; font-size: 60px; font-size: 6rem; }
.header .socialIcon.s-64 i { line-height: 64px; font-size: 62px; font-size: 6.2rem; }

.header .socialIcon.s-18 span { width: 19px; height: 19px; line-height: 19px; font-size: 18px; font-size: 1.8rem; }
.header .socialIcon.s-20 span { width: 21px; height: 21px; line-height: 21px; font-size: 20px; font-size: 2rem; }
.header .socialIcon.s-24 span { width: 25px; height: 25px; line-height: 25px; font-size: 24px; font-size: 2.4rem; }
.header .socialIcon.s-26 span { width: 27px; height: 27px; line-height: 27px; font-size: 26px; font-size: 2.6rem; }
.header .socialIcon.s-28 span { width: 29px; height: 29px; line-height: 29px; font-size: 28px; font-size: 2.8rem; }
.header .socialIcon.s-30 span { width: 31px; height: 31px; line-height: 31px; font-size: 30px; font-size: 3rem; }
.header .socialIcon.s-32 span { width: 33px; height: 33px; line-height: 33px; font-size: 32px; font-size: 3.2rem; }
.header .socialIcon.s-34 span { width: 35px; height: 35px; line-height: 35px; font-size: 34px; font-size: 3.4rem; }
.header .socialIcon.s-36 span { width: 37px; height: 37px; line-height: 37px; font-size: 36px; font-size: 3.6rem; }
.header .socialIcon.s-38 span { width: 39px; height: 39px; line-height: 39px; font-size: 38px; font-size: 3.8rem; }
.header .socialIcon.s-40 span { width: 41px; height: 41px; line-height: 41px; font-size: 40px; font-size: 4rem; }
.header .socialIcon.s-42 span { width: 43px; height: 43px; line-height: 43px; font-size: 42px; font-size: 4.2rem; }
.header .socialIcon.s-44 span { width: 45px; height: 45px; line-height: 45px; font-size: 44px; font-size: 4.4rem; }
.header .socialIcon.s-46 span { width: 47px; height: 47px; line-height: 47px; font-size: 46px; font-size: 4.6rem; }
.header .socialIcon.s-48 span { width: 49px; height: 49px; line-height: 49px; font-size: 48px; font-size: 4.8rem; }
.header .socialIcon.s-50 span { width: 51px; height: 51px; line-height: 51px; font-size: 50px; font-size: 5rem; }
.header .socialIcon.s-52 span { width: 53px; height: 53px; line-height: 53px; font-size: 52px; font-size: 5.2rem; }
.header .socialIcon.s-54 span { width: 55px; height: 55px; line-height: 55px; font-size: 54px; font-size: 5.4rem; }
.header .socialIcon.s-56 span { width: 57px; height: 57px; line-height: 57px; font-size: 56px; font-size: 5.6rem; }
.header .socialIcon.s-58 span { width: 59px; height: 59px; line-height: 59px; font-size: 58px; font-size: 5.8rem }
.header .socialIcon.s-60 span { width: 61px; height: 61px; line-height: 61px; font-size: 60px; font-size: 6rem; }
.header .socialIcon.s-62 span { width: 63px; height: 63px; line-height: 63px; font-size: 62px; font-size: 6.2rem; }
.header .socialIcon.s-64 span { width: 65px; height: 65px; line-height: 65px; font-size: 64px; font-size: 6.4rem; }

.header .socialIcon.s-18 span i.fa-stack-2x { line-height: 18px; font-size: 21px; font-size: 2.1rem; }
.header .socialIcon.s-20 span i.fa-stack-2x { line-height: 20px; font-size: 23px; font-size: 2.3rem; }
.header .socialIcon.s-24 span i.fa-stack-2x { line-height: 24px; font-size: 27px; font-size: 2.7rem; }
.header .socialIcon.s-26 span i.fa-stack-2x { line-height: 26px; font-size: 29px; font-size: 2.9rem; }
.header .socialIcon.s-28 span i.fa-stack-2x { line-height: 28px; font-size: 31px; font-size: 3.1rem; }
.header .socialIcon.s-30 span i.fa-stack-2x { line-height: 30px; font-size: 33px; font-size: 3.3rem; }
.header .socialIcon.s-32 span i.fa-stack-2x { line-height: 32px; font-size: 35px; font-size: 3.5rem; }
.header .socialIcon.s-34 span i.fa-stack-2x { line-height: 34px; font-size: 37px; font-size: 3.7rem; }
.header .socialIcon.s-36 span i.fa-stack-2x { line-height: 36px; font-size: 39px; font-size: 3.9rem; }
.header .socialIcon.s-38 span i.fa-stack-2x { line-height: 38px; font-size: 41px; font-size: 4.1rem; }
.header .socialIcon.s-40 span i.fa-stack-2x { line-height: 40px; font-size: 43px; font-size: 4.3rem; }
.header .socialIcon.s-42 span i.fa-stack-2x { line-height: 42px; font-size: 45px; font-size: 4.5rem; }
.header .socialIcon.s-44 span i.fa-stack-2x { line-height: 44px; font-size: 47px; font-size: 4.7rem; }
.header .socialIcon.s-46 span i.fa-stack-2x { line-height: 46px; font-size: 49px; font-size: 4.9rem; }
.header .socialIcon.s-48 span i.fa-stack-2x { line-height: 48px; font-size: 51px; font-size: 5.1rem; }
.header .socialIcon.s-50 span i.fa-stack-2x { line-height: 50px; font-size: 53px; font-size: 5.3rem; }
.header .socialIcon.s-52 span i.fa-stack-2x { line-height: 52px; font-size: 55px; font-size: 5.5rem; }
.header .socialIcon.s-54 span i.fa-stack-2x { line-height: 54px; font-size: 57px; font-size: 5.7rem; }
.header .socialIcon.s-56 span i.fa-stack-2x { line-height: 56px; font-size: 59px; font-size: 5.9rem; }
.header .socialIcon.s-58 span i.fa-stack-2x { line-height: 58px; font-size: 61px; font-size: 6.1rem }
.header .socialIcon.s-60 span i.fa-stack-2x { line-height: 60px; font-size: 63px; font-size: 6.3rem; }
.header .socialIcon.s-62 span i.fa-stack-2x { line-height: 62px; font-size: 65px; font-size: 6.5rem; }
.header .socialIcon.s-64 span i.fa-stack-2x { line-height: 64px; font-size: 67px; font-size: 6.7rem; }

.header .socialIcon.s-18 span i { line-height: 19px; font-size: 12px; font-size: 1.2rem; }
.header .socialIcon.s-20 span i { line-height: 21px; font-size: 14px; font-size: 1.4rem; }
.header .socialIcon.s-24 span i { line-height: 25px; font-size: 18px; font-size: 1.8rem; }
.header .socialIcon.s-26 span i { line-height: 27px; font-size: 20px; font-size: 2rem; }
.header .socialIcon.s-28 span i { line-height: 29px; font-size: 22px; font-size: 2.2rem; }
.header .socialIcon.s-30 span i { line-height: 31px; font-size: 24px; font-size: 2.4rem; }
.header .socialIcon.s-32 span i { line-height: 33px; font-size: 26px; font-size: 2.6rem; }
.header .socialIcon.s-34 span i { line-height: 35px; font-size: 28px; font-size: 2.8rem; }
.header .socialIcon.s-36 span i { line-height: 37px; font-size: 30px; font-size: 3rem; }
.header .socialIcon.s-38 span i { line-height: 39px; font-size: 32px; font-size: 3.2rem; }
.header .socialIcon.s-40 span i { line-height: 41px; font-size: 34px; font-size: 3.4rem; }
.header .socialIcon.s-42 span i { line-height: 43px; font-size: 36px; font-size: 3.6rem; }
.header .socialIcon.s-44 span i { line-height: 45px; font-size: 38px; font-size: 3.8rem; }
.header .socialIcon.s-46 span i { line-height: 47px; font-size: 40px; font-size: 4rem; }
.header .socialIcon.s-48 span i { line-height: 49px; font-size: 42px; font-size: 4.2rem; }
.header .socialIcon.s-50 span i { line-height: 51px; font-size: 44px; font-size: 4.4rem; }
.header .socialIcon.s-52 span i { line-height: 53px; font-size: 46px; font-size: 4.6rem; }
.header .socialIcon.s-54 span i { line-height: 55px; font-size: 48px; font-size: 4.8rem; }
.header .socialIcon.s-56 span i { line-height: 57px; font-size: 50px; font-size: 5rem; }
.header .socialIcon.s-58 span i { line-height: 59px; font-size: 52px; font-size: 5.2rem }
.header .socialIcon.s-60 span i { line-height: 61px; font-size: 54px; font-size: 5.4rem; }
.header .socialIcon.s-62 span i { line-height: 63px; font-size: 56px; font-size: 5.6rem; }
.header .socialIcon.s-64 span i { line-height: 65px; font-size: 58px; font-size: 5.8rem; }

.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; }


/*
==============================================
   menu-info
==============================================
*/
.header .menu-info {
	position: relative;
}
.header .menu-info {
	padding: 25px 20px 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.header .jspTrack, .header .jspVerticalBar:hover .jspTrack, .header .jspVerticalBar:focus .jspTrack  {
	background: #111111;
}
.header .jspDrag { background-color: #333333; border: 1px solid #333333; }
.header .jspDrag.jspHover, .header .jspDrag.jspActive {
	background: #454545;
	border:1px solid #454545;
}

.header .menu-info-full {
	width: 100%;
	float: left;
}
.header .menu-info-half {
	width: 50%;
	float: left;
	display: -webkit-flex;
	display: flex;
}
.header .menu-info-three {
	width: 33.33333%;
	float: left;
	display: -webkit-flex;
	display: flex;
}
.header .menu-info-content {
	-webkit-flex: 1;
    flex: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    padding-bottom: 30px;
}
.header .menu-info-full .menu-info-content, 
.header .menu-info-half .menu-info-content, 
.header .menu-info-three .menu-info-content {
	padding-bottom: 15px;
}
.header .menu-info-full.tag-none .menu-info-content, 
.header .menu-info-half.tag-none .menu-info-content, 
.header .menu-info-three.tag-none .menu-info-content {
	padding-bottom: 24px;
}

.header .menu-info .tag {}

.header .menu-info-content h6 {
	color: #B2B2B2;
	font-size: 17px;
	font-size: 1.7rem;
	margin-bottom: 10px;
	position: relative;
	padding-top: 10px;
}
.header .menu-info-full .menu-info-content h6, 
.header .menu-info-half .menu-info-content h6, 
.header .menu-info-three .menu-info-content h6 {
	margin-bottom: 0px;
	line-height: 19px;
}
.header .menu-info-content h6::before {
	content: '';
	display: block;
	width: 14px;
	height: 1px;
	position: absolute;
	top: 0;
	left: 1px;
	background-color: #B2B2B2;
}
.header .menu-info-content p {
	color: #898989;
	font-size: 13px;
	font-size: 1.3rem;
	margin-bottom: 6px;
	line-height: 1.5;
}
.header .menu-info-full .menu-info-content p, 
.header .menu-info-half .menu-info-content p, 
.header .menu-info-three .menu-info-content p {
	display: inline-block;
	margin-right: 8px;
}
.header .menu-info-content h6 a:link { color:#B2B2B2; }
.header .menu-info-content h6 a:visited { color:#B2B2B2; }
.header .menu-info-content h6 a:hover { color:#FFAD01; }
.header .menu-info-content h6 a:active { color:#FFAD01; }

.header .menu-info-content a:link { color:#898989; }
.header .menu-info-content a:visited { color:#898989; }
.header .menu-info-content a:hover { color:#FFAD01; }
.header .menu-info-content a:active { color:#FFAD01; }

/*
==============================================
   menu-above & style2
==============================================
*/
.header .menu.menu-above {
	background-color: transparent;
}
.header .dark-menu.style2 > li::after { display: none; }

.header .dark-menu.style2 > li > a:link { color:#ffffff; }
.header .dark-menu.style2 > li > a:visited { color:#ffffff; }
.header .dark-menu.style2 > li > a:hover { color:#50c2ff; }
.header .dark-menu.style2 > li > a:active { color:#50c2ff; }


.header .dark-menu.style2 > li.current-menu-item > a { background-color: transparent; }
.header .dark-menu.style2 > li.current-menu-item > a:link { color:#50c2ff; }
.header .dark-menu.style2 > li.current-menu-item > a:visited { color:#50c2ff; }
.header .dark-menu.style2 > li.current-menu-item > a:hover { color:#50c2ff; }
.header .dark-menu.style2 > li.current-menu-item > a:active { color:#50c2ff; }
.header .dark-menu.style2 > li::after { display: none; }
.header .dark-menu.style2 > li.current-menu-item > a { background-color: transparent; }
.header .dark-menu.style2 > li.current-menu-item > a:link { color:#50c2ff; }
.header .dark-menu.style2 > li.current-menu-item > a:visited { color:#50c2ff; }
.header .dark-menu.style2 > li.current-menu-item > a:hover { color:#50c2ff; }
.header .dark-menu.style2 > li.current-menu-item > a:active { color:#50c2ff; }
.header .menu-above .dark-menu.style2 > li.current-menu-item > a::before {
	content: '';
	display: block;
	border-color: transparent transparent #ffffff transparent;
    border-style: solid solid solid solid;
    border-width: 0 8px 10px 8px;
    width: 0;
    height: 0;
    position: absolute;
    bottom:0;
    left: 50%;
    margin-left: -8px;
}

.header .dark-menu.style2 ul.sub-menu { display: none; }
.header .dark-menu.style2 > li.parent::before { display: none; }

/*
==============================================
   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 .header-shrink .menu {
	background-color: transparent;
}

/*
==============================================
   header shrink menu
==============================================
*/
.header .header-shrink .menu {
	text-align: right;
	margin-top: 0;
}
.header .header-shrink .dark-menu {
	bottom: 0px;
	float: right;
}
.header .header-shrink .logo ~ .header-content .dark-menu {
	bottom: -6px;
}
.header .header-shrink .dark-menu > li {
	margin-left: 20px;
}
.header .header-shrink .dark-menu > li:first-child {
	margin-left: 0;
}
.header .header-shrink .dark-menu > li > a { padding: 0 0 10px; }
.header .header-shrink .dark-menu > li.parent:hover > a, 
.header .header-shrink .dark-menu > li.current-menu-item > a {
	padding: 0 20px 10px 0px;
}

.header .header-shrink .dark-menu > li > a:link { color:#000000; }
.header .header-shrink .dark-menu > li > a:visited { color:#000000; }
.header .header-shrink .dark-menu > li > a:hover { color:#004098; }
.header .header-shrink .dark-menu > li > a:active { color:#004098; }

.header .header-shrink .dark-menu > li.current-menu-item > a:link { color:#004098; }
.header .header-shrink .dark-menu > li.current-menu-item > a:visited { color:#004098; }
.header .header-shrink .dark-menu > li.current-menu-item > a:hover { color:#004098; }
.header .header-shrink .dark-menu > li.current-menu-item > a:active { color:#004098; }

.header .header-shrink .dark-menu > li.parent::before { top: 0; }
.header .header-shrink .dark-menu > li.parent::before {
	right: 0;
}

.header .header-shrink .dark-menu > li:hover::after {
	height: 2px;
}
.header .header-shrink .dark-menu > li.current-menu-item::after {
	height: 2px;
}


/*
==============================================
   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;
}
.header .header-shrink.logo-middle .header-content {
	width:700px;
}
.header .header-shrink.logo-large .header-content {
	width:600px;
}

/*
==============================================
   pts social icon
==============================================
*/
.social-icon { display: inline-block; vertical-align: middle; }

.social-icon a { 
	margin-right: 8px;
	font-size: 18px;
	color: #ffffff;
}
.social-icon a:link { color: #ffffff; }
.social-icon a:hover { color: #ffffff;  }
.social-icon a:active { color: #ffffff; }
.social-icon a:visited { color: #ffffff; }

.social-icon a:last-child { margin-right: 0; }
.social-icon a.mobile-line { display: none; }

.menu .wrapper { width: 960px; }
.menu-btn { 
	position: absolute; 
	color: #ffffff;
	font-size: 24px;
	top: 10px;
}
.menu-btn:hover { color: #ffffff; }
.prev-btn { left: -20px; display: none; } /* 20160817 Gabby 先隱藏 */
.next-btn { right: -20px; display: none; } /* 20160817 Gabby 先隱藏 */

/*
==============================================
   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; width: 85%; }
	.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, 
	.header .header-normal.logo-middle .header-content, 
	.header .header-normal.logo-large .header-content {
		display: none !important;
	}

	.header-shrink { display: none !important; }

	.header .menu {
		position: fixed;
		text-align: center;
		background-color: rgba(0,0,0,0.85);
		padding: 0px;
		margin: 0px;
		top: 0px;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	.header .menu.menu-open {
		height: 100%;
	    opacity: 1;
	    top: 0px;
	    padding: 70px 0px 30px;
	    position: fixed;
	    left: 0;
	    overflow: hidden;
	    overflow-y: scroll;
	    -webkit-overflow-scrolling: touch;
	}
	.header .menu.menu-open .dark-menu { display: block; }
	body.admin .header .menu.menu-open {
		top: 40px;
		height: calc(100% - 130px);
	}
	
	.header .menu-toggle { display: block; }
	.header .dark-menu { display: none; position: relative; bottom: 0; width: 100%; text-align: left; font-size: 15px; }
	.header .dark-menu a { white-space:normal; }
	.header .dark-menu > li {
		width: 100%;
		display: block;
		margin-left: 0;
		padding: 0px;
		margin: 0px;
		border-bottom: 1px solid #999999;
	}
	.header .dark-menu > li:first-child { margin-left: 0px; }
	.header .dark-menu > li.current-menu-item::after { display: none; }
	.header .dark-menu > li::after { display: none; }
	.header .dark-menu > li > a { padding: 20px 0; }
	.header .dark-menu > li > a:link { color:#ffffff; }
	.header .dark-menu > li > a:visited { color:#ffffff; }
	.header .dark-menu > li > a:hover { color:#ffffff; }
	.header .dark-menu > li > a:active { color:#ffffff; }

	.header .dark-menu > li.parent:hover > a, 
	.header .dark-menu > li.current-menu-item > a {
		padding: 20px 0;
	}
	/*.header .dark-menu > li.parent > a::before {
		font-family: "Ionicons";
		content: "\f218";
		display:inline-block;
		vertical-align: middle;
		position: absolute;
		right: 5px;
		font-size: 15px;
	    color: #ffffff;
	}*/

	.header ul.sub-menu {
		position: relative;
		box-shadow: none;
		display: block;
	}
	.header ul.sub-menu ul.sub-menu { left: 0; }
	.header ul.sub-menu > li > a { background: transparent; padding: 20px 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:#004098; }
	.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;
	}
	.header .header-share {
		display: none;
	}
	.header .se-dropdown.dropdown-lang {
		display: none;
	}

	/* MENU > DROPDOWN */
	.header .menu ul.sub-menu a { background: transparent; }
	.header .menu ul.sub-menu a:link { color:#ffffff; }
	.header .menu ul.sub-menu a:visited { color:#ffffff; }
	.header .menu ul.sub-menu a:hover { color:#004098; }
	.header .menu ul.sub-menu a:active { color:#004098; }

	/* 當前選項 */
	.header .dark-menu > li.current-menu-item > a:link { color:#004098; }
	.header .dark-menu > li.current-menu-item > a:visited { color:#004098; }
	.header .dark-menu > li.current-menu-item > a:hover { color:#004098; }
	.header .dark-menu > li.current-menu-item > a:active { color:#004098; }
	/*.header .dark-menu > li.current-menu-item > a::before {
		font-family: "Ionicons";
		content: "\f3d3";
		display:block;
		position: absolute;
		right: 15px;
		overflow: visible;
		visibility: visible;
		opacity:1;
		line-height: 19px;
		font-size: 13px;
	    color: #ffffff;

		-webkit-transition:all 0.3s ease-in-out;
	            transition:all 0.3s ease-in-out;
	}*/

	.header ul.sub-menu > li.current-menu-item > a { color:#004098;background: transparent; }
	.header ul.sub-menu > li.current-menu-item > a:link { color:#004098; }
	.header ul.sub-menu > li.current-menu-item > a:visited { color:#004098; }
	.header ul.sub-menu > li.current-menu-item > a:hover { color:#004098; }
	.header ul.sub-menu > li.current-menu-item > a:active { color:#004098; }



	/* ===================== menu-above & style2 ===================== */
	.header .menu.menu-above {
		position: fixed;
		text-align: center;
		background-color: rgba(0,0,0,0.85);
		padding: 0px;
		margin: 0px;
		top: 0px;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
	.header .menu.menu-above.menu-open {
		height: 100%;
	    opacity: 1;
	    top: 0px;
	    padding: 70px 0px 30px;
	    position: fixed;
	    left: 0;
	}
	.header .menu.menu-above.menu-open .dark-menu { display: block; }
	.header .menu.menu-above ~ .menu { display: none; }
	.header .menu.menu-above ul.sub-menu a:link { color:#ffffff; }
	.header .menu.menu-above ul.sub-menu > li.current-menu-item > a { color:#50c2ff;background: transparent; }
	.header .menu.menu-above ul.sub-menu a:visited { color:#ffffff; }
	.header .menu.menu-above ul.sub-menu a:hover { color:#50c2ff; }
	.header .menu.menu-above ul.sub-menu a:active { color:#50c2ff; }

	/*.header .dark-menu.style2 > li.current-menu-item > a::before {
		font-family: "Ionicons";
		content: "\f218";
		display:inline-block;
		vertical-align: middle;
		position: absolute;
		right: 5px;
		bottom: initial;
		left: initial;
		height: auto;
		width: auto;
		margin-left:0; 
		border: none;
		font-size: 15px;
	    color: #ffffff;
	}*/
    .header .dark-menu.style2 > li.parent > a.open-icon::after {
        font-family: "Ionicons";
		content: "\f209";
		display:inline-block;
		vertical-align: middle;
		position: absolute;
		right: 5px;
		bottom: initial;
		left: initial;
		height: auto;
		width: auto;
		margin-left:0; 
		border: none;
		font-size: 15px;
	    color: #ffffff;
    }
    .header .dark-menu > li.parent > a.close-icon::after {
        font-family: "Ionicons";
		content: "\f218";
		display:inline-block;
		vertical-align: middle;
		position: absolute;
		right: 5px;
		bottom: initial;
		left: initial;
		height: auto;
		width: auto;
		margin-left:0; 
		border: none;
		font-size: 15px;
	    color: #ffffff;
    }

	.header .dark-menu.style2 ~ .dark-menu { display: none; }
	.header .dark-menu.style2 ul.sub-menu.open { display: block; }

	.header .dark-menu.style2 ul.sub-menu li:hover > a { background:transparent; }
	.header .dark-menu.style2 ul.sub-menu > li.current-menu-item > a { background:transparent; }
	.header .dark-menu.style2 ul.sub-menu > li.open > a { color:#004098; }
	.header .dark-menu.style2 ul.sub-menu > li.current-menu-item > a {  background:transparent; }

	.header .menu-above .dark-menu.style2 > li.current-menu-item > a::before { display: none; }/*白色小三角*/


	.menu-btn { display: none; }
	.social-icon a.mobile-line { display: inline-block; }

	
}
@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%; }


	.social-icon { 
	    margin: 20px auto 0 auto;
	    text-align: center; 
	    display: block;
	}
	.social-icon a { font-size:24px; }
}
@media screen and (max-width : 320px) {
	/* btnMemberLogin樣式調整 20160606 Gabby */
	.header .btnMemberLogin { 
		float: none; 
		position: absolute; 
		right: 30px; 
		top: 50px; 
	}
}