﻿/*
==============================================
   框架
==============================================
*/
.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: 10px 0;
	background-position:left center;
	z-index: 1;
}
.header .row + .row {
	padding:0;
}
.header-top { text-align: right; }

/*
==============================================
   header logo
==============================================
*/
.header .logo {
	width: 350px;
	position: absolute;
	margin: auto 0;
	padding: 0;
	top: 0;
	bottom: 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;
}
.header .logo > a > img {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 0;
}

/*
==============================================
   header content
==============================================
*/
.header-content { position: relative; z-index: 1; }

/*
==============================================
   header-search
==============================================
*/
.header-search {
	/* position: relative;
	float: right;
	z-index: 601;
	margin-left: 5px;
	padding-top: 15px;
	margin-right: 11px; */

	position: absolute;
	/* float: right; */
	z-index: 601;
	margin-left: 5px;
	/* padding-top: 15px; */
	margin-right: 11px;
	right: 120px;
	bottom: 0;
} 

.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:#333333; background-color: transparent; border: none; }
.header-search .btn-black:active { color:#ffffff; 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;
    width: 100px;
}
.header-search .polymer-form input {
    padding-bottom: 3px;
    font-size: 14px;
    font-size: 1.4rem;
    height: 18px;          
    cursor: text;
}
.header-search .polymer-form .bar {
        
    background-color: #454545;
}
.header-search .polymer-form .bar-in { background-color: #ffffff; }
.header-search:hover .btn-black { color: #333333; }
.header-search input[type="text"] {
    width:100px;
    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: #ffffff; }

/*index*/
.header-search.index-search {
	    display: inline-block;
}

/*
==============================================
   menu
==============================================
*/
.header .menu {
	/*position: relative;*/
	width: 100%;
	text-align: left;
	z-index: 600;
	margin-top: 20px;
	background-color: #333333;
}
.header .menu::after {
    clear: both;
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
	overflow: hidden;
} 
.header.header-pager .menu ~ .menu  { margin-top: 0; }


/*
==============================================
   dark menu
==============================================
*/
.header .dark-menu {
	margin:0;
	padding:0;
	vertical-align:middle;
	font-size:16px;
	font-size:1.6rem;
	width: 100%;
	position: relative;
	height: 70px;
	/* right: 0;
	bottom: 0; */
	/* left: 0; */
	white-space: nowrap;
	overflow: hidden;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;

	/*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:#ffffff; }
.header .dark-menu > li > a:hover { color:#ffffff; }
.header .dark-menu > li > a:active { color:#ffffff; }
.header .dark-menu > li.current-menu-item > a { background:#000000 !important; }

.header .dark-menu > li {
	/* float: left; */
	/* -webkit-transition:all 0.3s ease-in-out;
            transition:all 0.3s ease-in-out; */
   	display: inline-block;
   	position: relative;
}
.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: #212121;
	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: #ffffff;
	font-weight: 600;
}




.header .dark-menu > li.sub-menu-active {
	background-color:#1f1f1f;
}
.header .dark-menu > li > a {
	position: relative;
	padding: 20px;
	z-index: 1;
}
.header .dark-menu > li.parent:hover > a, 
.header .dark-menu > li.current-menu-item > a {}

/* 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 #cccccc;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
}

.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:#ffffff;*/
}
.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: #F86207; }*/
.header .dark-menu > li.current-menu-item > a:link { color:#ffffff; }
.header .dark-menu > li.current-menu-item > a:visited { color:#ffffff; }
.header .dark-menu > li.current-menu-item > a:hover { color:#ffffff; }
.header .dark-menu > li.current-menu-item > a:active { color:#ffffff; }

.header ul.sub-menu > li.current-menu-item > a { background:#ffffff; }
.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; }


#thirdmenu {
	background: #6d6a66;
}

.header #thirdmenu .dark-menu > li.current-menu-item > a {
	background: transparent !important;
}


/*
==============================================
   menu-toggle
==============================================
*/
.header .menu-toggle {
	display: none;
	position: absolute;
	top: 0px;
	right: 4%;
	z-index: 1005;
	cursor: pointer;
	padding: 25px 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: #ffffff;
	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: #cccccc;
}


/*
==============================================
   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%;
}


/*
==============================================
   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 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:#50c2ff; }
.header .header-shrink .dark-menu > li > a:active { color:#50c2ff; }

.header .header-shrink .dark-menu > li.current-menu-item > a:link { color:#50c2ff; }
.header .header-shrink .dark-menu > li.current-menu-item > a:visited { color:#50c2ff; }
.header .header-shrink .dark-menu > li.current-menu-item > a:hover { color:#50c2ff; }
.header .header-shrink .dark-menu > li.current-menu-item > a:active { color:#50c2ff; }

.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 .wrapper .outer-scroll{
	/* width: 960px; */
    height: 52px;
    overflow: hidden;
    position: relative;
}
.header .wrapper .inner-scroll, #thirdwrapper {
	overflow: hidden;
	/* overflow: auto; */
	position: relative;
	height: 52px;
}

.header .wrapper .inner-scroll::-webkit-scrollbar {
    display: none;
}

/*
==============================================
   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; float: right; padding-top: 12px; }

.social-icon a { 
	margin-right: 8px;
	font-size: 18px;
	color: #ffffff;
}
.social-icon a:link { color: #ffffff; }
.social-icon a:visited { color: #ffffff; }
.social-icon a:hover { color: #333333;  }
.social-icon a:active { color: #ffffff; }

.social-icon a:last-child { margin-right: 0; }
.social-icon a.mobile-line { display: none; }
.menu {position: relative !important;}
/* .menu .wrapper { width: 960px; } */
.menu-btn { 
	position: absolute; 
	color: #cccccc;
	font-size: 24px;
	top: 15px;
}
.menu-btn:hover { color: #ffffff; }
.prev-btn { left: -20px; }
.next-btn { right: -20px; }

/*
==============================================
   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 .dark-menu a {
		white-space: normal;
		line-height: 1.35;
	}
	#submenu { display: none !important; }
	.header ul.sub-menu {
		box-shadow: none;
	}
	.header ul.sub-menu.open { 
		height: auto;
		overflow: visible;
		visibility: visible;
		opacity: 1;
		position: relative;
	}
	.header ul.sub-menu > li > a,
	.header ul.sub-menu > li.current-menu-item > 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:#ffffff; }
	.header .menu ul.sub-menu a:active { color:#ffffff; }

	.header .menu-toggle { display: block; }
	.header .logo {
		z-index: 602;
		position: relative;
	}
	.header .logo > a > img {
		position: relative;
	}
	.header.active .logo {
		width: 100%;
		background: #333333;
	}
	.menu-btn {
		display: none;
	}
	.header {
		border-bottom: 1px solid #666666;
		position: fixed;
		width: 100%;
		background-color: rgba(0,0,0,0.5);
	}
	.header-content, .header .menu {
		height: 0;
		margin: 0;
		padding: 0;
		position: fixed !important;
		top: 0;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.header-content > *:not(.social-icon), .header .menu {
		opacity: 0;
		visibility: hidden;
		overflow: hidden;
	}
	.header.active .header-content, .header.active .menu {
		height: 100vh;
		margin: 0;
		padding: 60px 0;
	}
	.header.active .header-content > *, .header.active .menu {
		opacity: 1;
		visibility: visible;
		overflow: auto;
	}
	.header-content {
		width: 40%;
		left: 0;
		background: #333333;
	}
	.header-content::after {
		content: '';
		display: block;
		width: 1px;
		height: 100%;
		background-color: #454545;
		position: absolute;
		right: 0;
		top: 60px;
		overflow: visible;
		visibility: visible;
	}
	.header .menu {
		width: 60%;
		right: 0;
	}
	.header .dark-menu {
		height: auto;
	}
	.header .dark-menu > li {
		display: block;
	}
	.header .wrapper .outer-scroll, .header .wrapper .inner-scroll, #thirdwrapper {
		height: auto;
	}
	.menu .wrapper {
		width: 100% !important;
	}
	.header-search .btn-black {
		font-size: 24px;
		position: absolute;
		top: 30px;
		right: 30px;
	}
	.header-search input[type="text"] {
		width: calc(100% - 44px);
		border: 1px solid #cccccc;
		padding: 10px 32px 10px 12px;
	}
	.header-search .polymer-form.dirty { margin: 0; }
	.header-search .polymer-form.dirty input[type="text"] {
		width: calc(100% - 44px);
	}
	.header-search .polymer-form { float: none; }
	.header-search .polymer-form .bar { display: none; }

	/* .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 .wrapper{
		overflow: scroll;
	}

	.header .menu.menu-open {
		height: 100%;
	    opacity: 1;
	    top: 0px;
	    padding: 70px 0px 30px;
	    position: fixed !important;
	    right: 0;
	    width: 80%;
	    z-index: 1000;
	}
	.header .menu .outer-scroll{
		width: auto;
		height: auto;
		overflow: initial;
	}
	.header .menu .inner-scroll{
		overflow: initial;
	}
	.header .menu ul{
		width: auto !important;
		overflow: auto;
	}
	.header .menu.menu-open .dark-menu { display: block; }
	body.admin .header .menu.menu-open {
		top: 40px;
		height: calc(100% - 130px);
	}
	
	
	.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 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:#50c2ff; }
	.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 {
		display: 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:#50c2ff; }
	.header .menu ul.sub-menu a:active { color:#50c2ff; } */

	/* 當前選項 */
	/* .header .dark-menu > li.current-menu-item > a:link { color:#50c2ff; }
	.header .dark-menu > li.current-menu-item > a:visited { color:#50c2ff; }
	.header .dark-menu > li.current-menu-item > a:hover { color:#50c2ff; }
	.header .dark-menu > li.current-menu-item > a:active { color:#50c2ff; }

	.header ul.sub-menu > li.current-menu-item > a { background: transparent; }
	.header ul.sub-menu > li.current-menu-item > a:link { color:#50c2ff; }
	.header ul.sub-menu > li.current-menu-item > a:visited { color:#50c2ff; }
	.header ul.sub-menu > li.current-menu-item > a:hover { color:#50c2ff; }
	.header ul.sub-menu > li.current-menu-item > a:active { color:#50c2ff; } */



	/* ===================== 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;
	    right: 0 !important;
	    width: 65%;
	}
	.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 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 ~ .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:#50c2ff; }
	.header .dark-menu.style2 ul.sub-menu > li.current-menu-item > a {  background:transparent; }


	.menu-btn { display: none; } */
	.social-icon a.mobile-line { display: inline-block; }


	.header .dark-menu li.parent::after {
		content: '\f067';
	    display: block;
	    font-family: 'FontAwesome';
	    font-size: 13px;
	    line-height: 23px;
	    position: absolute;
	    top: 50%;
	    right: 15px;
	    margin-top: -10px;
	    overflow: visible;
	    visibility: visible;
	    color: #ffffff;
	    width: 20px;
	    height: 20px;
	    z-index: 100;
	    opacity: 1;
	    left: auto;
	    text-align: center;
	    background-color: transparent;
	    -webkit-transition: none;
	    transition: none;
	}
	.header .dark-menu li.parent.open::after {
		content: "\f068";
		top: 20px;
	    margin-top: 0px;
	}

	
}
@media screen and (max-width : 800px) {
	/* 20160606 Gabby 增加會員登錄上方的xxx你好 */
	.header .btnMemberLogin { padding-left: 0; margin-left: 0; border-left: none; }

	/* 修正PAD顯示社群bar fay 20180321 */
	.social-icon { 
	    margin: 0px auto 0 auto;
	    text-align: center; 
	    display: block;
	    padding: 0 !important;
	    width: 100%;
	    bottom: -60px;
	    background: #000;
	    left: 0;
	    transition: bottom 0.6s ease;
	    position: fixed;
	}
	.social-icon a { 
		font-size:24px; 
		padding: 12px 0;
		margin: 0;
		width: 20%;
		box-sizing: border-box;
		line-height: 1;
		display: block;
		float: left;
	}
}
@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%; }

	.header-search.index-search{
		margin-top: 20px;
	} */
	.header .logo > a {
		max-width: 280px;
		margin: 0;
	}
	.social-icon { 
	    margin: 0px auto 0 auto;
	    text-align: center; 
	    display: block;
	    padding: 0;
	    width: 100%;
	    bottom: -60px;
	    background: #000;
	    left: 0;
	    transition: bottom 0.6s ease;
	    position: fixed;
	}
	.social-icon a { 
		font-size:24px; 
		padding: 12px 0;
		margin: 0;
		width: 20%;
		box-sizing: border-box;
		line-height: 1;
		display: block;
		float: left;
	}
}
@media screen and (max-width : 320px) {
	/* btnMemberLogin樣式調整 20160606 Gabby */
	.header .btnMemberLogin { 
		float: none; 
		position: absolute; 
		right: 30px; 
		top: 50px; 
	}
}



/*header menu*/
.header .menu #headerrwd {
	display: none;
}
.header .menu.menu-open #headerrwd{
	display: block;
}

.header .menu.menu-open #headerrwd .nav-menu > li:first-child{
	padding-left: 10px;
}
